Started by an SCM change [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/appNG_Authentication [Pipeline] { [Pipeline] tool [Pipeline] tool [Pipeline] stage [Pipeline] { (git clone) [Pipeline] git The recommended git tool is: NONE No credentials specified > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/appNG_Authentication/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:appNG/appng-authentication.git # timeout=10 Fetching upstream changes from git@github.com:appNG/appng-authentication.git > git --version # timeout=10 > git --version # 'git version 2.30.2' > git fetch --tags --force --progress -- git@github.com:appNG/appng-authentication.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/appng-authentication-1.14.x^{commit} # timeout=10 Checking out Revision ed03e29e84f33e6d6f76ab097bcde8d32996ea4c (refs/remotes/origin/appng-authentication-1.14.x) > git config core.sparsecheckout # timeout=10 > git checkout -f ed03e29e84f33e6d6f76ab097bcde8d32996ea4c # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git branch -D appng-authentication-1.14.x # timeout=10 > git checkout -b appng-authentication-1.14.x ed03e29e84f33e6d6f76ab097bcde8d32996ea4c # timeout=10 Commit message: "added java.util" > git rev-list --no-walk ad6847018152f3546cc1289c6b2f41b593706c16 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Maven Build) [Pipeline] sh + /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/mvn clean deploy [INFO] Scanning for projects... [INFO] [INFO] -------------------< org.appng:appng-authentication >------------------- [INFO] Building appNG Authentication 1.14.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ appng-authentication --- [INFO] Deleting /var/lib/jenkins/workspace/appNG_Authentication/target [INFO] [INFO] --- appng-maven-plugin:1.24.5:generateApplicationConstants (applicationConstants) @ appng-authentication --- [INFO] generate application constants for [/var/lib/jenkins/workspace/appNG_Authentication/application-home/application.xml, org.appng.application.authentication.AuthenticationSettings, /var/lib/jenkins/workspace/appNG_Authentication/target/generated-sources/constants] [INFO] [INFO] --- appng-maven-plugin:1.24.5:generateMessageConstants (messageConstants) @ appng-authentication --- [INFO] generate message constants for [/var/lib/jenkins/workspace/appNG_Authentication/application-home/dictionary/authentication-messages.properties, org.appng.application.authentication.MessageConstants, /var/lib/jenkins/workspace/appNG_Authentication/target/generated-sources/constants] [INFO] [INFO] --- build-helper-maven-plugin:3.0.0:add-source (default) @ appng-authentication --- [INFO] Source directory: /var/lib/jenkins/workspace/appNG_Authentication/target/generated-sources/constants added. [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ appng-authentication --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/appNG_Authentication/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ appng-authentication --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 14 source files to /var/lib/jenkins/workspace/appNG_Authentication/target/classes [INFO] /var/lib/jenkins/workspace/appNG_Authentication/src/main/java/org/appng/application/authentication/webform/PasswordReset.java: /var/lib/jenkins/workspace/appNG_Authentication/src/main/java/org/appng/application/authentication/webform/PasswordReset.java uses or overrides a deprecated API. [INFO] /var/lib/jenkins/workspace/appNG_Authentication/src/main/java/org/appng/application/authentication/webform/PasswordReset.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ appng-authentication --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 9 resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ appng-authentication --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 11 source files to /var/lib/jenkins/workspace/appNG_Authentication/target/test-classes [INFO] /var/lib/jenkins/workspace/appNG_Authentication/src/test/java/org/appng/application/authentication/webform/PasswordResetTest.java: /var/lib/jenkins/workspace/appNG_Authentication/src/test/java/org/appng/application/authentication/webform/PasswordResetTest.java uses or overrides a deprecated API. [INFO] /var/lib/jenkins/workspace/appNG_Authentication/src/test/java/org/appng/application/authentication/webform/PasswordResetTest.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M7:test (default-test) @ appng-authentication --- [INFO] Using auto detected provider org.apache.maven.surefire.junit4.JUnit4Provider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.appng.application.authentication.digest.DigestLoginTest [Server@4b6e1c0]: [Thread[HSQLDB Server @4b6e1c0,5,main]]: run()/openServerSocket(): java.net.BindException: Address already in use at java.base/sun.nio.ch.Net.bind0(Native Method) at java.base/sun.nio.ch.Net.bind(Net.java:555) at java.base/sun.nio.ch.Net.bind(Net.java:544) at java.base/sun.nio.ch.NioSocketImpl.bind(NioSocketImpl.java:643) at java.base/java.net.ServerSocket.bind(ServerSocket.java:388) at java.base/java.net.ServerSocket.(ServerSocket.java:274) at java.base/java.net.ServerSocket.(ServerSocket.java:167) 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 @4b6e1c0" java.lang.NullPointerException: Cannot invoke "java.lang.ThreadGroup.activeCount()" because "this.serverConnectionThreadGroup" is null 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 MuellerSending interrupt signal to process 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: 1 d 03:36 h [INFO] Finished at: 2023-04-12T14:30:18+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7:test (default-test) on project appng-authentication: [ERROR] [ERROR] Please refer to /var/lib/jenkins/workspace/appNG_Authentication/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_Authentication' && '/var/lib/jenkins/tools/hudson.model.JDK/OpenJDK17/jdk-17.0.6+10/bin/java' '--add-opens' 'java.base/java.lang=ALL-UNNAMED' '-jar' '/var/lib/jenkins/workspace/appNG_Authentication/target/surefire/surefirebooter-20230411105418788_3.jar' '/var/lib/jenkins/workspace/appNG_Authentication/target/surefire' '2023-04-11T10-54-18_554-jvmRun1' 'surefire-20230411105418788_1tmp' 'surefire_0-20230411105418788_2tmp' [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_Authentication' && '/var/lib/jenkins/tools/hudson.model.JDK/OpenJDK17/jdk-17.0.6+10/bin/java' '--add-opens' 'java.base/java.lang=ALL-UNNAMED' '-jar' '/var/lib/jenkins/workspace/appNG_Authentication/target/surefire/surefirebooter-20230411105418788_3.jar' '/var/lib/jenkins/workspace/appNG_Authentication/target/surefire' '2023-04-11T10-54-18_554-jvmRun1' 'surefire-20230411105418788_1tmp' 'surefire_0-20230411105418788_2tmp' [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:714) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:311) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:268) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1334) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1167) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:931) [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 java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:568) [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] // stage [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: ABORTED