Pull request #173 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0e86f3501108c0ee69c453288a9e9d71702abefc+bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec (7b0f5779896cee7b8e360eb9207b9c3b4e3cdd27) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-173/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-173/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-31680 in /w/workspace/foundry_device-virtual-go_PR-173 [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-173 # 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/173/head:refs/remotes/origin/PR-173 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec into PR head commit 0e86f3501108c0ee69c453288a9e9d71702abefc Merge succeeded, producing 0e86f3501108c0ee69c453288a9e9d71702abefc Checking out Revision 0e86f3501108c0ee69c453288a9e9d71702abefc (PR-173) > git config core.sparsecheckout # timeout=10 > git checkout -f 0e86f3501108c0ee69c453288a9e9d71702abefc # 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 bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e86f3501108c0ee69c453288a9e9d71702abefc # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:02:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:02:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:02:58 ========================================================= 06:02:58 EdgeX Global Pipelines Version Info 06:02:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:02:59 ------------------- 06:02:59 stable info: 06:02:59 ------------------- 06:02:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:02:59 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 06:02:59 Message: update stable to v1.0.186 06:03:00 ------------------- 06:03:00 experimental info: 06:03:00 ------------------- 06:03:00 Commited By: **** collab-it+edgex@linuxfoundation.org 06:03:00 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 06:03:00 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:03:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 06:03:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 06:03:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:03:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:03:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:03:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:03:01 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:03:02 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:03:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:03:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:03:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:03:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 06:03:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:03:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:03:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:03:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:03:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:03:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:03:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:03:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:03:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:03:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:03:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:03:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:03:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:03:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:03:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-173 [Pipeline] echo 06:03:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-173 [Pipeline] echo 06:03:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-173 [Pipeline] echo 06:03:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e86f3501108c0ee69c453288a9e9d71702abefc [Pipeline] echo 06:03:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e86f35 [Pipeline] echo 06:03:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:03:05 provisioning config files... 06:03:05 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-173@tmp/config3191970145096321559tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:06 ---> docker-login.sh 06:03:06 nexus3.edgexfoundry.org:10001 06:03:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:06 Configure a credential helper to remove this warning. See 06:03:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:06 06:03:06 Login Succeeded 06:03:06 nexus3.edgexfoundry.org:10002 06:03:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:06 Configure a credential helper to remove this warning. See 06:03:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:06 06:03:06 Login Succeeded 06:03:06 nexus3.edgexfoundry.org:10003 06:03:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:06 Configure a credential helper to remove this warning. See 06:03:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:06 06:03:06 Login Succeeded 06:03:06 nexus3.edgexfoundry.org:10004 06:03:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:07 Configure a credential helper to remove this warning. See 06:03:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:07 06:03:07 Login Succeeded 06:03:07 docker.io 06:03:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:07 Configure a credential helper to remove this warning. See 06:03:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:07 06:03:07 Login Succeeded 06:03:07 ---> docker-login.sh ends [Pipeline] } 06:03:07 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 06:03:08 + git log --format=format:%s -1 0e86f3501108c0ee69c453288a9e9d71702abefc [Pipeline] echo 06:03:08 GIT_COMMIT: 0e86f3501108c0ee69c453288a9e9d71702abefc, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 06:03:08 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:03:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:03:09 06:03:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:03:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:03:09 latest: Pulling from edgex-devops/git-semver 06:03:09 31603596830f: Pulling fs layer 06:03:09 2a8b12db71e7: Pulling fs layer 06:03:09 6ca5941a6612: Pulling fs layer 06:03:09 ecc8261a40a4: Pulling fs layer 06:03:09 ecc8261a40a4: Waiting 06:03:09 2a8b12db71e7: Verifying Checksum 06:03:09 2a8b12db71e7: Download complete 06:03:09 31603596830f: Verifying Checksum 06:03:10 ecc8261a40a4: Verifying Checksum 06:03:10 ecc8261a40a4: Download complete 06:03:10 6ca5941a6612: Verifying Checksum 06:03:10 6ca5941a6612: Download complete 06:03:10 31603596830f: Pull complete 06:03:10 2a8b12db71e7: Pull complete 06:03:11 6ca5941a6612: Pull complete 06:03:11 ecc8261a40a4: Pull complete 06:03:11 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:03:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:03:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:03:11 prd-centos7-docker-4c-2g-31680 does not seem to be running inside a container 06:03:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-173 -v /w/workspace/foundry_device-virtual-go_PR-173:/w/workspace/foundry_device-virtual-go_PR-173:rw,z -v /w/workspace/foundry_device-virtual-go_PR-173@tmp:/w/workspace/foundry_device-virtual-go_PR-173@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:03:13 $ docker top 9bb0e65e5a87f25aa69f56d670d5a2342c6d6e2b788092e8762bf93baa4972c0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:03:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:03:14 [ssh-agent] Looking for ssh-agent implementation... 06:03:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:03:14 $ docker exec 9bb0e65e5a87f25aa69f56d670d5a2342c6d6e2b788092e8762bf93baa4972c0 ssh-agent 06:03:14 SSH_AUTH_SOCK=/tmp/ssh-yFY91315J8a6/agent.11 06:03:14 SSH_AGENT_PID=17 06:03:14 Running ssh-add (command line suppressed) 06:03:14 Identity added: /w/workspace/foundry_device-virtual-go_PR-173@tmp/private_key_3201398311808583270.key (/w/workspace/foundry_device-virtual-go_PR-173@tmp/private_key_3201398311808583270.key) 06:03:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:03:15 + git tag --points-at HEAD [Pipeline] } 06:03:15 $ docker exec --env ******** --env ******** 9bb0e65e5a87f25aa69f56d670d5a2342c6d6e2b788092e8762bf93baa4972c0 ssh-agent -k 06:03:15 unset SSH_AUTH_SOCK; 06:03:15 unset SSH_AGENT_PID; 06:03:15 echo Agent pid 17 killed; 06:03:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:03:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:03:15 [ssh-agent] Looking for ssh-agent implementation... 06:03:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:03:15 $ docker exec 9bb0e65e5a87f25aa69f56d670d5a2342c6d6e2b788092e8762bf93baa4972c0 ssh-agent 06:03:16 SSH_AUTH_SOCK=/tmp/ssh-gSR3BtHY8kK5/agent.46 06:03:16 SSH_AGENT_PID=51 06:03:16 Running ssh-add (command line suppressed) 06:03:16 Identity added: /w/workspace/foundry_device-virtual-go_PR-173@tmp/private_key_4872606082335535217.key (/w/workspace/foundry_device-virtual-go_PR-173@tmp/private_key_4872606082335535217.key) 06:03:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:03:16 + git semver init 06:03:16 # -> Open(): unable to determine branch for HEAD 06:03:16 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-173/.git 06:03:16 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-173 06:03:16 # $SEMVER_REMOTE_NAME = origin 06:03:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:03:16 # $SEMVER_USER_NAME = edgex-jenkins 06:03:16 # $SEMVER_BRANCH = PR-173 06:03:16 # $SEMVER_TEMP = /tmp/semver-033336843 06:03:16 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 06:03:17 # '/tmp/semver-033336843' -> '/w/workspace/foundry_device-virtual-go_PR-173/.semver' 06:03:17 # -> Force: false 06:03:17 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-173/.semver [Pipeline] } 06:03:17 $ docker exec --env ******** --env ******** 9bb0e65e5a87f25aa69f56d670d5a2342c6d6e2b788092e8762bf93baa4972c0 ssh-agent -k 06:03:17 unset SSH_AUTH_SOCK; 06:03:17 unset SSH_AGENT_PID; 06:03:17 echo Agent pid 51 killed; 06:03:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:03:17 + git semver [Pipeline] } 06:03:17 $ docker stop --time=1 9bb0e65e5a87f25aa69f56d670d5a2342c6d6e2b788092e8762bf93baa4972c0 06:03:19 $ docker rm -f 9bb0e65e5a87f25aa69f56d670d5a2342c6d6e2b788092e8762bf93baa4972c0 [Pipeline] // withDockerContainer [Pipeline] sh 06:03:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:03:20 Stashed 1 file(s) [Pipeline] echo 06:03:20 [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 06:03:36 Still waiting to schedule task 06:03:36 ‘prd-centos7-docker-4c-2g-31668’ is offline; ‘prd-centos7-docker-4c-2g-31676’ 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’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30485’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30654’ doesn’t have label ‘centos7-docker-4c-2g’ 06:03:36 Still waiting to schedule task 06:03:36 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:06:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-31690 in /w/workspace/foundry_device-virtual-go_PR-173 [Pipeline] { [Pipeline] ws 06:06:11 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 06:06:17 using credential edgex-jenkins-ssh 06:06:17 Cloning the remote Git repository 06:06:17 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:06:17 > git init /w/workspace/device-virtual-go/1 # timeout=10 06:06:17 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:06:17 > git --version # timeout=10 06:06:17 > git --version # 'git version 2.17.1' 06:06:17 using GIT_SSH to set credentials SSH Credentials for GitHub 06:06:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:06:19 Merging remotes/origin/master commit bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec into PR head commit 0e86f3501108c0ee69c453288a9e9d71702abefc 06:06:19 Merge succeeded, producing 0e86f3501108c0ee69c453288a9e9d71702abefc 06:06:19 Checking out Revision 0e86f3501108c0ee69c453288a9e9d71702abefc (PR-173) 06:06:18 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:06:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:06:18 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:06:18 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:06:18 using GIT_SSH to set credentials SSH Credentials for GitHub 06:06:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/173/head:refs/remotes/origin/PR-173 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:06:19 > git config core.sparsecheckout # timeout=10 06:06:19 > git checkout -f 0e86f3501108c0ee69c453288a9e9d71702abefc # timeout=10 06:06:19 > git remote # timeout=10 06:06:19 > git config --get remote.origin.url # timeout=10 06:06:19 using GIT_SSH to set credentials SSH Credentials for GitHub 06:06:19 > git merge bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec # timeout=10 06:06:19 > git rev-parse HEAD^{commit} # timeout=10 06:06:19 > git config core.sparsecheckout # timeout=10 06:06:19 > git checkout -f 0e86f3501108c0ee69c453288a9e9d71702abefc # timeout=10 06:06:24 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 06:06:24 > git --version # timeout=10 06:06:24 > git --version # 'git version 2.17.1' 06:06:24 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:06:25 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:06:26 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:06:26 + + sudo servicetrue docker 06:06:26 restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:06:29 provisioning config files... 06:06:29 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config478480968624525843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:30 ---> docker-login.sh 06:06:30 nexus3.edgexfoundry.org:10001 06:06:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:31 Configure a credential helper to remove this warning. See 06:06:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:31 06:06:31 Login Succeeded 06:06:31 nexus3.edgexfoundry.org:10002 06:06:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:32 Configure a credential helper to remove this warning. See 06:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:32 06:06:32 Login Succeeded 06:06:32 nexus3.edgexfoundry.org:10003 06:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:32 Configure a credential helper to remove this warning. See 06:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:32 06:06:32 Login Succeeded 06:06:32 nexus3.edgexfoundry.org:10004 06:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:32 Configure a credential helper to remove this warning. See 06:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:32 06:06:32 Login Succeeded 06:06:32 docker.io 06:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:33 Configure a credential helper to remove this warning. See 06:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:33 06:06:33 Login Succeeded 06:06:33 ---> docker-login.sh ends [Pipeline] } 06:06:33 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:06:34 ========================================================= 06:06:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:06:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:06:34 + 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 . 06:06:35 Sending build context to Docker daemon 492.5kB 06:06:35 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:06:35 Step 2/8 : FROM ${BASE} 06:06:35 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:06:35 5f621e34cdf4: Pulling fs layer 06:06:35 a4357932f1b6: Pulling fs layer 06:06:35 18c013af1878: Pulling fs layer 06:06:35 00ac8860ef70: Pulling fs layer 06:06:35 63d7cb157983: Pulling fs layer 06:06:35 b116817d02f9: Pulling fs layer 06:06:35 745a02a5169b: Pulling fs layer 06:06:35 63d7cb157983: Waiting 06:06:35 b116817d02f9: Waiting 06:06:35 745a02a5169b: Waiting 06:06:35 00ac8860ef70: Waiting 06:06:35 18c013af1878: Verifying Checksum 06:06:35 18c013af1878: Download complete 06:06:35 a4357932f1b6: Verifying Checksum 06:06:35 a4357932f1b6: Download complete 06:06:35 63d7cb157983: Verifying Checksum 06:06:35 63d7cb157983: Download complete 06:06:35 b116817d02f9: Download complete 06:06:35 5f621e34cdf4: Verifying Checksum 06:06:36 5f621e34cdf4: Pull complete 06:06:36 a4357932f1b6: Pull complete 06:06:37 18c013af1878: Pull complete 06:06:38 745a02a5169b: Verifying Checksum 06:06:38 745a02a5169b: Download complete 06:06:39 00ac8860ef70: Verifying Checksum 06:06:39 00ac8860ef70: Download complete 06:06:49 00ac8860ef70: Pull complete 06:06:49 63d7cb157983: Pull complete 06:06:49 b116817d02f9: Pull complete 06:06:53 745a02a5169b: Pull complete 06:06:53 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:06:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:06:53 ---> b7e6874047d6 06:06:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:06:55 ---> Running in 3be06fc1fc49 06:06:56 Removing intermediate container 3be06fc1fc49 06:06:56 ---> 8e5e2e9d7eec 06:06:56 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:06:56 ---> Running in 52ffec16e375 06:06:57 Running on prd-centos7-docker-4c-2g-31692 in /w/workspace/foundry_device-virtual-go_PR-173 [Pipeline] { [Pipeline] ws 06:06:57 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 06:06:58 Removing intermediate container 52ffec16e375 06:06:58 ---> 8cbd416f9f29 06:06:58 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:06:58 ---> Running in ac075848cdfa 06:06:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:07:00 using credential edgex-jenkins-ssh 06:07:00 Cloning the remote Git repository 06:07:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:07:00 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:07:00 > git init /w/workspace/device-virtual-go/1 # timeout=10 06:07:00 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:07:00 > git --version # timeout=10 06:07:00 > git --version # 'git version 2.24.3' 06:07:00 using GIT_SSH to set credentials SSH Credentials for GitHub 06:07:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:07:01 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:07:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:07:01 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:07:01 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:07:01 using GIT_SSH to set credentials SSH Credentials for GitHub 06:07:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/173/head:refs/remotes/origin/PR-173 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:07:01 (1/14) Installing libmagic (5.38-r0) 06:07:02 Merging remotes/origin/master commit bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec into PR head commit 0e86f3501108c0ee69c453288a9e9d71702abefc 06:07:02 (2/14) Installing file (5.38-r0) 06:07:02 (3/14) Installing libc-dev (0.7.2-r3) 06:07:02 (4/14) Installing g++ (9.3.0-r2) 06:07:02 Merge succeeded, producing 0e86f3501108c0ee69c453288a9e9d71702abefc 06:07:02 Checking out Revision 0e86f3501108c0ee69c453288a9e9d71702abefc (PR-173) 06:07:02 > git config core.sparsecheckout # timeout=10 06:07:02 > git checkout -f 0e86f3501108c0ee69c453288a9e9d71702abefc # timeout=10 06:07:02 > git remote # timeout=10 06:07:02 > git config --get remote.origin.url # timeout=10 06:07:02 using GIT_SSH to set credentials SSH Credentials for GitHub 06:07:02 > git merge bfe8b6d03e48aca57198d29dac0aa5fe93ed02ec # timeout=10 06:07:02 > git rev-parse HEAD^{commit} # timeout=10 06:07:02 > git config core.sparsecheckout # timeout=10 06:07:02 > git checkout -f 0e86f3501108c0ee69c453288a9e9d71702abefc # timeout=10 06:07:06 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 06:07:06 > git --version # timeout=10 06:07:06 > git --version # 'git version 2.24.3' 06:07:06 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:07:07 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:07:08 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:07:08 + sudo service docker restart 06:07:08 + true 06:07:08 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:07:09 provisioning config files... 06:07:09 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7269286884325439026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:07:09 ---> docker-login.sh 06:07:09 nexus3.edgexfoundry.org:10001 06:07:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:10 Configure a credential helper to remove this warning. See 06:07:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:10 06:07:10 Login Succeeded 06:07:10 nexus3.edgexfoundry.org:10002 06:07:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:10 Configure a credential helper to remove this warning. See 06:07:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:10 06:07:10 Login Succeeded 06:07:10 nexus3.edgexfoundry.org:10003 06:07:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:10 Configure a credential helper to remove this warning. See 06:07:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:10 06:07:10 Login Succeeded 06:07:10 nexus3.edgexfoundry.org:10004 06:07:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:11 Configure a credential helper to remove this warning. See 06:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:11 06:07:11 Login Succeeded 06:07:11 docker.io 06:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:11 Configure a credential helper to remove this warning. See 06:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:11 06:07:11 Login Succeeded 06:07:11 ---> docker-login.sh ends [Pipeline] } 06:07:11 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:07:11 ========================================================= 06:07:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:07:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:07:12 + 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 . 06:07:12 Sending build context to Docker daemon 493.6kB 06:07:12 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:07:12 Step 2/8 : FROM ${BASE} 06:07:12 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:07:12 188c0c94c7c5: Pulling fs layer 06:07:12 0ef7d3d256c8: Pulling fs layer 06:07:12 de9db76c5a1d: Pulling fs layer 06:07:12 bca2f99d35d6: Pulling fs layer 06:07:12 93359f2a8cfa: Pulling fs layer 06:07:12 7c6f9722023f: Pulling fs layer 06:07:12 a35cf1a2eb13: Pulling fs layer 06:07:12 bca2f99d35d6: Waiting 06:07:12 93359f2a8cfa: Waiting 06:07:12 7c6f9722023f: Waiting 06:07:12 a35cf1a2eb13: Waiting 06:07:12 de9db76c5a1d: Verifying Checksum 06:07:12 de9db76c5a1d: Download complete 06:07:12 0ef7d3d256c8: Verifying Checksum 06:07:12 0ef7d3d256c8: Download complete 06:07:12 93359f2a8cfa: Download complete 06:07:12 7c6f9722023f: Verifying Checksum 06:07:12 7c6f9722023f: Download complete 06:07:12 188c0c94c7c5: Verifying Checksum 06:07:12 188c0c94c7c5: Download complete 06:07:12 (5/14) Installing fortify-headers (1.1-r0) 06:07:12 (6/14) Installing patch (2.7.6-r6) 06:07:12 (7/14) Installing build-base (0.5-r2) 06:07:12 (8/14) Installing openssh-keygen (8.3_p1-r2) 06:07:12 (9/14) Installing libedit (20191231.3.1-r0) 06:07:12 188c0c94c7c5: Pull complete 06:07:12 (10/14) Installing openssh-client (8.3_p1-r2) 06:07:13 0ef7d3d256c8: Pull complete 06:07:13 de9db76c5a1d: Pull complete 06:07:13 (11/14) Installing openssh-sftp-server (8.3_p1-r2) 06:07:14 (12/14) Installing openssh-server-common (8.3_p1-r2) 06:07:14 (13/14) Installing openssh-server (8.3_p1-r2) 06:07:14 (14/14) Installing openssh (8.3_p1-r2) 06:07:14 Executing busybox-1.31.1-r19.trigger 06:07:14 OK: 221 MiB in 53 packages 06:07:16 a35cf1a2eb13: Verifying Checksum 06:07:16 a35cf1a2eb13: Download complete 06:07:17 bca2f99d35d6: Verifying Checksum 06:07:17 bca2f99d35d6: Download complete 06:07:19 Removing intermediate container ac075848cdfa 06:07:19 ---> 5d7d67885cd7 06:07:19 Step 6/8 : WORKDIR /device-virtual-go 06:07:19 ---> Running in 9ca0fc9f1b4c 06:07:19 Removing intermediate container 9ca0fc9f1b4c 06:07:19 ---> 9734be164c94 06:07:19 Step 7/8 : COPY . . 06:07:20 ---> 39d3f7e97076 06:07:20 Step 8/8 : RUN go mod download 06:07:20 ---> Running in 9ca3fa2b33ce 06:07:22 bca2f99d35d6: Pull complete 06:07:22 93359f2a8cfa: Pull complete 06:07:22 7c6f9722023f: Pull complete 06:07:29 a35cf1a2eb13: Pull complete 06:07:29 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:07:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:07:29 ---> a62c8e92a672 06:07:29 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:07:29 ---> Running in 1fac4df85c49 06:07:29 Removing intermediate container 1fac4df85c49 06:07:29 ---> b396a5b2840b 06:07:29 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:07:29 ---> Running in 47be988efa8a 06:07:30 Removing intermediate container 47be988efa8a 06:07:30 ---> a8aab0041f13 06:07:30 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:07:30 ---> Running in 89b7c6dec1f1 06:07:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:07:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:07:33 (1/14) Installing libmagic (5.38-r0) 06:07:33 (2/14) Installing file (5.38-r0) 06:07:34 (3/14) Installing libc-dev (0.7.2-r3) 06:07:34 (4/14) Installing g++ (9.3.0-r2) 06:07:37 (5/14) Installing fortify-headers (1.1-r0) 06:07:37 (6/14) Installing patch (2.7.6-r6) 06:07:37 (7/14) Installing build-base (0.5-r2) 06:07:37 (8/14) Installing openssh-keygen (8.3_p1-r2) 06:07:38 (9/14) Installing libedit (20191231.3.1-r0) 06:07:38 (10/14) Installing openssh-client (8.3_p1-r2) 06:07:38 (11/14) Installing openssh-sftp-server (8.3_p1-r2) 06:07:38 (12/14) Installing openssh-server-common (8.3_p1-r2) 06:07:38 (13/14) Installing openssh-server (8.3_p1-r2) 06:07:38 (14/14) Installing openssh (8.3_p1-r2) 06:07:39 Executing busybox-1.31.1-r19.trigger 06:07:39 OK: 237 MiB in 53 packages 06:07:42 Removing intermediate container 89b7c6dec1f1 06:07:42 ---> f47ea360fc04 06:07:42 Step 6/8 : WORKDIR /device-virtual-go 06:07:42 ---> Running in da1e4b2c9e5f 06:07:42 Removing intermediate container da1e4b2c9e5f 06:07:42 ---> 175b571cbea2 06:07:42 Step 7/8 : COPY . . 06:07:43 ---> a263d798cede 06:07:43 Step 8/8 : RUN go mod download 06:07:43 ---> Running in 9c7507694918 06:07:47 Removing intermediate container 9ca3fa2b33ce 06:07:47 ---> fa4c60897849 06:07:47 Successfully built fa4c60897849 06:07:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:07:47 + docker inspect -f . ci-base-image-arm64 06:07:47 . [Pipeline] withDockerContainer 06:07:47 prd-ubuntu18.04-docker-arm64-4c-16g-31690 does not seem to be running inside a container 06:07:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-arm64 cat 06:07:49 $ docker top 7c710c7fd50f8ace55b902246bba2ffa35e8e6e029ed2d93d9ae083f0d35bc7d -eo pid,comm [Pipeline] { [Pipeline] sh 06:07:50 + go version 06:07:50 go version go1.15.5 linux/arm64 [Pipeline] } 06:07:50 $ docker stop --time=1 7c710c7fd50f8ace55b902246bba2ffa35e8e6e029ed2d93d9ae083f0d35bc7d 06:07:52 $ docker rm -f 7c710c7fd50f8ace55b902246bba2ffa35e8e6e029ed2d93d9ae083f0d35bc7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:07:53 + docker inspect -f . ci-base-image-arm64 06:07:53 . [Pipeline] withDockerContainer 06:07:53 prd-ubuntu18.04-docker-arm64-4c-16g-31690 does not seem to be running inside a container 06:07:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-arm64 cat 06:07:55 $ docker top 4280cfdf151791e38fcf1e2fe93774bb0d21b0edf1554e4c0fdfecd16eacd948 -eo pid,comm [Pipeline] { [Pipeline] sh 06:07:56 + make test 06:07:56 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:07:58 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:08:05 Removing intermediate container 9c7507694918 06:08:05 ---> cf35ac354be8 06:08:05 Successfully built cf35ac354be8 06:08:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:08:06 + docker inspect -f . ci-base-image-x86_64 06:08:06 . [Pipeline] withDockerContainer 06:08:06 prd-centos7-docker-4c-2g-31692 does not seem to be running inside a container 06:08:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-x86_64 cat 06:08:07 $ docker top e1c34fb6a4e8301c485ecff82d1544cc3a76fd86cc2d04cbe8fecb7600c0e497 -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:07 + go version 06:08:07 go version go1.15.5 linux/amd64 [Pipeline] } 06:08:07 $ docker stop --time=1 e1c34fb6a4e8301c485ecff82d1544cc3a76fd86cc2d04cbe8fecb7600c0e497 06:08:09 $ docker rm -f e1c34fb6a4e8301c485ecff82d1544cc3a76fd86cc2d04cbe8fecb7600c0e497 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:08:10 + docker inspect -f . ci-base-image-x86_64 06:08:10 . [Pipeline] withDockerContainer 06:08:10 prd-centos7-docker-4c-2g-31692 does not seem to be running inside a container 06:08:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-x86_64 cat 06:08:11 $ docker top 744f6aea1f9ea633b4a58ae721ec82321d302b3623c26629ed52a9af38039f38 -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:13 + make test 06:08:13 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:08:13 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:08:28 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:08:28 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.339s coverage: 63.8% of statements 06:08:29 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:08:32 gofmt -l . 06:08:32 [ "`gofmt -l .`" = "" ] 06:08:32 ./bin/test-attribution-txt.sh 06:08:33 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:08:33 $ docker stop --time=1 744f6aea1f9ea633b4a58ae721ec82321d302b3623c26629ed52a9af38039f38 06:08:35 $ docker rm -f 744f6aea1f9ea633b4a58ae721ec82321d302b3623c26629ed52a9af38039f38 [Pipeline] // withDockerContainer [Pipeline] sh 06:08:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:08:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:08:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:08:39 + ls -al . 06:08:39 total 128 06:08:39 drwxrwxr-x. 7 jenkins jenkins 4096 Mar 29 06:08 . 06:08:39 drwxrwxr-x. 4 jenkins jenkins 28 Mar 29 06:07 .. 06:08:39 -rw-rw-r--. 1 jenkins jenkins 7136 Mar 29 06:07 Attribution.txt 06:08:39 drwxrwxr-x. 2 jenkins jenkins 64 Mar 29 06:07 bin 06:08:39 drwxrwxr-x. 3 jenkins jenkins 32 Mar 29 06:07 cmd 06:08:39 -rw-r--r--. 1 jenkins jenkins 47247 Mar 29 06:08 coverage.out 06:08:39 -rw-rw-r--. 1 jenkins jenkins 1851 Mar 29 06:07 Dockerfile 06:08:39 -rw-rw-r--. 1 jenkins jenkins 961 Mar 29 06:07 Dockerfile.build 06:08:39 drwxrwxr-x. 8 jenkins jenkins 179 Mar 29 06:07 .git 06:08:39 drwxrwxr-x. 2 jenkins jenkins 103 Mar 29 06:07 .github 06:08:39 -rw-rw-r--. 1 jenkins jenkins 258 Mar 29 06:07 .gitignore 06:08:39 -rw-r--r--. 1 jenkins jenkins 809 Mar 29 06:08 go.mod 06:08:39 -rw-r--r--. 1 jenkins jenkins 20000 Mar 29 06:08 go.sum 06:08:39 drwxrwxr-x. 3 jenkins jenkins 20 Mar 29 06:07 internal 06:08:39 -rw-rw-r--. 1 jenkins jenkins 660 Mar 29 06:07 Jenkinsfile 06:08:39 -rw-rw-r--. 1 jenkins jenkins 11340 Mar 29 06:07 LICENSE 06:08:39 -rw-rw-r--. 1 jenkins jenkins 873 Mar 29 06:07 Makefile 06:08:39 -rw-rw-r--. 1 jenkins jenkins 918 Mar 29 06:07 README.md 06:08:39 -rw-rw-r--. 1 jenkins jenkins 5 Mar 29 06:03 VERSION 06:08:39 -rw-rw-r--. 1 jenkins jenkins 235 Mar 29 06:07 version.go [Pipeline] isUnix [Pipeline] sh 06:08:39 + 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=0e86f3501108c0ee69c453288a9e9d71702abefc --label arch=amd64 --label version=0.0.0 . 06:08:39 Sending build context to Docker daemon 562.7kB 06:08:40 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 06:08:40 Step 2/22 : FROM ${BASE} AS builder 06:08:40 ---> cf35ac354be8 06:08:40 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 06:08:40 ---> Running in 8a06429cc8f3 06:08:40 Removing intermediate container 8a06429cc8f3 06:08:40 ---> 6f5d6af909b8 06:08:40 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 06:08:40 ---> Running in a0150a20ed44 06:08:40 Removing intermediate container a0150a20ed44 06:08:40 ---> ab2019164b19 06:08:40 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 06:08:40 ---> Running in 409ec3973045 06:08:40 Removing intermediate container 409ec3973045 06:08:40 ---> 264cc61c9942 06:08:40 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:08:40 ---> Running in 7f64de1c8338 06:08:41 Removing intermediate container 7f64de1c8338 06:08:41 ---> eb38752144a1 06:08:41 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:08:41 ---> Running in 6df2fb8070fe 06:08:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:08:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:08:43 OK: 237 MiB in 53 packages 06:08:43 Removing intermediate container 6df2fb8070fe 06:08:43 ---> 47320c278a38 06:08:43 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 06:08:44 ---> Running in 8383a8d87f3a 06:08:44 Removing intermediate container 8383a8d87f3a 06:08:44 ---> e385b307d59e 06:08:44 Step 9/22 : COPY . . 06:08:45 ---> 728211ec0806 06:08:45 Step 10/22 : ARG MAKE='make build' 06:08:45 ---> Running in 0eb060e95c20 06:08:45 Removing intermediate container 0eb060e95c20 06:08:45 ---> bc3ce9d78a77 06:08:45 Step 11/22 : RUN $MAKE 06:08:45 ---> Running in 1b2f82a8b735 06:08:45 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 06:08:54 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:08:54 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.484s coverage: 63.8% of statements 06:08:54 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:08:58 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:09:00 gofmt -l . 06:09:00 [ "`gofmt -l .`" = "" ] 06:09:00 ./bin/test-attribution-txt.sh 06:09:01 Removing intermediate container 1b2f82a8b735 06:09:01 ---> a31da01cbfa8 06:09:01 Step 12/22 : FROM alpine:3.12 06:09:01 3.12: Pulling from library/alpine 06:09:01 22599d3e9e25: Pulling fs layer 06:09:01 ./bin/test-go-mod-tidy.sh 06:09:02 22599d3e9e25: Verifying Checksum 06:09:02 22599d3e9e25: Download complete [Pipeline] } 06:09:02 $ docker stop --time=1 4280cfdf151791e38fcf1e2fe93774bb0d21b0edf1554e4c0fdfecd16eacd948 06:09:02 22599d3e9e25: Pull complete 06:09:02 Digest: sha256:d1eaae2a6814b4b10a722fa75e8a6b53db42d1bf531395a107fea0458bfbf1d8 06:09:02 Status: Downloaded newer image for alpine:3.12 06:09:02 ---> 42cb162f0360 06:09:02 Step 13/22 : ENV APP_PORT=49990 06:09:02 ---> Running in 95de5c7e0e5a 06:09:02 Removing intermediate container 95de5c7e0e5a 06:09:02 ---> 3f0b49532a80 06:09:02 Step 14/22 : EXPOSE $APP_PORT 06:09:02 ---> Running in a0b41f6bc321 06:09:03 Removing intermediate container a0b41f6bc321 06:09:03 ---> 0e245169d01c 06:09:03 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 06:09:03 ---> 3fa334f5b2b0 06:09:03 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 06:09:03 ---> 01700627a3a2 06:09:03 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 06:09:03 ---> ebc6d5da7375 06:09:03 Step 18/22 : ENTRYPOINT ["/device-virtual"] 06:09:04 ---> Running in 1b71e53a8f97 06:09:04 Removing intermediate container 1b71e53a8f97 06:09:04 ---> ba9672bf26c4 06:09:04 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:09:04 $ docker rm -f 4280cfdf151791e38fcf1e2fe93774bb0d21b0edf1554e4c0fdfecd16eacd948 06:09:04 ---> Running in c4b4302cc639 06:09:04 Removing intermediate container c4b4302cc639 06:09:04 ---> b31010d924b2 06:09:04 Step 20/22 : LABEL arch=amd64 06:09:04 ---> Running in edef847269d9 06:09:04 Removing intermediate container edef847269d9 06:09:04 ---> a27e1a19a900 06:09:04 Step 21/22 : LABEL git_sha=0e86f3501108c0ee69c453288a9e9d71702abefc 06:09:04 ---> Running in 8bbfb3419b98 06:09:04 Removing intermediate container 8bbfb3419b98 06:09:04 ---> 73be55809c04 06:09:04 Step 22/22 : LABEL version=0.0.0 06:09:04 ---> Running in 63e5839049e2 [Pipeline] // withDockerContainer [Pipeline] sh 06:09:05 Removing intermediate container 63e5839049e2 06:09:05 ---> 958ac7b09a4e 06:09:05 [Warning] One or more build-args [ARCH] were not consumed 06:09:05 Successfully built 958ac7b09a4e 06:09:05 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage 06:09:05 + sudo chown -R jenkins:jenkins . [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stash 06:09:05 Warning: overwriting stash ‘coverage-report’ 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 06:09:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 06:09:06 ---> job-cost.sh 06:09:06 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Q4KM [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:09:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:09:07 + ls -al . 06:09:07 total 152 06:09:07 drwxrwxr-x 7 jenkins jenkins 4096 Mar 29 06:09 . 06:09:07 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 06:06 .. 06:09:07 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 06:06 .git 06:09:07 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 06:06 .github 06:09:07 -rw-rw-r-- 1 jenkins jenkins 258 Mar 29 06:06 .gitignore 06:09:07 -rw-rw-r-- 1 jenkins jenkins 7136 Mar 29 06:06 Attribution.txt 06:09:07 -rw-rw-r-- 1 jenkins jenkins 1851 Mar 29 06:06 Dockerfile 06:09:07 -rw-rw-r-- 1 jenkins jenkins 961 Mar 29 06:06 Dockerfile.build 06:09:07 -rw-rw-r-- 1 jenkins jenkins 660 Mar 29 06:06 Jenkinsfile 06:09:07 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 06:06 LICENSE 06:09:07 -rw-rw-r-- 1 jenkins jenkins 873 Mar 29 06:06 Makefile 06:09:07 -rw-rw-r-- 1 jenkins jenkins 918 Mar 29 06:06 README.md 06:09:07 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 06:03 VERSION 06:09:07 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 06:06 bin 06:09:07 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 06:06 cmd 06:09:07 -rw-r--r-- 1 jenkins jenkins 47247 Mar 29 06:08 coverage.out 06:09:07 -rw-r--r-- 1 jenkins jenkins 809 Mar 29 06:09 go.mod 06:09:07 -rw-r--r-- 1 jenkins jenkins 20000 Mar 29 06:09 go.sum 06:09:07 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 06:06 internal 06:09:07 -rw-rw-r-- 1 jenkins jenkins 235 Mar 29 06:06 version.go [Pipeline] isUnix [Pipeline] sh 06:09:08 + 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=0e86f3501108c0ee69c453288a9e9d71702abefc --label arch=arm64 --label version=0.0.0 . 06:09:08 Sending build context to Docker daemon 561.7kB 06:09:08 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 06:09:08 Step 2/22 : FROM ${BASE} AS builder 06:09:08 ---> fa4c60897849 06:09:08 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 06:09:08 ---> Running in c8e47282f34e 06:09:09 Removing intermediate container c8e47282f34e 06:09:09 ---> bf485bd034cd 06:09:09 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 06:09:09 ---> Running in 0c183c69fa09 06:09:09 Removing intermediate container 0c183c69fa09 06:09:09 ---> ce639bd18cc6 06:09:09 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 06:09:09 ---> Running in 22182cf0455f 06:09:10 Removing intermediate container 22182cf0455f 06:09:10 ---> 884b0aed784e 06:09:10 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:09:10 ---> Running in 9694853d1dd8 06:09:13 Removing intermediate container 9694853d1dd8 06:09:13 ---> a2f1cc5b07f3 06:09:13 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:09:13 ---> Running in 5facf1dc2825 06:09:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:09:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:09:15 OK: 221 MiB in 53 packages 06:09:16 Removing intermediate container 5facf1dc2825 06:09:16 ---> 91dadd9c8fb7 06:09:16 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 06:09:16 ---> Running in 23ce2710f5d9 06:09:17 Removing intermediate container 23ce2710f5d9 06:09:17 ---> 215a687855cb 06:09:17 Step 9/22 : COPY . . 06:09:18 ---> 4a8ebc1b5adc 06:09:18 Step 10/22 : ARG MAKE='make build' 06:09:18 ---> Running in 15078a4e694d 06:09:19 Removing intermediate container 15078a4e694d 06:09:19 ---> 5b674da114b5 06:09:19 Step 11/22 : RUN $MAKE 06:09:19 ---> Running in 9036c63951ca 06:09:20 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 06:09:21 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:09:53 lf-activate-venv(): INFO: Adding /tmp/venv-Q4KM/bin to PATH 06:09:53 INFO: No Stack... 06:09:53 INFO: Retrieving Pricing Info for: v1-standard-2 06:09:53 INFO: Archiving Costs [Pipeline] sh 06:09:54 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 06:09:54 + cut -d, -f6 [Pipeline] lock 06:09:54 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-173-1-stack-cost] 06:09:54 Resource [jenkins-edgexfoundry-device-virtual-go-PR-173-1-stack-cost] did not exist. Created. 06:09:54 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-173-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:09:54 + echo total: 0.029999999329447746 [Pipeline] stash 06:09:55 Stashed 1 file(s) [Pipeline] } 06:09:55 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-173-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:09:59 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:10:01 Removing intermediate container 9036c63951ca 06:10:01 ---> cb55d494a3e1 06:10:01 Step 12/22 : FROM alpine:3.12 06:10:01 3.12: Pulling from library/alpine 06:10:02 95dec6db3722: Pulling fs layer 06:10:02 95dec6db3722: Verifying Checksum 06:10:02 95dec6db3722: Download complete 06:10:02 95dec6db3722: Pull complete 06:10:02 Digest: sha256:d1eaae2a6814b4b10a722fa75e8a6b53db42d1bf531395a107fea0458bfbf1d8 06:10:02 Status: Downloaded newer image for alpine:3.12 06:10:02 ---> e47305ac9786 06:10:02 Step 13/22 : ENV APP_PORT=49990 06:10:03 ---> Running in 097da28df141 06:10:03 Removing intermediate container 097da28df141 06:10:03 ---> 31b865455bc2 06:10:03 Step 14/22 : EXPOSE $APP_PORT 06:10:03 ---> Running in cf4882a31b21 06:10:04 Removing intermediate container cf4882a31b21 06:10:04 ---> 5bf6834f52cd 06:10:04 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 06:10:05 ---> 6ddd706d6039 06:10:05 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 06:10:06 ---> 19d7043786e2 06:10:06 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 06:10:07 ---> 63125ce8220a 06:10:07 Step 18/22 : ENTRYPOINT ["/device-virtual"] 06:10:07 ---> Running in e84786de4a49 06:10:07 Removing intermediate container e84786de4a49 06:10:07 ---> 40ab416aee8f 06:10:07 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:10:07 ---> Running in 373bc7108849 06:10:08 Removing intermediate container 373bc7108849 06:10:08 ---> 30be9cae0b68 06:10:08 Step 20/22 : LABEL arch=arm64 06:10:08 ---> Running in 6f132c2938d2 06:10:08 Removing intermediate container 6f132c2938d2 06:10:08 ---> 60da505dd23d 06:10:08 Step 21/22 : LABEL git_sha=0e86f3501108c0ee69c453288a9e9d71702abefc 06:10:08 ---> Running in 053799b1b11d 06:10:09 Removing intermediate container 053799b1b11d 06:10:09 ---> edc95d026cba 06:10:09 Step 22/22 : LABEL version=0.0.0 06:10:09 ---> Running in 7213d5fe7aa0 06:10:10 Removing intermediate container 7213d5fe7aa0 06:10:10 ---> f73b7bf72405 06:10:10 [Warning] One or more build-args [ARCH] were not consumed 06:10:10 Successfully built f73b7bf72405 06:10: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 06:10:10 ---> job-cost.sh 06:10:10 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-OSyL 06:10:49 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:12:26 lf-activate-venv(): INFO: Adding /tmp/venv-OSyL/bin to PATH 06:12:26 INFO: No Stack... 06:12:26 INFO: Retrieving Pricing Info for: lf-standard-4 06:12:26 INFO: Archiving Costs [Pipeline] sh 06:12:27 + + cat /w/workspace/device-virtual-go/1/archives/cost.csv 06:12:27 cut -d, -f6 [Pipeline] lock 06:12:27 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-173-1-stack-cost] 06:12:27 Resource [jenkins-edgexfoundry-device-virtual-go-PR-173-1-stack-cost] did not exist. Created. 06:12:27 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-173-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:12:27 /w/workspace/device-virtual-go/1@tmp/durable-d7d75b57/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-d7d75b57/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:12:28 + echo total: 0.20999999344348907 [Pipeline] stash 06:12:28 Warning: overwriting stash ‘stack-cost’ 06:12:28 Stashed 1 file(s) [Pipeline] } 06:12:28 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-173-1-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 06:12:30 provisioning config files... 06:12:30 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-173@tmp/config1919674458756640231tmp [Pipeline] { [Pipeline] sh 06:12:30 + set +x 06:12:30 + curl -s https://codecov.io/bash 06:12:30 + bash -s -- 06:12:30 06:12:30 _____ _ 06:12:30 / ____| | | 06:12:30 | | ___ __| | ___ ___ _____ __ 06:12:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:12:30 | |___| (_) | (_| | __/ (_| (_) \ V / 06:12:30 \_____\___/ \__,_|\___|\___\___/ \_/ 06:12:30 Bash-20210309-2b87ace 06:12:30 06:12:30 06:12:30 ==> git version 2.24.3 found 06:12: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 06:12:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:12:30 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:12:30 ==> Jenkins CI detected. 06:12:30 project root: . 06:12:30 --> token set from env 06:12:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:12:31 ==> Running gcov in . (disable via -X gcov) 06:12:31 ==> Python coveragepy not found 06:12:31 ==> Searching for coverage reports in: 06:12:31 + . 06:12:31 -> Found 1 reports 06:12:31 ==> Detecting git/mercurial file structure 06:12:31 ==> Reading reports 06:12:31 + ./coverage.out bytes=47247 06:12:31 ==> Appending adjustments 06:12:31 https://docs.codecov.io/docs/fixing-reports 06:12:31 + Found adjustments 06:12:31 ==> Gzipping contents 06:12:31 8.0K /tmp/codecov.mHbehj.gz 06:12:31 ==> Uploading reports 06:12:31 url: https://codecov.io 06:12:31 query: branch=PR-173&commit=0e86f3501108c0ee69c453288a9e9d71702abefc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-173%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=173&job=&cmd_args= 06:12:31 -> Pinging Codecov 06:12:31 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-173&commit=0e86f3501108c0ee69c453288a9e9d71702abefc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-173%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=173&job=&cmd_args= 06:12:31 -> Uploading to 06:12:31 https://storage.googleapis.com/codecov/v4/raw/2021-03-29/5E52B4B073DB2E39498172D8E973AA87/0e86f3501108c0ee69c453288a9e9d71702abefc/18da1d83-eea0-43da-b57d-0bf5628c5a88.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210329T061231Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d1b34ac062eb9e9d1a92ffe1473b73ddd8b1f5b6eb7592628de8e1866b7546f 06:12:31 % Total % Received % Xferd Average Speed Time Time Time Current 06:12:31 Dload Upload Total Spent Left Speed 06:12:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5773 0 0 100 5773 0 15496 --:--:-- --:--:-- --:--:-- 15477 06:12:31 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/0e86f3501108c0ee69c453288a9e9d71702abefc [Pipeline] } 06:12: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 06:12:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:12:36 ---> package-listing.sh 06:12:36 ++ tr '[:upper:]' '[:lower:]' 06:12:36 ++ facter osfamily 06:12:36 + OS_FAMILY=redhat 06:12:36 + workspace=/w/workspace/foundry_device-virtual-go_PR-173 06:12:36 + START_PACKAGES=/tmp/packages_start.txt 06:12:36 + END_PACKAGES=/tmp/packages_end.txt 06:12:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:12:36 + PACKAGES=/tmp/packages_start.txt 06:12:36 + '[' /w/workspace/foundry_device-virtual-go_PR-173 ']' 06:12:36 + PACKAGES=/tmp/packages_end.txt 06:12:36 + case "${OS_FAMILY}" in 06:12:36 + rpm -qa 06:12:36 + sort 06:12:41 + '[' -f /tmp/packages_start.txt ']' 06:12:41 + '[' -f /tmp/packages_end.txt ']' 06:12:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:12:41 + '[' /w/workspace/foundry_device-virtual-go_PR-173 ']' 06:12:41 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-173/archives/ 06:12:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-173/archives/ [Pipeline] echo 06:12:41 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-173/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:12:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:12:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:12:42 06:12:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:12:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:12:42 alpine: Pulling from edgex-lftools-log-publisher 06:12:42 df20fa9351a1: Pulling fs layer 06:12:42 36b3adc4ff6f: Pulling fs layer 06:12:42 8ad3a11d3b57: Pulling fs layer 06:12:42 46f8f816bc3b: Pulling fs layer 06:12:42 93b61091891f: Pulling fs layer 06:12:42 93b9cdb0e59b: Pulling fs layer 06:12:42 5e14af77c1be: Pulling fs layer 06:12:42 01666e4c0597: Pulling fs layer 06:12:42 aa168da1d23b: Pulling fs layer 06:12:42 46f8f816bc3b: Waiting 06:12:42 93b61091891f: Waiting 06:12:42 93b9cdb0e59b: Waiting 06:12:42 5e14af77c1be: Waiting 06:12:42 01666e4c0597: Waiting 06:12:42 aa168da1d23b: Waiting 06:12:42 36b3adc4ff6f: Download complete 06:12:42 46f8f816bc3b: Verifying Checksum 06:12:42 46f8f816bc3b: Download complete 06:12:42 df20fa9351a1: Verifying Checksum 06:12:43 93b9cdb0e59b: Verifying Checksum 06:12:43 93b9cdb0e59b: Download complete 06:12:43 5e14af77c1be: Verifying Checksum 06:12:43 5e14af77c1be: Download complete 06:12:43 93b61091891f: Download complete 06:12:43 01666e4c0597: Verifying Checksum 06:12:43 01666e4c0597: Download complete 06:12:43 8ad3a11d3b57: Verifying Checksum 06:12:43 8ad3a11d3b57: Download complete 06:12:43 df20fa9351a1: Pull complete 06:12:43 36b3adc4ff6f: Pull complete 06:12:44 8ad3a11d3b57: Pull complete 06:12:44 46f8f816bc3b: Pull complete 06:12:44 93b61091891f: Pull complete 06:12:45 aa168da1d23b: Verifying Checksum 06:12:45 aa168da1d23b: Download complete 06:12:45 93b9cdb0e59b: Pull complete 06:12:45 5e14af77c1be: Pull complete 06:12:45 01666e4c0597: Pull complete 06:12:52 aa168da1d23b: Pull complete 06:12:52 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:12:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:12:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:12:52 prd-centos7-docker-4c-2g-31680 does not seem to be running inside a container 06:12:52 $ 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-173/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-173 -v /w/workspace/foundry_device-virtual-go_PR-173:/w/workspace/foundry_device-virtual-go_PR-173:rw,z -v /w/workspace/foundry_device-virtual-go_PR-173@tmp:/w/workspace/foundry_device-virtual-go_PR-173@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:10003/edgex-lftools-log-publisher:alpine cat 06:12:56 $ docker top 8de9c455dfe8cf029ae45a21a9fb5def05b699d863e18c4c23cf76f0fe12b250 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:57 + touch /tmp/pre-build-complete [Pipeline] sh 06:12:57 + mkdir -p /var/log/sa [Pipeline] sh 06:12:57 + ls /var/log/sa-host 06:12:57 + sadf -c /var/log/sa-host/sa23 06:12:57 file_magic: OK 06:12:57 HZ: Using current value: 100 06:12:57 file_header: OK 06:12:57 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:12:57 Statistics: 06:12:57 Hnuu...uuuununununu... 06:12:57 File successfully converted to sysstat format version 12.2.1 06:12:57 + sadf -c /var/log/sa-host/sa29 06:12:57 file_magic: OK 06:12:57 HZ: Using current value: 100 06:12:57 file_header: OK 06:12:57 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:12:57 Statistics: 06:12:57 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:12:57 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:12:57 provisioning config files... 06:12:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-173@tmp/config2530801978211322666tmp [Pipeline] { [Pipeline] echo 06:12:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:12:58 ---> create-netrc.sh [Pipeline] } 06:12:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:12:58 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:12:59 ---> python-tools-install.sh [Pipeline] echo 06:12:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:12:59 ---> sudo-logs.sh 06:12:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:12:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:12:59 ---> job-cost.sh 06:12:59 lf-activate-venv: SKIPPING 06:12:59 DEBUG: total: 0.20999999344348907 06:12:59 INFO: Retrieving Stack Cost... 06:13:00 INFO: Retrieving Pricing Info for: v1-standard-2 06:13:01 INFO: Archiving Costs [Pipeline] echo 06:13:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:13:01 ---> logs-deploy.sh 06:13:01 lf-activate-venv: SKIPPING 06:13:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-173/1 06:13:01 INFO: archiving workspace using pattern(s): 06:13:03 Archives upload complete. 06:13:03 INFO: archiving logs to Nexus 06:13:04 ---> uname -a: 06:13:04 Linux prd-centos7-docker-4c-2g-31680.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:13:04 06:13:04 06:13:04 ---> lscpu: 06:13:04 Architecture: x86_64 06:13:04 CPU op-mode(s): 32-bit, 64-bit 06:13:04 Byte Order: Little Endian 06:13:04 Address sizes: 40 bits physical, 48 bits virtual 06:13:04 CPU(s): 4 06:13:04 On-line CPU(s) list: 0-3 06:13:04 Thread(s) per core: 1 06:13:04 Core(s) per socket: 1 06:13:04 Socket(s): 4 06:13:04 NUMA node(s): 1 06:13:04 Vendor ID: GenuineIntel 06:13:04 CPU family: 6 06:13:04 Model: 44 06:13:04 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:13:04 Stepping: 1 06:13:04 CPU MHz: 2933.436 06:13:04 BogoMIPS: 5866.87 06:13:04 Virtualization: VT-x 06:13:04 Hypervisor vendor: KVM 06:13:04 Virtualization type: full 06:13:04 L1d cache: 128 KiB 06:13:04 L1i cache: 128 KiB 06:13:04 L2 cache: 16 MiB 06:13:04 L3 cache: 64 MiB 06:13:04 NUMA node0 CPU(s): 0-3 06:13:04 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:13:04 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:13:04 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:13:04 Vulnerability Meltdown: Mitigation; PTI 06:13:04 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:13:04 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:13:04 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:13:04 Vulnerability Srbds: Not affected 06:13:04 Vulnerability Tsx async abort: Not affected 06:13:04 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 06:13:04 06:13:04 06:13:04 ---> nproc: 06:13:04 4 06:13:04 06:13:04 06:13:04 ---> df -h: 06:13:04 Filesystem Size Used Available Use% Mounted on 06:13:04 overlay 50.0G 7.3G 42.7G 15% / 06:13:04 tmpfs 64.0M 0 64.0M 0% /dev 06:13:04 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:13:04 shm 64.0M 0 64.0M 0% /dev/shm 06:13:04 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:13:04 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:13:04 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:13:04 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:13:04 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-173@tmp 06:13:04 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:13:04 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:13:04 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:13:04 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:13:04 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-173 06:13:04 06:13:04 06:13:04 ---> free -m: 06:13:04 total used free shared buff/cache available 06:13:04 Mem: 1837 727 100 0 1009 1004 06:13:04 Swap: 1023 1 1022 06:13:04 06:13:04 06:13:04 ---> ip addr: 06:13:04 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:13:04 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:13:04 inet 127.0.0.1/8 scope host lo 06:13:04 valid_lft forever preferred_lft forever 06:13:04 inet6 ::1/128 scope host 06:13:04 valid_lft forever preferred_lft forever 06:13:04 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:13:04 link/ether fa:16:3e:e7:a7:ee brd ff:ff:ff:ff:ff:ff 06:13:04 inet 10.30.122.58/23 brd 10.30.123.255 scope global dynamic eth0 06:13:04 valid_lft 85759sec preferred_lft 85759sec 06:13:04 inet6 fe80::f816:3eff:fee7:a7ee/64 scope link 06:13:04 valid_lft forever preferred_lft forever 06:13:04 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:13:04 link/ether 02:42:2d:66:79:31 brd ff:ff:ff:ff:ff:ff 06:13:04 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:13:04 valid_lft forever preferred_lft forever 06:13:04 inet6 fe80::42:2dff:fe66:7931/64 scope link 06:13:04 valid_lft forever preferred_lft forever 06:13:04 06:13:04 06:13:04 ---> sar -b -r -n DEV: 06:13:04 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 03/29/21 _x86_64_ (4 CPU) 06:13:04 06:13:04 06:02:10 LINUX RESTART (4 CPU) 06:13:04 06:13:04 06:03:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:13:04 06:04:02 30.50 11.65 18.86 0.00 4551.25 3037.09 0.00 06:13:04 06:05:01 1.57 0.00 1.57 0.00 0.00 25.18 0.00 06:13:04 06:06:01 0.27 0.00 0.27 0.00 0.00 3.48 0.00 06:13:04 06:07:01 0.27 0.00 0.27 0.00 0.00 3.28 0.00 06:13:04 06:08:01 0.15 0.00 0.15 0.00 0.00 1.93 0.00 06:13:04 06:09:01 0.37 0.00 0.37 0.00 0.00 4.43 0.00 06:13:04 06:10:01 0.25 0.00 0.25 0.00 0.00 2.70 0.00 06:13:04 06:11:01 0.23 0.00 0.23 0.00 0.00 3.20 0.00 06:13:04 06:12:01 0.25 0.00 0.25 0.00 0.00 2.98 0.00 06:13:04 Average: 3.72 1.28 2.44 0.00 499.37 338.45 0.00 06:13:04 06:13:04 06:03:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:13:04 06:04:02 167584 0 620784 32.99 2620 1090556 1102212 37.62 437832 1077880 20 06:13:04 06:05:01 170820 0 617540 32.82 2620 1090564 1083276 36.97 439904 1072900 16 06:13:04 06:06:01 171556 0 616800 32.78 2620 1090568 1081220 36.90 449708 1063084 12 06:13:04 06:07:01 169804 0 618552 32.87 2620 1090568 1081292 36.90 455752 1058576 8 06:13:04 06:08:01 170492 0 617856 32.84 2620 1090576 1081232 36.90 458360 1055652 8 06:13:04 06:09:01 171944 0 616400 32.76 2620 1090580 1071968 36.58 458028 1055212 16 06:13:04 06:10:01 171920 0 616420 32.76 2620 1090584 1071968 36.58 457884 1055212 8 06:13:04 06:11:01 171672 0 616664 32.77 2620 1090588 1071968 36.58 457892 1055212 8 06:13:04 06:12:01 171696 0 616632 32.77 2620 1090596 1071968 36.58 458020 1055212 8 06:13:04 Average: 170832 0 617516 32.82 2620 1090576 1079678 36.85 452598 1060993 12 06:13:04 06:13:04 06:03:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:13:04 06:04:02 eth0 82.94 59.87 351.22 29.35 0.00 0.00 0.00 0.00 06:13:04 06:04:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:04 06:04:02 docker0 2.12 1.73 0.39 4.07 0.00 0.00 0.00 0.00 06:13:04 06:05:01 eth0 3.35 0.71 0.96 0.62 0.00 0.00 0.00 0.00 06:13:04 06:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:04 06:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:04 06:06:01 eth0 2.56 0.58 0.69 0.40 0.00 0.00 0.00 0.00 06:13:04 06:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:04 06:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:04 06:07:01 eth0 2.43 0.65 0.90 0.52 0.00 0.00 0.00 0.00 06:13:04 06:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:04 06:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:04 06:08:01 eth0 1.75 0.63 0.72 0.52 0.00 0.00 0.00 0.00 06:13:04 06:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:04 06:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:04 06:09:01 eth0 0.15 0.07 0.01 0.01 0.00 0.00 0.00 0.00 06:13:04 06:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:04 06:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:04 06:10:01 eth0 0.23 0.08 0.01 0.01 0.00 0.00 0.00 0.00 06:13:04 06:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:04 06:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:04 06:11:01 eth0 0.17 0.08 0.01 0.01 0.00 0.00 0.00 0.00 06:13:04 06:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:04 06:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:04 06:12:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 06:13:04 06:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:04 06:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:04 Average: eth0 10.30 6.89 38.90 3.45 0.00 0.00 0.00 0.00 06:13:04 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:04 Average: docker0 0.23 0.19 0.04 0.45 0.00 0.00 0.00 0.00 06:13:04 06:13:04 06:13:04 ---> sar -P ALL: 06:13:04 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 03/29/21 _x86_64_ (4 CPU) 06:13:04 06:13:04 06:02:10 LINUX RESTART (4 CPU) 06:13:04 06:13:04 06:03:02 CPU %user %nice %system %iowait %steal %idle 06:13:04 06:04:02 all 2.66 0.00 2.09 0.37 0.08 94.81 06:13:04 06:04:02 0 2.79 0.00 2.43 0.51 0.07 94.21 06:13:04 06:04:02 1 2.18 0.00 1.79 0.12 0.09 95.82 06:13:04 06:04:02 2 2.87 0.00 2.29 0.21 0.09 94.55 06:13:04 06:04:02 3 2.80 0.00 1.84 0.63 0.07 94.66 06:13:04 06:05:01 all 0.17 0.00 0.06 0.00 0.00 99.77 06:13:04 06:05:01 0 0.05 0.00 0.03 0.00 0.00 99.92 06:13:04 06:05:01 1 0.08 0.00 0.05 0.00 0.00 99.86 06:13:04 06:05:01 2 0.42 0.00 0.07 0.00 0.02 99.49 06:13:04 06:05:01 3 0.10 0.00 0.08 0.00 0.00 99.81 06:13:04 06:06:01 all 0.17 0.00 0.07 0.00 0.02 99.74 06:13:04 06:06:01 0 0.10 0.00 0.10 0.00 0.02 99.78 06:13:04 06:06:01 1 0.02 0.00 0.10 0.00 0.00 99.88 06:13:04 06:06:01 2 0.53 0.00 0.05 0.00 0.05 99.37 06:13:04 06:06:01 3 0.03 0.00 0.03 0.00 0.02 99.92 06:13:04 06:07:01 all 0.15 0.00 0.06 0.00 0.00 99.80 06:13:04 06:07:01 0 0.12 0.00 0.05 0.00 0.00 99.83 06:13:04 06:07:01 1 0.03 0.00 0.05 0.00 0.00 99.92 06:13:04 06:07:01 2 0.35 0.00 0.08 0.00 0.00 99.57 06:13:04 06:07:01 3 0.08 0.00 0.05 0.00 0.00 99.87 06:13:04 06:08:01 all 0.09 0.00 0.08 0.00 0.02 99.81 06:13:04 06:08:01 0 0.07 0.00 0.05 0.00 0.00 99.88 06:13:04 06:08:01 1 0.03 0.00 0.20 0.00 0.03 99.73 06:13:04 06:08:01 2 0.20 0.00 0.07 0.00 0.02 99.72 06:13:04 06:08:01 3 0.07 0.00 0.02 0.00 0.02 99.90 06:13:04 06:09:01 all 0.15 0.00 0.03 0.00 0.00 99.82 06:13:04 06:09:01 0 0.03 0.00 0.03 0.00 0.00 99.93 06:13:04 06:09:01 1 0.03 0.00 0.05 0.00 0.00 99.92 06:13:04 06:09:01 2 0.50 0.00 0.02 0.00 0.00 99.48 06:13:04 06:09:01 3 0.03 0.00 0.03 0.00 0.00 99.93 06:13:04 06:10:01 all 0.17 0.00 0.03 0.00 0.01 99.79 06:13:04 06:10:01 0 0.03 0.00 0.02 0.00 0.02 99.93 06:13:04 06:10:01 1 0.02 0.00 0.03 0.00 0.00 99.95 06:13:04 06:10:01 2 0.52 0.00 0.03 0.00 0.00 99.45 06:13:04 06:10:01 3 0.10 0.00 0.05 0.00 0.02 99.83 06:13:04 06:11:01 all 0.15 0.00 0.03 0.00 0.00 99.82 06:13:04 06:11:01 0 0.03 0.00 0.03 0.00 0.00 99.93 06:13:04 06:11:01 1 0.03 0.00 0.03 0.00 0.00 99.93 06:13:04 06:11:01 2 0.50 0.00 0.03 0.00 0.00 99.47 06:13:04 06:11:01 3 0.02 0.00 0.02 0.00 0.02 99.95 06:13:04 06:12:01 all 0.06 0.00 0.05 0.00 0.01 99.88 06:13:04 06:12:01 0 0.05 0.00 0.05 0.00 0.00 99.90 06:13:04 06:12:01 1 0.03 0.00 0.03 0.00 0.02 99.92 06:13:04 06:12:01 2 0.13 0.00 0.08 0.00 0.02 99.77 06:13:04 06:12:01 3 0.02 0.00 0.03 0.00 0.00 99.95 06:13:04 Average: all 0.41 0.00 0.27 0.04 0.02 99.26 06:13:04 Average: 0 0.36 0.00 0.31 0.06 0.01 99.27 06:13:04 Average: 1 0.27 0.00 0.26 0.01 0.01 99.45 06:13:04 Average: 2 0.66 0.00 0.30 0.02 0.02 98.99 06:13:04 Average: 3 0.36 0.00 0.24 0.07 0.01 99.32 06:13:04 06:13:04 06:13:04