+ /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/mvn clean deploy
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.appng:appng-tomcat-session:jar:0.4.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 11, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] -------------------< org.appng:appng-tomcat-session >-------------------
[INFO] Building appng-tomcat-session 0.4.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ appng-tomcat-session ---
[INFO] Deleting /var/lib/jenkins/workspace/ATS/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ appng-tomcat-session ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/ATS/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ appng-tomcat-session ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 20 source files to /var/lib/jenkins/workspace/ATS/target/classes
[INFO] /var/lib/jenkins/workspace/ATS/src/main/java/org/appng/tomcat/session/redis/RedisSessionManager.java: Some input files use or override a deprecated API.
[INFO] /var/lib/jenkins/workspace/ATS/src/main/java/org/appng/tomcat/session/redis/RedisSessionManager.java: Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ appng-tomcat-session ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ appng-tomcat-session ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 5 source files to /var/lib/jenkins/workspace/ATS/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ appng-tomcat-session ---
[INFO] Surefire report directory: /var/lib/jenkins/workspace/ATS/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.appng.tomcat.session.UtilsTest
2022-10-13 14:05:24,650 INFO [main] o.a.t.s.UtilsTest : java.lang.Object@7f690630
2022-10-13 14:05:24,652 INFO [main] o.a.t.s.UtilsTest : testLogString
2022-10-13 14:05:24,653 INFO [main] o.a.t.s.UtilsTest : testLogStringWithException
java.lang.IllegalArgumentException: BOOOM!
at org.appng.tomcat.session.UtilsTest.testLogStringWithException(UtilsTest.java:77)
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: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 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.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-10-13 14:05:25,312 DEBUG [main] o.a.a.s.e.DefaultEnvironment : enabling scope PLATFORM
2022-10-13 14:05:25,313 DEBUG [main] o.a.a.s.e.DefaultEnvironment : disabling scope REQUEST
2022-10-13 14:05:25,314 DEBUG [main] o.a.a.s.e.DefaultEnvironment : scope SESSION is not available
2022-10-13 14:05:25,329 INFO [main] o.a.t.s.UtilsTest :
java.lang.IllegalArgumentException: BOOOM!
at org.appng.tomcat.session.UtilsTest.testLogNullWithException(UtilsTest.java:87)
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: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 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.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-10-13 14:05:25,330 INFO [main] o.a.t.s.UtilsTest : java.lang.Object@22a67b4
java.lang.IllegalArgumentException: BOOOM!
at org.appng.tomcat.session.UtilsTest.testLogObjectWithException(UtilsTest.java:82)
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: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 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.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: 0.844 sec
Results :
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ appng-tomcat-session ---
[INFO] Building jar: /var/lib/jenkins/workspace/ATS/target/appng-tomcat-session-0.4.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (default) @ appng-tomcat-session ---
[INFO] Building jar: /var/lib/jenkins/workspace/ATS/target/appng-tomcat-session-0.4.0-SNAPSHOT-sources.jar
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ appng-tomcat-session ---
[INFO] Installing /var/lib/jenkins/workspace/ATS/target/appng-tomcat-session-0.4.0-SNAPSHOT.jar to /var/lib/jenkins/.m2/repository/org/appng/appng-tomcat-session/0.4.0-SNAPSHOT/appng-tomcat-session-0.4.0-SNAPSHOT.jar
[INFO] Installing /var/lib/jenkins/workspace/ATS/pom.xml to /var/lib/jenkins/.m2/repository/org/appng/appng-tomcat-session/0.4.0-SNAPSHOT/appng-tomcat-session-0.4.0-SNAPSHOT.pom
[INFO] Installing /var/lib/jenkins/workspace/ATS/target/appng-tomcat-session-0.4.0-SNAPSHOT-sources.jar to /var/lib/jenkins/.m2/repository/org/appng/appng-tomcat-session/0.4.0-SNAPSHOT/appng-tomcat-session-0.4.0-SNAPSHOT-sources.jar
[INFO]
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ appng-tomcat-session ---
Downloading from appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.4.0-SNAPSHOT/maven-metadata.xml
Progress (1): 993 B
Downloaded from appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.4.0-SNAPSHOT/maven-metadata.xml (993 B at 1.8 kB/s)
Uploading to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.4.0-SNAPSHOT/appng-tomcat-session-0.4.0-20221013.120511-6.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.4.0-SNAPSHOT/appng-tomcat-session-0.4.0-20221013.120511-6.jar (67 kB at 623 kB/s)
Uploading to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.4.0-SNAPSHOT/appng-tomcat-session-0.4.0-20221013.120511-6.pom
Progress (1): 4.1/6.3 kB
Progress (1): 6.3 kB
Uploaded to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.4.0-SNAPSHOT/appng-tomcat-session-0.4.0-20221013.120511-6.pom (6.3 kB at 21 kB/s)
Downloading from appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/maven-metadata.xml
Progress (1): 729 B
Downloaded from appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/maven-metadata.xml (729 B at 15 kB/s)
Uploading to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.4.0-SNAPSHOT/maven-metadata.xml
Progress (1): 993 B
Uploaded to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.4.0-SNAPSHOT/maven-metadata.xml (993 B at 863 B/s)
Uploading to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/maven-metadata.xml
Progress (1): 729 B
Uploaded to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/maven-metadata.xml (729 B at 895 B/s)
Uploading to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.4.0-SNAPSHOT/appng-tomcat-session-0.4.0-20221013.120511-6-sources.jar
Progress (1): 4.1/42 kB
Progress (1): 8.2/42 kB
Progress (1): 12/42 kB
Progress (1): 16/42 kB
Progress (1): 20/42 kB
Progress (1): 25/42 kB
Progress (1): 29/42 kB
Progress (1): 33/42 kB
Progress (1): 37/42 kB
Progress (1): 41/42 kB
Progress (1): 42 kB
Uploaded to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.4.0-SNAPSHOT/appng-tomcat-session-0.4.0-20221013.120511-6-sources.jar (42 kB at 604 kB/s)
Uploading to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.4.0-SNAPSHOT/maven-metadata.xml
Progress (1): 993 B
Uploaded to appng-snapshot: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.4.0-SNAPSHOT/maven-metadata.xml (993 B at 1.3 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.576 s
[INFO] Finished at: 2022-10-13T14:05:30+02:00
[INFO] ------------------------------------------------------------------------