Pull request #187 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5b109625d938cff13fe970e511b54891feb2acdd+d49a116a4400a5a79f2ee23114687d65ed5c637c (382d2098731c34641779466ef5fb8c796494c565) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-187/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-187/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-695’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-696’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-703 in /w/workspace/foundry_device-virtual-go_PR-187 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-187 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit d49a116a4400a5a79f2ee23114687d65ed5c637c into PR head commit 5b109625d938cff13fe970e511b54891feb2acdd Merge succeeded, producing 5b109625d938cff13fe970e511b54891feb2acdd Checking out Revision 5b109625d938cff13fe970e511b54891feb2acdd (PR-187) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b109625d938cff13fe970e511b54891feb2acdd # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d49a116a4400a5a79f2ee23114687d65ed5c637c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b109625d938cff13fe970e511b54891feb2acdd # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-19T05:52:39.097Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-19T05:52:39.305Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-19T05:52:39.436Z] ========================================================= [2021-04-19T05:52:39.436Z] EdgeX Global Pipelines Version Info [2021-04-19T05:52:39.436Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-19T05:52:40.939Z] ------------------- [2021-04-19T05:52:40.939Z] stable info: [2021-04-19T05:52:40.939Z] ------------------- [2021-04-19T05:52:40.939Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-19T05:52:40.939Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-19T05:52:40.939Z] Message: update stable to v1.0.186 [2021-04-19T05:52:41.888Z] ------------------- [2021-04-19T05:52:41.888Z] experimental info: [2021-04-19T05:52:41.888Z] ------------------- [2021-04-19T05:52:41.888Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-19T05:52:41.888Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-19T05:52:41.888Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-19T05:52:42.159Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-04-19T05:52:42.229Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-04-19T05:52:42.293Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-19T05:52:42.350Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-19T05:52:42.413Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-19T05:52:42.471Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-19T05:52:42.535Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-19T05:52:42.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-19T05:52:42.669Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-19T05:52:42.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-19T05:52:42.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-19T05:52:42.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-04-19T05:52:42.971Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-19T05:52:43.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-19T05:52:43.091Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T05:52:43.152Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T05:52:43.225Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T05:52:43.279Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T05:52:43.341Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-19T05:52:43.410Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-19T05:52:43.479Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-04-19T05:52:43.542Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-04-19T05:52:43.614Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-19T05:52:43.684Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-19T05:52:43.757Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-19T05:52:43.820Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-19T05:52:43.883Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-187 [Pipeline] echo [2021-04-19T05:52:43.947Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-187 [Pipeline] echo [2021-04-19T05:52:44.007Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-187 [Pipeline] echo [2021-04-19T05:52:44.082Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b109625d938cff13fe970e511b54891feb2acdd [Pipeline] echo [2021-04-19T05:52:44.138Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b10962 [Pipeline] echo [2021-04-19T05:52:44.198Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T05:52:44.386Z] provisioning config files... [2021-04-19T05:52:44.431Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-187@tmp/config6084989836926996185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T05:52:44.815Z] ---> docker-login.sh [2021-04-19T05:52:44.815Z] nexus3.edgexfoundry.org:10001 [2021-04-19T05:52:45.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T05:52:45.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T05:52:45.348Z] Configure a credential helper to remove this warning. See [2021-04-19T05:52:45.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T05:52:45.348Z] [2021-04-19T05:52:45.348Z] Login Succeeded [2021-04-19T05:52:45.348Z] nexus3.edgexfoundry.org:10002 [2021-04-19T05:52:45.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T05:52:45.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T05:52:45.610Z] Configure a credential helper to remove this warning. See [2021-04-19T05:52:45.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T05:52:45.610Z] [2021-04-19T05:52:45.610Z] Login Succeeded [2021-04-19T05:52:45.610Z] nexus3.edgexfoundry.org:10003 [2021-04-19T05:52:45.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T05:52:45.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T05:52:45.610Z] Configure a credential helper to remove this warning. See [2021-04-19T05:52:45.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T05:52:45.610Z] [2021-04-19T05:52:45.610Z] Login Succeeded [2021-04-19T05:52:45.610Z] nexus3.edgexfoundry.org:10004 [2021-04-19T05:52:45.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T05:52:45.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T05:52:45.874Z] Configure a credential helper to remove this warning. See [2021-04-19T05:52:45.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T05:52:45.874Z] [2021-04-19T05:52:45.874Z] Login Succeeded [2021-04-19T05:52:45.874Z] docker.io [2021-04-19T05:52:46.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T05:52:46.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T05:52:46.136Z] Configure a credential helper to remove this warning. See [2021-04-19T05:52:46.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T05:52:46.136Z] [2021-04-19T05:52:46.136Z] Login Succeeded [2021-04-19T05:52:46.136Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T05:52:46.166Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T05:52:46.909Z] + git log --format=format:%s -1 5b109625d938cff13fe970e511b54891feb2acdd [Pipeline] echo [2021-04-19T05:52:47.005Z] GIT_COMMIT: 5b109625d938cff13fe970e511b54891feb2acdd, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-04-19T05:52:47.049Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-19T05:52:47.657Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T05:52:47.657Z] [2021-04-19T05:52:47.657Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T05:52:48.047Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T05:52:48.047Z] latest: Pulling from edgex-devops/git-semver [2021-04-19T05:52:48.047Z] 31603596830f: Pulling fs layer [2021-04-19T05:52:48.047Z] 2a8b12db71e7: Pulling fs layer [2021-04-19T05:52:48.047Z] 6ca5941a6612: Pulling fs layer [2021-04-19T05:52:48.047Z] ecc8261a40a4: Pulling fs layer [2021-04-19T05:52:48.047Z] ecc8261a40a4: Waiting [2021-04-19T05:52:48.047Z] 2a8b12db71e7: Verifying Checksum [2021-04-19T05:52:48.047Z] 2a8b12db71e7: Download complete [2021-04-19T05:52:48.047Z] 31603596830f: Verifying Checksum [2021-04-19T05:52:48.047Z] 31603596830f: Download complete [2021-04-19T05:52:48.329Z] ecc8261a40a4: Verifying Checksum [2021-04-19T05:52:48.329Z] ecc8261a40a4: Download complete [2021-04-19T05:52:48.329Z] 6ca5941a6612: Verifying Checksum [2021-04-19T05:52:48.329Z] 6ca5941a6612: Download complete [2021-04-19T05:52:48.593Z] 31603596830f: Pull complete [2021-04-19T05:52:48.859Z] 2a8b12db71e7: Pull complete [2021-04-19T05:52:49.826Z] 6ca5941a6612: Pull complete [2021-04-19T05:52:49.826Z] ecc8261a40a4: Pull complete [2021-04-19T05:52:49.826Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-19T05:52:50.088Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T05:52:50.088Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-19T05:52:50.232Z] prd-centos7-docker-4c-2g-703 does not seem to be running inside a container [2021-04-19T05:52:50.279Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-187 -v /w/workspace/foundry_device-virtual-go_PR-187:/w/workspace/foundry_device-virtual-go_PR-187:rw,z -v /w/workspace/foundry_device-virtual-go_PR-187@tmp:/w/workspace/foundry_device-virtual-go_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-19T05:52:52.371Z] $ docker top bd618eecaa8343591bc64b495e3b31e9a720cc7690d8fa797bf661c42062c4c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T05:52:52.681Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T05:52:52.681Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T05:52:53.054Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T05:52:53.058Z] $ docker exec bd618eecaa8343591bc64b495e3b31e9a720cc7690d8fa797bf661c42062c4c6 ssh-agent [2021-04-19T05:52:53.274Z] SSH_AUTH_SOCK=/tmp/ssh-6TT0zFXEbXKS/agent.11 [2021-04-19T05:52:53.274Z] SSH_AGENT_PID=16 [2021-04-19T05:52:53.289Z] Running ssh-add (command line suppressed) [2021-04-19T05:52:53.423Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-187@tmp/private_key_8063017808366939610.key (/w/workspace/foundry_device-virtual-go_PR-187@tmp/private_key_8063017808366939610.key) [2021-04-19T05:52:53.483Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T05:52:53.836Z] + git tag --points-at HEAD [Pipeline] } [2021-04-19T05:52:53.873Z] $ docker exec --env ******** --env ******** bd618eecaa8343591bc64b495e3b31e9a720cc7690d8fa797bf661c42062c4c6 ssh-agent -k [2021-04-19T05:52:54.030Z] unset SSH_AUTH_SOCK; [2021-04-19T05:52:54.031Z] unset SSH_AGENT_PID; [2021-04-19T05:52:54.031Z] echo Agent pid 16 killed; [2021-04-19T05:52:54.113Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-19T05:52:54.239Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T05:52:54.239Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T05:52:54.417Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T05:52:54.421Z] $ docker exec bd618eecaa8343591bc64b495e3b31e9a720cc7690d8fa797bf661c42062c4c6 ssh-agent [2021-04-19T05:52:54.596Z] SSH_AUTH_SOCK=/tmp/ssh-GMC9wkC1iVxI/agent.45 [2021-04-19T05:52:54.596Z] SSH_AGENT_PID=50 [2021-04-19T05:52:54.603Z] Running ssh-add (command line suppressed) [2021-04-19T05:52:54.727Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-187@tmp/private_key_67918543338506480.key (/w/workspace/foundry_device-virtual-go_PR-187@tmp/private_key_67918543338506480.key) [2021-04-19T05:52:54.784Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T05:52:55.149Z] + git semver init [2021-04-19T05:52:55.149Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T05:52:55.149Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-187/.git [2021-04-19T05:52:55.149Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-187 [2021-04-19T05:52:55.149Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T05:52:55.149Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T05:52:55.149Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T05:52:55.149Z] # $SEMVER_BRANCH = PR-187 [2021-04-19T05:52:55.149Z] # $SEMVER_TEMP = /tmp/semver-124808580 [2021-04-19T05:52:55.149Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-04-19T05:52:55.726Z] # '/tmp/semver-124808580' -> '/w/workspace/foundry_device-virtual-go_PR-187/.semver' [2021-04-19T05:52:55.727Z] # -> Force: false [2021-04-19T05:52:55.727Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-187/.semver [Pipeline] } [2021-04-19T05:52:55.747Z] $ docker exec --env ******** --env ******** bd618eecaa8343591bc64b495e3b31e9a720cc7690d8fa797bf661c42062c4c6 ssh-agent -k [2021-04-19T05:52:55.871Z] unset SSH_AUTH_SOCK; [2021-04-19T05:52:55.871Z] unset SSH_AGENT_PID; [2021-04-19T05:52:55.872Z] echo Agent pid 50 killed; [2021-04-19T05:52:55.931Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T05:52:56.369Z] + git semver [Pipeline] } [2021-04-19T05:52:56.403Z] $ docker stop --time=1 bd618eecaa8343591bc64b495e3b31e9a720cc7690d8fa797bf661c42062c4c6 [2021-04-19T05:52:57.868Z] $ docker rm -f bd618eecaa8343591bc64b495e3b31e9a720cc7690d8fa797bf661c42062c4c6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T05:52:58.361Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-19T05:52:58.758Z] Stashed 1 file(s) [Pipeline] echo [2021-04-19T05:52:58.788Z] [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-04-19T05:53:14.278Z] Still waiting to schedule task [2021-04-19T05:53:14.279Z] ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-682’ is offline; ‘prd-centos7-docker-4c-2g-697’ is offline; ‘prd-centos7-docker-4c-2g-708’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-683’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-704’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-04-19T05:53:14.309Z] Still waiting to schedule task [2021-04-19T05:53:14.310Z] ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-682’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-697’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-708’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-683’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-704’ is offline [2021-04-19T05:54:02.914Z] Running on prd-centos7-docker-4c-2g-707 in /w/workspace/foundry_device-virtual-go_PR-187 [Pipeline] { [Pipeline] ws [2021-04-19T05:54:02.975Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-04-19T05:54:13.784Z] using credential edgex-jenkins-ssh [2021-04-19T05:54:13.799Z] Cloning the remote Git repository [2021-04-19T05:54:13.828Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-04-19T05:54:13.929Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-04-19T05:54:14.099Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-19T05:54:14.100Z] > git --version # timeout=10 [2021-04-19T05:54:14.152Z] > git --version # 'git version 2.24.3' [2021-04-19T05:54:14.153Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T05:54:14.284Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T05:54:14.953Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-19T05:54:15.091Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T05:54:15.280Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-19T05:54:15.904Z] Merging remotes/origin/master commit d49a116a4400a5a79f2ee23114687d65ed5c637c into PR head commit 5b109625d938cff13fe970e511b54891feb2acdd [2021-04-19T05:54:16.344Z] Merge succeeded, producing 5b109625d938cff13fe970e511b54891feb2acdd [2021-04-19T05:54:16.344Z] Checking out Revision 5b109625d938cff13fe970e511b54891feb2acdd (PR-187) [2021-04-19T05:54:15.407Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-19T05:54:15.408Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T05:54:15.417Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T05:54:15.916Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T05:54:15.947Z] > git checkout -f 5b109625d938cff13fe970e511b54891feb2acdd # timeout=10 [2021-04-19T05:54:16.090Z] > git remote # timeout=10 [2021-04-19T05:54:16.135Z] > git config --get remote.origin.url # timeout=10 [2021-04-19T05:54:16.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T05:54:16.230Z] > git merge d49a116a4400a5a79f2ee23114687d65ed5c637c # timeout=10 [2021-04-19T05:54:16.297Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-19T05:54:16.348Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T05:54:16.399Z] > git checkout -f 5b109625d938cff13fe970e511b54891feb2acdd # timeout=10 [2021-04-19T05:54:20.819Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-04-19T05:54:20.857Z] > git --version # timeout=10 [2021-04-19T05:54:20.867Z] > git --version # 'git version 2.24.3' [2021-04-19T05:54:20.877Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T05:54:22.962Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-19T05:54:23.379Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T05:54:23.782Z] + sudo service docker restart [2021-04-19T05:54:23.782Z] + true [2021-04-19T05:54:23.782Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T05:54:25.935Z] provisioning config files... [2021-04-19T05:54:25.988Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8436004986832013662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T05:54:26.512Z] ---> docker-login.sh [2021-04-19T05:54:26.512Z] nexus3.edgexfoundry.org:10001 [2021-04-19T05:54:27.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T05:54:27.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T05:54:27.404Z] Configure a credential helper to remove this warning. See [2021-04-19T05:54:27.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T05:54:27.404Z] [2021-04-19T05:54:27.404Z] Login Succeeded [2021-04-19T05:54:27.404Z] nexus3.edgexfoundry.org:10002 [2021-04-19T05:54:27.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T05:54:27.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T05:54:27.744Z] Configure a credential helper to remove this warning. See [2021-04-19T05:54:27.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T05:54:27.744Z] [2021-04-19T05:54:27.744Z] Login Succeeded [2021-04-19T05:54:27.744Z] nexus3.edgexfoundry.org:10003 [2021-04-19T05:54:28.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T05:54:28.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T05:54:28.310Z] Configure a credential helper to remove this warning. See [2021-04-19T05:54:28.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T05:54:28.310Z] [2021-04-19T05:54:28.310Z] Login Succeeded [2021-04-19T05:54:28.310Z] nexus3.edgexfoundry.org:10004 [2021-04-19T05:54:28.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T05:54:28.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T05:54:28.891Z] Configure a credential helper to remove this warning. See [2021-04-19T05:54:28.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T05:54:28.891Z] [2021-04-19T05:54:28.891Z] Login Succeeded [2021-04-19T05:54:28.891Z] docker.io [2021-04-19T05:54:29.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T05:54:30.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T05:54:30.246Z] Configure a credential helper to remove this warning. See [2021-04-19T05:54:30.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T05:54:30.246Z] [2021-04-19T05:54:30.246Z] Login Succeeded [2021-04-19T05:54:30.246Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T05:54:30.290Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T05:54:30.940Z] ========================================================= [2021-04-19T05:54:30.940Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-19T05:54:30.940Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T05:54:31.337Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-19T05:54:32.008Z] Sending build context to Docker daemon 519.2kB [2021-04-19T05:54:32.008Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T05:54:32.008Z] Step 2/8 : FROM ${BASE} [2021-04-19T05:54:32.008Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-19T05:54:32.008Z] 188c0c94c7c5: Pulling fs layer [2021-04-19T05:54:32.008Z] 0ef7d3d256c8: Pulling fs layer [2021-04-19T05:54:32.008Z] de9db76c5a1d: Pulling fs layer [2021-04-19T05:54:32.008Z] bca2f99d35d6: Pulling fs layer [2021-04-19T05:54:32.008Z] 93359f2a8cfa: Pulling fs layer [2021-04-19T05:54:32.008Z] 7c6f9722023f: Pulling fs layer [2021-04-19T05:54:32.008Z] a35cf1a2eb13: Pulling fs layer [2021-04-19T05:54:32.008Z] bca2f99d35d6: Waiting [2021-04-19T05:54:32.008Z] 93359f2a8cfa: Waiting [2021-04-19T05:54:32.008Z] 7c6f9722023f: Waiting [2021-04-19T05:54:32.008Z] a35cf1a2eb13: Waiting [2021-04-19T05:54:32.431Z] de9db76c5a1d: Verifying Checksum [2021-04-19T05:54:32.431Z] de9db76c5a1d: Download complete [2021-04-19T05:54:32.431Z] 0ef7d3d256c8: Verifying Checksum [2021-04-19T05:54:32.431Z] 0ef7d3d256c8: Download complete [2021-04-19T05:54:32.431Z] 93359f2a8cfa: Verifying Checksum [2021-04-19T05:54:32.431Z] 93359f2a8cfa: Download complete [2021-04-19T05:54:32.431Z] 7c6f9722023f: Verifying Checksum [2021-04-19T05:54:32.431Z] 7c6f9722023f: Download complete [2021-04-19T05:54:32.431Z] 188c0c94c7c5: Verifying Checksum [2021-04-19T05:54:32.431Z] 188c0c94c7c5: Download complete [2021-04-19T05:54:33.046Z] 188c0c94c7c5: Pull complete [2021-04-19T05:54:33.671Z] 0ef7d3d256c8: Pull complete [2021-04-19T05:54:33.671Z] de9db76c5a1d: Pull complete [2021-04-19T05:54:35.194Z] a35cf1a2eb13: Verifying Checksum [2021-04-19T05:54:35.194Z] a35cf1a2eb13: Download complete [2021-04-19T05:54:35.789Z] bca2f99d35d6: Verifying Checksum [2021-04-19T05:54:35.789Z] bca2f99d35d6: Download complete [2021-04-19T05:54:48.405Z] bca2f99d35d6: Pull complete [2021-04-19T05:54:48.405Z] 93359f2a8cfa: Pull complete [2021-04-19T05:54:49.018Z] 7c6f9722023f: Pull complete [2021-04-19T05:54:55.763Z] a35cf1a2eb13: Pull complete [2021-04-19T05:54:55.763Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-19T05:54:55.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-19T05:54:55.763Z] ---> a62c8e92a672 [2021-04-19T05:54:55.763Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-04-19T05:54:55.763Z] ---> Running in c3e49bbcbafd [2021-04-19T05:54:56.043Z] Removing intermediate container c3e49bbcbafd [2021-04-19T05:54:56.043Z] ---> f5176686cae7 [2021-04-19T05:54:56.043Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T05:54:56.043Z] ---> Running in 774001f38ecb [2021-04-19T05:54:58.740Z] Removing intermediate container 774001f38ecb [2021-04-19T05:54:58.740Z] ---> a30a4657cf82 [2021-04-19T05:54:58.740Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-04-19T05:54:59.014Z] ---> Running in 2a776d0f079d [2021-04-19T05:55:00.486Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T05:55:01.477Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T05:55:02.908Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-04-19T05:55:02.908Z] (2/13) Installing libsodium (1.0.18-r0) [2021-04-19T05:55:03.174Z] (3/13) Installing pkgconf (1.7.2-r0) [2021-04-19T05:55:03.174Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-04-19T05:55:03.174Z] (5/13) Installing openssh-keygen (8.3_p1-r2) [2021-04-19T05:55:03.446Z] (6/13) Installing libedit (20191231.3.1-r0) [2021-04-19T05:55:03.766Z] (7/13) Installing openssh-client (8.3_p1-r2) [2021-04-19T05:55:06.349Z] (8/13) Installing openssh-sftp-server (8.3_p1-r2) [2021-04-19T05:55:06.349Z] (9/13) Installing openssh-server-common (8.3_p1-r2) [2021-04-19T05:55:06.349Z] (10/13) Installing openssh-server (8.3_p1-r2) [2021-04-19T05:55:06.935Z] (11/13) Installing openssh (8.3_p1-r2) [2021-04-19T05:55:07.517Z] (12/13) Installing libzmq (4.3.3-r0) [2021-04-19T05:55:07.782Z] (13/13) Installing zeromq-dev (4.3.3-r0) [2021-04-19T05:55:07.782Z] Executing busybox-1.31.1-r19.trigger [2021-04-19T05:55:07.782Z] OK: 173 MiB in 52 packages [2021-04-19T05:55:09.188Z] Removing intermediate container 2a776d0f079d [2021-04-19T05:55:09.188Z] ---> 375290b4b3ef [2021-04-19T05:55:09.188Z] Step 6/8 : WORKDIR /device-virtual-go [2021-04-19T05:55:09.188Z] ---> Running in 9f948a5eb219 [2021-04-19T05:55:09.503Z] Removing intermediate container 9f948a5eb219 [2021-04-19T05:55:09.503Z] ---> 4050b52ed2e3 [2021-04-19T05:55:09.503Z] Step 7/8 : COPY . . [2021-04-19T05:55:10.602Z] ---> 915766312467 [2021-04-19T05:55:10.602Z] Step 8/8 : RUN go mod download [2021-04-19T05:55:10.905Z] ---> Running in 742b5fcded6d [2021-04-19T05:55:20.079Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-711 in /w/workspace/foundry_device-virtual-go_PR-187 [Pipeline] { [Pipeline] ws [2021-04-19T05:55:20.188Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-04-19T05:55:26.872Z] using credential edgex-jenkins-ssh [2021-04-19T05:55:26.897Z] Cloning the remote Git repository [2021-04-19T05:55:26.962Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-04-19T05:55:27.103Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-04-19T05:55:27.241Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-19T05:55:27.242Z] > git --version # timeout=10 [2021-04-19T05:55:27.265Z] > git --version # 'git version 2.17.1' [2021-04-19T05:55:27.268Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T05:55:27.341Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T05:55:28.094Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-19T05:55:28.656Z] Merging remotes/origin/master commit d49a116a4400a5a79f2ee23114687d65ed5c637c into PR head commit 5b109625d938cff13fe970e511b54891feb2acdd [2021-04-19T05:55:28.859Z] Merge succeeded, producing 5b109625d938cff13fe970e511b54891feb2acdd [2021-04-19T05:55:28.859Z] Checking out Revision 5b109625d938cff13fe970e511b54891feb2acdd (PR-187) [2021-04-19T05:55:28.115Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T05:55:28.136Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-19T05:55:28.170Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-19T05:55:28.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T05:55:28.185Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T05:55:28.677Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T05:55:28.692Z] > git checkout -f 5b109625d938cff13fe970e511b54891feb2acdd # timeout=10 [2021-04-19T05:55:28.773Z] > git remote # timeout=10 [2021-04-19T05:55:28.792Z] > git config --get remote.origin.url # timeout=10 [2021-04-19T05:55:28.803Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T05:55:28.815Z] > git merge d49a116a4400a5a79f2ee23114687d65ed5c637c # timeout=10 [2021-04-19T05:55:28.844Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-19T05:55:28.868Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T05:55:28.880Z] > git checkout -f 5b109625d938cff13fe970e511b54891feb2acdd # timeout=10 [2021-04-19T05:55:33.230Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-04-19T05:55:33.295Z] > git --version # timeout=10 [2021-04-19T05:55:33.310Z] > git --version # 'git version 2.17.1' [2021-04-19T05:55:33.329Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T05:55:34.930Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-19T05:55:35.389Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T05:55:35.754Z] + sudo service docker restart [2021-04-19T05:55:35.754Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T05:55:38.480Z] provisioning config files... [2021-04-19T05:55:38.537Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7822818354003693681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T05:55:38.972Z] ---> docker-login.sh [2021-04-19T05:55:38.973Z] nexus3.edgexfoundry.org:10001 [2021-04-19T05:55:39.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T05:55:40.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T05:55:40.271Z] Configure a credential helper to remove this warning. See [2021-04-19T05:55:40.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T05:55:40.271Z] [2021-04-19T05:55:40.271Z] Login Succeeded [2021-04-19T05:55:40.271Z] nexus3.edgexfoundry.org:10002 [2021-04-19T05:55:40.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T05:55:40.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T05:55:40.871Z] Configure a credential helper to remove this warning. See [2021-04-19T05:55:40.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T05:55:40.871Z] [2021-04-19T05:55:40.871Z] Login Succeeded [2021-04-19T05:55:40.871Z] nexus3.edgexfoundry.org:10003 [2021-04-19T05:55:41.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T05:55:41.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T05:55:41.470Z] Configure a credential helper to remove this warning. See [2021-04-19T05:55:41.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T05:55:41.470Z] [2021-04-19T05:55:41.470Z] Login Succeeded [2021-04-19T05:55:41.470Z] nexus3.edgexfoundry.org:10004 [2021-04-19T05:55:42.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T05:55:42.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T05:55:42.070Z] Configure a credential helper to remove this warning. See [2021-04-19T05:55:42.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T05:55:42.070Z] [2021-04-19T05:55:42.070Z] Login Succeeded [2021-04-19T05:55:42.070Z] docker.io [2021-04-19T05:55:42.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T05:55:42.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T05:55:42.949Z] Configure a credential helper to remove this warning. See [2021-04-19T05:55:42.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T05:55:42.949Z] [2021-04-19T05:55:42.949Z] Login Succeeded [2021-04-19T05:55:42.949Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T05:55:42.981Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T05:55:43.415Z] ========================================================= [2021-04-19T05:55:43.415Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-19T05:55:43.415Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T05:55:43.797Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-19T05:55:44.073Z] Sending build context to Docker daemon 518.1kB [2021-04-19T05:55:44.073Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T05:55:44.073Z] Step 2/8 : FROM ${BASE} [2021-04-19T05:55:44.358Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-19T05:55:44.358Z] 5f621e34cdf4: Pulling fs layer [2021-04-19T05:55:44.358Z] a4357932f1b6: Pulling fs layer [2021-04-19T05:55:44.358Z] 18c013af1878: Pulling fs layer [2021-04-19T05:55:44.358Z] 00ac8860ef70: Pulling fs layer [2021-04-19T05:55:44.359Z] 63d7cb157983: Pulling fs layer [2021-04-19T05:55:44.359Z] b116817d02f9: Pulling fs layer [2021-04-19T05:55:44.359Z] 745a02a5169b: Pulling fs layer [2021-04-19T05:55:44.359Z] 00ac8860ef70: Waiting [2021-04-19T05:55:44.359Z] 63d7cb157983: Waiting [2021-04-19T05:55:44.359Z] b116817d02f9: Waiting [2021-04-19T05:55:44.359Z] 745a02a5169b: Waiting [2021-04-19T05:55:44.359Z] 18c013af1878: Verifying Checksum [2021-04-19T05:55:44.359Z] 18c013af1878: Download complete [2021-04-19T05:55:44.359Z] a4357932f1b6: Verifying Checksum [2021-04-19T05:55:44.359Z] a4357932f1b6: Download complete [2021-04-19T05:55:44.359Z] 63d7cb157983: Verifying Checksum [2021-04-19T05:55:44.359Z] 63d7cb157983: Download complete [2021-04-19T05:55:44.359Z] b116817d02f9: Verifying Checksum [2021-04-19T05:55:44.359Z] b116817d02f9: Download complete [2021-04-19T05:55:44.359Z] 5f621e34cdf4: Verifying Checksum [2021-04-19T05:55:44.359Z] 5f621e34cdf4: Download complete [2021-04-19T05:55:45.361Z] 5f621e34cdf4: Pull complete [2021-04-19T05:55:45.637Z] a4357932f1b6: Pull complete [2021-04-19T05:55:46.237Z] 18c013af1878: Pull complete [2021-04-19T05:55:47.673Z] 745a02a5169b: Verifying Checksum [2021-04-19T05:55:47.673Z] 745a02a5169b: Download complete [2021-04-19T05:55:48.663Z] 00ac8860ef70: Verifying Checksum [2021-04-19T05:55:48.663Z] 00ac8860ef70: Download complete [2021-04-19T05:55:50.064Z] Removing intermediate container 742b5fcded6d [2021-04-19T05:55:50.064Z] ---> 2fd922f7d34a [2021-04-19T05:55:50.064Z] Successfully built 2fd922f7d34a [2021-04-19T05:55:50.064Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T05:55:50.425Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T05:55:51.012Z] . [Pipeline] withDockerContainer [2021-04-19T05:55:51.575Z] prd-centos7-docker-4c-2g-707 does not seem to be running inside a container [2021-04-19T05:55:51.654Z] $ 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-04-19T05:55:52.730Z] $ docker top cb8dafa416bc7789277c4dc572e8be82d6a8d08e9c4260617036e6a7c08c3fb6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T05:55:53.431Z] + go version [2021-04-19T05:55:53.431Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-19T05:55:53.542Z] $ docker stop --time=1 cb8dafa416bc7789277c4dc572e8be82d6a8d08e9c4260617036e6a7c08c3fb6 [2021-04-19T05:55:56.084Z] $ docker rm -f cb8dafa416bc7789277c4dc572e8be82d6a8d08e9c4260617036e6a7c08c3fb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T05:55:57.166Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T05:55:57.166Z] . [Pipeline] withDockerContainer [2021-04-19T05:55:57.334Z] prd-centos7-docker-4c-2g-707 does not seem to be running inside a container [2021-04-19T05:55:57.414Z] $ 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-04-19T05:55:58.502Z] $ docker top 0b738b33a925766e9e0c7b5d9b75896b40315cea0d0ef5bf4fd8e7eaf6c6ddc0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T05:55:58.824Z] 00ac8860ef70: Pull complete [2021-04-19T05:55:58.824Z] 63d7cb157983: Pull complete [2021-04-19T05:55:58.824Z] b116817d02f9: Pull complete [2021-04-19T05:55:59.064Z] + make test [2021-04-19T05:55:59.064Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-04-19T05:56:02.215Z] 745a02a5169b: Pull complete [2021-04-19T05:56:02.215Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-19T05:56:02.215Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-19T05:56:02.215Z] ---> b7e6874047d6 [2021-04-19T05:56:02.215Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-04-19T05:56:03.394Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-04-19T05:56:05.609Z] ---> Running in c2d29bb32c91 [2021-04-19T05:56:05.609Z] Removing intermediate container c2d29bb32c91 [2021-04-19T05:56:05.609Z] ---> 6b5abe43cf23 [2021-04-19T05:56:05.609Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T05:56:05.609Z] ---> Running in b9e5f525ee2b [2021-04-19T05:56:08.256Z] Removing intermediate container b9e5f525ee2b [2021-04-19T05:56:08.256Z] ---> 5d046ee8661f [2021-04-19T05:56:08.256Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-04-19T05:56:08.256Z] ---> Running in fd3124ad539f [2021-04-19T05:56:09.244Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T05:56:10.218Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T05:56:10.810Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-04-19T05:56:10.810Z] (2/13) Installing libsodium (1.0.18-r0) [2021-04-19T05:56:10.810Z] (3/13) Installing pkgconf (1.7.2-r0) [2021-04-19T05:56:11.084Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-04-19T05:56:11.084Z] (5/13) Installing openssh-keygen (8.3_p1-r2) [2021-04-19T05:56:11.084Z] (6/13) Installing libedit (20191231.3.1-r0) [2021-04-19T05:56:11.357Z] (7/13) Installing openssh-client (8.3_p1-r2) [2021-04-19T05:56:11.954Z] (8/13) Installing openssh-sftp-server (8.3_p1-r2) [2021-04-19T05:56:11.954Z] (9/13) Installing openssh-server-common (8.3_p1-r2) [2021-04-19T05:56:11.954Z] (10/13) Installing openssh-server (8.3_p1-r2) [2021-04-19T05:56:12.225Z] (11/13) Installing openssh (8.3_p1-r2) [2021-04-19T05:56:12.495Z] (12/13) Installing libzmq (4.3.3-r0) [2021-04-19T05:56:12.495Z] (13/13) Installing zeromq-dev (4.3.3-r0) [2021-04-19T05:56:12.767Z] Executing busybox-1.31.1-r19.trigger [2021-04-19T05:56:12.767Z] OK: 149 MiB in 52 packages [2021-04-19T05:56:14.225Z] Removing intermediate container fd3124ad539f [2021-04-19T05:56:14.225Z] ---> 10e2d9b305d2 [2021-04-19T05:56:14.225Z] Step 6/8 : WORKDIR /device-virtual-go [2021-04-19T05:56:14.504Z] ---> Running in 85b420cc9ba6 [2021-04-19T05:56:15.103Z] Removing intermediate container 85b420cc9ba6 [2021-04-19T05:56:15.103Z] ---> e80a0c22d9b5 [2021-04-19T05:56:15.103Z] Step 7/8 : COPY . . [2021-04-19T05:56:16.082Z] ---> d33b1cf21cad [2021-04-19T05:56:16.082Z] Step 8/8 : RUN go mod download [2021-04-19T05:56:16.082Z] ---> Running in 6e1e7fe050e7 [2021-04-19T05:56:42.901Z] Removing intermediate container 6e1e7fe050e7 [2021-04-19T05:56:42.901Z] ---> 1f4fafc47d49 [2021-04-19T05:56:42.901Z] Successfully built 1f4fafc47d49 [2021-04-19T05:56:42.901Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T05:56:43.277Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T05:56:43.277Z] . [Pipeline] withDockerContainer [2021-04-19T05:56:43.593Z] prd-ubuntu18.04-docker-arm64-4c-16g-711 does not seem to be running inside a container [2021-04-19T05:56:43.686Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-19T05:56:45.298Z] $ docker top f6408ac0b056fc5ad3c825fac694938fd06953e5ae04476d870265525702d1b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T05:56:46.782Z] + go version [2021-04-19T05:56:46.782Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-19T05:56:46.855Z] $ docker stop --time=1 f6408ac0b056fc5ad3c825fac694938fd06953e5ae04476d870265525702d1b2 [2021-04-19T05:56:48.858Z] $ docker rm -f f6408ac0b056fc5ad3c825fac694938fd06953e5ae04476d870265525702d1b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T05:56:49.852Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T05:56:49.852Z] . [Pipeline] withDockerContainer [2021-04-19T05:56:50.159Z] prd-ubuntu18.04-docker-arm64-4c-16g-711 does not seem to be running inside a container [2021-04-19T05:56:50.252Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-19T05:56:51.456Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-04-19T05:56:51.965Z] $ docker top a43eb218bd7ec3262d88043d8328d0a1b49741807927ef8f2c608567653a720d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T05:56:53.016Z] + make test [2021-04-19T05:56:53.016Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-04-19T05:56:54.473Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-04-19T05:56:54.898Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.653s coverage: 63.8% of statements [2021-04-19T05:56:55.205Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-19T05:57:06.175Z] gofmt -l . [2021-04-19T05:57:06.175Z] [ "`gofmt -l .`" = "" ] [2021-04-19T05:57:06.175Z] ./bin/test-attribution-txt.sh [2021-04-19T05:57:08.287Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-19T05:57:09.547Z] $ docker stop --time=1 0b738b33a925766e9e0c7b5d9b75896b40315cea0d0ef5bf4fd8e7eaf6c6ddc0 [2021-04-19T05:57:12.435Z] $ docker rm -f 0b738b33a925766e9e0c7b5d9b75896b40315cea0d0ef5bf4fd8e7eaf6c6ddc0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T05:57:13.405Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T05:57:14.086Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-19T05:57:15.249Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T05:57:15.587Z] + ls -al . [2021-04-19T05:57:15.587Z] total 132 [2021-04-19T05:57:15.587Z] drwxrwxr-x. 7 jenkins jenkins 4096 Apr 19 05:57 . [2021-04-19T05:57:15.587Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 19 05:54 .. [2021-04-19T05:57:15.587Z] -rw-rw-r--. 1 jenkins jenkins 8039 Apr 19 05:54 Attribution.txt [2021-04-19T05:57:15.587Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 19 05:54 bin [2021-04-19T05:57:15.587Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 19 05:54 cmd [2021-04-19T05:57:15.587Z] -rw-r--r--. 1 jenkins jenkins 47247 Apr 19 05:56 coverage.out [2021-04-19T05:57:15.587Z] -rw-rw-r--. 1 jenkins jenkins 1905 Apr 19 05:54 Dockerfile [2021-04-19T05:57:15.587Z] -rw-rw-r--. 1 jenkins jenkins 998 Apr 19 05:54 Dockerfile.build [2021-04-19T05:57:15.587Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 19 05:54 .git [2021-04-19T05:57:15.587Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 19 05:54 .github [2021-04-19T05:57:15.587Z] -rw-rw-r--. 1 jenkins jenkins 277 Apr 19 05:54 .gitignore [2021-04-19T05:57:15.587Z] -rw-r--r--. 1 jenkins jenkins 809 Apr 19 05:57 go.mod [2021-04-19T05:57:15.587Z] -rw-r--r--. 1 jenkins jenkins 23363 Apr 19 05:57 go.sum [2021-04-19T05:57:15.587Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 19 05:54 internal [2021-04-19T05:57:15.587Z] -rw-rw-r--. 1 jenkins jenkins 660 Apr 19 05:54 Jenkinsfile [2021-04-19T05:57:15.587Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 19 05:54 LICENSE [2021-04-19T05:57:15.587Z] -rw-rw-r--. 1 jenkins jenkins 921 Apr 19 05:54 Makefile [2021-04-19T05:57:15.587Z] -rw-rw-r--. 1 jenkins jenkins 918 Apr 19 05:54 README.md [2021-04-19T05:57:15.587Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 19 05:52 VERSION [2021-04-19T05:57:15.587Z] -rw-rw-r--. 1 jenkins jenkins 235 Apr 19 05:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T05:57:15.939Z] + docker build -t docker-device-virtual-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=5b109625d938cff13fe970e511b54891feb2acdd --label arch=amd64 --label version=0.0.0 . [2021-04-19T05:57:16.211Z] Sending build context to Docker daemon 591.4kB [2021-04-19T05:57:16.211Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T05:57:16.211Z] Step 2/25 : FROM ${BASE} AS builder [2021-04-19T05:57:16.211Z] ---> 2fd922f7d34a [2021-04-19T05:57:16.211Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-19T05:57:16.491Z] ---> Running in 52d4bc177892 [2021-04-19T05:57:16.491Z] Removing intermediate container 52d4bc177892 [2021-04-19T05:57:16.491Z] ---> cfa9a389750c [2021-04-19T05:57:16.491Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-04-19T05:57:16.764Z] ---> Running in 1dbc345e6643 [2021-04-19T05:57:17.041Z] Removing intermediate container 1dbc345e6643 [2021-04-19T05:57:17.041Z] ---> 723bd5cba4b1 [2021-04-19T05:57:17.041Z] Step 5/25 : WORKDIR /device-virtual-go [2021-04-19T05:57:17.042Z] ---> Running in 449f155271bc [2021-04-19T05:57:17.338Z] Removing intermediate container 449f155271bc [2021-04-19T05:57:17.338Z] ---> d917b4bbca15 [2021-04-19T05:57:17.338Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T05:57:17.338Z] ---> Running in 16fc26848e31 [2021-04-19T05:57:20.058Z] Removing intermediate container 16fc26848e31 [2021-04-19T05:57:20.058Z] ---> cf4cd3c9f8c3 [2021-04-19T05:57:20.058Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-19T05:57:20.058Z] ---> Running in e87b30090c93 [2021-04-19T05:57:20.695Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T05:57:21.656Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T05:57:21.956Z] OK: 173 MiB in 52 packages [2021-04-19T05:57:22.983Z] Removing intermediate container e87b30090c93 [2021-04-19T05:57:22.983Z] ---> 5a0e2e75ab66 [2021-04-19T05:57:22.984Z] Step 8/25 : COPY . . [2021-04-19T05:57:23.627Z] ---> 98b63eae141c [2021-04-19T05:57:23.627Z] Step 9/25 : RUN go mod download [2021-04-19T05:57:24.074Z] ---> Running in c5e7554d8fff [2021-04-19T05:57:26.896Z] Removing intermediate container c5e7554d8fff [2021-04-19T05:57:26.896Z] ---> 1df17e14ee77 [2021-04-19T05:57:26.896Z] Step 10/25 : ARG MAKE='make build' [2021-04-19T05:57:27.173Z] ---> Running in 66325cb09f5c [2021-04-19T05:57:27.447Z] Removing intermediate container 66325cb09f5c [2021-04-19T05:57:27.447Z] ---> bba909a5b943 [2021-04-19T05:57:27.447Z] Step 11/25 : RUN $MAKE [2021-04-19T05:57:27.720Z] ---> Running in f0449037f4a6 [2021-04-19T05:57:28.860Z] 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-04-19T05:57:51.291Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-04-19T05:57:56.697Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 2.935s coverage: 63.8% of statements [2021-04-19T05:57:56.971Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-19T05:58:08.662Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-04-19T05:58:09.406Z] gofmt -l . [2021-04-19T05:58:09.406Z] [ "`gofmt -l .`" = "" ] [2021-04-19T05:58:09.406Z] ./bin/test-attribution-txt.sh [2021-04-19T05:58:10.397Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-19T05:58:10.711Z] $ docker stop --time=1 a43eb218bd7ec3262d88043d8328d0a1b49741807927ef8f2c608567653a720d [2021-04-19T05:58:12.990Z] $ docker rm -f a43eb218bd7ec3262d88043d8328d0a1b49741807927ef8f2c608567653a720d [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T05:58:13.926Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T05:58:13.970Z] Warning: overwriting stash ‘coverage-report’ [2021-04-19T05:58:14.502Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T05:58:15.166Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T05:58:15.527Z] + ls -al . [2021-04-19T05:58:15.527Z] total 156 [2021-04-19T05:58:15.527Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 19 05:58 . [2021-04-19T05:58:15.527Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 05:55 .. [2021-04-19T05:58:15.527Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 05:55 .git [2021-04-19T05:58:15.527Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 05:55 .github [2021-04-19T05:58:15.527Z] -rw-rw-r-- 1 jenkins jenkins 277 Apr 19 05:55 .gitignore [2021-04-19T05:58:15.527Z] -rw-rw-r-- 1 jenkins jenkins 8039 Apr 19 05:55 Attribution.txt [2021-04-19T05:58:15.527Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 19 05:55 Dockerfile [2021-04-19T05:58:15.527Z] -rw-rw-r-- 1 jenkins jenkins 998 Apr 19 05:55 Dockerfile.build [2021-04-19T05:58:15.527Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 19 05:55 Jenkinsfile [2021-04-19T05:58:15.527Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 05:55 LICENSE [2021-04-19T05:58:15.527Z] -rw-rw-r-- 1 jenkins jenkins 921 Apr 19 05:55 Makefile [2021-04-19T05:58:15.527Z] -rw-rw-r-- 1 jenkins jenkins 918 Apr 19 05:55 README.md [2021-04-19T05:58:15.527Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 05:52 VERSION [2021-04-19T05:58:15.527Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 05:55 bin [2021-04-19T05:58:15.527Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 05:55 cmd [2021-04-19T05:58:15.527Z] -rw-r--r-- 1 jenkins jenkins 47247 Apr 19 05:57 coverage.out [2021-04-19T05:58:15.527Z] -rw-r--r-- 1 jenkins jenkins 809 Apr 19 05:58 go.mod [2021-04-19T05:58:15.527Z] -rw-r--r-- 1 jenkins jenkins 23363 Apr 19 05:58 go.sum [2021-04-19T05:58:15.527Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 05:55 internal [2021-04-19T05:58:15.527Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 19 05:55 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T05:58:15.918Z] + docker build -t docker-device-virtual-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=5b109625d938cff13fe970e511b54891feb2acdd --label arch=arm64 --label version=0.0.0 . [2021-04-19T05:58:16.195Z] Sending build context to Docker daemon 590.3kB [2021-04-19T05:58:16.195Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T05:58:16.195Z] Step 2/25 : FROM ${BASE} AS builder [2021-04-19T05:58:16.467Z] ---> 1f4fafc47d49 [2021-04-19T05:58:16.467Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-19T05:58:16.741Z] ---> Running in 9b67d88b8a88 [2021-04-19T05:58:17.336Z] Removing intermediate container 9b67d88b8a88 [2021-04-19T05:58:17.336Z] ---> d28fe8dfe025 [2021-04-19T05:58:17.337Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-04-19T05:58:17.337Z] ---> Running in 5be83f87110f [2021-04-19T05:58:17.931Z] Removing intermediate container 5be83f87110f [2021-04-19T05:58:17.931Z] ---> fad4027405fe [2021-04-19T05:58:17.931Z] Step 5/25 : WORKDIR /device-virtual-go [2021-04-19T05:58:18.203Z] ---> Running in eecec2a85ddb [2021-04-19T05:58:18.799Z] Removing intermediate container eecec2a85ddb [2021-04-19T05:58:18.799Z] ---> 3a29dc978906 [2021-04-19T05:58:18.799Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T05:58:18.799Z] ---> Running in 192d2f559893 [2021-04-19T05:58:21.428Z] Removing intermediate container 192d2f559893 [2021-04-19T05:58:21.428Z] ---> 9b1e6a4697bb [2021-04-19T05:58:21.428Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-19T05:58:21.428Z] ---> Running in 81a5e78cb3c8 [2021-04-19T05:58:21.465Z] Removing intermediate container f0449037f4a6 [2021-04-19T05:58:21.465Z] ---> 0836399d79e4 [2021-04-19T05:58:21.465Z] Step 12/25 : FROM alpine:3.12 [2021-04-19T05:58:21.465Z] 3.12: Pulling from library/alpine [2021-04-19T05:58:21.465Z] 339de151aab4: Pulling fs layer [2021-04-19T05:58:21.465Z] 339de151aab4: Download complete [2021-04-19T05:58:21.465Z] 339de151aab4: Pull complete [2021-04-19T05:58:21.465Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T05:58:21.465Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T05:58:21.465Z] ---> 13621d1b12d4 [2021-04-19T05:58:21.465Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-04-19T05:58:21.465Z] ---> Running in e3bb1b12044d [2021-04-19T05:58:21.465Z] Removing intermediate container e3bb1b12044d [2021-04-19T05:58:21.465Z] ---> 2c7138d7586f [2021-04-19T05:58:21.465Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T05:58:21.465Z] ---> Running in 3f8d5a4b6912 [2021-04-19T05:58:22.410Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T05:58:24.320Z] Removing intermediate container 3f8d5a4b6912 [2021-04-19T05:58:24.320Z] ---> dc7f6a4972fe [2021-04-19T05:58:24.320Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-19T05:58:24.320Z] ---> Running in 0a828f37f66e [2021-04-19T05:58:24.402Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T05:58:24.586Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T05:58:25.551Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T05:58:28.693Z] OK: 149 MiB in 52 packages [2021-04-19T05:58:28.883Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-19T05:58:28.883Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-19T05:58:28.883Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-19T05:58:29.149Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-19T05:58:29.292Z] Removing intermediate container 81a5e78cb3c8 [2021-04-19T05:58:29.292Z] ---> 4f5c260ae3ae [2021-04-19T05:58:29.292Z] Step 8/25 : COPY . . [2021-04-19T05:58:31.085Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-19T05:58:31.271Z] ---> c9dd1affd8cc [2021-04-19T05:58:31.271Z] Step 9/25 : RUN go mod download [2021-04-19T05:58:31.271Z] ---> Running in 16b8912047bb [2021-04-19T05:58:31.667Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-19T05:58:31.942Z] Executing busybox-1.31.1-r20.trigger [2021-04-19T05:58:31.942Z] OK: 8 MiB in 20 packages [2021-04-19T05:58:32.972Z] Removing intermediate container 0a828f37f66e [2021-04-19T05:58:32.972Z] ---> 9a0c11e5c9aa [2021-04-19T05:58:32.972Z] Step 16/25 : WORKDIR / [2021-04-19T05:58:32.972Z] ---> Running in 486e3f414b78 [2021-04-19T05:58:33.681Z] Removing intermediate container 486e3f414b78 [2021-04-19T05:58:33.681Z] ---> 1c644aba0cbc [2021-04-19T05:58:33.681Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-04-19T05:58:34.037Z] ---> 6ffc76a2f7f9 [2021-04-19T05:58:34.037Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-04-19T05:58:35.227Z] ---> daa420859606 [2021-04-19T05:58:35.227Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-04-19T05:58:35.887Z] ---> c499e0d4c6f8 [2021-04-19T05:58:35.887Z] Step 20/25 : EXPOSE 49990 [2021-04-19T05:58:36.160Z] ---> Running in 425490a36e91 [2021-04-19T05:58:36.671Z] Removing intermediate container 16b8912047bb [2021-04-19T05:58:36.671Z] ---> ec87fa0edfc1 [2021-04-19T05:58:36.671Z] Step 10/25 : ARG MAKE='make build' [2021-04-19T05:58:36.671Z] ---> Running in 5f5b1c4b2848 [2021-04-19T05:58:36.716Z] Removing intermediate container 425490a36e91 [2021-04-19T05:58:36.717Z] ---> e287d2dfc26f [2021-04-19T05:58:36.717Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-04-19T05:58:36.717Z] ---> Running in aa96fbf43ed4 [2021-04-19T05:58:36.946Z] Removing intermediate container 5f5b1c4b2848 [2021-04-19T05:58:36.946Z] ---> ee0a20e24867 [2021-04-19T05:58:36.946Z] Step 11/25 : RUN $MAKE [2021-04-19T05:58:37.066Z] Removing intermediate container aa96fbf43ed4 [2021-04-19T05:58:37.066Z] ---> 1b9e34305c1d [2021-04-19T05:58:37.066Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-19T05:58:37.066Z] ---> Running in 47b00876dd64 [2021-04-19T05:58:37.219Z] ---> Running in e6bbb591b259 [2021-04-19T05:58:37.383Z] Removing intermediate container 47b00876dd64 [2021-04-19T05:58:37.383Z] ---> 6af460a77980 [2021-04-19T05:58:37.383Z] Step 23/25 : LABEL arch=amd64 [2021-04-19T05:58:37.383Z] ---> Running in 6ece59021028 [2021-04-19T05:58:38.213Z] 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-04-19T05:58:38.318Z] Removing intermediate container 6ece59021028 [2021-04-19T05:58:38.318Z] ---> b723556a0c20 [2021-04-19T05:58:38.318Z] Step 24/25 : LABEL git_sha=5b109625d938cff13fe970e511b54891feb2acdd [2021-04-19T05:58:38.318Z] ---> Running in 8b293c7ee8df [2021-04-19T05:58:38.625Z] Removing intermediate container 8b293c7ee8df [2021-04-19T05:58:38.625Z] ---> 571abfddc012 [2021-04-19T05:58:38.625Z] Step 25/25 : LABEL version=0.0.0 [2021-04-19T05:58:38.899Z] ---> Running in 06d4437a5ce3 [2021-04-19T05:58:39.189Z] Removing intermediate container 06d4437a5ce3 [2021-04-19T05:58:39.189Z] ---> b53bea27a987 [2021-04-19T05:58:39.189Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-19T05:58:39.189Z] Successfully built b53bea27a987 [2021-04-19T05:58:39.189Z] Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-19T05:58:40.093Z] ---> job-cost.sh [2021-04-19T05:58:40.093Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-vASg [2021-04-19T05:59:06.910Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T05:59:25.242Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-04-19T05:59:40.311Z] Removing intermediate container e6bbb591b259 [2021-04-19T05:59:40.311Z] ---> ae47179930c1 [2021-04-19T05:59:40.311Z] Step 12/25 : FROM alpine:3.12 [2021-04-19T05:59:40.311Z] 3.12: Pulling from library/alpine [2021-04-19T05:59:40.311Z] d2f70382dc9a: Pulling fs layer [2021-04-19T05:59:40.311Z] d2f70382dc9a: Verifying Checksum [2021-04-19T05:59:40.311Z] d2f70382dc9a: Download complete [2021-04-19T05:59:40.311Z] d2f70382dc9a: Pull complete [2021-04-19T05:59:40.311Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T05:59:40.311Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T05:59:40.311Z] ---> 9852663dfa18 [2021-04-19T05:59:40.311Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-04-19T05:59:40.311Z] ---> Running in 49869893eb84 [2021-04-19T05:59:41.282Z] Removing intermediate container 49869893eb84 [2021-04-19T05:59:41.282Z] ---> ee9ce3e5a21c [2021-04-19T05:59:41.282Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T05:59:41.282Z] ---> Running in f7e8697251a2 [2021-04-19T05:59:44.665Z] Removing intermediate container f7e8697251a2 [2021-04-19T05:59:44.665Z] ---> a4e1e1685cd4 [2021-04-19T05:59:44.665Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-19T05:59:44.940Z] ---> Running in ec1fd4e3b141 [2021-04-19T05:59:45.920Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T05:59:46.897Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T05:59:47.492Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-19T05:59:47.761Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-19T05:59:47.762Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-19T05:59:47.762Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-19T05:59:48.032Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-19T05:59:48.032Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-19T05:59:48.309Z] Executing busybox-1.31.1-r20.trigger [2021-04-19T05:59:48.309Z] OK: 8 MiB in 20 packages [2021-04-19T05:59:52.602Z] Removing intermediate container ec1fd4e3b141 [2021-04-19T05:59:52.602Z] ---> 185dac25d930 [2021-04-19T05:59:52.602Z] Step 16/25 : WORKDIR / [2021-04-19T05:59:52.602Z] ---> Running in 21284990486b [2021-04-19T05:59:53.578Z] Removing intermediate container 21284990486b [2021-04-19T05:59:53.578Z] ---> 13d023b445bf [2021-04-19T05:59:53.578Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-04-19T05:59:54.115Z] lf-activate-venv(): INFO: Adding /tmp/venv-vASg/bin to PATH [2021-04-19T05:59:54.115Z] INFO: No Stack... [2021-04-19T05:59:54.115Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T05:59:54.115Z] INFO: Archiving Costs [2021-04-19T05:59:54.169Z] ---> e3420cf51462 [2021-04-19T05:59:54.169Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [Pipeline] sh [2021-04-19T05:59:54.627Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-04-19T05:59:54.627Z] + cut -d, -f6 [2021-04-19T05:59:54.761Z] ---> a6791a9c3423 [2021-04-19T05:59:54.761Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [Pipeline] lock [2021-04-19T05:59:54.810Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-187-1-stack-cost] [2021-04-19T05:59:54.817Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-187-1-stack-cost] did not exist. Created. [2021-04-19T05:59:54.817Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-187-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T05:59:55.371Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-19T05:59:55.658Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T05:59:55.681Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-187-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-19T05:59:56.186Z] ---> 353888227cc7 [2021-04-19T05:59:56.186Z] Step 20/25 : EXPOSE 49990 [2021-04-19T05:59:56.456Z] ---> Running in 37ff36de5490 [2021-04-19T05:59:57.429Z] Removing intermediate container 37ff36de5490 [2021-04-19T05:59:57.429Z] ---> d89453034018 [2021-04-19T05:59:57.429Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-04-19T05:59:57.429Z] ---> Running in 723e950e99e2 [2021-04-19T05:59:58.860Z] Removing intermediate container 723e950e99e2 [2021-04-19T05:59:58.860Z] ---> c57a5dff2705 [2021-04-19T05:59:58.860Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-19T05:59:58.860Z] ---> Running in 2b14911275da [2021-04-19T06:00:00.283Z] Removing intermediate container 2b14911275da [2021-04-19T06:00:00.283Z] ---> 60074848b03f [2021-04-19T06:00:00.283Z] Step 23/25 : LABEL arch=arm64 [2021-04-19T06:00:00.283Z] ---> Running in 83d693a730d6 [2021-04-19T06:00:01.267Z] Removing intermediate container 83d693a730d6 [2021-04-19T06:00:01.267Z] ---> 4acc34863036 [2021-04-19T06:00:01.267Z] Step 24/25 : LABEL git_sha=5b109625d938cff13fe970e511b54891feb2acdd [2021-04-19T06:00:01.267Z] ---> Running in c8d7db099d9a [2021-04-19T06:00:02.702Z] Removing intermediate container c8d7db099d9a [2021-04-19T06:00:02.702Z] ---> 5251b67afdec [2021-04-19T06:00:02.702Z] Step 25/25 : LABEL version=0.0.0 [2021-04-19T06:00:02.702Z] ---> Running in 86865179f038 [2021-04-19T06:00:03.718Z] Removing intermediate container 86865179f038 [2021-04-19T06:00:03.718Z] ---> eb5954e33f45 [2021-04-19T06:00:03.718Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-19T06:00:03.718Z] Successfully built eb5954e33f45 [2021-04-19T06:00:03.997Z] Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-19T06:00:04.702Z] ---> job-cost.sh [2021-04-19T06:00:04.702Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-thEI [2021-04-19T06:00:43.661Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T06:02:20.436Z] lf-activate-venv(): INFO: Adding /tmp/venv-thEI/bin to PATH [2021-04-19T06:02:20.436Z] INFO: No Stack... [2021-04-19T06:02:20.436Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-19T06:02:20.436Z] INFO: Archiving Costs [Pipeline] sh [2021-04-19T06:02:20.800Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-04-19T06:02:20.800Z] + cut -d, -f6 [Pipeline] lock [2021-04-19T06:02:20.995Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-187-1-stack-cost] [2021-04-19T06:02:21.002Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-187-1-stack-cost] did not exist. Created. [2021-04-19T06:02:21.002Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-187-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T06:02:21.464Z] /w/workspace/device-virtual-go/1@tmp/durable-02c07ed6/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-02c07ed6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-19T06:02:21.846Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-19T06:02:21.884Z] Warning: overwriting stash ‘stack-cost’ [2021-04-19T06:02:22.045Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T06:02:22.069Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-187-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-04-19T06:02:23.142Z] provisioning config files... [2021-04-19T06:02:23.159Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-187@tmp/config5357718071790725089tmp [Pipeline] { [Pipeline] sh [2021-04-19T06:02:23.544Z] + set +x [2021-04-19T06:02:23.544Z] + curl -s https://codecov.io/bash [2021-04-19T06:02:23.544Z] + bash -s -- [2021-04-19T06:02:23.814Z] [2021-04-19T06:02:23.814Z] _____ _ [2021-04-19T06:02:23.814Z] / ____| | | [2021-04-19T06:02:23.814Z] | | ___ __| | ___ ___ _____ __ [2021-04-19T06:02:23.814Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-19T06:02:23.814Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-19T06:02:23.814Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-19T06:02:23.814Z] Bash-1.0.1 [2021-04-19T06:02:23.814Z] [2021-04-19T06:02:23.814Z] [2021-04-19T06:02:23.814Z] ==> git version 2.24.3 found [2021-04-19T06:02:23.814Z] ==> 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-04-19T06:02:23.814Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-19T06:02:23.814Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-19T06:02:23.814Z] ==> Jenkins CI detected. [2021-04-19T06:02:23.814Z] project root: . [2021-04-19T06:02:23.814Z] --> token set from env [2021-04-19T06:02:23.814Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-19T06:02:23.814Z] ==> Running gcov in . (disable via -X gcov) [2021-04-19T06:02:23.814Z] ==> Python coveragepy not found [2021-04-19T06:02:23.814Z] ==> Searching for coverage reports in: [2021-04-19T06:02:23.814Z] + . [2021-04-19T06:02:23.814Z] -> Found 1 reports [2021-04-19T06:02:23.814Z] ==> Detecting git/mercurial file structure [2021-04-19T06:02:23.814Z] ==> Reading reports [2021-04-19T06:02:23.814Z] + ./coverage.out bytes=47247 [2021-04-19T06:02:23.814Z] ==> Appending adjustments [2021-04-19T06:02:23.814Z] https://docs.codecov.io/docs/fixing-reports [2021-04-19T06:02:23.814Z] + Found adjustments [2021-04-19T06:02:23.814Z] ==> Gzipping contents [2021-04-19T06:02:24.078Z] 8.0K /tmp/codecov.9UaMsj.gz [2021-04-19T06:02:24.078Z] ==> Uploading reports [2021-04-19T06:02:24.078Z] url: https://codecov.io [2021-04-19T06:02:24.078Z] query: branch=PR-187&commit=5b109625d938cff13fe970e511b54891feb2acdd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-187%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=187&job=&cmd_args= [2021-04-19T06:02:24.078Z] -> Pinging Codecov [2021-04-19T06:02:24.078Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-187&commit=5b109625d938cff13fe970e511b54891feb2acdd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-187%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=187&job=&cmd_args= [2021-04-19T06:02:24.710Z] -> Uploading to [2021-04-19T06:02:24.710Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-19/5E52B4B073DB2E39498172D8E973AA87/5b109625d938cff13fe970e511b54891feb2acdd/0ae704ff-3461-47a1-bb79-622ad4fb7c72.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210419T060224Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=db9bef9d2b21a40ed1c07971c22e8bb6079ea5894836a77a82420a8b3c673938 [2021-04-19T06:02:24.710Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-19T06:02:24.710Z] Dload Upload Total Spent Left Speed [2021-04-19T06:02:25.012Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5752 0 0 100 5752 0 13013 --:--:-- --:--:-- --:--:-- 13013 [2021-04-19T06:02:25.012Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/5b109625d938cff13fe970e511b54891feb2acdd [Pipeline] } [2021-04-19T06:02:25.057Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-04-19T06:02:27.153Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T06:02:27.770Z] ---> package-listing.sh [2021-04-19T06:02:27.770Z] ++ facter osfamily [2021-04-19T06:02:27.770Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-19T06:02:27.770Z] + OS_FAMILY=redhat [2021-04-19T06:02:27.770Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-187 [2021-04-19T06:02:27.770Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-19T06:02:27.770Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-19T06:02:27.770Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-19T06:02:27.770Z] + PACKAGES=/tmp/packages_start.txt [2021-04-19T06:02:27.770Z] + '[' /w/workspace/foundry_device-virtual-go_PR-187 ']' [2021-04-19T06:02:27.770Z] + PACKAGES=/tmp/packages_end.txt [2021-04-19T06:02:27.770Z] + case "${OS_FAMILY}" in [2021-04-19T06:02:27.770Z] + rpm -qa [2021-04-19T06:02:27.770Z] + sort [2021-04-19T06:02:33.095Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-19T06:02:33.095Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-19T06:02:33.095Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-19T06:02:33.095Z] + '[' /w/workspace/foundry_device-virtual-go_PR-187 ']' [2021-04-19T06:02:33.095Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-187/archives/ [2021-04-19T06:02:33.095Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-187/archives/ [Pipeline] echo [2021-04-19T06:02:33.136Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-19T06:02:33.447Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-19T06:02:33.797Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T06:02:33.797Z] [2021-04-19T06:02:33.797Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-19T06:02:34.169Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T06:02:34.169Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-19T06:02:34.169Z] df20fa9351a1: Pulling fs layer [2021-04-19T06:02:34.169Z] 36b3adc4ff6f: Pulling fs layer [2021-04-19T06:02:34.169Z] 8ad3a11d3b57: Pulling fs layer [2021-04-19T06:02:34.169Z] 46f8f816bc3b: Pulling fs layer [2021-04-19T06:02:34.169Z] 93b61091891f: Pulling fs layer [2021-04-19T06:02:34.169Z] 93b9cdb0e59b: Pulling fs layer [2021-04-19T06:02:34.169Z] 5e14af77c1be: Pulling fs layer [2021-04-19T06:02:34.169Z] 01666e4c0597: Pulling fs layer [2021-04-19T06:02:34.169Z] aa168da1d23b: Pulling fs layer [2021-04-19T06:02:34.169Z] 46f8f816bc3b: Waiting [2021-04-19T06:02:34.169Z] 93b61091891f: Waiting [2021-04-19T06:02:34.169Z] 93b9cdb0e59b: Waiting [2021-04-19T06:02:34.169Z] 5e14af77c1be: Waiting [2021-04-19T06:02:34.169Z] 01666e4c0597: Waiting [2021-04-19T06:02:34.169Z] aa168da1d23b: Waiting [2021-04-19T06:02:34.169Z] 36b3adc4ff6f: Verifying Checksum [2021-04-19T06:02:34.169Z] 36b3adc4ff6f: Download complete [2021-04-19T06:02:34.437Z] 46f8f816bc3b: Verifying Checksum [2021-04-19T06:02:34.437Z] 46f8f816bc3b: Download complete [2021-04-19T06:02:34.437Z] 93b61091891f: Download complete [2021-04-19T06:02:34.437Z] df20fa9351a1: Verifying Checksum [2021-04-19T06:02:34.437Z] 93b9cdb0e59b: Verifying Checksum [2021-04-19T06:02:34.437Z] 93b9cdb0e59b: Download complete [2021-04-19T06:02:34.437Z] 5e14af77c1be: Verifying Checksum [2021-04-19T06:02:34.437Z] 5e14af77c1be: Download complete [2021-04-19T06:02:34.437Z] 01666e4c0597: Verifying Checksum [2021-04-19T06:02:34.437Z] 01666e4c0597: Download complete [2021-04-19T06:02:34.437Z] 8ad3a11d3b57: Verifying Checksum [2021-04-19T06:02:34.437Z] 8ad3a11d3b57: Download complete [2021-04-19T06:02:35.019Z] df20fa9351a1: Pull complete [2021-04-19T06:02:35.289Z] 36b3adc4ff6f: Pull complete [2021-04-19T06:02:36.266Z] 8ad3a11d3b57: Pull complete [2021-04-19T06:02:36.530Z] 46f8f816bc3b: Pull complete [2021-04-19T06:02:36.530Z] aa168da1d23b: Verifying Checksum [2021-04-19T06:02:36.530Z] aa168da1d23b: Download complete [2021-04-19T06:02:36.799Z] 93b61091891f: Pull complete [2021-04-19T06:02:36.799Z] 93b9cdb0e59b: Pull complete [2021-04-19T06:02:37.062Z] 5e14af77c1be: Pull complete [2021-04-19T06:02:37.329Z] 01666e4c0597: Pull complete [2021-04-19T06:02:45.529Z] aa168da1d23b: Pull complete [2021-04-19T06:02:45.529Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-19T06:02:45.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T06:02:45.529Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-19T06:02:45.707Z] prd-centos7-docker-4c-2g-703 does not seem to be running inside a container [2021-04-19T06:02:45.761Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-187 -v /w/workspace/foundry_device-virtual-go_PR-187:/w/workspace/foundry_device-virtual-go_PR-187:rw,z -v /w/workspace/foundry_device-virtual-go_PR-187@tmp:/w/workspace/foundry_device-virtual-go_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-19T06:02:49.501Z] $ docker top f3b6060cc646e5c802a0540280a0e57809156611de9d2b34f4cb78b2cdb731e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T06:02:50.010Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-19T06:02:50.340Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-19T06:02:50.667Z] + ls /var/log/sa-host [2021-04-19T06:02:50.667Z] + sadf -c /var/log/sa-host/sa19 [2021-04-19T06:02:50.667Z] file_magic: OK [2021-04-19T06:02:50.667Z] HZ: Using current value: 100 [2021-04-19T06:02:50.667Z] file_header: OK [2021-04-19T06:02:50.667Z] 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-04-19T06:02:50.667Z] Statistics: [2021-04-19T06:02:50.667Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-19T06:02:50.667Z] File successfully converted to sysstat format version 12.2.1 [2021-04-19T06:02:50.667Z] + sadf -c /var/log/sa-host/sa23 [2021-04-19T06:02:50.667Z] file_magic: OK [2021-04-19T06:02:50.667Z] HZ: Using current value: 100 [2021-04-19T06:02:50.667Z] file_header: OK [2021-04-19T06:02:50.667Z] 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-04-19T06:02:50.667Z] Statistics: [2021-04-19T06:02:50.667Z] Hnuu...uuuununununu... [2021-04-19T06:02:50.667Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-19T06:02:50.938Z] provisioning config files... [2021-04-19T06:02:50.954Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-187@tmp/config7563931976219790254tmp [Pipeline] { [Pipeline] echo [2021-04-19T06:02:51.012Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T06:02:51.357Z] ---> create-netrc.sh [Pipeline] } [2021-04-19T06:02:51.381Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-19T06:02:51.464Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T06:02:51.823Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-19T06:02:51.883Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T06:02:52.240Z] ---> sudo-logs.sh [2021-04-19T06:02:52.240Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-19T06:02:52.324Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T06:02:52.666Z] ---> job-cost.sh [2021-04-19T06:02:52.666Z] lf-activate-venv: SKIPPING [2021-04-19T06:02:52.667Z] DEBUG: total: 0.20999999344348907 [2021-04-19T06:02:52.667Z] INFO: Retrieving Stack Cost... [2021-04-19T06:02:53.615Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T06:02:54.212Z] INFO: Archiving Costs [Pipeline] echo [2021-04-19T06:02:54.250Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T06:02:54.835Z] ---> logs-deploy.sh [2021-04-19T06:02:54.835Z] lf-activate-venv: SKIPPING [2021-04-19T06:02:54.835Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-187/1 [2021-04-19T06:02:54.835Z] INFO: archiving workspace using pattern(s): [2021-04-19T06:02:56.767Z] Archives upload complete. [2021-04-19T06:02:56.767Z] INFO: archiving logs to Nexus