Build failed in Jenkins: java-identity-provider-v5-multi » Oracle-17,Windows2022 #153
Shibboleth Jenkins
noreply at shibboleth.net
Fri Oct 14 02:11:25 UTC 2022
See <http://127.0.0.1:1583/jenkins/job/java-identity-provider-v5-multi/jdk=Oracle-17,label=Windows2022/153/display/redirect?page=changes>
Changes:
[dfisher] IDP-1963 Update ldaptive to version 2.
[Scott Cantor] JSSH-9 - Rework IdentifierGenerationStrategy usage
[Scott Cantor] Fix test.
[Scott Cantor] Fix test by injecting a dummy SecurityConfiguration.
[Scott Cantor] IDP-2020 - SecurityConfiguration on is SAML-specific
[Scott Cantor] Remove deprecated setter methods.
[Scott Cantor] IDP-2023 - Remove extended flow feature from password login flow
------------------------------------------
[...truncated 145.11 KB...]
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/org/opensaml/opensaml-profile-impl/5.0.0-SNAPSHOT/opensaml-profile-impl-5.0.0-20221014.010623-136.jar (26 kB at 1.7 MB/s)
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-security-spring/9.0.0-SNAPSHOT/shib-security-spring-9.0.0-20221014.010233-31.jar (13 kB at 786 kB/s)
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ idp-war ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ idp-war ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (banned-dependencies) @ idp-war ---
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ idp-war ---
[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-identity-provider-v5-multi\jdk\Oracle-17\label\Windows2022\idp-war\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ idp-war ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ idp-war ---
[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-identity-provider-v5-multi\jdk\Oracle-17\label\Windows2022\idp-war\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ idp-war ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ idp-war ---
[INFO] No tests to run.
[INFO]
[INFO] --------------< net.shibboleth.idp:idp-war-distribution >---------------
[INFO] Building Shibboleth IdP :: WAR distribution 5.0.0-SNAPSHOT [23/28]
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ idp-war-distribution ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ idp-war-distribution ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (banned-dependencies) @ idp-war-distribution ---
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ idp-war-distribution ---
[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-identity-provider-v5-multi\jdk\Oracle-17\label\Windows2022\idp-war-distribution\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ idp-war-distribution ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ idp-war-distribution ---
[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-identity-provider-v5-multi\jdk\Oracle-17\label\Windows2022\idp-war-distribution\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ idp-war-distribution ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ idp-war-distribution ---
[INFO] No tests to run.
[INFO]
[INFO] ---------------------< net.shibboleth.idp:idp-cli >---------------------
[INFO] Building Shibboleth IdP :: Command Line 5.0.0-SNAPSHOT [24/28]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-cli/9.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shib-snapshot: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/shib-cli/9.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shib-thirdparty-snapshot: https://build.shibboleth.net/nexus/content/repositories/thirdparty-snapshots/net/shibboleth/shib-cli/9.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-cli/9.0.0-SNAPSHOT/maven-metadata.xml (1.4 kB at 59 kB/s)
[INFO] Downloaded from shib-snapshot: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/shib-cli/9.0.0-SNAPSHOT/maven-metadata.xml (1.4 kB at 57 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-cli/9.0.0-SNAPSHOT/shib-cli-9.0.0-20221014.010233-31.pom
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-cli/9.0.0-SNAPSHOT/shib-cli-9.0.0-20221014.010233-31.pom (2.4 kB at 171 kB/s)
[INFO] Downloading from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-cli/9.0.0-SNAPSHOT/shib-cli-9.0.0-20221014.010233-31.jar
[INFO] Downloaded from shibboleth-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/shib-cli/9.0.0-SNAPSHOT/shib-cli-9.0.0-20221014.010233-31.jar (11 kB at 695 kB/s)
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ idp-cli ---
[INFO] Deleting C:\opt\jenkins\workspace\java-identity-provider-v5-multi\jdk\Oracle-17\label\Windows2022\idp-cli\target
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ idp-cli ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (banned-dependencies) @ idp-cli ---
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ idp-cli ---
[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-identity-provider-v5-multi\jdk\Oracle-17\label\Windows2022\idp-cli\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ idp-cli ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 17 source files to C:\opt\jenkins\workspace\java-identity-provider-v5-multi\jdk\Oracle-17\label\Windows2022\idp-cli\target\classes
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ idp-cli ---
[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-identity-provider-v5-multi\jdk\Oracle-17\label\Windows2022\idp-cli\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ idp-cli ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ idp-cli ---
[INFO] No tests to run.
[INFO]
[INFO] --------------------< net.shibboleth.idp:idp-conf >---------------------
[INFO] Building Shibboleth IdP :: Configuration Files 5.0.0-SNAPSHOT [25/28]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ idp-conf ---
[INFO] Deleting C:\opt\jenkins\workspace\java-identity-provider-v5-multi\jdk\Oracle-17\label\Windows2022\idp-conf\target
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ idp-conf ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (banned-dependencies) @ idp-conf ---
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ idp-conf ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 54 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ idp-conf ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ idp-conf ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 85 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ idp-conf ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 46 source files to C:\opt\jenkins\workspace\java-identity-provider-v5-multi\jdk\Oracle-17\label\Windows2022\idp-conf\target\test-classes
[INFO] /C:/opt/jenkins/workspace/java-identity-provider-v5-multi/jdk/Oracle-17/label/Windows2022/idp-conf/src/test/java/net/shibboleth/idp/test/flows/interceptor/InterceptFlowTest.java: C:\opt\jenkins\workspace\java-identity-provider-v5-multi\jdk\Oracle-17\label\Windows2022\idp-conf\src\test\java\net\shibboleth\idp\test\flows\interceptor\InterceptFlowTest.java uses unchecked or unsafe operations.
[INFO] /C:/opt/jenkins/workspace/java-identity-provider-v5-multi/jdk/Oracle-17/label/Windows2022/idp-conf/src/test/java/net/shibboleth/idp/test/flows/interceptor/InterceptFlowTest.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ idp-conf ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[ERROR] Tests run: 76, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 50.383 s <<< FAILURE! - in TestSuite
[ERROR] net.shibboleth.idp.test.flows.saml2.SAML2ECPSSOFlowTest.testSAML2ECPFlow Time elapsed: 0.433 s <<< FAILURE!
java.lang.AssertionError: expected [urn:oasis:names:tc:SAML:2.0:status:Success] but found [urn:oasis:names:tc:SAML:2.0:status:Requester]
at net.shibboleth.idp.test.flows.saml2.SAML2ECPSSOFlowTest.testSAML2ECPFlow(SAML2ECPSSOFlowTest.java:58)
[ERROR] net.shibboleth.idp.test.flows.saml2.SAML2POSTSimpleSignSSOFlowTest.testSAML2POSTSSOFlow Time elapsed: 0.289 s <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
at net.shibboleth.idp.test.flows.saml2.SAML2POSTSimpleSignSSOFlowTest.testSAML2POSTSSOFlow(SAML2POSTSimpleSignSSOFlowTest.java:60)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] SAML2ECPSSOFlowTest>AbstractTestNGSpringContextTests.run:154->testSAML2ECPFlow:58->AbstractSAML2FlowTest.validateResult:45->AbstractSAML2FlowTest.validateResult:58 expected [urn:oasis:names:tc:SAML:2.0:status:Success] but found [urn:oasis:names:tc:SAML:2.0:status:Requester]
[ERROR] SAML2POSTSimpleSignSSOFlowTest>AbstractTestNGSpringContextTests.run:154->testSAML2POSTSSOFlow:60->AbstractSAML2FlowTest.validateResult:45->AbstractSAML2FlowTest.validateResult:57->AbstractFlowTest.assertFlowExecutionResult:267 expected [true] but found [false]
[INFO]
[ERROR] Tests run: 76, Failures: 2, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Shibboleth IdP :: Installer
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Shibboleth IdP :: Distribution
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ---------------------< net.shibboleth.idp:idp-bom >---------------------
[INFO] Building Shibboleth IdP :: BOM 5.0.0-SNAPSHOT [26/28]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ idp-bom ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ idp-bom ---
[INFO] Downloading from apache.snapshots: https://repository.apache.org/snapshots/net/shibboleth/maven/enforcer/rules/maven-dist-enforcer/3.2.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shib-snapshot: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/maven/enforcer/rules/maven-dist-enforcer/3.2.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shib-snapshot: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/maven/enforcer/rules/maven-dist-enforcer/3.2.0-SNAPSHOT/maven-metadata.xml (1.0 kB at 35 kB/s)
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (banned-dependencies) @ idp-bom ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Shibboleth Identity Provider 5.0.0-SNAPSHOT:
[INFO]
[INFO] Shibboleth Identity Provider ....................... SUCCESS [ 0.784 s]
[INFO] Shibboleth IdP :: Core ............................. SUCCESS [ 2.617 s]
[INFO] Shibboleth IdP :: Configuration Schemas ............ SUCCESS [ 0.142 s]
[INFO] Shibboleth IdP :: Profile API ...................... SUCCESS [ 16.482 s]
[INFO] Shibboleth IdP :: Authentication API ............... SUCCESS [ 12.677 s]
[INFO] Shibboleth IdP :: Administrative Profile API ....... SUCCESS [ 13.175 s]
[INFO] Shibboleth IdP :: Session API ...................... SUCCESS [ 10.619 s]
[INFO] Shibboleth IdP :: SAML Profile API ................. SUCCESS [ 15.225 s]
[INFO] Shibboleth IdP :: CAS Protocol API ................. SUCCESS [ 10.780 s]
[INFO] Shibboleth IdP :: Consent API ...................... SUCCESS [ 0.329 s]
[INFO] Shibboleth IdP :: UI Support ....................... SUCCESS [ 13.870 s]
[INFO] Shibboleth IdP :: Testing .......................... SUCCESS [ 13.550 s]
[INFO] Shibboleth IdP :: Administrative Profile Implementation SUCCESS [ 14.137 s]
[INFO] Shibboleth IdP :: Authentication Implementation .... SUCCESS [ 39.509 s]
[INFO] Shibboleth IdP :: Session Implementation ........... SUCCESS [ 34.392 s]
[INFO] Shibboleth IdP :: SAML Profile Implementation ...... SUCCESS [ 23.294 s]
[INFO] Shibboleth IdP :: Profile Implementation ........... SUCCESS [ 16.700 s]
[INFO] Shibboleth IdP :: CAS Protocol Implementation ...... SUCCESS [ 20.910 s]
[INFO] Shibboleth IdP :: Consent Implementation ........... SUCCESS [ 15.178 s]
[INFO] Shibboleth IdP :: Spring Integration ............... SUCCESS [ 10.415 s]
[INFO] Shibboleth IdP :: System Configuration ............. SUCCESS [ 3.270 s]
[INFO] Shibboleth IdP :: WAR .............................. SUCCESS [ 0.424 s]
[INFO] Shibboleth IdP :: WAR distribution ................. SUCCESS [ 0.134 s]
[INFO] Shibboleth IdP :: Command Line ..................... SUCCESS [ 0.889 s]
[INFO] Shibboleth IdP :: Configuration Files .............. FAILURE [ 55.229 s]
[INFO] Shibboleth IdP :: Installer ........................ SKIPPED
[INFO] Shibboleth IdP :: Distribution ..................... SKIPPED
[INFO] Shibboleth IdP :: BOM .............................. SUCCESS [ 1.064 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:55 min
[INFO] Finished at: 2022-10-14T02:11:24Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project idp-conf: There are test failures.
[ERROR]
[ERROR] Please refer to C:\opt\jenkins\workspace\java-identity-provider-v5-multi\jdk\Oracle-17\label\Windows2022\idp-conf\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 :idp-conf
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
testng-results.xml was last modified before this build started. Ignoring it.
Saving reports...
Processing '/var/lib/jenkins/jobs/java-identity-provider-v5-multi/configurations/axis-jdk/Oracle-17/axis-label/Windows2022/builds/153/testng/testng-results-1.xml'
Processing '/var/lib/jenkins/jobs/java-identity-provider-v5-multi/configurations/axis-jdk/Oracle-17/axis-label/Windows2022/builds/153/testng/testng-results-10.xml'
Processing '/var/lib/jenkins/jobs/java-identity-provider-v5-multi/configurations/axis-jdk/Oracle-17/axis-label/Windows2022/builds/153/testng/testng-results-11.xml'
Processing '/var/lib/jenkins/jobs/java-identity-provider-v5-multi/configurations/axis-jdk/Oracle-17/axis-label/Windows2022/builds/153/testng/testng-results-12.xml'
Processing '/var/lib/jenkins/jobs/java-identity-provider-v5-multi/configurations/axis-jdk/Oracle-17/axis-label/Windows2022/builds/153/testng/testng-results-13.xml'
Processing '/var/lib/jenkins/jobs/java-identity-provider-v5-multi/configurations/axis-jdk/Oracle-17/axis-label/Windows2022/builds/153/testng/testng-results-14.xml'
Processing '/var/lib/jenkins/jobs/java-identity-provider-v5-multi/configurations/axis-jdk/Oracle-17/axis-label/Windows2022/builds/153/testng/testng-results-15.xml'
Processing '/var/lib/jenkins/jobs/java-identity-provider-v5-multi/configurations/axis-jdk/Oracle-17/axis-label/Windows2022/builds/153/testng/testng-results-16.xml'
Processing '/var/lib/jenkins/jobs/java-identity-provider-v5-multi/configurations/axis-jdk/Oracle-17/axis-label/Windows2022/builds/153/testng/testng-results-2.xml'
Processing '/var/lib/jenkins/jobs/java-identity-provider-v5-multi/configurations/axis-jdk/Oracle-17/axis-label/Windows2022/builds/153/testng/testng-results-3.xml'
Processing '/var/lib/jenkins/jobs/java-identity-provider-v5-multi/configurations/axis-jdk/Oracle-17/axis-label/Windows2022/builds/153/testng/testng-results-4.xml'
Processing '/var/lib/jenkins/jobs/java-identity-provider-v5-multi/configurations/axis-jdk/Oracle-17/axis-label/Windows2022/builds/153/testng/testng-results-5.xml'
Processing '/var/lib/jenkins/jobs/java-identity-provider-v5-multi/configurations/axis-jdk/Oracle-17/axis-label/Windows2022/builds/153/testng/testng-results-6.xml'
Processing '/var/lib/jenkins/jobs/java-identity-provider-v5-multi/configurations/axis-jdk/Oracle-17/axis-label/Windows2022/builds/153/testng/testng-results-7.xml'
Processing '/var/lib/jenkins/jobs/java-identity-provider-v5-multi/configurations/axis-jdk/Oracle-17/axis-label/Windows2022/builds/153/testng/testng-results-8.xml'
Processing '/var/lib/jenkins/jobs/java-identity-provider-v5-multi/configurations/axis-jdk/Oracle-17/axis-label/Windows2022/builds/153/testng/testng-results-9.xml'
Processing '/var/lib/jenkins/jobs/java-identity-provider-v5-multi/configurations/axis-jdk/Oracle-17/axis-label/Windows2022/builds/153/testng/testng-results.xml'
0.144823% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH
More information about the commits
mailing list