Started by user Matthias Mueller
Obtained build-application.jenkins from git ssh://git@bitbucket.aiticon.net:7999/ac/appng-build.git
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/appNG_Manager_Release
[Pipeline] {
[Pipeline] tool
[Pipeline] stage
[Pipeline] { (Info)
[Pipeline] echo
##############################################
[Pipeline] echo
Preparing release 1.19.3 for appng-manager from branch appng-manager-1.19.x, current snapshot is 1.19.3-SNAPSHOT, next version will be 1.19.4-SNAPSHOT
[Pipeline] echo
##############################################
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Prepare Release Branch)
[Pipeline] sh
+ rm -rf appng-manager
[Pipeline] sh
+ git clone git@github.com:appNG/appng-manager.git appng-manager
Cloning into 'appng-manager'...
[Pipeline] dir
Running in /var/lib/jenkins/workspace/appNG_Manager_Release/appng-manager
[Pipeline] {
[Pipeline] sh
+ git checkout appng-manager-1.19.x
Switched to a new branch 'appng-manager-1.19.x'
Branch 'appng-manager-1.19.x' set up to track remote branch 'appng-manager-1.19.x' from 'origin'.
[Pipeline] sh
+ sed -i s/1\.19\.3-SNAPSHOT/1\.19\.3/g pom.xml
[Pipeline] sh
+ git status
On branch appng-manager-1.19.x
Your branch is up to date with 'origin/appng-manager-1.19.x'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." 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 1.19.3
[appng-manager-1.19.x 91e604b] preparing release 1.19.3
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/appNG_Manager_Release/appng-manager
[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 -Pmaven-central
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO]
[INFO] ----------------------< org.appng:appng-manager >-----------------------
[INFO] Building appNG Manager 1.19.3
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ appng-manager ---
[INFO]
[INFO] --- appng-maven-plugin:1.23.0:generateApplicationConstants (applicationConstants) @ appng-manager ---
[INFO] generate application constants for [/var/lib/jenkins/workspace/appNG_Manager_Release/appng-manager/application-home/application.xml, org.appng.application.manager.ManagerSettings, /var/lib/jenkins/workspace/appNG_Manager_Release/appng-manager/target/generated-sources/constants]
[INFO]
[INFO] --- appng-maven-plugin:1.23.0:generateMessageConstants (messageConstants) @ appng-manager ---
[INFO] generate message constants for [/var/lib/jenkins/workspace/appNG_Manager_Release/appng-manager/application-home/dictionary/manager-messages.properties, org.appng.application.manager.MessageConstants, /var/lib/jenkins/workspace/appNG_Manager_Release/appng-manager/target/generated-sources/constants]
[INFO]
[INFO] --- build-helper-maven-plugin:3.0.0:add-source (default) @ appng-manager ---
[INFO] Source directory: /var/lib/jenkins/workspace/appNG_Manager_Release/appng-manager/target/generated-sources/constants added.
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ appng-manager ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ appng-manager ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 57 source files to /var/lib/jenkins/workspace/appNG_Manager_Release/appng-manager/target/classes
[INFO] /var/lib/jenkins/workspace/appNG_Manager_Release/appng-manager/src/main/java/org/appng/application/manager/business/Sites.java: /var/lib/jenkins/workspace/appNG_Manager_Release/appng-manager/src/main/java/org/appng/application/manager/business/Sites.java uses or overrides a deprecated API.
[INFO] /var/lib/jenkins/workspace/appNG_Manager_Release/appng-manager/src/main/java/org/appng/application/manager/business/Sites.java: Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ appng-manager ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 101 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ appng-manager ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 23 source files to /var/lib/jenkins/workspace/appNG_Manager_Release/appng-manager/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M3:test (default-test) @ appng-manager ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.appng.application.manager.business.SitePropertiesTest
2022-10-07 08:47:22,796 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-10-07 08:47:22,812 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@56a6d5a6, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@18ce0030, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4445629, org.springframework.test.context.support.DirtiesContextTestExecutionListener@45b9a632, org.springframework.test.context.transaction.TransactionalTestExecutionListener@25d250c6, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@4df50bcc]
2022-10-07 08:47:23,478 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-10-07 08:47:23,774 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2022-10-07 08:47:23,806 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-10-07 08:47:23,908 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-10-07 08:47:23,931 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@5bd03f44: startup date [Fri Oct 07 08:47:23 CEST 2022]; root of context hierarchy
2022-10-07 08:47:24,355 WARN [main] org.springframework.context.annotation.ConfigurationClassEnhancer: @Bean method ApplicationTestConfig.CustomScopeConfigurer is non-static and returns an object assignable to Spring's BeanFactoryPostProcessor interface. This will result in a failure to process annotations such as @Autowired, @Resource and @PostConstruct within the method's declaring @Configuration class. Add the 'static' modifier to this method to avoid these container lifecycle issues; see @Bean javadoc for complete details.
2022-10-07 08:47:24,377 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
Oct 07, 2022 8:47:24 AM ch.sla.jdbcperflogger.Logger info
INFO: Using config file jdbcperflogger-fallback.xml
[Server@a23a01d]: [Thread[HSQLDB Server @a23a01d,5,main]]: run()/openServerSocket():
java.net.BindException: Address already in use (Bind failed)
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
at java.net.ServerSocket.bind(ServerSocket.java:390)
at java.net.ServerSocket.<init>(ServerSocket.java:252)
at java.net.ServerSocket.<init>(ServerSocket.java:143)
at org.hsqldb.server.HsqlSocketFactory.createServerSocket(Unknown Source)
at org.hsqldb.server.Server.openServerSocket(Unknown Source)
at org.hsqldb.server.Server.run(Unknown Source)
at org.hsqldb.server.Server.access$000(Unknown Source)
at org.hsqldb.server.Server$ServerThread.run(Unknown Source)
Exception in thread "HSQLDB Server @a23a01d" java.lang.NullPointerException
at org.hsqldb.server.Server.shutdown(Unknown Source)
at org.hsqldb.server.Server.run(Unknown Source)
at org.hsqldb.server.Server.access$000(Unknown Source)
at org.hsqldb.server.Server$ServerThread.run(Unknown Source)
Aborted by Matthias Mueller
Sending interrupt signal to process
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:29 min
[INFO] Finished at: 2022-10-07T08:48:40+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project appng-manager: There are test failures.
[ERROR]
[ERROR] Please refer to /var/lib/jenkins/workspace/appNG_Manager_Release/appng-manager/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /var/lib/jenkins/workspace/appNG_Manager_Release/appng-manager && /var/lib/jenkins/tools/hudson.model.JDK/OpenJDK8/jdk8u332-b09/jre/bin/java -jar /var/lib/jenkins/workspace/appNG_Manager_Release/appng-manager/target/surefire/surefirebooter8503576814441672008.jar /var/lib/jenkins/workspace/appNG_Manager_Release/appng-manager/target/surefire 2022-10-07T08-47-21_655-jvmRun1 surefire9900289505882234tmp surefire_04544630115056711425tmp
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 143
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /var/lib/jenkins/workspace/appNG_Manager_Release/appng-manager && /var/lib/jenkins/tools/hudson.model.JDK/OpenJDK8/jdk8u332-b09/jre/bin/java -jar /var/lib/jenkins/workspace/appNG_Manager_Release/appng-manager/target/surefire/surefirebooter8503576814441672008.jar /var/lib/jenkins/workspace/appNG_Manager_Release/appng-manager/target/surefire 2022-10-07T08-47-21_655-jvmRun1 surefire9900289505882234tmp surefire_04544630115056711425tmp
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 143
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:670)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:283)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:246)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1161)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1002)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:848)
[ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:370)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:351)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:215)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:171)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:163)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
[ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
[ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:294)
[ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
[ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
[ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:960)
[ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:293)
[ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:196)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:498)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
script returned exit code 1
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: ABORTED