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 Cloning the remote Git repository Cloning repository git@github.com:appNG/appng-authentication.git > git init /var/lib/jenkins/workspace/appNG_Authentication # 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/* > git config remote.origin.url git@github.com:appNG/appng-authentication.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 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 fetch --tags --progress git@github.com:appNG/appng-authentication.git +refs/heads/*:refs/remotes/origin/* Checking out Revision b01174dc306ebf3bf4cc9d4bf541694660ffd1c2 (refs/remotes/origin/appng-authentication-1.13.x) Commit message: "AUTH-25" First time build. Skipping changelog. [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 > 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 b01174dc306ebf3bf4cc9d4bf541694660ffd1c2 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b appng-authentication-1.13.x b01174dc306ebf3bf4cc9d4bf541694660ffd1c2 [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building appNG Authentication 1.13.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-tools/1.21.0-SNAPSHOT/appng-tools-1.21.0-20200203.140235-24.pom Progress (1): 2.0 kB Downloaded: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-tools/1.21.0-SNAPSHOT/appng-tools-1.21.0-20200203.140235-24.pom (2.0 kB at 4.4 kB/s) Downloading: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-testsupport/1.21.0-SNAPSHOT/appng-testsupport-1.21.0-20200203.140306-24.pom Progress (1): 2.2 kB Downloaded: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-testsupport/1.21.0-SNAPSHOT/appng-testsupport-1.21.0-20200203.140306-24.pom (2.2 kB at 85 kB/s) Downloading: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-testsupport/1.21.0-SNAPSHOT/appng-testsupport-1.21.0-20200203.140306-24.jar Progress (1): 696 B Progress (1): 1.2 kB Progress (1): 1.7 kB Progress (1): 2.3 kB Progress (1): 2.9 kB Progress (1): 3.4 kB Progress (1): 4.0 kB Progress (1): 4.5 kB Progress (1): 5.1 kB Progress (1): 5.6 kB Progress (1): 6.1 kB Progress (1): 6.6 kB Progress (1): 7.1 kB Progress (1): 7.6 kB Progress (1): 8.2 kB Progress (1): 8.6 kB Progress (1): 9.2 kB Progress (1): 9.8 kB Progress (1): 10 kB Progress (1): 11 kB Progress (1): 11 kB Progress (1): 12 kB Progress (1): 12 kB Progress (1): 13 kB Progress (1): 14 kB Progress (1): 14 kB Progress (1): 15 kB Progress (1): 15 kB Progress (1): 16 kB Progress (1): 16 kB Progress (1): 17 kB Progress (1): 17 kB Progress (1): 18 kB Progress (1): 18 kB Progress (1): 19 kB Progress (1): 19 kB Progress (1): 20 kB Progress (1): 20 kB Progress (1): 21 kB Progress (1): 21 kB Progress (1): 22 kB Progress (1): 22 kB Progress (1): 23 kB Progress (1): 23 kB Progress (1): 24 kB Progress (1): 24 kB Progress (1): 25 kB Progress (1): 25 kB Progress (1): 26 kB Progress (1): 26 kB Progress (1): 27 kB Progress (1): 27 kB Progress (1): 28 kB Progress (1): 28 kB Progress (1): 29 kB Progress (1): 29 kB Progress (1): 30 kB Progress (1): 30 kB Progress (1): 31 kB Progress (1): 31 kB Progress (1): 32 kB Progress (1): 32 kB Progress (1): 33 kB Progress (1): 33 kB Progress (1): 34 kB Progress (1): 34 kB Progress (1): 35 kB Progress (1): 35 kB Progress (1): 36 kB Progress (1): 36 kB Progress (1): 37 kB Progress (1): 37 kB Progress (1): 38 kB Progress (1): 38 kB Progress (1): 39 kB Progress (1): 39 kB Progress (1): 40 kB Progress (1): 41 kB Progress (1): 41 kB Progress (1): 42 kB Progress (1): 42 kB Progress (1): 43 kB Progress (1): 43 kB Progress (1): 44 kB Progress (1): 44 kB Progress (1): 45 kB Progress (1): 45 kB Progress (1): 46 kB Progress (1): 46 kB Progress (1): 47 kB Progress (1): 47 kB Progress (1): 48 kB Progress (1): 48 kB Progress (1): 49 kB Progress (1): 49 kB Progress (1): 50 kB Progress (1): 51 kB Progress (1): 51 kB Progress (1): 51 kB Progress (1): 52 kB Progress (1): 53 kB Progress (1): 53 kB Progress (1): 54 kB Progress (1): 54 kB Progress (1): 55 kB Progress (1): 55 kB Progress (1): 56 kB Progress (1): 56 kB Progress (1): 57 kB Progress (1): 59 kB Progress (1): 61 kB Downloaded: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-testsupport/1.21.0-SNAPSHOT/appng-testsupport-1.21.0-20200203.140306-24.jar (61 kB at 1.1 MB/s) [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ appng-authentication --- [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 3:31:07 PM ch.sla.jdbcperflogger.Logger info INFO: Using config file jdbcperflogger-fallback.xml 2020-02-03 15:31:13,066 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.317 s - in org.appng.application.authentication.ntlm.NtlmLoginTest [INFO] Running org.appng.application.authentication.digest.DigestLoginTest 2020-02-03 15:31:18,043 ERROR [main] org.appng.core.security.DigestValidator: Encrypted part does not match. Encrypted part is DDDE689DD824CAEA25E034F18B8AE1DC, but should be DFE8B98A624C12286891B6B3458FB9B9 2020-02-03 15:31:18,043 ERROR [main] org.appng.core.security.DigestValidator: Digest validation failed. [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.73 s - in org.appng.application.authentication.digest.DigestLoginTest [INFO] Running org.appng.application.authentication.webform.PasswordChangeTest 2020-02-03 15:31:21,904 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: 9.29 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: 2.489 s <<< FAILURE! - in org.appng.application.authentication.webform.EditProfileTest [ERROR] testEditProfile(org.appng.application.authentication.webform.EditProfileTest) Time elapsed: 0.376 s <<< FAILURE! junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value 'Fort Wayne' but was 'Fort Nelson' - comparing