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 [2021-05-12T20:22:09.504Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-12T20:22:09.711Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-12T20:22:09.829Z] ========================================================= [2021-05-12T20:22:09.829Z] EdgeX Global Pipelines Version Info [2021-05-12T20:22:09.829Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:22:11.837Z] ------------------- [2021-05-12T20:22:11.838Z] stable info: [2021-05-12T20:22:11.838Z] ------------------- [2021-05-12T20:22:11.838Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-12T20:22:11.838Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T20:22:11.838Z] Message: update stable to v1.0.192 [2021-05-12T20:22:13.269Z] ------------------- [2021-05-12T20:22:13.269Z] experimental info: [2021-05-12T20:22:13.269Z] ------------------- [2021-05-12T20:22:13.269Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-12T20:22:13.269Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T20:22:13.269Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-12T20:22:13.517Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-12T20:22:13.609Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-12T20:22:13.686Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-12T20:22:13.748Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-12T20:22:13.813Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-12T20:22:13.890Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-12T20:22:13.961Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-12T20:22:14.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-12T20:22:14.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-12T20:22:14.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-12T20:22:14.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-12T20:22:14.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-05-12T20:22:14.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-12T20:22:14.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-12T20:22:14.414Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T20:22:14.476Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T20:22:14.529Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T20:22:14.580Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T20:22:14.638Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-12T20:22:14.690Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-12T20:22:14.751Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-12T20:22:14.815Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-12T20:22:14.873Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-12T20:22:14.933Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-12T20:22:14.990Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-12T20:22:15.047Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-12T20:22:15.103Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-205 [Pipeline] echo [2021-05-12T20:22:15.164Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-205 [Pipeline] echo [2021-05-12T20:22:15.231Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-205 [Pipeline] echo [2021-05-12T20:22:15.289Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8cf28ce433080062c780a274ebe3815a76362cd4 [Pipeline] echo [2021-05-12T20:22:15.346Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8cf28ce [Pipeline] echo [2021-05-12T20:22:15.397Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:22:15.550Z] provisioning config files... [2021-05-12T20:22:15.596Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-205@tmp/config6353535174267457961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:22:15.985Z] ---> docker-login.sh [2021-05-12T20:22:15.985Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:22:16.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:22:16.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:22:16.512Z] Configure a credential helper to remove this warning. See [2021-05-12T20:22:16.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:22:16.512Z] [2021-05-12T20:22:16.512Z] Login Succeeded [2021-05-12T20:22:16.512Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:22:16.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:22:16.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:22:16.512Z] Configure a credential helper to remove this warning. See [2021-05-12T20:22:16.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:22:16.512Z] [2021-05-12T20:22:16.512Z] Login Succeeded [2021-05-12T20:22:16.512Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:22:16.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:22:16.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:22:16.777Z] Configure a credential helper to remove this warning. See [2021-05-12T20:22:16.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:22:16.777Z] [2021-05-12T20:22:16.777Z] Login Succeeded [2021-05-12T20:22:16.777Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:22:17.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:22:17.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:22:17.039Z] Configure a credential helper to remove this warning. See [2021-05-12T20:22:17.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:22:17.039Z] [2021-05-12T20:22:17.039Z] Login Succeeded [2021-05-12T20:22:17.039Z] docker.io [2021-05-12T20:22:17.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:22:17.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:22:17.614Z] Configure a credential helper to remove this warning. See [2021-05-12T20:22:17.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:22:17.614Z] [2021-05-12T20:22:17.614Z] Login Succeeded [2021-05-12T20:22:17.614Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:22:17.642Z] 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 [2021-05-12T20:22:18.354Z] + git log --format=format:%s -1 8cf28ce433080062c780a274ebe3815a76362cd4 [Pipeline] echo [2021-05-12T20:22:18.451Z] GIT_COMMIT: 8cf28ce433080062c780a274ebe3815a76362cd4, Commit Message: fix(build): update Dockerfile* to go 1.16 [Pipeline] echo [2021-05-12T20:22:18.487Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:22:19.491Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:22:19.491Z] [2021-05-12T20:22:19.491Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:22:19.870Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:22:19.870Z] latest: Pulling from edgex-devops/git-semver [2021-05-12T20:22:19.870Z] 31603596830f: Pulling fs layer [2021-05-12T20:22:19.870Z] 54011a49482f: Pulling fs layer [2021-05-12T20:22:19.870Z] a6820b24f6d8: Pulling fs layer [2021-05-12T20:22:19.870Z] f581987b2513: Pulling fs layer [2021-05-12T20:22:19.870Z] f581987b2513: Waiting [2021-05-12T20:22:19.870Z] 54011a49482f: Verifying Checksum [2021-05-12T20:22:19.870Z] 54011a49482f: Download complete [2021-05-12T20:22:20.143Z] 31603596830f: Verifying Checksum [2021-05-12T20:22:20.143Z] 31603596830f: Download complete [2021-05-12T20:22:20.143Z] a6820b24f6d8: Verifying Checksum [2021-05-12T20:22:20.143Z] a6820b24f6d8: Download complete [2021-05-12T20:22:20.143Z] f581987b2513: Verifying Checksum [2021-05-12T20:22:20.143Z] f581987b2513: Download complete [2021-05-12T20:22:20.415Z] 31603596830f: Pull complete [2021-05-12T20:22:20.680Z] 54011a49482f: Pull complete [2021-05-12T20:22:21.637Z] a6820b24f6d8: Pull complete [2021-05-12T20:22:21.637Z] f581987b2513: Pull complete [2021-05-12T20:22:21.637Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-12T20:22:21.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:22:21.637Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-12T20:22:21.793Z] prd-centos7-docker-4c-2g-4843 does not seem to be running inside a container [2021-05-12T20:22:21.853Z] $ 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 [2021-05-12T20:22:24.143Z] $ docker top 63a9e8755d09932f994d28877d9403e7982426ea4859a73365c20920c9923c71 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T20:22:24.449Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:22:24.449Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:22:24.717Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:22:24.723Z] $ docker exec 63a9e8755d09932f994d28877d9403e7982426ea4859a73365c20920c9923c71 ssh-agent [2021-05-12T20:22:24.923Z] SSH_AUTH_SOCK=/tmp/ssh-TJrY9BsSzJbz/agent.11 [2021-05-12T20:22:24.923Z] SSH_AGENT_PID=16 [2021-05-12T20:22:24.943Z] Running ssh-add (command line suppressed) [2021-05-12T20:22:25.083Z] 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) [2021-05-12T20:22:25.145Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:22:25.510Z] + git tag --points-at HEAD [Pipeline] } [2021-05-12T20:22:25.542Z] $ docker exec --env ******** --env ******** 63a9e8755d09932f994d28877d9403e7982426ea4859a73365c20920c9923c71 ssh-agent -k [2021-05-12T20:22:25.677Z] unset SSH_AUTH_SOCK; [2021-05-12T20:22:25.677Z] unset SSH_AGENT_PID; [2021-05-12T20:22:25.677Z] echo Agent pid 16 killed; [2021-05-12T20:22:25.741Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-12T20:22:25.828Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:22:25.828Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:22:26.012Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:22:26.017Z] $ docker exec 63a9e8755d09932f994d28877d9403e7982426ea4859a73365c20920c9923c71 ssh-agent [2021-05-12T20:22:26.192Z] SSH_AUTH_SOCK=/tmp/ssh-peyF4aP6M4GE/agent.45 [2021-05-12T20:22:26.192Z] SSH_AGENT_PID=50 [2021-05-12T20:22:26.200Z] Running ssh-add (command line suppressed) [2021-05-12T20:22:26.327Z] 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) [2021-05-12T20:22:26.385Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:22:26.727Z] + git semver init [2021-05-12T20:22:26.727Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T20:22:26.727Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-205/.git [2021-05-12T20:22:26.727Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-205 [2021-05-12T20:22:26.727Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T20:22:26.727Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T20:22:26.727Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T20:22:26.727Z] # $SEMVER_BRANCH = PR-205 [2021-05-12T20:22:26.727Z] # $SEMVER_TEMP = /tmp/semver-352251357 [2021-05-12T20:22:26.727Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-12T20:22:28.119Z] # '/tmp/semver-352251357' -> '/w/workspace/foundry_device-virtual-go_PR-205/.semver' [2021-05-12T20:22:28.119Z] # -> Force: false [2021-05-12T20:22:28.119Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-205/.semver [Pipeline] } [2021-05-12T20:22:28.140Z] $ docker exec --env ******** --env ******** 63a9e8755d09932f994d28877d9403e7982426ea4859a73365c20920c9923c71 ssh-agent -k [2021-05-12T20:22:28.269Z] unset SSH_AUTH_SOCK; [2021-05-12T20:22:28.270Z] unset SSH_AGENT_PID; [2021-05-12T20:22:28.270Z] echo Agent pid 50 killed; [2021-05-12T20:22:28.335Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T20:22:28.788Z] + git semver [Pipeline] } [2021-05-12T20:22:28.830Z] $ docker stop --time=1 63a9e8755d09932f994d28877d9403e7982426ea4859a73365c20920c9923c71 [2021-05-12T20:22:30.284Z] $ docker rm -f 63a9e8755d09932f994d28877d9403e7982426ea4859a73365c20920c9923c71 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:22:30.745Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-12T20:22:31.183Z] Stashed 1 file(s) [Pipeline] echo [2021-05-12T20:22:31.206Z] [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 [2021-05-12T20:22:46.711Z] Still waiting to schedule task [2021-05-12T20:22:46.711Z] ‘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’ [2021-05-12T20:22:46.737Z] Still waiting to schedule task [2021-05-12T20:22:46.737Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-12T20:24:16.101Z] Running on prd-centos7-docker-4c-2g-4850 in /w/workspace/foundry_device-virtual-go_PR-205 [Pipeline] { [Pipeline] ws [2021-05-12T20:24:16.178Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-05-12T20:24:23.551Z] using credential edgex-jenkins-ssh [2021-05-12T20:24:23.570Z] Cloning the remote Git repository [2021-05-12T20:24:23.606Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:24:23.691Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-05-12T20:24:23.762Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:24:23.762Z] > git --version # timeout=10 [2021-05-12T20:24:23.769Z] > git --version # 'git version 2.24.3' [2021-05-12T20:24:23.769Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:24:23.814Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:24:25.350Z] Merging remotes/origin/master commit 969908695d9457bace8f724c7874c2a817cac062 into PR head commit 8cf28ce433080062c780a274ebe3815a76362cd4 [2021-05-12T20:24:24.844Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-12T20:24:24.855Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:24:24.866Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-12T20:24:24.881Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:24:24.882Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:24:24.899Z] > 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 [2021-05-12T20:24:25.366Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:24:25.381Z] > git checkout -f 8cf28ce433080062c780a274ebe3815a76362cd4 # timeout=10 [2021-05-12T20:24:25.426Z] > git remote # timeout=10 [2021-05-12T20:24:25.479Z] Merge succeeded, producing 8cf28ce433080062c780a274ebe3815a76362cd4 [2021-05-12T20:24:25.480Z] Checking out Revision 8cf28ce433080062c780a274ebe3815a76362cd4 (PR-205) [2021-05-12T20:24:25.439Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T20:24:25.448Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:24:25.455Z] > git merge 969908695d9457bace8f724c7874c2a817cac062 # timeout=10 [2021-05-12T20:24:25.469Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T20:24:25.485Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:24:25.496Z] > git checkout -f 8cf28ce433080062c780a274ebe3815a76362cd4 # timeout=10 [2021-05-12T20:24:29.707Z] Commit message: "fix(build): update Dockerfile* to go 1.16" [2021-05-12T20:24:29.749Z] > git --version # timeout=10 [2021-05-12T20:24:29.768Z] > git --version # 'git version 2.24.3' [2021-05-12T20:24:29.810Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:24:31.479Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:24:31.906Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:24:32.261Z] + sudo service docker restart [2021-05-12T20:24:32.261Z] + true [2021-05-12T20:24:32.261Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:24:33.828Z] provisioning config files... [2021-05-12T20:24:33.877Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5714083183100499150tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:24:34.285Z] ---> docker-login.sh [2021-05-12T20:24:34.285Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:24:34.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:24:34.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:24:34.875Z] Configure a credential helper to remove this warning. See [2021-05-12T20:24:34.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:24:34.875Z] [2021-05-12T20:24:34.875Z] Login Succeeded [2021-05-12T20:24:34.875Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:24:35.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:24:35.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:24:35.186Z] Configure a credential helper to remove this warning. See [2021-05-12T20:24:35.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:24:35.186Z] [2021-05-12T20:24:35.186Z] Login Succeeded [2021-05-12T20:24:35.186Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:24:35.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:24:35.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:24:35.781Z] Configure a credential helper to remove this warning. See [2021-05-12T20:24:35.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:24:35.781Z] [2021-05-12T20:24:35.781Z] Login Succeeded [2021-05-12T20:24:35.781Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:24:36.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:24:36.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:24:36.377Z] Configure a credential helper to remove this warning. See [2021-05-12T20:24:36.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:24:36.377Z] [2021-05-12T20:24:36.377Z] Login Succeeded [2021-05-12T20:24:36.377Z] docker.io [2021-05-12T20:24:36.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:24:36.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:24:36.909Z] Configure a credential helper to remove this warning. See [2021-05-12T20:24:36.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:24:36.909Z] [2021-05-12T20:24:36.909Z] Login Succeeded [2021-05-12T20:24:36.909Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:24:36.932Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T20:24:37.281Z] ========================================================= [2021-05-12T20:24:37.281Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-12T20:24:37.281Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:24:37.688Z] + 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 . [2021-05-12T20:24:37.995Z] Sending build context to Docker daemon 8.586MB [2021-05-12T20:24:37.995Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:24:37.995Z] Step 2/8 : FROM ${BASE} [2021-05-12T20:24:37.995Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-12T20:24:37.995Z] 540db60ca938: Pulling fs layer [2021-05-12T20:24:37.995Z] adcc1eea9eea: Pulling fs layer [2021-05-12T20:24:37.995Z] 4c4ab2625f07: Pulling fs layer [2021-05-12T20:24:37.995Z] 0510c868ecb4: Pulling fs layer [2021-05-12T20:24:37.995Z] afea3b2eda06: Pulling fs layer [2021-05-12T20:24:37.995Z] 7809a108b3ef: Pulling fs layer [2021-05-12T20:24:37.995Z] f706445af74f: Pulling fs layer [2021-05-12T20:24:37.995Z] 0510c868ecb4: Waiting [2021-05-12T20:24:37.995Z] afea3b2eda06: Waiting [2021-05-12T20:24:37.995Z] f706445af74f: Waiting [2021-05-12T20:24:37.995Z] 4c4ab2625f07: Verifying Checksum [2021-05-12T20:24:37.995Z] 4c4ab2625f07: Download complete [2021-05-12T20:24:37.995Z] adcc1eea9eea: Download complete [2021-05-12T20:24:37.995Z] afea3b2eda06: Verifying Checksum [2021-05-12T20:24:37.995Z] afea3b2eda06: Download complete [2021-05-12T20:24:38.309Z] 7809a108b3ef: Verifying Checksum [2021-05-12T20:24:38.309Z] 7809a108b3ef: Download complete [2021-05-12T20:24:38.309Z] 540db60ca938: Verifying Checksum [2021-05-12T20:24:38.309Z] 540db60ca938: Download complete [2021-05-12T20:24:38.587Z] 540db60ca938: Pull complete [2021-05-12T20:24:38.864Z] adcc1eea9eea: Pull complete [2021-05-12T20:24:39.152Z] 4c4ab2625f07: Pull complete [2021-05-12T20:24:41.177Z] f706445af74f: Verifying Checksum [2021-05-12T20:24:41.177Z] f706445af74f: Download complete [2021-05-12T20:24:42.176Z] 0510c868ecb4: Verifying Checksum [2021-05-12T20:24:42.176Z] 0510c868ecb4: Download complete [2021-05-12T20:24:52.436Z] 0510c868ecb4: Pull complete [2021-05-12T20:24:52.731Z] afea3b2eda06: Pull complete [2021-05-12T20:24:53.069Z] 7809a108b3ef: Pull complete [2021-05-12T20:25:00.007Z] f706445af74f: Pull complete [2021-05-12T20:25:00.007Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-12T20:25:00.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-12T20:25:00.007Z] ---> b068be0155e3 [2021-05-12T20:25:00.007Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-12T20:25:00.007Z] ---> Running in 6a951e50867b [2021-05-12T20:25:00.622Z] Removing intermediate container 6a951e50867b [2021-05-12T20:25:00.622Z] ---> 916ee8dc88d5 [2021-05-12T20:25:00.622Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:25:00.622Z] ---> Running in 3bb95e6d4150 [2021-05-12T20:25:02.725Z] Removing intermediate container 3bb95e6d4150 [2021-05-12T20:25:02.725Z] ---> 5539f2570171 [2021-05-12T20:25:02.725Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-12T20:25:03.014Z] ---> Running in f671dd432271 [2021-05-12T20:25:04.473Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:25:05.454Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:25:06.049Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-12T20:25:06.049Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-12T20:25:06.049Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-12T20:25:06.317Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-12T20:25:06.317Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-12T20:25:06.317Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-12T20:25:06.585Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-12T20:25:06.849Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-12T20:25:06.849Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-12T20:25:06.849Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-12T20:25:07.115Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-12T20:25:07.115Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-12T20:25:07.379Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-12T20:25:07.379Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T20:25:07.379Z] OK: 156 MiB in 53 packages [2021-05-12T20:25:08.794Z] Removing intermediate container f671dd432271 [2021-05-12T20:25:08.794Z] ---> 28d8239fccfc [2021-05-12T20:25:08.794Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-12T20:25:08.794Z] ---> Running in d13b70c5257b [2021-05-12T20:25:09.077Z] Removing intermediate container d13b70c5257b [2021-05-12T20:25:09.077Z] ---> 6b5e053fdfae [2021-05-12T20:25:09.077Z] Step 7/8 : COPY . . [2021-05-12T20:25:10.569Z] ---> 0136f4fbd326 [2021-05-12T20:25:10.570Z] Step 8/8 : RUN go mod download [2021-05-12T20:25:10.570Z] ---> Running in 375fa7654310 [2021-05-12T20:25:49.601Z] Removing intermediate container 375fa7654310 [2021-05-12T20:25:49.601Z] ---> 410df60d5892 [2021-05-12T20:25:49.601Z] Successfully built 410df60d5892 [2021-05-12T20:25:49.601Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:25:49.984Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T20:25:50.261Z] . [Pipeline] withDockerContainer [2021-05-12T20:25:50.424Z] prd-centos7-docker-4c-2g-4850 does not seem to be running inside a container [2021-05-12T20:25:50.545Z] $ 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 [2021-05-12T20:25:51.779Z] $ docker top ce47d53a8d9293f9f3ad5bf3ef9d5c8c852f5e03fcdead49d850b3a71bb13f54 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:25:52.340Z] + go version [2021-05-12T20:25:52.340Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-12T20:25:52.373Z] $ docker stop --time=1 ce47d53a8d9293f9f3ad5bf3ef9d5c8c852f5e03fcdead49d850b3a71bb13f54 [2021-05-12T20:25:54.043Z] $ docker rm -f ce47d53a8d9293f9f3ad5bf3ef9d5c8c852f5e03fcdead49d850b3a71bb13f54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:25:54.942Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T20:25:54.942Z] . [Pipeline] withDockerContainer [2021-05-12T20:25:55.123Z] prd-centos7-docker-4c-2g-4850 does not seem to be running inside a container [2021-05-12T20:25:55.250Z] $ 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 [2021-05-12T20:25:56.337Z] $ docker top 1b3893817eb679cc7083e286869aa01d2b7c199a55eb9c4842811dfa38bcfb91 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:25:56.947Z] + go mod tidy [Pipeline] sh [2021-05-12T20:25:59.266Z] + make test [2021-05-12T20:25:59.266Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-12T20:26:00.703Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-12T20:26:59.058Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-12T20:26:59.058Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.800s coverage: 63.8% of statements [2021-05-12T20:26:59.760Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T20:27:18.399Z] gofmt -l . [2021-05-12T20:27:18.399Z] [ "`gofmt -l .`" = "" ] [2021-05-12T20:27:18.399Z] ./bin/test-attribution-txt.sh [2021-05-12T20:27:20.560Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-12T20:27:20.613Z] $ docker stop --time=1 1b3893817eb679cc7083e286869aa01d2b7c199a55eb9c4842811dfa38bcfb91 [2021-05-12T20:27:22.794Z] $ docker rm -f 1b3893817eb679cc7083e286869aa01d2b7c199a55eb9c4842811dfa38bcfb91 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:27:24.600Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T20:27:25.170Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-12T20:27:26.308Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T20:27:26.661Z] + ls -al . [2021-05-12T20:27:26.661Z] total 132 [2021-05-12T20:27:26.661Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 12 20:27 . [2021-05-12T20:27:26.661Z] drwxrwxr-x. 4 jenkins jenkins 28 May 12 20:24 .. [2021-05-12T20:27:26.661Z] -rw-rw-r--. 1 jenkins jenkins 8153 May 12 20:24 Attribution.txt [2021-05-12T20:27:26.661Z] drwxrwxr-x. 2 jenkins jenkins 64 May 12 20:24 bin [2021-05-12T20:27:26.661Z] drwxrwxr-x. 3 jenkins jenkins 32 May 12 20:24 cmd [2021-05-12T20:27:26.661Z] -rw-r--r--. 1 jenkins jenkins 47247 May 12 20:26 coverage.out [2021-05-12T20:27:26.661Z] -rw-rw-r--. 1 jenkins jenkins 1905 May 12 20:24 Dockerfile [2021-05-12T20:27:26.661Z] -rw-rw-r--. 1 jenkins jenkins 998 May 12 20:24 Dockerfile.build [2021-05-12T20:27:26.661Z] drwxrwxr-x. 8 jenkins jenkins 179 May 12 20:24 .git [2021-05-12T20:27:26.661Z] drwxrwxr-x. 2 jenkins jenkins 103 May 12 20:24 .github [2021-05-12T20:27:26.661Z] -rw-rw-r--. 1 jenkins jenkins 277 May 12 20:24 .gitignore [2021-05-12T20:27:26.661Z] -rw-r--r--. 1 jenkins jenkins 809 May 12 20:27 go.mod [2021-05-12T20:27:26.661Z] -rw-r--r--. 1 jenkins jenkins 23265 May 12 20:25 go.sum [2021-05-12T20:27:26.661Z] drwxrwxr-x. 3 jenkins jenkins 20 May 12 20:24 internal [2021-05-12T20:27:26.661Z] -rw-rw-r--. 1 jenkins jenkins 660 May 12 20:24 Jenkinsfile [2021-05-12T20:27:26.661Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 12 20:24 LICENSE [2021-05-12T20:27:26.661Z] -rw-rw-r--. 1 jenkins jenkins 901 May 12 20:24 Makefile [2021-05-12T20:27:26.661Z] -rw-rw-r--. 1 jenkins jenkins 2745 May 12 20:24 README.md [2021-05-12T20:27:26.661Z] -rw-rw-r--. 1 jenkins jenkins 5 May 12 20:22 VERSION [2021-05-12T20:27:26.661Z] -rw-rw-r--. 1 jenkins jenkins 235 May 12 20:24 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:27:27.044Z] + 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 . [2021-05-12T20:27:27.313Z] Sending build context to Docker daemon 8.658MB [2021-05-12T20:27:27.313Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:27:27.313Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-12T20:27:27.313Z] ---> 410df60d5892 [2021-05-12T20:27:27.313Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T20:27:27.578Z] ---> Running in 6e54f83b31c5 [2021-05-12T20:27:27.847Z] Removing intermediate container 6e54f83b31c5 [2021-05-12T20:27:27.847Z] ---> 007e13e028a6 [2021-05-12T20:27:27.847Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:27:27.847Z] ---> Running in 66d3dd930024 [2021-05-12T20:27:28.128Z] Removing intermediate container 66d3dd930024 [2021-05-12T20:27:28.128Z] ---> f799eeb54064 [2021-05-12T20:27:28.128Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-12T20:27:28.128Z] ---> Running in 901cf4c16b9b [2021-05-12T20:27:28.412Z] Removing intermediate container 901cf4c16b9b [2021-05-12T20:27:28.412Z] ---> 451ee6c15195 [2021-05-12T20:27:28.412Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:27:28.412Z] ---> Running in bedd34e62fe9 [2021-05-12T20:27:30.436Z] Removing intermediate container bedd34e62fe9 [2021-05-12T20:27:30.436Z] ---> 3e88c36544c4 [2021-05-12T20:27:30.436Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:27:30.704Z] ---> Running in 98b281f48a98 [2021-05-12T20:27:31.298Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:27:32.253Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:27:32.845Z] OK: 156 MiB in 53 packages [2021-05-12T20:27:33.454Z] Removing intermediate container 98b281f48a98 [2021-05-12T20:27:33.454Z] ---> 54f76a0b148f [2021-05-12T20:27:33.454Z] Step 8/25 : COPY . . [2021-05-12T20:27:34.431Z] ---> b117d3df19ad [2021-05-12T20:27:34.432Z] Step 9/25 : RUN go mod download [2021-05-12T20:27:34.432Z] ---> Running in 2dc4351bb6e1 [2021-05-12T20:27:36.491Z] Removing intermediate container 2dc4351bb6e1 [2021-05-12T20:27:36.491Z] ---> 472a9371629e [2021-05-12T20:27:36.491Z] Step 10/25 : ARG MAKE='make build' [2021-05-12T20:27:36.491Z] ---> Running in b998b2169900 [2021-05-12T20:27:36.798Z] Removing intermediate container b998b2169900 [2021-05-12T20:27:36.798Z] ---> ad34eee98711 [2021-05-12T20:27:36.798Z] Step 11/25 : RUN $MAKE [2021-05-12T20:27:37.226Z] ---> Running in 7836787af48c [2021-05-12T20:27:38.242Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-05-12T20:28:10.903Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-12T20:28:17.684Z] Removing intermediate container 7836787af48c [2021-05-12T20:28:17.684Z] ---> 723144358ef3 [2021-05-12T20:28:17.684Z] Step 12/25 : FROM alpine:3.12 [2021-05-12T20:28:17.684Z] 3.12: Pulling from library/alpine [2021-05-12T20:28:17.684Z] 339de151aab4: Pulling fs layer [2021-05-12T20:28:17.684Z] 339de151aab4: Verifying Checksum [2021-05-12T20:28:17.684Z] 339de151aab4: Download complete [2021-05-12T20:28:17.970Z] 339de151aab4: Pull complete [2021-05-12T20:28:17.970Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T20:28:17.970Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T20:28:17.970Z] ---> 13621d1b12d4 [2021-05-12T20:28:17.970Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-12T20:28:18.239Z] ---> Running in d641f07ad11f [2021-05-12T20:28:18.557Z] Removing intermediate container d641f07ad11f [2021-05-12T20:28:18.557Z] ---> ce768fb30704 [2021-05-12T20:28:18.557Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:28:18.557Z] ---> Running in 737a7f72cd1f [2021-05-12T20:28:21.314Z] Removing intermediate container 737a7f72cd1f [2021-05-12T20:28:21.314Z] ---> 212fc5e6d93c [2021-05-12T20:28:21.314Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-12T20:28:21.314Z] ---> Running in 56ac214cf154 [2021-05-12T20:28:22.303Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:28:23.285Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:28:23.557Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-12T20:28:23.822Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-12T20:28:23.822Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-12T20:28:23.822Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-12T20:28:24.780Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-12T20:28:24.780Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-12T20:28:24.780Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T20:28:24.780Z] OK: 8 MiB in 20 packages [2021-05-12T20:28:25.761Z] Removing intermediate container 56ac214cf154 [2021-05-12T20:28:25.761Z] ---> 0765e205239e [2021-05-12T20:28:25.761Z] Step 16/25 : WORKDIR / [2021-05-12T20:28:25.761Z] ---> Running in eb69dd2e6c70 [2021-05-12T20:28:25.761Z] Removing intermediate container eb69dd2e6c70 [2021-05-12T20:28:25.761Z] ---> ce63875fe96e [2021-05-12T20:28:25.761Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-12T20:28:26.344Z] ---> 0d510f883b62 [2021-05-12T20:28:26.344Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-12T20:28:26.613Z] ---> ab639139e890 [2021-05-12T20:28:26.613Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-12T20:28:27.607Z] ---> 3d7bd950c257 [2021-05-12T20:28:27.607Z] Step 20/25 : EXPOSE 49990 [2021-05-12T20:28:27.607Z] ---> Running in b38409bbd0a5 [2021-05-12T20:28:27.875Z] Removing intermediate container b38409bbd0a5 [2021-05-12T20:28:27.875Z] ---> c97fb1e1d264 [2021-05-12T20:28:27.875Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-12T20:28:28.147Z] ---> Running in b36a7d4d95d3 [2021-05-12T20:28:28.147Z] Removing intermediate container b36a7d4d95d3 [2021-05-12T20:28:28.147Z] ---> 6fae40090f7a [2021-05-12T20:28:28.147Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-12T20:28:28.425Z] ---> Running in 3410785c1adc [2021-05-12T20:28:28.695Z] Removing intermediate container 3410785c1adc [2021-05-12T20:28:28.695Z] ---> 2b8b8ba7d162 [2021-05-12T20:28:28.695Z] Step 23/25 : LABEL arch=amd64 [2021-05-12T20:28:28.695Z] ---> Running in e48a3b5e39d2 [2021-05-12T20:28:28.969Z] Removing intermediate container e48a3b5e39d2 [2021-05-12T20:28:28.969Z] ---> 4300b21f0804 [2021-05-12T20:28:28.969Z] Step 24/25 : LABEL git_sha=8cf28ce433080062c780a274ebe3815a76362cd4 [2021-05-12T20:28:28.969Z] ---> Running in 4e5bcd816c89 [2021-05-12T20:28:29.240Z] Removing intermediate container 4e5bcd816c89 [2021-05-12T20:28:29.241Z] ---> dbc4615c8b26 [2021-05-12T20:28:29.241Z] Step 25/25 : LABEL version=0.0.0 [2021-05-12T20:28:29.241Z] ---> Running in 0152f159955c [2021-05-12T20:28:29.522Z] Removing intermediate container 0152f159955c [2021-05-12T20:28:29.522Z] ---> 2093182c9970 [2021-05-12T20:28:29.522Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T20:28:29.522Z] Successfully built 2093182c9970 [2021-05-12T20:28:29.522Z] 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 [2021-05-12T20:28:30.515Z] ---> job-cost.sh [2021-05-12T20:28:30.515Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-3whf [2021-05-12T20:29:03.023Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T20:29:05.516Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4854 in /w/workspace/foundry_device-virtual-go_PR-205 [Pipeline] { [Pipeline] ws [2021-05-12T20:29:05.578Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-05-12T20:29:12.117Z] using credential edgex-jenkins-ssh [2021-05-12T20:29:12.139Z] Cloning the remote Git repository [2021-05-12T20:29:12.200Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:29:12.330Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-05-12T20:29:12.407Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:29:12.408Z] > git --version # timeout=10 [2021-05-12T20:29:12.425Z] > git --version # 'git version 2.17.1' [2021-05-12T20:29:12.427Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:29:12.489Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:29:14.328Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-12T20:29:14.348Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:29:14.372Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-12T20:29:14.405Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:29:14.406Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:29:14.421Z] > 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 [2021-05-12T20:29:14.975Z] Merging remotes/origin/master commit 969908695d9457bace8f724c7874c2a817cac062 into PR head commit 8cf28ce433080062c780a274ebe3815a76362cd4 [2021-05-12T20:29:15.195Z] Merge succeeded, producing 8cf28ce433080062c780a274ebe3815a76362cd4 [2021-05-12T20:29:15.195Z] Checking out Revision 8cf28ce433080062c780a274ebe3815a76362cd4 (PR-205) [2021-05-12T20:29:15.009Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:29:15.027Z] > git checkout -f 8cf28ce433080062c780a274ebe3815a76362cd4 # timeout=10 [2021-05-12T20:29:15.112Z] > git remote # timeout=10 [2021-05-12T20:29:15.132Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T20:29:15.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:29:15.164Z] > git merge 969908695d9457bace8f724c7874c2a817cac062 # timeout=10 [2021-05-12T20:29:15.189Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T20:29:15.215Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:29:15.227Z] > git checkout -f 8cf28ce433080062c780a274ebe3815a76362cd4 # timeout=10 [2021-05-12T20:29:19.616Z] Commit message: "fix(build): update Dockerfile* to go 1.16" [2021-05-12T20:29:19.737Z] > git --version # timeout=10 [2021-05-12T20:29:19.756Z] > git --version # 'git version 2.17.1' [2021-05-12T20:29:19.780Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T20:29:20.085Z] [2021-05-12T20:29:20.085Z] GitHub has been notified of this commit’s build result [2021-05-12T20:29:20.085Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:29:21.688Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:29:22.166Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:29:22.560Z] + sudo service docker restart [2021-05-12T20:29:22.560Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:29:25.398Z] provisioning config files... [2021-05-12T20:29:25.456Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6481047897401477633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:29:25.944Z] ---> docker-login.sh [2021-05-12T20:29:25.944Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:29:26.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:27.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:27.226Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:27.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:27.226Z] [2021-05-12T20:29:27.226Z] Login Succeeded [2021-05-12T20:29:27.226Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:29:27.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:28.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:28.146Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:28.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:28.146Z] [2021-05-12T20:29:28.146Z] Login Succeeded [2021-05-12T20:29:28.146Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:29:28.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:28.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:28.712Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:28.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:28.712Z] [2021-05-12T20:29:28.712Z] Login Succeeded [2021-05-12T20:29:28.712Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:29:28.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:29.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:29.277Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:29.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:29.277Z] [2021-05-12T20:29:29.277Z] Login Succeeded [2021-05-12T20:29:29.277Z] docker.io [2021-05-12T20:29:29.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:29:30.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:29:30.167Z] Configure a credential helper to remove this warning. See [2021-05-12T20:29:30.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:29:30.167Z] [2021-05-12T20:29:30.167Z] Login Succeeded [2021-05-12T20:29:30.167Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:29:30.213Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T20:29:30.821Z] ========================================================= [2021-05-12T20:29:30.821Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-12T20:29:30.821Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:29:31.232Z] + 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 . [2021-05-12T20:29:31.855Z] Sending build context to Docker daemon 8.585MB [2021-05-12T20:29:31.855Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:29:31.855Z] Step 2/8 : FROM ${BASE} [2021-05-12T20:29:31.855Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-12T20:29:31.855Z] 595b0fe564bb: Pulling fs layer [2021-05-12T20:29:31.855Z] 7186ed65a4f7: Pulling fs layer [2021-05-12T20:29:31.855Z] 316046926c0a: Pulling fs layer [2021-05-12T20:29:31.855Z] 4ebd0625c992: Pulling fs layer [2021-05-12T20:29:31.855Z] 207e8628e3a3: Pulling fs layer [2021-05-12T20:29:31.855Z] c791037a9be2: Pulling fs layer [2021-05-12T20:29:31.855Z] ffd874e62e21: Pulling fs layer [2021-05-12T20:29:31.855Z] 4ebd0625c992: Waiting [2021-05-12T20:29:31.855Z] 207e8628e3a3: Waiting [2021-05-12T20:29:31.855Z] c791037a9be2: Waiting [2021-05-12T20:29:31.855Z] ffd874e62e21: Waiting [2021-05-12T20:29:31.855Z] 316046926c0a: Verifying Checksum [2021-05-12T20:29:31.855Z] 316046926c0a: Download complete [2021-05-12T20:29:31.855Z] 7186ed65a4f7: Download complete [2021-05-12T20:29:31.855Z] 207e8628e3a3: Verifying Checksum [2021-05-12T20:29:31.855Z] 207e8628e3a3: Download complete [2021-05-12T20:29:31.855Z] c791037a9be2: Download complete [2021-05-12T20:29:32.153Z] 595b0fe564bb: Verifying Checksum [2021-05-12T20:29:32.153Z] 595b0fe564bb: Download complete [2021-05-12T20:29:32.761Z] 595b0fe564bb: Pull complete [2021-05-12T20:29:33.396Z] 7186ed65a4f7: Pull complete [2021-05-12T20:29:34.021Z] 316046926c0a: Pull complete [2021-05-12T20:29:36.010Z] ffd874e62e21: Verifying Checksum [2021-05-12T20:29:36.010Z] ffd874e62e21: Download complete [2021-05-12T20:29:38.008Z] 4ebd0625c992: Verifying Checksum [2021-05-12T20:29:38.008Z] 4ebd0625c992: Download complete [2021-05-12T20:29:42.268Z] lf-activate-venv(): INFO: Adding /tmp/venv-3whf/bin to PATH [2021-05-12T20:29:42.268Z] INFO: No Stack... [2021-05-12T20:29:42.268Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T20:29:42.268Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T20:29:42.687Z] + cut -d, -f6 [2021-05-12T20:29:42.687Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2021-05-12T20:29:42.976Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-205-1-stack-cost] [2021-05-12T20:29:42.982Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-205-1-stack-cost] did not exist. Created. [2021-05-12T20:29:42.982Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-205-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T20:29:43.520Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-12T20:29:43.764Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T20:29:43.786Z] 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] } [2021-05-12T20:29:49.424Z] 4ebd0625c992: Pull complete [2021-05-12T20:29:49.424Z] 207e8628e3a3: Pull complete [2021-05-12T20:29:49.424Z] c791037a9be2: Pull complete [2021-05-12T20:29:52.099Z] ffd874e62e21: Pull complete [2021-05-12T20:29:52.099Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-12T20:29:52.099Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-12T20:29:52.099Z] ---> cfc18b08335c [2021-05-12T20:29:52.099Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-12T20:29:55.517Z] ---> Running in a0569cee4009 [2021-05-12T20:29:56.117Z] Removing intermediate container a0569cee4009 [2021-05-12T20:29:56.117Z] ---> 748233152c15 [2021-05-12T20:29:56.117Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:29:56.391Z] ---> Running in dd5c4bd4bc3c [2021-05-12T20:29:58.378Z] Removing intermediate container dd5c4bd4bc3c [2021-05-12T20:29:58.378Z] ---> dc9267aa6901 [2021-05-12T20:29:58.378Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-12T20:29:58.653Z] ---> Running in 002fb81d9d9d [2021-05-12T20:29:59.635Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:30:00.641Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:30:01.671Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-12T20:30:01.671Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-12T20:30:01.671Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-12T20:30:01.954Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-12T20:30:01.955Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-12T20:30:01.955Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-12T20:30:02.238Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-12T20:30:02.517Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-12T20:30:02.791Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-12T20:30:02.791Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-12T20:30:02.791Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-12T20:30:03.077Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-12T20:30:03.674Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-12T20:30:03.951Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T20:30:03.951Z] OK: 145 MiB in 53 packages [2021-05-12T20:30:05.400Z] Removing intermediate container 002fb81d9d9d [2021-05-12T20:30:05.400Z] ---> ae6fa74e9e47 [2021-05-12T20:30:05.400Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-12T20:30:05.400Z] ---> Running in d0d24cbca1bc [2021-05-12T20:30:05.998Z] Removing intermediate container d0d24cbca1bc [2021-05-12T20:30:05.999Z] ---> 843c6af006ac [2021-05-12T20:30:05.999Z] Step 7/8 : COPY . . [2021-05-12T20:30:07.452Z] ---> 45871fcc6c24 [2021-05-12T20:30:07.452Z] Step 8/8 : RUN go mod download [2021-05-12T20:30:07.452Z] ---> Running in d7e5cc2c67e7 [2021-05-12T20:30:39.823Z] Removing intermediate container d7e5cc2c67e7 [2021-05-12T20:30:39.823Z] ---> b2a377485e77 [2021-05-12T20:30:39.823Z] Successfully built b2a377485e77 [2021-05-12T20:30:39.823Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:30:40.221Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T20:30:40.221Z] . [Pipeline] withDockerContainer [2021-05-12T20:30:40.511Z] prd-ubuntu18.04-docker-arm64-4c-16g-4854 does not seem to be running inside a container [2021-05-12T20:30:40.633Z] $ 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 [2021-05-12T20:30:42.424Z] $ docker top c71ba568f5862fd9683ce00243abe3dc704bf269f4064601e6d3c6c6d6a44416 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:30:43.562Z] + go version [2021-05-12T20:30:43.562Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-12T20:30:43.607Z] $ docker stop --time=1 c71ba568f5862fd9683ce00243abe3dc704bf269f4064601e6d3c6c6d6a44416 [2021-05-12T20:30:45.565Z] $ docker rm -f c71ba568f5862fd9683ce00243abe3dc704bf269f4064601e6d3c6c6d6a44416 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:30:46.544Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T20:30:46.544Z] . [Pipeline] withDockerContainer [2021-05-12T20:30:46.797Z] prd-ubuntu18.04-docker-arm64-4c-16g-4854 does not seem to be running inside a container [2021-05-12T20:30:46.892Z] $ 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 [2021-05-12T20:30:48.598Z] $ docker top 8113fcefae8e2f6e56f8a86ec632ebe0367ae0c37b0bd5b2fa4ae9a4216d085d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:30:49.796Z] + go mod tidy [Pipeline] sh [2021-05-12T20:30:51.996Z] + make test [2021-05-12T20:30:51.996Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-12T20:30:53.453Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-12T20:32:15.408Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-12T20:32:15.408Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.922s coverage: 63.8% of statements [2021-05-12T20:32:15.408Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T20:32:42.247Z] gofmt -l . [2021-05-12T20:32:42.247Z] [ "`gofmt -l .`" = "" ] [2021-05-12T20:32:42.247Z] ./bin/test-attribution-txt.sh [2021-05-12T20:32:42.247Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-12T20:32:42.296Z] $ docker stop --time=1 8113fcefae8e2f6e56f8a86ec632ebe0367ae0c37b0bd5b2fa4ae9a4216d085d [2021-05-12T20:32:44.420Z] $ docker rm -f 8113fcefae8e2f6e56f8a86ec632ebe0367ae0c37b0bd5b2fa4ae9a4216d085d [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:32:45.448Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T20:32:45.494Z] Warning: overwriting stash ‘coverage-report’ [2021-05-12T20:32:46.192Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:32:46.853Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T20:32:47.222Z] + ls -al . [2021-05-12T20:32:47.222Z] total 156 [2021-05-12T20:32:47.222Z] drwxrwxr-x 7 jenkins jenkins 4096 May 12 20:32 . [2021-05-12T20:32:47.222Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 20:29 .. [2021-05-12T20:32:47.222Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 20:29 .git [2021-05-12T20:32:47.222Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:29 .github [2021-05-12T20:32:47.222Z] -rw-rw-r-- 1 jenkins jenkins 277 May 12 20:29 .gitignore [2021-05-12T20:32:47.222Z] -rw-rw-r-- 1 jenkins jenkins 8153 May 12 20:29 Attribution.txt [2021-05-12T20:32:47.222Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 12 20:29 Dockerfile [2021-05-12T20:32:47.222Z] -rw-rw-r-- 1 jenkins jenkins 998 May 12 20:29 Dockerfile.build [2021-05-12T20:32:47.222Z] -rw-rw-r-- 1 jenkins jenkins 660 May 12 20:29 Jenkinsfile [2021-05-12T20:32:47.222Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 12 20:29 LICENSE [2021-05-12T20:32:47.222Z] -rw-rw-r-- 1 jenkins jenkins 901 May 12 20:29 Makefile [2021-05-12T20:32:47.222Z] -rw-rw-r-- 1 jenkins jenkins 2745 May 12 20:29 README.md [2021-05-12T20:32:47.222Z] -rw-rw-r-- 1 jenkins jenkins 5 May 12 20:22 VERSION [2021-05-12T20:32:47.222Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:29 bin [2021-05-12T20:32:47.222Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:29 cmd [2021-05-12T20:32:47.222Z] -rw-r--r-- 1 jenkins jenkins 47247 May 12 20:32 coverage.out [2021-05-12T20:32:47.222Z] -rw-r--r-- 1 jenkins jenkins 809 May 12 20:32 go.mod [2021-05-12T20:32:47.222Z] -rw-r--r-- 1 jenkins jenkins 23265 May 12 20:30 go.sum [2021-05-12T20:32:47.222Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:29 internal [2021-05-12T20:32:47.222Z] -rw-rw-r-- 1 jenkins jenkins 235 May 12 20:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:32:47.611Z] + 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 . [2021-05-12T20:32:48.220Z] Sending build context to Docker daemon 8.657MB [2021-05-12T20:32:48.220Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:32:48.220Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-12T20:32:48.220Z] ---> b2a377485e77 [2021-05-12T20:32:48.220Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T20:32:48.497Z] ---> Running in e00d17621a9d [2021-05-12T20:32:49.096Z] Removing intermediate container e00d17621a9d [2021-05-12T20:32:49.096Z] ---> 36b3cc0a1585 [2021-05-12T20:32:49.096Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:32:49.096Z] ---> Running in 893062eebd34 [2021-05-12T20:32:49.695Z] Removing intermediate container 893062eebd34 [2021-05-12T20:32:49.695Z] ---> b209f155ceac [2021-05-12T20:32:49.695Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-12T20:32:49.695Z] ---> Running in ec436dd87b7c [2021-05-12T20:32:50.298Z] Removing intermediate container ec436dd87b7c [2021-05-12T20:32:50.298Z] ---> 05a27ca82e99 [2021-05-12T20:32:50.298Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:32:50.298Z] ---> Running in df3d756b5b35 [2021-05-12T20:32:52.936Z] Removing intermediate container df3d756b5b35 [2021-05-12T20:32:52.936Z] ---> 374845ee1a1e [2021-05-12T20:32:52.936Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:32:52.936Z] ---> Running in 94b6e57e2cd6 [2021-05-12T20:32:54.396Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:32:55.414Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:32:56.416Z] OK: 145 MiB in 53 packages [2021-05-12T20:32:57.874Z] Removing intermediate container 94b6e57e2cd6 [2021-05-12T20:32:57.874Z] ---> 6bd8c6a2199b [2021-05-12T20:32:57.874Z] Step 8/25 : COPY . . [2021-05-12T20:32:59.349Z] ---> 8858261e5136 [2021-05-12T20:32:59.349Z] Step 9/25 : RUN go mod download [2021-05-12T20:32:59.349Z] ---> Running in 58d22057909f [2021-05-12T20:33:02.020Z] Removing intermediate container 58d22057909f [2021-05-12T20:33:02.020Z] ---> b8760983ab90 [2021-05-12T20:33:02.020Z] Step 10/25 : ARG MAKE='make build' [2021-05-12T20:33:02.020Z] ---> Running in 5ead691770e6 [2021-05-12T20:33:02.616Z] Removing intermediate container 5ead691770e6 [2021-05-12T20:33:02.616Z] ---> cd9e7a7774b2 [2021-05-12T20:33:02.616Z] Step 11/25 : RUN $MAKE [2021-05-12T20:33:02.894Z] ---> Running in fa6530218e23 [2021-05-12T20:33:03.885Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-05-12T20:34:11.987Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-12T20:34:12.973Z] Removing intermediate container fa6530218e23 [2021-05-12T20:34:12.973Z] ---> 629c87ce5530 [2021-05-12T20:34:12.973Z] Step 12/25 : FROM alpine:3.12 [2021-05-12T20:34:13.247Z] 3.12: Pulling from library/alpine [2021-05-12T20:34:13.530Z] d2f70382dc9a: Pulling fs layer [2021-05-12T20:34:13.806Z] d2f70382dc9a: Verifying Checksum [2021-05-12T20:34:13.806Z] d2f70382dc9a: Download complete [2021-05-12T20:34:14.421Z] d2f70382dc9a: Pull complete [2021-05-12T20:34:14.421Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T20:34:14.421Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T20:34:14.421Z] ---> 9852663dfa18 [2021-05-12T20:34:14.421Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-12T20:34:14.697Z] ---> Running in 726e29e09902 [2021-05-12T20:34:14.971Z] Removing intermediate container 726e29e09902 [2021-05-12T20:34:14.971Z] ---> c2a0e4632678 [2021-05-12T20:34:14.971Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:34:15.246Z] ---> Running in 248ed0bb650a [2021-05-12T20:34:17.874Z] Removing intermediate container 248ed0bb650a [2021-05-12T20:34:17.874Z] ---> 658fd713b975 [2021-05-12T20:34:17.874Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-12T20:34:17.874Z] ---> Running in f63a52b569d2 [2021-05-12T20:34:18.854Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:34:19.452Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:34:20.884Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-12T20:34:20.884Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-12T20:34:20.884Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-12T20:34:20.884Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-12T20:34:21.162Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-12T20:34:21.162Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-12T20:34:21.162Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T20:34:21.440Z] OK: 8 MiB in 20 packages [2021-05-12T20:34:22.879Z] Removing intermediate container f63a52b569d2 [2021-05-12T20:34:22.879Z] ---> c8172f389645 [2021-05-12T20:34:22.879Z] Step 16/25 : WORKDIR / [2021-05-12T20:34:22.879Z] ---> Running in 61fbcf880ead [2021-05-12T20:34:23.473Z] Removing intermediate container 61fbcf880ead [2021-05-12T20:34:23.473Z] ---> 642a6d2bbf2d [2021-05-12T20:34:23.473Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-12T20:34:24.076Z] ---> fa07533564d8 [2021-05-12T20:34:24.076Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-12T20:34:25.049Z] ---> 6a35d944ea09 [2021-05-12T20:34:25.050Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-12T20:34:26.495Z] ---> 3edfc6c9197c [2021-05-12T20:34:26.495Z] Step 20/25 : EXPOSE 49990 [2021-05-12T20:34:26.495Z] ---> Running in 85b827461102 [2021-05-12T20:34:27.093Z] Removing intermediate container 85b827461102 [2021-05-12T20:34:27.093Z] ---> ea4540788066 [2021-05-12T20:34:27.093Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-12T20:34:27.093Z] ---> Running in f5857420fb2a [2021-05-12T20:34:27.692Z] Removing intermediate container f5857420fb2a [2021-05-12T20:34:27.692Z] ---> c5ccaf838a6f [2021-05-12T20:34:27.692Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-12T20:34:27.692Z] ---> Running in 1d72c364f3dd [2021-05-12T20:34:28.284Z] Removing intermediate container 1d72c364f3dd [2021-05-12T20:34:28.284Z] ---> 41917489b989 [2021-05-12T20:34:28.284Z] Step 23/25 : LABEL arch=arm64 [2021-05-12T20:34:28.284Z] ---> Running in 758d500c3362 [2021-05-12T20:34:28.881Z] Removing intermediate container 758d500c3362 [2021-05-12T20:34:28.881Z] ---> 799bfc2d20cf [2021-05-12T20:34:28.881Z] Step 24/25 : LABEL git_sha=8cf28ce433080062c780a274ebe3815a76362cd4 [2021-05-12T20:34:28.881Z] ---> Running in d35dafecec6e [2021-05-12T20:34:29.479Z] Removing intermediate container d35dafecec6e [2021-05-12T20:34:29.479Z] ---> a5c83355669a [2021-05-12T20:34:29.479Z] Step 25/25 : LABEL version=0.0.0 [2021-05-12T20:34:29.479Z] ---> Running in 59272170463a [2021-05-12T20:34:30.072Z] Removing intermediate container 59272170463a [2021-05-12T20:34:30.072Z] ---> 32c63c858405 [2021-05-12T20:34:30.072Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T20:34:30.072Z] Successfully built 32c63c858405 [2021-05-12T20:34:30.072Z] 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 [2021-05-12T20:34:30.778Z] ---> job-cost.sh [2021-05-12T20:34:30.778Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WJn4 [2021-05-12T20:35:18.490Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T20:36:55.260Z] lf-activate-venv(): INFO: Adding /tmp/venv-WJn4/bin to PATH [2021-05-12T20:36:55.260Z] INFO: No Stack... [2021-05-12T20:36:55.260Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-12T20:36:55.260Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T20:36:55.616Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-05-12T20:36:55.616Z] + cut -d, -f6 [Pipeline] lock [2021-05-12T20:36:55.767Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-205-1-stack-cost] [2021-05-12T20:36:55.819Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-205-1-stack-cost] did not exist. Created. [2021-05-12T20:36:55.819Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-205-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T20:36:56.293Z] /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 [2021-05-12T20:36:56.679Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-12T20:36:56.719Z] Warning: overwriting stash ‘stack-cost’ [2021-05-12T20:36:56.940Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T20:36:56.963Z] 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 [2021-05-12T20:36:57.962Z] provisioning config files... [2021-05-12T20:36:57.974Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-205@tmp/config6579743020602253704tmp [Pipeline] { [Pipeline] sh [2021-05-12T20:36:58.421Z] + set +x [2021-05-12T20:36:58.421Z] + curl -s https://codecov.io/bash [2021-05-12T20:36:58.421Z] + bash -s -- [2021-05-12T20:36:58.706Z] [2021-05-12T20:36:58.707Z] _____ _ [2021-05-12T20:36:58.707Z] / ____| | | [2021-05-12T20:36:58.707Z] | | ___ __| | ___ ___ _____ __ [2021-05-12T20:36:58.707Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-12T20:36:58.707Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-12T20:36:58.707Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-12T20:36:58.707Z] Bash-1.0.2 [2021-05-12T20:36:58.707Z] [2021-05-12T20:36:58.707Z] [2021-05-12T20:36:58.707Z] ==> git version 2.24.3 found [2021-05-12T20:36:58.707Z] ==> 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 [2021-05-12T20:36:58.707Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-12T20:36:58.707Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-12T20:36:58.707Z] ==> Jenkins CI detected. [2021-05-12T20:36:58.707Z] project root: . [2021-05-12T20:36:58.707Z] --> token set from env [2021-05-12T20:36:58.707Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-12T20:36:58.707Z] ==> Running gcov in . (disable via -X gcov) [2021-05-12T20:36:58.707Z] ==> Python coveragepy not found [2021-05-12T20:36:58.707Z] ==> Searching for coverage reports in: [2021-05-12T20:36:58.707Z] + . [2021-05-12T20:36:58.707Z] -> Found 1 reports [2021-05-12T20:36:58.707Z] ==> Detecting git/mercurial file structure [2021-05-12T20:36:58.707Z] ==> Reading reports [2021-05-12T20:36:58.707Z] + ./coverage.out bytes=47247 [2021-05-12T20:36:58.707Z] ==> Appending adjustments [2021-05-12T20:36:58.707Z] https://docs.codecov.io/docs/fixing-reports [2021-05-12T20:36:58.996Z] + Found adjustments [2021-05-12T20:36:58.996Z] ==> Gzipping contents [2021-05-12T20:36:58.996Z] 8.0K /tmp/codecov.7xMQLq.gz [2021-05-12T20:36:58.996Z] ==> Uploading reports [2021-05-12T20:36:58.996Z] url: https://codecov.io [2021-05-12T20:36:58.996Z] 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= [2021-05-12T20:36:58.996Z] -> Pinging Codecov [2021-05-12T20:36:58.996Z] 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= [2021-05-12T20:36:59.573Z] -> Uploading to [2021-05-12T20:36:59.573Z] 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 [2021-05-12T20:36:59.573Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-12T20:36:59.573Z] Dload Upload Total Spent Left Speed [2021-05-12T20:36:59.841Z] 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 [2021-05-12T20:37:00.111Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/8cf28ce433080062c780a274ebe3815a76362cd4 [Pipeline] } [2021-05-12T20:37:00.141Z] 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 [2021-05-12T20:37:01.968Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:37:02.584Z] ---> package-listing.sh [2021-05-12T20:37:02.585Z] ++ facter osfamily [2021-05-12T20:37:02.585Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-12T20:37:02.585Z] + OS_FAMILY=redhat [2021-05-12T20:37:02.585Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-205 [2021-05-12T20:37:02.585Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-12T20:37:02.585Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-12T20:37:02.585Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-12T20:37:02.585Z] + PACKAGES=/tmp/packages_start.txt [2021-05-12T20:37:02.585Z] + '[' /w/workspace/foundry_device-virtual-go_PR-205 ']' [2021-05-12T20:37:02.585Z] + PACKAGES=/tmp/packages_end.txt [2021-05-12T20:37:02.585Z] + case "${OS_FAMILY}" in [2021-05-12T20:37:02.585Z] + rpm -qa [2021-05-12T20:37:02.585Z] + sort [2021-05-12T20:37:07.905Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-12T20:37:07.905Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-12T20:37:07.905Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-12T20:37:07.905Z] + '[' /w/workspace/foundry_device-virtual-go_PR-205 ']' [2021-05-12T20:37:07.905Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-205/archives/ [2021-05-12T20:37:07.905Z] + 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 [2021-05-12T20:37:07.944Z] 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 [2021-05-12T20:37:08.261Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:37:08.641Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:37:08.641Z] [2021-05-12T20:37:08.641Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:37:09.002Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:37:09.002Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-12T20:37:09.002Z] df20fa9351a1: Pulling fs layer [2021-05-12T20:37:09.002Z] 36b3adc4ff6f: Pulling fs layer [2021-05-12T20:37:09.002Z] 8ad3a11d3b57: Pulling fs layer [2021-05-12T20:37:09.002Z] 46f8f816bc3b: Pulling fs layer [2021-05-12T20:37:09.002Z] 93b61091891f: Pulling fs layer [2021-05-12T20:37:09.002Z] 93b9cdb0e59b: Pulling fs layer [2021-05-12T20:37:09.002Z] 5e14af77c1be: Pulling fs layer [2021-05-12T20:37:09.002Z] 01666e4c0597: Pulling fs layer [2021-05-12T20:37:09.002Z] aa168da1d23b: Pulling fs layer [2021-05-12T20:37:09.002Z] 93b9cdb0e59b: Waiting [2021-05-12T20:37:09.002Z] 01666e4c0597: Waiting [2021-05-12T20:37:09.002Z] 5e14af77c1be: Waiting [2021-05-12T20:37:09.002Z] aa168da1d23b: Waiting [2021-05-12T20:37:09.002Z] 46f8f816bc3b: Waiting [2021-05-12T20:37:09.002Z] 93b61091891f: Waiting [2021-05-12T20:37:09.002Z] 36b3adc4ff6f: Verifying Checksum [2021-05-12T20:37:09.002Z] 36b3adc4ff6f: Download complete [2021-05-12T20:37:09.002Z] 46f8f816bc3b: Download complete [2021-05-12T20:37:09.002Z] df20fa9351a1: Verifying Checksum [2021-05-12T20:37:09.002Z] df20fa9351a1: Download complete [2021-05-12T20:37:09.002Z] 93b9cdb0e59b: Verifying Checksum [2021-05-12T20:37:09.002Z] 93b9cdb0e59b: Download complete [2021-05-12T20:37:09.002Z] 5e14af77c1be: Verifying Checksum [2021-05-12T20:37:09.002Z] 5e14af77c1be: Download complete [2021-05-12T20:37:09.267Z] 01666e4c0597: Verifying Checksum [2021-05-12T20:37:09.267Z] 01666e4c0597: Download complete [2021-05-12T20:37:09.267Z] 93b61091891f: Verifying Checksum [2021-05-12T20:37:09.267Z] 93b61091891f: Download complete [2021-05-12T20:37:09.267Z] 8ad3a11d3b57: Verifying Checksum [2021-05-12T20:37:09.267Z] 8ad3a11d3b57: Download complete [2021-05-12T20:37:09.537Z] df20fa9351a1: Pull complete [2021-05-12T20:37:09.803Z] 36b3adc4ff6f: Pull complete [2021-05-12T20:37:11.211Z] aa168da1d23b: Verifying Checksum [2021-05-12T20:37:11.211Z] aa168da1d23b: Download complete [2021-05-12T20:37:11.478Z] 8ad3a11d3b57: Pull complete [2021-05-12T20:37:12.054Z] 46f8f816bc3b: Pull complete [2021-05-12T20:37:12.317Z] 93b61091891f: Pull complete [2021-05-12T20:37:12.585Z] 93b9cdb0e59b: Pull complete [2021-05-12T20:37:12.585Z] 5e14af77c1be: Pull complete [2021-05-12T20:37:12.851Z] 01666e4c0597: Pull complete [2021-05-12T20:37:21.054Z] aa168da1d23b: Pull complete [2021-05-12T20:37:21.054Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-12T20:37:21.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:37:21.054Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-12T20:37:21.330Z] prd-centos7-docker-4c-2g-4843 does not seem to be running inside a container [2021-05-12T20:37:21.419Z] $ 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 [2021-05-12T20:37:24.764Z] $ docker top 98acab504f08608d534224194054e4df5fedce1583fdf53ddcbad9739fbb1fae -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:37:25.234Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-12T20:37:25.566Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-12T20:37:25.890Z] + ls /var/log/sa-host [2021-05-12T20:37:25.890Z] + sadf -c /var/log/sa-host/sa12 [2021-05-12T20:37:25.890Z] file_magic: OK [2021-05-12T20:37:25.890Z] HZ: Using current value: 100 [2021-05-12T20:37:25.890Z] file_header: OK [2021-05-12T20:37:25.890Z] 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 [2021-05-12T20:37:25.890Z] Statistics: [2021-05-12T20:37:25.890Z] 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... [2021-05-12T20:37:25.890Z] File successfully converted to sysstat format version 12.2.1 [2021-05-12T20:37:25.890Z] + sadf -c /var/log/sa-host/sa23 [2021-05-12T20:37:25.890Z] file_magic: OK [2021-05-12T20:37:25.890Z] HZ: Using current value: 100 [2021-05-12T20:37:25.890Z] file_header: OK [2021-05-12T20:37:25.890Z] 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 [2021-05-12T20:37:25.890Z] Statistics: [2021-05-12T20:37:25.890Z] Hnuu...uuuununununu... [2021-05-12T20:37:25.890Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-12T20:37:26.140Z] provisioning config files... [2021-05-12T20:37:26.156Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-205@tmp/config5548465955303297931tmp [Pipeline] { [Pipeline] echo [2021-05-12T20:37:26.211Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:37:26.553Z] ---> create-netrc.sh [Pipeline] } [2021-05-12T20:37:26.579Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-12T20:37:26.664Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:37:27.003Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-12T20:37:27.057Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:37:27.422Z] ---> sudo-logs.sh [2021-05-12T20:37:27.422Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-12T20:37:27.513Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:37:27.864Z] ---> job-cost.sh [2021-05-12T20:37:27.864Z] lf-activate-venv: SKIPPING [2021-05-12T20:37:27.864Z] DEBUG: total: 0.20999999344348907 [2021-05-12T20:37:27.864Z] INFO: Retrieving Stack Cost... [2021-05-12T20:37:29.258Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T20:37:29.520Z] INFO: Archiving Costs [Pipeline] echo [2021-05-12T20:37:29.581Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:37:29.914Z] ---> logs-deploy.sh [2021-05-12T20:37:29.914Z] lf-activate-venv: SKIPPING [2021-05-12T20:37:29.914Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-205/1 [2021-05-12T20:37:29.914Z] INFO: archiving workspace using pattern(s): [2021-05-12T20:37:31.843Z] Archives upload complete. [2021-05-12T20:37:31.843Z] INFO: archiving logs to Nexus [2021-05-12T20:37:32.796Z] ---> uname -a: [2021-05-12T20:37:32.796Z] 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 [2021-05-12T20:37:32.796Z] [2021-05-12T20:37:32.796Z]