Pull request #179 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cb1d17677de78e009a913bd9b3fbfbba9ad1a211+0ad834929aa8e9ec52e16888807ba544aec55768 (f90d071dfc63ff3e4e7b38679d55155b99636991) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-33149 in /w/workspace/foundry_device-virtual-go_PR-179 [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-179 # 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 Merging remotes/origin/master commit 0ad834929aa8e9ec52e16888807ba544aec55768 into PR head commit cb1d17677de78e009a913bd9b3fbfbba9ad1a211 Merge succeeded, producing cb1d17677de78e009a913bd9b3fbfbba9ad1a211 Checking out Revision cb1d17677de78e009a913bd9b3fbfbba9ad1a211 (PR-179) > 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/179/head:refs/remotes/origin/PR-179 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb1d17677de78e009a913bd9b3fbfbba9ad1a211 # 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 0ad834929aa8e9ec52e16888807ba544aec55768 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb1d17677de78e009a913bd9b3fbfbba9ad1a211 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:55:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 00b819b7d5a979fc6366b31ba6c26e96c7b92f42 # timeout=10 09:55:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:55:12 ========================================================= 09:55:12 EdgeX Global Pipelines Version Info 09:55:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:55:13 ------------------- 09:55:13 stable info: 09:55:13 ------------------- 09:55:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:55:13 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 09:55:13 Message: update stable to v1.0.186 09:55:14 ------------------- 09:55:14 experimental info: 09:55:14 ------------------- 09:55:14 Commited By: **** collab-it+edgex@linuxfoundation.org 09:55:14 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 09:55:14 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:55:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 09:55:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 09:55:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:55:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:55:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:55:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:55:15 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:55:15 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:55:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:55:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:55:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:55:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 09:55:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:55:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:55:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:55:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:55:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:55:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:55:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:55:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:55:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:55:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:55:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:55:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:55:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:55:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:55:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-179 [Pipeline] echo 09:55:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-179 [Pipeline] echo 09:55:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-179 [Pipeline] echo 09:55:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cb1d17677de78e009a913bd9b3fbfbba9ad1a211 [Pipeline] echo 09:55:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cb1d176 [Pipeline] echo 09:55:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:55:18 provisioning config files... 09:55:18 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-179@tmp/config6004713302104010108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:55:18 ---> docker-login.sh 09:55:18 nexus3.edgexfoundry.org:10001 09:55:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:19 Configure a credential helper to remove this warning. See 09:55:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:19 09:55:19 Login Succeeded 09:55:19 nexus3.edgexfoundry.org:10002 09:55:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:19 Configure a credential helper to remove this warning. See 09:55:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:19 09:55:19 Login Succeeded 09:55:19 nexus3.edgexfoundry.org:10003 09:55:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:19 Configure a credential helper to remove this warning. See 09:55:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:19 09:55:19 Login Succeeded 09:55:19 nexus3.edgexfoundry.org:10004 09:55:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:19 Configure a credential helper to remove this warning. See 09:55:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:19 09:55:19 Login Succeeded 09:55:19 docker.io 09:55:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:19 Configure a credential helper to remove this warning. See 09:55:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:19 09:55:19 Login Succeeded 09:55:19 ---> docker-login.sh ends [Pipeline] } 09:55:19 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 09:55:20 + git log --format=format:%s -1 cb1d17677de78e009a913bd9b3fbfbba9ad1a211 [Pipeline] echo 09:55:20 GIT_COMMIT: cb1d17677de78e009a913bd9b3fbfbba9ad1a211, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 09:55:20 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:55:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:55:21 09:55:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:55:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:55:21 latest: Pulling from edgex-devops/git-semver 09:55:21 31603596830f: Pulling fs layer 09:55:21 2a8b12db71e7: Pulling fs layer 09:55:21 6ca5941a6612: Pulling fs layer 09:55:21 ecc8261a40a4: Pulling fs layer 09:55:21 ecc8261a40a4: Waiting 09:55:21 2a8b12db71e7: Verifying Checksum 09:55:21 2a8b12db71e7: Download complete 09:55:22 31603596830f: Verifying Checksum 09:55:22 31603596830f: Download complete 09:55:22 ecc8261a40a4: Verifying Checksum 09:55:22 ecc8261a40a4: Download complete 09:55:22 6ca5941a6612: Verifying Checksum 09:55:22 6ca5941a6612: Download complete 09:55:22 31603596830f: Pull complete 09:55:22 2a8b12db71e7: Pull complete 09:55:23 6ca5941a6612: Pull complete 09:55:23 ecc8261a40a4: Pull complete 09:55:23 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:55:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:55:23 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:55:23 prd-centos7-docker-4c-2g-33149 does not seem to be running inside a container 09:55:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-179 -v /w/workspace/foundry_device-virtual-go_PR-179:/w/workspace/foundry_device-virtual-go_PR-179:rw,z -v /w/workspace/foundry_device-virtual-go_PR-179@tmp:/w/workspace/foundry_device-virtual-go_PR-179@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:55:25 $ docker top cedc358d4fdaeb73503ba139a6da5329a3722c65a37cceacc9d02a9ad182054e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:55:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:55:26 [ssh-agent] Looking for ssh-agent implementation... 09:55:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:55:26 $ docker exec cedc358d4fdaeb73503ba139a6da5329a3722c65a37cceacc9d02a9ad182054e ssh-agent 09:55:26 SSH_AUTH_SOCK=/tmp/ssh-8sYZMO0d6YHs/agent.11 09:55:26 SSH_AGENT_PID=16 09:55:26 Running ssh-add (command line suppressed) 09:55:26 Identity added: /w/workspace/foundry_device-virtual-go_PR-179@tmp/private_key_5467794659519675652.key (/w/workspace/foundry_device-virtual-go_PR-179@tmp/private_key_5467794659519675652.key) 09:55:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:55:27 + git tag --points-at HEAD [Pipeline] } 09:55:27 $ docker exec --env ******** --env ******** cedc358d4fdaeb73503ba139a6da5329a3722c65a37cceacc9d02a9ad182054e ssh-agent -k 09:55:27 unset SSH_AUTH_SOCK; 09:55:27 unset SSH_AGENT_PID; 09:55:27 echo Agent pid 16 killed; 09:55:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:55:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:55:27 [ssh-agent] Looking for ssh-agent implementation... 09:55:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:55:27 $ docker exec cedc358d4fdaeb73503ba139a6da5329a3722c65a37cceacc9d02a9ad182054e ssh-agent 09:55:27 SSH_AUTH_SOCK=/tmp/ssh-qiuLeqzEL2D1/agent.46 09:55:27 SSH_AGENT_PID=51 09:55:27 Running ssh-add (command line suppressed) 09:55:27 Identity added: /w/workspace/foundry_device-virtual-go_PR-179@tmp/private_key_3668133587323485267.key (/w/workspace/foundry_device-virtual-go_PR-179@tmp/private_key_3668133587323485267.key) 09:55:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:55:28 + git semver init 09:55:28 # -> Open(): unable to determine branch for HEAD 09:55:28 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-179/.git 09:55:28 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-179 09:55:28 # $SEMVER_REMOTE_NAME = origin 09:55:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:55:28 # $SEMVER_USER_NAME = edgex-jenkins 09:55:28 # $SEMVER_BRANCH = PR-179 09:55:28 # $SEMVER_TEMP = /tmp/semver-951188185 09:55:28 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 09:55:28 # '/tmp/semver-951188185' -> '/w/workspace/foundry_device-virtual-go_PR-179/.semver' 09:55:28 # -> Force: false 09:55:28 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-179/.semver [Pipeline] } 09:55:28 $ docker exec --env ******** --env ******** cedc358d4fdaeb73503ba139a6da5329a3722c65a37cceacc9d02a9ad182054e ssh-agent -k 09:55:28 unset SSH_AUTH_SOCK; 09:55:28 unset SSH_AGENT_PID; 09:55:28 echo Agent pid 51 killed; 09:55:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:55:29 + git semver [Pipeline] } 09:55:29 $ docker stop --time=1 cedc358d4fdaeb73503ba139a6da5329a3722c65a37cceacc9d02a9ad182054e 09:55:30 $ docker rm -f cedc358d4fdaeb73503ba139a6da5329a3722c65a37cceacc9d02a9ad182054e [Pipeline] // withDockerContainer [Pipeline] sh 09:55:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:55:31 Stashed 1 file(s) [Pipeline] echo 09:55:31 [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 09:55:47 Still waiting to schedule task 09:55:47 ‘prd-centos7-blackbox-4c-2g-32647’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-32765’ is offline; ‘prd-centos7-docker-4c-2g-32816’ is offline; ‘prd-centos7-docker-4c-2g-33150’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-32989’ doesn’t have label ‘centos7-docker-4c-2g’ 09:55:47 Still waiting to schedule task 09:55:47 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 09:58:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-33151 in /w/workspace/foundry_device-virtual-go_PR-179 [Pipeline] { [Pipeline] ws 09:58:53 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 09:58:56 Running on prd-centos7-docker-4c-2g-33152 in /w/workspace/foundry_device-virtual-go_PR-179 [Pipeline] { [Pipeline] ws 09:58:56 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 09:58:59 using credential edgex-jenkins-ssh 09:58:59 Cloning the remote Git repository 09:58:59 using credential edgex-jenkins-ssh 09:58:59 Cloning the remote Git repository 09:58:59 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 09:58:59 > git init /w/workspace/device-virtual-go/2 # timeout=10 09:58:59 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:58:59 > git --version # timeout=10 09:58:59 > git --version # 'git version 2.24.3' 09:58:59 using GIT_SSH to set credentials SSH Credentials for GitHub 09:58:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:59:00 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:59:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:59:00 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:59:00 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:59:00 using GIT_SSH to set credentials SSH Credentials for GitHub 09:59:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:58:59 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 09:58:59 > git init /w/workspace/device-virtual-go/2 # timeout=10 09:58:59 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:58:59 > git --version # timeout=10 09:58:59 > git --version # 'git version 2.17.1' 09:58:59 using GIT_SSH to set credentials SSH Credentials for GitHub 09:59:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:59:00 Merging remotes/origin/master commit 0ad834929aa8e9ec52e16888807ba544aec55768 into PR head commit cb1d17677de78e009a913bd9b3fbfbba9ad1a211 09:59:00 Merge succeeded, producing cb1d17677de78e009a913bd9b3fbfbba9ad1a211 09:59:00 Checking out Revision cb1d17677de78e009a913bd9b3fbfbba9ad1a211 (PR-179) 09:59:00 > git config core.sparsecheckout # timeout=10 09:59:00 > git checkout -f cb1d17677de78e009a913bd9b3fbfbba9ad1a211 # timeout=10 09:59:00 > git remote # timeout=10 09:59:00 > git config --get remote.origin.url # timeout=10 09:59:00 using GIT_SSH to set credentials SSH Credentials for GitHub 09:59:00 > git merge 0ad834929aa8e9ec52e16888807ba544aec55768 # timeout=10 09:59:00 > git rev-parse HEAD^{commit} # timeout=10 09:59:00 > git config core.sparsecheckout # timeout=10 09:59:00 > git checkout -f cb1d17677de78e009a913bd9b3fbfbba9ad1a211 # timeout=10 09:59:00 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:59:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:59:00 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:59:00 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:59:00 using GIT_SSH to set credentials SSH Credentials for GitHub 09:59:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:59:01 Merging remotes/origin/master commit 0ad834929aa8e9ec52e16888807ba544aec55768 into PR head commit cb1d17677de78e009a913bd9b3fbfbba9ad1a211 09:59:02 Merge succeeded, producing cb1d17677de78e009a913bd9b3fbfbba9ad1a211 09:59:02 Checking out Revision cb1d17677de78e009a913bd9b3fbfbba9ad1a211 (PR-179) 09:59:01 > git config core.sparsecheckout # timeout=10 09:59:01 > git checkout -f cb1d17677de78e009a913bd9b3fbfbba9ad1a211 # timeout=10 09:59:01 > git remote # timeout=10 09:59:01 > git config --get remote.origin.url # timeout=10 09:59:02 using GIT_SSH to set credentials SSH Credentials for GitHub 09:59:02 > git merge 0ad834929aa8e9ec52e16888807ba544aec55768 # timeout=10 09:59:02 > git rev-parse HEAD^{commit} # timeout=10 09:59:02 > git config core.sparsecheckout # timeout=10 09:59:02 > git checkout -f cb1d17677de78e009a913bd9b3fbfbba9ad1a211 # timeout=10 09:59:04 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:59:05 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:59:06 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:59:06 + sudo service docker restart 09:59:06 + true 09:59:06 Redirecting to /bin/systemctl restart docker.service 09:59:06 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:59:07 provisioning config files... 09:59:07 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config4049799486446799343tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 09:59:08 ---> docker-login.sh 09:59:08 nexus3.edgexfoundry.org:10001 [Pipeline] sh 09:59:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:08 Configure a credential helper to remove this warning. See 09:59:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:08 09:59:08 Login Succeeded 09:59:08 nexus3.edgexfoundry.org:10002 09:59:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:08 Configure a credential helper to remove this warning. See 09:59:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:08 09:59:08 Login Succeeded 09:59:08 nexus3.edgexfoundry.org:10003 09:59:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:09 Configure a credential helper to remove this warning. See 09:59:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:09 09:59:09 Login Succeeded 09:59:09 nexus3.edgexfoundry.org:10004 09:59:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:09 Configure a credential helper to remove this warning. See 09:59:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:09 09:59:09 Login Succeeded 09:59:09 docker.io 09:59:09 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:59:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:09 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:59:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:09 Configure a credential helper to remove this warning. See 09:59:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:09 09:59:09 Login Succeeded 09:59:09 ---> docker-login.sh ends [Pipeline] } 09:59:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 09:59:09 + true 09:59:09 + sudo service docker restart [Pipeline] echo 09:59:10 ========================================================= 09:59:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:59:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:59:10 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 09:59:10 Sending build context to Docker daemon 501.8kB 09:59:10 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:59:10 Step 2/8 : FROM ${BASE} 09:59:10 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:59:10 188c0c94c7c5: Pulling fs layer 09:59:10 0ef7d3d256c8: Pulling fs layer 09:59:10 de9db76c5a1d: Pulling fs layer 09:59:10 bca2f99d35d6: Pulling fs layer 09:59:10 93359f2a8cfa: Pulling fs layer 09:59:10 7c6f9722023f: Pulling fs layer 09:59:10 a35cf1a2eb13: Pulling fs layer 09:59:10 bca2f99d35d6: Waiting 09:59:10 93359f2a8cfa: Waiting 09:59:10 7c6f9722023f: Waiting 09:59:10 a35cf1a2eb13: Waiting 09:59:10 de9db76c5a1d: Verifying Checksum 09:59:10 de9db76c5a1d: Download complete 09:59:10 0ef7d3d256c8: Verifying Checksum 09:59:10 0ef7d3d256c8: Download complete 09:59:10 93359f2a8cfa: Download complete 09:59:10 7c6f9722023f: Verifying Checksum 09:59:10 7c6f9722023f: Download complete 09:59:10 188c0c94c7c5: Verifying Checksum 09:59:10 188c0c94c7c5: Download complete 09:59:10 188c0c94c7c5: Pull complete 09:59:11 0ef7d3d256c8: Pull complete 09:59:11 de9db76c5a1d: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:59:12 provisioning config files... 09:59:12 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config8464353355182610151tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:59:13 a35cf1a2eb13: Verifying Checksum 09:59:13 a35cf1a2eb13: Download complete 09:59:13 ---> docker-login.sh 09:59:13 nexus3.edgexfoundry.org:10001 09:59:13 bca2f99d35d6: Verifying Checksum 09:59:13 bca2f99d35d6: Download complete 09:59:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:14 Configure a credential helper to remove this warning. See 09:59:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:14 09:59:14 Login Succeeded 09:59:14 nexus3.edgexfoundry.org:10002 09:59:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:14 Configure a credential helper to remove this warning. See 09:59:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:14 09:59:14 Login Succeeded 09:59:14 nexus3.edgexfoundry.org:10003 09:59:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:15 Configure a credential helper to remove this warning. See 09:59:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:15 09:59:15 Login Succeeded 09:59:15 nexus3.edgexfoundry.org:10004 09:59:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:16 Configure a credential helper to remove this warning. See 09:59:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:16 09:59:16 Login Succeeded 09:59:16 docker.io 09:59:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:16 Configure a credential helper to remove this warning. See 09:59:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:16 09:59:16 Login Succeeded 09:59:16 ---> docker-login.sh ends [Pipeline] } 09:59:16 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:59:17 ========================================================= 09:59:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:59:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:59:17 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 09:59:17 Sending build context to Docker daemon 500.7kB 09:59:17 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:59:17 Step 2/8 : FROM ${BASE} 09:59:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:59:18 5f621e34cdf4: Pulling fs layer 09:59:18 a4357932f1b6: Pulling fs layer 09:59:18 18c013af1878: Pulling fs layer 09:59:18 00ac8860ef70: Pulling fs layer 09:59:18 63d7cb157983: Pulling fs layer 09:59:18 b116817d02f9: Pulling fs layer 09:59:18 745a02a5169b: Pulling fs layer 09:59:18 63d7cb157983: Waiting 09:59:18 b116817d02f9: Waiting 09:59:18 745a02a5169b: Waiting 09:59:18 00ac8860ef70: Waiting 09:59:18 18c013af1878: Verifying Checksum 09:59:18 18c013af1878: Download complete 09:59:18 a4357932f1b6: Verifying Checksum 09:59:18 a4357932f1b6: Download complete 09:59:18 63d7cb157983: Verifying Checksum 09:59:18 63d7cb157983: Download complete 09:59:18 b116817d02f9: Verifying Checksum 09:59:18 b116817d02f9: Download complete 09:59:18 5f621e34cdf4: Verifying Checksum 09:59:18 5f621e34cdf4: Download complete 09:59:18 5f621e34cdf4: Pull complete 09:59:18 bca2f99d35d6: Pull complete 09:59:18 93359f2a8cfa: Pull complete 09:59:18 7c6f9722023f: Pull complete 09:59:19 a4357932f1b6: Pull complete 09:59:19 18c013af1878: Pull complete 09:59:21 745a02a5169b: Verifying Checksum 09:59:21 745a02a5169b: Download complete 09:59:22 00ac8860ef70: Verifying Checksum 09:59:22 00ac8860ef70: Download complete 09:59:24 a35cf1a2eb13: Pull complete 09:59:24 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 09:59:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:59:24 ---> a62c8e92a672 09:59:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 09:59:24 ---> Running in 6d58ccd6127f 09:59:24 Removing intermediate container 6d58ccd6127f 09:59:24 ---> 34fc6352c133 09:59:24 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:59:24 ---> Running in fc20b037f927 09:59:25 Removing intermediate container fc20b037f927 09:59:25 ---> 2e741d71a5f0 09:59:25 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 09:59:25 ---> Running in 4fc21c311da0 09:59:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:59:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:59:26 (1/13) Installing libc-dev (0.7.2-r3) 09:59:26 (2/13) Installing libsodium (1.0.18-r0) 09:59:27 (3/13) Installing pkgconf (1.7.2-r0) 09:59:27 (4/13) Installing libsodium-dev (1.0.18-r0) 09:59:27 (5/13) Installing openssh-keygen (8.3_p1-r2) 09:59:27 (6/13) Installing libedit (20191231.3.1-r0) 09:59:27 (7/13) Installing openssh-client (8.3_p1-r2) 09:59:28 (8/13) Installing openssh-sftp-server (8.3_p1-r2) 09:59:28 (9/13) Installing openssh-server-common (8.3_p1-r2) 09:59:28 (10/13) Installing openssh-server (8.3_p1-r2) 09:59:28 (11/13) Installing openssh (8.3_p1-r2) 09:59:28 (12/13) Installing libzmq (4.3.3-r0) 09:59:28 (13/13) Installing zeromq-dev (4.3.3-r0) 09:59:28 Executing busybox-1.31.1-r19.trigger 09:59:28 OK: 173 MiB in 52 packages 09:59:29 Removing intermediate container 4fc21c311da0 09:59:29 ---> 57cc060d80e0 09:59:29 Step 6/8 : WORKDIR /device-virtual-go 09:59:29 ---> Running in 0b011eac437e 09:59:29 Removing intermediate container 0b011eac437e 09:59:29 ---> 45c8995f17fe 09:59:29 Step 7/8 : COPY . . 09:59:30 ---> 597dea626907 09:59:30 Step 8/8 : RUN go mod download 09:59:30 ---> Running in 57743c71d3f0 09:59:32 00ac8860ef70: Pull complete 09:59:32 63d7cb157983: Pull complete 09:59:33 b116817d02f9: Pull complete 09:59:37 745a02a5169b: Pull complete 09:59:37 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 09:59:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:59:37 ---> b7e6874047d6 09:59:37 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 09:59:40 ---> Running in 2fd706f2e536 09:59:40 Removing intermediate container 2fd706f2e536 09:59:40 ---> b56c54a8417f 09:59:40 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:59:40 ---> Running in 6790db7fbc38 09:59:43 Removing intermediate container 6790db7fbc38 09:59:43 ---> c4dc87acc395 09:59:43 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 09:59:43 ---> Running in c561e0fedb94 09:59:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:59:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:59:45 (1/13) Installing libc-dev (0.7.2-r3) 09:59:45 (2/13) Installing libsodium (1.0.18-r0) 09:59:45 (3/13) Installing pkgconf (1.7.2-r0) 09:59:45 (4/13) Installing libsodium-dev (1.0.18-r0) 09:59:46 (5/13) Installing openssh-keygen (8.3_p1-r2) 09:59:46 (6/13) Installing libedit (20191231.3.1-r0) 09:59:46 (7/13) Installing openssh-client (8.3_p1-r2) 09:59:47 (8/13) Installing openssh-sftp-server (8.3_p1-r2) 09:59:47 (9/13) Installing openssh-server-common (8.3_p1-r2) 09:59:47 (10/13) Installing openssh-server (8.3_p1-r2) 09:59:47 (11/13) Installing openssh (8.3_p1-r2) 09:59:47 (12/13) Installing libzmq (4.3.3-r0) 09:59:47 (13/13) Installing zeromq-dev (4.3.3-r0) 09:59:47 Executing busybox-1.31.1-r19.trigger 09:59:47 OK: 149 MiB in 52 packages 09:59:49 Removing intermediate container c561e0fedb94 09:59:49 ---> a97960fda5f8 09:59:49 Step 6/8 : WORKDIR /device-virtual-go 09:59:49 ---> Running in ae5d46034bd4 09:59:49 Removing intermediate container ae5d46034bd4 09:59:49 ---> 31cbc8591072 09:59:49 Step 7/8 : COPY . . 09:59:50 ---> 7c87d7aedf51 09:59:50 Step 8/8 : RUN go mod download 09:59:50 ---> Running in 11f7fdb72af8 09:59:52 Removing intermediate container 57743c71d3f0 09:59:52 ---> 56ea3701b4e1 09:59:52 Successfully built 56ea3701b4e1 09:59:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:59:52 + docker inspect -f . ci-base-image-x86_64 09:59:53 . [Pipeline] withDockerContainer 09:59:53 prd-centos7-docker-4c-2g-33152 does not seem to be running inside a container 09:59:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** ci-base-image-x86_64 cat 09:59:54 $ docker top 7fcdc6b4862bc8c82a28ec4bfa9e1647820ca06dcbfc2bc750158c58ce7d28ee -eo pid,comm [Pipeline] { [Pipeline] sh 09:59:54 + go version 09:59:54 go version go1.15.5 linux/amd64 [Pipeline] } 09:59:54 $ docker stop --time=1 7fcdc6b4862bc8c82a28ec4bfa9e1647820ca06dcbfc2bc750158c58ce7d28ee 09:59:56 $ docker rm -f 7fcdc6b4862bc8c82a28ec4bfa9e1647820ca06dcbfc2bc750158c58ce7d28ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:59:57 + docker inspect -f . ci-base-image-x86_64 09:59:57 . [Pipeline] withDockerContainer 09:59:57 prd-centos7-docker-4c-2g-33152 does not seem to be running inside a container 09:59:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** ci-base-image-x86_64 cat 09:59:57 $ docker top 5d723795521287753e5ca97a4d283711c9d20e999a37047abded7c3de29da55d -eo pid,comm [Pipeline] { [Pipeline] sh 09:59:58 + make test 09:59:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:59:59 ? github.com/edgexfoundry/device-virtual-go [no test files] 10:00:17 Removing intermediate container 11f7fdb72af8 10:00:17 ---> 19c0568159ea 10:00:17 Successfully built 19c0568159ea 10:00:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:00:18 + docker inspect -f . ci-base-image-arm64 10:00:18 . [Pipeline] withDockerContainer 10:00:18 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 10:00:18 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.332s coverage: 63.8% of statements 10:00:18 prd-ubuntu18.04-docker-arm64-4c-16g-33151 does not seem to be running inside a container 10:00:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:00:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** ci-base-image-arm64 cat 10:00:20 $ docker top d6925a673050c62a8d125c2cb2ebeb274c811c8cac780ccc4b2aa7465e0f9ed6 -eo pid,comm [Pipeline] { [Pipeline] sh 10:00:21 + go version 10:00:21 go version go1.15.5 linux/arm64 [Pipeline] } 10:00:21 $ docker stop --time=1 d6925a673050c62a8d125c2cb2ebeb274c811c8cac780ccc4b2aa7465e0f9ed6 10:00:22 gofmt -l . 10:00:22 [ "`gofmt -l .`" = "" ] 10:00:22 ./bin/test-attribution-txt.sh 10:00:23 $ docker rm -f d6925a673050c62a8d125c2cb2ebeb274c811c8cac780ccc4b2aa7465e0f9ed6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:00:23 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:00:23 $ docker stop --time=1 5d723795521287753e5ca97a4d283711c9d20e999a37047abded7c3de29da55d 10:00:24 + docker inspect -f . ci-base-image-arm64 10:00:24 . 10:00:25 $ docker rm -f 5d723795521287753e5ca97a4d283711c9d20e999a37047abded7c3de29da55d [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withDockerContainer 10:00:26 prd-ubuntu18.04-docker-arm64-4c-16g-33151 does not seem to be running inside a container 10:00:26 + sudo chown -R jenkins:jenkins . 10:00:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** ci-base-image-arm64 cat 10:00:27 $ docker top 1b9d9eef2536b9f993d1a5fb57f05911874879ad99205de0ca2836da470ca368 -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh 10:00:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 10:00:28 + make test 10:00:28 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [Pipeline] sh 10:00:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:00:29 + ls -al . 10:00:29 total 132 10:00:29 drwxrwxr-x. 7 jenkins jenkins 4096 Apr 7 10:00 . 10:00:29 drwxrwxr-x. 4 jenkins jenkins 28 Apr 7 09:58 .. 10:00:29 -rw-rw-r--. 1 jenkins jenkins 8039 Apr 7 09:59 Attribution.txt 10:00:29 drwxrwxr-x. 2 jenkins jenkins 64 Apr 7 09:59 bin 10:00:29 drwxrwxr-x. 3 jenkins jenkins 32 Apr 7 09:59 cmd 10:00:29 -rw-r--r--. 1 jenkins jenkins 47247 Apr 7 10:00 coverage.out 10:00:29 -rw-rw-r--. 1 jenkins jenkins 1895 Apr 7 09:59 Dockerfile 10:00:29 -rw-rw-r--. 1 jenkins jenkins 998 Apr 7 09:59 Dockerfile.build 10:00:29 drwxrwxr-x. 8 jenkins jenkins 179 Apr 7 09:59 .git 10:00:29 drwxrwxr-x. 2 jenkins jenkins 103 Apr 7 09:59 .github 10:00:29 -rw-rw-r--. 1 jenkins jenkins 258 Apr 7 09:59 .gitignore 10:00:29 -rw-r--r--. 1 jenkins jenkins 809 Apr 7 10:00 go.mod 10:00:29 -rw-r--r--. 1 jenkins jenkins 23692 Apr 7 10:00 go.sum 10:00:29 drwxrwxr-x. 3 jenkins jenkins 20 Apr 7 09:59 internal 10:00:29 -rw-rw-r--. 1 jenkins jenkins 660 Apr 7 09:59 Jenkinsfile 10:00:29 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 7 09:59 LICENSE 10:00:29 -rw-rw-r--. 1 jenkins jenkins 921 Apr 7 09:59 Makefile 10:00:29 -rw-rw-r--. 1 jenkins jenkins 918 Apr 7 09:59 README.md 10:00:29 -rw-rw-r--. 1 jenkins jenkins 5 Apr 7 09:55 VERSION 10:00:29 -rw-rw-r--. 1 jenkins jenkins 235 Apr 7 09:59 version.go [Pipeline] isUnix [Pipeline] sh 10:00:29 ? github.com/edgexfoundry/device-virtual-go [no test files] 10:00:30 + docker build -t docker-device-virtual-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=cb1d17677de78e009a913bd9b3fbfbba9ad1a211 --label arch=amd64 --label version=0.0.0 . 10:00:30 Sending build context to Docker daemon 574.5kB 10:00:30 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 10:00:30 Step 2/25 : FROM ${BASE} AS builder 10:00:30 ---> 56ea3701b4e1 10:00:30 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:00:30 ---> Running in 8da8db0a5ce6 10:00:30 Removing intermediate container 8da8db0a5ce6 10:00:30 ---> 6b555a213996 10:00:30 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 10:00:30 ---> Running in d5f0147900ce 10:00:30 Removing intermediate container d5f0147900ce 10:00:30 ---> ff13b339f2e7 10:00:30 Step 5/25 : WORKDIR /device-virtual-go 10:00:30 ---> Running in 35bbc5638841 10:00:31 Removing intermediate container 35bbc5638841 10:00:31 ---> 99f8a67677ae 10:00:31 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:00:31 ---> Running in a7bd08d78923 10:00:32 Removing intermediate container a7bd08d78923 10:00:32 ---> c3555faa5394 10:00:32 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:00:32 ---> Running in b767313b61ab 10:00:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:00:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:00:33 OK: 173 MiB in 52 packages 10:00:34 Removing intermediate container b767313b61ab 10:00:34 ---> aba32a995881 10:00:34 Step 8/25 : COPY . . 10:00:35 ---> 24b252b323e6 10:00:35 Step 9/25 : RUN go mod download 10:00:35 ---> Running in e5245414e779 10:00:36 Removing intermediate container e5245414e779 10:00:36 ---> f744ba8a789c 10:00:36 Step 10/25 : ARG MAKE='make build' 10:00:36 ---> Running in 8dee81198d23 10:00:36 Removing intermediate container 8dee81198d23 10:00:36 ---> 171d5a01fcff 10:00:36 Step 11/25 : RUN $MAKE 10:00:36 ---> Running in be4a98c5cfc9 10:00:37 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 10:00:55 CGO_ENABLED=1 GO111MODULE=on go build ./... 10:01:00 Removing intermediate container be4a98c5cfc9 10:01:00 ---> 775bcd34f599 10:01:00 Step 12/25 : FROM alpine:3.12 10:01:00 3.12: Pulling from library/alpine 10:01:00 532819f3e44c: Pulling fs layer 10:01:00 532819f3e44c: Verifying Checksum 10:01:00 532819f3e44c: Download complete 10:01:00 532819f3e44c: Pull complete 10:01:00 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 10:01:00 Status: Downloaded newer image for alpine:3.12 10:01:00 ---> 7230e588e954 10:01:00 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 10:01:01 ---> Running in dccdc23e7000 10:01:01 Removing intermediate container dccdc23e7000 10:01:01 ---> d3d91b8de334 10:01:01 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:01:01 ---> Running in 0f0840399d1f 10:01:02 Removing intermediate container 0f0840399d1f 10:01:02 ---> eed54b9f40f2 10:01:02 Step 15/25 : RUN apk add --update --no-cache zeromq 10:01:02 ---> Running in f14761765a87 10:01:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:01:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:01:04 (1/5) Installing libgcc (9.3.0-r2) 10:01:04 (2/5) Installing libsodium (1.0.18-r0) 10:01:04 (3/5) Installing libstdc++ (9.3.0-r2) 10:01:04 (4/5) Installing libzmq (4.3.3-r0) 10:01:04 (5/5) Installing zeromq (4.3.3-r0) 10:01:04 Executing busybox-1.31.1-r20.trigger 10:01:04 OK: 8 MiB in 19 packages 10:01:05 Removing intermediate container f14761765a87 10:01:05 ---> 1720a1005e9a 10:01:05 Step 16/25 : WORKDIR / 10:01:05 ---> Running in f22622392eb2 10:01:05 Removing intermediate container f22622392eb2 10:01:05 ---> b92c6cee6d46 10:01:05 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 10:01:05 ---> 0dc9243c23bd 10:01:05 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 10:01:05 ---> 7368bf7ecee1 10:01:05 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 10:01:06 ---> 5449d3c9b14d 10:01:06 Step 20/25 : EXPOSE 49990 10:01:06 ---> Running in eaecdcc98a31 10:01:06 Removing intermediate container eaecdcc98a31 10:01:06 ---> be8a023b7884 10:01:06 Step 21/25 : ENTRYPOINT ["/device-virtual"] 10:01:07 ---> Running in 3685c10f1a8c 10:01:07 Removing intermediate container 3685c10f1a8c 10:01:07 ---> 74f684becaf4 10:01:07 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:01:07 ---> Running in 8a516cd3aa11 10:01:07 Removing intermediate container 8a516cd3aa11 10:01:07 ---> 0ab12d74b9c6 10:01:07 Step 23/25 : LABEL arch=amd64 10:01:07 ---> Running in 2626f322e44c 10:01:07 Removing intermediate container 2626f322e44c 10:01:07 ---> bab55e7b5588 10:01:07 Step 24/25 : LABEL git_sha=cb1d17677de78e009a913bd9b3fbfbba9ad1a211 10:01:07 ---> Running in 74911ce36132 10:01:07 Removing intermediate container 74911ce36132 10:01:07 ---> 7db429ed8398 10:01:07 Step 25/25 : LABEL version=0.0.0 10:01:07 ---> Running in 9d6a593c8ef1 10:01:08 Removing intermediate container 9d6a593c8ef1 10:01:08 ---> 9c261a753536 10:01:08 [Warning] One or more build-args [ARCH] were not consumed 10:01:08 Successfully built 9c261a753536 10:01:08 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 10:01:09 ---> job-cost.sh 10:01:09 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jNRq 10:01:23 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:01:26 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 10:01:26 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.464s coverage: 63.8% of statements 10:01:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:01:34 gofmt -l . 10:01:34 [ "`gofmt -l .`" = "" ] 10:01:34 ./bin/test-attribution-txt.sh 10:01:35 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:01:35 $ docker stop --time=1 1b9d9eef2536b9f993d1a5fb57f05911874879ad99205de0ca2836da470ca368 10:01:37 $ docker rm -f 1b9d9eef2536b9f993d1a5fb57f05911874879ad99205de0ca2836da470ca368 [Pipeline] // withDockerContainer [Pipeline] sh 10:01:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:01:39 Warning: overwriting stash ‘coverage-report’ 10:01:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:01:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:01:41 + ls -al . 10:01:41 total 156 10:01:41 drwxrwxr-x 7 jenkins jenkins 4096 Apr 7 10:01 . 10:01:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:58 .. 10:01:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 09:59 .git 10:01:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:59 .github 10:01:41 -rw-rw-r-- 1 jenkins jenkins 258 Apr 7 09:59 .gitignore 10:01:41 -rw-rw-r-- 1 jenkins jenkins 8039 Apr 7 09:59 Attribution.txt 10:01:41 -rw-rw-r-- 1 jenkins jenkins 1895 Apr 7 09:59 Dockerfile 10:01:41 -rw-rw-r-- 1 jenkins jenkins 998 Apr 7 09:59 Dockerfile.build 10:01:41 -rw-rw-r-- 1 jenkins jenkins 660 Apr 7 09:59 Jenkinsfile 10:01:41 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 09:59 LICENSE 10:01:41 -rw-rw-r-- 1 jenkins jenkins 921 Apr 7 09:59 Makefile 10:01:41 -rw-rw-r-- 1 jenkins jenkins 918 Apr 7 09:59 README.md 10:01:41 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 09:55 VERSION 10:01:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:59 bin 10:01:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:59 cmd 10:01:41 -rw-r--r-- 1 jenkins jenkins 47247 Apr 7 10:01 coverage.out 10:01:41 -rw-r--r-- 1 jenkins jenkins 809 Apr 7 10:01 go.mod 10:01:41 -rw-r--r-- 1 jenkins jenkins 23692 Apr 7 10:01 go.sum 10:01:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 09:59 internal 10:01:41 -rw-rw-r-- 1 jenkins jenkins 235 Apr 7 09:59 version.go [Pipeline] isUnix [Pipeline] sh 10:01:41 + docker build -t docker-device-virtual-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=cb1d17677de78e009a913bd9b3fbfbba9ad1a211 --label arch=arm64 --label version=0.0.0 . 10:01:42 Sending build context to Docker daemon 573.4kB 10:01:42 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 10:01:42 Step 2/25 : FROM ${BASE} AS builder 10:01:42 ---> 19c0568159ea 10:01:42 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:01:42 ---> Running in 2852bac8f55c 10:01:42 Removing intermediate container 2852bac8f55c 10:01:42 ---> d3b815d2d422 10:01:42 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 10:01:42 ---> Running in 1c949c9f50e7 10:01:43 Removing intermediate container 1c949c9f50e7 10:01:43 ---> ad5ef7d57888 10:01:43 Step 5/25 : WORKDIR /device-virtual-go 10:01:43 ---> Running in 9623e99ce1ce 10:01:44 Removing intermediate container 9623e99ce1ce 10:01:44 ---> 35f4e3a9e7c8 10:01:44 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:01:44 ---> Running in 1a32d2e5c313 10:01:46 Removing intermediate container 1a32d2e5c313 10:01:46 ---> 2ebedb53172a 10:01:46 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:01:46 ---> Running in 595091c7b521 10:01:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:01:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:01:48 OK: 149 MiB in 52 packages 10:01:50 Removing intermediate container 595091c7b521 10:01:50 ---> b9bf4ae5b2be 10:01:50 Step 8/25 : COPY . . 10:01:50 lf-activate-venv(): INFO: Adding /tmp/venv-jNRq/bin to PATH 10:01:50 INFO: No Stack... 10:01:50 INFO: Retrieving Pricing Info for: v1-standard-2 10:01:50 ---> 57d5acc6d985 10:01:50 Step 9/25 : RUN go mod download 10:01:51 ---> Running in 508552ae755d 10:01:51 INFO: Archiving Costs [Pipeline] sh 10:01:51 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 10:01:51 + cut -d, -f6 [Pipeline] lock 10:01:51 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-179-2-stack-cost] 10:01:51 Resource [jenkins-edgexfoundry-device-virtual-go-PR-179-2-stack-cost] did not exist. Created. 10:01:51 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-179-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:01:52 + echo total: 0.029999999329447746 [Pipeline] stash 10:01:52 Stashed 1 file(s) [Pipeline] } 10:01:52 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-179-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 10:01:53 Removing intermediate container 508552ae755d 10:01:53 ---> 02811af791ff 10:01:53 Step 10/25 : ARG MAKE='make build' 10:01:53 ---> Running in 9e1f38a1438a 10:01:54 Removing intermediate container 9e1f38a1438a 10:01:54 ---> 78560a31c3f6 10:01:54 Step 11/25 : RUN $MAKE 10:01:54 ---> Running in c2da5da88eb1 10:01:55 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 10:02:42 CGO_ENABLED=1 GO111MODULE=on go build ./... 10:02:54 Removing intermediate container c2da5da88eb1 10:02:54 ---> 5b64f2e6bf4f 10:02:54 Step 12/25 : FROM alpine:3.12 10:02:54 3.12: Pulling from library/alpine 10:02:54 9a219e8acc52: Pulling fs layer 10:02:55 9a219e8acc52: Verifying Checksum 10:02:55 9a219e8acc52: Download complete 10:02:55 9a219e8acc52: Pull complete 10:02:55 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 10:02:55 Status: Downloaded newer image for alpine:3.12 10:02:55 ---> d75e27dfc0a0 10:02:55 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 10:02:55 ---> Running in e3221d5004b7 10:02:56 Removing intermediate container e3221d5004b7 10:02:56 ---> 4b437962faa6 10:02:56 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:02:56 ---> Running in b4afa94b366f 10:02:58 Removing intermediate container b4afa94b366f 10:02:58 ---> 3ae43bb5c932 10:02:58 Step 15/25 : RUN apk add --update --no-cache zeromq 10:02:58 ---> Running in ef9cf7592a93 10:02:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:03:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:03:01 (1/5) Installing libgcc (9.3.0-r2) 10:03:01 (2/5) Installing libsodium (1.0.18-r0) 10:03:01 (3/5) Installing libstdc++ (9.3.0-r2) 10:03:01 (4/5) Installing libzmq (4.3.3-r0) 10:03:02 (5/5) Installing zeromq (4.3.3-r0) 10:03:02 Executing busybox-1.31.1-r20.trigger 10:03:02 OK: 8 MiB in 19 packages 10:03:03 Removing intermediate container ef9cf7592a93 10:03:03 ---> 213f58dc19bb 10:03:03 Step 16/25 : WORKDIR / 10:03:03 ---> Running in 8b94fec6ab8f 10:03:04 Removing intermediate container 8b94fec6ab8f 10:03:04 ---> 85a79641e241 10:03:04 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 10:03:04 ---> b5fb49c76a04 10:03:04 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 10:03:05 ---> e72d1ed2f6cf 10:03:05 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 10:03:07 ---> 1db260b98d4a 10:03:07 Step 20/25 : EXPOSE 49990 10:03:07 ---> Running in bea693e6cef4 10:03:07 Removing intermediate container bea693e6cef4 10:03:07 ---> ebf693ee59e4 10:03:07 Step 21/25 : ENTRYPOINT ["/device-virtual"] 10:03:07 ---> Running in a497d2e6e39d 10:03:08 Removing intermediate container a497d2e6e39d 10:03:08 ---> acef4cb09bb9 10:03:08 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:03:08 ---> Running in 0d8ddb98170a 10:03:09 Removing intermediate container 0d8ddb98170a 10:03:09 ---> 4219151ccd9b 10:03:09 Step 23/25 : LABEL arch=arm64 10:03:09 ---> Running in 9f711ba0bfdd 10:03:09 Removing intermediate container 9f711ba0bfdd 10:03:09 ---> 2cc21182eed9 10:03:09 Step 24/25 : LABEL git_sha=cb1d17677de78e009a913bd9b3fbfbba9ad1a211 10:03:09 ---> Running in 7472d89c35aa 10:03:10 Removing intermediate container 7472d89c35aa 10:03:10 ---> 4ab53149bd55 10:03:10 Step 25/25 : LABEL version=0.0.0 10:03:10 ---> Running in b71dbd0877c6 10:03:10 Removing intermediate container b71dbd0877c6 10:03:10 ---> 2f1486aa2254 10:03:10 [Warning] One or more build-args [ARCH] were not consumed 10:03:10 Successfully built 2f1486aa2254 10:03:10 Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 10:03:11 ---> job-cost.sh 10:03:11 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-khG7 10:03:50 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:05:27 lf-activate-venv(): INFO: Adding /tmp/venv-khG7/bin to PATH 10:05:27 INFO: No Stack... 10:05:27 INFO: Retrieving Pricing Info for: lf-standard-4 10:05:27 INFO: Archiving Costs [Pipeline] sh 10:05:27 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 10:05:27 + cut -d, -f6 [Pipeline] lock 10:05:27 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-179-2-stack-cost] 10:05:27 Resource [jenkins-edgexfoundry-device-virtual-go-PR-179-2-stack-cost] did not exist. Created. 10:05:27 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-179-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:05:28 /w/workspace/device-virtual-go/2@tmp/durable-83d40361/script.sh: 1: /w/workspace/device-virtual-go/2@tmp/durable-83d40361/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 10:05:28 + echo total: 0.20999999344348907 [Pipeline] stash 10:05:28 Warning: overwriting stash ‘stack-cost’ 10:05:28 Stashed 1 file(s) [Pipeline] } 10:05:28 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-179-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 10:05:29 provisioning config files... 10:05:29 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-179@tmp/config994448880086299074tmp [Pipeline] { [Pipeline] sh 10:05:30 + set +x 10:05:30 + curl -s https://codecov.io/bash 10:05:30 + bash -s -- 10:05:30 10:05:30 _____ _ 10:05:30 / ____| | | 10:05:30 | | ___ __| | ___ ___ _____ __ 10:05:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:05:30 | |___| (_) | (_| | __/ (_| (_) \ V / 10:05:30 \_____\___/ \__,_|\___|\___\___/ \_/ 10:05:30 Bash-20210309-2b87ace 10:05:30 10:05:30 10:05:30 ==> git version 2.24.3 found 10:05:30 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 10:05:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 10:05:30 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 10:05:30 ==> Jenkins CI detected. 10:05:30 project root: . 10:05:30 --> token set from env 10:05:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:05:30 ==> Running gcov in . (disable via -X gcov) 10:05:30 ==> Python coveragepy not found 10:05:30 ==> Searching for coverage reports in: 10:05:30 + . 10:05:30 -> Found 1 reports 10:05:30 ==> Detecting git/mercurial file structure 10:05:30 ==> Reading reports 10:05:30 + ./coverage.out bytes=47247 10:05:30 ==> Appending adjustments 10:05:30 https://docs.codecov.io/docs/fixing-reports 10:05:30 + Found adjustments 10:05:30 ==> Gzipping contents 10:05:30 8.0K /tmp/codecov.1dnn5k.gz 10:05:30 ==> Uploading reports 10:05:30 url: https://codecov.io 10:05:30 query: branch=PR-179&commit=cb1d17677de78e009a913bd9b3fbfbba9ad1a211&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-179%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=179&job=&cmd_args= 10:05:30 -> Pinging Codecov 10:05:30 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-179&commit=cb1d17677de78e009a913bd9b3fbfbba9ad1a211&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-179%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=179&job=&cmd_args= 10:05:30 -> Uploading to 10:05:30 https://storage.googleapis.com/codecov/v4/raw/2021-04-07/5E52B4B073DB2E39498172D8E973AA87/cb1d17677de78e009a913bd9b3fbfbba9ad1a211/b04cb086-52ee-4af8-bfca-5f333e00f73f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210407T100530Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0a3dd7d2940edf7b535728d00a55c08e120f4a67ec1d99fdf4dc8563979bba19 10:05:30 % Total % Received % Xferd Average Speed Time Time Time Current 10:05:30 Dload Upload Total Spent Left Speed 10:05:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5781 0 0 100 5781 0 9866 --:--:-- --:--:-- --:--:-- 9882 10:05:31 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/cb1d17677de78e009a913bd9b3fbfbba9ad1a211 [Pipeline] } 10:05:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 10:05:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:05:34 ---> package-listing.sh 10:05:34 ++ facter osfamily 10:05:34 ++ tr '[:upper:]' '[:lower:]' 10:05:34 + OS_FAMILY=redhat 10:05:34 + workspace=/w/workspace/foundry_device-virtual-go_PR-179 10:05:34 + START_PACKAGES=/tmp/packages_start.txt 10:05:34 + END_PACKAGES=/tmp/packages_end.txt 10:05:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:05:34 + PACKAGES=/tmp/packages_start.txt 10:05:34 + '[' /w/workspace/foundry_device-virtual-go_PR-179 ']' 10:05:34 + PACKAGES=/tmp/packages_end.txt 10:05:34 + case "${OS_FAMILY}" in 10:05:34 + rpm -qa 10:05:34 + sort 10:05:39 + '[' -f /tmp/packages_start.txt ']' 10:05:39 + '[' -f /tmp/packages_end.txt ']' 10:05:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:05:39 + '[' /w/workspace/foundry_device-virtual-go_PR-179 ']' 10:05:39 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-179/archives/ 10:05:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-179/archives/ [Pipeline] echo 10:05:39 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-179/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:05:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:05:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:05:40 10:05:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:05:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:05:40 alpine: Pulling from edgex-lftools-log-publisher 10:05:40 df20fa9351a1: Pulling fs layer 10:05:40 36b3adc4ff6f: Pulling fs layer 10:05:40 8ad3a11d3b57: Pulling fs layer 10:05:40 46f8f816bc3b: Pulling fs layer 10:05:40 93b61091891f: Pulling fs layer 10:05:40 93b9cdb0e59b: Pulling fs layer 10:05:40 5e14af77c1be: Pulling fs layer 10:05:40 01666e4c0597: Pulling fs layer 10:05:40 aa168da1d23b: Pulling fs layer 10:05:40 46f8f816bc3b: Waiting 10:05:40 93b61091891f: Waiting 10:05:40 01666e4c0597: Waiting 10:05:40 aa168da1d23b: Waiting 10:05:40 93b9cdb0e59b: Waiting 10:05:40 5e14af77c1be: Waiting 10:05:40 36b3adc4ff6f: Verifying Checksum 10:05:40 36b3adc4ff6f: Download complete 10:05:40 46f8f816bc3b: Verifying Checksum 10:05:40 46f8f816bc3b: Download complete 10:05:40 df20fa9351a1: Verifying Checksum 10:05:40 93b9cdb0e59b: Verifying Checksum 10:05:40 93b9cdb0e59b: Download complete 10:05:40 5e14af77c1be: Verifying Checksum 10:05:40 5e14af77c1be: Download complete 10:05:40 01666e4c0597: Verifying Checksum 10:05:40 01666e4c0597: Download complete 10:05:40 93b61091891f: Verifying Checksum 10:05:40 93b61091891f: Download complete 10:05:40 8ad3a11d3b57: Verifying Checksum 10:05:40 8ad3a11d3b57: Download complete 10:05:41 df20fa9351a1: Pull complete 10:05:41 36b3adc4ff6f: Pull complete 10:05:41 8ad3a11d3b57: Pull complete 10:05:42 46f8f816bc3b: Pull complete 10:05:42 93b61091891f: Pull complete 10:05:42 93b9cdb0e59b: Pull complete 10:05:43 aa168da1d23b: Verifying Checksum 10:05:43 aa168da1d23b: Download complete 10:05:43 5e14af77c1be: Pull complete 10:05:43 01666e4c0597: Pull complete 10:05:49 aa168da1d23b: Pull complete 10:05:49 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 10:05:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:05:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:05:50 prd-centos7-docker-4c-2g-33149 does not seem to be running inside a container 10:05:50 $ 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-179/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-179 -v /w/workspace/foundry_device-virtual-go_PR-179:/w/workspace/foundry_device-virtual-go_PR-179:rw,z -v /w/workspace/foundry_device-virtual-go_PR-179@tmp:/w/workspace/foundry_device-virtual-go_PR-179@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 10:05:53 $ docker top cc2a39d682a5abe279d258891fe923bfa1574377dfe421241a2ed8038e8ef9d6 -eo pid,comm [Pipeline] { [Pipeline] sh 10:05:54 + touch /tmp/pre-build-complete [Pipeline] sh 10:05:54 + mkdir -p /var/log/sa [Pipeline] sh 10:05:55 + ls /var/log/sa-host 10:05:55 + sadf -c /var/log/sa-host/sa07 10:05:55 file_magic: OK 10:05:55 HZ: Using current value: 100 10:05:55 file_header: OK 10:05:55 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 10:05:55 Statistics: 10:05:55 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 10:05:55 File successfully converted to sysstat format version 12.2.1 10:05:55 + sadf -c /var/log/sa-host/sa23 10:05:55 file_magic: OK 10:05:55 HZ: Using current value: 100 10:05:55 file_header: OK 10:05:55 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 10:05:55 Statistics: 10:05:55 Hnuu...uuuununununu... 10:05:55 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:05:55 provisioning config files... 10:05:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-179@tmp/config7151912229783004694tmp [Pipeline] { [Pipeline] echo 10:05:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:05:55 ---> create-netrc.sh [Pipeline] } 10:05:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 10:05:55 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 10:05:56 ---> python-tools-install.sh [Pipeline] echo 10:05:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:05:56 ---> sudo-logs.sh 10:05:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:05:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:05:56 ---> job-cost.sh 10:05:56 lf-activate-venv: SKIPPING 10:05:56 DEBUG: total: 0.20999999344348907 10:05:56 INFO: Retrieving Stack Cost... 10:05:57 INFO: Retrieving Pricing Info for: v1-standard-2 10:05:58 INFO: Archiving Costs [Pipeline] echo 10:05:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:05:58 ---> logs-deploy.sh 10:05:58 lf-activate-venv: SKIPPING 10:05:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-179/2 10:05:58 INFO: archiving workspace using pattern(s): 10:06:00 Archives upload complete. 10:06:00 INFO: archiving logs to Nexus