Build failed in Jenkins: java-support-v9-multi » JDK-17,Windows2016 #41
Shibboleth Jenkins
noreply at shibboleth.net
Thu Jul 7 15:05:49 UTC 2022
See <http://127.0.0.1:1583/jenkins/job/java-support-v9-multi/jdk=JDK-17,label=Windows2016/41/display/redirect?page=changes>
Changes:
[Scott Cantor] Javadoc fixes.
[Scott Cantor] Javadoc fixes.
------------------------------------------
Started by upstream project "java-support-v9-multi" build number 41
originally caused by:
Started by upstream project "trigger-multi-v17" build number 41
originally caused by:
Started by upstream project "java-identity-provider-v5-nightly" build number 41
originally caused by:
Started by upstream project "java-shib-attribute-v5-nightly" build number 2
originally caused by:
Started by upstream project "java-shib-metadata-v5-nightly" build number 2
originally caused by:
Started by upstream project "spring-webflow-v3-nightly" build number 50
originally caused by:
Started by upstream project "java-opensaml-v5-nightly" build number 42
originally caused by:
Started by upstream project "spring-extensions-v7-nightly" build number 42
originally caused by:
Started by upstream project "java-support-v9-nightly" build number 41
originally caused by:
Started by user Scott Cantor
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on EC2 (I2) - WindowsServer2016 (i-021effbd2842bb36a) (Windows2016) in workspace <http://127.0.0.1:1583/jenkins/job/java-support-v9-multi/jdk=JDK-17,label=Windows2016/ws/>
The recommended git tool is: NONE
No credentials specified
> git rev-parse --resolve-git-dir <http://127.0.0.1:1583/jenkins/job/java-support-v9-multi/jdk=JDK-17,label=Windows2016/ws/.git> # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://git.shibboleth.net/git/java-support # timeout=10
Fetching upstream changes from https://git.shibboleth.net/git/java-support
> git --version # timeout=10
> git --version # 'git version 2.25.0.windows.1'
> git fetch --tags --force --progress -- https://git.shibboleth.net/git/java-support +refs/heads/*:refs/remotes/origin/* # timeout=10
Checking out Revision 2258be2adc91029237f58700815a04a8fe4173a7 (refs/remotes/origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f 2258be2adc91029237f58700815a04a8fe4173a7 # timeout=10
Commit message: "Javadoc fixes."
> git rev-list --no-walk 25ac337d3e01c868088fae105b2649b26ae1b556 # timeout=10
[Windows2016] $ cmd.exe /C "\opt\maven_home\bin\mvn.cmd -Djdk=JDK-17 -Dmatrix-combinations= -Dlabel=Windows2016 -Dno-check-m2= -V -B clean test -Prelease --update-snapshots --fail-at-end && exit %%ERRORLEVEL%%"
Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
Maven home: c:\opt\maven_home
Java version: 17.0.3.1, vendor: Oracle Corporation, runtime: c:\opt\jdk\jdk-17
Default locale: en_US, platform encoding: Cp1252
OS name: "windows server 2016", version: "10.0", arch: "amd64", family: "windows"
[INFO] Scanning for projects...
[INFO] Downloading from shib-thirdparty-snapshots: https://build.shibboleth.net/maven/thirdparty-snapshots/net/shibboleth/parent/17.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shib-snapshot: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/parent/17.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shib-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/parent/17.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shib-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/parent/17.0.0-SNAPSHOT/maven-metadata.xml (601 B at 1.2 kB/s)
[INFO] Downloaded from shib-snapshot: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/parent/17.0.0-SNAPSHOT/maven-metadata.xml (601 B at 1.1 kB/s)
[INFO] Downloading from shib-thirdparty-snapshot: https://build.shibboleth.net/nexus/content/repositories/thirdparty-snapshots/net/shibboleth/parent/17.0.0-SNAPSHOT/maven-metadata.xml
[INFO]
[INFO] ---------------< net.shibboleth.utilities:java-support >----------------
[INFO] Building java-support 9.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ java-support ---
[INFO] Deleting <http://127.0.0.1:1583/jenkins/job/java-support-v9-multi/jdk=JDK-17,label=Windows2016/ws/target>
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ java-support ---
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ java-support ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ java-support ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 180 source files to <http://127.0.0.1:1583/jenkins/job/java-support-v9-multi/jdk=JDK-17,label=Windows2016/ws/target\classes>
[WARNING] /c:/opt/jenkins/workspace/java-support-v9-multi/jdk/JDK-17/label/Windows2016/src/main/java/net/shibboleth/utilities/java/support/ddf/RemotedHttpServletRequest.java:[536,20] isRequestedSessionIdFromUrl() in jakarta.servlet.http.HttpServletRequest has been deprecated
[WARNING] /c:/opt/jenkins/workspace/java-support-v9-multi/jdk/JDK-17/label/Windows2016/src/main/java/net/shibboleth/utilities/java/support/ddf/RemotedHttpServletRequest.java:[291,19] getRealPath(java.lang.String) in jakarta.servlet.ServletRequest has been deprecated
[WARNING] /c:/opt/jenkins/workspace/java-support-v9-multi/jdk/JDK-17/label/Windows2016/src/main/java/net/shibboleth/utilities/java/support/ddf/RemotedHttpServletResponse.java:[299,17] setStatus(int,java.lang.String) in jakarta.servlet.http.HttpServletResponse has been deprecated
[WARNING] /c:/opt/jenkins/workspace/java-support-v9-multi/jdk/JDK-17/label/Windows2016/src/main/java/net/shibboleth/utilities/java/support/ddf/RemotedHttpServletResponse.java:[232,19] encodeRedirectUrl(java.lang.String) in jakarta.servlet.http.HttpServletResponse has been deprecated
[WARNING] /c:/opt/jenkins/workspace/java-support-v9-multi/jdk/JDK-17/label/Windows2016/src/main/java/net/shibboleth/utilities/java/support/ddf/RemotedHttpServletResponse.java:[227,19] encodeUrl(java.lang.String) in jakarta.servlet.http.HttpServletResponse has been deprecated
[INFO] /c:/opt/jenkins/workspace/java-support-v9-multi/jdk/JDK-17/label/Windows2016/src/main/java/net/shibboleth/utilities/java/support/logic/FunctionSupport.java: Some input files use unchecked or unsafe operations.
[INFO] /c:/opt/jenkins/workspace/java-support-v9-multi/jdk/JDK-17/label/Windows2016/src/main/java/net/shibboleth/utilities/java/support/logic/FunctionSupport.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ java-support ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 34 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ java-support ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 92 source files to <http://127.0.0.1:1583/jenkins/job/java-support-v9-multi/jdk=JDK-17,label=Windows2016/ws/target\test-classes>
[WARNING] /c:/opt/jenkins/workspace/java-support-v9-multi/jdk/JDK-17/label/Windows2016/src/test/java/net/shibboleth/utilities/java/support/testing/TestSupportTest.java:[12,20] isJavaV7OrLater() in net.shibboleth.utilities.java.support.testing.TestSupport has been deprecated and marked for removal
[WARNING] /c:/opt/jenkins/workspace/java-support-v9-multi/jdk/JDK-17/label/Windows2016/src/test/java/net/shibboleth/utilities/java/support/testing/TestSupportTest.java:[18,20] isJavaV8OrLater() in net.shibboleth.utilities.java.support.testing.TestSupport has been deprecated and marked for removal
[WARNING] /c:/opt/jenkins/workspace/java-support-v9-multi/jdk/JDK-17/label/Windows2016/src/test/java/net/shibboleth/utilities/java/support/testing/TestSupportTest.java:[24,20] isJavaV9OrLater() in net.shibboleth.utilities.java.support.testing.TestSupport has been deprecated and marked for removal
[WARNING] /c:/opt/jenkins/workspace/java-support-v9-multi/jdk/JDK-17/label/Windows2016/src/test/java/net/shibboleth/utilities/java/support/testing/TestSupportTest.java:[30,20] isJavaV11OrLater() in net.shibboleth.utilities.java.support.testing.TestSupport has been deprecated and marked for removal
[WARNING] /c:/opt/jenkins/workspace/java-support-v9-multi/jdk/JDK-17/label/Windows2016/src/test/java/net/shibboleth/utilities/java/support/security/impl/ScriptedKeyStrategyTest.java:[62,31] EvaluableScript(java.lang.String,java.io.File) in net.shibboleth.utilities.java.support.scripting.EvaluableScript has been deprecated and marked for removal
[WARNING] /c:/opt/jenkins/workspace/java-support-v9-multi/jdk/JDK-17/label/Windows2016/src/test/java/net/shibboleth/utilities/java/support/security/impl/ScriptedKeyStrategyTest.java:[76,32] EvaluableScript(java.lang.String) in net.shibboleth.utilities.java.support.scripting.EvaluableScript has been deprecated and marked for removal
[INFO] /c:/opt/jenkins/workspace/java-support-v9-multi/jdk/JDK-17/label/Windows2016/src/test/java/net/shibboleth/utilities/java/support/httpclient/ContextHandlingHttpClientTest.java: Some input files use unchecked or unsafe operations.
[INFO] /c:/opt/jenkins/workspace/java-support-v9-multi/jdk/JDK-17/label/Windows2016/src/test/java/net/shibboleth/utilities/java/support/httpclient/ContextHandlingHttpClientTest.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ java-support ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[ERROR] Tests run: 316, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 28.91 s <<< FAILURE! - in TestSuite
[ERROR] net.shibboleth.utilities.java.support.ddf.DDFTest.testDeserialize Time elapsed: 0.015 s <<< FAILURE!
java.io.IOException: Empty/pointer record not terminated by linefeed
at net.shibboleth.utilities.java.support.ddf.DDFTest.testDeserialize(DDFTest.java:288)
[ERROR] net.shibboleth.utilities.java.support.ddf.DDFTest.testSerialize Time elapsed: 0 s <<< FAILURE!
java.lang.AssertionError: arrays don't have the same size. expected [5] but found [4]
at net.shibboleth.utilities.java.support.ddf.DDFTest.testSerialize(DDFTest.java:224)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] DDFTest.testDeserialize:288 » IO Empty/pointer record not terminated by linefe...
[ERROR] DDFTest.testSerialize:224 arrays don't have the same size. expected [5] but found [4]
[INFO]
[ERROR] Tests run: 316, Failures: 2, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 50.721 s
[INFO] Finished at: 2022-07-07T15:05:47Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project java-support: There are test failures.
[ERROR]
[ERROR] Please refer to <http://127.0.0.1:1583/jenkins/job/java-support-v9-multi/jdk=JDK-17,label=Windows2016/ws/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
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
Saving reports...
Processing '/var/lib/jenkins/jobs/java-support-v9-multi/configurations/axis-jdk/JDK-17/axis-label/Windows2016/builds/41/testng/testng-results.xml'
0.632911% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH
More information about the commits
mailing list