Pull request #205 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 8cf28ce433080062c780a274ebe3815a76362cd4+969908695d9457bace8f724c7874c2a817cac062 (f1e667af08ac5371d51573a1558f0cf6ccfab8c5) 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 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-205/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 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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-205/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 9d0281235b943b7ad605f650702698f9078b2862 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-virtual 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-4843 in /w/workspace/foundry_device-virtual-go_PR-205 [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-205 # 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/205/head:refs/remotes/origin/PR-205 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 969908695d9457bace8f724c7874c2a817cac062 into PR head commit 8cf28ce433080062c780a274ebe3815a76362cd4 Merge succeeded, producing 8cf28ce433080062c780a274ebe3815a76362cd4 Checking out Revision 8cf28ce433080062c780a274ebe3815a76362cd4 (PR-205) > git config core.sparsecheckout # timeout=10 > git checkout -f 8cf28ce433080062c780a274ebe3815a76362cd4 # 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 969908695d9457bace8f724c7874c2a817cac062 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8cf28ce433080062c780a274ebe3815a76362cd4 # timeout=10 Commit message: "fix(build): update Dockerfile* to go 1.16" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:22:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:22:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:22:09 ========================================================= 20:22:09 EdgeX Global Pipelines Version Info 20:22:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:22:11 ------------------- 20:22:11 stable info: 20:22:11 ------------------- 20:22:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:22:11 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 20:22:11 Message: update stable to v1.0.192 20:22:13 ------------------- 20:22:13 experimental info: 20:22:13 ------------------- 20:22:13 Commited By: **** collab-it+edgex@linuxfoundation.org 20:22:13 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 20:22:13 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:22:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 20:22:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 20:22:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:22:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:22:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:22:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 20:22:13 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:22:14 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 20:22:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:22:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:22:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:22:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 20:22:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:22:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:22:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:22:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:22:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:22:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:22:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:22:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:22:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:22:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:22:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:22:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:22:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:22:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:22:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-205 [Pipeline] echo 20:22:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-205 [Pipeline] echo 20:22:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-205 [Pipeline] echo 20:22:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8cf28ce433080062c780a274ebe3815a76362cd4 [Pipeline] echo 20:22:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8cf28ce [Pipeline] echo 20:22:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:22:15 provisioning config files... 20:22:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-205@tmp/config6353535174267457961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:22:15 ---> docker-login.sh 20:22:15 nexus3.edgexfoundry.org:10001 20:22:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:16 Configure a credential helper to remove this warning. See 20:22:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:16 20:22:16 Login Succeeded 20:22:16 nexus3.edgexfoundry.org:10002 20:22:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:16 Configure a credential helper to remove this warning. See 20:22:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:16 20:22:16 Login Succeeded 20:22:16 nexus3.edgexfoundry.org:10003 20:22:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:16 Configure a credential helper to remove this warning. See 20:22:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:16 20:22:16 Login Succeeded 20:22:16 nexus3.edgexfoundry.org:10004 20:22:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:17 Configure a credential helper to remove this warning. See 20:22:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:17 20:22:17 Login Succeeded 20:22:17 docker.io 20:22:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:17 Configure a credential helper to remove this warning. See 20:22:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:17 20:22:17 Login Succeeded 20:22:17 ---> docker-login.sh ends [Pipeline] } 20:22:17 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 20:22:18 + git log --format=format:%s -1 8cf28ce433080062c780a274ebe3815a76362cd4 [Pipeline] echo 20:22:18 GIT_COMMIT: 8cf28ce433080062c780a274ebe3815a76362cd4, Commit Message: fix(build): update Dockerfile* to go 1.16 [Pipeline] echo 20:22:18 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:22:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:22:19 20:22:19 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:22:19 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:22:19 latest: Pulling from edgex-devops/git-semver 20:22:19 31603596830f: Pulling fs layer 20:22:19 54011a49482f: Pulling fs layer 20:22:19 a6820b24f6d8: Pulling fs layer 20:22:19 f581987b2513: Pulling fs layer 20:22:19 f581987b2513: Waiting 20:22:19 54011a49482f: Verifying Checksum 20:22:19 54011a49482f: Download complete 20:22:20 31603596830f: Verifying Checksum 20:22:20 31603596830f: Download complete 20:22:20 a6820b24f6d8: Verifying Checksum 20:22:20 a6820b24f6d8: Download complete 20:22:20 f581987b2513: Verifying Checksum 20:22:20 f581987b2513: Download complete 20:22:20 31603596830f: Pull complete 20:22:20 54011a49482f: Pull complete 20:22:21 a6820b24f6d8: Pull complete 20:22:21 f581987b2513: Pull complete 20:22:21 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 20:22:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:22:21 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:22:21 prd-centos7-docker-4c-2g-4843 does not seem to be running inside a container 20:22:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-205 -v /w/workspace/foundry_device-virtual-go_PR-205:/w/workspace/foundry_device-virtual-go_PR-205:rw,z -v /w/workspace/foundry_device-virtual-go_PR-205@tmp:/w/workspace/foundry_device-virtual-go_PR-205@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:22:24 $ docker top 63a9e8755d09932f994d28877d9403e7982426ea4859a73365c20920c9923c71 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:22:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:22:24 [ssh-agent] Looking for ssh-agent implementation... 20:22:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:22:24 $ docker exec 63a9e8755d09932f994d28877d9403e7982426ea4859a73365c20920c9923c71 ssh-agent 20:22:24 SSH_AUTH_SOCK=/tmp/ssh-TJrY9BsSzJbz/agent.11 20:22:24 SSH_AGENT_PID=16 20:22:24 Running ssh-add (command line suppressed) 20:22:25 Identity added: /w/workspace/foundry_device-virtual-go_PR-205@tmp/private_key_4432698247337977122.key (/w/workspace/foundry_device-virtual-go_PR-205@tmp/private_key_4432698247337977122.key) 20:22:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:22:25 + git tag --points-at HEAD [Pipeline] } 20:22:25 $ docker exec --env ******** --env ******** 63a9e8755d09932f994d28877d9403e7982426ea4859a73365c20920c9923c71 ssh-agent -k 20:22:25 unset SSH_AUTH_SOCK; 20:22:25 unset SSH_AGENT_PID; 20:22:25 echo Agent pid 16 killed; 20:22:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:22:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:22:25 [ssh-agent] Looking for ssh-agent implementation... 20:22:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:22:26 $ docker exec 63a9e8755d09932f994d28877d9403e7982426ea4859a73365c20920c9923c71 ssh-agent 20:22:26 SSH_AUTH_SOCK=/tmp/ssh-peyF4aP6M4GE/agent.45 20:22:26 SSH_AGENT_PID=50 20:22:26 Running ssh-add (command line suppressed) 20:22:26 Identity added: /w/workspace/foundry_device-virtual-go_PR-205@tmp/private_key_8685518108547953150.key (/w/workspace/foundry_device-virtual-go_PR-205@tmp/private_key_8685518108547953150.key) 20:22:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:22:26 + git semver init 20:22:26 # -> Open(): unable to determine branch for HEAD 20:22:26 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-205/.git 20:22:26 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-205 20:22:26 # $SEMVER_REMOTE_NAME = origin 20:22:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:22:26 # $SEMVER_USER_NAME = edgex-jenkins 20:22:26 # $SEMVER_BRANCH = PR-205 20:22:26 # $SEMVER_TEMP = /tmp/semver-352251357 20:22:26 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 20:22:28 # '/tmp/semver-352251357' -> '/w/workspace/foundry_device-virtual-go_PR-205/.semver' 20:22:28 # -> Force: false 20:22:28 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-205/.semver [Pipeline] } 20:22:28 $ docker exec --env ******** --env ******** 63a9e8755d09932f994d28877d9403e7982426ea4859a73365c20920c9923c71 ssh-agent -k 20:22:28 unset SSH_AUTH_SOCK; 20:22:28 unset SSH_AGENT_PID; 20:22:28 echo Agent pid 50 killed; 20:22:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:22:28 + git semver [Pipeline] } 20:22:28 $ docker stop --time=1 63a9e8755d09932f994d28877d9403e7982426ea4859a73365c20920c9923c71 20:22:30 $ docker rm -f 63a9e8755d09932f994d28877d9403e7982426ea4859a73365c20920c9923c71 [Pipeline] // withDockerContainer [Pipeline] sh 20:22:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:22:31 Stashed 1 file(s) [Pipeline] echo 20:22:31 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 20:22:46 Still waiting to schedule task 20:22:46 ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4800’ is offline; ‘prd-centos7-docker-4c-2g-4802’ is offline; ‘prd-centos7-docker-4c-2g-4807’ is offline; ‘prd-centos7-docker-4c-2g-4810’ is offline; ‘prd-centos7-docker-4c-2g-4813’ is offline; ‘prd-centos7-docker-4c-2g-4814’ is offline; ‘prd-centos7-docker-4c-2g-4815’ is offline; ‘prd-centos7-docker-4c-2g-4844’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-4834’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-4836’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-4839’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-4840’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4818’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4819’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4823’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4824’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4825’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4828’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4832’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4833’ doesn’t have label ‘centos7-docker-4c-2g’ 20:22:46 Still waiting to schedule task 20:22:46 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 20:24:16 Running on prd-centos7-docker-4c-2g-4850 in /w/workspace/foundry_device-virtual-go_PR-205 [Pipeline] { [Pipeline] ws 20:24:16 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 20:24:23 using credential edgex-jenkins-ssh 20:24:23 Cloning the remote Git repository 20:24:23 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 20:24:23 > git init /w/workspace/device-virtual-go/1 # timeout=10 20:24:23 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:24:23 > git --version # timeout=10 20:24:23 > git --version # 'git version 2.24.3' 20:24:23 using GIT_SSH to set credentials SSH Credentials for GitHub 20:24:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:24:25 Merging remotes/origin/master commit 969908695d9457bace8f724c7874c2a817cac062 into PR head commit 8cf28ce433080062c780a274ebe3815a76362cd4 20:24:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:24:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:24:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:24:24 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:24:24 using GIT_SSH to set credentials SSH Credentials for GitHub 20:24:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/205/head:refs/remotes/origin/PR-205 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:24:25 > git config core.sparsecheckout # timeout=10 20:24:25 > git checkout -f 8cf28ce433080062c780a274ebe3815a76362cd4 # timeout=10 20:24:25 > git remote # timeout=10 20:24:25 Merge succeeded, producing 8cf28ce433080062c780a274ebe3815a76362cd4 20:24:25 Checking out Revision 8cf28ce433080062c780a274ebe3815a76362cd4 (PR-205) 20:24:25 > git config --get remote.origin.url # timeout=10 20:24:25 using GIT_SSH to set credentials SSH Credentials for GitHub 20:24:25 > git merge 969908695d9457bace8f724c7874c2a817cac062 # timeout=10 20:24:25 > git rev-parse HEAD^{commit} # timeout=10 20:24:25 > git config core.sparsecheckout # timeout=10 20:24:25 > git checkout -f 8cf28ce433080062c780a274ebe3815a76362cd4 # timeout=10 20:24:29 Commit message: "fix(build): update Dockerfile* to go 1.16" 20:24:29 > git --version # timeout=10 20:24:29 > git --version # 'git version 2.24.3' 20:24:29 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:24:31 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:24:31 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:24:32 + sudo service docker restart 20:24:32 + true 20:24:32 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:24:33 provisioning config files... 20:24:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5714083183100499150tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:24:34 ---> docker-login.sh 20:24:34 nexus3.edgexfoundry.org:10001 20:24:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:34 Configure a credential helper to remove this warning. See 20:24:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:34 20:24:34 Login Succeeded 20:24:34 nexus3.edgexfoundry.org:10002 20:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:35 Configure a credential helper to remove this warning. See 20:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:35 20:24:35 Login Succeeded 20:24:35 nexus3.edgexfoundry.org:10003 20:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:35 Configure a credential helper to remove this warning. See 20:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:35 20:24:35 Login Succeeded 20:24:35 nexus3.edgexfoundry.org:10004 20:24:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:36 Configure a credential helper to remove this warning. See 20:24:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:36 20:24:36 Login Succeeded 20:24:36 docker.io 20:24:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:36 Configure a credential helper to remove this warning. See 20:24:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:36 20:24:36 Login Succeeded 20:24:36 ---> docker-login.sh ends [Pipeline] } 20:24:36 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:24:37 ========================================================= 20:24:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 20:24:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:24:37 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 20:24:37 Sending build context to Docker daemon 8.586MB 20:24:37 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 20:24:37 Step 2/8 : FROM ${BASE} 20:24:37 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 20:24:37 540db60ca938: Pulling fs layer 20:24:37 adcc1eea9eea: Pulling fs layer 20:24:37 4c4ab2625f07: Pulling fs layer 20:24:37 0510c868ecb4: Pulling fs layer 20:24:37 afea3b2eda06: Pulling fs layer 20:24:37 7809a108b3ef: Pulling fs layer 20:24:37 f706445af74f: Pulling fs layer 20:24:37 0510c868ecb4: Waiting 20:24:37 afea3b2eda06: Waiting 20:24:37 f706445af74f: Waiting 20:24:37 4c4ab2625f07: Verifying Checksum 20:24:37 4c4ab2625f07: Download complete 20:24:37 adcc1eea9eea: Download complete 20:24:37 afea3b2eda06: Verifying Checksum 20:24:37 afea3b2eda06: Download complete 20:24:38 7809a108b3ef: Verifying Checksum 20:24:38 7809a108b3ef: Download complete 20:24:38 540db60ca938: Verifying Checksum 20:24:38 540db60ca938: Download complete 20:24:38 540db60ca938: Pull complete 20:24:38 adcc1eea9eea: Pull complete 20:24:39 4c4ab2625f07: Pull complete 20:24:41 f706445af74f: Verifying Checksum 20:24:41 f706445af74f: Download complete 20:24:42 0510c868ecb4: Verifying Checksum 20:24:42 0510c868ecb4: Download complete 20:24:52 0510c868ecb4: Pull complete 20:24:52 afea3b2eda06: Pull complete 20:24:53 7809a108b3ef: Pull complete 20:25:00 f706445af74f: Pull complete 20:25:00 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 20:25:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:25:00 ---> b068be0155e3 20:25:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 20:25:00 ---> Running in 6a951e50867b 20:25:00 Removing intermediate container 6a951e50867b 20:25:00 ---> 916ee8dc88d5 20:25:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:25:00 ---> Running in 3bb95e6d4150 20:25:02 Removing intermediate container 3bb95e6d4150 20:25:02 ---> 5539f2570171 20:25:02 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 20:25:03 ---> Running in f671dd432271 20:25:04 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:25:05 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:25:06 (1/13) Installing libc-dev (0.7.2-r3) 20:25:06 (2/13) Installing libsodium (1.0.18-r0) 20:25:06 (3/13) Installing pkgconf (1.7.3-r0) 20:25:06 (4/13) Installing libsodium-dev (1.0.18-r0) 20:25:06 (5/13) Installing openssh-keygen (8.4_p1-r3) 20:25:06 (6/13) Installing libedit (20191231.3.1-r1) 20:25:06 (7/13) Installing openssh-client (8.4_p1-r3) 20:25:06 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 20:25:06 (9/13) Installing openssh-server-common (8.4_p1-r3) 20:25:06 (10/13) Installing openssh-server (8.4_p1-r3) 20:25:07 (11/13) Installing openssh (8.4_p1-r3) 20:25:07 (12/13) Installing libzmq (4.3.3-r1) 20:25:07 (13/13) Installing zeromq-dev (4.3.3-r1) 20:25:07 Executing busybox-1.32.1-r6.trigger 20:25:07 OK: 156 MiB in 53 packages 20:25:08 Removing intermediate container f671dd432271 20:25:08 ---> 28d8239fccfc 20:25:08 Step 6/8 : WORKDIR /device-virtual-go 20:25:08 ---> Running in d13b70c5257b 20:25:09 Removing intermediate container d13b70c5257b 20:25:09 ---> 6b5e053fdfae 20:25:09 Step 7/8 : COPY . . 20:25:10 ---> 0136f4fbd326 20:25:10 Step 8/8 : RUN go mod download 20:25:10 ---> Running in 375fa7654310 20:25:49 Removing intermediate container 375fa7654310 20:25:49 ---> 410df60d5892 20:25:49 Successfully built 410df60d5892 20:25:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:25:49 + docker inspect -f . ci-base-image-x86_64 20:25:50 . [Pipeline] withDockerContainer 20:25:50 prd-centos7-docker-4c-2g-4850 does not seem to be running inside a container 20:25:50 $ 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-x86_64 cat 20:25:51 $ docker top ce47d53a8d9293f9f3ad5bf3ef9d5c8c852f5e03fcdead49d850b3a71bb13f54 -eo pid,comm [Pipeline] { [Pipeline] sh 20:25:52 + go version 20:25:52 go version go1.16.3 linux/amd64 [Pipeline] } 20:25:52 $ docker stop --time=1 ce47d53a8d9293f9f3ad5bf3ef9d5c8c852f5e03fcdead49d850b3a71bb13f54 20:25:54 $ docker rm -f ce47d53a8d9293f9f3ad5bf3ef9d5c8c852f5e03fcdead49d850b3a71bb13f54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:25:54 + docker inspect -f . ci-base-image-x86_64 20:25:54 . [Pipeline] withDockerContainer 20:25:55 prd-centos7-docker-4c-2g-4850 does not seem to be running inside a container 20:25:55 $ 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-x86_64 cat 20:25:56 $ docker top 1b3893817eb679cc7083e286869aa01d2b7c199a55eb9c4842811dfa38bcfb91 -eo pid,comm [Pipeline] { [Pipeline] sh 20:25:56 + go mod tidy [Pipeline] sh 20:25:59 + make test 20:25:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:26:00 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:26:59 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:26:59 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.800s coverage: 63.8% of statements 20:26:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:27:18 gofmt -l . 20:27:18 [ "`gofmt -l .`" = "" ] 20:27:18 ./bin/test-attribution-txt.sh 20:27:20 ./bin/test-go-mod-tidy.sh [Pipeline] } 20:27:20 $ docker stop --time=1 1b3893817eb679cc7083e286869aa01d2b7c199a55eb9c4842811dfa38bcfb91 20:27:22 $ docker rm -f 1b3893817eb679cc7083e286869aa01d2b7c199a55eb9c4842811dfa38bcfb91 [Pipeline] // withDockerContainer [Pipeline] sh 20:27:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:27:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:27:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:27:26 + ls -al . 20:27:26 total 132 20:27:26 drwxrwxr-x. 7 jenkins jenkins 4096 May 12 20:27 . 20:27:26 drwxrwxr-x. 4 jenkins jenkins 28 May 12 20:24 .. 20:27:26 -rw-rw-r--. 1 jenkins jenkins 8153 May 12 20:24 Attribution.txt 20:27:26 drwxrwxr-x. 2 jenkins jenkins 64 May 12 20:24 bin 20:27:26 drwxrwxr-x. 3 jenkins jenkins 32 May 12 20:24 cmd 20:27:26 -rw-r--r--. 1 jenkins jenkins 47247 May 12 20:26 coverage.out 20:27:26 -rw-rw-r--. 1 jenkins jenkins 1905 May 12 20:24 Dockerfile 20:27:26 -rw-rw-r--. 1 jenkins jenkins 998 May 12 20:24 Dockerfile.build 20:27:26 drwxrwxr-x. 8 jenkins jenkins 179 May 12 20:24 .git 20:27:26 drwxrwxr-x. 2 jenkins jenkins 103 May 12 20:24 .github 20:27:26 -rw-rw-r--. 1 jenkins jenkins 277 May 12 20:24 .gitignore 20:27:26 -rw-r--r--. 1 jenkins jenkins 809 May 12 20:27 go.mod 20:27:26 -rw-r--r--. 1 jenkins jenkins 23265 May 12 20:25 go.sum 20:27:26 drwxrwxr-x. 3 jenkins jenkins 20 May 12 20:24 internal 20:27:26 -rw-rw-r--. 1 jenkins jenkins 660 May 12 20:24 Jenkinsfile 20:27:26 -rw-rw-r--. 1 jenkins jenkins 11340 May 12 20:24 LICENSE 20:27:26 -rw-rw-r--. 1 jenkins jenkins 901 May 12 20:24 Makefile 20:27:26 -rw-rw-r--. 1 jenkins jenkins 2745 May 12 20:24 README.md 20:27:26 -rw-rw-r--. 1 jenkins jenkins 5 May 12 20:22 VERSION 20:27:26 -rw-rw-r--. 1 jenkins jenkins 235 May 12 20:24 version.go [Pipeline] isUnix [Pipeline] sh 20:27:27 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=8cf28ce433080062c780a274ebe3815a76362cd4 --label arch=amd64 --label version=0.0.0 . 20:27:27 Sending build context to Docker daemon 8.658MB 20:27:27 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 20:27:27 Step 2/25 : FROM ${BASE} AS builder 20:27:27 ---> 410df60d5892 20:27:27 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:27:27 ---> Running in 6e54f83b31c5 20:27:27 Removing intermediate container 6e54f83b31c5 20:27:27 ---> 007e13e028a6 20:27:27 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 20:27:27 ---> Running in 66d3dd930024 20:27:28 Removing intermediate container 66d3dd930024 20:27:28 ---> f799eeb54064 20:27:28 Step 5/25 : WORKDIR /device-virtual-go 20:27:28 ---> Running in 901cf4c16b9b 20:27:28 Removing intermediate container 901cf4c16b9b 20:27:28 ---> 451ee6c15195 20:27:28 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:27:28 ---> Running in bedd34e62fe9 20:27:30 Removing intermediate container bedd34e62fe9 20:27:30 ---> 3e88c36544c4 20:27:30 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:27:30 ---> Running in 98b281f48a98 20:27:31 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:27:32 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:27:32 OK: 156 MiB in 53 packages 20:27:33 Removing intermediate container 98b281f48a98 20:27:33 ---> 54f76a0b148f 20:27:33 Step 8/25 : COPY . . 20:27:34 ---> b117d3df19ad 20:27:34 Step 9/25 : RUN go mod download 20:27:34 ---> Running in 2dc4351bb6e1 20:27:36 Removing intermediate container 2dc4351bb6e1 20:27:36 ---> 472a9371629e 20:27:36 Step 10/25 : ARG MAKE='make build' 20:27:36 ---> Running in b998b2169900 20:27:36 Removing intermediate container b998b2169900 20:27:36 ---> ad34eee98711 20:27:36 Step 11/25 : RUN $MAKE 20:27:37 ---> Running in 7836787af48c 20:27:38 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 20:28:10 CGO_ENABLED=1 GO111MODULE=on go build ./... 20:28:17 Removing intermediate container 7836787af48c 20:28:17 ---> 723144358ef3 20:28:17 Step 12/25 : FROM alpine:3.12 20:28:17 3.12: Pulling from library/alpine 20:28:17 339de151aab4: Pulling fs layer 20:28:17 339de151aab4: Verifying Checksum 20:28:17 339de151aab4: Download complete 20:28:17 339de151aab4: Pull complete 20:28:17 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 20:28:17 Status: Downloaded newer image for alpine:3.12 20:28:17 ---> 13621d1b12d4 20:28:17 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 20:28:18 ---> Running in d641f07ad11f 20:28:18 Removing intermediate container d641f07ad11f 20:28:18 ---> ce768fb30704 20:28:18 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:28:18 ---> Running in 737a7f72cd1f 20:28:21 Removing intermediate container 737a7f72cd1f 20:28:21 ---> 212fc5e6d93c 20:28:21 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 20:28:21 ---> Running in 56ac214cf154 20:28:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:28:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:28:23 (1/6) Installing dumb-init (1.2.2-r1) 20:28:23 (2/6) Installing libgcc (9.3.0-r2) 20:28:23 (3/6) Installing libsodium (1.0.18-r0) 20:28:23 (4/6) Installing libstdc++ (9.3.0-r2) 20:28:24 (5/6) Installing libzmq (4.3.3-r0) 20:28:24 (6/6) Installing zeromq (4.3.3-r0) 20:28:24 Executing busybox-1.31.1-r20.trigger 20:28:24 OK: 8 MiB in 20 packages 20:28:25 Removing intermediate container 56ac214cf154 20:28:25 ---> 0765e205239e 20:28:25 Step 16/25 : WORKDIR / 20:28:25 ---> Running in eb69dd2e6c70 20:28:25 Removing intermediate container eb69dd2e6c70 20:28:25 ---> ce63875fe96e 20:28:25 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 20:28:26 ---> 0d510f883b62 20:28:26 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 20:28:26 ---> ab639139e890 20:28:26 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 20:28:27 ---> 3d7bd950c257 20:28:27 Step 20/25 : EXPOSE 49990 20:28:27 ---> Running in b38409bbd0a5 20:28:27 Removing intermediate container b38409bbd0a5 20:28:27 ---> c97fb1e1d264 20:28:27 Step 21/25 : ENTRYPOINT ["/device-virtual"] 20:28:28 ---> Running in b36a7d4d95d3 20:28:28 Removing intermediate container b36a7d4d95d3 20:28:28 ---> 6fae40090f7a 20:28:28 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:28:28 ---> Running in 3410785c1adc 20:28:28 Removing intermediate container 3410785c1adc 20:28:28 ---> 2b8b8ba7d162 20:28:28 Step 23/25 : LABEL arch=amd64 20:28:28 ---> Running in e48a3b5e39d2 20:28:28 Removing intermediate container e48a3b5e39d2 20:28:28 ---> 4300b21f0804 20:28:28 Step 24/25 : LABEL git_sha=8cf28ce433080062c780a274ebe3815a76362cd4 20:28:28 ---> Running in 4e5bcd816c89 20:28:29 Removing intermediate container 4e5bcd816c89 20:28:29 ---> dbc4615c8b26 20:28:29 Step 25/25 : LABEL version=0.0.0 20:28:29 ---> Running in 0152f159955c 20:28:29 Removing intermediate container 0152f159955c 20:28:29 ---> 2093182c9970 20:28:29 [Warning] One or more build-args [ARCH] were not consumed 20:28:29 Successfully built 2093182c9970 20:28:29 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 20:28:30 ---> job-cost.sh 20:28:30 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-3whf 20:29:03 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:29:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4854 in /w/workspace/foundry_device-virtual-go_PR-205 [Pipeline] { [Pipeline] ws 20:29:05 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 20:29:12 using credential edgex-jenkins-ssh 20:29:12 Cloning the remote Git repository 20:29:12 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 20:29:12 > git init /w/workspace/device-virtual-go/1 # timeout=10 20:29:12 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:29:12 > git --version # timeout=10 20:29:12 > git --version # 'git version 2.17.1' 20:29:12 using GIT_SSH to set credentials SSH Credentials for GitHub 20:29:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:29:14 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:29:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:29:14 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:29:14 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:29:14 using GIT_SSH to set credentials SSH Credentials for GitHub 20:29:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/205/head:refs/remotes/origin/PR-205 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:29:14 Merging remotes/origin/master commit 969908695d9457bace8f724c7874c2a817cac062 into PR head commit 8cf28ce433080062c780a274ebe3815a76362cd4 20:29:15 Merge succeeded, producing 8cf28ce433080062c780a274ebe3815a76362cd4 20:29:15 Checking out Revision 8cf28ce433080062c780a274ebe3815a76362cd4 (PR-205) 20:29:15 > git config core.sparsecheckout # timeout=10 20:29:15 > git checkout -f 8cf28ce433080062c780a274ebe3815a76362cd4 # timeout=10 20:29:15 > git remote # timeout=10 20:29:15 > git config --get remote.origin.url # timeout=10 20:29:15 using GIT_SSH to set credentials SSH Credentials for GitHub 20:29:15 > git merge 969908695d9457bace8f724c7874c2a817cac062 # timeout=10 20:29:15 > git rev-parse HEAD^{commit} # timeout=10 20:29:15 > git config core.sparsecheckout # timeout=10 20:29:15 > git checkout -f 8cf28ce433080062c780a274ebe3815a76362cd4 # timeout=10 20:29:19 Commit message: "fix(build): update Dockerfile* to go 1.16" 20:29:19 > git --version # timeout=10 20:29:19 > git --version # 'git version 2.17.1' 20:29:19 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 20:29:20 20:29:20 GitHub has been notified of this commit’s build result 20:29:20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:29:21 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 20:29:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:29:22 + sudo service docker restart 20:29:22 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:29:25 provisioning config files... 20:29:25 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6481047897401477633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:25 ---> docker-login.sh 20:29:25 nexus3.edgexfoundry.org:10001 20:29:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:27 Configure a credential helper to remove this warning. See 20:29:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:27 20:29:27 Login Succeeded 20:29:27 nexus3.edgexfoundry.org:10002 20:29:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:28 Configure a credential helper to remove this warning. See 20:29:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:28 20:29:28 Login Succeeded 20:29:28 nexus3.edgexfoundry.org:10003 20:29:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:28 Configure a credential helper to remove this warning. See 20:29:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:28 20:29:28 Login Succeeded 20:29:28 nexus3.edgexfoundry.org:10004 20:29:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:29 Configure a credential helper to remove this warning. See 20:29:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:29 20:29:29 Login Succeeded 20:29:29 docker.io 20:29:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:30 Configure a credential helper to remove this warning. See 20:29:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:30 20:29:30 Login Succeeded 20:29:30 ---> docker-login.sh ends [Pipeline] } 20:29:30 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:29:30 ========================================================= 20:29:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 20:29:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:29:31 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 20:29:31 Sending build context to Docker daemon 8.585MB 20:29:31 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 20:29:31 Step 2/8 : FROM ${BASE} 20:29:31 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:29:31 595b0fe564bb: Pulling fs layer 20:29:31 7186ed65a4f7: Pulling fs layer 20:29:31 316046926c0a: Pulling fs layer 20:29:31 4ebd0625c992: Pulling fs layer 20:29:31 207e8628e3a3: Pulling fs layer 20:29:31 c791037a9be2: Pulling fs layer 20:29:31 ffd874e62e21: Pulling fs layer 20:29:31 4ebd0625c992: Waiting 20:29:31 207e8628e3a3: Waiting 20:29:31 c791037a9be2: Waiting 20:29:31 ffd874e62e21: Waiting 20:29:31 316046926c0a: Verifying Checksum 20:29:31 316046926c0a: Download complete 20:29:31 7186ed65a4f7: Download complete 20:29:31 207e8628e3a3: Verifying Checksum 20:29:31 207e8628e3a3: Download complete 20:29:31 c791037a9be2: Download complete 20:29:32 595b0fe564bb: Verifying Checksum 20:29:32 595b0fe564bb: Download complete 20:29:32 595b0fe564bb: Pull complete 20:29:33 7186ed65a4f7: Pull complete 20:29:34 316046926c0a: Pull complete 20:29:36 ffd874e62e21: Verifying Checksum 20:29:36 ffd874e62e21: Download complete 20:29:38 4ebd0625c992: Verifying Checksum 20:29:38 4ebd0625c992: Download complete 20:29:42 lf-activate-venv(): INFO: Adding /tmp/venv-3whf/bin to PATH 20:29:42 INFO: No Stack... 20:29:42 INFO: Retrieving Pricing Info for: v1-standard-2 20:29:42 INFO: Archiving Costs [Pipeline] sh 20:29:42 + cut -d, -f6 20:29:42 + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 20:29:42 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-205-1-stack-cost] 20:29:42 Resource [jenkins-edgexfoundry-device-virtual-go-PR-205-1-stack-cost] did not exist. Created. 20:29:42 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-205-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:29:43 + echo total: 0.029999999329447746 [Pipeline] stash 20:29:43 Stashed 1 file(s) [Pipeline] } 20:29:43 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-205-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:29:49 4ebd0625c992: Pull complete 20:29:49 207e8628e3a3: Pull complete 20:29:49 c791037a9be2: Pull complete 20:29:52 ffd874e62e21: Pull complete 20:29:52 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 20:29:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:29:52 ---> cfc18b08335c 20:29:52 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 20:29:55 ---> Running in a0569cee4009 20:29:56 Removing intermediate container a0569cee4009 20:29:56 ---> 748233152c15 20:29:56 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:29:56 ---> Running in dd5c4bd4bc3c 20:29:58 Removing intermediate container dd5c4bd4bc3c 20:29:58 ---> dc9267aa6901 20:29:58 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 20:29:58 ---> Running in 002fb81d9d9d 20:29:59 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:30:00 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:30:01 (1/13) Installing libc-dev (0.7.2-r3) 20:30:01 (2/13) Installing libsodium (1.0.18-r0) 20:30:01 (3/13) Installing pkgconf (1.7.3-r0) 20:30:01 (4/13) Installing libsodium-dev (1.0.18-r0) 20:30:01 (5/13) Installing openssh-keygen (8.4_p1-r3) 20:30:01 (6/13) Installing libedit (20191231.3.1-r1) 20:30:02 (7/13) Installing openssh-client (8.4_p1-r3) 20:30:02 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 20:30:02 (9/13) Installing openssh-server-common (8.4_p1-r3) 20:30:02 (10/13) Installing openssh-server (8.4_p1-r3) 20:30:02 (11/13) Installing openssh (8.4_p1-r3) 20:30:03 (12/13) Installing libzmq (4.3.3-r1) 20:30:03 (13/13) Installing zeromq-dev (4.3.3-r1) 20:30:03 Executing busybox-1.32.1-r6.trigger 20:30:03 OK: 145 MiB in 53 packages 20:30:05 Removing intermediate container 002fb81d9d9d 20:30:05 ---> ae6fa74e9e47 20:30:05 Step 6/8 : WORKDIR /device-virtual-go 20:30:05 ---> Running in d0d24cbca1bc 20:30:05 Removing intermediate container d0d24cbca1bc 20:30:05 ---> 843c6af006ac 20:30:05 Step 7/8 : COPY . . 20:30:07 ---> 45871fcc6c24 20:30:07 Step 8/8 : RUN go mod download 20:30:07 ---> Running in d7e5cc2c67e7 20:30:39 Removing intermediate container d7e5cc2c67e7 20:30:39 ---> b2a377485e77 20:30:39 Successfully built b2a377485e77 20:30:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:30:40 + docker inspect -f . ci-base-image-arm64 20:30:40 . [Pipeline] withDockerContainer 20:30:40 prd-ubuntu18.04-docker-arm64-4c-16g-4854 does not seem to be running inside a container 20:30:40 $ 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-arm64 cat 20:30:42 $ docker top c71ba568f5862fd9683ce00243abe3dc704bf269f4064601e6d3c6c6d6a44416 -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:43 + go version 20:30:43 go version go1.16.3 linux/arm64 [Pipeline] } 20:30:43 $ docker stop --time=1 c71ba568f5862fd9683ce00243abe3dc704bf269f4064601e6d3c6c6d6a44416 20:30:45 $ docker rm -f c71ba568f5862fd9683ce00243abe3dc704bf269f4064601e6d3c6c6d6a44416 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:30:46 + docker inspect -f . ci-base-image-arm64 20:30:46 . [Pipeline] withDockerContainer 20:30:46 prd-ubuntu18.04-docker-arm64-4c-16g-4854 does not seem to be running inside a container 20:30:46 $ 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-arm64 cat 20:30:48 $ docker top 8113fcefae8e2f6e56f8a86ec632ebe0367ae0c37b0bd5b2fa4ae9a4216d085d -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:49 + go mod tidy [Pipeline] sh 20:30:51 + make test 20:30:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:30:53 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:32:15 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:32:15 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.922s coverage: 63.8% of statements 20:32:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:32:42 gofmt -l . 20:32:42 [ "`gofmt -l .`" = "" ] 20:32:42 ./bin/test-attribution-txt.sh 20:32:42 ./bin/test-go-mod-tidy.sh [Pipeline] } 20:32:42 $ docker stop --time=1 8113fcefae8e2f6e56f8a86ec632ebe0367ae0c37b0bd5b2fa4ae9a4216d085d 20:32:44 $ docker rm -f 8113fcefae8e2f6e56f8a86ec632ebe0367ae0c37b0bd5b2fa4ae9a4216d085d [Pipeline] // withDockerContainer [Pipeline] sh 20:32:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:32:45 Warning: overwriting stash ‘coverage-report’ 20:32:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:32:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:32:47 + ls -al . 20:32:47 total 156 20:32:47 drwxrwxr-x 7 jenkins jenkins 4096 May 12 20:32 . 20:32:47 drwxrwxr-x 4 jenkins jenkins 4096 May 12 20:29 .. 20:32:47 drwxrwxr-x 8 jenkins jenkins 4096 May 12 20:29 .git 20:32:47 drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:29 .github 20:32:47 -rw-rw-r-- 1 jenkins jenkins 277 May 12 20:29 .gitignore 20:32:47 -rw-rw-r-- 1 jenkins jenkins 8153 May 12 20:29 Attribution.txt 20:32:47 -rw-rw-r-- 1 jenkins jenkins 1905 May 12 20:29 Dockerfile 20:32:47 -rw-rw-r-- 1 jenkins jenkins 998 May 12 20:29 Dockerfile.build 20:32:47 -rw-rw-r-- 1 jenkins jenkins 660 May 12 20:29 Jenkinsfile 20:32:47 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 20:29 LICENSE 20:32:47 -rw-rw-r-- 1 jenkins jenkins 901 May 12 20:29 Makefile 20:32:47 -rw-rw-r-- 1 jenkins jenkins 2745 May 12 20:29 README.md 20:32:47 -rw-rw-r-- 1 jenkins jenkins 5 May 12 20:22 VERSION 20:32:47 drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:29 bin 20:32:47 drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:29 cmd 20:32:47 -rw-r--r-- 1 jenkins jenkins 47247 May 12 20:32 coverage.out 20:32:47 -rw-r--r-- 1 jenkins jenkins 809 May 12 20:32 go.mod 20:32:47 -rw-r--r-- 1 jenkins jenkins 23265 May 12 20:30 go.sum 20:32:47 drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:29 internal 20:32:47 -rw-rw-r-- 1 jenkins jenkins 235 May 12 20:29 version.go [Pipeline] isUnix [Pipeline] sh 20:32:47 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8cf28ce433080062c780a274ebe3815a76362cd4 --label arch=arm64 --label version=0.0.0 . 20:32:48 Sending build context to Docker daemon 8.657MB 20:32:48 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 20:32:48 Step 2/25 : FROM ${BASE} AS builder 20:32:48 ---> b2a377485e77 20:32:48 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:32:48 ---> Running in e00d17621a9d 20:32:49 Removing intermediate container e00d17621a9d 20:32:49 ---> 36b3cc0a1585 20:32:49 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 20:32:49 ---> Running in 893062eebd34 20:32:49 Removing intermediate container 893062eebd34 20:32:49 ---> b209f155ceac 20:32:49 Step 5/25 : WORKDIR /device-virtual-go 20:32:49 ---> Running in ec436dd87b7c 20:32:50 Removing intermediate container ec436dd87b7c 20:32:50 ---> 05a27ca82e99 20:32:50 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:32:50 ---> Running in df3d756b5b35 20:32:52 Removing intermediate container df3d756b5b35 20:32:52 ---> 374845ee1a1e 20:32:52 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:32:52 ---> Running in 94b6e57e2cd6 20:32:54 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:32:55 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:32:56 OK: 145 MiB in 53 packages 20:32:57 Removing intermediate container 94b6e57e2cd6 20:32:57 ---> 6bd8c6a2199b 20:32:57 Step 8/25 : COPY . . 20:32:59 ---> 8858261e5136 20:32:59 Step 9/25 : RUN go mod download 20:32:59 ---> Running in 58d22057909f 20:33:02 Removing intermediate container 58d22057909f 20:33:02 ---> b8760983ab90 20:33:02 Step 10/25 : ARG MAKE='make build' 20:33:02 ---> Running in 5ead691770e6 20:33:02 Removing intermediate container 5ead691770e6 20:33:02 ---> cd9e7a7774b2 20:33:02 Step 11/25 : RUN $MAKE 20:33:02 ---> Running in fa6530218e23 20:33:03 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 20:34:11 CGO_ENABLED=1 GO111MODULE=on go build ./... 20:34:12 Removing intermediate container fa6530218e23 20:34:12 ---> 629c87ce5530 20:34:12 Step 12/25 : FROM alpine:3.12 20:34:13 3.12: Pulling from library/alpine 20:34:13 d2f70382dc9a: Pulling fs layer 20:34:13 d2f70382dc9a: Verifying Checksum 20:34:13 d2f70382dc9a: Download complete 20:34:14 d2f70382dc9a: Pull complete 20:34:14 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 20:34:14 Status: Downloaded newer image for alpine:3.12 20:34:14 ---> 9852663dfa18 20:34:14 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 20:34:14 ---> Running in 726e29e09902 20:34:14 Removing intermediate container 726e29e09902 20:34:14 ---> c2a0e4632678 20:34:14 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:34:15 ---> Running in 248ed0bb650a 20:34:17 Removing intermediate container 248ed0bb650a 20:34:17 ---> 658fd713b975 20:34:17 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 20:34:17 ---> Running in f63a52b569d2 20:34:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:34:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:34:20 (1/6) Installing dumb-init (1.2.2-r1) 20:34:20 (2/6) Installing libgcc (9.3.0-r2) 20:34:20 (3/6) Installing libsodium (1.0.18-r0) 20:34:20 (4/6) Installing libstdc++ (9.3.0-r2) 20:34:21 (5/6) Installing libzmq (4.3.3-r0) 20:34:21 (6/6) Installing zeromq (4.3.3-r0) 20:34:21 Executing busybox-1.31.1-r20.trigger 20:34:21 OK: 8 MiB in 20 packages 20:34:22 Removing intermediate container f63a52b569d2 20:34:22 ---> c8172f389645 20:34:22 Step 16/25 : WORKDIR / 20:34:22 ---> Running in 61fbcf880ead 20:34:23 Removing intermediate container 61fbcf880ead 20:34:23 ---> 642a6d2bbf2d 20:34:23 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 20:34:24 ---> fa07533564d8 20:34:24 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 20:34:25 ---> 6a35d944ea09 20:34:25 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 20:34:26 ---> 3edfc6c9197c 20:34:26 Step 20/25 : EXPOSE 49990 20:34:26 ---> Running in 85b827461102 20:34:27 Removing intermediate container 85b827461102 20:34:27 ---> ea4540788066 20:34:27 Step 21/25 : ENTRYPOINT ["/device-virtual"] 20:34:27 ---> Running in f5857420fb2a 20:34:27 Removing intermediate container f5857420fb2a 20:34:27 ---> c5ccaf838a6f 20:34:27 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:34:27 ---> Running in 1d72c364f3dd 20:34:28 Removing intermediate container 1d72c364f3dd 20:34:28 ---> 41917489b989 20:34:28 Step 23/25 : LABEL arch=arm64 20:34:28 ---> Running in 758d500c3362 20:34:28 Removing intermediate container 758d500c3362 20:34:28 ---> 799bfc2d20cf 20:34:28 Step 24/25 : LABEL git_sha=8cf28ce433080062c780a274ebe3815a76362cd4 20:34:28 ---> Running in d35dafecec6e 20:34:29 Removing intermediate container d35dafecec6e 20:34:29 ---> a5c83355669a 20:34:29 Step 25/25 : LABEL version=0.0.0 20:34:29 ---> Running in 59272170463a 20:34:30 Removing intermediate container 59272170463a 20:34:30 ---> 32c63c858405 20:34:30 [Warning] One or more build-args [ARCH] were not consumed 20:34:30 Successfully built 32c63c858405 20:34:30 Successfully tagged device-virtual-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 20:34:30 ---> job-cost.sh 20:34:30 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WJn4 20:35:18 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:36:55 lf-activate-venv(): INFO: Adding /tmp/venv-WJn4/bin to PATH 20:36:55 INFO: No Stack... 20:36:55 INFO: Retrieving Pricing Info for: lf-standard-4 20:36:55 INFO: Archiving Costs [Pipeline] sh 20:36:55 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 20:36:55 + cut -d, -f6 [Pipeline] lock 20:36:55 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-205-1-stack-cost] 20:36:55 Resource [jenkins-edgexfoundry-device-virtual-go-PR-205-1-stack-cost] did not exist. Created. 20:36:55 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-205-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:36:56 /w/workspace/device-virtual-go/1@tmp/durable-322848b2/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-322848b2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:36:56 + echo total: 0.20999999344348907 [Pipeline] stash 20:36:56 Warning: overwriting stash ‘stack-cost’ 20:36:56 Stashed 1 file(s) [Pipeline] } 20:36:56 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-205-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 20:36:57 provisioning config files... 20:36:57 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-205@tmp/config6579743020602253704tmp [Pipeline] { [Pipeline] sh 20:36:58 + set +x 20:36:58 + curl -s https://codecov.io/bash 20:36:58 + bash -s -- 20:36:58 20:36:58 _____ _ 20:36:58 / ____| | | 20:36:58 | | ___ __| | ___ ___ _____ __ 20:36:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:36:58 | |___| (_) | (_| | __/ (_| (_) \ V / 20:36:58 \_____\___/ \__,_|\___|\___\___/ \_/ 20:36:58 Bash-1.0.2 20:36:58 20:36:58 20:36:58 ==> git version 2.24.3 found 20:36:58 ==> 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 20:36:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:36:58 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:36:58 ==> Jenkins CI detected. 20:36:58 project root: . 20:36:58 --> token set from env 20:36:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:36:58 ==> Running gcov in . (disable via -X gcov) 20:36:58 ==> Python coveragepy not found 20:36:58 ==> Searching for coverage reports in: 20:36:58 + . 20:36:58 -> Found 1 reports 20:36:58 ==> Detecting git/mercurial file structure 20:36:58 ==> Reading reports 20:36:58 + ./coverage.out bytes=47247 20:36:58 ==> Appending adjustments 20:36:58 https://docs.codecov.io/docs/fixing-reports 20:36:58 + Found adjustments 20:36:58 ==> Gzipping contents 20:36:58 8.0K /tmp/codecov.7xMQLq.gz 20:36:58 ==> Uploading reports 20:36:58 url: https://codecov.io 20:36:58 query: branch=PR-205&commit=8cf28ce433080062c780a274ebe3815a76362cd4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-205%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=205&job=&cmd_args= 20:36:58 -> Pinging Codecov 20:36:58 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-205&commit=8cf28ce433080062c780a274ebe3815a76362cd4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-205%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=205&job=&cmd_args= 20:36:59 -> Uploading to 20:36:59 https://storage.googleapis.com/codecov/v4/raw/2021-05-12/5E52B4B073DB2E39498172D8E973AA87/8cf28ce433080062c780a274ebe3815a76362cd4/402f91de-c645-4102-acb2-886d0f5953d2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210512T203659Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f355389bc9748a059281ca4b4e5d3d2d514379130c44ef9f9feb516c8c5c6095 20:36:59 % Total % Received % Xferd Average Speed Time Time Time Current 20:36:59 Dload Upload Total Spent Left Speed 20:36:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5762 0 0 100 5762 0 13312 --:--:-- --:--:-- --:--:-- 13307 20:37:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/8cf28ce433080062c780a274ebe3815a76362cd4 [Pipeline] } 20:37: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] { (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 20:37:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:37:02 ---> package-listing.sh 20:37:02 ++ facter osfamily 20:37:02 ++ tr '[:upper:]' '[:lower:]' 20:37:02 + OS_FAMILY=redhat 20:37:02 + workspace=/w/workspace/foundry_device-virtual-go_PR-205 20:37:02 + START_PACKAGES=/tmp/packages_start.txt 20:37:02 + END_PACKAGES=/tmp/packages_end.txt 20:37:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:37:02 + PACKAGES=/tmp/packages_start.txt 20:37:02 + '[' /w/workspace/foundry_device-virtual-go_PR-205 ']' 20:37:02 + PACKAGES=/tmp/packages_end.txt 20:37:02 + case "${OS_FAMILY}" in 20:37:02 + rpm -qa 20:37:02 + sort 20:37:07 + '[' -f /tmp/packages_start.txt ']' 20:37:07 + '[' -f /tmp/packages_end.txt ']' 20:37:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:37:07 + '[' /w/workspace/foundry_device-virtual-go_PR-205 ']' 20:37:07 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-205/archives/ 20:37:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-205/archives/ [Pipeline] echo 20:37:07 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-205/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:37:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:37:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:37:08 20:37:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:37:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:37:09 alpine: Pulling from edgex-lftools-log-publisher 20:37:09 df20fa9351a1: Pulling fs layer 20:37:09 36b3adc4ff6f: Pulling fs layer 20:37:09 8ad3a11d3b57: Pulling fs layer 20:37:09 46f8f816bc3b: Pulling fs layer 20:37:09 93b61091891f: Pulling fs layer 20:37:09 93b9cdb0e59b: Pulling fs layer 20:37:09 5e14af77c1be: Pulling fs layer 20:37:09 01666e4c0597: Pulling fs layer 20:37:09 aa168da1d23b: Pulling fs layer 20:37:09 93b9cdb0e59b: Waiting 20:37:09 01666e4c0597: Waiting 20:37:09 5e14af77c1be: Waiting 20:37:09 aa168da1d23b: Waiting 20:37:09 46f8f816bc3b: Waiting 20:37:09 93b61091891f: Waiting 20:37:09 36b3adc4ff6f: Verifying Checksum 20:37:09 36b3adc4ff6f: Download complete 20:37:09 46f8f816bc3b: Download complete 20:37:09 df20fa9351a1: Verifying Checksum 20:37:09 df20fa9351a1: Download complete 20:37:09 93b9cdb0e59b: Verifying Checksum 20:37:09 93b9cdb0e59b: Download complete 20:37:09 5e14af77c1be: Verifying Checksum 20:37:09 5e14af77c1be: Download complete 20:37:09 01666e4c0597: Verifying Checksum 20:37:09 01666e4c0597: Download complete 20:37:09 93b61091891f: Verifying Checksum 20:37:09 93b61091891f: Download complete 20:37:09 8ad3a11d3b57: Verifying Checksum 20:37:09 8ad3a11d3b57: Download complete 20:37:09 df20fa9351a1: Pull complete 20:37:09 36b3adc4ff6f: Pull complete 20:37:11 aa168da1d23b: Verifying Checksum 20:37:11 aa168da1d23b: Download complete 20:37:11 8ad3a11d3b57: Pull complete 20:37:12 46f8f816bc3b: Pull complete 20:37:12 93b61091891f: Pull complete 20:37:12 93b9cdb0e59b: Pull complete 20:37:12 5e14af77c1be: Pull complete 20:37:12 01666e4c0597: Pull complete 20:37:21 aa168da1d23b: Pull complete 20:37:21 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:37:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:37:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:37:21 prd-centos7-docker-4c-2g-4843 does not seem to be running inside a container 20:37:21 $ 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-205/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-205 -v /w/workspace/foundry_device-virtual-go_PR-205:/w/workspace/foundry_device-virtual-go_PR-205:rw,z -v /w/workspace/foundry_device-virtual-go_PR-205@tmp:/w/workspace/foundry_device-virtual-go_PR-205@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:37:24 $ docker top 98acab504f08608d534224194054e4df5fedce1583fdf53ddcbad9739fbb1fae -eo pid,comm [Pipeline] { [Pipeline] sh 20:37:25 + touch /tmp/pre-build-complete [Pipeline] sh 20:37:25 + mkdir -p /var/log/sa [Pipeline] sh 20:37:25 + ls /var/log/sa-host 20:37:25 + sadf -c /var/log/sa-host/sa12 20:37:25 file_magic: OK 20:37:25 HZ: Using current value: 100 20:37:25 file_header: OK 20:37:25 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 20:37:25 Statistics: 20:37:25 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:37:25 File successfully converted to sysstat format version 12.2.1 20:37:25 + sadf -c /var/log/sa-host/sa23 20:37:25 file_magic: OK 20:37:25 HZ: Using current value: 100 20:37:25 file_header: OK 20:37:25 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 20:37:25 Statistics: 20:37:25 Hnuu...uuuununununu... 20:37:25 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:37:26 provisioning config files... 20:37:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-205@tmp/config5548465955303297931tmp [Pipeline] { [Pipeline] echo 20:37:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:37:26 ---> create-netrc.sh [Pipeline] } 20:37:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:37:26 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:37:27 ---> python-tools-install.sh [Pipeline] echo 20:37:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:37:27 ---> sudo-logs.sh 20:37:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:37:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:37:27 ---> job-cost.sh 20:37:27 lf-activate-venv: SKIPPING 20:37:27 DEBUG: total: 0.20999999344348907 20:37:27 INFO: Retrieving Stack Cost... 20:37:29 INFO: Retrieving Pricing Info for: v1-standard-2 20:37:29 INFO: Archiving Costs [Pipeline] echo 20:37:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:37:29 ---> logs-deploy.sh 20:37:29 lf-activate-venv: SKIPPING 20:37:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-205/1 20:37:29 INFO: archiving workspace using pattern(s): 20:37:31 Archives upload complete. 20:37:31 INFO: archiving logs to Nexus 20:37:32 ---> uname -a: 20:37:32 Linux prd-centos7-docker-4c-2g-4843.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 20:37:32 20:37:32