Pull request #217 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6944fbfa37580ab496b8b06e8a373db0c0289fb1+8d9cac7b544984367de20437773925dcf3f7e06d (1a924d6b6a9c3592372c4de2320d753ee3747e9d) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1471644675296193950.key > 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 --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4523772281379539247.key > 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 The recommended git tool is: git 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-217/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-217/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5037548236699886443.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-217/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4794983502100402184.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1263389850027450769.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE 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-217/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-217/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4113228643724118649.key > 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 Avoid second fetch 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-1153 in /w/workspace/foundry_device-virtual-go_PR-217 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-217 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-217@tmp/jenkins-gitclient-ssh1966615692905292797.key > 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 Merging remotes/origin/master commit 8d9cac7b544984367de20437773925dcf3f7e06d into PR head commit 6944fbfa37580ab496b8b06e8a373db0c0289fb1 Merge succeeded, producing 6944fbfa37580ab496b8b06e8a373db0c0289fb1 Checking out Revision 6944fbfa37580ab496b8b06e8a373db0c0289fb1 (PR-217) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-217@tmp/jenkins-gitclient-ssh7548234113163264226.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/217/head:refs/remotes/origin/PR-217 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6944fbfa37580ab496b8b06e8a373db0c0289fb1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-217@tmp/jenkins-gitclient-ssh7567187601103831742.key > git merge 8d9cac7b544984367de20437773925dcf3f7e06d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6944fbfa37580ab496b8b06e8a373db0c0289fb1 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-31T05:44:52.683Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-31T05:44:52.920Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-31T05:44:55.629Z] ========================================================= [2021-05-31T05:44:55.629Z] EdgeX Global Pipelines Version Info [2021-05-31T05:44:55.629Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-31T05:44:57.169Z] ------------------- [2021-05-31T05:44:57.169Z] stable info: [2021-05-31T05:44:57.169Z] ------------------- [2021-05-31T05:44:57.169Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-31T05:44:57.169Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-31T05:44:57.169Z] Message: update stable to v1.0.192 [2021-05-31T05:44:57.750Z] ------------------- [2021-05-31T05:44:57.750Z] experimental info: [2021-05-31T05:44:57.750Z] ------------------- [2021-05-31T05:44:57.750Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-31T05:44:57.750Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-31T05:44:57.750Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-31T05:44:58.034Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-31T05:44:58.099Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-31T05:44:58.160Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-31T05:44:58.224Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-31T05:44:58.288Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-31T05:45:00.687Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-31T05:45:00.771Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-31T05:45:00.841Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-31T05:45:00.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-31T05:45:00.984Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-31T05:45:01.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-31T05:45:01.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-05-31T05:45:01.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-31T05:45:01.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-31T05:45:01.286Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-31T05:45:01.343Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-31T05:45:01.428Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-31T05:45:01.489Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-31T05:45:01.553Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-31T05:45:01.610Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-31T05:45:01.670Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-31T05:45:01.726Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-31T05:45:01.794Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-31T05:45:01.868Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-31T05:45:01.947Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-31T05:45:02.021Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-31T05:45:02.110Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-217 [Pipeline] echo [2021-05-31T05:45:02.185Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-217 [Pipeline] echo [2021-05-31T05:45:02.286Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-217 [Pipeline] echo [2021-05-31T05:45:02.388Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6944fbfa37580ab496b8b06e8a373db0c0289fb1 [Pipeline] echo [2021-05-31T05:45:02.454Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6944fbf [Pipeline] echo [2021-05-31T05:45:02.540Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-31T05:45:05.182Z] provisioning config files... [2021-05-31T05:45:05.200Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-217@tmp/config2056175526580968041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-31T05:45:05.630Z] ---> docker-login.sh [2021-05-31T05:45:05.630Z] nexus3.edgexfoundry.org:10001 [2021-05-31T05:45:05.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T05:45:06.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T05:45:06.160Z] Configure a credential helper to remove this warning. See [2021-05-31T05:45:06.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T05:45:06.160Z] [2021-05-31T05:45:06.160Z] Login Succeeded [2021-05-31T05:45:06.160Z] nexus3.edgexfoundry.org:10002 [2021-05-31T05:45:06.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T05:45:06.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T05:45:06.431Z] Configure a credential helper to remove this warning. See [2021-05-31T05:45:06.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T05:45:06.431Z] [2021-05-31T05:45:06.431Z] Login Succeeded [2021-05-31T05:45:06.431Z] nexus3.edgexfoundry.org:10003 [2021-05-31T05:45:06.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T05:45:06.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T05:45:06.960Z] Configure a credential helper to remove this warning. See [2021-05-31T05:45:06.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T05:45:06.960Z] [2021-05-31T05:45:06.960Z] Login Succeeded [2021-05-31T05:45:06.960Z] nexus3.edgexfoundry.org:10004 [2021-05-31T05:45:06.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T05:45:07.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T05:45:07.229Z] Configure a credential helper to remove this warning. See [2021-05-31T05:45:07.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T05:45:07.229Z] [2021-05-31T05:45:07.229Z] Login Succeeded [2021-05-31T05:45:07.229Z] docker.io [2021-05-31T05:45:07.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T05:45:07.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T05:45:07.494Z] Configure a credential helper to remove this warning. See [2021-05-31T05:45:07.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T05:45:07.494Z] [2021-05-31T05:45:07.494Z] Login Succeeded [2021-05-31T05:45:07.494Z] ---> docker-login.sh ends [Pipeline] } [2021-05-31T05:45:07.517Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-31T05:45:11.235Z] + git log --format=format:%s -1 6944fbfa37580ab496b8b06e8a373db0c0289fb1 [Pipeline] echo [2021-05-31T05:45:11.334Z] GIT_COMMIT: 6944fbfa37580ab496b8b06e8a373db0c0289fb1, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-05-31T05:45:11.389Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-31T05:45:12.060Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-31T05:45:12.060Z] [2021-05-31T05:45:12.060Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-31T05:45:12.428Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-31T05:45:12.428Z] latest: Pulling from edgex-devops/git-semver [2021-05-31T05:45:12.428Z] 31603596830f: Pulling fs layer [2021-05-31T05:45:12.428Z] 54011a49482f: Pulling fs layer [2021-05-31T05:45:12.428Z] a6820b24f6d8: Pulling fs layer [2021-05-31T05:45:12.428Z] f581987b2513: Pulling fs layer [2021-05-31T05:45:12.428Z] f581987b2513: Waiting [2021-05-31T05:45:12.428Z] 54011a49482f: Download complete [2021-05-31T05:45:12.702Z] 31603596830f: Verifying Checksum [2021-05-31T05:45:12.702Z] 31603596830f: Download complete [2021-05-31T05:45:12.702Z] f581987b2513: Verifying Checksum [2021-05-31T05:45:12.702Z] f581987b2513: Download complete [2021-05-31T05:45:12.702Z] a6820b24f6d8: Verifying Checksum [2021-05-31T05:45:12.702Z] a6820b24f6d8: Download complete [2021-05-31T05:45:16.586Z] 31603596830f: Pull complete [2021-05-31T05:45:16.586Z] 54011a49482f: Pull complete [2021-05-31T05:45:16.586Z] a6820b24f6d8: Pull complete [2021-05-31T05:45:16.586Z] f581987b2513: Pull complete [2021-05-31T05:45:16.586Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-31T05:45:16.586Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-31T05:45:16.586Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-31T05:45:16.785Z] prd-centos7-docker-4c-2g-1153 does not seem to be running inside a container [2021-05-31T05:45:16.838Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-217 -v /w/workspace/foundry_device-virtual-go_PR-217:/w/workspace/foundry_device-virtual-go_PR-217:rw,z -v /w/workspace/foundry_device-virtual-go_PR-217@tmp:/w/workspace/foundry_device-virtual-go_PR-217@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-31T05:45:18.088Z] $ docker top 72ac145d1b2f7f487dfb2a517c4db581b5234a78fc6badc854ddd4783c30264e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-31T05:45:18.343Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-31T05:45:18.343Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-31T05:45:18.466Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-31T05:45:18.465Z] $ docker exec 72ac145d1b2f7f487dfb2a517c4db581b5234a78fc6badc854ddd4783c30264e ssh-agent [2021-05-31T05:45:18.604Z] SSH_AUTH_SOCK=/tmp/ssh-Tc2F1OWp4ETN/agent.15 [2021-05-31T05:45:18.604Z] SSH_AGENT_PID=21 [2021-05-31T05:45:18.614Z] Running ssh-add (command line suppressed) [2021-05-31T05:45:18.726Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-217@tmp/private_key_5643428411358402903.key (/w/workspace/foundry_device-virtual-go_PR-217@tmp/private_key_5643428411358402903.key) [2021-05-31T05:45:18.749Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-31T05:45:19.113Z] + git tag --points-at HEAD [Pipeline] } [2021-05-31T05:45:19.134Z] $ docker exec --env ******** --env ******** 72ac145d1b2f7f487dfb2a517c4db581b5234a78fc6badc854ddd4783c30264e ssh-agent -k [2021-05-31T05:45:19.243Z] unset SSH_AUTH_SOCK; [2021-05-31T05:45:19.243Z] unset SSH_AGENT_PID; [2021-05-31T05:45:19.243Z] echo Agent pid 21 killed; [2021-05-31T05:45:19.259Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-31T05:45:19.348Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-31T05:45:19.348Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-31T05:45:19.469Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-31T05:45:19.468Z] $ docker exec 72ac145d1b2f7f487dfb2a517c4db581b5234a78fc6badc854ddd4783c30264e ssh-agent [2021-05-31T05:45:19.605Z] SSH_AUTH_SOCK=/tmp/ssh-UrZnCgPUb8zw/agent.55 [2021-05-31T05:45:19.605Z] SSH_AGENT_PID=61 [2021-05-31T05:45:19.621Z] Running ssh-add (command line suppressed) [2021-05-31T05:45:19.725Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-217@tmp/private_key_146407450394016687.key (/w/workspace/foundry_device-virtual-go_PR-217@tmp/private_key_146407450394016687.key) [2021-05-31T05:45:19.748Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-31T05:45:20.128Z] + git semver init [2021-05-31T05:45:20.128Z] # -> Open(): unable to determine branch for HEAD [2021-05-31T05:45:20.128Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-217/.git [2021-05-31T05:45:20.128Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-217 [2021-05-31T05:45:20.128Z] # $SEMVER_REMOTE_NAME = origin [2021-05-31T05:45:20.129Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-31T05:45:20.129Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-31T05:45:20.129Z] # $SEMVER_BRANCH = PR-217 [2021-05-31T05:45:20.129Z] # $SEMVER_TEMP = /tmp/semver-771514427 [2021-05-31T05:45:20.129Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-31T05:45:23.299Z] # '/tmp/semver-771514427' -> '/w/workspace/foundry_device-virtual-go_PR-217/.semver' [2021-05-31T05:45:23.299Z] # -> Force: false [2021-05-31T05:45:23.299Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-217/.semver [Pipeline] } [2021-05-31T05:45:23.332Z] $ docker exec --env ******** --env ******** 72ac145d1b2f7f487dfb2a517c4db581b5234a78fc6badc854ddd4783c30264e ssh-agent -k [2021-05-31T05:45:23.444Z] unset SSH_AUTH_SOCK; [2021-05-31T05:45:23.444Z] unset SSH_AGENT_PID; [2021-05-31T05:45:23.444Z] echo Agent pid 61 killed; [2021-05-31T05:45:23.465Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-31T05:45:23.940Z] + git semver [Pipeline] } [2021-05-31T05:45:23.975Z] $ docker stop --time=1 72ac145d1b2f7f487dfb2a517c4db581b5234a78fc6badc854ddd4783c30264e [2021-05-31T05:45:27.031Z] $ docker rm -f 72ac145d1b2f7f487dfb2a517c4db581b5234a78fc6badc854ddd4783c30264e [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-31T05:45:31.584Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-31T05:45:31.930Z] Stashed 1 file(s) [Pipeline] echo [2021-05-31T05:45:31.956Z] [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-31T05:45:47.727Z] Still waiting to schedule task [2021-05-31T05:45:47.728Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-31T05:45:47.728Z] Still waiting to schedule task [2021-05-31T05:45:47.728Z] ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-31T05:45:47.728Z] ‘prd-centos7-docker-4c-2g-1136’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-31T05:45:47.728Z] ‘prd-centos7-docker-4c-2g-1138’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-31T05:45:47.728Z] ‘prd-centos7-docker-4c-2g-309’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-31T05:45:47.729Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1159’ is offline [2021-05-31T05:45:47.729Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1160’ is offline [2021-05-31T06:00:19.953Z] Running on prd-centos7-docker-4c-2g-1692 in /w/workspace/foundry_device-virtual-go_PR-217 [Pipeline] { [Pipeline] ws [2021-05-31T06:00:20.052Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-05-31T06:00:20.211Z] Selected Git installation does not exist. Using Default [2021-05-31T06:00:20.211Z] The recommended git tool is: NONE [2021-05-31T06:00:24.803Z] using credential edgex-jenkins-ssh [2021-05-31T06:00:26.783Z] Cloning the remote Git repository [2021-05-31T06:00:26.803Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-31T06:00:26.868Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-05-31T06:00:26.895Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-31T06:00:26.895Z] > git --version # timeout=10 [2021-05-31T06:00:26.906Z] > git --version # 'git version 2.24.4' [2021-05-31T06:00:26.906Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-31T06:00:26.932Z] [INFO] Currently running in a labeled security context [2021-05-31T06:00:26.932Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-31T06:00:26.933Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh6410204677956907006.key [2021-05-31T06:00:26.953Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-31T06:00:27.846Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-31T06:00:27.858Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-31T06:00:27.875Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-31T06:00:27.889Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-31T06:00:27.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-31T06:00:27.891Z] [INFO] Currently running in a labeled security context [2021-05-31T06:00:27.891Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-31T06:00:27.891Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh7088712913728749940.key [2021-05-31T06:00:27.903Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/217/head:refs/remotes/origin/PR-217 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-31T06:00:28.310Z] Merging remotes/origin/master commit 8d9cac7b544984367de20437773925dcf3f7e06d into PR head commit 6944fbfa37580ab496b8b06e8a373db0c0289fb1 [2021-05-31T06:00:28.397Z] Merge succeeded, producing 6944fbfa37580ab496b8b06e8a373db0c0289fb1 [2021-05-31T06:00:28.397Z] Checking out Revision 6944fbfa37580ab496b8b06e8a373db0c0289fb1 (PR-217) [2021-05-31T06:00:28.313Z] > git config core.sparsecheckout # timeout=10 [2021-05-31T06:00:28.321Z] > git checkout -f 6944fbfa37580ab496b8b06e8a373db0c0289fb1 # timeout=10 [2021-05-31T06:00:28.350Z] > git remote # timeout=10 [2021-05-31T06:00:28.354Z] > git config --get remote.origin.url # timeout=10 [2021-05-31T06:00:28.360Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-31T06:00:28.361Z] [INFO] Currently running in a labeled security context [2021-05-31T06:00:28.361Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-31T06:00:28.362Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh5517919954788713133.key [2021-05-31T06:00:28.367Z] > git merge 8d9cac7b544984367de20437773925dcf3f7e06d # timeout=10 [2021-05-31T06:00:28.387Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-31T06:00:28.399Z] > git config core.sparsecheckout # timeout=10 [2021-05-31T06:00:28.403Z] > git checkout -f 6944fbfa37580ab496b8b06e8a373db0c0289fb1 # timeout=10 [2021-05-31T06:00:35.198Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-31T06:00:35.221Z] > git --version # timeout=10 [2021-05-31T06:00:35.227Z] > git --version # 'git version 2.24.4' [2021-05-31T06:00:35.235Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-31T06:00:36.945Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-31T06:00:37.293Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-31T06:00:37.612Z] + true [2021-05-31T06:00:37.612Z] + sudo service docker restart [2021-05-31T06:00:37.612Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-31T06:00:55.037Z] provisioning config files... [2021-05-31T06:00:55.059Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8085436803527830113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-31T06:00:55.493Z] ---> docker-login.sh [2021-05-31T06:00:55.493Z] nexus3.edgexfoundry.org:10001 [2021-05-31T06:00:55.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T06:00:55.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T06:00:55.756Z] Configure a credential helper to remove this warning. See [2021-05-31T06:00:55.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T06:00:55.756Z] [2021-05-31T06:00:55.756Z] Login Succeeded [2021-05-31T06:00:55.756Z] nexus3.edgexfoundry.org:10002 [2021-05-31T06:00:55.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T06:00:55.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T06:00:55.756Z] Configure a credential helper to remove this warning. See [2021-05-31T06:00:55.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T06:00:55.756Z] [2021-05-31T06:00:55.756Z] Login Succeeded [2021-05-31T06:00:55.756Z] nexus3.edgexfoundry.org:10003 [2021-05-31T06:00:55.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T06:00:56.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T06:00:56.017Z] Configure a credential helper to remove this warning. See [2021-05-31T06:00:56.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T06:00:56.017Z] [2021-05-31T06:00:56.017Z] Login Succeeded [2021-05-31T06:00:56.017Z] nexus3.edgexfoundry.org:10004 [2021-05-31T06:00:56.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T06:00:58.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T06:00:58.215Z] Configure a credential helper to remove this warning. See [2021-05-31T06:00:58.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T06:00:58.215Z] [2021-05-31T06:00:58.215Z] Login Succeeded [2021-05-31T06:00:58.215Z] docker.io [2021-05-31T06:00:58.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T06:00:58.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T06:00:58.215Z] Configure a credential helper to remove this warning. See [2021-05-31T06:00:58.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T06:00:58.215Z] [2021-05-31T06:00:58.215Z] Login Succeeded [2021-05-31T06:00:58.215Z] ---> docker-login.sh ends [Pipeline] } [2021-05-31T06:00:58.260Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-31T06:00:58.598Z] ========================================================= [2021-05-31T06:00:58.598Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-31T06:00:58.598Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-31T06:00:58.948Z] + 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-31T06:00:58.948Z] Sending build context to Docker daemon 8.596MB [2021-05-31T06:00:58.948Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-31T06:00:58.948Z] Step 2/8 : FROM ${BASE} [2021-05-31T06:00:58.948Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-31T06:00:58.948Z] 540db60ca938: Pulling fs layer [2021-05-31T06:00:58.948Z] adcc1eea9eea: Pulling fs layer [2021-05-31T06:00:58.948Z] 4c4ab2625f07: Pulling fs layer [2021-05-31T06:00:58.948Z] 0510c868ecb4: Pulling fs layer [2021-05-31T06:00:58.948Z] afea3b2eda06: Pulling fs layer [2021-05-31T06:00:58.948Z] 7809a108b3ef: Pulling fs layer [2021-05-31T06:00:58.948Z] f706445af74f: Pulling fs layer [2021-05-31T06:00:58.948Z] afea3b2eda06: Waiting [2021-05-31T06:00:58.948Z] 7809a108b3ef: Waiting [2021-05-31T06:00:58.948Z] f706445af74f: Waiting [2021-05-31T06:00:58.948Z] 0510c868ecb4: Waiting [2021-05-31T06:00:59.224Z] adcc1eea9eea: Verifying Checksum [2021-05-31T06:00:59.225Z] adcc1eea9eea: Download complete [2021-05-31T06:00:59.225Z] 4c4ab2625f07: Verifying Checksum [2021-05-31T06:00:59.225Z] 4c4ab2625f07: Download complete [2021-05-31T06:00:59.225Z] afea3b2eda06: Verifying Checksum [2021-05-31T06:00:59.225Z] afea3b2eda06: Download complete [2021-05-31T06:00:59.225Z] 7809a108b3ef: Verifying Checksum [2021-05-31T06:00:59.225Z] 7809a108b3ef: Download complete [2021-05-31T06:00:59.225Z] 540db60ca938: Verifying Checksum [2021-05-31T06:00:59.225Z] 540db60ca938: Download complete [2021-05-31T06:00:59.501Z] 540db60ca938: Pull complete [2021-05-31T06:00:59.771Z] adcc1eea9eea: Pull complete [2021-05-31T06:00:59.771Z] 4c4ab2625f07: Pull complete [2021-05-31T06:01:00.719Z] f706445af74f: Verifying Checksum [2021-05-31T06:01:00.719Z] f706445af74f: Download complete [2021-05-31T06:01:01.306Z] 0510c868ecb4: Verifying Checksum [2021-05-31T06:01:01.306Z] 0510c868ecb4: Download complete [2021-05-31T06:01:04.653Z] 0510c868ecb4: Pull complete [2021-05-31T06:01:04.653Z] afea3b2eda06: Pull complete [2021-05-31T06:01:04.653Z] 7809a108b3ef: Pull complete [2021-05-31T06:01:06.076Z] f706445af74f: Pull complete [2021-05-31T06:01:06.076Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-31T06:01:06.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-31T06:01:06.076Z] ---> b068be0155e3 [2021-05-31T06:01:06.076Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-31T06:01:10.331Z] ---> Running in c42c05e3afd4 [2021-05-31T06:01:10.331Z] Removing intermediate container c42c05e3afd4 [2021-05-31T06:01:10.331Z] ---> ecf94f0243bc [2021-05-31T06:01:10.331Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-31T06:01:10.331Z] ---> Running in fa6a70eac1e0 [2021-05-31T06:01:12.891Z] Removing intermediate container fa6a70eac1e0 [2021-05-31T06:01:12.891Z] ---> 1abb74efc435 [2021-05-31T06:01:12.891Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-31T06:01:12.891Z] ---> Running in 99cba8262c65 [2021-05-31T06:01:12.891Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-31T06:01:12.891Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-31T06:01:13.851Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-31T06:01:13.851Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-31T06:01:14.118Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-31T06:01:14.118Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-31T06:01:14.388Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-31T06:01:14.388Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-31T06:01:16.489Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-31T06:01:16.489Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-31T06:01:16.489Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-31T06:01:16.489Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-31T06:01:16.489Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-31T06:01:16.489Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-31T06:01:16.489Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-31T06:01:16.489Z] Executing busybox-1.32.1-r6.trigger [2021-05-31T06:01:16.754Z] OK: 156 MiB in 53 packages [2021-05-31T06:01:17.018Z] Removing intermediate container 99cba8262c65 [2021-05-31T06:01:17.018Z] ---> 0ab681b7b34a [2021-05-31T06:01:17.018Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-31T06:01:17.018Z] ---> Running in 5d0059e18b8d [2021-05-31T06:01:17.284Z] Removing intermediate container 5d0059e18b8d [2021-05-31T06:01:17.284Z] ---> 2eb7afc57612 [2021-05-31T06:01:17.284Z] Step 7/8 : COPY . . [2021-05-31T06:01:17.554Z] ---> 66fb42f53aea [2021-05-31T06:01:17.554Z] Step 8/8 : RUN go mod download [2021-05-31T06:01:17.819Z] ---> Running in 65779b999649 [2021-05-31T06:01:35.410Z] Removing intermediate container 65779b999649 [2021-05-31T06:01:35.410Z] ---> 8b5bf2c2c43b [2021-05-31T06:01:35.410Z] Successfully built 8b5bf2c2c43b [2021-05-31T06:01:35.410Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-31T06:01:35.842Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-31T06:01:35.842Z] . [Pipeline] withDockerContainer [2021-05-31T06:01:35.964Z] prd-centos7-docker-4c-2g-1692 does not seem to be running inside a container [2021-05-31T06:01:36.012Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-31T06:01:36.414Z] $ docker top e0a9f7ebbf5194a0b64d2f0c00e7fae21543c03a48c5539b417e8f30af7e7dce -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-31T06:01:36.906Z] + go version [2021-05-31T06:01:36.906Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-31T06:01:36.936Z] $ docker stop --time=1 e0a9f7ebbf5194a0b64d2f0c00e7fae21543c03a48c5539b417e8f30af7e7dce [2021-05-31T06:01:39.005Z] $ docker rm -f e0a9f7ebbf5194a0b64d2f0c00e7fae21543c03a48c5539b417e8f30af7e7dce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-31T06:01:39.748Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-31T06:01:39.749Z] . [Pipeline] withDockerContainer [2021-05-31T06:01:39.856Z] prd-centos7-docker-4c-2g-1692 does not seem to be running inside a container [2021-05-31T06:01:39.930Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-31T06:01:40.563Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1696 in /w/workspace/foundry_device-virtual-go_PR-217 [2021-05-31T06:01:40.643Z] $ docker top e1dfae4e46dfcd40cb3d9d1005be28a9d4fda65a6d5012b0b7742410c7ce2e10 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws [2021-05-31T06:01:42.868Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-05-31T06:01:43.080Z] + go mod tidy [2021-05-31T06:01:43.132Z] Selected Git installation does not exist. Using Default [2021-05-31T06:01:43.132Z] The recommended git tool is: NONE [Pipeline] sh [2021-05-31T06:01:43.680Z] + make test [2021-05-31T06:01:43.680Z] go mod tidy [2021-05-31T06:01:43.680Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-31T06:01:44.273Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-31T06:01:56.242Z] using credential edgex-jenkins-ssh [2021-05-31T06:01:56.267Z] Cloning the remote Git repository [2021-05-31T06:01:56.315Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-31T06:01:56.461Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-05-31T06:01:56.553Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-31T06:01:56.554Z] > git --version # timeout=10 [2021-05-31T06:01:56.569Z] > git --version # 'git version 2.17.1' [2021-05-31T06:01:56.571Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-31T06:01:58.617Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-31T06:02:00.282Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-31T06:02:00.310Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-31T06:02:01.003Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-31T06:02:01.035Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-31T06:02:01.036Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-31T06:02:01.048Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/217/head:refs/remotes/origin/PR-217 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-31T06:02:04.531Z] Merging remotes/origin/master commit 8d9cac7b544984367de20437773925dcf3f7e06d into PR head commit 6944fbfa37580ab496b8b06e8a373db0c0289fb1 [2021-05-31T06:02:04.719Z] Merge succeeded, producing 6944fbfa37580ab496b8b06e8a373db0c0289fb1 [2021-05-31T06:02:04.720Z] Checking out Revision 6944fbfa37580ab496b8b06e8a373db0c0289fb1 (PR-217) [2021-05-31T06:02:04.545Z] > git config core.sparsecheckout # timeout=10 [2021-05-31T06:02:04.561Z] > git checkout -f 6944fbfa37580ab496b8b06e8a373db0c0289fb1 # timeout=10 [2021-05-31T06:02:04.641Z] > git remote # timeout=10 [2021-05-31T06:02:04.657Z] > git config --get remote.origin.url # timeout=10 [2021-05-31T06:02:04.671Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-31T06:02:04.682Z] > git merge 8d9cac7b544984367de20437773925dcf3f7e06d # timeout=10 [2021-05-31T06:02:04.702Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-31T06:02:04.720Z] > git config core.sparsecheckout # timeout=10 [2021-05-31T06:02:04.729Z] > git checkout -f 6944fbfa37580ab496b8b06e8a373db0c0289fb1 # timeout=10 [2021-05-31T06:02:10.102Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-31T06:02:10.157Z] > git --version # timeout=10 [2021-05-31T06:02:10.167Z] > git --version # 'git version 2.17.1' [2021-05-31T06:02:10.185Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-31T06:02:11.774Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-31T06:02:12.199Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-31T06:02:12.569Z] + sudo service docker restart+ [2021-05-31T06:02:12.570Z] true [2021-05-31T06:02:12.877Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-31T06:02:12.877Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.260s coverage: 63.8% of statements [2021-05-31T06:02:12.877Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-31T06:02:27.978Z] gofmt -l . [2021-05-31T06:02:27.978Z] [ "`gofmt -l .`" = "" ] [2021-05-31T06:02:27.978Z] ./bin/test-attribution-txt.sh [2021-05-31T06:02:27.978Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-31T06:02:28.022Z] $ docker stop --time=1 e1dfae4e46dfcd40cb3d9d1005be28a9d4fda65a6d5012b0b7742410c7ce2e10 [2021-05-31T06:02:30.124Z] $ docker rm -f e1dfae4e46dfcd40cb3d9d1005be28a9d4fda65a6d5012b0b7742410c7ce2e10 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-31T06:02:30.630Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] withEnv [Pipeline] { [2021-05-31T06:02:30.851Z] Stashed 1 file(s) [Pipeline] configFileProvider [2021-05-31T06:02:30.868Z] provisioning config files... [2021-05-31T06:02:30.897Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6496393473392467536tmp [Pipeline] } [Pipeline] // script [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-31T06:02:31.392Z] ---> docker-login.sh [2021-05-31T06:02:31.392Z] nexus3.edgexfoundry.org:10001 [2021-05-31T06:02:33.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T06:02:33.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T06:02:33.585Z] Configure a credential helper to remove this warning. See [2021-05-31T06:02:33.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T06:02:33.585Z] [2021-05-31T06:02:33.585Z] Login Succeeded [2021-05-31T06:02:33.585Z] nexus3.edgexfoundry.org:10002 [2021-05-31T06:02:33.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh [2021-05-31T06:02:34.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T06:02:34.158Z] Configure a credential helper to remove this warning. See [2021-05-31T06:02:34.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T06:02:34.158Z] [2021-05-31T06:02:34.158Z] Login Succeeded [2021-05-31T06:02:34.158Z] nexus3.edgexfoundry.org:10003 [2021-05-31T06:02:34.228Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-31T06:02:34.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T06:02:34.554Z] + ls -al . [2021-05-31T06:02:34.555Z] total 132 [2021-05-31T06:02:34.555Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 31 06:02 . [2021-05-31T06:02:34.555Z] drwxrwxr-x. 4 jenkins jenkins 28 May 31 06:00 .. [2021-05-31T06:02:34.555Z] -rw-rw-r--. 1 jenkins jenkins 8153 May 31 06:00 Attribution.txt [2021-05-31T06:02:34.555Z] drwxrwxr-x. 2 jenkins jenkins 64 May 31 06:00 bin [2021-05-31T06:02:34.555Z] drwxrwxr-x. 3 jenkins jenkins 32 May 31 06:00 cmd [2021-05-31T06:02:34.555Z] -rw-r--r--. 1 jenkins jenkins 47247 May 31 06:02 coverage.out [2021-05-31T06:02:34.555Z] -rw-rw-r--. 1 jenkins jenkins 1921 May 31 06:00 Dockerfile [2021-05-31T06:02:34.555Z] -rw-rw-r--. 1 jenkins jenkins 998 May 31 06:00 Dockerfile.build [2021-05-31T06:02:34.555Z] drwxrwxr-x. 8 jenkins jenkins 179 May 31 06:00 .git [2021-05-31T06:02:34.555Z] drwxrwxr-x. 2 jenkins jenkins 103 May 31 06:00 .github [2021-05-31T06:02:34.555Z] -rw-rw-r--. 1 jenkins jenkins 277 May 31 06:00 .gitignore [2021-05-31T06:02:34.555Z] -rw-r--r--. 1 jenkins jenkins 809 May 31 06:02 go.mod [2021-05-31T06:02:34.555Z] -rw-r--r--. 1 jenkins jenkins 23431 May 31 06:01 go.sum [2021-05-31T06:02:34.555Z] drwxrwxr-x. 3 jenkins jenkins 20 May 31 06:00 internal [2021-05-31T06:02:34.555Z] -rw-rw-r--. 1 jenkins jenkins 660 May 31 06:00 Jenkinsfile [2021-05-31T06:02:34.555Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 31 06:00 LICENSE [2021-05-31T06:02:34.555Z] -rw-rw-r--. 1 jenkins jenkins 905 May 31 06:00 Makefile [2021-05-31T06:02:34.555Z] -rw-rw-r--. 1 jenkins jenkins 2745 May 31 06:00 README.md [2021-05-31T06:02:34.555Z] -rw-rw-r--. 1 jenkins jenkins 5 May 31 05:45 VERSION [2021-05-31T06:02:34.555Z] -rw-rw-r--. 1 jenkins jenkins 235 May 31 06:00 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-31T06:02:34.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T06:02:34.712Z] Configure a credential helper to remove this warning. See [2021-05-31T06:02:34.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T06:02:34.712Z] [2021-05-31T06:02:34.712Z] Login Succeeded [2021-05-31T06:02:34.712Z] nexus3.edgexfoundry.org:10004 [2021-05-31T06:02:34.895Z] + 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=6944fbfa37580ab496b8b06e8a373db0c0289fb1 --label arch=amd64 --label version=0.0.0 . [2021-05-31T06:02:34.895Z] Sending build context to Docker daemon 8.669MB [2021-05-31T06:02:34.895Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-05-31T06:02:34.895Z] Step 2/26 : FROM ${BASE} AS builder [2021-05-31T06:02:34.895Z] ---> 8b5bf2c2c43b [2021-05-31T06:02:34.895Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-31T06:02:34.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T06:02:35.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T06:02:35.262Z] Configure a credential helper to remove this warning. See [2021-05-31T06:02:35.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T06:02:35.262Z] [2021-05-31T06:02:35.262Z] Login Succeeded [2021-05-31T06:02:35.262Z] docker.io [2021-05-31T06:02:37.210Z] ---> Running in 2992d7ec42ee [2021-05-31T06:02:37.210Z] Removing intermediate container 2992d7ec42ee [2021-05-31T06:02:37.210Z] ---> 2a3502c320c6 [2021-05-31T06:02:37.210Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-05-31T06:02:37.210Z] ---> Running in 09f8a9d36378 [2021-05-31T06:02:37.210Z] Removing intermediate container 09f8a9d36378 [2021-05-31T06:02:37.210Z] ---> a9c9066dbf0f [2021-05-31T06:02:37.210Z] Step 5/26 : WORKDIR /device-virtual-go [2021-05-31T06:02:37.211Z] ---> Running in 62961d890ee2 [2021-05-31T06:02:37.211Z] Removing intermediate container 62961d890ee2 [2021-05-31T06:02:37.211Z] ---> 94f8d0ce1c83 [2021-05-31T06:02:37.211Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-31T06:02:37.211Z] ---> Running in bdaff27e843e [2021-05-31T06:02:37.211Z] Removing intermediate container bdaff27e843e [2021-05-31T06:02:37.211Z] ---> 19b318f8a84f [2021-05-31T06:02:37.211Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-31T06:02:37.211Z] ---> Running in d9499b9d3a0f [2021-05-31T06:02:37.211Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-31T06:02:37.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-31T06:02:37.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-31T06:02:37.217Z] Configure a credential helper to remove this warning. See [2021-05-31T06:02:37.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-31T06:02:37.217Z] [2021-05-31T06:02:37.217Z] Login Succeeded [2021-05-31T06:02:37.217Z] ---> docker-login.sh ends [Pipeline] } [2021-05-31T06:02:37.261Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-05-31T06:02:37.798Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [Pipeline] echo [2021-05-31T06:02:37.868Z] ========================================================= [2021-05-31T06:02:37.868Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-31T06:02:37.868Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-31T06:02:38.308Z] + 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-31T06:02:38.380Z] OK: 156 MiB in 53 packages [2021-05-31T06:02:38.645Z] Removing intermediate container d9499b9d3a0f [2021-05-31T06:02:38.645Z] ---> e23e845f66cc [2021-05-31T06:02:38.645Z] Step 8/26 : COPY . . [2021-05-31T06:02:38.907Z] ---> 1f4f8ae3efad [2021-05-31T06:02:38.907Z] Step 9/26 : RUN go mod tidy [2021-05-31T06:02:38.915Z] Sending build context to Docker daemon 8.595MB [2021-05-31T06:02:38.916Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-31T06:02:38.916Z] Step 2/8 : FROM ${BASE} [2021-05-31T06:02:38.916Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-31T06:02:38.916Z] 595b0fe564bb: Pulling fs layer [2021-05-31T06:02:39.170Z] ---> Running in 34afe6cb37ae [2021-05-31T06:02:39.194Z] 7186ed65a4f7: Pulling fs layer [2021-05-31T06:02:39.194Z] 316046926c0a: Pulling fs layer [2021-05-31T06:02:39.194Z] 4ebd0625c992: Pulling fs layer [2021-05-31T06:02:39.194Z] 207e8628e3a3: Pulling fs layer [2021-05-31T06:02:39.194Z] c791037a9be2: Pulling fs layer [2021-05-31T06:02:39.194Z] ffd874e62e21: Pulling fs layer [2021-05-31T06:02:39.194Z] 207e8628e3a3: Waiting [2021-05-31T06:02:39.194Z] c791037a9be2: Waiting [2021-05-31T06:02:39.194Z] ffd874e62e21: Waiting [2021-05-31T06:02:39.194Z] 4ebd0625c992: Waiting [2021-05-31T06:02:39.194Z] 316046926c0a: Verifying Checksum [2021-05-31T06:02:39.194Z] 316046926c0a: Download complete [2021-05-31T06:02:39.194Z] 7186ed65a4f7: Download complete [2021-05-31T06:02:39.194Z] 207e8628e3a3: Download complete [2021-05-31T06:02:39.194Z] c791037a9be2: Verifying Checksum [2021-05-31T06:02:39.194Z] c791037a9be2: Download complete [2021-05-31T06:02:39.470Z] 595b0fe564bb: Verifying Checksum [2021-05-31T06:02:39.470Z] 595b0fe564bb: Download complete [2021-05-31T06:02:39.745Z] Removing intermediate container 34afe6cb37ae [2021-05-31T06:02:39.746Z] ---> 69e85eb5b07d [2021-05-31T06:02:39.746Z] Step 10/26 : RUN go mod download [2021-05-31T06:02:39.746Z] ---> Running in b3c675dd3caa [2021-05-31T06:02:40.068Z] 595b0fe564bb: Pull complete [2021-05-31T06:02:40.320Z] Removing intermediate container b3c675dd3caa [2021-05-31T06:02:40.321Z] ---> aa3500cdf461 [2021-05-31T06:02:40.321Z] Step 11/26 : ARG MAKE='make build' [2021-05-31T06:02:40.321Z] ---> Running in 9ef962716d1e [2021-05-31T06:02:40.321Z] Removing intermediate container 9ef962716d1e [2021-05-31T06:02:40.321Z] ---> d230c952ecef [2021-05-31T06:02:40.321Z] Step 12/26 : RUN $MAKE [2021-05-31T06:02:40.321Z] ---> Running in 621f9da46630 [2021-05-31T06:02:40.588Z] go mod tidy [2021-05-31T06:02:40.855Z] 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-31T06:02:41.066Z] 7186ed65a4f7: Pull complete [2021-05-31T06:02:41.347Z] 316046926c0a: Pull complete [2021-05-31T06:02:42.813Z] ffd874e62e21: Download complete [2021-05-31T06:02:43.799Z] 4ebd0625c992: Verifying Checksum [2021-05-31T06:02:43.799Z] 4ebd0625c992: Download complete [2021-05-31T06:02:53.647Z] 4ebd0625c992: Pull complete [2021-05-31T06:02:53.647Z] 207e8628e3a3: Pull complete [2021-05-31T06:02:56.225Z] Removing intermediate container 621f9da46630 [2021-05-31T06:02:56.225Z] ---> 43c6cab30212 [2021-05-31T06:02:56.225Z] Step 13/26 : FROM alpine:3.12 [2021-05-31T06:02:56.225Z] 3.12: Pulling from library/alpine [2021-05-31T06:02:56.231Z] c791037a9be2: Pull complete [2021-05-31T06:02:56.513Z] 339de151aab4: Pulling fs layer [2021-05-31T06:02:56.513Z] 339de151aab4: Verifying Checksum [2021-05-31T06:02:56.513Z] 339de151aab4: Download complete [2021-05-31T06:02:56.776Z] 339de151aab4: Pull complete [2021-05-31T06:02:56.776Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-31T06:02:56.776Z] Status: Downloaded newer image for alpine:3.12 [2021-05-31T06:02:56.776Z] ---> 13621d1b12d4 [2021-05-31T06:02:56.776Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-31T06:02:56.776Z] ---> Running in 06c830246dfe [2021-05-31T06:02:56.776Z] Removing intermediate container 06c830246dfe [2021-05-31T06:02:56.776Z] ---> 93e6fcabe9b4 [2021-05-31T06:02:56.776Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-31T06:02:57.037Z] ---> Running in b004f57faaa1 [2021-05-31T06:02:57.297Z] Removing intermediate container b004f57faaa1 [2021-05-31T06:02:57.297Z] ---> a3bc67d43cfc [2021-05-31T06:02:57.297Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-31T06:02:57.297Z] ---> Running in 9495c2bf076f [2021-05-31T06:02:57.690Z] ffd874e62e21: Pull complete [2021-05-31T06:02:57.690Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-31T06:02:57.872Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-31T06:02:57.969Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-31T06:02:57.969Z] ---> cfc18b08335c [2021-05-31T06:02:57.969Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-31T06:02:58.450Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-31T06:02:58.711Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-31T06:02:58.711Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-31T06:02:58.976Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-31T06:02:58.976Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-31T06:03:01.461Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-31T06:03:01.461Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-31T06:03:01.461Z] Executing busybox-1.31.1-r20.trigger [2021-05-31T06:03:01.461Z] OK: 8 MiB in 20 packages [2021-05-31T06:03:01.461Z] Removing intermediate container 9495c2bf076f [2021-05-31T06:03:01.461Z] ---> c412c015bf7d [2021-05-31T06:03:01.461Z] Step 17/26 : WORKDIR / [2021-05-31T06:03:01.461Z] ---> Running in 4397e9e86bf9 [2021-05-31T06:03:01.461Z] Removing intermediate container 4397e9e86bf9 [2021-05-31T06:03:01.461Z] ---> f33fda9424e6 [2021-05-31T06:03:01.461Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-31T06:03:01.461Z] ---> 52f2b3105f1b [2021-05-31T06:03:01.461Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-31T06:03:01.461Z] ---> 069c6d642197 [2021-05-31T06:03:01.461Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-05-31T06:03:01.461Z] ---> 5a0a2bae924b [2021-05-31T06:03:01.461Z] Step 21/26 : EXPOSE 59900 [2021-05-31T06:03:01.461Z] ---> Running in a6a6a807276c [2021-05-31T06:03:01.461Z] Removing intermediate container a6a6a807276c [2021-05-31T06:03:01.461Z] ---> 66014b97b3e8 [2021-05-31T06:03:01.461Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-05-31T06:03:01.461Z] ---> Running in 25d714e5cb7e [2021-05-31T06:03:01.461Z] Removing intermediate container 25d714e5cb7e [2021-05-31T06:03:01.461Z] ---> 95d7f71c72c9 [2021-05-31T06:03:01.461Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-31T06:03:01.461Z] ---> Running in 63d491ceca91 [2021-05-31T06:03:01.461Z] Removing intermediate container 63d491ceca91 [2021-05-31T06:03:01.461Z] ---> 1142528ee300 [2021-05-31T06:03:01.461Z] Step 24/26 : LABEL arch=amd64 [2021-05-31T06:03:01.461Z] ---> Running in 6cb237a67e56 [2021-05-31T06:03:01.487Z] ---> Running in 29ebc392079c [2021-05-31T06:03:01.488Z] Removing intermediate container 29ebc392079c [2021-05-31T06:03:01.488Z] ---> bc9826682037 [2021-05-31T06:03:01.488Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-31T06:03:01.488Z] ---> Running in f2fb99c2e9a4 [2021-05-31T06:03:01.729Z] Removing intermediate container 6cb237a67e56 [2021-05-31T06:03:01.730Z] ---> a0971e92de2e [2021-05-31T06:03:01.730Z] Step 25/26 : LABEL git_sha=6944fbfa37580ab496b8b06e8a373db0c0289fb1 [2021-05-31T06:03:01.730Z] ---> Running in 37e6e9700068 [2021-05-31T06:03:01.730Z] Removing intermediate container 37e6e9700068 [2021-05-31T06:03:01.730Z] ---> f64c876424e6 [2021-05-31T06:03:01.730Z] Step 26/26 : LABEL version=0.0.0 [2021-05-31T06:03:01.730Z] ---> Running in 57215d6c0f9f [2021-05-31T06:03:01.730Z] Removing intermediate container 57215d6c0f9f [2021-05-31T06:03:01.730Z] ---> 10b887a42a5f [2021-05-31T06:03:01.730Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-31T06:03:01.730Z] Successfully built 10b887a42a5f [2021-05-31T06:03:01.730Z] 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-31T06:03:02.577Z] ---> job-cost.sh [2021-05-31T06:03:02.577Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Bsfz [2021-05-31T06:03:03.477Z] Removing intermediate container f2fb99c2e9a4 [2021-05-31T06:03:03.477Z] ---> dd7d7565b28c [2021-05-31T06:03:03.477Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-31T06:03:03.477Z] ---> Running in d247f3b307de [2021-05-31T06:03:04.911Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-31T06:03:07.731Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-31T06:03:07.731Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-31T06:03:07.731Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-31T06:03:07.731Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-31T06:03:07.731Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-31T06:03:07.731Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-31T06:03:07.731Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-31T06:03:07.731Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-31T06:03:07.731Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-31T06:03:07.731Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-31T06:03:07.731Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-31T06:03:07.731Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-31T06:03:07.731Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-31T06:03:08.020Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-31T06:03:08.020Z] Executing busybox-1.32.1-r6.trigger [2021-05-31T06:03:08.020Z] OK: 145 MiB in 53 packages [2021-05-31T06:03:11.094Z] Removing intermediate container d247f3b307de [2021-05-31T06:03:11.094Z] ---> 9888491eb31d [2021-05-31T06:03:11.094Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-31T06:03:11.094Z] ---> Running in f1e08eec38b1 [2021-05-31T06:03:11.094Z] Removing intermediate container f1e08eec38b1 [2021-05-31T06:03:11.094Z] ---> 387fa666f0d6 [2021-05-31T06:03:11.094Z] Step 7/8 : COPY . . [2021-05-31T06:03:11.392Z] ---> c6a01c00bdb0 [2021-05-31T06:03:11.392Z] Step 8/8 : RUN go mod download [2021-05-31T06:03:11.392Z] ---> Running in 7fb610db4c37 [2021-05-31T06:03:12.374Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-31T06:03:28.373Z] lf-activate-venv(): INFO: Adding /tmp/venv-Bsfz/bin to PATH [2021-05-31T06:03:28.373Z] INFO: No Stack... [2021-05-31T06:03:29.320Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-31T06:03:29.899Z] INFO: Archiving Costs [Pipeline] sh [2021-05-31T06:03:30.230Z] + cut -d, -f6 [2021-05-31T06:03:30.230Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2021-05-31T06:03:30.306Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-217-1-stack-cost] [2021-05-31T06:03:30.316Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-217-1-stack-cost] did not exist. Created. [2021-05-31T06:03:30.316Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-217-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-31T06:03:30.746Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-31T06:03:30.840Z] Stashed 1 file(s) [Pipeline] } [2021-05-31T06:03:30.859Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-217-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-31T06:03:41.758Z] Removing intermediate container 7fb610db4c37 [2021-05-31T06:03:41.758Z] ---> 6cd5ccdb462e [2021-05-31T06:03:41.758Z] Successfully built 6cd5ccdb462e [2021-05-31T06:03:41.758Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-31T06:03:42.141Z] + docker inspect -f . ci-base-image-arm64 [2021-05-31T06:03:42.141Z] . [Pipeline] withDockerContainer [2021-05-31T06:03:42.451Z] prd-ubuntu18.04-docker-arm64-4c-16g-1696 does not seem to be running inside a container [2021-05-31T06:03:42.532Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-31T06:03:44.257Z] $ docker top 88d4de67973de8faba33791925679a7bc5a8e8fd1e0472a88bc98dabe06eaeb0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-31T06:03:45.332Z] + go version [2021-05-31T06:03:45.332Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-31T06:03:45.363Z] $ docker stop --time=1 88d4de67973de8faba33791925679a7bc5a8e8fd1e0472a88bc98dabe06eaeb0 [2021-05-31T06:03:48.053Z] $ docker rm -f 88d4de67973de8faba33791925679a7bc5a8e8fd1e0472a88bc98dabe06eaeb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-31T06:03:49.182Z] + docker inspect -f . ci-base-image-arm64 [2021-05-31T06:03:49.182Z] . [Pipeline] withDockerContainer [2021-05-31T06:03:49.488Z] prd-ubuntu18.04-docker-arm64-4c-16g-1696 does not seem to be running inside a container [2021-05-31T06:03:49.575Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-31T06:03:51.979Z] $ docker top af40ad58850c36979e63872f1f33d3f754050a9fe3a7d4294732b561947177b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-31T06:03:53.059Z] + go mod tidy [Pipeline] sh [2021-05-31T06:03:54.370Z] + make test [2021-05-31T06:03:54.370Z] go mod tidy [2021-05-31T06:03:54.974Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-31T06:03:57.062Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-31T06:05:06.048Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-31T06:05:06.048Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 2.001s coverage: 63.8% of statements [2021-05-31T06:05:06.048Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-31T06:05:37.586Z] gofmt -l . [2021-05-31T06:05:37.586Z] [ "`gofmt -l .`" = "" ] [2021-05-31T06:05:37.586Z] ./bin/test-attribution-txt.sh [2021-05-31T06:05:37.586Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-31T06:05:37.623Z] $ docker stop --time=1 af40ad58850c36979e63872f1f33d3f754050a9fe3a7d4294732b561947177b0 [2021-05-31T06:05:40.337Z] $ docker rm -f af40ad58850c36979e63872f1f33d3f754050a9fe3a7d4294732b561947177b0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-31T06:05:43.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-31T06:05:43.518Z] Warning: overwriting stash ‘coverage-report’ [2021-05-31T06:05:46.022Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-31T06:05:46.674Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-31T06:05:47.039Z] + ls -al . [2021-05-31T06:05:47.039Z] total 156 [2021-05-31T06:05:47.039Z] drwxrwxr-x 7 jenkins jenkins 4096 May 31 06:05 . [2021-05-31T06:05:47.039Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 06:01 .. [2021-05-31T06:05:47.039Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 06:02 .git [2021-05-31T06:05:47.039Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 06:02 .github [2021-05-31T06:05:47.039Z] -rw-rw-r-- 1 jenkins jenkins 277 May 31 06:02 .gitignore [2021-05-31T06:05:47.039Z] -rw-rw-r-- 1 jenkins jenkins 8153 May 31 06:02 Attribution.txt [2021-05-31T06:05:47.039Z] -rw-rw-r-- 1 jenkins jenkins 1921 May 31 06:02 Dockerfile [2021-05-31T06:05:47.039Z] -rw-rw-r-- 1 jenkins jenkins 998 May 31 06:02 Dockerfile.build [2021-05-31T06:05:47.039Z] -rw-rw-r-- 1 jenkins jenkins 660 May 31 06:02 Jenkinsfile [2021-05-31T06:05:47.039Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 06:02 LICENSE [2021-05-31T06:05:47.039Z] -rw-rw-r-- 1 jenkins jenkins 905 May 31 06:02 Makefile [2021-05-31T06:05:47.039Z] -rw-rw-r-- 1 jenkins jenkins 2745 May 31 06:02 README.md [2021-05-31T06:05:47.039Z] -rw-rw-r-- 1 jenkins jenkins 5 May 31 05:45 VERSION [2021-05-31T06:05:47.039Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 06:02 bin [2021-05-31T06:05:47.039Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 06:02 cmd [2021-05-31T06:05:47.039Z] -rw-r--r-- 1 jenkins jenkins 47247 May 31 06:05 coverage.out [2021-05-31T06:05:47.039Z] -rw-r--r-- 1 jenkins jenkins 809 May 31 06:05 go.mod [2021-05-31T06:05:47.039Z] -rw-r--r-- 1 jenkins jenkins 23431 May 31 06:03 go.sum [2021-05-31T06:05:47.039Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 06:02 internal [2021-05-31T06:05:47.039Z] -rw-rw-r-- 1 jenkins jenkins 235 May 31 06:02 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-31T06:05:47.417Z] + 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=6944fbfa37580ab496b8b06e8a373db0c0289fb1 --label arch=arm64 --label version=0.0.0 . [2021-05-31T06:05:49.917Z] Sending build context to Docker daemon 8.668MB [2021-05-31T06:05:49.918Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-05-31T06:05:49.918Z] Step 2/26 : FROM ${BASE} AS builder [2021-05-31T06:05:49.918Z] ---> 6cd5ccdb462e [2021-05-31T06:05:49.918Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-31T06:05:49.918Z] ---> Running in 34f4f1f43264 [2021-05-31T06:05:49.918Z] Removing intermediate container 34f4f1f43264 [2021-05-31T06:05:49.918Z] ---> 8865ceb6131d [2021-05-31T06:05:49.918Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-05-31T06:05:49.918Z] ---> Running in 15a610993dc5 [2021-05-31T06:05:49.918Z] Removing intermediate container 15a610993dc5 [2021-05-31T06:05:49.918Z] ---> fe88e3ef1663 [2021-05-31T06:05:49.918Z] Step 5/26 : WORKDIR /device-virtual-go [2021-05-31T06:05:49.918Z] ---> Running in 734aeb318305 [2021-05-31T06:05:49.918Z] Removing intermediate container 734aeb318305 [2021-05-31T06:05:49.918Z] ---> 4b880e187ce8 [2021-05-31T06:05:49.918Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-31T06:05:50.201Z] ---> Running in f20efa04d146 [2021-05-31T06:05:52.177Z] Removing intermediate container f20efa04d146 [2021-05-31T06:05:52.177Z] ---> 987a6ae0fefa [2021-05-31T06:05:52.177Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-31T06:05:52.450Z] ---> Running in 0059329ee81f [2021-05-31T06:05:53.899Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-31T06:05:54.493Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-31T06:05:55.469Z] OK: 145 MiB in 53 packages [2021-05-31T06:05:56.448Z] Removing intermediate container 0059329ee81f [2021-05-31T06:05:56.448Z] ---> e39a18e2cf55 [2021-05-31T06:05:56.448Z] Step 8/26 : COPY . . [2021-05-31T06:05:59.548Z] ---> 909d99f9d7ce [2021-05-31T06:05:59.548Z] Step 9/26 : RUN go mod tidy [2021-05-31T06:05:59.548Z] ---> Running in 61fae317be21 [2021-05-31T06:06:01.017Z] Removing intermediate container 61fae317be21 [2021-05-31T06:06:01.017Z] ---> 20dd028baec3 [2021-05-31T06:06:01.017Z] Step 10/26 : RUN go mod download [2021-05-31T06:06:01.017Z] ---> Running in d2107057fafa [2021-05-31T06:06:03.750Z] Removing intermediate container d2107057fafa [2021-05-31T06:06:03.750Z] ---> c7982c1ee2ea [2021-05-31T06:06:03.750Z] Step 11/26 : ARG MAKE='make build' [2021-05-31T06:06:03.750Z] ---> Running in f4f8587b4d14 [2021-05-31T06:06:04.030Z] Removing intermediate container f4f8587b4d14 [2021-05-31T06:06:04.030Z] ---> 4faf20b83d87 [2021-05-31T06:06:04.030Z] Step 12/26 : RUN $MAKE [2021-05-31T06:06:04.322Z] ---> Running in c18898df0e05 [2021-05-31T06:06:06.756Z] go mod tidy [2021-05-31T06:06:06.756Z] 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-31T06:06:56.558Z] Removing intermediate container c18898df0e05 [2021-05-31T06:06:56.558Z] ---> 08d10a55544a [2021-05-31T06:06:56.558Z] Step 13/26 : FROM alpine:3.12 [2021-05-31T06:06:56.558Z] 3.12: Pulling from library/alpine [2021-05-31T06:06:56.558Z] d2f70382dc9a: Pulling fs layer [2021-05-31T06:06:56.558Z] d2f70382dc9a: Verifying Checksum [2021-05-31T06:06:56.558Z] d2f70382dc9a: Download complete [2021-05-31T06:06:57.151Z] d2f70382dc9a: Pull complete [2021-05-31T06:06:57.151Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-31T06:06:57.151Z] Status: Downloaded newer image for alpine:3.12 [2021-05-31T06:06:57.151Z] ---> 9852663dfa18 [2021-05-31T06:06:57.151Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-31T06:06:57.423Z] ---> Running in 00b53ccff8f4 [2021-05-31T06:06:58.031Z] Removing intermediate container 00b53ccff8f4 [2021-05-31T06:06:58.031Z] ---> d5c369b3c207 [2021-05-31T06:06:58.031Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-31T06:06:58.031Z] ---> Running in ea79834ebc4d [2021-05-31T06:07:00.683Z] Removing intermediate container ea79834ebc4d [2021-05-31T06:07:00.683Z] ---> 2aa8ece7201c [2021-05-31T06:07:00.683Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-31T06:07:00.683Z] ---> Running in 456ffa56abfc [2021-05-31T06:07:01.675Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-31T06:07:02.275Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-31T06:07:03.702Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-31T06:07:03.703Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-31T06:07:03.703Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-31T06:07:03.974Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-31T06:07:04.250Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-31T06:07:04.250Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-31T06:07:04.250Z] Executing busybox-1.31.1-r20.trigger [2021-05-31T06:07:04.250Z] OK: 8 MiB in 20 packages [2021-05-31T06:07:05.687Z] Removing intermediate container 456ffa56abfc [2021-05-31T06:07:05.687Z] ---> c97b9ac80002 [2021-05-31T06:07:05.687Z] Step 17/26 : WORKDIR / [2021-05-31T06:07:05.687Z] ---> Running in 9eb324b0b331 [2021-05-31T06:07:06.285Z] Removing intermediate container 9eb324b0b331 [2021-05-31T06:07:06.285Z] ---> 8d98c43976e0 [2021-05-31T06:07:06.285Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-31T06:07:07.260Z] ---> ba5302ccb812 [2021-05-31T06:07:07.260Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-31T06:07:07.883Z] ---> 156eafff07c9 [2021-05-31T06:07:07.883Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-05-31T06:07:09.395Z] ---> d217f6fadb43 [2021-05-31T06:07:09.396Z] Step 21/26 : EXPOSE 59900 [2021-05-31T06:07:09.396Z] ---> Running in d9cc0f680cf0 [2021-05-31T06:07:12.006Z] Removing intermediate container d9cc0f680cf0 [2021-05-31T06:07:12.006Z] ---> a5de8e296619 [2021-05-31T06:07:12.006Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-05-31T06:07:12.006Z] ---> Running in a78bb2dad1e1 [2021-05-31T06:07:12.286Z] Removing intermediate container a78bb2dad1e1 [2021-05-31T06:07:12.286Z] ---> 52aae783b0ef [2021-05-31T06:07:12.286Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-31T06:07:12.286Z] ---> Running in ac32cf246446 [2021-05-31T06:07:12.286Z] Removing intermediate container ac32cf246446 [2021-05-31T06:07:12.286Z] ---> f16411e5cb4b [2021-05-31T06:07:12.286Z] Step 24/26 : LABEL arch=arm64 [2021-05-31T06:07:12.286Z] ---> Running in c7440a34bbf2 [2021-05-31T06:07:12.286Z] Removing intermediate container c7440a34bbf2 [2021-05-31T06:07:12.286Z] ---> db5df0f5dcaa [2021-05-31T06:07:12.286Z] Step 25/26 : LABEL git_sha=6944fbfa37580ab496b8b06e8a373db0c0289fb1 [2021-05-31T06:07:12.286Z] ---> Running in 30fc50878f10 [2021-05-31T06:07:12.286Z] Removing intermediate container 30fc50878f10 [2021-05-31T06:07:12.286Z] ---> 829cad38f9d7 [2021-05-31T06:07:12.286Z] Step 26/26 : LABEL version=0.0.0 [2021-05-31T06:07:12.286Z] ---> Running in fcd7072e3e26 [2021-05-31T06:07:12.885Z] Removing intermediate container fcd7072e3e26 [2021-05-31T06:07:12.885Z] ---> 7a61e41ca762 [2021-05-31T06:07:12.885Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-31T06:07:12.885Z] Successfully built 7a61e41ca762 [2021-05-31T06:07:12.885Z] 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-31T06:07:13.576Z] ---> job-cost.sh [2021-05-31T06:07:13.576Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mDS2 [2021-05-31T06:07:54.252Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-31T06:09:32.763Z] lf-activate-venv(): INFO: Adding /tmp/venv-mDS2/bin to PATH [2021-05-31T06:09:32.763Z] INFO: No Stack... [2021-05-31T06:09:32.763Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-31T06:09:32.763Z] INFO: Archiving Costs [Pipeline] sh [2021-05-31T06:09:33.125Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-05-31T06:09:33.125Z] + cut -d, -f6 [Pipeline] lock [2021-05-31T06:09:33.224Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-217-1-stack-cost] [2021-05-31T06:09:33.230Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-217-1-stack-cost] did not exist. Created. [2021-05-31T06:09:33.231Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-217-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-31T06:09:33.685Z] /w/workspace/device-virtual-go/1@tmp/durable-3f5c5ff2/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-3f5c5ff2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-31T06:09:36.952Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-31T06:09:36.993Z] Warning: overwriting stash ‘stack-cost’ [2021-05-31T06:09:37.169Z] Stashed 1 file(s) [Pipeline] } [2021-05-31T06:09:37.220Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-217-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] configFileProvider [2021-05-31T06:09:38.133Z] provisioning config files... [2021-05-31T06:09:38.144Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-217@tmp/config7464724369635338786tmp [Pipeline] { [Pipeline] sh [2021-05-31T06:09:38.526Z] + set +x [2021-05-31T06:09:38.526Z] + curl -s https://codecov.io/bash [2021-05-31T06:09:38.526Z] + bash -s -- [2021-05-31T06:09:38.526Z] [2021-05-31T06:09:38.526Z] _____ _ [2021-05-31T06:09:38.526Z] / ____| | | [2021-05-31T06:09:38.526Z] | | ___ __| | ___ ___ _____ __ [2021-05-31T06:09:38.526Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-31T06:09:38.526Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-31T06:09:38.526Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-31T06:09:38.526Z] Bash-1.0.3 [2021-05-31T06:09:38.526Z] [2021-05-31T06:09:38.526Z] [2021-05-31T06:09:38.526Z] ==> git version 2.24.4 found [2021-05-31T06:09:38.526Z] ==> 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-31T06:09:38.526Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-31T06:09:38.526Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-31T06:09:38.526Z] ==> Jenkins CI detected. [2021-05-31T06:09:38.526Z] project root: . [2021-05-31T06:09:38.526Z] --> token set from env [2021-05-31T06:09:38.526Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-31T06:09:38.790Z] ==> Running gcov in . (disable via -X gcov) [2021-05-31T06:09:38.790Z] ==> Python coveragepy not found [2021-05-31T06:09:38.790Z] ==> Searching for coverage reports in: [2021-05-31T06:09:38.790Z] + . [2021-05-31T06:09:38.790Z] -> Found 1 reports [2021-05-31T06:09:38.790Z] ==> Detecting git/mercurial file structure [2021-05-31T06:09:38.790Z] ==> Reading reports [2021-05-31T06:09:38.790Z] + ./coverage.out bytes=47247 [2021-05-31T06:09:38.790Z] ==> Appending adjustments [2021-05-31T06:09:38.790Z] https://docs.codecov.io/docs/fixing-reports [2021-05-31T06:09:38.790Z] + Found adjustments [2021-05-31T06:09:38.791Z] ==> Gzipping contents [2021-05-31T06:09:38.791Z] 8.0K /tmp/codecov.LC3WX0.gz [2021-05-31T06:09:38.791Z] ==> Uploading reports [2021-05-31T06:09:38.791Z] url: https://codecov.io [2021-05-31T06:09:38.791Z] query: branch=PR-217&commit=6944fbfa37580ab496b8b06e8a373db0c0289fb1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-217%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=217&job=&cmd_args= [2021-05-31T06:09:38.791Z] -> Pinging Codecov [2021-05-31T06:09:38.791Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-217&commit=6944fbfa37580ab496b8b06e8a373db0c0289fb1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-217%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=217&job=&cmd_args= [2021-05-31T06:09:39.364Z] -> Uploading to [2021-05-31T06:09:39.364Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-31/5E52B4B073DB2E39498172D8E973AA87/6944fbfa37580ab496b8b06e8a373db0c0289fb1/7274a7b3-dfe2-43f9-a56c-dc62f41f9cc9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210531T060939Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=467051b3e6e04c18002ad6da84abe9ced2e8d4340d5ded10a7a219559efea715 [2021-05-31T06:09:39.364Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-31T06:09:39.364Z] Dload Upload Total Spent Left Speed [2021-05-31T06:09:39.627Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5783 0 0 100 5783 0 12741 --:--:-- --:--:-- --:--:-- 12737 100 5783 0 0 100 5783 0 12736 --:--:-- --:--:-- --:--:-- 12737 [2021-05-31T06:09:39.889Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/6944fbfa37580ab496b8b06e8a373db0c0289fb1 [Pipeline] } [2021-05-31T06:09:39.913Z] Deleting 1 temporary files [Pipeline] // configFileProvider [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-31T06:09:43.790Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T06:09:44.422Z] ---> package-listing.sh [2021-05-31T06:09:44.422Z] ++ facter osfamily [2021-05-31T06:09:44.422Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-31T06:09:44.687Z] + OS_FAMILY=redhat [2021-05-31T06:09:44.687Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-217 [2021-05-31T06:09:44.687Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-31T06:09:44.687Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-31T06:09:44.687Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-31T06:09:44.687Z] + PACKAGES=/tmp/packages_start.txt [2021-05-31T06:09:44.687Z] + '[' /w/workspace/foundry_device-virtual-go_PR-217 ']' [2021-05-31T06:09:44.687Z] + PACKAGES=/tmp/packages_end.txt [2021-05-31T06:09:44.687Z] + case "${OS_FAMILY}" in [2021-05-31T06:09:44.687Z] + rpm -qa [2021-05-31T06:09:44.687Z] + sort [2021-05-31T06:09:45.272Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-31T06:09:45.272Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-31T06:09:45.272Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-31T06:09:45.272Z] + '[' /w/workspace/foundry_device-virtual-go_PR-217 ']' [2021-05-31T06:09:45.273Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-217/archives/ [2021-05-31T06:09:45.273Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-217/archives/ [Pipeline] echo [2021-05-31T06:09:45.307Z] 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-217/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-31T06:09:47.440Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-31T06:09:47.790Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-31T06:09:47.790Z] [2021-05-31T06:09:47.790Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-31T06:09:48.161Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-31T06:09:48.161Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-31T06:09:48.161Z] df20fa9351a1: Pulling fs layer [2021-05-31T06:09:48.161Z] 36b3adc4ff6f: Pulling fs layer [2021-05-31T06:09:48.161Z] 8ad3a11d3b57: Pulling fs layer [2021-05-31T06:09:48.161Z] 46f8f816bc3b: Pulling fs layer [2021-05-31T06:09:48.161Z] 93b61091891f: Pulling fs layer [2021-05-31T06:09:48.161Z] 93b9cdb0e59b: Pulling fs layer [2021-05-31T06:09:48.161Z] 5e14af77c1be: Pulling fs layer [2021-05-31T06:09:48.161Z] 01666e4c0597: Pulling fs layer [2021-05-31T06:09:48.161Z] aa168da1d23b: Pulling fs layer [2021-05-31T06:09:48.161Z] 93b61091891f: Waiting [2021-05-31T06:09:48.161Z] 93b9cdb0e59b: Waiting [2021-05-31T06:09:48.161Z] 5e14af77c1be: Waiting [2021-05-31T06:09:48.161Z] 01666e4c0597: Waiting [2021-05-31T06:09:48.161Z] aa168da1d23b: Waiting [2021-05-31T06:09:48.161Z] 46f8f816bc3b: Waiting [2021-05-31T06:09:48.161Z] 36b3adc4ff6f: Verifying Checksum [2021-05-31T06:09:48.161Z] 36b3adc4ff6f: Download complete [2021-05-31T06:09:48.161Z] 46f8f816bc3b: Verifying Checksum [2021-05-31T06:09:48.161Z] 46f8f816bc3b: Download complete [2021-05-31T06:09:48.161Z] df20fa9351a1: Verifying Checksum [2021-05-31T06:09:48.161Z] df20fa9351a1: Download complete [2021-05-31T06:09:48.161Z] 93b9cdb0e59b: Verifying Checksum [2021-05-31T06:09:48.161Z] 93b9cdb0e59b: Download complete [2021-05-31T06:09:48.426Z] 5e14af77c1be: Verifying Checksum [2021-05-31T06:09:48.426Z] 5e14af77c1be: Download complete [2021-05-31T06:09:48.426Z] 01666e4c0597: Verifying Checksum [2021-05-31T06:09:48.426Z] 01666e4c0597: Download complete [2021-05-31T06:09:48.426Z] 93b61091891f: Verifying Checksum [2021-05-31T06:09:48.426Z] 93b61091891f: Download complete [2021-05-31T06:09:48.426Z] df20fa9351a1: Pull complete [2021-05-31T06:09:48.426Z] 8ad3a11d3b57: Verifying Checksum [2021-05-31T06:09:48.426Z] 8ad3a11d3b57: Download complete [2021-05-31T06:09:48.694Z] 36b3adc4ff6f: Pull complete [2021-05-31T06:09:49.281Z] 8ad3a11d3b57: Pull complete [2021-05-31T06:09:49.281Z] 46f8f816bc3b: Pull complete [2021-05-31T06:09:49.542Z] 93b61091891f: Pull complete [2021-05-31T06:09:49.804Z] 93b9cdb0e59b: Pull complete [2021-05-31T06:09:49.804Z] 5e14af77c1be: Pull complete [2021-05-31T06:09:49.804Z] 01666e4c0597: Pull complete [2021-05-31T06:09:50.076Z] aa168da1d23b: Verifying Checksum [2021-05-31T06:09:50.076Z] aa168da1d23b: Download complete [2021-05-31T06:09:55.415Z] aa168da1d23b: Pull complete [2021-05-31T06:09:55.415Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-31T06:09:55.415Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-31T06:09:55.415Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-31T06:09:55.530Z] prd-centos7-docker-4c-2g-1153 does not seem to be running inside a container [2021-05-31T06:09:55.568Z] $ 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-217/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-217 -v /w/workspace/foundry_device-virtual-go_PR-217:/w/workspace/foundry_device-virtual-go_PR-217:rw,z -v /w/workspace/foundry_device-virtual-go_PR-217@tmp:/w/workspace/foundry_device-virtual-go_PR-217@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-31T06:09:58.551Z] $ docker top 5ec6f0548fcf2cd608401f91f9b0df7ee78211c6076f41bd032db0c9b77ff014 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-31T06:09:59.018Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-31T06:09:59.339Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-31T06:09:59.663Z] + ls /var/log/sa-host [2021-05-31T06:09:59.663Z] + sadf -c /var/log/sa-host/sa05 [2021-05-31T06:09:59.663Z] file_magic: OK [2021-05-31T06:09:59.663Z] HZ: Using current value: 100 [2021-05-31T06:09:59.663Z] file_header: OK [2021-05-31T06:09:59.663Z] 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-31T06:09:59.663Z] Statistics: [2021-05-31T06:09:59.663Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-31T06:09:59.663Z] File successfully converted to sysstat format version 12.2.1 [2021-05-31T06:09:59.663Z] + sadf -c /var/log/sa-host/sa31 [2021-05-31T06:09:59.663Z] file_magic: OK [2021-05-31T06:09:59.663Z] HZ: Using current value: 100 [2021-05-31T06:09:59.663Z] file_header: OK [2021-05-31T06:09:59.663Z] 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-31T06:09:59.663Z] Statistics: [2021-05-31T06:09:59.663Z] 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...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-31T06:09:59.663Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-31T06:09:59.902Z] provisioning config files... [2021-05-31T06:09:59.915Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-217@tmp/config5519793614762689752tmp [Pipeline] { [Pipeline] echo [2021-05-31T06:09:59.992Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T06:10:00.330Z] ---> create-netrc.sh [Pipeline] } [2021-05-31T06:10:00.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-31T06:10:00.428Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T06:10:02.588Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-31T06:10:02.626Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T06:10:02.973Z] ---> sudo-logs.sh [2021-05-31T06:10:02.973Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-31T06:10:03.060Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T06:10:03.411Z] ---> job-cost.sh [2021-05-31T06:10:03.411Z] lf-activate-venv: SKIPPING [2021-05-31T06:10:03.411Z] DEBUG: total: 0.18000000715255737 [2021-05-31T06:10:03.411Z] INFO: Retrieving Stack Cost... [2021-05-31T06:10:04.802Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-31T06:10:05.065Z] INFO: Archiving Costs [Pipeline] echo [2021-05-31T06:10:05.109Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-31T06:10:05.495Z] ---> logs-deploy.sh [2021-05-31T06:10:05.495Z] lf-activate-venv: SKIPPING [2021-05-31T06:10:05.495Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-217/1 [2021-05-31T06:10:05.495Z] INFO: archiving workspace using pattern(s): [2021-05-31T06:10:06.444Z] Archives upload complete. [2021-05-31T06:10:06.444Z] INFO: archiving logs to Nexus