Started by an SCM change Running as SYSTEM Agent basic-l2pwp is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: labels: jenkins: "slave" jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd" jenkins/label: "basic" name: "basic-l2pwp" namespace: "jsonb" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.jsonb.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-l2pwp" - 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-l2pwp" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.jsonb.svc.cluster.local/jsonb/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3160.vd76b_9ddd10cc" 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-jsonb" 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-l2pwp (basic) in workspace /home/jenkins/agent/workspace/jsonb-ee4j-build [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-9JBec2ZiAI6r/agent.48 SSH_AGENT_PID=50 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/jsonb-ee4j-build@tmp/private_key_14126357466842672702.key (/home/jenkins/agent/workspace/jsonb-ee4j-build@tmp/private_key_14126357466842672702.key) [ssh-agent] Using credentials eclipse-jsonb-bot (GitHub bot SSH) The recommended git tool is: NONE using credential github-bot-ssh Cloning the remote Git repository Cloning repository git@github.com:jakartaee/jsonb-api.git > git init /home/jenkins/agent/workspace/jsonb-ee4j-build # timeout=10 Fetching upstream changes from git@github.com:jakartaee/jsonb-api.git > git --version # timeout=10 > git --version # 'git version 2.20.1' using GIT_SSH to set credentials GitHub bot SSH [INFO] Currently running in a labeled security context > /usr/bin/chcon --type=ssh_home_t /home/jenkins/agent/workspace/jsonb-ee4j-build@tmp/jenkins-gitclient-ssh17911549659332315864.key Verifying host key using manually-configured host key entries > git fetch --tags --force --progress -- git@github.com:jakartaee/jsonb-api.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:jakartaee/jsonb-api.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/EE4J_8^{commit} # timeout=10 Checking out Revision a9b43c27d32d72c76629d3e059576bcaf0ed5531 (refs/remotes/origin/EE4J_8) > git config core.sparsecheckout # timeout=10 > git checkout -f a9b43c27d32d72c76629d3e059576bcaf0ed5531 # timeout=10 Commit message: "Copyright is upated to Eclipse Foundation (#173)" First time build. Skipping changelog. [jsonb-ee4j-build] $ /bin/bash -e /tmp/jenkins15258686574191756216.sh -[ GPG Initialization ]--------------------------------------------------------- gpg: directory '/home/jenkins/.gnupg' created gpg: keybox '/home/jenkins/.gnupg/pubring.kbx' created gpg: /home/jenkins/.gnupg/trustdb.gpg: trustdb created gpg: key DB1159D716E4C00E: public key "Eclipse JSON-B Project <jsonb-dev@eclipse.org>" imported gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status gpg: key DB1159D716E4C00E: secret key imported gpg: Total number processed: 1 gpg: imported: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 Secret subkeys are available. pub rsa4096/DB1159D716E4C00E created: 2018-08-14 expires: 2028-08-13 usage: SCEA trust: unknown validity: unknown ssb rsa4096/F3EA0AFA8C40DE73 created: 2018-08-14 expires: 2028-08-13 usage: S [ unknown] (1). Eclipse JSON-B Project <jsonb-dev@eclipse.org> pub rsa4096/DB1159D716E4C00E created: 2018-08-14 expires: 2028-08-13 usage: SCEA trust: unknown validity: unknown ssb rsa4096/F3EA0AFA8C40DE73 created: 2018-08-14 expires: 2028-08-13 usage: S [ unknown] (1). Eclipse JSON-B Project <jsonb-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/DB1159D716E4C00E created: 2018-08-14 expires: 2028-08-13 usage: SCEA trust: ultimate validity: unknown ssb rsa4096/F3EA0AFA8C40DE73 created: 2018-08-14 expires: 2028-08-13 usage: S [ unknown] (1). Eclipse JSON-B Project <jsonb-dev@eclipse.org> Please note that the shown key validity is not necessarily correct unless you restart the program. 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 2028-08-13 pub rsa4096/DB1159D716E4C00E created: 2018-08-14 expires: 2028-08-13 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/F3EA0AFA8C40DE73 created: 2018-08-14 expires: 2028-08-13 usage: S [ultimate] (1). Eclipse JSON-B Project <jsonb-dev@eclipse.org> pub rsa4096/DB1159D716E4C00E created: 2018-08-14 expires: 2028-08-13 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/F3EA0AFA8C40DE73 created: 2018-08-14 expires: 2028-08-13 usage: S [ultimate] (1). Eclipse JSON-B Project <jsonb-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/DB1159D716E4C00E created: 2018-08-14 expires: 2028-08-13 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/F3EA0AFA8C40DE73 created: 2018-08-14 expires: 2028-08-13 usage: S [ultimate] (1). Eclipse JSON-B Project <jsonb-dev@eclipse.org> -[ JSON-B API Build ]----------------------------------------------------------- [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for jakarta.json.bind:jakarta.json.bind-api:jar:1.0.2-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-enforcer-plugin is missing. @ org.eclipse.ee4j:project:1.0.5, /home/jenkins/.m2/repository/org/eclipse/ee4j/project/1.0.5/project-1.0.5.pom, line 162, column 29 [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] 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] --------------< jakarta.json.bind:jakarta.json.bind-api >--------------- [INFO] Building JSON-B API 1.0.2-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ jakarta.json.bind-api --- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven) @ jakarta.json.bind-api --- [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed [INFO] [INFO] --- buildnumber:1.4:create (default) @ jakarta.json.bind-api --- [INFO] Storing buildNumber: 05/23/2024 03:25 AM at timestamp: 1716434749541 [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/jsonb-ee4j-build/api' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/jenkins/agent/workspace/jsonb-ee4j-build/api [INFO] Storing buildScmBranch: UNKNOWN [INFO] [INFO] >>> jxr:3.0.0:jxr (default) > generate-sources @ jakarta.json.bind-api >>> [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven) @ jakarta.json.bind-api --- [INFO] [INFO] --- buildnumber:1.4:create (default) @ jakarta.json.bind-api --- [INFO] Storing buildNumber: 05/23/2024 03:25 AM at timestamp: 1716434749623 [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/jsonb-ee4j-build/api' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/jenkins/agent/workspace/jsonb-ee4j-build/api [INFO] Storing buildScmBranch: UNKNOWN [INFO] [INFO] --- spec-version:1.5:set-spec-properties (default) @ jakarta.json.bind-api --- [INFO] [INFO] -- spec properties -- [INFO] spec.bundle.symbolic-name = jakarta.json.bind-api [INFO] spec.implementation.version = 1.0.2 [INFO] spec.extension.name = jakarta.json.bind [INFO] spec.bundle.spec.version = 1.0 [INFO] spec.specification.version = 1.0 [INFO] spec.bundle.version = 1.0.2 [INFO] [INFO] [INFO] --- resources:3.1.0:copy-resources (copy-sources) @ jakarta.json.bind-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] <<< jxr:3.0.0:jxr (default) < generate-sources @ jakarta.json.bind-api <<< [INFO] [INFO] [INFO] --- jxr:3.0.0:jxr (default) @ jakarta.json.bind-api --- [INFO] FileResourceLoader : adding path '' [INFO] Velocimacro : allowInlineToOverride = true : VMs defined inline may replace previous VM definitions [INFO] [INFO] --- spec-version:1.5:set-spec-properties (default) @ jakarta.json.bind-api --- [INFO] [INFO] -- spec properties -- [INFO] spec.bundle.symbolic-name = jakarta.json.bind-api [INFO] spec.implementation.version = 1.0.2 [INFO] spec.extension.name = jakarta.json.bind [INFO] spec.bundle.spec.version = 1.0 [INFO] spec.specification.version = 1.0 [INFO] spec.bundle.version = 1.0.2 [INFO] [INFO] [INFO] --- resources:3.1.0:copy-resources (copy-sources) @ jakarta.json.bind-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- resources:3.1.0:resources (default-resources) @ jakarta.json.bind-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/jsonb-ee4j-build/api/src/main/resources [INFO] [INFO] --- compiler:3.8.0:compile (default-compile) @ jakarta.json.bind-api --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 32 source files to /home/jenkins/agent/workspace/jsonb-ee4j-build/api/target/classes [WARNING] /home/jenkins/agent/workspace/jsonb-ee4j-build/api/src/main/java/javax/json/bind/spi/JsonbProvider.java:[94,41] newInstance() in java.lang.Class has been deprecated [INFO] [INFO] --- compiler:3.8.0:compile (jdk-11) @ jakarta.json.bind-api --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/jenkins/agent/workspace/jsonb-ee4j-build/api/target/classes [INFO] [INFO] --- glassfish-copyright:1.50:check (default) @ jakarta.json.bind-api --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 44.181 s [INFO] Finished at: 2024-05-23T03:26:02Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.glassfish.copyright:glassfish-copyright-maven-plugin:1.50:check (default) on project jakarta.json.bind-api: Unable to parse configuration of mojo org.glassfish.copyright:glassfish-copyright-maven-plugin:1.50:check for parameter resources: Cannot assign configuration entry 'resources' with value 'null' of type org.apache.maven.model.merge.ModelMerger.MergingList to property of type java.util.ArrayList -> [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/PluginConfigurationException Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 50 killed; [ssh-agent] Stopped. Recording test results No test report files were found. Configuration error? [Checks API] No suitable checks publisher found. Archiving artifacts Finished: FAILURE