Console Output
+ /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
Terminated