Skip to content
Success

Console Output

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 Tomcat Session
[Pipeline] {
[Pipeline] tool
[Pipeline] stage
[Pipeline] { (git clone)
[Pipeline] git
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/appNG/appng-tomcat-session.git
 > git init /var/lib/jenkins/workspace/appNG Tomcat Session # timeout=10
Fetching upstream changes from https://github.com/appNG/appng-tomcat-session.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/appNG/appng-tomcat-session.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://github.com/appNG/appng-tomcat-session.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/appNG/appng-tomcat-session.git # timeout=10
Fetching upstream changes from https://github.com/appNG/appng-tomcat-session.git
 > git fetch --tags --progress https://github.com/appNG/appng-tomcat-session.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 4d42264af6fc038806252adac2a5a29b31e94f34 (refs/remotes/origin/master)
Commit message: "AST-14 no cleanup of threadlocals when mongoSession is null"
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 4d42264af6fc038806252adac2a5a29b31e94f34
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b master 4d42264af6fc038806252adac2a5a29b31e94f34
 > git rev-list --no-walk 1e78bcadedeb053dd203fe9374544b0c8872888c # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (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.2.1-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.2.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ appng-tomcat-session ---
[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/appNG Tomcat Session/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 15 source files to /var/lib/jenkins/workspace/appNG Tomcat Session/target/classes
[INFO] /var/lib/jenkins/workspace/appNG Tomcat Session/src/main/java/org/appng/tomcat/session/mongo/MongoStore.java: /var/lib/jenkins/workspace/appNG Tomcat Session/src/main/java/org/appng/tomcat/session/mongo/MongoStore.java uses or overrides a deprecated API.
[INFO] /var/lib/jenkins/workspace/appNG Tomcat Session/src/main/java/org/appng/tomcat/session/mongo/MongoStore.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 3 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 4 source files to /var/lib/jenkins/workspace/appNG Tomcat Session/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/appNG Tomcat Session/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.appng.tomcat.session.UtilsTest
2019-09-10 16:30:10,553 INFO  [main] o.a.t.s.UtilsTest               : java.lang.Object@6442b0a6
2019-09-10 16:30:10,555 INFO  [main] o.a.t.s.UtilsTest               : testLogString
2019-09-10 16:30:10,556 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)
2019-09-10 16:30:10,677 DEBUG [main] o.a.a.s.e.DefaultEnvironment    : disabling scope PLATFORM
2019-09-10 16:30:10,678 DEBUG [main] o.a.a.s.e.DefaultEnvironment    : disabling scope SITE
2019-09-10 16:30:10,678 DEBUG [main] o.a.a.s.e.DefaultEnvironment    : disabling scope SESSION
2019-09-10 16:30:10,678 DEBUG [main] o.a.a.s.e.DefaultEnvironment    : disabling scope REQUEST
2019-09-10 16:30:10,678 DEBUG [main] o.a.a.s.e.DefaultEnvironment    : disabling scope URL
2019-09-10 16:30:10,679 DEBUG [main] o.a.a.s.e.DefaultEnvironment    : enabling scope PLATFORM
2019-09-10 16:30:10,681 DEBUG [main] o.a.a.s.e.DefaultEnvironment    : scope SESSION is not available
2019-09-10 16:30:10,681 TRACE [main] o.a.a.s.e.DefaultEnvironment    : [PLATFORM] getting platformConfig=null
2019-09-10 16:30:10,681 TRACE [main] o.a.a.s.e.DefaultEnvironment    : [PLATFORM] getting platformConfig=null
2019-09-10 16:30:10,688 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)
2019-09-10 16:30:10,690 INFO  [main] o.a.t.s.UtilsTest               : java.lang.Object@1dfe2924
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.256 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/appNG Tomcat Session/target/appng-tomcat-session-0.2.1-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (default) @ appng-tomcat-session ---
[INFO] Building jar: /var/lib/jenkins/workspace/appNG Tomcat Session/target/appng-tomcat-session-0.2.1-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ appng-tomcat-session ---
[INFO] Installing /var/lib/jenkins/workspace/appNG Tomcat Session/target/appng-tomcat-session-0.2.1-SNAPSHOT.jar to /var/lib/jenkins/.m2/repository/org/appng/appng-tomcat-session/0.2.1-SNAPSHOT/appng-tomcat-session-0.2.1-SNAPSHOT.jar
[INFO] Installing /var/lib/jenkins/workspace/appNG Tomcat Session/pom.xml to /var/lib/jenkins/.m2/repository/org/appng/appng-tomcat-session/0.2.1-SNAPSHOT/appng-tomcat-session-0.2.1-SNAPSHOT.pom
[INFO] Installing /var/lib/jenkins/workspace/appNG Tomcat Session/target/appng-tomcat-session-0.2.1-SNAPSHOT-sources.jar to /var/lib/jenkins/.m2/repository/org/appng/appng-tomcat-session/0.2.1-SNAPSHOT/appng-tomcat-session-0.2.1-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.2.1-SNAPSHOT/maven-metadata.xml
Progress (1): 993 B
                   
Downloaded: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.2.1-SNAPSHOT/maven-metadata.xml (993 B at 2.4 kB/s)
Uploading: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.2.1-SNAPSHOT/appng-tomcat-session-0.2.1-20190910.143011-7.jar
Progress (1): 2.0/52 kB
Progress (1): 4.1/52 kB
Progress (1): 6.1/52 kB
Progress (1): 8.2/52 kB
Progress (1): 10/52 kB 
Progress (1): 12/52 kB
Progress (1): 14/52 kB
Progress (1): 16/52 kB
Progress (1): 18/52 kB
Progress (1): 20/52 kB
Progress (1): 23/52 kB
Progress (1): 25/52 kB
Progress (1): 27/52 kB
Progress (1): 29/52 kB
Progress (1): 31/52 kB
Progress (1): 33/52 kB
Progress (1): 35/52 kB
Progress (1): 37/52 kB
Progress (1): 39/52 kB
Progress (1): 41/52 kB
Progress (1): 43/52 kB
Progress (1): 45/52 kB
Progress (1): 47/52 kB
Progress (1): 49/52 kB
Progress (1): 51/52 kB
Progress (1): 52 kB   
                   
Uploaded: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.2.1-SNAPSHOT/appng-tomcat-session-0.2.1-20190910.143011-7.jar (52 kB at 187 kB/s)
Uploading: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.2.1-SNAPSHOT/appng-tomcat-session-0.2.1-20190910.143011-7.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.2.1-SNAPSHOT/appng-tomcat-session-0.2.1-20190910.143011-7.pom (6.2 kB at 24 kB/s)
Downloading: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/maven-metadata.xml
Progress (1): 449 B
                   
Downloaded: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/maven-metadata.xml (449 B at 1.7 kB/s)
Uploading: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.2.1-SNAPSHOT/maven-metadata.xml
Progress (1): 993 B
                   
Uploaded: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.2.1-SNAPSHOT/maven-metadata.xml (993 B at 1.2 kB/s)
Uploading: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/maven-metadata.xml
Progress (1): 449 B
                   
Uploaded: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/maven-metadata.xml (449 B at 495 B/s)
Uploading: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.2.1-SNAPSHOT/appng-tomcat-session-0.2.1-20190910.143011-7-sources.jar
Progress (1): 2.0/34 kB
Progress (1): 4.1/34 kB
Progress (1): 6.1/34 kB
Progress (1): 8.2/34 kB
Progress (1): 10/34 kB 
Progress (1): 12/34 kB
Progress (1): 14/34 kB
Progress (1): 16/34 kB
Progress (1): 18/34 kB
Progress (1): 20/34 kB
Progress (1): 23/34 kB
Progress (1): 25/34 kB
Progress (1): 27/34 kB
Progress (1): 29/34 kB
Progress (1): 31/34 kB
Progress (1): 33/34 kB
Progress (1): 34 kB   
                   
Uploaded: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.2.1-SNAPSHOT/appng-tomcat-session-0.2.1-20190910.143011-7-sources.jar (34 kB at 82 kB/s)
Uploading: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.2.1-SNAPSHOT/maven-metadata.xml
Progress (1): 993 B
                   
Uploaded: https://appng.org/nexus/repository/appng-snapshot/org/appng/appng-tomcat-session/0.2.1-SNAPSHOT/maven-metadata.xml (993 B at 3.3 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.262 s
[INFO] Finished at: 2019-09-10T16:30:15+02:00
[INFO] Final Memory: 38M/288M
[INFO] ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Results)
[Pipeline] junit
Recording test results
[Pipeline] archive
The archive step is deprecated, please use archiveArtifacts instead.
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS