Started by user Matthias Mueller
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/appNG_Scheduler
[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_Scheduler/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url git@github.com:appNG/appng-scheduler.git # timeout=10
Fetching upstream changes from git@github.com:appNG/appng-scheduler.git
> git --version # timeout=10
> git --version # 'git version 2.30.2'
> git fetch --tags --force --progress -- git@github.com:appNG/appng-scheduler.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/appng-scheduler-1.17.x^{commit} # timeout=10
Checking out Revision ad8bb3df4cf31786d3228d3c322fac1ef08d0c00 (refs/remotes/origin/appng-scheduler-1.17.x)
> git config core.sparsecheckout # timeout=10
> git checkout -f ad8bb3df4cf31786d3228d3c322fac1ef08d0c00 # timeout=10
> git branch -a -v --no-abbrev # timeout=10
> git branch -D appng-scheduler-1.17.x # timeout=10
> git checkout -b appng-scheduler-1.17.x ad8bb3df4cf31786d3228d3c322fac1ef08d0c00 # timeout=10
Commit message: "SCHED-59"
> git rev-list --no-walk ad8bb3df4cf31786d3228d3c322fac1ef08d0c00 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Maven Build)
[Pipeline] sh
+ export JAVA_HOME=/var/lib/jenkins/tools/hudson.model.JDK/OpenJDK8/jdk8u332-b09
[Pipeline] sh
+ /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/mvn -version
Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
Maven home: /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3
Java version: 17.0.6, vendor: Eclipse Adoptium, runtime: /var/lib/jenkins/tools/hudson.model.JDK/OpenJDK17/jdk-17.0.6+10
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.10.0-19-amd64", arch: "amd64", family: "unix"
[Pipeline] sh
+ /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/mvn clean deploy
[INFO] Scanning for projects...
Downloading from appng-snapshot: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-application-parent/1.25.0-SNAPSHOT/maven-metadata.xml
Progress (1): 614 B
Downloaded from appng-snapshot: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-application-parent/1.25.0-SNAPSHOT/maven-metadata.xml (614 B at 439 B/s)
Downloading from appng-snapshot: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-application-bom/1.25.0-SNAPSHOT/maven-metadata.xml
Progress (1): 611 B
Downloaded from appng-snapshot: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-application-bom/1.25.0-SNAPSHOT/maven-metadata.xml (611 B at 2.3 kB/s)
[INFO]
[INFO] ---------------------< org.appng:appng-scheduler >----------------------
[INFO] Building Scheduler 1.17.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from appng-snapshot: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-core/1.25.0-SNAPSHOT/maven-metadata.xml
Progress (1): 991 B
Downloaded from appng-snapshot: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-core/1.25.0-SNAPSHOT/maven-metadata.xml (991 B at 3.2 kB/s)
Downloading from appng-snapshot: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-forms/1.25.0-SNAPSHOT/maven-metadata.xml
Progress (1): 996 B
Downloaded from appng-snapshot: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-forms/1.25.0-SNAPSHOT/maven-metadata.xml (996 B at 6.4 kB/s)
Downloading from appng-snapshot: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-mail/1.25.0-SNAPSHOT/maven-metadata.xml
Progress (1): 995 B
Downloaded from appng-snapshot: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-mail/1.25.0-SNAPSHOT/maven-metadata.xml (995 B at 24 kB/s)
Downloading from appng-snapshot: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-api/1.25.0-SNAPSHOT/maven-metadata.xml
Progress (1): 994 B
Downloaded from appng-snapshot: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-api/1.25.0-SNAPSHOT/maven-metadata.xml (994 B at 5.4 kB/s)
Downloading from appng-snapshot: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-xmlapi/1.25.0-SNAPSHOT/maven-metadata.xml
Progress (1): 997 B
Downloaded from appng-snapshot: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-xmlapi/1.25.0-SNAPSHOT/maven-metadata.xml (997 B at 2.8 kB/s)
Downloading from appng-snapshot: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-tools/1.25.0-SNAPSHOT/maven-metadata.xml
Progress (1): 996 B
Downloaded from appng-snapshot: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-tools/1.25.0-SNAPSHOT/maven-metadata.xml (996 B at 2.6 kB/s)
Downloading from appng-snapshot: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-persistence/1.25.0-SNAPSHOT/maven-metadata.xml
Progress (1): 1.0 kB
Downloaded from appng-snapshot: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-persistence/1.25.0-SNAPSHOT/maven-metadata.xml (1.0 kB at 5.1 kB/s)
Downloading from appng-snapshot: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-search/1.25.0-SNAPSHOT/maven-metadata.xml
Progress (1): 997 B
Downloaded from appng-snapshot: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-search/1.25.0-SNAPSHOT/maven-metadata.xml (997 B at 6.3 kB/s)
Downloading from appng-snapshot: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-testsupport/1.25.0-SNAPSHOT/maven-metadata.xml
Progress (1): 1.0 kB
Downloaded from appng-snapshot: https://www.appng.org/nexus/repository/appng-snapshot/org/appng/appng-testsupport/1.25.0-SNAPSHOT/maven-metadata.xml (1.0 kB at 23 kB/s)
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ appng-scheduler ---
[INFO]
[INFO] --- openapi-generator-maven-plugin:5.3.0:generate (rest-api) @ appng-scheduler ---
[INFO] Generating with dryRun=false
[INFO] Output directory (/var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi) does not exist, or is inaccessible. No file (.openapi-generator-ignore) will be evaluated.
[INFO] OpenAPI Generator: spring (server)
[INFO] Generator 'spring' is considered stable.
[INFO] ----------------------------------
[WARNING] java8 option has been deprecated as it's set to true by default (JDK7 support has been deprecated)
[INFO] Set base package to invoker package (org.appng.scheduler.openapi.invoke)
[INFO] Environment variable JAVA_POST_PROCESS_FILE not defined so the Java code may not be properly formatted. To define it, try 'export JAVA_POST_PROCESS_FILE="/usr/local/bin/clang-format -i"' (Linux/Mac)
[INFO] NOTE: To enable file post-processing, 'enablePostProcessFile' must be set to `true` (--enable-post-process-file for CLI).
[INFO] Processing operation getJobState
[INFO] Processing operation getJobs
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/model/Job.java
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/model/JobRecord.java
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/model/JobState.java
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/model/Jobs.java
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/JobStateApi.java
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/pom.xml
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/README.md
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/ApiUtil.java
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/.openapi-generator-ignore
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/.openapi-generator/VERSION
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/.openapi-generator/FILES
################################################################################
# Thanks for using OpenAPI Generator. #
# Please consider donation to help us maintain this project 🙏 #
# https://opencollective.com/openapi_generator/donate #
################################################################################
[INFO]
[INFO] --- build-helper-maven-plugin:3.0.0:add-source (default) @ appng-scheduler ---
[INFO] Source directory: /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/constants added.
[INFO] Source directory: /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/src/main/java added.
[INFO]
[INFO] --- appng-maven-plugin:1.25.0-SNAPSHOT:generateApplicationConstants (applicationConstants) @ appng-scheduler ---
[INFO] generate application constants for [/var/lib/jenkins/workspace/appNG_Scheduler/application-home/application.xml, org.appng.application.scheduler.PropertyConstants, /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/constants]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.312 s
[INFO] Finished at: 2023-04-26T13:43:09+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.appng:appng-maven-plugin:1.25.0-SNAPSHOT:generateApplicationConstants (applicationConstants) on project appng-scheduler: Execution applicationConstants of goal org.appng:appng-maven-plugin:1.25.0-SNAPSHOT:generateApplicationConstants failed: An API incompatibility was encountered while executing org.appng:appng-maven-plugin:1.25.0-SNAPSHOT:generateApplicationConstants: java.lang.ExceptionInInitializerError: null
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.appng:appng-maven-plugin:1.25.0-SNAPSHOT
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/var/lib/jenkins/.m2/repository/org/appng/appng-maven-plugin/1.25.0-SNAPSHOT/appng-maven-plugin-1.25.0-SNAPSHOT.jar
[ERROR] urls[1] = file:/var/lib/jenkins/.m2/repository/org/appng/appng-xmlapi/1.25.0-SNAPSHOT/appng-xmlapi-1.25.0-SNAPSHOT.jar
[ERROR] urls[2] = file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-log4j12/1.7.26/slf4j-log4j12-1.7.26.jar
[ERROR] urls[3] = file:/var/lib/jenkins/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar
[ERROR] urls[4] = file:/var/lib/jenkins/.m2/repository/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar
[ERROR] urls[5] = file:/var/lib/jenkins/.m2/repository/net/sf/saxon/Saxon-HE/10.6/Saxon-HE-10.6.jar
[ERROR] urls[6] = file:/var/lib/jenkins/.m2/repository/javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1.jar
[ERROR] urls[7] = file:/var/lib/jenkins/.m2/repository/commons-io/commons-io/2.6/commons-io-2.6.jar
[ERROR] urls[8] = file:/var/lib/jenkins/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar
[ERROR] urls[9] = file:/var/lib/jenkins/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
[ERROR] urls[10] = file:/var/lib/jenkins/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.2/org.eclipse.sisu.inject-0.3.2.jar
[ERROR] urls[11] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/maven-builder-support/3.3.9/maven-builder-support-3.3.9.jar
[ERROR] urls[12] = file:/var/lib/jenkins/.m2/repository/com/google/guava/guava/31.0.1-jre/guava-31.0.1-jre.jar
[ERROR] urls[13] = file:/var/lib/jenkins/.m2/repository/org/eclipse/aether/aether-util/1.0.2.v20150114/aether-util-1.0.2.v20150114.jar
[ERROR] urls[14] = file:/var/lib/jenkins/.m2/repository/com/google/inject/guice/4.0/guice-4.0-no_aop.jar
[ERROR] urls[15] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
[ERROR] urls[16] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-utils/3.1.0/plexus-utils-3.1.0.jar
[ERROR] urls[17] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar
[ERROR] urls[18] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[19] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[20] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] : error while creating JAXBContext for path 'org.appng.xml.platform'
[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/PluginContainerException
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Results)
[Pipeline] junit
Recording test results
No test report files were found. Configuration error?
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: No test report files were found. Configuration error?
Finished: FAILURE