Triggered by Gerrit: https://git.eclipse.org/r/c/basyx/basyx/+/167887 Checking out git https://git.eclipse.org/r/basyx/basyx into /var/jenkins/workspace/BaSyx_CI_CPP@script to read Jenkinsfile_Cpp No credentials specified Wiping out workspace first. Cloning the remote Git repository Cloning repository https://git.eclipse.org/r/basyx/basyx > git init /var/jenkins/workspace/BaSyx_CI_CPP@script # timeout=10 Fetching upstream changes from https://git.eclipse.org/r/basyx/basyx > git --version # timeout=10 > git fetch --tags --force --progress -- https://git.eclipse.org/r/basyx/basyx +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://git.eclipse.org/r/basyx/basyx # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://git.eclipse.org/r/basyx/basyx # timeout=10 Fetching upstream changes from https://git.eclipse.org/r/basyx/basyx > git fetch --tags --force --progress -- https://git.eclipse.org/r/basyx/basyx refs/changes/87/167887/24 # timeout=10 > git rev-parse 65621d235c33356bbcf42d8bdc2648c44a424198^{commit} # timeout=10 Checking out Revision 65621d235c33356bbcf42d8bdc2648c44a424198 (refs/changes/87/167887/24) > git config core.sparsecheckout # timeout=10 > git checkout -f 65621d235c33356bbcf42d8bdc2648c44a424198 # timeout=10 Commit message: "Test commit to check printing of warning messages in CI pipeline" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk ebc0156af9cedcafe5908a93a1abf8f2321cf9a2 # timeout=10 Running in Durability level: PERFORMANCE_OPTIMIZED [Pipeline] Start of Pipeline [Pipeline] podTemplate [Pipeline] { [Pipeline] node Created Pod: basyx/basyx-null-30-663d3-6w9bq [Normal][basyx/basyx-null-30-663d3-6w9bq][Scheduled] Successfully assigned basyx-null-30-663d3-6w9bq to osnode-23.eclipse.org [Normal][basyx/basyx-null-30-663d3-6w9bq][SuccessfulMountVolume] MountVolume.SetUp succeeded for volume "workspace-volume" [Normal][basyx/basyx-null-30-663d3-6w9bq][SuccessfulMountVolume] MountVolume.SetUp succeeded for volume "volume-known-hosts" [Normal][basyx/basyx-null-30-663d3-6w9bq][SuccessfulMountVolume] MountVolume.SetUp succeeded for volume "default-token-fj2s5" Still waiting to schedule task ‘basyx-null-30-663d3-6w9bq’ is offline [Normal][basyx/basyx-null-30-663d3-6w9bq][Pulled] Container image "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.2.1" already present on machine [Normal][basyx/basyx-null-30-663d3-6w9bq][Created] Created container [Normal][basyx/basyx-null-30-663d3-6w9bq][Started] Started container [Normal][basyx/basyx-null-30-663d3-6w9bq][Pulling] pulling image "iesetps/basyx-ci-cpp:latest" [Normal][basyx/basyx-null-30-663d3-6w9bq][Pulled] Successfully pulled image "iesetps/basyx-ci-cpp:latest" [Normal][basyx/basyx-null-30-663d3-6w9bq][Created] Created container [Normal][basyx/basyx-null-30-663d3-6w9bq][Started] Started container Agent basyx-null-30-663d3-6w9bq is provisioned from template basyx-null-30-663d3 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins-ui.basyx.svc.cluster.local/basyx/job/BaSyx_CI_CPP/30/" runUrl: "job/BaSyx_CI_CPP/30/" labels: jenkins: "slave" jenkins/label: "basyx-null-30" name: "basyx-null-30-663d3-6w9bq" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.basyx.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basyx-null-30-663d3-6w9bq" - name: "JENKINS_NAME" value: "basyx-null-30-663d3-6w9bq" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.basyx.svc.cluster.local/basyx/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.2.1" name: "jnlp" resources: requests: cpu: "100m" memory: "256Mi" volumeMounts: - mountPath: "/home/jenkins/.ssh" name: "volume-known-hosts" - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - command: - "cat" image: "iesetps/basyx-ci-cpp:latest" name: "cpp" resources: limits: memory: "4Gi" cpu: "2.00" requests: memory: "4Gi" cpu: "2.00" tty: true volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false nodeSelector: beta.kubernetes.io/os: "linux" restartPolicy: "Never" securityContext: {} volumes: - emptyDir: medium: "" name: "workspace-volume" - configMap: name: "known-hosts" name: "volume-known-hosts" Running on basyx-null-30-663d3-6w9bq in /home/jenkins/agent/workspace/BaSyx_CI_CPP [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout No credentials specified Wiping out workspace first. Cloning the remote Git repository Cloning repository https://git.eclipse.org/r/basyx/basyx > git init /home/jenkins/agent/workspace/BaSyx_CI_CPP # timeout=10 Fetching upstream changes from https://git.eclipse.org/r/basyx/basyx > git --version # timeout=10 > git fetch --tags --force --progress -- https://git.eclipse.org/r/basyx/basyx +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65621d235c33356bbcf42d8bdc2648c44a424198 (refs/changes/87/167887/24) > git config remote.origin.url https://git.eclipse.org/r/basyx/basyx # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://git.eclipse.org/r/basyx/basyx # timeout=10 Fetching upstream changes from https://git.eclipse.org/r/basyx/basyx > git fetch --tags --force --progress -- https://git.eclipse.org/r/basyx/basyx refs/changes/87/167887/24 # timeout=10 > git rev-parse 65621d235c33356bbcf42d8bdc2648c44a424198^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 65621d235c33356bbcf42d8bdc2648c44a424198 # timeout=10 Commit message: "Test commit to check printing of warning messages in CI pipeline" [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (C++ SDK Tests) [Pipeline] container [Pipeline] { [Pipeline] sh + chmod +x ./ci/build_cpp.sh + ./ci/build_cpp.sh No files changed in C++ SDK. Skipping continous integration tests for C++. [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (SDK Integration Tests) [Pipeline] catchError [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] sshagent [ssh-agent] Using credentials genie.basyx (ssh://genie.basyx@git.eclipse.org) [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) Executing sh script inside container jnlp of pod basyx-null-30-663d3-6w9bq Executing command: "ssh-agent" exit SSH_AUTH_SOCK=/tmp/ssh-wp3Xi4vQV2DR/agent.361; export SSH_AUTH_SOCK; SSH_AGENT_PID=362; export SSH_AGENT_PID; echo Agent pid 362; SSH_AUTH_SOCK=/tmp/ssh-wp3Xi4vQV2DR/agent.361 SSH_AGENT_PID=362 Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/BaSyx_CI_CPP@tmp/private_key_1069662806303093863.key (/home/jenkins/agent/workspace/BaSyx_CI_CPP@tmp/private_key_1069662806303093863.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + ssh -o 'StrictHostKeyChecking=no' -p 29418 gerrit-local gerrit review -m TEST 65621d235c33356bbcf42d8bdc2648c44a424198 Failed to add the host to the list of known hosts (/home/jenkins/.ssh/known_hosts). jenkins@gerrit-local: Permission denied (publickey). [Pipeline] } Executing sh script inside container jnlp of pod basyx-null-30-663d3-6w9bq Executing command: "ssh-agent" "-k" exit unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 362 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // container [Pipeline] } ERROR: script returned exit code 255 [Pipeline] // catchError [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] End of Pipeline Finished: SUCCESS