Started by user Matthias Mueller Running as Matthias Mueller 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 25bd150f66fa39c215f03bf719474d823ae2242e (refs/remotes/origin/appng-authentication-1.13.x) Commit message: "AUTH-25" > git rev-parse refs/remotes/origin/appng-authentication-1.13.x^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/appng-authentication-1.13.x^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 25bd150f66fa39c215f03bf719474d823ae2242e > git branch -a -v --no-abbrev # timeout=10 > git branch -D appng-authentication-1.13.x # timeout=10 > git checkout -b appng-authentication-1.13.x 25bd150f66fa39c215f03bf719474d823ae2242e > git rev-list --no-walk 3f172de83465e3a8af89d34329d2d9a64f2d5c95 # 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.13.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.21.0-SNAPSHOT: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.21.0-SNAPSHOT: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 12 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 6 resources [INFO] [INFO] --- maven-compiler-plugin:3.3: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] [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 Feb 03, 2020 4:06:57 PM ch.sla.jdbcperflogger.Logger info INFO: Using config file jdbcperflogger-fallback.xml 2020-02-03 16:07:03,412 ERROR [main] org.appng.core.service.CoreService: No valid group membership found for user 'subject-2' [WARNING] Tests run: 4, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 8.547 s - in org.appng.application.authentication.ntlm.NtlmLoginTest [INFO] Running org.appng.application.authentication.digest.DigestLoginTest 2020-02-03 16:07:06,346 ERROR [main] org.appng.core.security.DigestValidator: Encrypted part does not match. Encrypted part is 83DE28694B8CC50A6DEF9AAAB1DFE1E0, but should be 8186323A6C3E215E8B7056BD1A3A4FCF 2020-02-03 16:07:06,346 ERROR [main] org.appng.core.security.DigestValidator: Digest validation failed. [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.869 s - in org.appng.application.authentication.digest.DigestLoginTest [INFO] Running org.appng.application.authentication.webform.PasswordChangeTest 2020-02-03 16:07:10,438 ERROR [main] org.appng.application.authentication.webform.PasswordChange: error while changing password: org.appng.api.BusinessException: Passwords are not equal. at org.appng.core.service.CoreService.updatePassword(CoreService.java:1749) at org.appng.core.service.CoreService$$FastClassBySpringCGLIB$$4bccbf8c.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736) 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:671) at org.appng.core.service.CoreService$$EnhancerBySpringCGLIB$$a1bac8cd.updatePassword() at org.appng.application.authentication.webform.PasswordChange.perform(PasswordChange.java:94) at org.appng.application.authentication.webform.PasswordChange.perform(PasswordChange.java:53) at org.appng.api.support.CallableAction.execute(CallableAction.java:427) at org.appng.api.support.CallableAction.perform(CallableAction.java:325) at org.appng.api.support.CallableAction.perform(CallableAction.java:299) at org.appng.application.authentication.webform.PasswordChangeTest.testChangePasswordNoMatch(PasswordChangeTest.java:89) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.484 s - in org.appng.application.authentication.webform.PasswordChangeTest [INFO] Running org.appng.application.authentication.webform.EditProfileTest [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.281 s <<< FAILURE! - in org.appng.application.authentication.webform.EditProfileTest [ERROR] testEditProfile(org.appng.application.authentication.webform.EditProfileTest) Time elapsed: 0.359 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value 'true' but was 'false' - comparing