Build failed in Jenkins: java-shib-shared-v9-multi » Amazon-17,Windows2022 #388

Shibboleth Jenkins noreply at shibboleth.net
Fri Aug 11 09:19:17 UTC 2023


See <http://127.0.0.1:1583/jenkins/job/java-shib-shared-v9-multi/jdk=Amazon-17,label=Windows2022/388/display/redirect>

Changes:


------------------------------------------
[...truncated 62.59 KB...]
	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)
Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Integer' for property 'name'; For input string: "string"
	at org.springframework.beans.AbstractNestablePropertyAccessor.convertIfNecessary(AbstractNestablePropertyAccessor.java:599)
	at org.springframework.beans.AbstractNestablePropertyAccessor.convertForProperty(AbstractNestablePropertyAccessor.java:608)
	at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:190)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1730)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1687)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:597)
	... 43 more
Caused by: java.lang.NumberFormatException: For input string: "string"
	at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
	at java.base/java.lang.Integer.parseInt(Integer.java:668)
	at java.base/java.lang.Integer.valueOf(Integer.java:999)
	at org.springframework.util.NumberUtils.parseNumber(NumberUtils.java:203)
	at org.springframework.beans.propertyeditors.CustomNumberEditor.setAsText(CustomNumberEditor.java:115)
	at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:425)
	at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:398)
	at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:155)
	at org.springframework.beans.AbstractNestablePropertyAccessor.convertIfNecessary(AbstractNestablePropertyAccessor.java:589)
	... 49 more

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   StringBooleanToPredicateConverterTest>AbstractTestNGSpringContextTests.run:154->integerTest:48 NullPointer Cannot invoke "java.util.function.Predicate.test(Object)" because "bean.nameAsPredicate" is null
[ERROR]   StringBooleanToPredicateConverterTest>AbstractTestNGSpringContextTests.run:154->listTest:85 » BeanCreation Error creating bean with name 'list' defined in class path resource [net/shibboleth/shared/spring/config/predicateConverter.xml]: Failed to convert property value of type 'java.util.Collections$UnmodifiableRandomAccessList' to required type 'java.lang.Integer' for property 'name'; Failed to convert from type [java.lang.String] to type [java.lang.Integer] for value [a]
[ERROR]   StringBooleanToPredicateConverterTest>AbstractTestNGSpringContextTests.run:154->predFalseTest:76 » BeanCreation Error creating bean with name 'predFalse' defined in class path resource [net/shibboleth/shared/spring/config/predicateConverter.xml]: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Integer' for property 'name'; For input string: "false"
[ERROR]   StringBooleanToPredicateConverterTest>AbstractTestNGSpringContextTests.run:154->predTrueTest:67 » BeanCreation Error creating bean with name 'predTrue' defined in class path resource [net/shibboleth/shared/spring/config/predicateConverter.xml]: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Integer' for property 'name'; For input string: "true"
[ERROR]   StringBooleanToPredicateConverterTest>AbstractTestNGSpringContextTests.run:154->stringTest:54 » BeanCreation Error creating bean with name 'string' defined in class path resource [net/shibboleth/shared/spring/config/predicateConverter.xml]: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Integer' for property 'name'; For input string: "string"
[INFO] 
[ERROR] Tests run: 36, Failures: 5, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Shibboleth Shared :: CLI Support
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Shibboleth Shared :: Networking Spring Support
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --------------------< net.shibboleth:shib-security >--------------------
[INFO] Building Shibboleth Shared :: Security Support 9.0.0-SNAPSHOT     [5/13]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ shib-security ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ shib-security ---
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ shib-security ---
[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-shared-v9-multi\jdk\Amazon-17\label\Windows2022\shib-security\src\main\resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ shib-security ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 20 source files to C:\opt\jenkins\workspace\java-shib-shared-v9-multi\jdk\Amazon-17\label\Windows2022\shib-security\target\classes
[WARNING] /C:/opt/jenkins/workspace/java-shib-shared-v9-multi/jdk/Amazon-17/label/Windows2022/shib-security/src/main/java/net/shibboleth/shared/security/impl/ScriptedKeyStrategy.java:[212,44] getDefaultKey() in net.shibboleth.shared.security.DataSealerKeyStrategy has been deprecated and marked for removal
[WARNING] /C:/opt/jenkins/workspace/java-shib-shared-v9-multi/jdk/Amazon-17/label/Windows2022/shib-security/src/main/java/net/shibboleth/shared/security/impl/BasicKeystoreKeyStrategy.java:[288,44] getDefaultKey() in net.shibboleth.shared.security.DataSealerKeyStrategy has been deprecated and marked for removal
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ shib-security ---
[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:testCompile (default-testCompile) @ shib-security ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 7 source files to C:\opt\jenkins\workspace\java-shib-shared-v9-multi\jdk\Amazon-17\label\Windows2022\shib-security\target\test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0:test (default-test) @ shib-security ---
[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: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.1 s - in TestSuite
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] ----------------< net.shibboleth:shib-security-spring >-----------------
[INFO] Building Shibboleth Shared :: Security Spring Support 9.0.0-SNAPSHOT [6/13]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ shib-security-spring ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ shib-security-spring ---
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ shib-security-spring ---
[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-shared-v9-multi\jdk\Amazon-17\label\Windows2022\shib-security-spring\src\main\resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ shib-security-spring ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 7 source files to C:\opt\jenkins\workspace\java-shib-shared-v9-multi\jdk\Amazon-17\label\Windows2022\shib-security-spring\target\classes
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ shib-security-spring ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 9 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ shib-security-spring ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to C:\opt\jenkins\workspace\java-shib-shared-v9-multi\jdk\Amazon-17\label\Windows2022\shib-security-spring\target\test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0:test (default-test) @ shib-security-spring ---
[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: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.811 s - in TestSuite
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Shibboleth Shared :: Services Support
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Shibboleth Shared :: Testing Support
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --------------------< net.shibboleth:shib-velocity >--------------------
[INFO] Building Shibboleth Shared :: Velocity Support 9.0.0-SNAPSHOT     [7/13]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ shib-velocity ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ shib-velocity ---
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ shib-velocity ---
[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-shared-v9-multi\jdk\Amazon-17\label\Windows2022\shib-velocity\src\main\resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ shib-velocity ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to C:\opt\jenkins\workspace\java-shib-shared-v9-multi\jdk\Amazon-17\label\Windows2022\shib-velocity\target\classes
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ shib-velocity ---
[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-shared-v9-multi\jdk\Amazon-17\label\Windows2022\shib-velocity\src\test\resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ shib-velocity ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0:test (default-test) @ shib-velocity ---
[INFO] No tests to run.
[INFO] 
[INFO] ----------------< net.shibboleth:shib-velocity-spring >-----------------
[INFO] Building Shibboleth Shared :: Velocity Spring Support 9.0.0-SNAPSHOT [8/13]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ shib-velocity-spring ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ shib-velocity-spring ---
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ shib-velocity-spring ---
[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-velocity-spring ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 8 source files to C:\opt\jenkins\workspace\java-shib-shared-v9-multi\jdk\Amazon-17\label\Windows2022\shib-velocity-spring\target\classes
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ shib-velocity-spring ---
[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-shared-v9-multi\jdk\Amazon-17\label\Windows2022\shib-velocity-spring\src\test\resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ shib-velocity-spring ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0:test (default-test) @ shib-velocity-spring ---
[INFO] No tests to run.
[INFO] 
[INFO] -------------------< net.shibboleth:shib-shared-bom >-------------------
[INFO] Building Shibboleth Shared Components :: BOM 9.0.0-SNAPSHOT       [9/13]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ shib-shared-bom ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ shib-shared-bom ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Shibboleth Shared Components 9.0.0-SNAPSHOT:
[INFO] 
[INFO] Shibboleth Shared Components ....................... SUCCESS [  0.616 s]
[INFO] Shibboleth Shared :: Generic Support Classes ....... SUCCESS [ 19.577 s]
[INFO] Shibboleth Shared :: Networking Support ............ SUCCESS [ 12.652 s]
[INFO] Shibboleth Shared :: Spring Support Classes ........ FAILURE [ 14.452 s]
[INFO] Shibboleth Shared :: CLI Support ................... SKIPPED
[INFO] Shibboleth Shared :: Networking Spring Support ..... SKIPPED
[INFO] Shibboleth Shared :: Security Support .............. SUCCESS [ 27.092 s]
[INFO] Shibboleth Shared :: Security Spring Support ....... SUCCESS [ 10.927 s]
[INFO] Shibboleth Shared :: Services Support .............. SKIPPED
[INFO] Shibboleth Shared :: Testing Support ............... SKIPPED
[INFO] Shibboleth Shared :: Velocity Support .............. SUCCESS [  0.164 s]
[INFO] Shibboleth Shared :: Velocity Spring Support ....... SUCCESS [  0.305 s]
[INFO] Shibboleth Shared Components :: BOM ................ SUCCESS [  0.183 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:34 min
[INFO] Finished at: 2023-08-11T09:19:17Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0:test (default-test) on project shib-spring: There are test failures.
[ERROR] 
[ERROR] Please refer to C:\opt\jenkins\workspace\java-shib-shared-v9-multi\jdk\Amazon-17\label\Windows2022\shib-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-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-shared-v9-multi/configurations/axis-jdk/Amazon-17/axis-label/Windows2022/builds/388/testng/testng-results-1.xml'
Processing '/var/lib/jenkins/jobs/java-shib-shared-v9-multi/configurations/axis-jdk/Amazon-17/axis-label/Windows2022/builds/388/testng/testng-results-2.xml'
Processing '/var/lib/jenkins/jobs/java-shib-shared-v9-multi/configurations/axis-jdk/Amazon-17/axis-label/Windows2022/builds/388/testng/testng-results-3.xml'
Processing '/var/lib/jenkins/jobs/java-shib-shared-v9-multi/configurations/axis-jdk/Amazon-17/axis-label/Windows2022/builds/388/testng/testng-results-4.xml'
Processing '/var/lib/jenkins/jobs/java-shib-shared-v9-multi/configurations/axis-jdk/Amazon-17/axis-label/Windows2022/builds/388/testng/testng-results.xml'
1.623377% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH


More information about the commits mailing list