Build failed in Jenkins: java-shib-metadata-v5-multi » Oracle-20,Windows2022 #296

Shibboleth Jenkins noreply at shibboleth.net
Tue Apr 11 02:29:33 UTC 2023


See <http://127.0.0.1:1583/jenkins/job/java-shib-metadata-v5-multi/jdk=Oracle-20,label=Windows2022/296/display/redirect?page=changes>

Changes:

[Scott Cantor] Fix test, resolvers cannot return null collections.


------------------------------------------
[...truncated 23.06 KB...]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ shib-metadata-api ---
[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) @ shib-metadata-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 14 source files to C:\opt\jenkins\workspace\java-shib-metadata-v5-multi\jdk\Oracle-20\label\Windows2022\shib-metadata-api\target\classes
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ shib-metadata-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 7 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ shib-metadata-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to C:\opt\jenkins\workspace\java-shib-metadata-v5-multi\jdk\Oracle-20\label\Windows2022\shib-metadata-api\target\test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0:test (default-test) @ shib-metadata-api ---
[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.775 s - in TestSuite
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] -----------------< net.shibboleth:shib-metadata-impl >------------------
[INFO] Building Shibboleth Metadata :: Implementation 5.0.0-SNAPSHOT      [3/6]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-service/9.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-service/9.0.0-SNAPSHOT/maven-metadata.xml (1.6 kB at 50 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 78 kB/s)
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ shib-metadata-impl ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ shib-metadata-impl ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (banned-dependencies) @ shib-metadata-impl ---
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ shib-metadata-impl ---
[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) @ shib-metadata-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 25 source files to C:\opt\jenkins\workspace\java-shib-metadata-v5-multi\jdk\Oracle-20\label\Windows2022\shib-metadata-impl\target\classes
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ shib-metadata-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 20 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ shib-metadata-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 8 source files to C:\opt\jenkins\workspace\java-shib-metadata-v5-multi\jdk\Oracle-20\label\Windows2022\shib-metadata-impl\target\test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0:test (default-test) @ shib-metadata-impl ---
[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[INFO] Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.264 s - in TestSuite
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 39, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] ----------------< net.shibboleth:shib-metadata-testing >----------------
[INFO] Building Shibboleth Metadata :: Testing 5.0.0-SNAPSHOT             [4/6]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-testing/9.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-testing/9.0.0-SNAPSHOT/maven-metadata.xml (1.6 kB at 46 kB/s)
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ shib-metadata-testing ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ shib-metadata-testing ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (banned-dependencies) @ shib-metadata-testing ---
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ shib-metadata-testing ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory C:\opt\jenkins\workspace\java-shib-metadata-v5-multi\jdk\Oracle-20\label\Windows2022\shib-metadata-testing\src\main\resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ shib-metadata-testing ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to C:\opt\jenkins\workspace\java-shib-metadata-v5-multi\jdk\Oracle-20\label\Windows2022\shib-metadata-testing\target\classes
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ shib-metadata-testing ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory C:\opt\jenkins\workspace\java-shib-metadata-v5-multi\jdk\Oracle-20\label\Windows2022\shib-metadata-testing\src\test\resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ shib-metadata-testing ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0:test (default-test) @ shib-metadata-testing ---
[INFO] No tests to run.
[INFO] 
[INFO] ----------------< net.shibboleth:shib-metadata-spring >-----------------
[INFO] Building Shibboleth Metadata :: Spring Integration 5.0.0-SNAPSHOT  [5/6]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-spring/5.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-spring/5.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-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 64 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-velocity-spring/9.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-velocity-spring/9.0.0-SNAPSHOT/maven-metadata.xml (1.2 kB at 72 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-velocity-spring/9.0.0-SNAPSHOT/shib-velocity-spring-9.0.0-20230410.010422-216.pom
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-velocity-spring/9.0.0-SNAPSHOT/shib-velocity-spring-9.0.0-20230410.010422-216.pom (2.7 kB at 182 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-velocity-spring/9.0.0-SNAPSHOT/shib-velocity-spring-9.0.0-20230410.010422-216.jar
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-velocity-spring/9.0.0-SNAPSHOT/shib-velocity-spring-9.0.0-20230410.010422-216.jar (15 kB at 1.1 MB/s)
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ shib-metadata-spring ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ shib-metadata-spring ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (banned-dependencies) @ shib-metadata-spring ---
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ shib-metadata-spring ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 4 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ shib-metadata-spring ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 65 source files to C:\opt\jenkins\workspace\java-shib-metadata-v5-multi\jdk\Oracle-20\label\Windows2022\shib-metadata-spring\target\classes
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ shib-metadata-spring ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 187 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ shib-metadata-spring ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 37 source files to C:\opt\jenkins\workspace\java-shib-metadata-v5-multi\jdk\Oracle-20\label\Windows2022\shib-metadata-spring\target\test-classes
[INFO] /C:/opt/jenkins/workspace/java-shib-metadata-v5-multi/jdk/Oracle-20/label/Windows2022/shib-metadata-spring/src/test/java/net/shibboleth/spring/metadata/EmptyChainService.java: Some input files use unchecked or unsafe operations.
[INFO] /C:/opt/jenkins/workspace/java-shib-metadata-v5-multi/jdk/Oracle-20/label/Windows2022/shib-metadata-spring/src/test/java/net/shibboleth/spring/metadata/EmptyChainService.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0:test (default-test) @ shib-metadata-spring ---
[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: 143, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 27.9 s <<< FAILURE! - in TestSuite
[ERROR] net.shibboleth.spring.metadata.FilesystemMetadataParserTest.inactive  Time elapsed: 0.033 s  <<< FAILURE!
java.lang.NullPointerException: Cannot invoke "java.lang.Iterable.iterator()" because "entities" is null
	at net.shibboleth.spring.metadata.FilesystemMetadataParserTest.inactive(FilesystemMetadataParserTest.java:48)
	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:155)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:169)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:88)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:137)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   FilesystemMetadataParserTest.inactive:48 NullPointer Cannot invoke "java.lang.Iterable.iterator()" because "entities" is null
[INFO] 
[ERROR] Tests run: 143, Failures: 1, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] ------------------< net.shibboleth:shib-metadata-bom >------------------
[INFO] Building Shibboleth Metadata :: BOM 5.0.0-SNAPSHOT                 [6/6]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ shib-metadata-bom ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ shib-metadata-bom ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (banned-dependencies) @ shib-metadata-bom ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Shibboleth Metadata Components 5.0.0-SNAPSHOT:
[INFO] 
[INFO] Shibboleth Metadata Components ..................... SUCCESS [  0.752 s]
[INFO] Shibboleth Metadata :: API ......................... SUCCESS [ 15.924 s]
[INFO] Shibboleth Metadata :: Implementation .............. SUCCESS [ 14.353 s]
[INFO] Shibboleth Metadata :: Testing ..................... SUCCESS [  0.546 s]
[INFO] Shibboleth Metadata :: Spring Integration .......... FAILURE [ 33.914 s]
[INFO] Shibboleth Metadata :: BOM ......................... SUCCESS [  0.172 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:14 min
[INFO] Finished at: 2023-04-11T02:29:32Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0:test (default-test) on project shib-metadata-spring: There are test failures.
[ERROR] 
[ERROR] Please refer to C:\opt\jenkins\workspace\java-shib-metadata-v5-multi\jdk\Oracle-20\label\Windows2022\shib-metadata-spring\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 :shib-metadata-spring
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-shib-metadata-v5-multi/configurations/axis-jdk/Oracle-20/axis-label/Windows2022/builds/296/testng/testng-results-1.xml'
Processing '/var/lib/jenkins/jobs/java-shib-metadata-v5-multi/configurations/axis-jdk/Oracle-20/axis-label/Windows2022/builds/296/testng/testng-results-2.xml'
Processing '/var/lib/jenkins/jobs/java-shib-metadata-v5-multi/configurations/axis-jdk/Oracle-20/axis-label/Windows2022/builds/296/testng/testng-results.xml'
0.520833% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH


More information about the commits mailing list