Started by user Matthias Mueller [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/SessionManagerPipeline [Pipeline] { [Pipeline] tool [Pipeline] stage [Pipeline] { (Info) [Pipeline] echo ############################################## [Pipeline] echo Preparing release 0.4.1 for appng-tomcat-session from branch master, current snapshot is 0.4.0-SNAPSHOT, next version will be 0.4.2-SNAPSHOT [Pipeline] echo ############################################## [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prepare Release Branch) [Pipeline] sh + rm -rf appng-tomcat-session [Pipeline] sh + git clone git@github.com:appNG/appng-tomcat-session.git appng-tomcat-session Cloning into 'appng-tomcat-session'... [Pipeline] dir Running in /var/lib/jenkins/workspace/SessionManagerPipeline/appng-tomcat-session [Pipeline] { [Pipeline] sh + git checkout master Already on 'master' Your branch is up to date with 'origin/master'. [Pipeline] sh + sed -i s/0\.4\.0-SNAPSHOT/0\.4\.1/g pom.xml [Pipeline] sh + git status On branch master Your branch is up to date with 'origin/master'. Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git restore ..." to discard changes in working directory) modified: pom.xml no changes added to commit (use "git add" and/or "git commit -a") [Pipeline] sh + git commit -a -m preparing release 0.4.1 [master 3787e02] preparing release 0.4.1 1 file changed, 1 insertion(+), 1 deletion(-) [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Release Branch) [Pipeline] dir Running in /var/lib/jenkins/workspace/SessionManagerPipeline/appng-tomcat-session [Pipeline] { [Pipeline] sh + /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/mvn clean deploy -DoutFolder=/srv/www/appng.org/appng/builds/stable [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.appng:appng-tomcat-session:jar:0.4.1 [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.1 [INFO] --------------------------------[ jar ]--------------------------------- [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/SessionManagerPipeline/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 20 source files to /var/lib/jenkins/workspace/SessionManagerPipeline/appng-tomcat-session/target/classes [INFO] /var/lib/jenkins/workspace/SessionManagerPipeline/appng-tomcat-session/src/main/java/org/appng/tomcat/session/mongo/MongoStore.java: Some input files use or override a deprecated API. [INFO] /var/lib/jenkins/workspace/SessionManagerPipeline/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 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/SessionManagerPipeline/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/SessionManagerPipeline/appng-tomcat-session/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.appng.tomcat.session.UtilsTest 2022-10-19 10:49:24,834 INFO [main] o.a.t.s.UtilsTest : java.lang.Object@7f690630 2022-10-19 10:49:24,838 INFO [main] o.a.t.s.UtilsTest : testLogString 2022-10-19 10:49:24,841 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-19 10:49:25,049 DEBUG [main] o.a.a.s.e.DefaultEnvironment : enabling scope PLATFORM 2022-10-19 10:49:25,050 DEBUG [main] o.a.a.s.e.DefaultEnvironment : disabling scope REQUEST 2022-10-19 10:49:25,050 DEBUG [main] o.a.a.s.e.DefaultEnvironment : scope SESSION is not available 2022-10-19 10:49:25,062 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-19 10:49:25,063 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.368 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/SessionManagerPipeline/appng-tomcat-session/target/appng-tomcat-session-0.4.1.jar [INFO] [INFO] --- maven-source-plugin:3.0.1:jar-no-fork (default) @ appng-tomcat-session --- [INFO] Building jar: /var/lib/jenkins/workspace/SessionManagerPipeline/appng-tomcat-session/target/appng-tomcat-session-0.4.1-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ appng-tomcat-session --- [INFO] Installing /var/lib/jenkins/workspace/SessionManagerPipeline/appng-tomcat-session/target/appng-tomcat-session-0.4.1.jar to /var/lib/jenkins/.m2/repository/org/appng/appng-tomcat-session/0.4.1/appng-tomcat-session-0.4.1.jar [INFO] Installing /var/lib/jenkins/workspace/SessionManagerPipeline/appng-tomcat-session/pom.xml to /var/lib/jenkins/.m2/repository/org/appng/appng-tomcat-session/0.4.1/appng-tomcat-session-0.4.1.pom [INFO] Installing /var/lib/jenkins/workspace/SessionManagerPipeline/appng-tomcat-session/target/appng-tomcat-session-0.4.1-sources.jar to /var/lib/jenkins/.m2/repository/org/appng/appng-tomcat-session/0.4.1/appng-tomcat-session-0.4.1-sources.jar [INFO] [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ appng-tomcat-session --- Uploading to appng-stable: https://appng.org/nexus/repository/appng-stable/org/appng/appng-tomcat-session/0.4.1/appng-tomcat-session-0.4.1.jar Progress (1): 4.1/72 kB Progress (1): 8.2/72 kB Progress (1): 12/72 kB Progress (1): 16/72 kB Progress (1): 20/72 kB Progress (1): 25/72 kB Progress (1): 29/72 kB Progress (1): 33/72 kB Progress (1): 37/72 kB Progress (1): 41/72 kB Progress (1): 45/72 kB Progress (1): 49/72 kB Progress (1): 53/72 kB Progress (1): 57/72 kB Progress (1): 61/72 kB Progress (1): 66/72 kB Progress (1): 70/72 kB Progress (1): 72 kB Uploaded to appng-stable: https://appng.org/nexus/repository/appng-stable/org/appng/appng-tomcat-session/0.4.1/appng-tomcat-session-0.4.1.jar (72 kB at 91 kB/s) Uploading to appng-stable: https://appng.org/nexus/repository/appng-stable/org/appng/appng-tomcat-session/0.4.1/appng-tomcat-session-0.4.1.pom Progress (1): 4.1/6.3 kB Progress (1): 6.3 kB Uploaded to appng-stable: https://appng.org/nexus/repository/appng-stable/org/appng/appng-tomcat-session/0.4.1/appng-tomcat-session-0.4.1.pom (6.3 kB at 131 kB/s) Downloading from appng-stable: https://appng.org/nexus/repository/appng-stable/org/appng/appng-tomcat-session/maven-metadata.xml Progress (1): 526 B Downloaded from appng-stable: https://appng.org/nexus/repository/appng-stable/org/appng/appng-tomcat-session/maven-metadata.xml (526 B at 15 kB/s) Uploading to appng-stable: https://appng.org/nexus/repository/appng-stable/org/appng/appng-tomcat-session/maven-metadata.xml Progress (1): 557 B Uploaded to appng-stable: https://appng.org/nexus/repository/appng-stable/org/appng/appng-tomcat-session/maven-metadata.xml (557 B at 542 B/s) Uploading to appng-stable: https://appng.org/nexus/repository/appng-stable/org/appng/appng-tomcat-session/0.4.1/appng-tomcat-session-0.4.1-sources.jar Progress (1): 4.1/44 kB Progress (1): 8.2/44 kB Progress (1): 12/44 kB Progress (1): 16/44 kB Progress (1): 20/44 kB Progress (1): 25/44 kB Progress (1): 29/44 kB Progress (1): 33/44 kB Progress (1): 37/44 kB Progress (1): 41/44 kB Progress (1): 44 kB Uploaded to appng-stable: https://appng.org/nexus/repository/appng-stable/org/appng/appng-tomcat-session/0.4.1/appng-tomcat-session-0.4.1-sources.jar (44 kB at 828 kB/s) [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.286 s [INFO] Finished at: 2022-10-19T10:49:27+02:00 [INFO] ------------------------------------------------------------------------ [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Results) [Pipeline] junit Recording test results [Checks API] No suitable checks publisher found. [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (merge to master and tag) [Pipeline] dir Running in /var/lib/jenkins/workspace/SessionManagerPipeline/appng-tomcat-session [Pipeline] { [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline groovy.lang.MissingPropertyException: No such property: merge_to_master for class: groovy.lang.Binding at groovy.lang.Binding.getVariable(Binding.java:63) at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onGetProperty(SandboxInterceptor.java:251) at org.kohsuke.groovy.sandbox.impl.Checker$7.call(Checker.java:353) at org.kohsuke.groovy.sandbox.impl.Checker.checkedGetProperty(Checker.java:357) at org.kohsuke.groovy.sandbox.impl.Checker.checkedGetProperty(Checker.java:333) at org.kohsuke.groovy.sandbox.impl.Checker.checkedGetProperty(Checker.java:333) at org.kohsuke.groovy.sandbox.impl.Checker.checkedGetProperty(Checker.java:333) at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.getProperty(SandboxInvoker.java:29) at com.cloudbees.groovy.cps.impl.PropertyAccessBlock.rawGet(PropertyAccessBlock.java:20) at WorkflowScript.run(WorkflowScript:49) at ___cps.transform___(Native Method) at com.cloudbees.groovy.cps.impl.PropertyishBlock$ContinuationImpl.get(PropertyishBlock.java:74) at com.cloudbees.groovy.cps.LValueBlock$GetAdapter.receive(LValueBlock.java:30) at com.cloudbees.groovy.cps.impl.PropertyishBlock$ContinuationImpl.fixName(PropertyishBlock.java:66) at jdk.internal.reflect.GeneratedMethodAccessor239.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72) at com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21) at com.cloudbees.groovy.cps.Next.step(Next.java:83) at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:174) at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:163) at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:136) at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:275) at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:163) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:51) at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:187) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:420) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$400(CpsThreadGroup.java:95) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:330) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:294) at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:67) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:139) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:30) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:70) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Finished: FAILURE