Started by user unknown or anonymous Running as anonymous [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/ATS [Pipeline] { [Pipeline] tool [Pipeline] stage [Pipeline] { (git clone) [Pipeline] git Selected Git installation does not exist. Using Default The recommended git tool is: NONE No credentials specified > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/ATS/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:appNG/appng-tomcat-session.git # timeout=10 Fetching upstream changes from git@github.com:appNG/appng-tomcat-session.git > git --version # timeout=10 > git --version # 'git version 2.30.2' > git fetch --tags --force --progress -- git@github.com:appNG/appng-tomcat-session.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 7576fb4b9203b70fd3767e25e42f892cb1bd44a6 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 7576fb4b9203b70fd3767e25e42f892cb1bd44a6 # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git branch -D master # timeout=10 > git checkout -b master 7576fb4b9203b70fd3767e25e42f892cb1bd44a6 # timeout=10 Commit message: "ATS-31" > git rev-list --no-walk 7576fb4b9203b70fd3767e25e42f892cb1bd44a6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Maven Build) [Pipeline] sh + /usr/share/maven//bin/mvn clean deploy [[1;34mINFO[m] Scanning for projects... [[1;33mWARNING[m] [[1;33mWARNING[m] Some problems were encountered while building the effective model for org.appng:appng-tomcat-session:jar:0.3.0-SNAPSHOT [[1;33mWARNING[m] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 11, column 12 [[1;33mWARNING[m] [[1;33mWARNING[m] It is highly recommended to fix these problems because they threaten the stability of your build. [[1;33mWARNING[m] [[1;33mWARNING[m] For this reason, future Maven versions might no longer support building such malformed projects. [[1;33mWARNING[m] [[1;34mINFO[m] [[1;34mINFO[m] [1m-------------------< [0;36morg.appng:appng-tomcat-session[0;1m >-------------------[m [[1;34mINFO[m] [1mBuilding appng-tomcat-session 0.3.0-SNAPSHOT[m [[1;34mINFO[m] [1m--------------------------------[ jar ]---------------------------------[m [[1;34mINFO[m] [[1;34mINFO[m] [1m--- [0;32mmaven-clean-plugin:2.5:clean[m [1m(default-clean)[m @ [36mappng-tomcat-session[0;1m ---[m [[1;34mINFO[m] [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:2.6:resources[m [1m(default-resources)[m @ [36mappng-tomcat-session[0;1m ---[m [[1;33mWARNING[m] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [[1;34mINFO[m] skip non existing resourceDirectory /var/lib/jenkins/workspace/ATS/src/main/resources [[1;34mINFO[m] [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:compile[m [1m(default-compile)[m @ [36mappng-tomcat-session[0;1m ---[m [[1;34mINFO[m] Changes detected - recompiling the module! [[1;33mWARNING[m] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [[1;34mINFO[m] Compiling 19 source files to /var/lib/jenkins/workspace/ATS/target/classes [[1;34mINFO[m] /var/lib/jenkins/workspace/ATS/src/main/java/org/appng/tomcat/session/jdbc/SiteAwareJdbcStore.java: Some input files use or override a deprecated API. [[1;34mINFO[m] /var/lib/jenkins/workspace/ATS/src/main/java/org/appng/tomcat/session/jdbc/SiteAwareJdbcStore.java: Recompile with -Xlint:deprecation for details. [[1;34mINFO[m] [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:2.6:testResources[m [1m(default-testResources)[m @ [36mappng-tomcat-session[0;1m ---[m [[1;33mWARNING[m] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [[1;34mINFO[m] Copying 4 resources [[1;34mINFO[m] [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:testCompile[m [1m(default-testCompile)[m @ [36mappng-tomcat-session[0;1m ---[m [[1;34mINFO[m] Changes detected - recompiling the module! [[1;33mWARNING[m] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [[1;34mINFO[m] Compiling 5 source files to /var/lib/jenkins/workspace/ATS/target/test-classes [[1;34mINFO[m] [[1;34mINFO[m] [1m--- [0;32mmaven-surefire-plugin:2.12.4:test[m [1m(default-test)[m @ [36mappng-tomcat-session[0;1m ---[m [[1;34mINFO[m] Surefire report directory: /var/lib/jenkins/workspace/ATS/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.appng.tomcat.session.UtilsTest 2022-04-22 17:13:42,323 INFO [main] o.a.t.s.UtilsTest : java.lang.Object@7e2d773b 2022-04-22 17:13:42,330 INFO [main] o.a.t.s.UtilsTest : testLogString 2022-04-22 17:13:42,339 INFO [main] o.a.t.s.UtilsTest : testLogStringWithException java.lang.IllegalArgumentException: BOOOM! at org.appng.tomcat.session.UtilsTest.testLogStringWithException(UtilsTest.java:77) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) 2022-04-22 17:13:43,060 DEBUG [main] o.a.a.s.e.DefaultEnvironment : enabling scope PLATFORM 2022-04-22 17:13:43,061 DEBUG [main] o.a.a.s.e.DefaultEnvironment : disabling scope REQUEST 2022-04-22 17:13:43,063 DEBUG [main] o.a.a.s.e.DefaultEnvironment : scope SESSION is not available 2022-04-22 17:13:43,092 INFO [main] o.a.t.s.UtilsTest : java.lang.IllegalArgumentException: BOOOM! at org.appng.tomcat.session.UtilsTest.testLogNullWithException(UtilsTest.java:87) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) 2022-04-22 17:13:43,102 INFO [main] o.a.t.s.UtilsTest : java.lang.Object@1460a8c0 java.lang.IllegalArgumentException: BOOOM! at org.appng.tomcat.session.UtilsTest.testLogObjectWithException(UtilsTest.java:82) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.494 sec Results : Tests run: 7, Failures: 0, Errors: 0, Skipped: 0 [[1;34mINFO[m] [[1;34mINFO[m] [1m--- [0;32mmaven-jar-plugin:2.4:jar[m [1m(default-jar)[m @ [36mappng-tomcat-session[0;1m ---[m [[1;34mINFO[m] Building jar: /var/lib/jenkins/workspace/ATS/target/appng-tomcat-session-0.3.0-SNAPSHOT.jar [[1;34mINFO[m] [[1;34mINFO[m] [1m--- [0;32mmaven-source-plugin:3.0.1:jar-no-fork[m [1m(default)[m @ [36mappng-tomcat-session[0;1m ---[m [[1;34mINFO[m] Building jar: /var/lib/jenkins/workspace/ATS/target/appng-tomcat-session-0.3.0-SNAPSHOT-sources.jar [[1;34mINFO[m] [[1;34mINFO[m] [1m--- [0;32mmaven-install-plugin:2.4:install[m [1m(default-install)[m @ [36mappng-tomcat-session[0;1m ---[m [[1;34mINFO[m] Installing /var/lib/jenkins/workspace/ATS/target/appng-tomcat-session-0.3.0-SNAPSHOT.jar to /var/lib/jenkins/.m2/repository/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/appng-tomcat-session-0.3.0-SNAPSHOT.jar [[1;34mINFO[m] Installing /var/lib/jenkins/workspace/ATS/pom.xml to /var/lib/jenkins/.m2/repository/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/appng-tomcat-session-0.3.0-SNAPSHOT.pom [[1;34mINFO[m] Installing /var/lib/jenkins/workspace/ATS/target/appng-tomcat-session-0.3.0-SNAPSHOT-sources.jar to /var/lib/jenkins/.m2/repository/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/appng-tomcat-session-0.3.0-SNAPSHOT-sources.jar [[1;34mINFO[m] [[1;34mINFO[m] [1m--- [0;32mmaven-deploy-plugin:2.7:deploy[m [1m(default-deploy)[m @ [36mappng-tomcat-session[0;1m ---[m Downloading from appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/maven-metadata.xml Progress (1): 997 B Downloaded from appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/maven-metadata.xml (997 B at 793 B/s) Uploading to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/appng-tomcat-session-0.3.0-20220422.151347-19.jar Progress (1): 4.1/67 kB Progress (1): 8.2/67 kB Progress (1): 12/67 kB Progress (1): 16/67 kB Progress (1): 20/67 kB Progress (1): 25/67 kB Progress (1): 29/67 kB Progress (1): 33/67 kB Progress (1): 37/67 kB Progress (1): 41/67 kB Progress (1): 45/67 kB Progress (1): 49/67 kB Progress (1): 53/67 kB Progress (1): 57/67 kB Progress (1): 61/67 kB Progress (1): 66/67 kB Progress (1): 67 kB Uploaded to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/appng-tomcat-session-0.3.0-20220422.151347-19.jar (67 kB at 99 kB/s) Uploading to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/appng-tomcat-session-0.3.0-20220422.151347-19.pom Progress (1): 4.1/6.2 kB Progress (1): 6.2 kB Uploaded to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/appng-tomcat-session-0.3.0-20220422.151347-19.pom (6.2 kB at 17 kB/s) Downloading from appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/maven-metadata.xml Progress (1): 609 B Downloaded from appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/maven-metadata.xml (609 B at 2.3 kB/s) Uploading to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/maven-metadata.xml Progress (1): 997 B Uploaded to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/maven-metadata.xml (997 B at 596 B/s) Uploading to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/maven-metadata.xml Progress (1): 609 B Uploaded to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/maven-metadata.xml (609 B at 686 B/s) Uploading to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/appng-tomcat-session-0.3.0-20220422.151347-19-sources.jar Progress (1): 4.1/43 kB Progress (1): 8.2/43 kB Progress (1): 12/43 kB Progress (1): 16/43 kB Progress (1): 20/43 kB Progress (1): 25/43 kB Progress (1): 29/43 kB Progress (1): 33/43 kB Progress (1): 37/43 kB Progress (1): 41/43 kB Progress (1): 43 kB Uploaded to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/appng-tomcat-session-0.3.0-20220422.151347-19-sources.jar (43 kB at 111 kB/s) Uploading to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/maven-metadata.xml Progress (1): 997 B Uploaded to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/maven-metadata.xml (997 B at 1.5 kB/s) [[1;34mINFO[m] [1m------------------------------------------------------------------------[m [[1;34mINFO[m] [1;32mBUILD SUCCESS[m [[1;34mINFO[m] [1m------------------------------------------------------------------------[m [[1;34mINFO[m] Total time: 40.232 s [[1;34mINFO[m] Finished at: 2022-04-22T17:13:52+02:00 [[1;34mINFO[m] [1m------------------------------------------------------------------------[m [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Results) [Pipeline] junit Recording test results [Checks API] No suitable checks publisher found. [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS