Pull request #146 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of tonyespy for edgexfoundry/device-virtual-go Obtained Jenkinsfile from b61769c9b844f541a2e26608496f5fff28e5b0ec+c9d1bc531ce8d239853a83473b53448fb6f2334c (ea406c5552871b9aa9f3c5ec6713a1cbe457045c) 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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-146/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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d45bb06fbd349d05c83df7b0a7176550fae40e6 # timeout=10 Commit message: "Merge pull request #295 from ernestojeda/always-docker-auth" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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-146/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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-11961 in /w/workspace/foundry_device-virtual-go_PR-146 [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-146 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --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 --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c9d1bc531ce8d239853a83473b53448fb6f2334c into PR head commit b61769c9b844f541a2e26608496f5fff28e5b0ec Merge succeeded, producing b61769c9b844f541a2e26608496f5fff28e5b0ec Checking out Revision b61769c9b844f541a2e26608496f5fff28e5b0ec (PR-146) > git config core.sparsecheckout # timeout=10 > git checkout -f b61769c9b844f541a2e26608496f5fff28e5b0ec # 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 c9d1bc531ce8d239853a83473b53448fb6f2334c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b61769c9b844f541a2e26608496f5fff28e5b0ec # timeout=10 Commit message: "build: update device-sdk-go to 1.3.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:44:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:44:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:44:28 ========================================================= 19:44:28 EdgeX Global Pipelines Version Info 19:44:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:44:29 ------------------- 19:44:29 stable info: 19:44:29 ------------------- 19:44:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:44:29 Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 19:44:29 Message: update stable to v1.0.162 19:44:30 ------------------- 19:44:30 experimental info: 19:44:30 ------------------- 19:44:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:44:30 Commit SHA: 6f2ee81cce8ce978e0d8ebd6865d4103bdd6920b 19:44:30 Message: update experimental to v1.0.164 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 19:44:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 19:44:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 19:44:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:44:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:44:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:44:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 19:44:32 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 19:44:32 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 19:44:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:44:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:44:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:44:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 19:44:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:44:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:44:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:44:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:44:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:44:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:44:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:44:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:44:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:44:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:44:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:44:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:44:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:44:34 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 19:44:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-146 [Pipeline] echo 19:44:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-146 [Pipeline] echo 19:44:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-146 [Pipeline] echo 19:44:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b61769c9b844f541a2e26608496f5fff28e5b0ec [Pipeline] echo 19:44:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b61769c [Pipeline] echo 19:44:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:44:35 provisioning config files... 19:44:36 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-146@tmp/config159975980956224287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:44:36 ---> docker-login.sh 19:44:36 nexus3.edgexfoundry.org:10001 19:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:44:36 Configure a credential helper to remove this warning. See 19:44:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:44:36 19:44:36 Login Succeeded 19:44:36 nexus3.edgexfoundry.org:10002 19:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:44:36 Configure a credential helper to remove this warning. See 19:44:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:44:36 19:44:36 Login Succeeded 19:44:36 nexus3.edgexfoundry.org:10003 19:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:44:37 Configure a credential helper to remove this warning. See 19:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:44:37 19:44:37 Login Succeeded 19:44:37 nexus3.edgexfoundry.org:10004 19:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:44:37 Configure a credential helper to remove this warning. See 19:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:44:37 19:44:37 Login Succeeded 19:44:37 docker.io 19:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:44:37 Configure a credential helper to remove this warning. See 19:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:44:37 19:44:37 Login Succeeded 19:44:37 ---> docker-login.sh ends [Pipeline] } 19:44:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:44:38 + git log --format=format:%s -1 b61769c9b844f541a2e26608496f5fff28e5b0ec [Pipeline] echo 19:44:38 GIT_COMMIT: b61769c9b844f541a2e26608496f5fff28e5b0ec, Commit Message: build: update device-sdk-go to 1.3.0 [Pipeline] echo 19:44:38 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 19:44:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:44:39 19:44:39 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:44:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:44:40 latest: Pulling from edgex-devops/git-semver 19:44:40 31603596830f: Pulling fs layer 19:44:40 2a8b12db71e7: Pulling fs layer 19:44:40 6ca5941a6612: Pulling fs layer 19:44:40 ecc8261a40a4: Pulling fs layer 19:44:40 ecc8261a40a4: Waiting 19:44:40 2a8b12db71e7: Verifying Checksum 19:44:40 2a8b12db71e7: Download complete 19:44:40 31603596830f: Verifying Checksum 19:44:40 31603596830f: Download complete 19:44:40 ecc8261a40a4: Verifying Checksum 19:44:40 ecc8261a40a4: Download complete 19:44:40 6ca5941a6612: Verifying Checksum 19:44:40 6ca5941a6612: Download complete 19:44:40 31603596830f: Pull complete 19:44:41 2a8b12db71e7: Pull complete 19:44:41 6ca5941a6612: Pull complete 19:44:41 ecc8261a40a4: Pull complete 19:44:41 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 19:44:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:44:41 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:44:42 prd-centos7-docker-4c-2g-11961 does not seem to be running inside a container 19:44:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-146 -v /w/workspace/foundry_device-virtual-go_PR-146:/w/workspace/foundry_device-virtual-go_PR-146:rw,z -v /w/workspace/foundry_device-virtual-go_PR-146@tmp:/w/workspace/foundry_device-virtual-go_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:44:44 $ docker top 1831762ec4b2f9725d21fea0b214c8f11fe1b8a6de97ca197f4efdbc4128cafd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:44:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:44:44 [ssh-agent] Looking for ssh-agent implementation... 19:44:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:44:44 $ docker exec 1831762ec4b2f9725d21fea0b214c8f11fe1b8a6de97ca197f4efdbc4128cafd ssh-agent 19:44:45 SSH_AUTH_SOCK=/tmp/ssh-4HFu6IMXu9Jm/agent.12 19:44:45 SSH_AGENT_PID=17 19:44:45 Running ssh-add (command line suppressed) 19:44:45 Identity added: /w/workspace/foundry_device-virtual-go_PR-146@tmp/private_key_675192620705387264.key (/w/workspace/foundry_device-virtual-go_PR-146@tmp/private_key_675192620705387264.key) 19:44:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:44:45 + git tag --points-at HEAD [Pipeline] } 19:44:45 $ docker exec --env ******** --env ******** 1831762ec4b2f9725d21fea0b214c8f11fe1b8a6de97ca197f4efdbc4128cafd ssh-agent -k 19:44:45 unset SSH_AUTH_SOCK; 19:44:45 unset SSH_AGENT_PID; 19:44:45 echo Agent pid 17 killed; 19:44:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:44:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:44:45 [ssh-agent] Looking for ssh-agent implementation... 19:44:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:44:46 $ docker exec 1831762ec4b2f9725d21fea0b214c8f11fe1b8a6de97ca197f4efdbc4128cafd ssh-agent 19:44:46 SSH_AUTH_SOCK=/tmp/ssh-neYZ5NhdyWCH/agent.47 19:44:46 SSH_AGENT_PID=52 19:44:46 Running ssh-add (command line suppressed) 19:44:46 Identity added: /w/workspace/foundry_device-virtual-go_PR-146@tmp/private_key_8526021442405378624.key (/w/workspace/foundry_device-virtual-go_PR-146@tmp/private_key_8526021442405378624.key) 19:44:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:44:46 + git semver init 19:44:46 # -> Open(): unable to determine branch for HEAD 19:44:46 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-146/.git 19:44:46 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-146 19:44:46 # $SEMVER_REMOTE_NAME = origin 19:44:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:44:46 # $SEMVER_USER_NAME = edgex-jenkins 19:44:46 # $SEMVER_BRANCH = PR-146 19:44:46 # $SEMVER_TEMP = /tmp/semver-314471907 19:44:46 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 19:44:47 # '/tmp/semver-314471907' -> '/w/workspace/foundry_device-virtual-go_PR-146/.semver' 19:44:47 # -> Force: false 19:44:47 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-146/.semver [Pipeline] } 19:44:47 $ docker exec --env ******** --env ******** 1831762ec4b2f9725d21fea0b214c8f11fe1b8a6de97ca197f4efdbc4128cafd ssh-agent -k 19:44:47 unset SSH_AUTH_SOCK; 19:44:47 unset SSH_AGENT_PID; 19:44:47 echo Agent pid 52 killed; 19:44:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:44:48 + git semver [Pipeline] } 19:44:48 $ docker stop --time=1 1831762ec4b2f9725d21fea0b214c8f11fe1b8a6de97ca197f4efdbc4128cafd 19:44:49 $ docker rm -f 1831762ec4b2f9725d21fea0b214c8f11fe1b8a6de97ca197f4efdbc4128cafd [Pipeline] // withDockerContainer [Pipeline] sh 19:44:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:44:50 Stashed 1 file(s) [Pipeline] echo 19:44:50 [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 19:45:06 Still waiting to schedule task 19:45:06 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-11961’ 19:45:06 Still waiting to schedule task 19:45:06 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 19:47:02 Running on prd-ubuntu18.04-docker-arm64-4c-16g-11962 in /w/workspace/foundry_device-virtual-go_PR-146 [Pipeline] { [Pipeline] ws 19:47:03 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 19:47:08 using credential edgex-jenkins-ssh 19:47:08 Cloning the remote Git repository 19:47:08 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 19:47:08 > git init /w/workspace/device-virtual-go/1 # timeout=10 19:47:08 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:47:08 > git --version # timeout=10 19:47:08 > git --version # 'git version 2.17.1' 19:47:08 using GIT_SSH to set credentials SSH Credentials for GitHub 19:47:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:47:09 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:47:10 Merging remotes/origin/master commit c9d1bc531ce8d239853a83473b53448fb6f2334c into PR head commit b61769c9b844f541a2e26608496f5fff28e5b0ec 19:47:10 Merge succeeded, producing b61769c9b844f541a2e26608496f5fff28e5b0ec 19:47:10 Checking out Revision b61769c9b844f541a2e26608496f5fff28e5b0ec (PR-146) 19:47:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:47:09 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:47:09 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:47:09 using GIT_SSH to set credentials SSH Credentials for GitHub 19:47:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:47:10 > git config core.sparsecheckout # timeout=10 19:47:10 > git checkout -f b61769c9b844f541a2e26608496f5fff28e5b0ec # timeout=10 19:47:10 > git remote # timeout=10 19:47:10 > git config --get remote.origin.url # timeout=10 19:47:10 using GIT_SSH to set credentials SSH Credentials for GitHub 19:47:10 > git merge c9d1bc531ce8d239853a83473b53448fb6f2334c # timeout=10 19:47:10 > git rev-parse HEAD^{commit} # timeout=10 19:47:10 > git config core.sparsecheckout # timeout=10 19:47:10 > git checkout -f b61769c9b844f541a2e26608496f5fff28e5b0ec # timeout=10 19:47:14 Commit message: "build: update device-sdk-go to 1.3.0" 19:47:14 > git --version # timeout=10 19:47:14 > git --version # 'git version 2.17.1' 19:47:14 fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:47:15 provisioning config files... 19:47:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config3443560596473327473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:47:17 ---> docker-login.sh 19:47:17 nexus3.edgexfoundry.org:10001 19:47:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:18 Configure a credential helper to remove this warning. See 19:47:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:18 19:47:18 Login Succeeded 19:47:18 nexus3.edgexfoundry.org:10002 19:47:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:18 Configure a credential helper to remove this warning. See 19:47:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:18 19:47:18 Login Succeeded 19:47:18 nexus3.edgexfoundry.org:10003 19:47:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:19 Configure a credential helper to remove this warning. See 19:47:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:19 19:47:19 Login Succeeded 19:47:19 nexus3.edgexfoundry.org:10004 19:47:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:19 Configure a credential helper to remove this warning. See 19:47:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:19 19:47:19 Login Succeeded 19:47:19 docker.io 19:47:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:20 Configure a credential helper to remove this warning. See 19:47:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:20 19:47:20 Login Succeeded 19:47:20 ---> docker-login.sh ends [Pipeline] } 19:47:20 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:47:21 ========================================================= 19:47:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 19:47:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:47:21 + 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 . 19:47:21 Sending build context to Docker daemon 476.2kB 19:47:21 Step 1/8 : ARG BASE=golang:1.15-alpine 19:47:21 Step 2/8 : FROM ${BASE} 19:47:22 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:47:22 b538f80385f9: Pulling fs layer 19:47:22 74f711af9a0d: Pulling fs layer 19:47:22 99f96fe45779: Pulling fs layer 19:47:22 8529a6b9a6be: Pulling fs layer 19:47:22 45590311c82a: Pulling fs layer 19:47:22 69ca0ff8b7b3: Pulling fs layer 19:47:22 209524e5b208: Pulling fs layer 19:47:22 8529a6b9a6be: Waiting 19:47:22 45590311c82a: Waiting 19:47:22 69ca0ff8b7b3: Waiting 19:47:22 99f96fe45779: Verifying Checksum 19:47:22 99f96fe45779: Download complete 19:47:22 74f711af9a0d: Verifying Checksum 19:47:22 74f711af9a0d: Download complete 19:47:22 45590311c82a: Download complete 19:47:22 69ca0ff8b7b3: Download complete 19:47:22 b538f80385f9: Verifying Checksum 19:47:22 b538f80385f9: Download complete 19:47:23 b538f80385f9: Pull complete 19:47:24 74f711af9a0d: Pull complete 19:47:24 99f96fe45779: Pull complete 19:47:25 209524e5b208: Verifying Checksum 19:47:25 209524e5b208: Download complete 19:47:26 8529a6b9a6be: Verifying Checksum 19:47:26 8529a6b9a6be: Download complete 19:47:36 8529a6b9a6be: Pull complete 19:47:36 45590311c82a: Pull complete 19:47:37 69ca0ff8b7b3: Pull complete 19:47:39 Running on prd-centos7-docker-4c-2g-11963 in /w/workspace/foundry_device-virtual-go_PR-146 [Pipeline] { [Pipeline] ws 19:47:39 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 19:47:41 209524e5b208: Pull complete 19:47:41 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 19:47:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 19:47:41 ---> 5bddaf1c2fca 19:47:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 19:47:43 using credential edgex-jenkins-ssh 19:47:43 Cloning the remote Git repository 19:47:43 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 19:47:43 ---> Running in 0c965139fa5d 19:47:43 Removing intermediate container 0c965139fa5d 19:47:43 ---> f45c2a64618d 19:47:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:47:44 ---> Running in 2e9d7649799f 19:47:43 > git init /w/workspace/device-virtual-go/1 # timeout=10 19:47:43 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:47:43 > git --version # timeout=10 19:47:43 > git --version # 'git version 2.16.5' 19:47:43 using GIT_SSH to set credentials SSH Credentials for GitHub 19:47:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:47:44 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:47:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:47:44 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:47:44 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:47:44 using GIT_SSH to set credentials SSH Credentials for GitHub 19:47:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:47:44 Merging remotes/origin/master commit c9d1bc531ce8d239853a83473b53448fb6f2334c into PR head commit b61769c9b844f541a2e26608496f5fff28e5b0ec 19:47:44 Merge succeeded, producing b61769c9b844f541a2e26608496f5fff28e5b0ec 19:47:44 Checking out Revision b61769c9b844f541a2e26608496f5fff28e5b0ec (PR-146) 19:47:44 > git config core.sparsecheckout # timeout=10 19:47:44 > git checkout -f b61769c9b844f541a2e26608496f5fff28e5b0ec # timeout=10 19:47:44 > git remote # timeout=10 19:47:44 > git config --get remote.origin.url # timeout=10 19:47:44 using GIT_SSH to set credentials SSH Credentials for GitHub 19:47:44 > git merge c9d1bc531ce8d239853a83473b53448fb6f2334c # timeout=10 19:47:44 > git rev-parse HEAD^{commit} # timeout=10 19:47:44 > git config core.sparsecheckout # timeout=10 19:47:44 > git checkout -f b61769c9b844f541a2e26608496f5fff28e5b0ec # timeout=10 19:47:46 Removing intermediate container 2e9d7649799f 19:47:46 ---> 75a3e62968eb 19:47:46 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 19:47:46 ---> Running in 7019bdbcee35 19:47:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:47:48 Commit message: "build: update device-sdk-go to 1.3.0" 19:47:48 > git --version # timeout=10 19:47:48 > git --version # 'git version 2.16.5' 19:47:48 fatal: bad object 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [Pipeline] withEnv [Pipeline] { 19:47:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:47:49 provisioning config files... 19:47:49 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8442470704283609135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:47:50 (1/14) Installing libmagic (5.38-r0) 19:47:50 (2/14) Installing file (5.38-r0) 19:47:50 (3/14) Installing libc-dev (0.7.2-r3) 19:47:50 (4/14) Installing g++ (9.3.0-r2) 19:47:50 ---> docker-login.sh 19:47:50 nexus3.edgexfoundry.org:10001 19:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:50 Configure a credential helper to remove this warning. See 19:47:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:50 19:47:50 Login Succeeded 19:47:50 nexus3.edgexfoundry.org:10002 19:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:50 Configure a credential helper to remove this warning. See 19:47:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:50 19:47:50 Login Succeeded 19:47:50 nexus3.edgexfoundry.org:10003 19:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:50 Configure a credential helper to remove this warning. See 19:47:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:50 19:47:50 Login Succeeded 19:47:50 nexus3.edgexfoundry.org:10004 19:47:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:51 Configure a credential helper to remove this warning. See 19:47:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:51 19:47:51 Login Succeeded 19:47:51 docker.io 19:47:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:51 Configure a credential helper to remove this warning. See 19:47:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:51 19:47:51 Login Succeeded 19:47:51 ---> docker-login.sh ends [Pipeline] } 19:47:51 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:47:52 ========================================================= 19:47:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 19:47:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:47:52 + 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 . 19:47:52 Sending build context to Docker daemon 476.2kB 19:47:52 Step 1/8 : ARG BASE=golang:1.15-alpine 19:47:52 Step 2/8 : FROM ${BASE} 19:47:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 19:47:52 df20fa9351a1: Pulling fs layer 19:47:52 ed8968b2872e: Pulling fs layer 19:47:52 a92cc7c5fd73: Pulling fs layer 19:47:52 e871e8e8d7a9: Pulling fs layer 19:47:52 e73272ec9a57: Pulling fs layer 19:47:52 1e910a182e73: Pulling fs layer 19:47:52 4e634b169226: Pulling fs layer 19:47:52 e73272ec9a57: Waiting 19:47:52 1e910a182e73: Waiting 19:47:52 4e634b169226: Waiting 19:47:52 e871e8e8d7a9: Waiting 19:47:52 a92cc7c5fd73: Download complete 19:47:52 ed8968b2872e: Verifying Checksum 19:47:52 ed8968b2872e: Download complete 19:47:52 e73272ec9a57: Verifying Checksum 19:47:52 e73272ec9a57: Download complete 19:47:52 1e910a182e73: Verifying Checksum 19:47:52 1e910a182e73: Download complete 19:47:52 df20fa9351a1: Verifying Checksum 19:47:52 df20fa9351a1: Download complete 19:47:53 df20fa9351a1: Pull complete 19:47:53 ed8968b2872e: Pull complete 19:47:53 a92cc7c5fd73: Pull complete 19:47:55 4e634b169226: Verifying Checksum 19:47:55 4e634b169226: Download complete 19:47:55 e871e8e8d7a9: Verifying Checksum 19:47:55 e871e8e8d7a9: Download complete 19:48:02 e871e8e8d7a9: Pull complete 19:48:02 e73272ec9a57: Pull complete 19:48:02 1e910a182e73: Pull complete 19:48:02 (5/14) Installing fortify-headers (1.1-r0) 19:48:02 (6/14) Installing patch (2.7.6-r6) 19:48:02 (7/14) Installing build-base (0.5-r2) 19:48:02 (8/14) Installing openssh-keygen (8.3_p1-r0) 19:48:02 (9/14) Installing libedit (20191231.3.1-r0) 19:48:02 (10/14) Installing openssh-client (8.3_p1-r0) 19:48:03 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 19:48:03 (12/14) Installing openssh-server-common (8.3_p1-r0) 19:48:03 (13/14) Installing openssh-server (8.3_p1-r0) 19:48:03 (14/14) Installing openssh (8.3_p1-r0) 19:48:04 Executing busybox-1.31.1-r16.trigger 19:48:04 OK: 221 MiB in 53 packages 19:48:05 4e634b169226: Pull complete 19:48:05 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 19:48:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 19:48:05 ---> f7629b54cfaa 19:48:05 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 19:48:05 ---> Running in 07e0dfb769d1 19:48:05 Removing intermediate container 07e0dfb769d1 19:48:05 ---> 02e961ccd92b 19:48:05 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:48:05 ---> Running in 39ecb4a0bbe6 19:48:07 Removing intermediate container 39ecb4a0bbe6 19:48:07 ---> 9970f89ccefb 19:48:07 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 19:48:07 ---> Running in 93a7ca0010f5 19:48:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:48:08 Removing intermediate container 7019bdbcee35 19:48:08 ---> 6af16699d266 19:48:08 Step 6/8 : WORKDIR /device-virtual-go 19:48:08 ---> Running in b75356e06cd9 19:48:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:48:08 Removing intermediate container b75356e06cd9 19:48:08 ---> 4a675ad7e172 19:48:08 Step 7/8 : COPY . . 19:48:09 (1/14) Installing libmagic (5.38-r0) 19:48:09 ---> 586bddde5711 19:48:09 Step 8/8 : RUN go mod download 19:48:09 ---> Running in 85e0f1d23c7e 19:48:09 (2/14) Installing file (5.38-r0) 19:48:10 (3/14) Installing libc-dev (0.7.2-r3) 19:48:10 (4/14) Installing g++ (9.3.0-r2) 19:48:15 (5/14) Installing fortify-headers (1.1-r0) 19:48:15 (6/14) Installing patch (2.7.6-r6) 19:48:15 (7/14) Installing build-base (0.5-r2) 19:48:15 (8/14) Installing openssh-keygen (8.3_p1-r0) 19:48:15 (9/14) Installing libedit (20191231.3.1-r0) 19:48:15 (10/14) Installing openssh-client (8.3_p1-r0) 19:48:15 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 19:48:16 (12/14) Installing openssh-server-common (8.3_p1-r0) 19:48:16 (13/14) Installing openssh-server (8.3_p1-r0) 19:48:16 (14/14) Installing openssh (8.3_p1-r0) 19:48:16 Executing busybox-1.31.1-r16.trigger 19:48:16 OK: 237 MiB in 53 packages 19:48:20 Removing intermediate container 93a7ca0010f5 19:48:20 ---> 2f32bc2a1688 19:48:20 Step 6/8 : WORKDIR /device-virtual-go 19:48:20 ---> Running in ae8952c2de0f 19:48:20 Removing intermediate container ae8952c2de0f 19:48:20 ---> a1d00761a106 19:48:20 Step 7/8 : COPY . . 19:48:21 ---> b0c12c509ef3 19:48:21 Step 8/8 : RUN go mod download 19:48:21 ---> Running in b7141f419b44 19:48:36 Removing intermediate container 85e0f1d23c7e 19:48:36 ---> 2e810e9b6821 19:48:36 Successfully built 2e810e9b6821 19:48:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:48:36 + docker inspect -f . ci-base-image-arm64 19:48:36 . [Pipeline] withDockerContainer 19:48:37 prd-ubuntu18.04-docker-arm64-4c-16g-11962 does not seem to be running inside a container 19:48:37 $ 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 ******** -e ******** ci-base-image-arm64 cat 19:48:39 $ docker top 7001e85b7b85a6ff11a1d5e7474f50614a4c489cbbce1f1c2a76c5d0405ae35c -eo pid,comm [Pipeline] { [Pipeline] sh 19:48:40 + go version 19:48:40 go version go1.15.2 linux/arm64 [Pipeline] } 19:48:40 $ docker stop --time=1 7001e85b7b85a6ff11a1d5e7474f50614a4c489cbbce1f1c2a76c5d0405ae35c 19:48:42 $ docker rm -f 7001e85b7b85a6ff11a1d5e7474f50614a4c489cbbce1f1c2a76c5d0405ae35c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 19:48:43 Removing intermediate container b7141f419b44 19:48:43 ---> 1337e5b430cb 19:48:43 Successfully built 1337e5b430cb 19:48:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:48:43 + docker inspect -f . ci-base-image-x86_64 19:48:43 . [Pipeline] withDockerContainer 19:48:44 prd-centos7-docker-4c-2g-11963 does not seem to be running inside a container 19:48:44 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:48:44 + docker inspect -f . ci-base-image-arm64 19:48:44 . 19:48:44 $ docker top 3a3186cb64ddb460eda6ee4364bd0feb8b1f235b70cb945f54ffa93ed838e76b -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 19:48:45 prd-ubuntu18.04-docker-arm64-4c-16g-11962 does not seem to be running inside a container 19:48:45 $ 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 ******** -e ******** ci-base-image-arm64 cat 19:48:47 $ docker top 1c9ea2e092726eef9bcc5add1b5df2c2bfa2dbab031b0a0696c92cdb4a00ec1b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 19:48:48 + go version 19:48:48 go version go1.15.2 linux/amd64 [Pipeline] } 19:48:48 $ docker stop --time=1 3a3186cb64ddb460eda6ee4364bd0feb8b1f235b70cb945f54ffa93ed838e76b 19:48:49 + make test 19:48:49 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:48:49 $ docker rm -f 3a3186cb64ddb460eda6ee4364bd0feb8b1f235b70cb945f54ffa93ed838e76b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 19:48:50 ? github.com/edgexfoundry/device-virtual-go [no test files] [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:48:50 + docker inspect -f . ci-base-image-x86_64 19:48:50 . [Pipeline] withDockerContainer 19:48:51 prd-centos7-docker-4c-2g-11963 does not seem to be running inside a container 19:48:51 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:48:51 $ docker top a53f8489e5c0b882897708e237b368a223b2fa7c841bfce429d79c9147b68e91 -eo pid,comm [Pipeline] { [Pipeline] sh 19:48:52 + make test 19:48:52 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:48:53 ? github.com/edgexfoundry/device-virtual-go [no test files] 19:49:08 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 19:49:08 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.328s coverage: 64.4% of statements 19:49:08 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:49:11 gofmt -l . 19:49:11 [ "`gofmt -l .`" = "" ] 19:49:11 ./bin/test-attribution-txt.sh 19:49:11 ./bin/test-go-mod-tidy.sh [Pipeline] } 19:49:12 $ docker stop --time=1 a53f8489e5c0b882897708e237b368a223b2fa7c841bfce429d79c9147b68e91 19:49:14 $ docker rm -f a53f8489e5c0b882897708e237b368a223b2fa7c841bfce429d79c9147b68e91 [Pipeline] // withDockerContainer [Pipeline] sh 19:49:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:49:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:49:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:49:19 + ls -al . 19:49:19 total 124 19:49:19 drwxrwxr-x. 7 jenkins jenkins 4096 Nov 12 19:49 . 19:49:19 drwxrwxr-x. 4 jenkins jenkins 28 Nov 12 19:47 .. 19:49:19 -rw-rw-r--. 1 jenkins jenkins 6713 Nov 12 19:47 Attribution.txt 19:49:19 drwxrwxr-x. 2 jenkins jenkins 64 Nov 12 19:47 bin 19:49:19 drwxrwxr-x. 3 jenkins jenkins 32 Nov 12 19:47 cmd 19:49:19 -rw-r--r--. 1 jenkins jenkins 47242 Nov 12 19:49 coverage.out 19:49:19 -rw-rw-r--. 1 jenkins jenkins 1834 Nov 12 19:47 Dockerfile 19:49:19 -rw-rw-r--. 1 jenkins jenkins 957 Nov 12 19:47 Dockerfile.build 19:49:19 drwxrwxr-x. 8 jenkins jenkins 179 Nov 12 19:47 .git 19:49:19 drwxrwxr-x. 2 jenkins jenkins 60 Nov 12 19:47 .github 19:49:19 -rw-rw-r--. 1 jenkins jenkins 258 Nov 12 19:47 .gitignore 19:49:19 -rw-r--r--. 1 jenkins jenkins 856 Nov 12 19:49 go.mod 19:49:19 -rw-r--r--. 1 jenkins jenkins 16151 Nov 12 19:49 go.sum 19:49:19 drwxrwxr-x. 3 jenkins jenkins 20 Nov 12 19:47 internal 19:49:19 -rw-rw-r--. 1 jenkins jenkins 660 Nov 12 19:47 Jenkinsfile 19:49:19 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 12 19:47 LICENSE 19:49:19 -rw-rw-r--. 1 jenkins jenkins 873 Nov 12 19:47 Makefile 19:49:19 -rw-rw-r--. 1 jenkins jenkins 918 Nov 12 19:47 README.md 19:49:19 -rw-rw-r--. 1 jenkins jenkins 5 Nov 12 19:44 VERSION 19:49:19 -rw-rw-r--. 1 jenkins jenkins 235 Nov 12 19:47 version.go [Pipeline] isUnix [Pipeline] sh 19:49:19 + 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=b61769c9b844f541a2e26608496f5fff28e5b0ec --label arch=amd64 --label version=0.0.0 . 19:49:19 Sending build context to Docker daemon 541.2kB 19:49:19 Step 1/22 : ARG BASE=golang:1.15-alpine 19:49:19 Step 2/22 : FROM ${BASE} AS builder 19:49:19 ---> 1337e5b430cb 19:49:19 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 19:49:19 ---> Running in 8a708091310b 19:49:19 Removing intermediate container 8a708091310b 19:49:19 ---> 44f906d00231 19:49:19 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 19:49:20 ---> Running in 9dd25533a5e2 19:49:20 Removing intermediate container 9dd25533a5e2 19:49:20 ---> ae26206ad68f 19:49:20 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 19:49:20 ---> Running in 3674d4e8b96b 19:49:20 Removing intermediate container 3674d4e8b96b 19:49:20 ---> 8ff306d1d131 19:49:20 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:49:20 ---> Running in ec8fe9599845 19:49:21 Removing intermediate container ec8fe9599845 19:49:21 ---> c8f032b33102 19:49:21 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:49:21 ---> Running in 1f72bc20a061 19:49:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:49:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:49:24 OK: 237 MiB in 53 packages 19:49:24 Removing intermediate container 1f72bc20a061 19:49:24 ---> 0732430dc71a 19:49:24 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 19:49:24 ---> Running in bf198b61167c 19:49:24 Removing intermediate container bf198b61167c 19:49:24 ---> 284314b49648 19:49:24 Step 9/22 : COPY . . 19:49:25 ---> b046b6d8d6b6 19:49:25 Step 10/22 : ARG MAKE='make build' 19:49:25 ---> Running in b849867796b5 19:49:25 Removing intermediate container b849867796b5 19:49:25 ---> 024b7631925b 19:49:25 Step 11/22 : RUN $MAKE 19:49:25 ---> Running in b0b2c0d25bc9 19:49:25 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 19:49:37 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 19:49:37 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.388s coverage: 64.4% of statements 19:49:37 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:49:38 CGO_ENABLED=0 GO111MODULE=on go build ./... 19:49:41 Removing intermediate container b0b2c0d25bc9 19:49:41 ---> c4ebeb5def04 19:49:41 Step 12/22 : FROM alpine 19:49:41 latest: Pulling from library/alpine 19:49:41 188c0c94c7c5: Pulling fs layer 19:49:41 188c0c94c7c5: Download complete 19:49:41 188c0c94c7c5: Pull complete 19:49:41 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 19:49:41 Status: Downloaded newer image for alpine:latest 19:49:41 ---> d6e46aa2470d 19:49:41 Step 13/22 : ENV APP_PORT=49990 19:49:42 ---> Running in 6fbed7ce00d2 19:49:42 Removing intermediate container 6fbed7ce00d2 19:49:42 ---> c4a669b13aa3 19:49:42 Step 14/22 : EXPOSE $APP_PORT 19:49:42 ---> Running in b1ce360e9c44 19:49:42 Removing intermediate container b1ce360e9c44 19:49:42 ---> 884b30dd82db 19:49:42 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 19:49:43 ---> 0f2711d384d0 19:49:43 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 19:49:43 ---> 988bc1cb954d 19:49:43 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 19:49:43 ---> 73a1d54e164b 19:49:43 Step 18/22 : ENTRYPOINT ["/device-virtual"] 19:49:43 ---> Running in 90eef5c73dc4 19:49:43 gofmt -l . 19:49:43 [ "`gofmt -l .`" = "" ] 19:49:43 ./bin/test-attribution-txt.sh 19:49:43 Removing intermediate container 90eef5c73dc4 19:49:43 ---> 8918f3ac4bbb 19:49:43 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:49:43 ---> Running in 89479d4e0cb4 19:49:43 Removing intermediate container 89479d4e0cb4 19:49:43 ---> 7a77dc6eb571 19:49:43 Step 20/22 : LABEL arch=amd64 19:49:44 ---> Running in 3b2c6899acbe 19:49:44 Removing intermediate container 3b2c6899acbe 19:49:44 ---> 2f440794d296 19:49:44 Step 21/22 : LABEL git_sha=b61769c9b844f541a2e26608496f5fff28e5b0ec 19:49:44 ---> Running in 0df35452ba3e 19:49:44 Removing intermediate container 0df35452ba3e 19:49:44 ---> 7294d5f1b7c2 19:49:44 Step 22/22 : LABEL version=0.0.0 19:49:44 ---> Running in 4d579a0d3745 19:49:44 ./bin/test-go-mod-tidy.sh 19:49:44 Removing intermediate container 4d579a0d3745 19:49:44 ---> 801c6274003e 19:49:44 [Warning] One or more build-args [ARCH] were not consumed 19:49:44 Successfully built 801c6274003e 19:49:44 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] } 19:49:44 $ docker stop --time=1 1c9ea2e092726eef9bcc5add1b5df2c2bfa2dbab031b0a0696c92cdb4a00ec1b 19:49:47 $ docker rm -f 1c9ea2e092726eef9bcc5add1b5df2c2bfa2dbab031b0a0696c92cdb4a00ec1b [Pipeline] // withDockerContainer [Pipeline] sh Stage "Docker Push" skipped due to when conditional [Pipeline] } 19:49:47 + sudo chown -R jenkins:jenkins . [Pipeline] // stage [Pipeline] stash 19:49:48 Warning: overwriting stash ‘coverage-report’ [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws 19:49:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:49:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:49:50 + ls -al . 19:49:50 total 148 19:49:50 drwxrwxr-x 7 jenkins jenkins 4096 Nov 12 19:49 . 19:49:50 drwxrwxr-x 4 jenkins jenkins 4096 Nov 12 19:47 .. 19:49:50 drwxrwxr-x 8 jenkins jenkins 4096 Nov 12 19:47 .git 19:49:50 drwxrwxr-x 2 jenkins jenkins 4096 Nov 12 19:47 .github 19:49:50 -rw-rw-r-- 1 jenkins jenkins 258 Nov 12 19:47 .gitignore 19:49:50 -rw-rw-r-- 1 jenkins jenkins 6713 Nov 12 19:47 Attribution.txt 19:49:50 -rw-rw-r-- 1 jenkins jenkins 1834 Nov 12 19:47 Dockerfile 19:49:50 -rw-rw-r-- 1 jenkins jenkins 957 Nov 12 19:47 Dockerfile.build 19:49:50 -rw-rw-r-- 1 jenkins jenkins 660 Nov 12 19:47 Jenkinsfile 19:49:50 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 12 19:47 LICENSE 19:49:50 -rw-rw-r-- 1 jenkins jenkins 873 Nov 12 19:47 Makefile 19:49:50 -rw-rw-r-- 1 jenkins jenkins 918 Nov 12 19:47 README.md 19:49:50 -rw-rw-r-- 1 jenkins jenkins 5 Nov 12 19:44 VERSION 19:49:50 drwxrwxr-x 2 jenkins jenkins 4096 Nov 12 19:47 bin 19:49:50 drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 19:47 cmd 19:49:50 -rw-r--r-- 1 jenkins jenkins 47242 Nov 12 19:49 coverage.out 19:49:50 -rw-r--r-- 1 jenkins jenkins 856 Nov 12 19:49 go.mod 19:49:50 -rw-r--r-- 1 jenkins jenkins 16151 Nov 12 19:49 go.sum 19:49:50 drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 19:47 internal 19:49:50 -rw-rw-r-- 1 jenkins jenkins 235 Nov 12 19:47 version.go [Pipeline] isUnix [Pipeline] sh 19:49:51 + 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=b61769c9b844f541a2e26608496f5fff28e5b0ec --label arch=arm64 --label version=0.0.0 . 19:49:51 Sending build context to Docker daemon 541.2kB 19:49:51 Step 1/22 : ARG BASE=golang:1.15-alpine 19:49:51 Step 2/22 : FROM ${BASE} AS builder 19:49:51 ---> 2e810e9b6821 19:49:51 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 19:49:52 ---> Running in f7bbf5bd888e 19:49:52 Removing intermediate container f7bbf5bd888e 19:49:52 ---> 426030571f75 19:49:52 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 19:49:52 ---> Running in a96530446763 19:49:52 Removing intermediate container a96530446763 19:49:52 ---> 0cb2acb87235 19:49:52 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 19:49:53 ---> Running in ace70e9bbbb3 19:49:53 Removing intermediate container ace70e9bbbb3 19:49:53 ---> adb542429f89 19:49:53 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:49:53 ---> Running in e8d8df52cee5 19:49:56 Removing intermediate container e8d8df52cee5 19:49:56 ---> 30582b870d70 19:49:56 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:49:56 ---> Running in 383757d2a268 19:49:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:49:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:49:59 OK: 221 MiB in 53 packages 19:50:01 Removing intermediate container 383757d2a268 19:50:01 ---> dd97d4294055 19:50:01 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 19:50:01 ---> Running in a021f665afb0 19:50:01 Removing intermediate container a021f665afb0 19:50:01 ---> 4c756ee89e1b 19:50:01 Step 9/22 : COPY . . 19:50:02 ---> 7911bee22c4f 19:50:02 Step 10/22 : ARG MAKE='make build' 19:50:02 ---> Running in fdec3228d6dc 19:50:03 Removing intermediate container fdec3228d6dc 19:50:03 ---> ed68b8484c28 19:50:03 Step 11/22 : RUN $MAKE 19:50:03 ---> Running in aa0e2478dd9e 19:50:04 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 19:50:43 CGO_ENABLED=0 GO111MODULE=on go build ./... 19:50:44 Removing intermediate container aa0e2478dd9e 19:50:44 ---> bbc0ea6f12c5 19:50:44 Step 12/22 : FROM alpine 19:50:45 latest: Pulling from library/alpine 19:50:45 5f621e34cdf4: Pulling fs layer 19:50:45 5f621e34cdf4: Verifying Checksum 19:50:45 5f621e34cdf4: Download complete 19:50:46 5f621e34cdf4: Pull complete 19:50:46 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 19:50:46 Status: Downloaded newer image for alpine:latest 19:50:46 ---> 2e77e061c27f 19:50:46 Step 13/22 : ENV APP_PORT=49990 19:50:46 ---> Running in c6b141111175 19:50:46 Removing intermediate container c6b141111175 19:50:46 ---> 6dac1fb7caf7 19:50:46 Step 14/22 : EXPOSE $APP_PORT 19:50:46 ---> Running in cbaf675999fe 19:50:47 Removing intermediate container cbaf675999fe 19:50:47 ---> 191469586b26 19:50:47 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 19:50:48 ---> 4840ac5f2468 19:50:48 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 19:50:49 ---> 0cc38cd2cb57 19:50:49 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 19:50:50 ---> b1c66688972c 19:50:50 Step 18/22 : ENTRYPOINT ["/device-virtual"] 19:50:50 ---> Running in 59a94e73caa5 19:50:50 Removing intermediate container 59a94e73caa5 19:50:50 ---> f5d7531c0fba 19:50:50 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:50:50 ---> Running in a038eb0a0b21 19:50:51 Removing intermediate container a038eb0a0b21 19:50:51 ---> 2c94117341ee 19:50:51 Step 20/22 : LABEL arch=arm64 19:50:51 ---> Running in a67bb70980f2 19:50:51 Removing intermediate container a67bb70980f2 19:50:51 ---> 8c7e5be90726 19:50:51 Step 21/22 : LABEL git_sha=b61769c9b844f541a2e26608496f5fff28e5b0ec 19:50:51 ---> Running in fe3f5c899a61 19:50:52 Removing intermediate container fe3f5c899a61 19:50:52 ---> 10c4bb74265f 19:50:52 Step 22/22 : LABEL version=0.0.0 19:50:52 ---> Running in 222de30b8471 19:50:53 Removing intermediate container 222de30b8471 19:50:53 ---> bd554ec21181 19:50:53 [Warning] One or more build-args [ARCH] were not consumed 19:50:53 Successfully built bd554ec21181 19:50:53 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 [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 19:50:55 provisioning config files... 19:50:55 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-146@tmp/config7283970029569138938tmp [Pipeline] { [Pipeline] sh 19:50:56 + set +x 19:50:56 + curl -s https://codecov.io/bash 19:50:56 + bash -s -- 19:50:56 19:50:56 _____ _ 19:50:56 / ____| | | 19:50:56 | | ___ __| | ___ ___ _____ __ 19:50:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:50:56 | |___| (_) | (_| | __/ (_| (_) \ V / 19:50:56 \_____\___/ \__,_|\___|\___\___/ \_/ 19:50:56 Bash-20201106-81372f2 19:50:56 19:50:56 19:50:56 ==> Jenkins CI detected. 19:50:56 project root: . 19:50:56 --> token set from env 19:50:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:50:56 ==> Running gcov in . (disable via -X gcov) 19:50:56 ==> Python coveragepy not found 19:50:56 ==> Searching for coverage reports in: 19:50:56 + . 19:50:56 -> Found 1 reports 19:50:56 ==> Detecting git/mercurial file structure 19:50:56 ==> Reading reports 19:50:56 + ./coverage.out bytes=47242 19:50:56 ==> Appending adjustments 19:50:56 https://docs.codecov.io/docs/fixing-reports 19:50:56 + Found adjustments 19:50:56 ==> Gzipping contents 19:50:56 ==> Uploading reports 19:50:56 url: https://codecov.io 19:50:56 query: branch=PR-146&commit=b61769c9b844f541a2e26608496f5fff28e5b0ec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-146%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=146&job=&cmd_args= 19:50:56 -> Pinging Codecov 19:50:56 https://codecov.io/upload/v4?package=bash-20201106-81372f2&token=secret&branch=PR-146&commit=b61769c9b844f541a2e26608496f5fff28e5b0ec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-146%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=146&job=&cmd_args= 19:50:59 -> Uploading to 19:50:59 https://storage.googleapis.com/codecov/v4/raw/2020-11-12/5E52B4B073DB2E39498172D8E973AA87/b61769c9b844f541a2e26608496f5fff28e5b0ec/4c122ebb-70f0-4f1e-ad28-244d0acd6648.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201112%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201112T195059Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=32fbc2c4989b595102dfcc84d0ffe4e1a8ebe57fd42fa753d0f20493824f30c7 19:50:59 % Total % Received % Xferd Average Speed Time Time Time Current 19:50:59 Dload Upload Total Spent Left Speed 19:51:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5791 0 0 100 5791 0 15503 --:--:-- --:--:-- --:--:-- 15483 100 5791 0 0 100 5791 0 15496 --:--:-- --:--:-- --:--:-- 15483 19:51:00 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/b61769c9b844f541a2e26608496f5fff28e5b0ec [Pipeline] } 19:51:00 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 19:51:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:51:06 ---> package-listing.sh 19:51:06 ++ facter osfamily 19:51:06 ++ tr '[:upper:]' '[:lower:]' 19:51:06 + OS_FAMILY=redhat 19:51:06 + workspace=/w/workspace/foundry_device-virtual-go_PR-146 19:51:06 + START_PACKAGES=/tmp/packages_start.txt 19:51:06 + END_PACKAGES=/tmp/packages_end.txt 19:51:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:51:06 + PACKAGES=/tmp/packages_start.txt 19:51:06 + '[' /w/workspace/foundry_device-virtual-go_PR-146 ']' 19:51:06 + PACKAGES=/tmp/packages_end.txt 19:51:06 + case "${OS_FAMILY}" in 19:51:06 + rpm -qa 19:51:06 + sort 19:51:09 + '[' -f /tmp/packages_start.txt ']' 19:51:09 + '[' -f /tmp/packages_end.txt ']' 19:51:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:51:09 + '[' /w/workspace/foundry_device-virtual-go_PR-146 ']' 19:51:09 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-146/archives/ 19:51:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-146/archives/ [Pipeline] echo 19:51:09 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-146/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:51:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:51:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:51:10 19:51:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:51:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:51:10 alpine: Pulling from edgex-lftools-log-publisher 19:51:10 df20fa9351a1: Pulling fs layer 19:51:10 36b3adc4ff6f: Pulling fs layer 19:51:10 8ad3a11d3b57: Pulling fs layer 19:51:10 46f8f816bc3b: Pulling fs layer 19:51:10 93b61091891f: Pulling fs layer 19:51:10 93b9cdb0e59b: Pulling fs layer 19:51:10 5e14af77c1be: Pulling fs layer 19:51:10 01666e4c0597: Pulling fs layer 19:51:10 aa168da1d23b: Pulling fs layer 19:51:10 93b9cdb0e59b: Waiting 19:51:10 5e14af77c1be: Waiting 19:51:10 46f8f816bc3b: Waiting 19:51:10 93b61091891f: Waiting 19:51:10 aa168da1d23b: Waiting 19:51:10 36b3adc4ff6f: Verifying Checksum 19:51:10 36b3adc4ff6f: Download complete 19:51:10 46f8f816bc3b: Verifying Checksum 19:51:10 46f8f816bc3b: Download complete 19:51:10 df20fa9351a1: Download complete 19:51:10 93b61091891f: Download complete 19:51:10 93b9cdb0e59b: Verifying Checksum 19:51:10 93b9cdb0e59b: Download complete 19:51:10 5e14af77c1be: Verifying Checksum 19:51:10 5e14af77c1be: Download complete 19:51:10 01666e4c0597: Download complete 19:51:10 8ad3a11d3b57: Verifying Checksum 19:51:10 8ad3a11d3b57: Download complete 19:51:10 df20fa9351a1: Pull complete 19:51:11 36b3adc4ff6f: Pull complete 19:51:11 8ad3a11d3b57: Pull complete 19:51:12 46f8f816bc3b: Pull complete 19:51:12 93b61091891f: Pull complete 19:51:12 93b9cdb0e59b: Pull complete 19:51:12 5e14af77c1be: Pull complete 19:51:13 aa168da1d23b: Verifying Checksum 19:51:13 aa168da1d23b: Download complete 19:51:13 01666e4c0597: Pull complete 19:51:19 aa168da1d23b: Pull complete 19:51:19 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 19:51:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:51:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:51:19 prd-centos7-docker-4c-2g-11961 does not seem to be running inside a container 19:51:19 $ 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-146/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-146 -v /w/workspace/foundry_device-virtual-go_PR-146:/w/workspace/foundry_device-virtual-go_PR-146:rw,z -v /w/workspace/foundry_device-virtual-go_PR-146@tmp:/w/workspace/foundry_device-virtual-go_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 19:51:27 $ docker top 5f8438d8e4feba74c56d9b7fa7f48247bfe10e7b9cf2f776687bfaf5b54e976d -eo pid,comm [Pipeline] { [Pipeline] sh 19:51:28 + touch /tmp/pre-build-complete [Pipeline] sh 19:51:28 + mkdir -p /var/log/sa [Pipeline] sh 19:51:29 + ls /var/log/sa-host 19:51:29 + sadf -c /var/log/sa-host/sa05 19:51:29 file_magic: OK 19:51:29 HZ: Using current value: 100 19:51:29 file_header: OK 19:51:29 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 19:51:29 Statistics: 19:51:29 Hnuu...uuuununununu...Hnuu...uuuununununu... 19:51:29 File successfully converted to sysstat format version 12.2.1 19:51:29 + sadf -c /var/log/sa-host/sa12 19:51:29 file_magic: OK 19:51:29 HZ: Using current value: 100 19:51:29 file_header: OK 19:51:29 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 19:51:29 Statistics: 19:51:29 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:51:29 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:51:30 provisioning config files... 19:51:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-146@tmp/config3769063398076408819tmp [Pipeline] { [Pipeline] echo 19:51:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:51:30 ---> create-netrc.sh [Pipeline] } 19:51:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 19:51:30 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 19:51:31 ---> python-tools-install.sh [Pipeline] echo 19:51:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:51:31 ---> sudo-logs.sh 19:51:31 Archiving 'sudo' log.. [Pipeline] echo 19:51:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:51:31 ---> job-cost.sh 19:51:31 lf-activate-venv: SKIPPING 19:51:31 INFO: No Stack... 19:51:32 INFO: Retrieving Pricing Info for: v1-standard-2 19:51:33 INFO: Archiving Costs [Pipeline] echo 19:51:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:51:33 ---> logs-deploy.sh 19:51:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-146/1 19:51:33 INFO: archiving workspace using pattern(s): 19:51:35 Archives upload complete. 19:51:35 INFO: archiving logs to Nexus 19:51:36 ---> uname -a: 19:51:36 Linux prd-centos7-docker-4c-2g-11961.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 19:51:36 19:51:36 19:51:36 ---> lscpu: 19:51:36 Architecture: x86_64 19:51:36 CPU op-mode(s): 32-bit, 64-bit 19:51:36 Byte Order: Little Endian 19:51:36 Address sizes: 40 bits physical, 48 bits virtual 19:51:36 CPU(s): 4 19:51:36 On-line CPU(s) list: 0-3 19:51:36 Thread(s) per core: 1 19:51:36 Core(s) per socket: 1 19:51:36 Socket(s): 4 19:51:36 NUMA node(s): 1 19:51:36 Vendor ID: GenuineIntel 19:51:36 CPU family: 6 19:51:36 Model: 44 19:51:36 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 19:51:36 Stepping: 1 19:51:36 CPU MHz: 2933.442 19:51:36 BogoMIPS: 5866.88 19:51:36 Virtualization: VT-x 19:51:36 Hypervisor vendor: KVM 19:51:36 Virtualization type: full 19:51:36 L1d cache: 128 KiB 19:51:36 L1i cache: 128 KiB 19:51:36 L2 cache: 16 MiB 19:51:36 L3 cache: 64 MiB 19:51:36 NUMA node0 CPU(s): 0-3 19:51:36 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 19:51:36 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 19:51:36 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 19:51:36 Vulnerability Meltdown: Mitigation; PTI 19:51:36 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:51:36 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 19:51:36 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 19:51:36 Vulnerability Tsx async abort: Not affected 19:51:36 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 19:51:36 19:51:36 19:51:36 ---> nproc: 19:51:36 4 19:51:36 19:51:36 19:51:36 ---> df -h: 19:51:36 Filesystem Size Used Available Use% Mounted on 19:51:36 overlay 50.0G 7.2G 42.8G 14% / 19:51:36 tmpfs 64.0M 0 64.0M 0% /dev 19:51:36 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 19:51:36 shm 64.0M 0 64.0M 0% /dev/shm 19:51:36 /dev/vda1 50.0G 7.2G 42.8G 14% /facter-os 19:51:36 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 19:51:36 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 19:51:36 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 19:51:36 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/auth.log 19:51:36 /dev/vda1 50.0G 7.2G 42.8G 14% /run/cloud-init/result.json 19:51:36 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/foundry_device-virtual-go_PR-146 19:51:36 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/foundry_device-virtual-go_PR-146@tmp 19:51:36 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa-host 19:51:36 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/secure 19:51:36 19:51:36 19:51:36 ---> free -m: 19:51:36 total used free shared buff/cache available 19:51:36 Mem: 1837 677 83 0 1076 1058 19:51:36 Swap: 1023 1 1022 19:51:36 19:51:36 19:51:36 ---> ip addr: 19:51:36 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 19:51:36 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 19:51:36 inet 127.0.0.1/8 scope host lo 19:51:36 valid_lft forever preferred_lft forever 19:51:36 inet6 ::1/128 scope host 19:51:36 valid_lft forever preferred_lft forever 19:51:36 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 19:51:36 link/ether fa:16:3e:11:57:da brd ff:ff:ff:ff:ff:ff 19:51:36 inet 10.30.123.215/23 brd 10.30.123.255 scope global dynamic eth0 19:51:36 valid_lft 85941sec preferred_lft 85941sec 19:51:36 inet6 fe80::f816:3eff:fe11:57da/64 scope link 19:51:36 valid_lft forever preferred_lft forever 19:51:36 3: docker0: mtu 1500 qdisc noqueue state DOWN 19:51:36 link/ether 02:42:99:8a:18:e2 brd ff:ff:ff:ff:ff:ff 19:51:36 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 19:51:36 valid_lft forever preferred_lft forever 19:51:36 inet6 fe80::42:99ff:fe8a:18e2/64 scope link 19:51:36 valid_lft forever preferred_lft forever 19:51:36 19:51:36 19:51:36 ---> sar -b -r -n DEV: 19:51:36 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/12/20 _x86_64_ (4 CPU) 19:51:36 19:51:36 19:43:40 LINUX RESTART (4 CPU) 19:51:36 19:51:36 19:44:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:51:36 19:45:01 186.28 98.58 87.70 0.00 11644.52 40217.73 0.00 19:51:36 19:46:01 3.75 0.00 3.75 0.00 0.00 117.77 0.00 19:51:36 19:47:01 0.88 0.00 0.88 0.00 0.00 12.06 0.00 19:51:36 19:48:01 0.43 0.00 0.43 0.00 0.00 5.10 0.00 19:51:36 19:49:01 0.23 0.00 0.23 0.00 0.00 3.65 0.00 19:51:36 19:50:01 0.35 0.00 0.35 0.00 0.00 4.43 0.00 19:51:36 19:51:01 0.33 0.12 0.22 0.00 7.99 1.92 0.00 19:51:36 Average: 27.47 14.10 13.37 0.00 1665.08 5767.60 0.00 19:51:36 19:51:36 19:44:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:51:36 19:45:01 174204 0 537304 28.56 2620 1167428 1116320 38.10 409464 1137456 128 19:51:36 19:46:01 183512 0 528092 28.07 2620 1167332 1078664 36.81 403456 1135300 12 19:51:36 19:47:01 182100 0 529492 28.14 2620 1167344 1078664 36.81 406880 1133684 8 19:51:36 19:48:01 180744 0 530848 28.21 2620 1167344 1078868 36.82 408016 1133684 16 19:51:36 19:49:01 180660 0 530924 28.22 2620 1167352 1078664 36.81 409604 1132036 12 19:51:36 19:50:01 178824 0 532756 28.31 2620 1167356 1078748 36.82 411796 1132036 8 19:51:36 19:51:01 166344 0 544936 28.96 2620 1167656 1080288 36.87 423900 1124296 76 19:51:36 Average: 178055 0 533479 28.35 2620 1167402 1084317 37.01 410445 1132642 37 19:51:36 19:51:36 19:44:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:51:36 19:45:01 eth0 509.59 325.66 1061.20 92.67 0.00 0.00 0.00 0.00 19:51:36 19:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:51:36 19:45:01 docker0 1.78 1.43 0.34 3.43 0.00 0.00 0.00 0.00 19:51:36 19:46:01 eth0 0.43 0.10 0.02 0.02 0.00 0.00 0.00 0.00 19:51:36 19:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:51:36 19:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:51:36 19:47:01 eth0 0.60 0.08 0.06 0.01 0.00 0.00 0.00 0.00 19:51:36 19:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:51:36 19:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:51:36 19:48:01 eth0 1.37 0.68 0.63 0.37 0.00 0.00 0.00 0.00 19:51:36 19:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:51:36 19:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:51:36 19:49:01 eth0 0.10 0.08 0.01 0.04 0.00 0.00 0.00 0.00 19:51:36 19:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:51:36 19:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:51:36 19:50:01 eth0 0.25 0.18 0.14 0.07 0.00 0.00 0.00 0.00 19:51:36 19:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:51:36 19:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:51:36 19:51:01 eth0 6.18 3.85 5.74 2.21 0.00 0.00 0.00 0.00 19:51:36 19:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:51:36 19:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:51:36 Average: eth0 74.09 47.25 152.58 13.63 0.00 0.00 0.00 0.00 19:51:36 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:51:36 Average: docker0 0.25 0.20 0.05 0.49 0.00 0.00 0.00 0.00 19:51:36 19:51:36 19:51:36 ---> sar -P ALL: 19:51:36 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/12/20 _x86_64_ (4 CPU) 19:51:36 19:51:36 19:43:40 LINUX RESTART (4 CPU) 19:51:36 19:51:36 19:44:01 CPU %user %nice %system %iowait %steal %idle 19:51:36 19:45:01 all 16.46 0.00 7.75 6.35 0.04 69.40 19:51:36 19:45:01 0 15.16 0.00 7.50 5.25 0.03 72.05 19:51:36 19:45:01 1 14.69 0.00 10.45 7.31 0.03 67.51 19:51:36 19:45:01 2 16.98 0.00 7.18 6.73 0.05 69.06 19:51:36 19:45:01 3 19.03 0.00 5.84 6.11 0.03 68.99 19:51:36 19:46:01 all 0.17 0.00 0.04 0.00 0.00 99.79 19:51:36 19:46:01 0 0.02 0.00 0.03 0.00 0.00 99.95 19:51:36 19:46:01 1 0.57 0.00 0.07 0.00 0.00 99.37 19:51:36 19:46:01 2 0.07 0.00 0.02 0.00 0.00 99.92 19:51:36 19:46:01 3 0.05 0.00 0.03 0.00 0.00 99.92 19:51:36 19:47:01 all 0.16 0.00 0.02 0.00 0.00 99.82 19:51:36 19:47:01 0 0.03 0.00 0.02 0.00 0.00 99.95 19:51:36 19:47:01 1 0.53 0.00 0.02 0.00 0.00 99.45 19:51:36 19:47:01 2 0.05 0.00 0.03 0.00 0.00 99.92 19:51:36 19:47:01 3 0.03 0.00 0.02 0.00 0.00 99.95 19:51:36 19:48:01 all 0.14 0.00 0.03 0.00 0.00 99.83 19:51:36 19:48:01 0 0.02 0.00 0.03 0.00 0.00 99.95 19:51:36 19:48:01 1 0.47 0.00 0.02 0.00 0.00 99.52 19:51:36 19:48:01 2 0.05 0.00 0.05 0.00 0.00 99.90 19:51:36 19:48:01 3 0.02 0.00 0.02 0.00 0.00 99.97 19:51:36 19:49:01 all 0.15 0.00 0.03 0.00 0.00 99.82 19:51:36 19:49:01 0 0.03 0.00 0.02 0.00 0.00 99.95 19:51:36 19:49:01 1 0.17 0.00 0.03 0.00 0.00 99.80 19:51:36 19:49:01 2 0.15 0.00 0.07 0.00 0.00 99.78 19:51:36 19:49:01 3 0.23 0.00 0.02 0.00 0.00 99.75 19:51:36 19:50:01 all 0.15 0.00 0.04 0.00 0.00 99.81 19:51:36 19:50:01 0 0.30 0.00 0.02 0.00 0.00 99.68 19:51:36 19:50:01 1 0.05 0.00 0.02 0.00 0.00 99.93 19:51:36 19:50:01 2 0.23 0.00 0.08 0.00 0.00 99.68 19:51:36 19:50:01 3 0.03 0.00 0.03 0.00 0.00 99.93 19:51:36 19:51:01 all 0.32 0.00 0.23 0.00 0.00 99.44 19:51:36 19:51:01 0 0.72 0.00 0.47 0.02 0.02 98.78 19:51:36 19:51:01 1 0.18 0.00 0.15 0.00 0.00 99.67 19:51:36 19:51:01 2 0.18 0.00 0.15 0.00 0.00 99.67 19:51:36 19:51:01 3 0.18 0.00 0.17 0.00 0.00 99.65 19:51:36 Average: all 2.48 0.00 1.15 0.90 0.01 95.46 19:51:36 Average: 0 2.30 0.00 1.14 0.74 0.01 95.81 19:51:36 Average: 1 2.36 0.00 1.52 1.03 0.00 95.07 19:51:36 Average: 2 2.51 0.00 1.07 0.95 0.01 95.46 19:51:36 Average: 3 2.76 0.00 0.86 0.86 0.00 95.51 19:51:36 19:51:36 19:51:36