Build failed in Jenkins: java-metadata-aggregator-0.10-multi » Oracle-19,Windows2022 #1100
Shibboleth Jenkins
noreply at shibboleth.net
Wed Feb 22 03:48:16 UTC 2023
See <http://127.0.0.1:1583/jenkins/job/java-metadata-aggregator-0.10-multi/jdk=Oracle-19,label=Windows2022/1100/display/redirect?page=changes>
Changes:
[Brent Putman] JSSH-16: Update to Apache HttpClient 5.x
------------------------------------------
[...truncated 1.34 KB...]
originally caused by:
Started by upstream project "java-identity-provider-v5-nightly" build number 297
originally caused by:
Started by upstream project "java-shib-profile-v5-nightly" build number 16
originally caused by:
Started by upstream project "java-shib-attribute-v5-nightly" build number 253
originally caused by:
Started by upstream project "java-shib-metadata-v5-nightly" build number 245
originally caused by:
Started by upstream project "spring-webflow-v3-nightly" build number 291
originally caused by:
Started by upstream project "xmlsectool-v4-nightly" build number 31
originally caused by:
Started by upstream project "java-opensaml-v5-nightly" build number 285
originally caused by:
Started by upstream project "java-metadata-aggregator-0.10-nightly" build number 1043
originally caused by:
Started by upstream project "java-shib-shared-v9-nightly" build number 206
originally caused by:
(deeply nested causes)
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on EC2 (I2) - WindowsServer2022 (i-0c13e8e259c82cf45) (Windows2022) in workspace <http://127.0.0.1:1583/jenkins/job/java-metadata-aggregator-0.10-multi/jdk=Oracle-19,label=Windows2022/ws/>
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://git.shibboleth.net/git/java-metadata-aggregator
> git init <http://127.0.0.1:1583/jenkins/job/java-metadata-aggregator-0.10-multi/jdk=Oracle-19,label=Windows2022/ws/> # timeout=10
Fetching upstream changes from https://git.shibboleth.net/git/java-metadata-aggregator
> git --version # timeout=10
> git --version # 'git version 2.37.3.windows.1'
> git fetch --tags --force --progress -- https://git.shibboleth.net/git/java-metadata-aggregator +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://git.shibboleth.net/git/java-metadata-aggregator # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision 14add4dd7e3ca5aa4e9027bf41627b03664b24f4 (refs/remotes/origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f 14add4dd7e3ca5aa4e9027bf41627b03664b24f4 # timeout=10
Commit message: "JSSH-16: Update to Apache HttpClient 5.x"
> git rev-list --no-walk b0f19e9e0ddb162813129dea22d1f64d4ae7e7a6 # timeout=10
[Windows2022] $ cmd.exe /C "\opt\maven_home\bin\mvn.cmd -f pom.xml -Djdk=Oracle-19 -Dmatrix-combinations= -Dlabel=Windows2022 -Dno-check-m2= -V -B clean test -Prelease --update-snapshots --fail-at-end && exit %%ERRORLEVEL%%"
Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
Maven home: c:\opt\maven_home
Java version: 19.0.2, vendor: Oracle Corporation, runtime: c:\opt\jdk\jdk-19
Default locale: en_US, platform encoding: UTF-8
OS name: "windows server 2022", version: "10.0", arch: "amd64", family: "windows"
[INFO] Scanning for projects...
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/parent/17.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/parent/17.0.0-SNAPSHOT/maven-metadata.xml (603 B at 2.0 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-shared-bom/9.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-shared-bom/9.0.0-SNAPSHOT/maven-metadata.xml (610 B at 23 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-shared-parent/9.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-shared-parent/9.0.0-SNAPSHOT/maven-metadata.xml (613 B at 28 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Shibboleth Metadata Aggregator [pom]
[INFO] Processing Framework [jar]
[INFO] RSA Key Lists [jar]
[INFO] Command Line Interface [jar]
[INFO] Distribution Packages [pom]
[INFO] Bill of Materials [pom]
[INFO]
[INFO] -----------------< net.shibboleth.metadata:mda-parent >-----------------
[INFO] Building Shibboleth Metadata Aggregator 0.10.0-SNAPSHOT [1/6]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ mda-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ mda-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (banned-dependencies) @ mda-parent ---
[INFO]
[INFO] ---------------< net.shibboleth.metadata:mda-framework >----------------
[INFO] Building Processing Framework 0.10.0-SNAPSHOT [2/6]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-support/9.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-support/9.0.0-SNAPSHOT/maven-metadata.xml (1.6 kB at 59 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-networking/9.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-networking/9.0.0-SNAPSHOT/maven-metadata.xml (1.7 kB at 61 kB/s)
[WARNING] The POM for net.shibboleth:shib-networking:jar:9.0.0-20230221.010449-170 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-security/9.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-security/9.0.0-SNAPSHOT/maven-metadata.xml (1.6 kB at 55 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-spring/9.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-spring/9.0.0-SNAPSHOT/maven-metadata.xml (1.6 kB at 61 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-networking-spring/9.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-networking-spring/9.0.0-SNAPSHOT/maven-metadata.xml (1.7 kB at 55 kB/s)
[WARNING] The POM for net.shibboleth:shib-networking-spring:jar:9.0.0-20230221.010449-162 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-security-spring/9.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-security-spring/9.0.0-SNAPSHOT/maven-metadata.xml (1.7 kB at 55 kB/s)
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ mda-framework ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ mda-framework ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (banned-dependencies) @ mda-framework ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (default-prepare-agent) @ mda-framework ---
[INFO] Skipping JaCoCo execution because property jacoco.skip is set.
[INFO] argLine set to empty
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ mda-framework ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ mda-framework ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 172 source files to C:\opt\jenkins\workspace\java-metadata-aggregator-0.10-multi\jdk\Oracle-19\label\Windows2022\mda-framework\target\classes
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ mda-framework ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 198 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ mda-framework ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 120 source files to C:\opt\jenkins\workspace\java-metadata-aggregator-0.10-multi\jdk\Oracle-19\label\Windows2022\mda-framework\target\test-classes
[WARNING] /C:/opt/jenkins/workspace/java-metadata-aggregator-0.10-multi/jdk/Oracle-19/label/Windows2022/mda-framework/src/test/java/net/shibboleth/metadata/pipeline/SplitMergeStageTest.java:[50,14] setExecutorService(java.util.concurrent.ExecutorService) in net.shibboleth.metadata.pipeline.SplitMergeStage has been deprecated and marked for removal
[WARNING] /C:/opt/jenkins/workspace/java-metadata-aggregator-0.10-multi/jdk/Oracle-19/label/Windows2022/mda-framework/src/test/java/net/shibboleth/metadata/pipeline/SplitMergeStageTest.java:[51,34] getExecutorService() in net.shibboleth.metadata.pipeline.SplitMergeStage has been deprecated and marked for removal
[WARNING] /C:/opt/jenkins/workspace/java-metadata-aggregator-0.10-multi/jdk/Oracle-19/label/Windows2022/mda-framework/src/test/java/net/shibboleth/metadata/pipeline/SplitMergeStageTest.java:[99,35] getExecutorService() in net.shibboleth.metadata.pipeline.SplitMergeStage has been deprecated and marked for removal
[WARNING] /C:/opt/jenkins/workspace/java-metadata-aggregator-0.10-multi/jdk/Oracle-19/label/Windows2022/mda-framework/src/test/java/net/shibboleth/metadata/pipeline/PipelineMergeStageTest.java:[54,14] setExecutorService(java.util.concurrent.ExecutorService) in net.shibboleth.metadata.pipeline.PipelineMergeStage has been deprecated and marked for removal
[WARNING] /C:/opt/jenkins/workspace/java-metadata-aggregator-0.10-multi/jdk/Oracle-19/label/Windows2022/mda-framework/src/test/java/net/shibboleth/metadata/pipeline/PipelineMergeStageTest.java:[55,34] getExecutorService() in net.shibboleth.metadata.pipeline.PipelineMergeStage has been deprecated and marked for removal
[WARNING] /C:/opt/jenkins/workspace/java-metadata-aggregator-0.10-multi/jdk/Oracle-19/label/Windows2022/mda-framework/src/test/java/net/shibboleth/metadata/pipeline/PipelineDemultiplexerStageTest.java:[51,14] setExecutorService(java.util.concurrent.ExecutorService) in net.shibboleth.metadata.pipeline.PipelineDemultiplexerStage has been deprecated and marked for removal
[WARNING] /C:/opt/jenkins/workspace/java-metadata-aggregator-0.10-multi/jdk/Oracle-19/label/Windows2022/mda-framework/src/test/java/net/shibboleth/metadata/pipeline/PipelineDemultiplexerStageTest.java:[52,34] getExecutorService() in net.shibboleth.metadata.pipeline.PipelineDemultiplexerStage has been deprecated and marked for removal
[WARNING] /C:/opt/jenkins/workspace/java-metadata-aggregator-0.10-multi/jdk/Oracle-19/label/Windows2022/mda-framework/src/test/java/net/shibboleth/metadata/pipeline/PipelineDemultiplexerStageTest.java:[90,35] getExecutorService() in net.shibboleth.metadata.pipeline.PipelineDemultiplexerStage has been deprecated and marked for removal
[INFO] /C:/opt/jenkins/workspace/java-metadata-aggregator-0.10-multi/jdk/Oracle-19/label/Windows2022/mda-framework/src/test/java/net/shibboleth/metadata/BeansFileTest.java: C:\opt\jenkins\workspace\java-metadata-aggregator-0.10-multi\jdk\Oracle-19\label\Windows2022\mda-framework\src\test\java\net\shibboleth\metadata\BeansFileTest.java uses unchecked or unsafe operations.
[INFO] /C:/opt/jenkins/workspace/java-metadata-aggregator-0.10-multi/jdk/Oracle-19/label/Windows2022/mda-framework/src/test/java/net/shibboleth/metadata/BeansFileTest.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M7:test (default-test) @ mda-framework ---
[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[ERROR] Tests run: 395, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 20.692 s <<< FAILURE! - in TestSuite
[ERROR] net.shibboleth.metadata.BeansFileTest.testBeans Time elapsed: 0.418 s <<< FAILURE!
java.lang.NoClassDefFoundError: org/apache/http/client/methods/HttpUriRequest
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:390)
at java.base/java.lang.Class.forName(Class.java:381)
at net.shibboleth.metadata.BeansFileTest.testBeans(BeansFileTest.java:86)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:135)
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:673)
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:220)
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:945)
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:193)
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.testng.TestRunner.privateRun(TestRunner.java:808)
at org.testng.TestRunner.run(TestRunner.java:603)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:429)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:423)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:383)
at org.testng.SuiteRunner.run(SuiteRunner.java:326)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1249)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
at org.testng.TestNG.runSuites(TestNG.java:1092)
at org.testng.TestNG.run(TestNG.java:1060)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:151)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:192)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:93)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)
Caused by: java.lang.ClassNotFoundException: org.apache.http.client.methods.HttpUriRequest
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 35 more
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] BeansFileTest.testBeans:86 » NoClassDefFound org/apache/http/client/methods/HttpUriRequest
[INFO]
[ERROR] Tests run: 395, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping RSA Key Lists
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Command Line Interface
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Distribution Packages
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------< net.shibboleth.metadata:mda-bom >-------------------
[INFO] Building Bill of Materials 0.10.0-SNAPSHOT [3/6]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ mda-bom ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ mda-bom ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (banned-dependencies) @ mda-bom ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Shibboleth Metadata Aggregator 0.10.0-SNAPSHOT:
[INFO]
[INFO] Shibboleth Metadata Aggregator ..................... SUCCESS [ 0.704 s]
[INFO] Processing Framework ............................... FAILURE [ 37.249 s]
[INFO] RSA Key Lists ...................................... SKIPPED
[INFO] Command Line Interface ............................. SKIPPED
[INFO] Distribution Packages .............................. SKIPPED
[INFO] Bill of Materials .................................. SUCCESS [ 0.014 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46.941 s
[INFO] Finished at: 2023-02-22T03:48:16Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7:test (default-test) on project mda-framework: There are test failures.
[ERROR]
[ERROR] Please refer to C:\opt\jenkins\workspace\java-metadata-aggregator-0.10-multi\jdk\Oracle-19\label\Windows2022\mda-framework\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 :mda-framework
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-metadata-aggregator-0.10-multi/configurations/axis-jdk/Oracle-19/axis-label/Windows2022/builds/1100/testng/testng-results.xml'
0.253165% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH
More information about the commits
mailing list