Skip to content
Success

Console Output

Started by an SCM change
Running in Durability level: MAX_SURVIVABILITY
[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 --is-inside-work-tree # 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.11.0'
 > git fetch --tags --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 3e13cae7d4fd5269b9e464e0907e0604ff3612b4 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 3e13cae7d4fd5269b9e464e0907e0604ff3612b4 # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D master # timeout=10
 > git checkout -b master 3e13cae7d4fd5269b9e464e0907e0604ff3612b4 # timeout=10
Commit message: "tests session.isNew()"
 > git rev-list --no-walk 9829f6874a5c0019aaa58af811c5020581719048 # 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...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.appng:appng-tomcat-session:jar:0.3.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] ------------------------------------------------------------------------
[INFO] Building appng-tomcat-session 0.3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[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 19 source files to /var/lib/jenkins/workspace/ATS/target/classes
[INFO] /var/lib/jenkins/workspace/ATS/src/main/java/org/appng/tomcat/session/jdbc/SiteAwareJdbcStore.java: Some input files use or override a deprecated API.
[INFO] /var/lib/jenkins/workspace/ATS/src/main/java/org/appng/tomcat/session/jdbc/SiteAwareJdbcStore.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-01-05 13:41:32,828 INFO  [main] o.a.t.s.UtilsTest               : java.lang.Object@1554909b
2022-01-05 13:41:32,830 INFO  [main] o.a.t.s.UtilsTest               : testLogString
2022-01-05 13:41:32,832 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-01-05 13:41:33,535 DEBUG [main] o.a.a.s.e.DefaultEnvironment    : enabling scope PLATFORM
2022-01-05 13:41:33,535 DEBUG [main] o.a.a.s.e.DefaultEnvironment    : disabling scope REQUEST
2022-01-05 13:41:33,536 DEBUG [main] o.a.a.s.e.DefaultEnvironment    : scope SESSION is not available
2022-01-05 13:41:33,553 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-01-05 13:41:33,556 INFO  [main] o.a.t.s.UtilsTest               : java.lang.Object@4973813a
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: 1.105 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.3.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.3.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.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
[INFO] 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
[INFO] 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
[INFO] 
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ appng-tomcat-session ---
Downloading: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/maven-metadata.xml
Progress (1): 997 B
                   
Downloaded: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/maven-metadata.xml (997 B at 2.1 kB/s)
Uploading: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/appng-tomcat-session-0.3.0-20220105.124135-16.jar
Progress (1): 2.0/68 kB
Progress (1): 4.1/68 kB
Progress (1): 6.1/68 kB
Progress (1): 8.2/68 kB
Progress (1): 10/68 kB 
Progress (1): 12/68 kB
Progress (1): 14/68 kB
Progress (1): 16/68 kB
Progress (1): 18/68 kB
Progress (1): 20/68 kB
Progress (1): 23/68 kB
Progress (1): 25/68 kB
Progress (1): 27/68 kB
Progress (1): 29/68 kB
Progress (1): 31/68 kB
Progress (1): 33/68 kB
Progress (1): 35/68 kB
Progress (1): 37/68 kB
Progress (1): 39/68 kB
Progress (1): 41/68 kB
Progress (1): 43/68 kB
Progress (1): 45/68 kB
Progress (1): 47/68 kB
Progress (1): 49/68 kB
Progress (1): 51/68 kB
Progress (1): 53/68 kB
Progress (1): 55/68 kB
Progress (1): 57/68 kB
Progress (1): 59/68 kB
Progress (1): 61/68 kB
Progress (1): 63/68 kB
Progress (1): 66/68 kB
Progress (1): 68/68 kB
Progress (1): 68 kB   
                   
Uploaded: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/appng-tomcat-session-0.3.0-20220105.124135-16.jar (68 kB at 108 kB/s)
Uploading: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/appng-tomcat-session-0.3.0-20220105.124135-16.pom
Progress (1): 2.0/6.2 kB
Progress (1): 4.1/6.2 kB
Progress (1): 6.1/6.2 kB
Progress (1): 6.2 kB    
                    
Uploaded: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/appng-tomcat-session-0.3.0-20220105.124135-16.pom (6.2 kB at 13 kB/s)
Downloading: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/maven-metadata.xml
Progress (1): 609 B
                   
Downloaded: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/maven-metadata.xml (609 B at 2.0 kB/s)
Uploading: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/maven-metadata.xml
Progress (1): 997 B
                   
Uploaded: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/maven-metadata.xml (997 B at 517 B/s)
Uploading: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/maven-metadata.xml
Progress (1): 609 B
                   
Uploaded: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/maven-metadata.xml (609 B at 1.1 kB/s)
Uploading: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/appng-tomcat-session-0.3.0-20220105.124135-16-sources.jar
Progress (1): 2.0/43 kB
Progress (1): 4.1/43 kB
Progress (1): 6.1/43 kB
Progress (1): 8.2/43 kB
Progress (1): 10/43 kB 
Progress (1): 12/43 kB
Progress (1): 14/43 kB
Progress (1): 16/43 kB
Progress (1): 18/43 kB
Progress (1): 20/43 kB
Progress (1): 23/43 kB
Progress (1): 25/43 kB
Progress (1): 27/43 kB
Progress (1): 29/43 kB
Progress (1): 31/43 kB
Progress (1): 33/43 kB
Progress (1): 35/43 kB
Progress (1): 37/43 kB
Progress (1): 39/43 kB
Progress (1): 41/43 kB
Progress (1): 43 kB   
                   
Uploaded: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/appng-tomcat-session-0.3.0-20220105.124135-16-sources.jar (43 kB at 124 kB/s)
Uploading: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/maven-metadata.xml
Progress (1): 997 B
                   
Uploaded: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.3.0-SNAPSHOT/maven-metadata.xml (997 B at 2.1 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.880 s
[INFO] Finished at: 2022-01-05T13:41:40+01:00
[INFO] Final Memory: 41M/548M
[INFO] ------------------------------------------------------------------------
[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