Build failed in Jenkins: java-support-v9-multi » Amazon-17,Windows2016 #40
Shibboleth Jenkins
noreply at shibboleth.net
Thu Jul 7 02:13:20 UTC 2022
See <http://127.0.0.1:1583/jenkins/job/java-support-v9-multi/jdk=Amazon-17,label=Windows2016/40/display/redirect?page=changes>
Changes:
[Scott Cantor] Work in progress.
[Scott Cantor] Put back notion of "null" object, and add unit tests.
[Scott Cantor] Add toString impl for debugging.
[Scott Cantor] Implement draft serializer, start on unit tests.
[Scott Cantor] Add more tests.
[Scott Cantor] Deserialization and tests.
[Scott Cantor] Expand encoded character set to match C++.
[Scott Cantor] Tests for parsing bad inputs.
[Scott Cantor] DDF-backed HttpServletRequest implementation.
[Scott Cantor] Unit tests and bug fixes for remoted requests.
[Scott Cantor] WIP on remoted response facade.
[Scott Cantor] Plug in response handling, very likely non-functional at this stage.
[Scott Cantor] Unit tests and bug fixes.
[Scott Cantor] Redo handling of unsafe data, and fix tests.
[Scott Cantor] Add missing accessors for Brent's prototype.
[Scott Cantor] Move LoggingService interface into java-support.
[Scott Cantor] Allow null in setter.
[Scott Cantor] Add 64-bit long support to DDF library.
[Scott Cantor] XML to DDF conversion for agent config file handling.
[Scott Cantor] Fix method access issues.
[Scott Cantor] Jakarta changes.
[Scott Cantor] Move basic database testing helper into java-support.
[Scott Cantor] Push metric helper for reloadable services down into java-support.
[Scott Cantor] Collapse metric prefix and name for simplicity.
[Scott Cantor] Mechanism to extend script contexts dynamically.
[Scott Cantor] Rollback addition of Initializable due to Spring factory method behavior
[Scott Cantor] Adjust script extender API.
[Scott Cantor] Adjust generic setter.
[Scott Cantor] Eclipse files.
[Scott Cantor] Correct accidental change to construction ordering.
------------------------------------------
Started by upstream project "java-support-v9-multi" build number 40
originally caused by:
Started by upstream project "trigger-multi-v17" build number 40
originally caused by:
Started by upstream project "java-identity-provider-v5-nightly" build number 40
originally caused by:
Started by upstream project "java-shib-attribute-v5-nightly" build number 1
originally caused by:
Started by upstream project "java-shib-metadata-v5-nightly" build number 1
originally caused by:
Started by upstream project "spring-webflow-v3-nightly" build number 49
originally caused by:
Started by upstream project "java-opensaml-v5-nightly" build number 40
originally caused by:
Started by upstream project "spring-extensions-v7-nightly" build number 40
originally caused by:
Started by upstream project "java-support-v9-nightly" build number 39
originally caused by:
Started by upstream project "java-parent-project-v17-nightly" build number 39
originally caused by:
Started by upstream project "trigger-nightly-v17" build number 39
originally caused by:
Started by timer
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=Amazon-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=Amazon-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 25ac337d3e01c868088fae105b2649b26ae1b556 (refs/remotes/origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f 25ac337d3e01c868088fae105b2649b26ae1b556 # timeout=10
Commit message: "Correct accidental change to construction ordering."
> git rev-list --no-walk c35e5acba06bdaa53c82e281759ae18b79202f25 # timeout=10
[Windows2016] $ cmd.exe /C "\opt\maven_home\bin\mvn.cmd -Djdk=Amazon-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, vendor: Amazon.com Inc., runtime: c:\opt\jdk\amazon-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-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/parent/17.0.0-SNAPSHOT/maven-metadata.xml
[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] Downloaded from shib-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/parent/17.0.0-SNAPSHOT/maven-metadata.xml (601 B at 1.5 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.4 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=Amazon-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=Amazon-17,label=Windows2016/ws/target\classes>
[WARNING] /c:/opt/jenkins/workspace/java-support-v9-multi/jdk/Amazon-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/Amazon-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/Amazon-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/Amazon-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/Amazon-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/Amazon-17/label/Windows2016/src/main/java/net/shibboleth/utilities/java/support/httpclient/TLSSocketFactory.java: Some input files use unchecked or unsafe operations.
[INFO] /c:/opt/jenkins/workspace/java-support-v9-multi/jdk/Amazon-17/label/Windows2016/src/main/java/net/shibboleth/utilities/java/support/httpclient/TLSSocketFactory.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=Amazon-17,label=Windows2016/ws/target\test-classes>
[WARNING] /c:/opt/jenkins/workspace/java-support-v9-multi/jdk/Amazon-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/Amazon-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/Amazon-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/Amazon-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/Amazon-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/Amazon-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/Amazon-17/label/Windows2016/src/test/java/net/shibboleth/utilities/java/support/resolver/ResolverSupportTest.java: Some input files use unchecked or unsafe operations.
[INFO] /c:/opt/jenkins/workspace/java-support-v9-multi/jdk/Amazon-17/label/Windows2016/src/test/java/net/shibboleth/utilities/java/support/resolver/ResolverSupportTest.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.856 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: 53.699 s
[INFO] Finished at: 2022-07-07T02:13:19Z
[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=Amazon-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/Amazon-17/axis-label/Windows2016/builds/40/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