Build failed in Jenkins: java-metadata-aggregator-0.10-multi » JDK-11,Windows2016 #126

Shibboleth Jenkins noreply at shibboleth.net
Thu Sep 3 10:56:21 UTC 2020


See <http://127.0.0.1:1583/jenkins/job/java-metadata-aggregator-0.10-multi/jdk=JDK-11,label=Windows2016/126/display/redirect?page=changes>

Changes:

[Ian Young] Make test data file binary so that test is cross-platform


------------------------------------------
Started by upstream project "java-metadata-aggregator-0.10-multi" build number 126
originally caused by:
 Started by user Ian Young
Running as SYSTEM
Building remotely on EC2 (I2) - WindowsServer2016 (i-0a19eeca3836094ec) (Windows2016) in workspace <http://127.0.0.1:1583/jenkins/job/java-metadata-aggregator-0.10-multi/jdk=JDK-11,label=Windows2016/ws/>
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://git.shibboleth.net/git/java-metadata-aggregator # timeout=10
Fetching upstream changes from https://git.shibboleth.net/git/java-metadata-aggregator
 > git --version # timeout=10
 > git fetch --tags --force --progress -- https://git.shibboleth.net/git/java-metadata-aggregator +refs/heads/*:refs/remotes/origin/* # timeout=10
Checking out Revision b38f827ad2c656b26c6b0d476da115b9343105e2 (refs/remotes/origin/main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f b38f827ad2c656b26c6b0d476da115b9343105e2 # timeout=10
Commit message: "Make test data file binary so that test is cross-platform"
 > git rev-list --no-walk 614d34bfdbc4056d23bb4137ea4a569aa9d5d426 # timeout=10
[Windows2016] $ cmd.exe /C "\opt\maven_home\bin\mvn.cmd -f aggregator-parent/pom.xml -Djdk=JDK-11 '"-Dmatrix-combinations=(jdk == 'JDK-11' && label == 'Windows2016') || (jdk == 'OpenJDK-14' && label == 'Windows2016') || (jdk == 'OpenJDK-15' && label == 'Windows2016') || (jdk == 'Amazon-11' && label == 'CentOS7') || (jdk == 'Amazon-11' && label == 'Windows2016')"' -Dlabel=Windows2016 -B clean test -Prelease --update-snapshots --fail-at-end && exit %%ERRORLEVEL%%"
[INFO] Scanning for projects...
[INFO] Downloading from shib-snapshot: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/parent/11.1.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shib-snapshot: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/parent/11.1.0-SNAPSHOT/maven-metadata.xml (601 B at 1.2 kB/s)
[INFO] Downloading from shib-thirdparty-snapshot: https://build.shibboleth.net/nexus/content/repositories/thirdparty-snapshots/net/shibboleth/parent/11.1.0-SNAPSHOT/maven-metadata.xml
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Shibboleth Metadata Aggregator                                     [pom]
[INFO] Shibboleth Metadata Aggregator :: Processing Pipeline              [jar]
[INFO] Shibboleth Metadata Aggregator :: RSA Key Blacklists               [jar]
[INFO] Shibboleth Metadata Aggregator :: Command Line Interface           [jar]
[INFO] Shibboleth Metadata Aggregator :: BOM                              [pom]
[INFO] 
[INFO] -------------< net.shibboleth.metadata:aggregator-parent >--------------
[INFO] Building Shibboleth Metadata Aggregator 0.10.0-SNAPSHOT            [1/5]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ aggregator-parent ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ aggregator-parent ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (no-joda-time) @ aggregator-parent ---
[INFO] 
[INFO] ------------< net.shibboleth.metadata:aggregator-pipeline >-------------
[INFO] Building Shibboleth Metadata Aggregator :: Processing Pipeline 0.10.0-SNAPSHOT [2/5]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from shib-snapshot: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/utilities/java-support/8.1.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shib-thirdparty-snapshot: https://build.shibboleth.net/nexus/content/repositories/thirdparty-snapshots/net/shibboleth/utilities/java-support/8.1.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shib-snapshot: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/utilities/java-support/8.1.0-SNAPSHOT/maven-metadata.xml (1.7 kB at 12 kB/s)
[INFO] Downloading from shib-thirdparty-snapshot: https://build.shibboleth.net/nexus/content/repositories/thirdparty-snapshots/net/shibboleth/ext/spring-extensions/6.1.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shib-snapshot: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/ext/spring-extensions/6.1.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shib-snapshot: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/ext/spring-extensions/6.1.0-SNAPSHOT/maven-metadata.xml (1.7 kB at 27 kB/s)
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ aggregator-pipeline ---
[INFO] Deleting C:\opt\jenkins\workspace\java-metadata-aggregator-0.10-multi\jdk\JDK-11\label\Windows2016\aggregator-pipeline\target
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ aggregator-pipeline ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (no-joda-time) @ aggregator-pipeline ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (default-prepare-agent) @ aggregator-pipeline ---
[INFO] argLine set to -javaagent:C:\\Users\\jenkins\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.5\\org.jacoco.agent-0.8.5-runtime.jar=destfile=C:\\opt\\jenkins\\workspace\\java-metadata-aggregator-0.10-multi\\jdk\\JDK-11\\label\\Windows2016\\aggregator-pipeline\\target\\jacoco.exec
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ aggregator-pipeline ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ aggregator-pipeline ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 166 source files to C:\opt\jenkins\workspace\java-metadata-aggregator-0.10-multi\jdk\JDK-11\label\Windows2016\aggregator-pipeline\target\classes
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ aggregator-pipeline ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 186 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ aggregator-pipeline ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 113 source files to C:\opt\jenkins\workspace\java-metadata-aggregator-0.10-multi\jdk\JDK-11\label\Windows2016\aggregator-pipeline\target\test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ aggregator-pipeline ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[ERROR] Tests run: 364, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 27.651 s <<< FAILURE! - in TestSuite
[ERROR] net.shibboleth.metadata.BaseTestTest.testReadBytes  Time elapsed: 0.025 s  <<< FAILURE!
java.lang.AssertionError: expected [6] but found [7]
	at net.shibboleth.metadata.BaseTestTest.testReadBytes(BaseTestTest.java:21)

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   BaseTestTest.testReadBytes:21 expected [6] but found [7]
[INFO] 
[ERROR] Tests run: 364, Failures: 1, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Shibboleth Metadata Aggregator :: RSA Key Blacklists
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Shibboleth Metadata Aggregator :: Command Line Interface
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ---------------< net.shibboleth.metadata:aggregator-bom >---------------
[INFO] Building Shibboleth Metadata Aggregator :: BOM 0.10.0-SNAPSHOT     [3/5]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ aggregator-bom ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ aggregator-bom ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (no-joda-time) @ aggregator-bom ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Shibboleth Metadata Aggregator 0.10.0-SNAPSHOT:
[INFO] 
[INFO] Shibboleth Metadata Aggregator ..................... SUCCESS [  3.237 s]
[INFO] Shibboleth Metadata Aggregator :: Processing Pipeline FAILURE [ 48.284 s]
[INFO] Shibboleth Metadata Aggregator :: RSA Key Blacklists SKIPPED
[INFO] Shibboleth Metadata Aggregator :: Command Line Interface SKIPPED
[INFO] Shibboleth Metadata Aggregator :: BOM .............. SUCCESS [  0.104 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:01 min
[INFO] Finished at: 2020-09-03T10:56:19Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test) on project aggregator-pipeline: There are test failures.
[ERROR] 
[ERROR] Please refer to C:\opt\jenkins\workspace\java-metadata-aggregator-0.10-multi\jdk\JDK-11\label\Windows2016\aggregator-pipeline\target\surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[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 <args> -rf :aggregator-pipeline
Build step 'Invoke top-level Maven targets' marked build as failure
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/target/surefire-reports/testng-results.xml
testng-results.xml was last modified before this build started. Ignoring it.
testng-results.xml was last modified before this build started. Ignoring it.
Saving reports...
Processing '/var/lib/jenkins/jobs/java-metadata-aggregator-0.10-multi/configurations/axis-jdk/JDK-11/axis-label/Windows2016/builds/126/testng/testng-results.xml'
0.274725% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH


More information about the commits mailing list