Build failed in Jenkins: java-metadata-aggregator-nightly #12
Shibboleth Jenkins
noreply at shibboleth.net
Sat Oct 12 03:00:30 EDT 2013
See <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator-nightly/12/changes>
Changes:
[iay] MDA-112: signature validation stage should protect against wrapping attacks
MDA-110: signature verification stage needs property to indicate reference ID attribute
The existing test was not noticing that validation of signatures was failing. This version of the test will notice, and the build will fail.
[iay] MDA-112: signature validation stage should protect against wrapping attacks
Refactor test resources so that we can see what is going on.
[iay] MDA-82 (partial): refactor unit tests by class
Implement revised conventions for class-relative resource access.
------------------------------------------
[...truncated 64 lines...]
[INFO]
[INFO] --- maven-javadoc-plugin:2.9:jar (attach-javadocs) @ aggregator-parent ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO]
[INFO] --- maven-javadoc-plugin:2.9:test-jar (attach-javadocs) @ aggregator-parent ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO]
[INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) @ aggregator-parent >>>
[INFO]
[INFO] --- maven-dependency-plugin:2.7:copy (default) @ aggregator-parent ---
[INFO]
[INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) @ aggregator-parent <<<
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ aggregator-parent ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ aggregator-parent ---
[INFO] Installing <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator-nightly/ws/aggregator-parent/pom.xml> to /home/jenkins/.m2/repository/net/shibboleth/metadata/aggregator-parent/0.8-SNAPSHOT/aggregator-parent-0.8-SNAPSHOT.pom
[INFO] Installing <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator-nightly/ws/aggregator-parent/target/aggregator-parent-0.8-SNAPSHOT-tests.jar> to /home/jenkins/.m2/repository/net/shibboleth/metadata/aggregator-parent/0.8-SNAPSHOT/aggregator-parent-0.8-SNAPSHOT-tests.jar
[INFO]
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ aggregator-parent ---
Downloading: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/metadata/aggregator-parent/0.8-SNAPSHOT/maven-metadata.xml
823/823 B
Downloaded: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/metadata/aggregator-parent/0.8-SNAPSHOT/maven-metadata.xml (823 B at 1.7 KB/sec)
Uploading: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/metadata/aggregator-parent/0.8-SNAPSHOT/aggregator-parent-0.8-20131012.065956-8.pom
2/5 KB
4/5 KB
5/5 KB
Uploaded: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/metadata/aggregator-parent/0.8-SNAPSHOT/aggregator-parent-0.8-20131012.065956-8.pom (5 KB at 46.5 KB/sec)
Downloading: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/metadata/aggregator-parent/maven-metadata.xml
394/394 B
Downloaded: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/metadata/aggregator-parent/maven-metadata.xml (394 B at 4.9 KB/sec)
Uploading: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/metadata/aggregator-parent/0.8-SNAPSHOT/maven-metadata.xml
823/823 B
Uploaded: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/metadata/aggregator-parent/0.8-SNAPSHOT/maven-metadata.xml (823 B at 22.3 KB/sec)
Uploading: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/metadata/aggregator-parent/maven-metadata.xml
394/394 B
Uploaded: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/metadata/aggregator-parent/maven-metadata.xml (394 B at 3.8 KB/sec)
Uploading: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/metadata/aggregator-parent/0.8-SNAPSHOT/aggregator-parent-0.8-20131012.065956-8-tests.jar
2/3 KB
3/3 KB
Uploaded: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/metadata/aggregator-parent/0.8-SNAPSHOT/aggregator-parent-0.8-20131012.065956-8-tests.jar (3 KB at 63.3 KB/sec)
Uploading: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/metadata/aggregator-parent/0.8-SNAPSHOT/maven-metadata.xml
823/823 B
Uploaded: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/metadata/aggregator-parent/0.8-SNAPSHOT/maven-metadata.xml (823 B at 21.7 KB/sec)
[INFO]
[INFO] --- maven-site-plugin:3.2:site (default-site) @ aggregator-parent ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.10
[INFO] configuring report plugin org.codehaus.mojo:cobertura-maven-plugin:2.5.2
[INFO]
[INFO] >>> cobertura-maven-plugin:2.5.2:cobertura (report:cobertura) @ aggregator-parent >>>
[INFO]
[INFO] --- maven-dependency-plugin:2.7:copy (default) @ aggregator-parent ---
[INFO]
[INFO] --- cobertura-maven-plugin:2.5.2:instrument (report:cobertura) @ aggregator-parent ---
[INFO] Skipping cobertura mojo for project with packaging type 'pom'
[INFO]
[INFO] <<< cobertura-maven-plugin:2.5.2:cobertura (report:cobertura) @ aggregator-parent <<<
[INFO] Not executing cobertura:report as the cobertura data file (<https://build.shibboleth.net/jenkins/job/java-metadata-aggregator-nightly/ws/aggregator-parent/target/cobertura/cobertura.ser)> could not be found
[INFO] configuring report plugin org.apache.maven.plugins:maven-javadoc-plugin:2.9
[INFO]
[INFO] >>> maven-javadoc-plugin:2.9:aggregate (report:aggregate) @ aggregator-parent >>>
[INFO]
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] Forking Shibboleth Metadata Aggregator 0.8-SNAPSHOT
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO]
[INFO] --- maven-dependency-plugin:2.7:copy (default) @ aggregator-parent ---
[INFO]
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] Forking Shibboleth Metadata Aggregator :: Processing Pipeline 0.8-SNAPSHOT
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO]
[INFO] --- maven-dependency-plugin:2.7:copy (default) @ aggregator-pipeline ---
[INFO]
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] Forking Shibboleth Metadata Aggregator :: Command Line Interface 0.8-SNAPSHOT
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO]
[INFO] --- maven-dependency-plugin:2.7:copy (default) @ aggregator-cli ---
[INFO]
[INFO] <<< maven-javadoc-plugin:2.9:aggregate (report:aggregate) @ aggregator-parent <<<
[INFO]
[INFO] >>> maven-javadoc-plugin:2.9:test-aggregate (report:test-aggregate) @ aggregator-parent >>>
[INFO]
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] Forking Shibboleth Metadata Aggregator 0.8-SNAPSHOT
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO]
[INFO] --- maven-dependency-plugin:2.7:copy (default) @ aggregator-parent ---
[INFO]
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] Forking Shibboleth Metadata Aggregator :: Processing Pipeline 0.8-SNAPSHOT
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO]
[INFO] --- maven-dependency-plugin:2.7:copy (default) @ aggregator-pipeline ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ aggregator-pipeline ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ aggregator-pipeline ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 82 source files to <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator-nightly/ws/aggregator-pipeline/target/classes>
[WARNING] <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator-nightly/ws/aggregator-pipeline/src/main/java/net/shibboleth/metadata/pipeline/StatusMetadataLoggingStage.java>: Some input files use unchecked or unsafe operations.
[WARNING] <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator-nightly/ws/aggregator-pipeline/src/main/java/net/shibboleth/metadata/pipeline/StatusMetadataLoggingStage.java>: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] Forking Shibboleth Metadata Aggregator :: Command Line Interface 0.8-SNAPSHOT
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO]
[INFO] --- maven-dependency-plugin:2.7:copy (default) @ aggregator-cli ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ aggregator-cli ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ aggregator-cli ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator-nightly/ws/aggregator-cli/target/classes>
[WARNING] <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator-nightly/ws/aggregator-cli/src/main/java/net/shibboleth/metadata/cli/SimpleCommandLine.java>: <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator-nightly/ws/aggregator-cli/src/main/java/net/shibboleth/metadata/cli/SimpleCommandLine.java> uses unchecked or unsafe operations.
[WARNING] <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator-nightly/ws/aggregator-cli/src/main/java/net/shibboleth/metadata/cli/SimpleCommandLine.java>: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] <<< maven-javadoc-plugin:2.9:test-aggregate (report:test-aggregate) @ aggregator-parent <<<
[INFO] configuring report plugin org.apache.maven.plugins:maven-jxr-plugin:2.3
[INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.6
[INFO] Parent project loaded from repository: net.shibboleth:parent-v3:pom:TRUNK-SNAPSHOT
[INFO] Relativizing decoration links with respect to project URL: http://shibboleth.net/aggregator-parent/
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Skipped "Source Xref" report, file "xref/index.html" already exists for the English version.
[INFO] Skipped "Test Source Xref" report, file "xref-test/index.html" already exists for the English version.
[INFO] Generating "Checkstyle" report --- maven-checkstyle-plugin:2.10
[INFO]
[INFO] Generating "Cobertura Test Coverage" report --- cobertura-maven-plugin:2.5.2
[INFO] Generating "JavaDocs" report --- maven-javadoc-plugin:2.9
[INFO] Generating "Test JavaDocs" report --- maven-javadoc-plugin:2.9
[INFO] Generating "Source Xref" report --- maven-jxr-plugin:2.3
[INFO] Generating "Test Source Xref" report --- maven-jxr-plugin:2.3
[INFO] Generating "About" report --- maven-project-info-reports-plugin:2.6
[INFO] Generating "Project License" report --- maven-project-info-reports-plugin:2.6
[INFO] Generating "Distribution Management" report --- maven-project-info-reports-plugin:2.6
[INFO] Generating "Mailing Lists" report --- maven-project-info-reports-plugin:2.6
[INFO] Generating "Issue Tracking" report --- maven-project-info-reports-plugin:2.6
[INFO] Generating "Source Repository" report --- maven-project-info-reports-plugin:2.6
[INFO] Generating "Project Team" report --- maven-project-info-reports-plugin:2.6
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.6
Downloading: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/metadata/aggregator-parent/0.8-SNAPSHOT/aggregator-parent-0.8-20131012.065956-8.pom
4/5 KB
5/5 KB
Downloaded: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/metadata/aggregator-parent/0.8-SNAPSHOT/aggregator-parent-0.8-20131012.065956-8.pom (5 KB at 294.3 KB/sec)
[INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:2.6
[INFO] Generating "Project Plugins" report --- maven-project-info-reports-plugin:2.6
[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:2.6
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Shibboleth Metadata Aggregator :: Processing Pipeline 0.8-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ aggregator-pipeline ---
[INFO] Deleting <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator-nightly/ws/aggregator-pipeline/target>
[INFO]
[INFO] --- maven-dependency-plugin:2.7:copy (default) @ aggregator-pipeline ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ aggregator-pipeline ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ aggregator-pipeline ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 82 source files to <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator-nightly/ws/aggregator-pipeline/target/classes>
[WARNING] <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator-nightly/ws/aggregator-pipeline/src/main/java/net/shibboleth/metadata/pipeline/StatusMetadataLoggingStage.java>: Some input files use unchecked or unsafe operations.
[WARNING] <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator-nightly/ws/aggregator-pipeline/src/main/java/net/shibboleth/metadata/pipeline/StatusMetadataLoggingStage.java>: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ aggregator-pipeline ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 51 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ aggregator-pipeline ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 41 source files to <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator-nightly/ws/aggregator-pipeline/target/test-classes>
[WARNING] <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator-nightly/ws/aggregator-pipeline/src/test/java/net/shibboleth/metadata/pipeline/PipelineDemultiplexerStageTest.java>: Some input files use unchecked or unsafe operations.
[WARNING] <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator-nightly/ws/aggregator-pipeline/src/test/java/net/shibboleth/metadata/pipeline/PipelineDemultiplexerStageTest.java>: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ aggregator-pipeline ---
[INFO] Surefire report directory: <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator-nightly/ws/aggregator-pipeline/target/surefire-reports>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running TestSuite
Tests run: 117, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.226 sec <<< FAILURE!
testValidSignature(net.shibboleth.metadata.dom.XMLSignatureValidationStageTest) Time elapsed: 0.008 sec <<< FAILURE!
java.lang.AssertionError: expected [0] but found [1]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:370)
at org.testng.Assert.assertEquals(Assert.java:380)
at net.shibboleth.metadata.dom.XMLSignatureValidationStageTest.testValidSignature(XMLSignatureValidationStageTest.java:75)
Results :
Failed tests: testValidSignature(net.shibboleth.metadata.dom.XMLSignatureValidationStageTest): expected [0] but found [1]
Tests run: 117, Failures: 1, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Shibboleth Metadata Aggregator .................... SUCCESS [31.062s]
[INFO] Shibboleth Metadata Aggregator :: Processing Pipeline FAILURE [6.800s]
[INFO] Shibboleth Metadata Aggregator :: Command Line Interface SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 38.222s
[INFO] Finished at: Sat Oct 12 03:00:29 EDT 2013
[INFO] Final Memory: 55M/728M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project aggregator-pipeline: There are test failures.
[ERROR]
[ERROR] Please refer to <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator-nightly/ws/aggregator-pipeline/target/surefire-reports> for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :aggregator-pipeline
Build step 'Invoke top-level Maven targets' marked build as failure
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at PROJECT level <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator-nightly/ws/aggregator-parent/target/site> to /home/jenkins/.jenkins/jobs/java-metadata-aggregator-nightly/htmlreports/Site_Report
Publishing Javadoc
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/target/surefire-reports/testng-results.xml
Saving reports...
Processing '/home/jenkins/.jenkins/jobs/java-metadata-aggregator-nightly/builds/2013-10-12_02-59-47/testng/testng-results.xml'
TestNG Reports Processing: FINISH
More information about the commits
mailing list