Skip to content

Console Output

+ /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/mvn clean deploy
[INFO] Scanning for projects...
[INFO] 
[INFO] -------------------< org.appng:appng-authentication >-------------------
[INFO] Building appNG Authentication 1.14.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[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.24.5: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.24.5: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.10.1:compile (default-compile) @ appng-authentication ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 14 source files to /var/lib/jenkins/workspace/appNG_Authentication/target/classes
[INFO] /var/lib/jenkins/workspace/appNG_Authentication/src/main/java/org/appng/application/authentication/webform/PasswordReset.java: /var/lib/jenkins/workspace/appNG_Authentication/src/main/java/org/appng/application/authentication/webform/PasswordReset.java uses or overrides a deprecated API.
[INFO] /var/lib/jenkins/workspace/appNG_Authentication/src/main/java/org/appng/application/authentication/webform/PasswordReset.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ appng-authentication ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ appng-authentication ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 11 source files to /var/lib/jenkins/workspace/appNG_Authentication/target/test-classes
[INFO] /var/lib/jenkins/workspace/appNG_Authentication/src/test/java/org/appng/application/authentication/webform/PasswordResetTest.java: /var/lib/jenkins/workspace/appNG_Authentication/src/test/java/org/appng/application/authentication/webform/PasswordResetTest.java uses or overrides a deprecated API.
[INFO] /var/lib/jenkins/workspace/appNG_Authentication/src/test/java/org/appng/application/authentication/webform/PasswordResetTest.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M7:test (default-test) @ appng-authentication ---
[INFO] Using auto detected provider org.apache.maven.surefire.junit4.JUnit4Provider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.appng.application.authentication.digest.DigestLoginTest
Jan 25, 2023 2:02:38 PM ch.sla.jdbcperflogger.Logger info
INFO: Using config file jdbcperflogger-fallback.xml
2023-01-25 14:02:42,398 ERROR [main] org.appng.core.security.DigestValidator: Encrypted part does not match. Encrypted part is 38A154DBBECA2C2F54B0A2F93E09E6E2, but should be 4DF0EF590C724C48636F411372D16F2E
2023-01-25 14:02:42,398 ERROR [main] org.appng.core.security.DigestValidator: Digest validation failed.
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.882 s - in org.appng.application.authentication.digest.DigestLoginTest
[INFO] Running org.appng.application.authentication.ntlm.NtlmLoginTest
[ERROR] Tests run: 4, Failures: 0, Errors: 2, Skipped: 2, Time elapsed: 2.562 s <<< FAILURE! - in org.appng.application.authentication.ntlm.NtlmLoginTest
[ERROR] org.appng.application.authentication.ntlm.NtlmLoginTest.testNtmlLoginOk  Time elapsed: 0.189 s  <<< ERROR!
org.appng.api.ProcessingException: error performing action 'login' of event 'form-ntlm', ID: 81524994
	at org.appng.api.support.CallableAction.execute(CallableAction.java:457)
	at org.appng.api.support.CallableAction.perform(CallableAction.java:337)
	at org.appng.api.support.CallableAction.perform(CallableAction.java:309)
	at org.appng.application.authentication.ntlm.NtlmLoginTest.doTest(NtlmLoginTest.java:64)
	at org.appng.application.authentication.ntlm.NtlmLoginTest.testNtmlLoginOk(NtlmLoginTest.java:49)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
	at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
	at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
	at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:377)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:284)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:248)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:167)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)
Caused by: java.lang.NullPointerException: Cannot invoke "java.security.Principal.getName()" because "principal" is null
	at org.appng.core.service.CoreService.login(CoreService.java:529)
	at org.appng.core.service.CoreService$$FastClassBySpringCGLIB$$4bccbf8c.invoke(<generated>)
	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
	at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283)
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672)
	at org.appng.core.service.CoreService$$EnhancerBySpringCGLIB$$43e421b7.login(<generated>)
	at org.appng.application.authentication.ntlm.NtlmLogin.perform(NtlmLogin.java:53)
	at org.appng.application.authentication.ntlm.NtlmLogin.perform(NtlmLogin.java:41)
	at org.appng.api.support.CallableAction.execute(CallableAction.java:439)
	... 37 more

[ERROR] org.appng.application.authentication.ntlm.NtlmLoginTest.testNtmlLoginError  Time elapsed: 0.123 s  <<< ERROR!
org.appng.api.ProcessingException: error performing action 'login' of event 'form-ntlm', ID: 990361350
	at org.appng.api.support.CallableAction.execute(CallableAction.java:457)
	at org.appng.api.support.CallableAction.perform(CallableAction.java:337)
	at org.appng.api.support.CallableAction.perform(CallableAction.java:309)
	at org.appng.application.authentication.ntlm.NtlmLoginTest.doTest(NtlmLoginTest.java:64)
	at org.appng.application.authentication.ntlm.NtlmLoginTest.testNtmlLoginError(NtlmLoginTest.java:59)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
	at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
	at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
	at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:377)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:284)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:248)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:167)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)
Caused by: java.lang.NullPointerException: Cannot invoke "java.security.Principal.getName()" because "principal" is null
	at org.appng.core.service.CoreService.login(CoreService.java:529)
	at org.appng.core.service.CoreService$$FastClassBySpringCGLIB$$4bccbf8c.invoke(<generated>)
	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
	at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283)
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672)
	at org.appng.core.service.CoreService$$EnhancerBySpringCGLIB$$43e421b7.login(<generated>)
	at org.appng.application.authentication.ntlm.NtlmLogin.perform(NtlmLogin.java:53)
	at org.appng.application.authentication.ntlm.NtlmLogin.perform(NtlmLogin.java:41)
	at org.appng.api.support.CallableAction.execute(CallableAction.java:439)
	... 37 more

[INFO] Running org.appng.application.authentication.webform.LogoutUserTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.159 s - in org.appng.application.authentication.webform.LogoutUserTest
[INFO] Running org.appng.application.authentication.webform.LoginFormTest
[ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 11.397 s <<< FAILURE! - in org.appng.application.authentication.webform.LoginFormTest
[ERROR] org.appng.application.authentication.webform.LoginFormTest.testSiteDefault  Time elapsed: 0.542 s  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[de]> but was:<[en]>
	at org.junit.Assert.assertEquals(Assert.java:117)
	at org.junit.Assert.assertEquals(Assert.java:146)
	at org.appng.application.authentication.webform.LoginFormTest.testSiteDefault(LoginFormTest.java:92)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
	at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
	at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
	at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:377)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:284)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:248)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:167)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)

[INFO] Running org.appng.application.authentication.webform.EditProfileTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.281 s - in org.appng.application.authentication.webform.EditProfileTest
[INFO] Running org.appng.application.authentication.webform.PasswordChangeTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.447 s - in org.appng.application.authentication.webform.PasswordChangeTest
[INFO] Running org.appng.application.authentication.webform.PasswordResetTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.37 s - in org.appng.application.authentication.webform.PasswordResetTest
[INFO] Running org.appng.application.authentication.webform.LoginUserTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.214 s - in org.appng.application.authentication.webform.LoginUserTest
[INFO] Running org.appng.application.authentication.BaseLoginTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 s - in org.appng.application.authentication.BaseLoginTest
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   LoginFormTest.testSiteDefault:92 expected:<[de]> but was:<[en]>
[ERROR] Errors: 
[ERROR]   NtlmLoginTest.testNtmlLoginError:59->doTest:64 » Processing error performing action 'login' of event 'form-ntlm', ID: 990361350
[ERROR]   NtlmLoginTest.testNtmlLoginOk:49->doTest:64 » Processing error performing action 'login' of event 'form-ntlm', ID: 81524994
[INFO] 
[ERROR] Tests run: 28, Failures: 1, Errors: 2, Skipped: 3
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  43.370 s
[INFO] Finished at: 2023-01-25T14:03:11+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7: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