Started by an SCM change Running in Durability level: MAX_SURVIVABILITY [Pipeline] Start of Pipeline [Pipeline] node Running on appngbuild0 in /var/lib/jenkins/workspace/appNG_Authentication [Pipeline] { [Pipeline] tool [Pipeline] stage [Pipeline] { (git clone) [Pipeline] git No credentials specified Fetching changes from the remote Git repository > git rev-parse --is-inside-work-tree # timeout=10 > git config remote.origin.url git@github.com:appNG/appng-authentication.git # timeout=10 Fetching upstream changes from git@github.com:appNG/appng-authentication.git > git --version # timeout=10 > git fetch --tags --progress git@github.com:appNG/appng-authentication.git +refs/heads/*:refs/remotes/origin/* Checking out Revision a317a0c39faacb119d8d8c1a8ae7934809c4d789 (refs/remotes/origin/appng-authentication-1.12.x) Commit message: "AUTH-19 introduced successPageGroupwise" > git rev-parse refs/remotes/origin/appng-authentication-1.12.x^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/appng-authentication-1.12.x^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a317a0c39faacb119d8d8c1a8ae7934809c4d789 > git branch -a -v --no-abbrev # timeout=10 > git branch -D appng-authentication-1.12.x # timeout=10 > git checkout -b appng-authentication-1.12.x a317a0c39faacb119d8d8c1a8ae7934809c4d789 > git rev-list --no-walk b9b4d8e29d8e7da38a8dbd9a185d0e6e7df45307 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Maven Build) [Pipeline] sh + /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.5.0/bin/mvn clean deploy [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building appNG Authentication 1.12.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ appng-authentication --- [INFO] Deleting /var/lib/jenkins/workspace/appNG_Authentication/target [INFO] [INFO] --- appng-maven-plugin:1.19.1:generateApplicationConstants (applicationConstants) @ appng-authentication --- [INFO] generate application constants for [/var/lib/jenkins/workspace/appNG_Authentication/application-home/application.xml, org.appng.application.authentication.AuthenticationSettings, /var/lib/jenkins/workspace/appNG_Authentication/target/generated-sources/constants] [INFO] [INFO] --- appng-maven-plugin:1.19.1:generateMessageConstants (messageConstants) @ appng-authentication --- [INFO] generate message constants for [/var/lib/jenkins/workspace/appNG_Authentication/application-home/dictionary/authentication-messages.properties, org.appng.application.authentication.MessageConstants, /var/lib/jenkins/workspace/appNG_Authentication/target/generated-sources/constants] [INFO] [INFO] --- build-helper-maven-plugin:3.0.0:add-source (default) @ appng-authentication --- [INFO] Source directory: /var/lib/jenkins/workspace/appNG_Authentication/target/generated-sources/constants added. [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ appng-authentication --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/appNG_Authentication/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ appng-authentication --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 11 source files to /var/lib/jenkins/workspace/appNG_Authentication/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ appng-authentication --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ appng-authentication --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 9 source files to /var/lib/jenkins/workspace/appNG_Authentication/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M3:test (default-test) @ appng-authentication --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.appng.application.authentication.ntlm.NtlmLoginTest Aug 22, 2019 4:39:18 PM ch.sla.jdbcperflogger.Logger info INFO: Using config file jdbcperflogger-fallback.xml 2019-08-22 16:39:23,863 ERROR [main] org.appng.core.service.CoreService: No valid group membership found for user 'subject-2' [ERROR] Tests run: 4, Failures: 0, Errors: 1, Skipped: 2, Time elapsed: 6.992 s <<< FAILURE! - in org.appng.application.authentication.ntlm.NtlmLoginTest [ERROR] testNtmlLoginError(org.appng.application.authentication.ntlm.NtlmLoginTest) Time elapsed: 0.139 s <<< ERROR! org.appng.api.ProcessingException: error performing action 'login' of event 'form-ntlm', ID: 408583632 at org.appng.application.authentication.ntlm.NtlmLoginTest.doTest(NtlmLoginTest.java:64) at org.appng.application.authentication.ntlm.NtlmLoginTest.testNtmlLoginError(NtlmLoginTest.java:59) Caused by: java.lang.NullPointerException at org.appng.application.authentication.ntlm.NtlmLoginTest.doTest(NtlmLoginTest.java:64) at org.appng.application.authentication.ntlm.NtlmLoginTest.testNtmlLoginError(NtlmLoginTest.java:59) [INFO] Running org.appng.application.authentication.digest.DigestLoginTest 2019-08-22 16:39:26,319 ERROR [main] org.appng.core.security.DigestValidator: Encrypted part does not match. Encrypted part is 9A32FC1788921A5FDEF6C6AAC78D7AFA, but should be 8E352EFC7CB528B564822AD0CF9F6BF7 2019-08-22 16:39:26,319 ERROR [main] org.appng.core.security.DigestValidator: Digest validation failed. [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.387 s - in org.appng.application.authentication.digest.DigestLoginTest [INFO] Running org.appng.application.authentication.webform.LoginUserTest [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.044 s <<< FAILURE! - in org.appng.application.authentication.webform.LoginUserTest [ERROR] testLoginWrongPassword(org.appng.application.authentication.webform.LoginUserTest) Time elapsed: 0.128 s <<< ERROR! org.appng.api.ProcessingException: error performing action 'login' of event 'form-auth', ID: 1735552465 at org.appng.application.authentication.webform.LoginUserTest.testLoginWrongPassword(LoginUserTest.java:70) Caused by: java.lang.NullPointerException at org.appng.application.authentication.webform.LoginUserTest.testLoginWrongPassword(LoginUserTest.java:70) [INFO] Running org.appng.application.authentication.webform.LogoutUserTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.821 s - in org.appng.application.authentication.webform.LogoutUserTest [INFO] Running org.appng.application.authentication.webform.LoginFormTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.447 s - in org.appng.application.authentication.webform.LoginFormTest [INFO] Running org.appng.application.authentication.webform.PasswordResetTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.134 s - in org.appng.application.authentication.webform.PasswordResetTest [INFO] Running org.appng.application.authentication.BaseLoginTest [WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s - in org.appng.application.authentication.BaseLoginTest [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] NtlmLoginTest.testNtmlLoginError:59->doTest:64 » Processing error performing a... [ERROR] LoginUserTest.testLoginWrongPassword:70 » Processing error performing action '... [INFO] [ERROR] Tests run: 22, Failures: 0, Errors: 2, Skipped: 3 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 23.076 s [INFO] Finished at: 2019-08-22T16:39:35+02:00 [INFO] Final Memory: 48M/440M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project appng-authentication: There are test failures. [ERROR] [ERROR] Please refer to /var/lib/jenkins/workspace/appNG_Authentication/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 [Pipeline] } [Pipeline] // stage [Pipeline] } Terminated [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE