Push event to branch add-jenkins-build 18:22:40 Connecting to https://api.github.com using GitHub bot (username/token) Obtained Jenkinsfile from 6bd88b79a72c616486348c4defad7f219141c167 [Pipeline] Start of Pipeline [Pipeline] echo [WARNING] label option is deprecated. To use a static pod template, use the 'inheritFrom' option. [Pipeline] podTemplate [Pipeline] { [Pipeline] node Still waiting to schedule task ‘gemini-management-agent-pod-2bjhr-4fcq6’ is offline Created Pod: kubernetes gemini/gemini-management-agent-pod-2bjhr-4fcq6 Agent gemini-management-agent-pod-2bjhr-4fcq6 is provisioned from template gemini-management-agent-pod-2bjhr --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins-ui.gemini.svc.cluster.local/gemini/job/gemini-management-all/job/add-jenkins-build/2/" runUrl: "job/gemini-management-all/job/add-jenkins-build/2/" labels: jenkins: "slave" jenkins/label-digest: "d0c292a4c3bb2a46a90280118649430c474837dc" jenkins/label: "gemini-management-agent-pod" name: "gemini-management-agent-pod-2bjhr-4fcq6" namespace: "gemini" spec: containers: - command: - "cat" image: "maven:3.9.4-eclipse-temurin-8" name: "maven" resources: limits: memory: "2Gi" cpu: "1" requests: memory: "2Gi" cpu: "1" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.gemini.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "gemini-management-agent-pod-2bjhr-4fcq6" - name: "JENKINS_NAME" value: "gemini-management-agent-pod-2bjhr-4fcq6" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.gemini.svc.cluster.local/gemini/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3107.v665000b_51092" name: "jnlp" resources: requests: memory: "256Mi" cpu: "100m" volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false nodeSelector: kubernetes.io/os: "linux" restartPolicy: "Never" volumes: - emptyDir: medium: "" name: "workspace-volume" Running on gemini-management-agent-pod-2bjhr-4fcq6 in /home/jenkins/agent/workspace/management-all_add-jenkins-build [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential github-bot Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/eclipse-gemini/gemini.management.git > git init /home/jenkins/agent/workspace/management-all_add-jenkins-build # timeout=10 Fetching upstream changes from https://github.com/eclipse-gemini/gemini.management.git > git --version # timeout=10 > git --version # 'git version 2.20.1' using GIT_ASKPASS to set credentials GitHub bot (username/token) > git fetch --no-tags --force --progress -- https://github.com/eclipse-gemini/gemini.management.git +refs/heads/add-jenkins-build:refs/remotes/origin/add-jenkins-build # timeout=10 Avoid second fetch Checking out Revision 6bd88b79a72c616486348c4defad7f219141c167 (add-jenkins-build) > git config remote.origin.url https://github.com/eclipse-gemini/gemini.management.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/add-jenkins-build:refs/remotes/origin/add-jenkins-build # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6bd88b79a72c616486348c4defad7f219141c167 # timeout=10 Commit message: "Add basic `Jenkinsfile` to check JIPP job" First time build. Skipping changelog. > git rev-list --no-walk ceeeedf2a8a7e0b23e2b4b136e15e7c19074e190 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Run maven) [Pipeline] container [Pipeline] { [Pipeline] sh + mvn verify [ERROR] Could not create local repository at /.m2/repository -> [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/LocalRepositoryNotAccessibleException [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] End of Pipeline ERROR: script returned exit code 1 GitHub has been notified of this commit’s build result Finished: FAILURE