Pull request #187 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5b109625d938cff13fe970e511b54891feb2acdd+d49a116a4400a5a79f2ee23114687d65ed5c637c (382d2098731c34641779466ef5fb8c796494c565) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-187/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-187/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-695’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-696’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-703 in /w/workspace/foundry_device-virtual-go_PR-187 [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-187 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit d49a116a4400a5a79f2ee23114687d65ed5c637c into PR head commit 5b109625d938cff13fe970e511b54891feb2acdd Merge succeeded, producing 5b109625d938cff13fe970e511b54891feb2acdd Checking out Revision 5b109625d938cff13fe970e511b54891feb2acdd (PR-187) > 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/187/head:refs/remotes/origin/PR-187 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b109625d938cff13fe970e511b54891feb2acdd # 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 d49a116a4400a5a79f2ee23114687d65ed5c637c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b109625d938cff13fe970e511b54891feb2acdd # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:52:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:52:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:52:39 ========================================================= 05:52:39 EdgeX Global Pipelines Version Info 05:52:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:52:40 ------------------- 05:52:40 stable info: 05:52:40 ------------------- 05:52:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:52:40 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:52:40 Message: update stable to v1.0.186 05:52:41 ------------------- 05:52:41 experimental info: 05:52:41 ------------------- 05:52:41 Commited By: **** collab-it+edgex@linuxfoundation.org 05:52:41 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 05:52:41 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:52:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 05:52:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 05:52:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:52:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:52:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:52:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:52:42 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:52:42 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:52:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:52:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:52:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:52:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 05:52:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:52:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:52:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:52:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:52:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:52:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:52:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:52:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:52:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:52:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:52:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:52:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:52:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:52:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-187 [Pipeline] echo 05:52:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-187 [Pipeline] echo 05:52:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-187 [Pipeline] echo 05:52:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b109625d938cff13fe970e511b54891feb2acdd [Pipeline] echo 05:52:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b10962 [Pipeline] echo 05:52:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:52:44 provisioning config files... 05:52:44 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-187@tmp/config6084989836926996185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:52:44 ---> docker-login.sh 05:52:44 nexus3.edgexfoundry.org:10001 05:52:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:45 Configure a credential helper to remove this warning. See 05:52:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:45 05:52:45 Login Succeeded 05:52:45 nexus3.edgexfoundry.org:10002 05:52:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:45 Configure a credential helper to remove this warning. See 05:52:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:45 05:52:45 Login Succeeded 05:52:45 nexus3.edgexfoundry.org:10003 05:52:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:45 Configure a credential helper to remove this warning. See 05:52:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:45 05:52:45 Login Succeeded 05:52:45 nexus3.edgexfoundry.org:10004 05:52:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:45 Configure a credential helper to remove this warning. See 05:52:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:45 05:52:45 Login Succeeded 05:52:45 docker.io 05:52:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:46 Configure a credential helper to remove this warning. See 05:52:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:46 05:52:46 Login Succeeded 05:52:46 ---> docker-login.sh ends [Pipeline] } 05:52:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:52:46 + git log --format=format:%s -1 5b109625d938cff13fe970e511b54891feb2acdd [Pipeline] echo 05:52:47 GIT_COMMIT: 5b109625d938cff13fe970e511b54891feb2acdd, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:52:47 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:52:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:52:47 05:52:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:52:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:52:48 latest: Pulling from edgex-devops/git-semver 05:52:48 31603596830f: Pulling fs layer 05:52:48 2a8b12db71e7: Pulling fs layer 05:52:48 6ca5941a6612: Pulling fs layer 05:52:48 ecc8261a40a4: Pulling fs layer 05:52:48 ecc8261a40a4: Waiting 05:52:48 2a8b12db71e7: Verifying Checksum 05:52:48 2a8b12db71e7: Download complete 05:52:48 31603596830f: Verifying Checksum 05:52:48 31603596830f: Download complete 05:52:48 ecc8261a40a4: Verifying Checksum 05:52:48 ecc8261a40a4: Download complete 05:52:48 6ca5941a6612: Verifying Checksum 05:52:48 6ca5941a6612: Download complete 05:52:48 31603596830f: Pull complete 05:52:48 2a8b12db71e7: Pull complete 05:52:49 6ca5941a6612: Pull complete 05:52:49 ecc8261a40a4: Pull complete 05:52:49 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:52:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:52:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:52:50 prd-centos7-docker-4c-2g-703 does not seem to be running inside a container 05:52:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-187 -v /w/workspace/foundry_device-virtual-go_PR-187:/w/workspace/foundry_device-virtual-go_PR-187:rw,z -v /w/workspace/foundry_device-virtual-go_PR-187@tmp:/w/workspace/foundry_device-virtual-go_PR-187@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:52:52 $ docker top bd618eecaa8343591bc64b495e3b31e9a720cc7690d8fa797bf661c42062c4c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:52:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:52:52 [ssh-agent] Looking for ssh-agent implementation... 05:52:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:52:53 $ docker exec bd618eecaa8343591bc64b495e3b31e9a720cc7690d8fa797bf661c42062c4c6 ssh-agent 05:52:53 SSH_AUTH_SOCK=/tmp/ssh-6TT0zFXEbXKS/agent.11 05:52:53 SSH_AGENT_PID=16 05:52:53 Running ssh-add (command line suppressed) 05:52:53 Identity added: /w/workspace/foundry_device-virtual-go_PR-187@tmp/private_key_8063017808366939610.key (/w/workspace/foundry_device-virtual-go_PR-187@tmp/private_key_8063017808366939610.key) 05:52:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:52:53 + git tag --points-at HEAD [Pipeline] } 05:52:53 $ docker exec --env ******** --env ******** bd618eecaa8343591bc64b495e3b31e9a720cc7690d8fa797bf661c42062c4c6 ssh-agent -k 05:52:54 unset SSH_AUTH_SOCK; 05:52:54 unset SSH_AGENT_PID; 05:52:54 echo Agent pid 16 killed; 05:52:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:52:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:52:54 [ssh-agent] Looking for ssh-agent implementation... 05:52:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:52:54 $ docker exec bd618eecaa8343591bc64b495e3b31e9a720cc7690d8fa797bf661c42062c4c6 ssh-agent 05:52:54 SSH_AUTH_SOCK=/tmp/ssh-GMC9wkC1iVxI/agent.45 05:52:54 SSH_AGENT_PID=50 05:52:54 Running ssh-add (command line suppressed) 05:52:54 Identity added: /w/workspace/foundry_device-virtual-go_PR-187@tmp/private_key_67918543338506480.key (/w/workspace/foundry_device-virtual-go_PR-187@tmp/private_key_67918543338506480.key) 05:52:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:52:55 + git semver init 05:52:55 # -> Open(): unable to determine branch for HEAD 05:52:55 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-187/.git 05:52:55 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-187 05:52:55 # $SEMVER_REMOTE_NAME = origin 05:52:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:52:55 # $SEMVER_USER_NAME = edgex-jenkins 05:52:55 # $SEMVER_BRANCH = PR-187 05:52:55 # $SEMVER_TEMP = /tmp/semver-124808580 05:52:55 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 05:52:55 # '/tmp/semver-124808580' -> '/w/workspace/foundry_device-virtual-go_PR-187/.semver' 05:52:55 # -> Force: false 05:52:55 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-187/.semver [Pipeline] } 05:52:55 $ docker exec --env ******** --env ******** bd618eecaa8343591bc64b495e3b31e9a720cc7690d8fa797bf661c42062c4c6 ssh-agent -k 05:52:55 unset SSH_AUTH_SOCK; 05:52:55 unset SSH_AGENT_PID; 05:52:55 echo Agent pid 50 killed; 05:52:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:52:56 + git semver [Pipeline] } 05:52:56 $ docker stop --time=1 bd618eecaa8343591bc64b495e3b31e9a720cc7690d8fa797bf661c42062c4c6 05:52:57 $ docker rm -f bd618eecaa8343591bc64b495e3b31e9a720cc7690d8fa797bf661c42062c4c6 [Pipeline] // withDockerContainer [Pipeline] sh 05:52:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:52:58 Stashed 1 file(s) [Pipeline] echo 05:52:58 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 05:53:14 Still waiting to schedule task 05:53:14 ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-682’ is offline; ‘prd-centos7-docker-4c-2g-697’ is offline; ‘prd-centos7-docker-4c-2g-708’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-683’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-704’ doesn’t have label ‘centos7-docker-4c-2g’ 05:53:14 Still waiting to schedule task 05:53:14 ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-682’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-697’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-708’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-683’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-704’ is offline 05:54:02 Running on prd-centos7-docker-4c-2g-707 in /w/workspace/foundry_device-virtual-go_PR-187 [Pipeline] { [Pipeline] ws 05:54:02 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 05:54:13 using credential edgex-jenkins-ssh 05:54:13 Cloning the remote Git repository 05:54:13 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:54:13 > git init /w/workspace/device-virtual-go/1 # timeout=10 05:54:14 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:54:14 > git --version # timeout=10 05:54:14 > git --version # 'git version 2.24.3' 05:54:14 using GIT_SSH to set credentials SSH Credentials for GitHub 05:54:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:54:14 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:54:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:54:15 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:54:15 Merging remotes/origin/master commit d49a116a4400a5a79f2ee23114687d65ed5c637c into PR head commit 5b109625d938cff13fe970e511b54891feb2acdd 05:54:16 Merge succeeded, producing 5b109625d938cff13fe970e511b54891feb2acdd 05:54:16 Checking out Revision 5b109625d938cff13fe970e511b54891feb2acdd (PR-187) 05:54:15 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:54:15 using GIT_SSH to set credentials SSH Credentials for GitHub 05:54:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:54:15 > git config core.sparsecheckout # timeout=10 05:54:15 > git checkout -f 5b109625d938cff13fe970e511b54891feb2acdd # timeout=10 05:54:16 > git remote # timeout=10 05:54:16 > git config --get remote.origin.url # timeout=10 05:54:16 using GIT_SSH to set credentials SSH Credentials for GitHub 05:54:16 > git merge d49a116a4400a5a79f2ee23114687d65ed5c637c # timeout=10 05:54:16 > git rev-parse HEAD^{commit} # timeout=10 05:54:16 > git config core.sparsecheckout # timeout=10 05:54:16 > git checkout -f 5b109625d938cff13fe970e511b54891feb2acdd # timeout=10 05:54:20 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 05:54:20 > git --version # timeout=10 05:54:20 > git --version # 'git version 2.24.3' 05:54:20 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:54:22 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:54:23 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:54:23 + sudo service docker restart 05:54:23 + true 05:54:23 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:54:25 provisioning config files... 05:54:25 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8436004986832013662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:54:26 ---> docker-login.sh 05:54:26 nexus3.edgexfoundry.org:10001 05:54:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:27 Configure a credential helper to remove this warning. See 05:54:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:27 05:54:27 Login Succeeded 05:54:27 nexus3.edgexfoundry.org:10002 05:54:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:27 Configure a credential helper to remove this warning. See 05:54:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:27 05:54:27 Login Succeeded 05:54:27 nexus3.edgexfoundry.org:10003 05:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:28 Configure a credential helper to remove this warning. See 05:54:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:28 05:54:28 Login Succeeded 05:54:28 nexus3.edgexfoundry.org:10004 05:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:28 Configure a credential helper to remove this warning. See 05:54:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:28 05:54:28 Login Succeeded 05:54:28 docker.io 05:54:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:30 Configure a credential helper to remove this warning. See 05:54:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:30 05:54:30 Login Succeeded 05:54:30 ---> docker-login.sh ends [Pipeline] } 05:54:30 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:54:30 ========================================================= 05:54:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:54:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:54:31 + 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 . 05:54:32 Sending build context to Docker daemon 519.2kB 05:54:32 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:54:32 Step 2/8 : FROM ${BASE} 05:54:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:54:32 188c0c94c7c5: Pulling fs layer 05:54:32 0ef7d3d256c8: Pulling fs layer 05:54:32 de9db76c5a1d: Pulling fs layer 05:54:32 bca2f99d35d6: Pulling fs layer 05:54:32 93359f2a8cfa: Pulling fs layer 05:54:32 7c6f9722023f: Pulling fs layer 05:54:32 a35cf1a2eb13: Pulling fs layer 05:54:32 bca2f99d35d6: Waiting 05:54:32 93359f2a8cfa: Waiting 05:54:32 7c6f9722023f: Waiting 05:54:32 a35cf1a2eb13: Waiting 05:54:32 de9db76c5a1d: Verifying Checksum 05:54:32 de9db76c5a1d: Download complete 05:54:32 0ef7d3d256c8: Verifying Checksum 05:54:32 0ef7d3d256c8: Download complete 05:54:32 93359f2a8cfa: Verifying Checksum 05:54:32 93359f2a8cfa: Download complete 05:54:32 7c6f9722023f: Verifying Checksum 05:54:32 7c6f9722023f: Download complete 05:54:32 188c0c94c7c5: Verifying Checksum 05:54:32 188c0c94c7c5: Download complete 05:54:33 188c0c94c7c5: Pull complete 05:54:33 0ef7d3d256c8: Pull complete 05:54:33 de9db76c5a1d: Pull complete 05:54:35 a35cf1a2eb13: Verifying Checksum 05:54:35 a35cf1a2eb13: Download complete 05:54:35 bca2f99d35d6: Verifying Checksum 05:54:35 bca2f99d35d6: Download complete 05:54:48 bca2f99d35d6: Pull complete 05:54:48 93359f2a8cfa: Pull complete 05:54:49 7c6f9722023f: Pull complete 05:54:55 a35cf1a2eb13: Pull complete 05:54:55 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:54:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:54:55 ---> a62c8e92a672 05:54:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 05:54:55 ---> Running in c3e49bbcbafd 05:54:56 Removing intermediate container c3e49bbcbafd 05:54:56 ---> f5176686cae7 05:54:56 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:54:56 ---> Running in 774001f38ecb 05:54:58 Removing intermediate container 774001f38ecb 05:54:58 ---> a30a4657cf82 05:54:58 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 05:54:59 ---> Running in 2a776d0f079d 05:55:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:55:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:55:02 (1/13) Installing libc-dev (0.7.2-r3) 05:55:02 (2/13) Installing libsodium (1.0.18-r0) 05:55:03 (3/13) Installing pkgconf (1.7.2-r0) 05:55:03 (4/13) Installing libsodium-dev (1.0.18-r0) 05:55:03 (5/13) Installing openssh-keygen (8.3_p1-r2) 05:55:03 (6/13) Installing libedit (20191231.3.1-r0) 05:55:03 (7/13) Installing openssh-client (8.3_p1-r2) 05:55:06 (8/13) Installing openssh-sftp-server (8.3_p1-r2) 05:55:06 (9/13) Installing openssh-server-common (8.3_p1-r2) 05:55:06 (10/13) Installing openssh-server (8.3_p1-r2) 05:55:06 (11/13) Installing openssh (8.3_p1-r2) 05:55:07 (12/13) Installing libzmq (4.3.3-r0) 05:55:07 (13/13) Installing zeromq-dev (4.3.3-r0) 05:55:07 Executing busybox-1.31.1-r19.trigger 05:55:07 OK: 173 MiB in 52 packages 05:55:09 Removing intermediate container 2a776d0f079d 05:55:09 ---> 375290b4b3ef 05:55:09 Step 6/8 : WORKDIR /device-virtual-go 05:55:09 ---> Running in 9f948a5eb219 05:55:09 Removing intermediate container 9f948a5eb219 05:55:09 ---> 4050b52ed2e3 05:55:09 Step 7/8 : COPY . . 05:55:10 ---> 915766312467 05:55:10 Step 8/8 : RUN go mod download 05:55:10 ---> Running in 742b5fcded6d 05:55:20 Running on prd-ubuntu18.04-docker-arm64-4c-16g-711 in /w/workspace/foundry_device-virtual-go_PR-187 [Pipeline] { [Pipeline] ws 05:55:20 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 05:55:26 using credential edgex-jenkins-ssh 05:55:26 Cloning the remote Git repository 05:55:26 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:55:27 > git init /w/workspace/device-virtual-go/1 # timeout=10 05:55:27 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:55:27 > git --version # timeout=10 05:55:27 > git --version # 'git version 2.17.1' 05:55:27 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:55:28 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:55:28 Merging remotes/origin/master commit d49a116a4400a5a79f2ee23114687d65ed5c637c into PR head commit 5b109625d938cff13fe970e511b54891feb2acdd 05:55:28 Merge succeeded, producing 5b109625d938cff13fe970e511b54891feb2acdd 05:55:28 Checking out Revision 5b109625d938cff13fe970e511b54891feb2acdd (PR-187) 05:55:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:55:28 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:55:28 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:55:28 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:55:28 > git config core.sparsecheckout # timeout=10 05:55:28 > git checkout -f 5b109625d938cff13fe970e511b54891feb2acdd # timeout=10 05:55:28 > git remote # timeout=10 05:55:28 > git config --get remote.origin.url # timeout=10 05:55:28 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:28 > git merge d49a116a4400a5a79f2ee23114687d65ed5c637c # timeout=10 05:55:28 > git rev-parse HEAD^{commit} # timeout=10 05:55:28 > git config core.sparsecheckout # timeout=10 05:55:28 > git checkout -f 5b109625d938cff13fe970e511b54891feb2acdd # timeout=10 05:55:33 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 05:55:33 > git --version # timeout=10 05:55:33 > git --version # 'git version 2.17.1' 05:55:33 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:55:34 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:55:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:55:35 + sudo service docker restart 05:55:35 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:55:38 provisioning config files... 05:55:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7822818354003693681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:55:38 ---> docker-login.sh 05:55:38 nexus3.edgexfoundry.org:10001 05:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:40 Configure a credential helper to remove this warning. See 05:55:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:40 05:55:40 Login Succeeded 05:55:40 nexus3.edgexfoundry.org:10002 05:55:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:40 Configure a credential helper to remove this warning. See 05:55:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:40 05:55:40 Login Succeeded 05:55:40 nexus3.edgexfoundry.org:10003 05:55:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:41 Configure a credential helper to remove this warning. See 05:55:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:41 05:55:41 Login Succeeded 05:55:41 nexus3.edgexfoundry.org:10004 05:55:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:42 Configure a credential helper to remove this warning. See 05:55:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:42 05:55:42 Login Succeeded 05:55:42 docker.io 05:55:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:42 Configure a credential helper to remove this warning. See 05:55:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:42 05:55:42 Login Succeeded 05:55:42 ---> docker-login.sh ends [Pipeline] } 05:55:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:55:43 ========================================================= 05:55:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:55:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:55:43 + 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 . 05:55:44 Sending build context to Docker daemon 518.1kB 05:55:44 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:55:44 Step 2/8 : FROM ${BASE} 05:55:44 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:55:44 5f621e34cdf4: Pulling fs layer 05:55:44 a4357932f1b6: Pulling fs layer 05:55:44 18c013af1878: Pulling fs layer 05:55:44 00ac8860ef70: Pulling fs layer 05:55:44 63d7cb157983: Pulling fs layer 05:55:44 b116817d02f9: Pulling fs layer 05:55:44 745a02a5169b: Pulling fs layer 05:55:44 00ac8860ef70: Waiting 05:55:44 63d7cb157983: Waiting 05:55:44 b116817d02f9: Waiting 05:55:44 745a02a5169b: Waiting 05:55:44 18c013af1878: Verifying Checksum 05:55:44 18c013af1878: Download complete 05:55:44 a4357932f1b6: Verifying Checksum 05:55:44 a4357932f1b6: Download complete 05:55:44 63d7cb157983: Verifying Checksum 05:55:44 63d7cb157983: Download complete 05:55:44 b116817d02f9: Verifying Checksum 05:55:44 b116817d02f9: Download complete 05:55:44 5f621e34cdf4: Verifying Checksum 05:55:44 5f621e34cdf4: Download complete 05:55:45 5f621e34cdf4: Pull complete 05:55:45 a4357932f1b6: Pull complete 05:55:46 18c013af1878: Pull complete 05:55:47 745a02a5169b: Verifying Checksum 05:55:47 745a02a5169b: Download complete 05:55:48 00ac8860ef70: Verifying Checksum 05:55:48 00ac8860ef70: Download complete 05:55:50 Removing intermediate container 742b5fcded6d 05:55:50 ---> 2fd922f7d34a 05:55:50 Successfully built 2fd922f7d34a 05:55:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:55:50 + docker inspect -f . ci-base-image-x86_64 05:55:51 . [Pipeline] withDockerContainer 05:55:51 prd-centos7-docker-4c-2g-707 does not seem to be running inside a container 05:55: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 ******** ci-base-image-x86_64 cat 05:55:52 $ docker top cb8dafa416bc7789277c4dc572e8be82d6a8d08e9c4260617036e6a7c08c3fb6 -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:53 + go version 05:55:53 go version go1.15.5 linux/amd64 [Pipeline] } 05:55:53 $ docker stop --time=1 cb8dafa416bc7789277c4dc572e8be82d6a8d08e9c4260617036e6a7c08c3fb6 05:55:56 $ docker rm -f cb8dafa416bc7789277c4dc572e8be82d6a8d08e9c4260617036e6a7c08c3fb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:55:57 + docker inspect -f . ci-base-image-x86_64 05:55:57 . [Pipeline] withDockerContainer 05:55:57 prd-centos7-docker-4c-2g-707 does not seem to be running inside a container 05:55:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:55:58 $ docker top 0b738b33a925766e9e0c7b5d9b75896b40315cea0d0ef5bf4fd8e7eaf6c6ddc0 -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:58 00ac8860ef70: Pull complete 05:55:58 63d7cb157983: Pull complete 05:55:58 b116817d02f9: Pull complete 05:55:59 + make test 05:55:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:56:02 745a02a5169b: Pull complete 05:56:02 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:56:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:56:02 ---> b7e6874047d6 05:56:02 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 05:56:03 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:56:05 ---> Running in c2d29bb32c91 05:56:05 Removing intermediate container c2d29bb32c91 05:56:05 ---> 6b5abe43cf23 05:56:05 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:56:05 ---> Running in b9e5f525ee2b 05:56:08 Removing intermediate container b9e5f525ee2b 05:56:08 ---> 5d046ee8661f 05:56:08 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 05:56:08 ---> Running in fd3124ad539f 05:56:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:56:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:56:10 (1/13) Installing libc-dev (0.7.2-r3) 05:56:10 (2/13) Installing libsodium (1.0.18-r0) 05:56:10 (3/13) Installing pkgconf (1.7.2-r0) 05:56:11 (4/13) Installing libsodium-dev (1.0.18-r0) 05:56:11 (5/13) Installing openssh-keygen (8.3_p1-r2) 05:56:11 (6/13) Installing libedit (20191231.3.1-r0) 05:56:11 (7/13) Installing openssh-client (8.3_p1-r2) 05:56:11 (8/13) Installing openssh-sftp-server (8.3_p1-r2) 05:56:11 (9/13) Installing openssh-server-common (8.3_p1-r2) 05:56:11 (10/13) Installing openssh-server (8.3_p1-r2) 05:56:12 (11/13) Installing openssh (8.3_p1-r2) 05:56:12 (12/13) Installing libzmq (4.3.3-r0) 05:56:12 (13/13) Installing zeromq-dev (4.3.3-r0) 05:56:12 Executing busybox-1.31.1-r19.trigger 05:56:12 OK: 149 MiB in 52 packages 05:56:14 Removing intermediate container fd3124ad539f 05:56:14 ---> 10e2d9b305d2 05:56:14 Step 6/8 : WORKDIR /device-virtual-go 05:56:14 ---> Running in 85b420cc9ba6 05:56:15 Removing intermediate container 85b420cc9ba6 05:56:15 ---> e80a0c22d9b5 05:56:15 Step 7/8 : COPY . . 05:56:16 ---> d33b1cf21cad 05:56:16 Step 8/8 : RUN go mod download 05:56:16 ---> Running in 6e1e7fe050e7 05:56:42 Removing intermediate container 6e1e7fe050e7 05:56:42 ---> 1f4fafc47d49 05:56:42 Successfully built 1f4fafc47d49 05:56:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:56:43 + docker inspect -f . ci-base-image-arm64 05:56:43 . [Pipeline] withDockerContainer 05:56:43 prd-ubuntu18.04-docker-arm64-4c-16g-711 does not seem to be running inside a container 05:56:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:56:45 $ docker top f6408ac0b056fc5ad3c825fac694938fd06953e5ae04476d870265525702d1b2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:56:46 + go version 05:56:46 go version go1.15.5 linux/arm64 [Pipeline] } 05:56:46 $ docker stop --time=1 f6408ac0b056fc5ad3c825fac694938fd06953e5ae04476d870265525702d1b2 05:56:48 $ docker rm -f f6408ac0b056fc5ad3c825fac694938fd06953e5ae04476d870265525702d1b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:56:49 + docker inspect -f . ci-base-image-arm64 05:56:49 . [Pipeline] withDockerContainer 05:56:50 prd-ubuntu18.04-docker-arm64-4c-16g-711 does not seem to be running inside a container 05:56: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 ******** ci-base-image-arm64 cat 05:56:51 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:56:51 $ docker top a43eb218bd7ec3262d88043d8328d0a1b49741807927ef8f2c608567653a720d -eo pid,comm [Pipeline] { [Pipeline] sh 05:56:53 + make test 05:56:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:56:54 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:56:54 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.653s coverage: 63.8% of statements 05:56:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:57:06 gofmt -l . 05:57:06 [ "`gofmt -l .`" = "" ] 05:57:06 ./bin/test-attribution-txt.sh 05:57:08 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:57:09 $ docker stop --time=1 0b738b33a925766e9e0c7b5d9b75896b40315cea0d0ef5bf4fd8e7eaf6c6ddc0 05:57:12 $ docker rm -f 0b738b33a925766e9e0c7b5d9b75896b40315cea0d0ef5bf4fd8e7eaf6c6ddc0 [Pipeline] // withDockerContainer [Pipeline] sh 05:57:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:57:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:57:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:57:15 + ls -al . 05:57:15 total 132 05:57:15 drwxrwxr-x. 7 jenkins jenkins 4096 Apr 19 05:57 . 05:57:15 drwxrwxr-x. 4 jenkins jenkins 28 Apr 19 05:54 .. 05:57:15 -rw-rw-r--. 1 jenkins jenkins 8039 Apr 19 05:54 Attribution.txt 05:57:15 drwxrwxr-x. 2 jenkins jenkins 64 Apr 19 05:54 bin 05:57:15 drwxrwxr-x. 3 jenkins jenkins 32 Apr 19 05:54 cmd 05:57:15 -rw-r--r--. 1 jenkins jenkins 47247 Apr 19 05:56 coverage.out 05:57:15 -rw-rw-r--. 1 jenkins jenkins 1905 Apr 19 05:54 Dockerfile 05:57:15 -rw-rw-r--. 1 jenkins jenkins 998 Apr 19 05:54 Dockerfile.build 05:57:15 drwxrwxr-x. 8 jenkins jenkins 179 Apr 19 05:54 .git 05:57:15 drwxrwxr-x. 2 jenkins jenkins 103 Apr 19 05:54 .github 05:57:15 -rw-rw-r--. 1 jenkins jenkins 277 Apr 19 05:54 .gitignore 05:57:15 -rw-r--r--. 1 jenkins jenkins 809 Apr 19 05:57 go.mod 05:57:15 -rw-r--r--. 1 jenkins jenkins 23363 Apr 19 05:57 go.sum 05:57:15 drwxrwxr-x. 3 jenkins jenkins 20 Apr 19 05:54 internal 05:57:15 -rw-rw-r--. 1 jenkins jenkins 660 Apr 19 05:54 Jenkinsfile 05:57:15 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 19 05:54 LICENSE 05:57:15 -rw-rw-r--. 1 jenkins jenkins 921 Apr 19 05:54 Makefile 05:57:15 -rw-rw-r--. 1 jenkins jenkins 918 Apr 19 05:54 README.md 05:57:15 -rw-rw-r--. 1 jenkins jenkins 5 Apr 19 05:52 VERSION 05:57:15 -rw-rw-r--. 1 jenkins jenkins 235 Apr 19 05:54 version.go [Pipeline] isUnix [Pipeline] sh 05:57:15 + 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=5b109625d938cff13fe970e511b54891feb2acdd --label arch=amd64 --label version=0.0.0 . 05:57:16 Sending build context to Docker daemon 591.4kB 05:57:16 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 05:57:16 Step 2/25 : FROM ${BASE} AS builder 05:57:16 ---> 2fd922f7d34a 05:57:16 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:57:16 ---> Running in 52d4bc177892 05:57:16 Removing intermediate container 52d4bc177892 05:57:16 ---> cfa9a389750c 05:57:16 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 05:57:16 ---> Running in 1dbc345e6643 05:57:17 Removing intermediate container 1dbc345e6643 05:57:17 ---> 723bd5cba4b1 05:57:17 Step 5/25 : WORKDIR /device-virtual-go 05:57:17 ---> Running in 449f155271bc 05:57:17 Removing intermediate container 449f155271bc 05:57:17 ---> d917b4bbca15 05:57:17 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:57:17 ---> Running in 16fc26848e31 05:57:20 Removing intermediate container 16fc26848e31 05:57:20 ---> cf4cd3c9f8c3 05:57:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:57:20 ---> Running in e87b30090c93 05:57:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:57:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:57:21 OK: 173 MiB in 52 packages 05:57:22 Removing intermediate container e87b30090c93 05:57:22 ---> 5a0e2e75ab66 05:57:22 Step 8/25 : COPY . . 05:57:23 ---> 98b63eae141c 05:57:23 Step 9/25 : RUN go mod download 05:57:24 ---> Running in c5e7554d8fff 05:57:26 Removing intermediate container c5e7554d8fff 05:57:26 ---> 1df17e14ee77 05:57:26 Step 10/25 : ARG MAKE='make build' 05:57:27 ---> Running in 66325cb09f5c 05:57:27 Removing intermediate container 66325cb09f5c 05:57:27 ---> bba909a5b943 05:57:27 Step 11/25 : RUN $MAKE 05:57:27 ---> Running in f0449037f4a6 05:57:28 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 05:57:51 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:57:56 ok github.com/edgexfoundry/device-virtual-go/internal/driver 2.935s coverage: 63.8% of statements 05:57:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:58:08 CGO_ENABLED=1 GO111MODULE=on go build ./... 05:58:09 gofmt -l . 05:58:09 [ "`gofmt -l .`" = "" ] 05:58:09 ./bin/test-attribution-txt.sh 05:58:10 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:58:10 $ docker stop --time=1 a43eb218bd7ec3262d88043d8328d0a1b49741807927ef8f2c608567653a720d 05:58:12 $ docker rm -f a43eb218bd7ec3262d88043d8328d0a1b49741807927ef8f2c608567653a720d [Pipeline] // withDockerContainer [Pipeline] sh 05:58:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:58:13 Warning: overwriting stash ‘coverage-report’ 05:58:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:58:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:58:15 + ls -al . 05:58:15 total 156 05:58:15 drwxrwxr-x 7 jenkins jenkins 4096 Apr 19 05:58 . 05:58:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 05:55 .. 05:58:15 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 05:55 .git 05:58:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 05:55 .github 05:58:15 -rw-rw-r-- 1 jenkins jenkins 277 Apr 19 05:55 .gitignore 05:58:15 -rw-rw-r-- 1 jenkins jenkins 8039 Apr 19 05:55 Attribution.txt 05:58:15 -rw-rw-r-- 1 jenkins jenkins 1905 Apr 19 05:55 Dockerfile 05:58:15 -rw-rw-r-- 1 jenkins jenkins 998 Apr 19 05:55 Dockerfile.build 05:58:15 -rw-rw-r-- 1 jenkins jenkins 660 Apr 19 05:55 Jenkinsfile 05:58:15 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 05:55 LICENSE 05:58:15 -rw-rw-r-- 1 jenkins jenkins 921 Apr 19 05:55 Makefile 05:58:15 -rw-rw-r-- 1 jenkins jenkins 918 Apr 19 05:55 README.md 05:58:15 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 05:52 VERSION 05:58:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 05:55 bin 05:58:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 05:55 cmd 05:58:15 -rw-r--r-- 1 jenkins jenkins 47247 Apr 19 05:57 coverage.out 05:58:15 -rw-r--r-- 1 jenkins jenkins 809 Apr 19 05:58 go.mod 05:58:15 -rw-r--r-- 1 jenkins jenkins 23363 Apr 19 05:58 go.sum 05:58:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 05:55 internal 05:58:15 -rw-rw-r-- 1 jenkins jenkins 235 Apr 19 05:55 version.go [Pipeline] isUnix [Pipeline] sh 05:58:15 + 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=5b109625d938cff13fe970e511b54891feb2acdd --label arch=arm64 --label version=0.0.0 . 05:58:16 Sending build context to Docker daemon 590.3kB 05:58:16 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 05:58:16 Step 2/25 : FROM ${BASE} AS builder 05:58:16 ---> 1f4fafc47d49 05:58:16 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:58:16 ---> Running in 9b67d88b8a88 05:58:17 Removing intermediate container 9b67d88b8a88 05:58:17 ---> d28fe8dfe025 05:58:17 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 05:58:17 ---> Running in 5be83f87110f 05:58:17 Removing intermediate container 5be83f87110f 05:58:17 ---> fad4027405fe 05:58:17 Step 5/25 : WORKDIR /device-virtual-go 05:58:18 ---> Running in eecec2a85ddb 05:58:18 Removing intermediate container eecec2a85ddb 05:58:18 ---> 3a29dc978906 05:58:18 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:58:18 ---> Running in 192d2f559893 05:58:21 Removing intermediate container 192d2f559893 05:58:21 ---> 9b1e6a4697bb 05:58:21 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:58:21 ---> Running in 81a5e78cb3c8 05:58:21 Removing intermediate container f0449037f4a6 05:58:21 ---> 0836399d79e4 05:58:21 Step 12/25 : FROM alpine:3.12 05:58:21 3.12: Pulling from library/alpine 05:58:21 339de151aab4: Pulling fs layer 05:58:21 339de151aab4: Download complete 05:58:21 339de151aab4: Pull complete 05:58:21 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:58:21 Status: Downloaded newer image for alpine:3.12 05:58:21 ---> 13621d1b12d4 05:58:21 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 05:58:21 ---> Running in e3bb1b12044d 05:58:21 Removing intermediate container e3bb1b12044d 05:58:21 ---> 2c7138d7586f 05:58:21 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:58:21 ---> Running in 3f8d5a4b6912 05:58:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:58:24 Removing intermediate container 3f8d5a4b6912 05:58:24 ---> dc7f6a4972fe 05:58:24 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 05:58:24 ---> Running in 0a828f37f66e 05:58:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:58:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:58:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:58:28 OK: 149 MiB in 52 packages 05:58:28 (1/6) Installing dumb-init (1.2.2-r1) 05:58:28 (2/6) Installing libgcc (9.3.0-r2) 05:58:28 (3/6) Installing libsodium (1.0.18-r0) 05:58:29 (4/6) Installing libstdc++ (9.3.0-r2) 05:58:29 Removing intermediate container 81a5e78cb3c8 05:58:29 ---> 4f5c260ae3ae 05:58:29 Step 8/25 : COPY . . 05:58:31 (5/6) Installing libzmq (4.3.3-r0) 05:58:31 ---> c9dd1affd8cc 05:58:31 Step 9/25 : RUN go mod download 05:58:31 ---> Running in 16b8912047bb 05:58:31 (6/6) Installing zeromq (4.3.3-r0) 05:58:31 Executing busybox-1.31.1-r20.trigger 05:58:31 OK: 8 MiB in 20 packages 05:58:32 Removing intermediate container 0a828f37f66e 05:58:32 ---> 9a0c11e5c9aa 05:58:32 Step 16/25 : WORKDIR / 05:58:32 ---> Running in 486e3f414b78 05:58:33 Removing intermediate container 486e3f414b78 05:58:33 ---> 1c644aba0cbc 05:58:33 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 05:58:34 ---> 6ffc76a2f7f9 05:58:34 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 05:58:35 ---> daa420859606 05:58:35 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 05:58:35 ---> c499e0d4c6f8 05:58:35 Step 20/25 : EXPOSE 49990 05:58:36 ---> Running in 425490a36e91 05:58:36 Removing intermediate container 16b8912047bb 05:58:36 ---> ec87fa0edfc1 05:58:36 Step 10/25 : ARG MAKE='make build' 05:58:36 ---> Running in 5f5b1c4b2848 05:58:36 Removing intermediate container 425490a36e91 05:58:36 ---> e287d2dfc26f 05:58:36 Step 21/25 : ENTRYPOINT ["/device-virtual"] 05:58:36 ---> Running in aa96fbf43ed4 05:58:36 Removing intermediate container 5f5b1c4b2848 05:58:36 ---> ee0a20e24867 05:58:36 Step 11/25 : RUN $MAKE 05:58:37 Removing intermediate container aa96fbf43ed4 05:58:37 ---> 1b9e34305c1d 05:58:37 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:58:37 ---> Running in 47b00876dd64 05:58:37 ---> Running in e6bbb591b259 05:58:37 Removing intermediate container 47b00876dd64 05:58:37 ---> 6af460a77980 05:58:37 Step 23/25 : LABEL arch=amd64 05:58:37 ---> Running in 6ece59021028 05:58: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 05:58:38 Removing intermediate container 6ece59021028 05:58:38 ---> b723556a0c20 05:58:38 Step 24/25 : LABEL git_sha=5b109625d938cff13fe970e511b54891feb2acdd 05:58:38 ---> Running in 8b293c7ee8df 05:58:38 Removing intermediate container 8b293c7ee8df 05:58:38 ---> 571abfddc012 05:58:38 Step 25/25 : LABEL version=0.0.0 05:58:38 ---> Running in 06d4437a5ce3 05:58:39 Removing intermediate container 06d4437a5ce3 05:58:39 ---> b53bea27a987 05:58:39 [Warning] One or more build-args [ARCH] were not consumed 05:58:39 Successfully built b53bea27a987 05:58:39 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 05:58:40 ---> job-cost.sh 05:58:40 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-vASg 05:59:06 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:59:25 CGO_ENABLED=1 GO111MODULE=on go build ./... 05:59:40 Removing intermediate container e6bbb591b259 05:59:40 ---> ae47179930c1 05:59:40 Step 12/25 : FROM alpine:3.12 05:59:40 3.12: Pulling from library/alpine 05:59:40 d2f70382dc9a: Pulling fs layer 05:59:40 d2f70382dc9a: Verifying Checksum 05:59:40 d2f70382dc9a: Download complete 05:59:40 d2f70382dc9a: Pull complete 05:59:40 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:59:40 Status: Downloaded newer image for alpine:3.12 05:59:40 ---> 9852663dfa18 05:59:40 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 05:59:40 ---> Running in 49869893eb84 05:59:41 Removing intermediate container 49869893eb84 05:59:41 ---> ee9ce3e5a21c 05:59:41 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:59:41 ---> Running in f7e8697251a2 05:59:44 Removing intermediate container f7e8697251a2 05:59:44 ---> a4e1e1685cd4 05:59:44 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 05:59:44 ---> Running in ec1fd4e3b141 05:59:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:59:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:59:47 (1/6) Installing dumb-init (1.2.2-r1) 05:59:47 (2/6) Installing libgcc (9.3.0-r2) 05:59:47 (3/6) Installing libsodium (1.0.18-r0) 05:59:47 (4/6) Installing libstdc++ (9.3.0-r2) 05:59:48 (5/6) Installing libzmq (4.3.3-r0) 05:59:48 (6/6) Installing zeromq (4.3.3-r0) 05:59:48 Executing busybox-1.31.1-r20.trigger 05:59:48 OK: 8 MiB in 20 packages 05:59:52 Removing intermediate container ec1fd4e3b141 05:59:52 ---> 185dac25d930 05:59:52 Step 16/25 : WORKDIR / 05:59:52 ---> Running in 21284990486b 05:59:53 Removing intermediate container 21284990486b 05:59:53 ---> 13d023b445bf 05:59:53 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 05:59:54 lf-activate-venv(): INFO: Adding /tmp/venv-vASg/bin to PATH 05:59:54 INFO: No Stack... 05:59:54 INFO: Retrieving Pricing Info for: v1-standard-2 05:59:54 INFO: Archiving Costs 05:59:54 ---> e3420cf51462 05:59:54 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [Pipeline] sh 05:59:54 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 05:59:54 + cut -d, -f6 05:59:54 ---> a6791a9c3423 05:59:54 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [Pipeline] lock 05:59:54 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-187-1-stack-cost] 05:59:54 Resource [jenkins-edgexfoundry-device-virtual-go-PR-187-1-stack-cost] did not exist. Created. 05:59:54 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-187-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:59:55 + echo total: 0.029999999329447746 [Pipeline] stash 05:59:55 Stashed 1 file(s) [Pipeline] } 05:59:55 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-187-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:59:56 ---> 353888227cc7 05:59:56 Step 20/25 : EXPOSE 49990 05:59:56 ---> Running in 37ff36de5490 05:59:57 Removing intermediate container 37ff36de5490 05:59:57 ---> d89453034018 05:59:57 Step 21/25 : ENTRYPOINT ["/device-virtual"] 05:59:57 ---> Running in 723e950e99e2 05:59:58 Removing intermediate container 723e950e99e2 05:59:58 ---> c57a5dff2705 05:59:58 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:59:58 ---> Running in 2b14911275da 06:00:00 Removing intermediate container 2b14911275da 06:00:00 ---> 60074848b03f 06:00:00 Step 23/25 : LABEL arch=arm64 06:00:00 ---> Running in 83d693a730d6 06:00:01 Removing intermediate container 83d693a730d6 06:00:01 ---> 4acc34863036 06:00:01 Step 24/25 : LABEL git_sha=5b109625d938cff13fe970e511b54891feb2acdd 06:00:01 ---> Running in c8d7db099d9a 06:00:02 Removing intermediate container c8d7db099d9a 06:00:02 ---> 5251b67afdec 06:00:02 Step 25/25 : LABEL version=0.0.0 06:00:02 ---> Running in 86865179f038 06:00:03 Removing intermediate container 86865179f038 06:00:03 ---> eb5954e33f45 06:00:03 [Warning] One or more build-args [ARCH] were not consumed 06:00:03 Successfully built eb5954e33f45 06:00:03 Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 06:00:04 ---> job-cost.sh 06:00:04 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-thEI 06:00:43 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:02:20 lf-activate-venv(): INFO: Adding /tmp/venv-thEI/bin to PATH 06:02:20 INFO: No Stack... 06:02:20 INFO: Retrieving Pricing Info for: lf-standard-4 06:02:20 INFO: Archiving Costs [Pipeline] sh 06:02:20 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 06:02:20 + cut -d, -f6 [Pipeline] lock 06:02:20 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-187-1-stack-cost] 06:02:21 Resource [jenkins-edgexfoundry-device-virtual-go-PR-187-1-stack-cost] did not exist. Created. 06:02:21 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-187-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:02:21 /w/workspace/device-virtual-go/1@tmp/durable-02c07ed6/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-02c07ed6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:02:21 + echo total: 0.20999999344348907 [Pipeline] stash 06:02:21 Warning: overwriting stash ‘stack-cost’ 06:02:22 Stashed 1 file(s) [Pipeline] } 06:02:22 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-187-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:02:23 provisioning config files... 06:02:23 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-187@tmp/config5357718071790725089tmp [Pipeline] { [Pipeline] sh 06:02:23 + set +x 06:02:23 + curl -s https://codecov.io/bash 06:02:23 + bash -s -- 06:02:23 06:02:23 _____ _ 06:02:23 / ____| | | 06:02:23 | | ___ __| | ___ ___ _____ __ 06:02:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:02:23 | |___| (_) | (_| | __/ (_| (_) \ V / 06:02:23 \_____\___/ \__,_|\___|\___\___/ \_/ 06:02:23 Bash-1.0.1 06:02:23 06:02:23 06:02:23 ==> git version 2.24.3 found 06:02:23 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 06:02:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:02:23 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:02:23 ==> Jenkins CI detected. 06:02:23 project root: . 06:02:23 --> token set from env 06:02:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:02:23 ==> Running gcov in . (disable via -X gcov) 06:02:23 ==> Python coveragepy not found 06:02:23 ==> Searching for coverage reports in: 06:02:23 + . 06:02:23 -> Found 1 reports 06:02:23 ==> Detecting git/mercurial file structure 06:02:23 ==> Reading reports 06:02:23 + ./coverage.out bytes=47247 06:02:23 ==> Appending adjustments 06:02:23 https://docs.codecov.io/docs/fixing-reports 06:02:23 + Found adjustments 06:02:23 ==> Gzipping contents 06:02:24 8.0K /tmp/codecov.9UaMsj.gz 06:02:24 ==> Uploading reports 06:02:24 url: https://codecov.io 06:02:24 query: branch=PR-187&commit=5b109625d938cff13fe970e511b54891feb2acdd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-187%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=187&job=&cmd_args= 06:02:24 -> Pinging Codecov 06:02:24 https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-187&commit=5b109625d938cff13fe970e511b54891feb2acdd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-187%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=187&job=&cmd_args= 06:02:24 -> Uploading to 06:02:24 https://storage.googleapis.com/codecov/v4/raw/2021-04-19/5E52B4B073DB2E39498172D8E973AA87/5b109625d938cff13fe970e511b54891feb2acdd/0ae704ff-3461-47a1-bb79-622ad4fb7c72.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210419T060224Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=db9bef9d2b21a40ed1c07971c22e8bb6079ea5894836a77a82420a8b3c673938 06:02:24 % Total % Received % Xferd Average Speed Time Time Time Current 06:02:24 Dload Upload Total Spent Left Speed 06:02:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5752 0 0 100 5752 0 13013 --:--:-- --:--:-- --:--:-- 13013 06:02:25 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/5b109625d938cff13fe970e511b54891feb2acdd [Pipeline] } 06:02:25 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:02:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:02:27 ---> package-listing.sh 06:02:27 ++ facter osfamily 06:02:27 ++ tr '[:upper:]' '[:lower:]' 06:02:27 + OS_FAMILY=redhat 06:02:27 + workspace=/w/workspace/foundry_device-virtual-go_PR-187 06:02:27 + START_PACKAGES=/tmp/packages_start.txt 06:02:27 + END_PACKAGES=/tmp/packages_end.txt 06:02:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:02:27 + PACKAGES=/tmp/packages_start.txt 06:02:27 + '[' /w/workspace/foundry_device-virtual-go_PR-187 ']' 06:02:27 + PACKAGES=/tmp/packages_end.txt 06:02:27 + case "${OS_FAMILY}" in 06:02:27 + rpm -qa 06:02:27 + sort 06:02:33 + '[' -f /tmp/packages_start.txt ']' 06:02:33 + '[' -f /tmp/packages_end.txt ']' 06:02:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:02:33 + '[' /w/workspace/foundry_device-virtual-go_PR-187 ']' 06:02:33 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-187/archives/ 06:02:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-187/archives/ [Pipeline] echo 06:02:33 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-187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:02:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:02:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:02:33 06:02:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:02:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:02:34 alpine: Pulling from edgex-lftools-log-publisher 06:02:34 df20fa9351a1: Pulling fs layer 06:02:34 36b3adc4ff6f: Pulling fs layer 06:02:34 8ad3a11d3b57: Pulling fs layer 06:02:34 46f8f816bc3b: Pulling fs layer 06:02:34 93b61091891f: Pulling fs layer 06:02:34 93b9cdb0e59b: Pulling fs layer 06:02:34 5e14af77c1be: Pulling fs layer 06:02:34 01666e4c0597: Pulling fs layer 06:02:34 aa168da1d23b: Pulling fs layer 06:02:34 46f8f816bc3b: Waiting 06:02:34 93b61091891f: Waiting 06:02:34 93b9cdb0e59b: Waiting 06:02:34 5e14af77c1be: Waiting 06:02:34 01666e4c0597: Waiting 06:02:34 aa168da1d23b: Waiting 06:02:34 36b3adc4ff6f: Verifying Checksum 06:02:34 36b3adc4ff6f: Download complete 06:02:34 46f8f816bc3b: Verifying Checksum 06:02:34 46f8f816bc3b: Download complete 06:02:34 93b61091891f: Download complete 06:02:34 df20fa9351a1: Verifying Checksum 06:02:34 93b9cdb0e59b: Verifying Checksum 06:02:34 93b9cdb0e59b: Download complete 06:02:34 5e14af77c1be: Verifying Checksum 06:02:34 5e14af77c1be: Download complete 06:02:34 01666e4c0597: Verifying Checksum 06:02:34 01666e4c0597: Download complete 06:02:34 8ad3a11d3b57: Verifying Checksum 06:02:34 8ad3a11d3b57: Download complete 06:02:35 df20fa9351a1: Pull complete 06:02:35 36b3adc4ff6f: Pull complete 06:02:36 8ad3a11d3b57: Pull complete 06:02:36 46f8f816bc3b: Pull complete 06:02:36 aa168da1d23b: Verifying Checksum 06:02:36 aa168da1d23b: Download complete 06:02:36 93b61091891f: Pull complete 06:02:36 93b9cdb0e59b: Pull complete 06:02:37 5e14af77c1be: Pull complete 06:02:37 01666e4c0597: Pull complete 06:02:45 aa168da1d23b: Pull complete 06:02:45 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:02:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:02:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:02:45 prd-centos7-docker-4c-2g-703 does not seem to be running inside a container 06:02:45 $ 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-187/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-187 -v /w/workspace/foundry_device-virtual-go_PR-187:/w/workspace/foundry_device-virtual-go_PR-187:rw,z -v /w/workspace/foundry_device-virtual-go_PR-187@tmp:/w/workspace/foundry_device-virtual-go_PR-187@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:10003/edgex-lftools-log-publisher:alpine cat 06:02:49 $ docker top f3b6060cc646e5c802a0540280a0e57809156611de9d2b34f4cb78b2cdb731e0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:50 + touch /tmp/pre-build-complete [Pipeline] sh 06:02:50 + mkdir -p /var/log/sa [Pipeline] sh 06:02:50 + ls /var/log/sa-host 06:02:50 + sadf -c /var/log/sa-host/sa19 06:02:50 file_magic: OK 06:02:50 HZ: Using current value: 100 06:02:50 file_header: OK 06:02:50 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:02:50 Statistics: 06:02:50 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:02:50 File successfully converted to sysstat format version 12.2.1 06:02:50 + sadf -c /var/log/sa-host/sa23 06:02:50 file_magic: OK 06:02:50 HZ: Using current value: 100 06:02:50 file_header: OK 06:02:50 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:02:50 Statistics: 06:02:50 Hnuu...uuuununununu... 06:02:50 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:02:50 provisioning config files... 06:02:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-187@tmp/config7563931976219790254tmp [Pipeline] { [Pipeline] echo 06:02:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:02:51 ---> create-netrc.sh [Pipeline] } 06:02:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:02:51 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:02:51 ---> python-tools-install.sh [Pipeline] echo 06:02:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:02:52 ---> sudo-logs.sh 06:02:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:02:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:02:52 ---> job-cost.sh 06:02:52 lf-activate-venv: SKIPPING 06:02:52 DEBUG: total: 0.20999999344348907 06:02:52 INFO: Retrieving Stack Cost... 06:02:53 INFO: Retrieving Pricing Info for: v1-standard-2 06:02:54 INFO: Archiving Costs [Pipeline] echo 06:02:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:02:54 ---> logs-deploy.sh 06:02:54 lf-activate-venv: SKIPPING 06:02:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-187/1 06:02:54 INFO: archiving workspace using pattern(s): 06:02:56 Archives upload complete. 06:02:56 INFO: archiving logs to Nexus