Pull request #169 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-virtual-go Loading trusted files from base branch master at 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 rather than 285d57071e3897ad0bd7174dd77f21f1967e75df Obtained Jenkinsfile from 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-30251’ is offline Running on prd-centos7-docker-4c-2g-30252 in /w/workspace/foundry_device-virtual-go_PR-169 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-169 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 into PR head commit 285d57071e3897ad0bd7174dd77f21f1967e75df Merge succeeded, producing 285d57071e3897ad0bd7174dd77f21f1967e75df Checking out Revision 285d57071e3897ad0bd7174dd77f21f1967e75df (PR-169) > git config core.sparsecheckout # timeout=10 > git checkout -f 285d57071e3897ad0bd7174dd77f21f1967e75df # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 285d57071e3897ad0bd7174dd77f21f1967e75df # timeout=10 Commit message: "feat: update driver implementation to reflect v2 profiles" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:57:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:57:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:57:24 ========================================================= 05:57:24 EdgeX Global Pipelines Version Info 05:57:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a8a563f16a92366624110ab09ed6b39fd715c2e6 # timeout=10 05:57:25 ------------------- 05:57:25 stable info: 05:57:25 ------------------- 05:57:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:57:25 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:57:25 Message: update stable to v1.0.186 05:57:26 ------------------- 05:57:26 experimental info: 05:57:26 ------------------- 05:57:26 Commited By: **** collab-it+edgex@linuxfoundation.org 05:57:26 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:57:26 Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:57:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 05:57:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 05:57:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:57:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:57:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:57:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:57:27 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:57:27 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:57:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:57:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:57:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:57:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 05:57:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:57:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:57:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:57:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:57:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:57:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:57:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:57:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:57:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:57:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:57:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:57:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:57:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:57:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:57:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-169 [Pipeline] echo 05:57:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-169 [Pipeline] echo 05:57:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-169 [Pipeline] echo 05:57:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 285d57071e3897ad0bd7174dd77f21f1967e75df [Pipeline] echo 05:57:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 285d570 [Pipeline] echo 05:57:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:57:29 provisioning config files... 05:57:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-169@tmp/config7285686204177754927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:57:30 ---> docker-login.sh 05:57:30 nexus3.edgexfoundry.org:10001 05:57:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:30 Configure a credential helper to remove this warning. See 05:57:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:30 05:57:30 Login Succeeded 05:57:30 nexus3.edgexfoundry.org:10002 05:57:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:30 Configure a credential helper to remove this warning. See 05:57:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:30 05:57:30 Login Succeeded 05:57:30 nexus3.edgexfoundry.org:10003 05:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:31 Configure a credential helper to remove this warning. See 05:57:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:31 05:57:31 Login Succeeded 05:57:31 nexus3.edgexfoundry.org:10004 05:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:31 Configure a credential helper to remove this warning. See 05:57:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:31 05:57:31 Login Succeeded 05:57:31 docker.io 05:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:31 Configure a credential helper to remove this warning. See 05:57:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:31 05:57:31 Login Succeeded 05:57:31 ---> docker-login.sh ends [Pipeline] } 05:57:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:57:32 + git log --format=format:%s -1 285d57071e3897ad0bd7174dd77f21f1967e75df [Pipeline] echo 05:57:32 GIT_COMMIT: 285d57071e3897ad0bd7174dd77f21f1967e75df, Commit Message: feat: update driver implementation to reflect v2 profiles [Pipeline] echo 05:57:32 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:57:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:57:33 05:57:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:57:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:57:34 latest: Pulling from edgex-devops/git-semver 05:57:34 31603596830f: Pulling fs layer 05:57:34 2a8b12db71e7: Pulling fs layer 05:57:34 6ca5941a6612: Pulling fs layer 05:57:34 ecc8261a40a4: Pulling fs layer 05:57:34 ecc8261a40a4: Waiting 05:57:34 2a8b12db71e7: Download complete 05:57:34 31603596830f: Download complete 05:57:34 ecc8261a40a4: Verifying Checksum 05:57:34 ecc8261a40a4: Download complete 05:57:34 6ca5941a6612: Verifying Checksum 05:57:34 6ca5941a6612: Download complete 05:57:34 31603596830f: Pull complete 05:57:34 2a8b12db71e7: Pull complete 05:57:35 6ca5941a6612: Pull complete 05:57:35 ecc8261a40a4: Pull complete 05:57:35 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:57:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:57:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:57:36 prd-centos7-docker-4c-2g-30252 does not seem to be running inside a container 05:57:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-169 -v /w/workspace/foundry_device-virtual-go_PR-169:/w/workspace/foundry_device-virtual-go_PR-169:rw,z -v /w/workspace/foundry_device-virtual-go_PR-169@tmp:/w/workspace/foundry_device-virtual-go_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:57:38 $ docker top 8fc068af7df9395f034dff6fa07667ad5313747fad134466ce2710ef9a0ce156 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:57:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:57:39 [ssh-agent] Looking for ssh-agent implementation... 05:57:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:57:39 $ docker exec 8fc068af7df9395f034dff6fa07667ad5313747fad134466ce2710ef9a0ce156 ssh-agent 05:57:39 SSH_AUTH_SOCK=/tmp/ssh-OOwga5YgR2FH/agent.13 05:57:39 SSH_AGENT_PID=19 05:57:39 Running ssh-add (command line suppressed) 05:57:39 Identity added: /w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_4003505629326313933.key (/w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_4003505629326313933.key) 05:57:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:57:39 + git tag --points-at HEAD [Pipeline] } 05:57:40 $ docker exec --env ******** --env ******** 8fc068af7df9395f034dff6fa07667ad5313747fad134466ce2710ef9a0ce156 ssh-agent -k 05:57:40 unset SSH_AUTH_SOCK; 05:57:40 unset SSH_AGENT_PID; 05:57:40 echo Agent pid 19 killed; 05:57:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:57:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:57:40 [ssh-agent] Looking for ssh-agent implementation... 05:57:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:57:40 $ docker exec 8fc068af7df9395f034dff6fa07667ad5313747fad134466ce2710ef9a0ce156 ssh-agent 05:57:40 SSH_AUTH_SOCK=/tmp/ssh-PVDKDhcZMh2c/agent.48 05:57:40 SSH_AGENT_PID=53 05:57:40 Running ssh-add (command line suppressed) 05:57:40 Identity added: /w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_4440739785629781990.key (/w/workspace/foundry_device-virtual-go_PR-169@tmp/private_key_4440739785629781990.key) 05:57:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:57:41 + git semver init 05:57:41 # -> Open(): unable to determine branch for HEAD 05:57:41 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-169/.git 05:57:41 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-169 05:57:41 # $SEMVER_REMOTE_NAME = origin 05:57:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:57:41 # $SEMVER_USER_NAME = edgex-jenkins 05:57:41 # $SEMVER_BRANCH = PR-169 05:57:41 # $SEMVER_TEMP = /tmp/semver-047054329 05:57:41 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 05:57:41 # '/tmp/semver-047054329' -> '/w/workspace/foundry_device-virtual-go_PR-169/.semver' 05:57:41 # -> Force: false 05:57:41 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-169/.semver [Pipeline] } 05:57:41 $ docker exec --env ******** --env ******** 8fc068af7df9395f034dff6fa07667ad5313747fad134466ce2710ef9a0ce156 ssh-agent -k 05:57:41 unset SSH_AUTH_SOCK; 05:57:41 unset SSH_AGENT_PID; 05:57:41 echo Agent pid 53 killed; 05:57:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:57:42 + git semver [Pipeline] } 05:57:42 $ docker stop --time=1 8fc068af7df9395f034dff6fa07667ad5313747fad134466ce2710ef9a0ce156 05:57:43 $ docker rm -f 8fc068af7df9395f034dff6fa07667ad5313747fad134466ce2710ef9a0ce156 [Pipeline] // withDockerContainer [Pipeline] sh 05:57:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:57:44 Stashed 1 file(s) [Pipeline] echo 05:57:44 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 05:58:00 Still waiting to schedule task 05:58:00 ‘prd-centos7-docker-4c-2g-30251’ is offline; ‘prd-centos7-docker-4c-2g-30253’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ doesn’t have label ‘centos7-docker-4c-2g’ 05:58:00 Still waiting to schedule task 05:58:00 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:59:44 Running on prd-ubuntu18.04-docker-arm64-4c-16g-30254 in /w/workspace/foundry_device-virtual-go_PR-169 [Pipeline] { [Pipeline] ws 05:59:44 Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout 05:59:49 using credential edgex-jenkins-ssh 05:59:50 Cloning the remote Git repository 05:59:50 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:59:50 > git init /w/workspace/device-virtual-go/4 # timeout=10 05:59:50 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:59:50 > git --version # timeout=10 05:59:50 > git --version # 'git version 2.17.1' 05:59:50 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:59:51 Merging remotes/origin/master commit 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 into PR head commit 285d57071e3897ad0bd7174dd77f21f1967e75df [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node 05:59:51 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:59:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:59:51 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:59:51 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:59:51 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:51 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:59:52 > git config core.sparsecheckout # timeout=10 05:59:52 > git checkout -f 285d57071e3897ad0bd7174dd77f21f1967e75df # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] } 05:59:52 Failed in branch arm64 06:00:19 Running on prd-centos7-docker-4c-2g-30256 in /w/workspace/foundry_device-virtual-go_PR-169 [Pipeline] { [Pipeline] ws 06:00:19 Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout 06:00:22 using credential edgex-jenkins-ssh 06:00:22 Cloning the remote Git repository 06:00:22 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:00:22 > git init /w/workspace/device-virtual-go/4 # timeout=10 06:00:22 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:00:22 > git --version # timeout=10 06:00:22 > git --version # 'git version 2.24.3' 06:00:22 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:23 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:00:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:23 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:00:23 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:00:23 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:00:23 Merging remotes/origin/master commit 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 into PR head commit 285d57071e3897ad0bd7174dd77f21f1967e75df [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:00:23 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) 06:00:23 > git config core.sparsecheckout # timeout=10 06:00:23 > git checkout -f 285d57071e3897ad0bd7174dd77f21f1967e75df # timeout=10 Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:00:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:00:27 ---> package-listing.sh 06:00:27 ++ facter osfamily 06:00:27 ++ tr '[:upper:]' '[:lower:]' 06:00:27 + OS_FAMILY=redhat 06:00:27 + workspace=/w/workspace/foundry_device-virtual-go_PR-169 06:00:27 + START_PACKAGES=/tmp/packages_start.txt 06:00:27 + END_PACKAGES=/tmp/packages_end.txt 06:00:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:00:27 + PACKAGES=/tmp/packages_start.txt 06:00:27 + '[' /w/workspace/foundry_device-virtual-go_PR-169 ']' 06:00:27 + PACKAGES=/tmp/packages_end.txt 06:00:27 + case "${OS_FAMILY}" in 06:00:27 + rpm -qa 06:00:27 + sort 06:00:32 + '[' -f /tmp/packages_start.txt ']' 06:00:32 + '[' -f /tmp/packages_end.txt ']' 06:00:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:00:32 + '[' /w/workspace/foundry_device-virtual-go_PR-169 ']' 06:00:32 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-169/archives/ 06:00:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-169/archives/ [Pipeline] echo 06:00:32 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-169/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:00:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:00:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:00:32 06:00:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:00:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:00:33 alpine: Pulling from edgex-lftools-log-publisher 06:00:33 df20fa9351a1: Pulling fs layer 06:00:33 36b3adc4ff6f: Pulling fs layer 06:00:33 8ad3a11d3b57: Pulling fs layer 06:00:33 46f8f816bc3b: Pulling fs layer 06:00:33 93b61091891f: Pulling fs layer 06:00:33 93b9cdb0e59b: Pulling fs layer 06:00:33 5e14af77c1be: Pulling fs layer 06:00:33 01666e4c0597: Pulling fs layer 06:00:33 aa168da1d23b: Pulling fs layer 06:00:33 5e14af77c1be: Waiting 06:00:33 93b61091891f: Waiting 06:00:33 46f8f816bc3b: Waiting 06:00:33 93b9cdb0e59b: Waiting 06:00:33 aa168da1d23b: Waiting 06:00:33 36b3adc4ff6f: Verifying Checksum 06:00:33 36b3adc4ff6f: Download complete 06:00:33 46f8f816bc3b: Verifying Checksum 06:00:33 46f8f816bc3b: Download complete 06:00:33 df20fa9351a1: Verifying Checksum 06:00:33 df20fa9351a1: Download complete 06:00:33 93b9cdb0e59b: Verifying Checksum 06:00:33 93b9cdb0e59b: Download complete 06:00:33 5e14af77c1be: Verifying Checksum 06:00:33 5e14af77c1be: Download complete 06:00:33 01666e4c0597: Verifying Checksum 06:00:33 01666e4c0597: Download complete 06:00:33 8ad3a11d3b57: Verifying Checksum 06:00:33 8ad3a11d3b57: Download complete 06:00:33 93b61091891f: Verifying Checksum 06:00:33 93b61091891f: Download complete 06:00:33 df20fa9351a1: Pull complete 06:00:34 36b3adc4ff6f: Pull complete 06:00:35 8ad3a11d3b57: Pull complete 06:00:35 46f8f816bc3b: Pull complete 06:00:35 93b61091891f: Pull complete 06:00:35 aa168da1d23b: Verifying Checksum 06:00:35 93b9cdb0e59b: Pull complete 06:00:35 5e14af77c1be: Pull complete 06:00:36 01666e4c0597: Pull complete 06:00:44 aa168da1d23b: Pull complete 06:00:44 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:00:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:00:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:00:44 prd-centos7-docker-4c-2g-30252 does not seem to be running inside a container 06:00:44 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-169/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-169 -v /w/workspace/foundry_device-virtual-go_PR-169:/w/workspace/foundry_device-virtual-go_PR-169:rw,z -v /w/workspace/foundry_device-virtual-go_PR-169@tmp:/w/workspace/foundry_device-virtual-go_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:00:48 $ docker top 541d1ac234c8683ae2f83e5051ee6b0d4ee1292c8b2b8d4734d602eaf97757dd -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:48 + touch /tmp/pre-build-complete [Pipeline] sh 06:00:49 + mkdir -p /var/log/sa [Pipeline] sh 06:00:49 + ls /var/log/sa-host 06:00:49 + sadf -c /var/log/sa-host/sa18 06:00:49 file_magic: OK 06:00:49 HZ: Using current value: 100 06:00:49 file_header: OK 06:00:49 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:00:49 Statistics: 06:00:49 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:00:49 File successfully converted to sysstat format version 12.2.1 06:00:49 + sadf -c /var/log/sa-host/sa23 06:00:49 file_magic: OK 06:00:49 HZ: Using current value: 100 06:00:49 file_header: OK 06:00:49 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:00:49 Statistics: 06:00:49 Hnuu...uuuununununu... 06:00:49 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:49 provisioning config files... 06:00:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-169@tmp/config1046110399704965955tmp [Pipeline] { [Pipeline] echo 06:00:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:00:50 ---> create-netrc.sh [Pipeline] } 06:00:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:00:50 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:00:50 ---> python-tools-install.sh [Pipeline] echo 06:00:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:00:50 ---> sudo-logs.sh 06:00:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:00:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:00:51 ---> job-cost.sh 06:00:51 lf-activate-venv: SKIPPING 06:00:51 INFO: No Stack... 06:00:52 INFO: Retrieving Pricing Info for: v1-standard-2 06:00:52 INFO: Archiving Costs [Pipeline] echo 06:00:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:00:52 ---> logs-deploy.sh 06:00:52 lf-activate-venv: SKIPPING 06:00:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-169/4 06:00:52 INFO: archiving workspace using pattern(s): 06:00:54 Archives upload complete. 06:00:54 INFO: archiving logs to Nexus