Started by user Dmitry Kornilov Running as Dmitry Kornilov Agent basic-526cm is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd" jenkins/label: "basic" name: "basic-526cm" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.yasson.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-526cm" - name: "JENKINS_REMOTING_JAVA_OPTS" value: "-showversion -XshowSettings:vm -Xmx256m -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true\ \ -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true" - name: "JAVA_TOOL_OPTIONS" value: "" - name: "_JAVA_OPTIONS" value: "" - name: "OPENJ9_JAVA_OPTIONS" value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle" - name: "JENKINS_NAME" value: "basic-526cm" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.yasson.svc.cluster.local/yasson/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.10.1" imagePullPolicy: "Always" name: "jnlp" resources: limits: cpu: "2000m" memory: "4096Mi" requests: cpu: "1000m" memory: "4096Mi" tty: true volumeMounts: - mountPath: "/home/jenkins/.m2/toolchains.xml" name: "m2-dir" readOnly: true subPath: "toolchains.xml" - mountPath: "/home/jenkins/.mavenrc" name: "m2-dir" readOnly: true subPath: ".mavenrc" - mountPath: "/opt/tools" name: "volume-0" readOnly: false - mountPath: "/home/jenkins" name: "volume-2" readOnly: false - mountPath: "/home/jenkins/.m2/repository" name: "volume-3" readOnly: false - mountPath: "/home/jenkins/.m2/settings-security.xml" name: "m2-secret-dir" readOnly: true subPath: "settings-security.xml" - mountPath: "/home/jenkins/.m2/wrapper" name: "volume-4" readOnly: false - mountPath: "/home/jenkins/.m2/settings.xml" name: "m2-secret-dir" readOnly: true subPath: "settings.xml" - mountPath: "/home/jenkins/.ssh" name: "volume-1" readOnly: false subPath: "" - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false workingDir: "/home/jenkins/agent" nodeSelector: kubernetes.io/os: "linux" restartPolicy: "Never" volumes: - name: "volume-0" persistentVolumeClaim: claimName: "tools-claim-jiro-yasson" readOnly: true - name: "m2-secret-dir" secret: secretName: "m2-secret-dir" - emptyDir: medium: "" name: "volume-2" - configMap: name: "m2-dir" name: "m2-dir" - configMap: name: "known-hosts" name: "volume-1" - emptyDir: medium: "" name: "workspace-volume" - emptyDir: medium: "" name: "volume-4" - emptyDir: medium: "" name: "volume-3" Building remotely on basic-526cm (basic) in workspace /home/jenkins/agent/workspace/yasson-build-1.x [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-pfT0RDpggj5d/agent.68 SSH_AGENT_PID=70 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/yasson-build-1.x@tmp/private_key_9741812949687597696.key (/home/jenkins/agent/workspace/yasson-build-1.x@tmp/private_key_9741812949687597696.key) [ssh-agent] Using credentials yasson-bot (GitHub bot SSH) The recommended git tool is: NONE No credentials specified Cloning the remote Git repository Cloning repository https://github.com/eclipse/yasson.git > git init /home/jenkins/agent/workspace/yasson-build-1.x # timeout=10 Fetching upstream changes from https://github.com/eclipse/yasson.git > git --version # timeout=10 > git --version # 'git version 2.20.1' > git fetch --tags --force --progress -- https://github.com/eclipse/yasson.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/eclipse/yasson.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse origin/1.x^{commit} # timeout=10 Checking out Revision 4b7c4fef0fcdef941cc3946c1885f9eaf507967e (origin/1.x) > git config core.sparsecheckout # timeout=10 > git checkout -f 4b7c4fef0fcdef941cc3946c1885f9eaf507967e # timeout=10 Commit message: "Cherrypick of the bug fixing issues (#520)" First time build. Skipping changelog. [yasson-build-1.x] $ /bin/sh -xe /tmp/jenkins10300521870395223541.sh + gpg --batch --import **** gpg: directory '/home/jenkins/.gnupg' created gpg: keybox '/home/jenkins/.gnupg/pubring.kbx' created gpg: /home/jenkins/.gnupg/trustdb.gpg: trustdb created gpg: key B11A29C468F7EA64: public key "Eclipse Yasson Project <yasson-dev@eclipse.org>" imported gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status gpg: key B11A29C468F7EA64: secret key imported gpg: Total number processed: 1 gpg: imported: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 ++ gpg --list-keys --with-colons ++ awk -F: '/fpr:/ {print $10}' ++ sort -u + for fpr in $(gpg --list-keys --with-colons | awk -F: '/fpr:/ {print $10}' | sort -u) + echo -e '5\ny\n' + gpg --batch --command-fd 0 --expert --edit-key 5FCBD56B27BC981F218DBC24FDE958769183CDB3 trust Secret subkeys are available. pub rsa4096/B11A29C468F7EA64 created: 2017-05-30 expires: 2022-05-29 usage: SCEA trust: unknown validity: unknown ssb rsa4096/FDE958769183CDB3 created: 2017-05-30 expires: 2022-05-29 usage: S [ unknown] (1). Eclipse Yasson Project <yasson-dev@eclipse.org> pub rsa4096/B11A29C468F7EA64 created: 2017-05-30 expires: 2022-05-29 usage: SCEA trust: unknown validity: unknown ssb rsa4096/FDE958769183CDB3 created: 2017-05-30 expires: 2022-05-29 usage: S [ unknown] (1). Eclipse Yasson Project <yasson-dev@eclipse.org> Please decide how far you trust this user to correctly verify other users' keys (by looking at passports, checking fingerprints from different sources, etc.) 1 = I don't know or won't say 2 = I do NOT trust 3 = I trust marginally 4 = I trust fully 5 = I trust ultimately m = back to the main menu pub rsa4096/B11A29C468F7EA64 created: 2017-05-30 expires: 2022-05-29 usage: SCEA trust: ultimate validity: unknown ssb rsa4096/FDE958769183CDB3 created: 2017-05-30 expires: 2022-05-29 usage: S [ unknown] (1). Eclipse Yasson Project <yasson-dev@eclipse.org> Please note that the shown key validity is not necessarily correct unless you restart the program. + for fpr in $(gpg --list-keys --with-colons | awk -F: '/fpr:/ {print $10}' | sort -u) + echo -e '5\ny\n' + gpg --batch --command-fd 0 --expert --edit-key AB70E95978F7F235EE94C920B11A29C468F7EA64 trust Secret subkeys are available. gpg: checking the trustdb gpg: marginals needed: 3 completes needed: 1 trust model: pgp gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u gpg: next trustdb check due at 2022-05-29 pub rsa4096/B11A29C468F7EA64 created: 2017-05-30 expires: 2022-05-29 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/FDE958769183CDB3 created: 2017-05-30 expires: 2022-05-29 usage: S [ultimate] (1). Eclipse Yasson Project <yasson-dev@eclipse.org> pub rsa4096/B11A29C468F7EA64 created: 2017-05-30 expires: 2022-05-29 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/FDE958769183CDB3 created: 2017-05-30 expires: 2022-05-29 usage: S [ultimate] (1). Eclipse Yasson Project <yasson-dev@eclipse.org> Please decide how far you trust this user to correctly verify other users' keys (by looking at passports, checking fingerprints from different sources, etc.) 1 = I don't know or won't say 2 = I do NOT trust 3 = I trust marginally 4 = I trust fully 5 = I trust ultimately m = back to the main menu pub rsa4096/B11A29C468F7EA64 created: 2017-05-30 expires: 2022-05-29 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/FDE958769183CDB3 created: 2017-05-30 expires: 2022-05-29 usage: S [ultimate] (1). Eclipse Yasson Project <yasson-dev@eclipse.org> [yasson-build-1.x] $ /opt/tools/apache-maven/latest/bin/mvn -f pom.xml -Dmaven.repo.local=/home/jenkins/agent/workspace/yasson-build-1.x/.repository dependency:purge-local-repository -B [INFO] Scanning for projects... [INFO] [INFO] -------------------------< org.eclipse:yasson >------------------------- [INFO] Building org.eclipse.yasson 1.0.9-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-dependency-plugin:2.8:purge-local-repository (default-cli) @ yasson --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 23.664 s [INFO] Finished at: 2021-11-29T12:20:45Z [INFO] ------------------------------------------------------------------------ [yasson-build-1.x] $ /opt/tools/apache-maven/latest/bin/mvn -f pom.xml -Dmaven.repo.local=/home/jenkins/agent/workspace/yasson-build-1.x/.repository clean install deploy -Poss-release -B [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.eclipse:yasson >------------------------- [INFO] Building org.eclipse.yasson 1.0.9-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ yasson --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-versions) @ yasson --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven) @ yasson --- [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ yasson --- [INFO] Storing buildNumber: 11/29/2021 12:21 PM at timestamp: 1638188460156 [WARNING] Cannot get the branch information from the git repository: Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref [INFO] Executing: /bin/sh -c cd '/home/jenkins/agent/workspace/yasson-build-1.x' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/jenkins/agent/workspace/yasson-build-1.x [INFO] Storing buildScmBranch: UNKNOWN [INFO] [INFO] --- build-helper-maven-plugin:3.0.0:add-resource (add-resource) @ yasson --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ yasson --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] Copying 2 resources to META-INF [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ yasson --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 221 source files to /home/jenkins/agent/workspace/yasson-build-1.x/target/classes [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (base-compile) @ yasson --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 220 source files to /home/jenkins/agent/workspace/yasson-build-1.x/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ yasson --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ yasson --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 319 source files to /home/jenkins/agent/workspace/yasson-build-1.x/target/test-classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/AbstractJsonbSerializer.java:[15,20] package jakarta.json does not exist [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/AbstractJsonbSerializer.java:[16,20] package jakarta.json does not exist [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/AbstractJsonbSerializer.java:[17,36] package jakarta.json.bind.serializer does not exist [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/AbstractJsonbSerializer.java:[18,36] package jakarta.json.bind.serializer does not exist [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/AbstractJsonbSerializer.java:[19,27] package jakarta.json.stream does not exist [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/AbstractJsonbSerializer.java:[24,52] cannot find symbol symbol: class JsonbSerializer [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/AbstractJsonbSerializer.java:[26,34] cannot find symbol symbol: class JsonGenerator location: class org.eclipse.yasson.serializers.model.AbstractJsonbSerializer<T> [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/AbstractJsonbSerializer.java:[26,59] cannot find symbol symbol: class SerializationContext location: class org.eclipse.yasson.serializers.model.AbstractJsonbSerializer<T> [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/ExplicitJsonbSerializer.java:[15,36] package jakarta.json.bind.serializer does not exist [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/ExplicitJsonbSerializer.java:[20,86] cannot find symbol symbol: class JsonbSerializer [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/AbstractJsonbSerializer.java:[25,5] method does not override or implement a method from a supertype [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/AbstractJsonbSerializer.java:[27,9] cannot find symbol symbol: class JsonStructure location: class org.eclipse.yasson.serializers.model.AbstractJsonbSerializer<T> [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/AbstractJsonbSerializer.java:[27,30] cannot find symbol symbol: variable Json location: class org.eclipse.yasson.serializers.model.AbstractJsonbSerializer<T> [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/SerializersTest.java:[718,60] method withSerializers in class javax.json.bind.JsonbConfig cannot be applied to given types; required: javax.json.bind.serializer.JsonbSerializer[] found: org.eclipse.yasson.serializers.model.ExplicitJsonbSerializer reason: varargs mismatch; org.eclipse.yasson.serializers.model.ExplicitJsonbSerializer cannot be converted to javax.json.bind.serializer.JsonbSerializer [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/SerializersTest.java:[724,54] method withSerializers in class javax.json.bind.JsonbConfig cannot be applied to given types; required: javax.json.bind.serializer.JsonbSerializer[] found: org.eclipse.yasson.serializers.model.ImplicitJsonbSerializer reason: varargs mismatch; org.eclipse.yasson.serializers.model.ImplicitJsonbSerializer cannot be converted to javax.json.bind.serializer.JsonbSerializer [INFO] 15 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 20.687 s [INFO] Finished at: 2021-11-29T12:21:06Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project yasson: Compilation failure: Compilation failure: [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/AbstractJsonbSerializer.java:[15,20] package jakarta.json does not exist [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/AbstractJsonbSerializer.java:[16,20] package jakarta.json does not exist [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/AbstractJsonbSerializer.java:[17,36] package jakarta.json.bind.serializer does not exist [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/AbstractJsonbSerializer.java:[18,36] package jakarta.json.bind.serializer does not exist [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/AbstractJsonbSerializer.java:[19,27] package jakarta.json.stream does not exist [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/AbstractJsonbSerializer.java:[24,52] cannot find symbol [ERROR] symbol: class JsonbSerializer [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/AbstractJsonbSerializer.java:[26,34] cannot find symbol [ERROR] symbol: class JsonGenerator [ERROR] location: class org.eclipse.yasson.serializers.model.AbstractJsonbSerializer<T> [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/AbstractJsonbSerializer.java:[26,59] cannot find symbol [ERROR] symbol: class SerializationContext [ERROR] location: class org.eclipse.yasson.serializers.model.AbstractJsonbSerializer<T> [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/ExplicitJsonbSerializer.java:[15,36] package jakarta.json.bind.serializer does not exist [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/ExplicitJsonbSerializer.java:[20,86] cannot find symbol [ERROR] symbol: class JsonbSerializer [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/AbstractJsonbSerializer.java:[25,5] method does not override or implement a method from a supertype [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/AbstractJsonbSerializer.java:[27,9] cannot find symbol [ERROR] symbol: class JsonStructure [ERROR] location: class org.eclipse.yasson.serializers.model.AbstractJsonbSerializer<T> [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/model/AbstractJsonbSerializer.java:[27,30] cannot find symbol [ERROR] symbol: variable Json [ERROR] location: class org.eclipse.yasson.serializers.model.AbstractJsonbSerializer<T> [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/SerializersTest.java:[718,60] method withSerializers in class javax.json.bind.JsonbConfig cannot be applied to given types; [ERROR] required: javax.json.bind.serializer.JsonbSerializer[] [ERROR] found: org.eclipse.yasson.serializers.model.ExplicitJsonbSerializer [ERROR] reason: varargs mismatch; org.eclipse.yasson.serializers.model.ExplicitJsonbSerializer cannot be converted to javax.json.bind.serializer.JsonbSerializer [ERROR] /home/jenkins/agent/workspace/yasson-build-1.x/src/test/java/org/eclipse/yasson/serializers/SerializersTest.java:[724,54] method withSerializers in class javax.json.bind.JsonbConfig cannot be applied to given types; [ERROR] required: javax.json.bind.serializer.JsonbSerializer[] [ERROR] found: org.eclipse.yasson.serializers.model.ImplicitJsonbSerializer [ERROR] reason: varargs mismatch; org.eclipse.yasson.serializers.model.ImplicitJsonbSerializer cannot be converted to javax.json.bind.serializer.JsonbSerializer [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/MojoFailureException Build step 'Invoke top-level Maven targets' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 70 killed; [ssh-agent] Stopped. Recording test results ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error? [Java CompilerJavaDocSpotBugs] Skipping execution of recorder since overall result is 'FAILURE' Finished: FAILURE