Build failed in Jenkins: java-idp-plugin-duo-v1-multi » JDK-17,Windows2016 #5
Shibboleth Jenkins
noreply at shibboleth.net
Sat Jan 29 03:41:34 UTC 2022
See <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-duo-v1-multi/jdk=JDK-17,label=Windows2016/5/display/redirect>
Changes:
------------------------------------------
[...truncated 10.32 KB...]
[INFO] Scanning for projects...
[INFO] Downloading from shib-snapshot: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/parent/11.2.2-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shib-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/parent/11.2.2-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shib-thirdparty-snapshots: https://build.shibboleth.net/maven/thirdparty-snapshots/net/shibboleth/parent/11.2.2-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shib-snapshots: https://build.shibboleth.net/maven/snapshots/net/shibboleth/parent/11.2.2-SNAPSHOT/maven-metadata.xml (603 B at 1.4 kB/s)
[INFO] Downloaded from shib-snapshot: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/parent/11.2.2-SNAPSHOT/maven-metadata.xml (603 B at 1.4 kB/s)
[INFO] Downloading from shib-thirdparty-snapshot: https://build.shibboleth.net/nexus/content/repositories/thirdparty-snapshots/net/shibboleth/parent/11.2.2-SNAPSHOT/maven-metadata.xml
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Shibboleth IdP :: Plugins :: Duo 2FA Login Flow [pom]
[INFO] Shibboleth IdP :: Plugins :: Duo 2FA Login Flow API [jar]
[INFO] Shibboleth IdP :: Plugins :: Duo 2FA Login Flow Impl [jar]
[INFO] Shibboleth IdP :: Plugins :: Duo 2FA Web SDK client implementation [jar]
[INFO] Shibboleth IdP :: Plugins :: Duo 2FA Nimbus client implementation [jar]
[INFO] Shibboleth IdP :: Plugins :: Duo 2FA Login Flow Nimbus Distribution [pom]
[INFO] Shibboleth IdP :: Plugins :: Duo 2FA Login Flow WebSDK Distribution [pom]
[INFO]
[INFO] -------< net.shibboleth.idp.plugin.authn:idp-plugin-duo-parent >--------
[INFO] Building Shibboleth IdP :: Plugins :: Duo 2FA Login Flow 1.1.2-SNAPSHOT [1/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ idp-plugin-duo-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ idp-plugin-duo-parent ---
[INFO]
[INFO] ---------< net.shibboleth.idp.plugin.authn:idp-plugin-duo-api >---------
[INFO] Building Shibboleth IdP :: Plugins :: Duo 2FA Login Flow API 1.1.2-SNAPSHOT [2/7]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ idp-plugin-duo-api ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ idp-plugin-duo-api ---
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ idp-plugin-duo-api ---
[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-idp-plugin-duo-v1-multi\jdk\JDK-17\label\Windows2016\idp-duo-api\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ idp-plugin-duo-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 23 source files to C:\opt\jenkins\workspace\java-idp-plugin-duo-v1-multi\jdk\JDK-17\label\Windows2016\idp-duo-api\target\classes
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ idp-plugin-duo-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.8.1:testCompile (default-testCompile) @ idp-plugin-duo-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to C:\opt\jenkins\workspace\java-idp-plugin-duo-v1-multi\jdk\JDK-17\label\Windows2016\idp-duo-api\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ idp-plugin-duo-api ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running net.shibboleth.idp.plugin.authn.duo.DefaultDuoOIDCIntegrationTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.601 s - in net.shibboleth.idp.plugin.authn.duo.DefaultDuoOIDCIntegrationTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --------< net.shibboleth.idp.plugin.authn:idp-plugin-duo-impl >---------
[INFO] Building Shibboleth IdP :: Plugins :: Duo 2FA Login Flow Impl 1.1.2-SNAPSHOT [3/7]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ idp-plugin-duo-impl ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ idp-plugin-duo-impl ---
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ idp-plugin-duo-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ idp-plugin-duo-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 17 source files to C:\opt\jenkins\workspace\java-idp-plugin-duo-v1-multi\jdk\JDK-17\label\Windows2016\idp-duo-impl\target\classes
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ idp-plugin-duo-impl ---
[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.8.1:testCompile (default-testCompile) @ idp-plugin-duo-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 36 source files to C:\opt\jenkins\workspace\java-idp-plugin-duo-v1-multi\jdk\JDK-17\label\Windows2016\idp-duo-impl\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ idp-plugin-duo-impl ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[ERROR] Tests run: 79, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 14.317 s <<< FAILURE! - in TestSuite
[ERROR] net.shibboleth.idp.plugin.authn.duo.impl.DuoAuthnFlowTest.testContextToPrincipalMappingStrategy on testContextToPrincipalMappingStrategy(net.shibboleth.idp.plugin.authn.duo.impl.DuoAuthnFlowTest) Time elapsed: 0.679 s <<< FAILURE!
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.authn.DuoOIDC.ContextToPrincipalMappingStrategy' defined in class path resource [conf/authn/duo-oidc-authn-config-principal-mapping.xml]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.shibboleth.idp.profile.context.navigate.ScriptedContextLookupFunction]: Factory method 'inlineScript' threw exception; nested exception is net.shibboleth.utilities.java.support.logic.ConstraintViolationException: No scripting engine associated with scripting language JavaScript
at net.shibboleth.idp.plugin.authn.duo.impl.DuoAuthnFlowTest.testContextToPrincipalMappingStrategy(DuoAuthnFlowTest.java:316)
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.shibboleth.idp.profile.context.navigate.ScriptedContextLookupFunction]: Factory method 'inlineScript' threw exception; nested exception is net.shibboleth.utilities.java.support.logic.ConstraintViolationException: No scripting engine associated with scripting language JavaScript
at net.shibboleth.idp.plugin.authn.duo.impl.DuoAuthnFlowTest.testContextToPrincipalMappingStrategy(DuoAuthnFlowTest.java:316)
Caused by: net.shibboleth.utilities.java.support.logic.ConstraintViolationException: No scripting engine associated with scripting language JavaScript
at net.shibboleth.idp.plugin.authn.duo.impl.DuoAuthnFlowTest.testContextToPrincipalMappingStrategy(DuoAuthnFlowTest.java:316)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] DuoAuthnFlowTest.testContextToPrincipalMappingStrategy:316->AbstractExternalizedFlowExecutionTests.getFlowDefinition:147->AbstractExternalizedFlowExecutionTests.buildFlow:174 » BeanCreation
[INFO]
[ERROR] Tests run: 79, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] ---< net.shibboleth.idp.plugin.authn:idp-plugin-duo-sdk-client-impl >---
[INFO] Building Shibboleth IdP :: Plugins :: Duo 2FA Web SDK client implementation 1.1.2-SNAPSHOT [4/7]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ idp-plugin-duo-sdk-client-impl ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ idp-plugin-duo-sdk-client-impl ---
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ idp-plugin-duo-sdk-client-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 8 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ idp-plugin-duo-sdk-client-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 6 source files to C:\opt\jenkins\workspace\java-idp-plugin-duo-v1-multi\jdk\JDK-17\label\Windows2016\idp-duo-sdk-client-impl\target\classes
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ idp-plugin-duo-sdk-client-impl ---
[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-idp-plugin-duo-v1-multi\jdk\JDK-17\label\Windows2016\idp-duo-sdk-client-impl\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ idp-plugin-duo-sdk-client-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to C:\opt\jenkins\workspace\java-idp-plugin-duo-v1-multi\jdk\JDK-17\label\Windows2016\idp-duo-sdk-client-impl\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ idp-plugin-duo-sdk-client-impl ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running net.shibboleth.idp.plugin.authn.duo.sdk.impl.DuoSDKClientFactoryTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.166 s - in net.shibboleth.idp.plugin.authn.duo.sdk.impl.DuoSDKClientFactoryTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --< net.shibboleth.idp.plugin.authn:idp-plugin-duo-nimbus-client-impl >--
[INFO] Building Shibboleth IdP :: Plugins :: Duo 2FA Nimbus client implementation 1.1.2-SNAPSHOT [5/7]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ idp-plugin-duo-nimbus-client-impl ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ idp-plugin-duo-nimbus-client-impl ---
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ idp-plugin-duo-nimbus-client-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 17 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ idp-plugin-duo-nimbus-client-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 9 source files to C:\opt\jenkins\workspace\java-idp-plugin-duo-v1-multi\jdk\JDK-17\label\Windows2016\idp-duo-nimbus-client-impl\target\classes
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ idp-plugin-duo-nimbus-client-impl ---
[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-idp-plugin-duo-v1-multi\jdk\JDK-17\label\Windows2016\idp-duo-nimbus-client-impl\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ idp-plugin-duo-nimbus-client-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to C:\opt\jenkins\workspace\java-idp-plugin-duo-v1-multi\jdk\JDK-17\label\Windows2016\idp-duo-nimbus-client-impl\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ idp-plugin-duo-nimbus-client-impl ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.972 s - in TestSuite
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] -----< net.shibboleth.idp.plugin.authn:idp-plugin-duo-nimbus-dist >-----
[INFO] Building Shibboleth IdP :: Plugins :: Duo 2FA Login Flow Nimbus Distribution 1.1.2-SNAPSHOT [6/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ idp-plugin-duo-nimbus-dist ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ idp-plugin-duo-nimbus-dist ---
[INFO] Downloading from apache.snapshots: https://repository.apache.org/snapshots/net/shibboleth/maven/enforcer/rules/maven-dist-enforcer/3.1.1-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.1.1-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.1.1-SNAPSHOT/maven-metadata.xml (804 B at 10 kB/s)
[INFO]
[INFO] ------< net.shibboleth.idp.plugin.authn:idp-plugin-duo-sdk-dist >-------
[INFO] Building Shibboleth IdP :: Plugins :: Duo 2FA Login Flow WebSDK Distribution 1.1.2-SNAPSHOT [7/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ idp-plugin-duo-sdk-dist ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ idp-plugin-duo-sdk-dist ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Shibboleth IdP :: Plugins :: Duo 2FA Login Flow 1.1.2-SNAPSHOT:
[INFO]
[INFO] Shibboleth IdP :: Plugins :: Duo 2FA Login Flow .... SUCCESS [ 0.666 s]
[INFO] Shibboleth IdP :: Plugins :: Duo 2FA Login Flow API SUCCESS [ 13.063 s]
[INFO] Shibboleth IdP :: Plugins :: Duo 2FA Login Flow Impl FAILURE [ 18.683 s]
[INFO] Shibboleth IdP :: Plugins :: Duo 2FA Web SDK client implementation SUCCESS [ 11.982 s]
[INFO] Shibboleth IdP :: Plugins :: Duo 2FA Nimbus client implementation SUCCESS [ 11.870 s]
[INFO] Shibboleth IdP :: Plugins :: Duo 2FA Login Flow Nimbus Distribution SUCCESS [ 0.479 s]
[INFO] Shibboleth IdP :: Plugins :: Duo 2FA Login Flow WebSDK Distribution SUCCESS [ 0.007 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:05 min
[INFO] Finished at: 2022-01-29T03:41:34Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project idp-plugin-duo-impl: There are test failures.
[ERROR]
[ERROR] Please refer to C:\opt\jenkins\workspace\java-idp-plugin-duo-v1-multi\jdk\JDK-17\label\Windows2016\idp-duo-impl\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-plugin-duo-impl
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-idp-plugin-duo-v1-multi/configurations/axis-jdk/JDK-17/axis-label/Windows2016/builds/5/testng/testng-results-1.xml'
Processing '/var/lib/jenkins/jobs/java-idp-plugin-duo-v1-multi/configurations/axis-jdk/JDK-17/axis-label/Windows2016/builds/5/testng/testng-results-2.xml'
Processing '/var/lib/jenkins/jobs/java-idp-plugin-duo-v1-multi/configurations/axis-jdk/JDK-17/axis-label/Windows2016/builds/5/testng/testng-results.xml'
TestNG Reports Processing: FINISH
More information about the commits
mailing list