Pull request #199 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from ff158f9209222a4049e2ebc7759a979c330d6fd2+f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 (87bfafbff5feae30c0ee86ff1d32af4bb05ca252) Running in Durability level: PERFORMANCE_OPTIMIZED 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4185 in /w/workspace/foundry_device-virtual-go_PR-199 [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-199 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/199/head:refs/remotes/origin/PR-199 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 into PR head commit ff158f9209222a4049e2ebc7759a979c330d6fd2 Merge succeeded, producing ff158f9209222a4049e2ebc7759a979c330d6fd2 Checking out Revision ff158f9209222a4049e2ebc7759a979c330d6fd2 (PR-199) > git config core.sparsecheckout # timeout=10 > git checkout -f ff158f9209222a4049e2ebc7759a979c330d6fd2 # 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 f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff158f9209222a4049e2ebc7759a979c330d6fd2 # timeout=10 Commit message: "refactor: Updated to latest SDK and update MessageQue type to be `redis`" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-10T20:24:59.680Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-10T20:24:59.777Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T20:24:59.806Z] ========================================================= [2021-05-10T20:24:59.806Z] EdgeX Global Pipelines Version Info [2021-05-10T20:24:59.806Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c04e4a688faf959e97f5f207619e9c458df08276 # timeout=10 [2021-05-10T20:25:02.389Z] ------------------- [2021-05-10T20:25:02.389Z] stable info: [2021-05-10T20:25:02.389Z] ------------------- [2021-05-10T20:25:02.389Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T20:25:02.389Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T20:25:02.389Z] Message: update stable to v1.0.191 [2021-05-10T20:25:03.421Z] ------------------- [2021-05-10T20:25:03.421Z] experimental info: [2021-05-10T20:25:03.421Z] ------------------- [2021-05-10T20:25:03.421Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T20:25:03.421Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-10T20:25:03.421Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T20:25:03.569Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-10T20:25:03.611Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-10T20:25:03.636Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T20:25:03.678Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T20:25:03.702Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T20:25:03.741Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T20:25:03.766Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T20:25:03.806Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T20:25:03.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-10T20:25:03.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T20:25:03.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T20:25:05.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-05-10T20:25:05.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T20:25:05.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T20:25:05.240Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T20:25:05.276Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T20:25:05.301Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T20:25:05.340Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T20:25:05.365Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T20:25:05.407Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-10T20:25:05.431Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-10T20:25:05.499Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-10T20:25:05.525Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-10T20:25:05.569Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-10T20:25:05.595Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-10T20:25:05.639Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T20:25:05.663Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-199 [Pipeline] echo [2021-05-10T20:25:05.725Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-199 [Pipeline] echo [2021-05-10T20:25:05.749Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-199 [Pipeline] echo [2021-05-10T20:25:05.790Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ff158f9209222a4049e2ebc7759a979c330d6fd2 [Pipeline] echo [2021-05-10T20:25:05.813Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ff158f9 [Pipeline] echo [2021-05-10T20:25:05.854Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T20:25:05.954Z] provisioning config files... [2021-05-10T20:25:06.017Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-199@tmp/config8178810287302006486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:25:06.477Z] ---> docker-login.sh [2021-05-10T20:25:06.478Z] nexus3.edgexfoundry.org:10001 [2021-05-10T20:25:07.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:25:07.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:25:07.575Z] Configure a credential helper to remove this warning. See [2021-05-10T20:25:07.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:25:07.575Z] [2021-05-10T20:25:07.575Z] Login Succeeded [2021-05-10T20:25:07.575Z] nexus3.edgexfoundry.org:10002 [2021-05-10T20:25:07.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:25:08.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:25:08.231Z] Configure a credential helper to remove this warning. See [2021-05-10T20:25:08.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:25:08.231Z] [2021-05-10T20:25:08.231Z] Login Succeeded [2021-05-10T20:25:08.231Z] nexus3.edgexfoundry.org:10003 [2021-05-10T20:25:08.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:25:08.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:25:08.802Z] Configure a credential helper to remove this warning. See [2021-05-10T20:25:08.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:25:08.802Z] [2021-05-10T20:25:08.802Z] Login Succeeded [2021-05-10T20:25:08.802Z] nexus3.edgexfoundry.org:10004 [2021-05-10T20:25:09.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:25:09.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:25:09.124Z] Configure a credential helper to remove this warning. See [2021-05-10T20:25:09.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:25:09.124Z] [2021-05-10T20:25:09.124Z] Login Succeeded [2021-05-10T20:25:09.124Z] docker.io [2021-05-10T20:25:09.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:25:09.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:25:09.704Z] Configure a credential helper to remove this warning. See [2021-05-10T20:25:09.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:25:09.704Z] [2021-05-10T20:25:09.704Z] Login Succeeded [2021-05-10T20:25:09.704Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T20:25:09.722Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T20:25:10.242Z] + git log --format=format:%s -1 ff158f9209222a4049e2ebc7759a979c330d6fd2 [Pipeline] echo [2021-05-10T20:25:10.401Z] GIT_COMMIT: ff158f9209222a4049e2ebc7759a979c330d6fd2, Commit Message: refactor: Updated to latest SDK and update MessageQue type to be `redis` [Pipeline] echo [2021-05-10T20:25:10.414Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:25:11.093Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T20:25:11.094Z] [2021-05-10T20:25:11.094Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:25:11.506Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T20:25:11.506Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T20:25:11.507Z] 31603596830f: Pulling fs layer [2021-05-10T20:25:11.507Z] 54011a49482f: Pulling fs layer [2021-05-10T20:25:11.507Z] a6820b24f6d8: Pulling fs layer [2021-05-10T20:25:11.507Z] f581987b2513: Pulling fs layer [2021-05-10T20:25:11.507Z] f581987b2513: Waiting [2021-05-10T20:25:11.817Z] 54011a49482f: Verifying Checksum [2021-05-10T20:25:11.817Z] 54011a49482f: Download complete [2021-05-10T20:25:12.163Z] 31603596830f: Verifying Checksum [2021-05-10T20:25:12.163Z] 31603596830f: Download complete [2021-05-10T20:25:12.860Z] f581987b2513: Verifying Checksum [2021-05-10T20:25:12.860Z] f581987b2513: Download complete [2021-05-10T20:25:12.860Z] a6820b24f6d8: Verifying Checksum [2021-05-10T20:25:12.860Z] a6820b24f6d8: Download complete [2021-05-10T20:25:13.175Z] 31603596830f: Pull complete [2021-05-10T20:25:13.455Z] 54011a49482f: Pull complete [2021-05-10T20:25:15.504Z] a6820b24f6d8: Pull complete [2021-05-10T20:25:16.596Z] f581987b2513: Pull complete [2021-05-10T20:25:16.596Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T20:25:16.596Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T20:25:16.596Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T20:25:17.033Z] prd-centos7-docker-4c-2g-4185 does not seem to be running inside a container [2021-05-10T20:25:17.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-199 -v /w/workspace/foundry_device-virtual-go_PR-199:/w/workspace/foundry_device-virtual-go_PR-199:rw,z -v /w/workspace/foundry_device-virtual-go_PR-199@tmp:/w/workspace/foundry_device-virtual-go_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-10T20:25:20.251Z] $ docker top b3935ae1b9ee3a669b069567962b8199a3cd066e94bd59e61da1eae670b0fd72 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T20:25:20.612Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T20:25:20.612Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T20:25:20.980Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T20:25:20.988Z] $ docker exec b3935ae1b9ee3a669b069567962b8199a3cd066e94bd59e61da1eae670b0fd72 ssh-agent [2021-05-10T20:25:21.427Z] SSH_AUTH_SOCK=/tmp/ssh-zoG5fMBrox9C/agent.11 [2021-05-10T20:25:21.427Z] SSH_AGENT_PID=16 [2021-05-10T20:25:21.443Z] Running ssh-add (command line suppressed) [2021-05-10T20:25:21.664Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-199@tmp/private_key_1982928574576308052.key (/w/workspace/foundry_device-virtual-go_PR-199@tmp/private_key_1982928574576308052.key) [2021-05-10T20:25:21.758Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T20:25:22.134Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T20:25:22.177Z] $ docker exec --env ******** --env ******** b3935ae1b9ee3a669b069567962b8199a3cd066e94bd59e61da1eae670b0fd72 ssh-agent -k [2021-05-10T20:25:22.356Z] unset SSH_AUTH_SOCK; [2021-05-10T20:25:22.357Z] unset SSH_AGENT_PID; [2021-05-10T20:25:22.357Z] echo Agent pid 16 killed; [2021-05-10T20:25:22.441Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T20:25:22.488Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T20:25:22.488Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T20:25:22.808Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T20:25:22.817Z] $ docker exec b3935ae1b9ee3a669b069567962b8199a3cd066e94bd59e61da1eae670b0fd72 ssh-agent [2021-05-10T20:25:23.172Z] SSH_AUTH_SOCK=/tmp/ssh-zXHtQXTUiHiq/agent.46 [2021-05-10T20:25:23.172Z] SSH_AGENT_PID=51 [2021-05-10T20:25:23.200Z] Running ssh-add (command line suppressed) [2021-05-10T20:25:23.473Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-199@tmp/private_key_2655593962067286721.key (/w/workspace/foundry_device-virtual-go_PR-199@tmp/private_key_2655593962067286721.key) [2021-05-10T20:25:23.609Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T20:25:23.958Z] + git semver init [2021-05-10T20:25:24.264Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T20:25:24.264Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-199/.git [2021-05-10T20:25:24.264Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-199 [2021-05-10T20:25:24.264Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T20:25:24.264Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T20:25:24.264Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T20:25:24.264Z] # $SEMVER_BRANCH = PR-199 [2021-05-10T20:25:24.264Z] # $SEMVER_TEMP = /tmp/semver-872322921 [2021-05-10T20:25:24.264Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-10T20:25:24.554Z] # '/tmp/semver-872322921' -> '/w/workspace/foundry_device-virtual-go_PR-199/.semver' [2021-05-10T20:25:24.555Z] # -> Force: false [2021-05-10T20:25:24.555Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-199/.semver [Pipeline] } [2021-05-10T20:25:24.582Z] $ docker exec --env ******** --env ******** b3935ae1b9ee3a669b069567962b8199a3cd066e94bd59e61da1eae670b0fd72 ssh-agent -k [2021-05-10T20:25:24.918Z] unset SSH_AUTH_SOCK; [2021-05-10T20:25:24.918Z] unset SSH_AGENT_PID; [2021-05-10T20:25:24.919Z] echo Agent pid 51 killed; [2021-05-10T20:25:24.991Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T20:25:25.373Z] + git semver [Pipeline] } [2021-05-10T20:25:25.400Z] $ docker stop --time=1 b3935ae1b9ee3a669b069567962b8199a3cd066e94bd59e61da1eae670b0fd72 [2021-05-10T20:25:27.051Z] $ docker rm -f b3935ae1b9ee3a669b069567962b8199a3cd066e94bd59e61da1eae670b0fd72 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T20:25:27.822Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T20:25:28.829Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T20:25:28.833Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-10T20:25:44.070Z] Still waiting to schedule task [2021-05-10T20:25:44.070Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-10T20:25:44.074Z] Still waiting to schedule task [2021-05-10T20:25:44.074Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-10T20:27:39.193Z] Running on prd-centos7-docker-4c-2g-4189 in /w/workspace/foundry_device-virtual-go_PR-199 [Pipeline] { [Pipeline] ws [2021-05-10T20:27:39.213Z] Running in /w/workspace/device-virtual-go/5 [Pipeline] { [Pipeline] checkout [2021-05-10T20:27:42.162Z] using credential edgex-jenkins-ssh [2021-05-10T20:27:42.177Z] Cloning the remote Git repository [2021-05-10T20:27:41.758Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T20:27:41.841Z] > git init /w/workspace/device-virtual-go/5 # timeout=10 [2021-05-10T20:27:41.918Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T20:27:41.918Z] > git --version # timeout=10 [2021-05-10T20:27:41.925Z] > git --version # 'git version 2.24.3' [2021-05-10T20:27:41.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T20:27:41.977Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T20:27:42.637Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-10T20:27:42.649Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T20:27:42.668Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-10T20:27:42.682Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T20:27:42.682Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T20:27:42.687Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/199/head:refs/remotes/origin/PR-199 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T20:27:44.328Z] Merging remotes/origin/master commit f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 into PR head commit ff158f9209222a4049e2ebc7759a979c330d6fd2 [2021-05-10T20:27:44.435Z] Merge succeeded, producing ff158f9209222a4049e2ebc7759a979c330d6fd2 [2021-05-10T20:27:44.436Z] Checking out Revision ff158f9209222a4049e2ebc7759a979c330d6fd2 (PR-199) [2021-05-10T20:27:44.066Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T20:27:44.078Z] > git checkout -f ff158f9209222a4049e2ebc7759a979c330d6fd2 # timeout=10 [2021-05-10T20:27:44.121Z] > git remote # timeout=10 [2021-05-10T20:27:44.129Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T20:27:44.148Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T20:27:44.153Z] > git merge f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 # timeout=10 [2021-05-10T20:27:44.164Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T20:27:44.176Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T20:27:44.182Z] > git checkout -f ff158f9209222a4049e2ebc7759a979c330d6fd2 # timeout=10 [2021-05-10T20:27:47.925Z] Commit message: "refactor: Updated to latest SDK and update MessageQue type to be `redis`" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T20:27:49.062Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T20:27:49.389Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T20:27:49.691Z] + true [2021-05-10T20:27:49.691Z] + sudo service docker restart [2021-05-10T20:27:49.691Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T20:27:50.686Z] provisioning config files... [2021-05-10T20:27:50.727Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/5@tmp/config7624452842120740606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:27:51.070Z] ---> docker-login.sh [2021-05-10T20:27:51.070Z] nexus3.edgexfoundry.org:10001 [2021-05-10T20:27:51.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:27:51.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:27:51.605Z] Configure a credential helper to remove this warning. See [2021-05-10T20:27:51.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:27:51.605Z] [2021-05-10T20:27:51.605Z] Login Succeeded [2021-05-10T20:27:51.605Z] nexus3.edgexfoundry.org:10002 [2021-05-10T20:27:51.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:27:51.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:27:51.872Z] Configure a credential helper to remove this warning. See [2021-05-10T20:27:51.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:27:51.872Z] [2021-05-10T20:27:51.872Z] Login Succeeded [2021-05-10T20:27:51.872Z] nexus3.edgexfoundry.org:10003 [2021-05-10T20:27:52.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:27:52.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:27:52.140Z] Configure a credential helper to remove this warning. See [2021-05-10T20:27:52.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:27:52.140Z] [2021-05-10T20:27:52.140Z] Login Succeeded [2021-05-10T20:27:52.140Z] nexus3.edgexfoundry.org:10004 [2021-05-10T20:27:52.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:27:52.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:27:52.410Z] Configure a credential helper to remove this warning. See [2021-05-10T20:27:52.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:27:52.410Z] [2021-05-10T20:27:52.410Z] Login Succeeded [2021-05-10T20:27:52.410Z] docker.io [2021-05-10T20:27:52.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:27:52.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:27:52.679Z] Configure a credential helper to remove this warning. See [2021-05-10T20:27:52.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:27:52.679Z] [2021-05-10T20:27:52.679Z] Login Succeeded [2021-05-10T20:27:52.679Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T20:27:52.706Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T20:27:53.017Z] ========================================================= [2021-05-10T20:27:53.017Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T20:27:53.017Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:27:53.356Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-10T20:27:53.621Z] Sending build context to Docker daemon 9.193MB [2021-05-10T20:27:53.621Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T20:27:53.621Z] Step 2/8 : FROM ${BASE} [2021-05-10T20:27:53.621Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T20:27:53.621Z] 540db60ca938: Pulling fs layer [2021-05-10T20:27:53.621Z] adcc1eea9eea: Pulling fs layer [2021-05-10T20:27:53.621Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T20:27:53.621Z] 0510c868ecb4: Pulling fs layer [2021-05-10T20:27:53.621Z] afea3b2eda06: Pulling fs layer [2021-05-10T20:27:53.621Z] 7809a108b3ef: Pulling fs layer [2021-05-10T20:27:53.621Z] f706445af74f: Pulling fs layer [2021-05-10T20:27:53.621Z] afea3b2eda06: Waiting [2021-05-10T20:27:53.621Z] f706445af74f: Waiting [2021-05-10T20:27:53.621Z] 0510c868ecb4: Waiting [2021-05-10T20:27:53.621Z] 7809a108b3ef: Waiting [2021-05-10T20:27:53.621Z] 4c4ab2625f07: Verifying Checksum [2021-05-10T20:27:53.621Z] 4c4ab2625f07: Download complete [2021-05-10T20:27:53.621Z] adcc1eea9eea: Download complete [2021-05-10T20:27:53.621Z] afea3b2eda06: Verifying Checksum [2021-05-10T20:27:53.621Z] afea3b2eda06: Download complete [2021-05-10T20:27:53.621Z] 7809a108b3ef: Download complete [2021-05-10T20:27:53.884Z] 540db60ca938: Verifying Checksum [2021-05-10T20:27:53.884Z] 540db60ca938: Download complete [2021-05-10T20:27:53.884Z] 540db60ca938: Pull complete [2021-05-10T20:27:54.149Z] adcc1eea9eea: Pull complete [2021-05-10T20:27:54.416Z] 4c4ab2625f07: Pull complete [2021-05-10T20:27:55.844Z] f706445af74f: Verifying Checksum [2021-05-10T20:27:55.844Z] f706445af74f: Download complete [2021-05-10T20:27:56.427Z] 0510c868ecb4: Verifying Checksum [2021-05-10T20:27:56.427Z] 0510c868ecb4: Download complete [2021-05-10T20:28:03.098Z] 0510c868ecb4: Pull complete [2021-05-10T20:28:03.098Z] afea3b2eda06: Pull complete [2021-05-10T20:28:03.098Z] 7809a108b3ef: Pull complete [2021-05-10T20:28:07.351Z] f706445af74f: Pull complete [2021-05-10T20:28:07.351Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T20:28:07.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T20:28:07.351Z] ---> b068be0155e3 [2021-05-10T20:28:07.351Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-10T20:28:08.303Z] ---> Running in c60a8649037c [2021-05-10T20:28:08.885Z] Removing intermediate container c60a8649037c [2021-05-10T20:28:08.885Z] ---> e97138dea1b8 [2021-05-10T20:28:08.885Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T20:28:08.885Z] ---> Running in f6fc8cdab5b6 [2021-05-10T20:28:09.838Z] Removing intermediate container f6fc8cdab5b6 [2021-05-10T20:28:09.838Z] ---> e98241ffa0b5 [2021-05-10T20:28:09.839Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-10T20:28:09.839Z] ---> Running in e977ed4898c6 [2021-05-10T20:28:10.454Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T20:28:13.774Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T20:28:20.390Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-10T20:28:20.390Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-10T20:28:20.390Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-10T20:28:20.655Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-10T20:28:20.919Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-10T20:28:21.508Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-10T20:28:21.770Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-10T20:28:25.989Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-10T20:28:25.989Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-10T20:28:26.252Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-10T20:28:27.200Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-10T20:28:28.148Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-10T20:28:29.094Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-10T20:28:29.094Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T20:28:29.094Z] OK: 156 MiB in 53 packages [2021-05-10T20:28:30.050Z] Removing intermediate container e977ed4898c6 [2021-05-10T20:28:30.050Z] ---> 55a40222bfb9 [2021-05-10T20:28:30.050Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-10T20:28:30.050Z] ---> Running in ef2ff6aea407 [2021-05-10T20:28:30.314Z] Removing intermediate container ef2ff6aea407 [2021-05-10T20:28:30.314Z] ---> c13c4c2b3c1b [2021-05-10T20:28:30.314Z] Step 7/8 : COPY . . [2021-05-10T20:28:31.712Z] ---> ab570a6bd0a2 [2021-05-10T20:28:31.712Z] Step 8/8 : RUN go mod download [2021-05-10T20:28:31.987Z] ---> Running in 0ed73899e43a [2021-05-10T20:28:58.645Z] Removing intermediate container 0ed73899e43a [2021-05-10T20:28:58.645Z] ---> fd20b5f10426 [2021-05-10T20:28:58.645Z] Successfully built fd20b5f10426 [2021-05-10T20:28:58.645Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:28:58.970Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T20:28:58.970Z] . [Pipeline] withDockerContainer [2021-05-10T20:28:59.117Z] prd-centos7-docker-4c-2g-4189 does not seem to be running inside a container [2021-05-10T20:28:59.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T20:29:00.048Z] $ docker top c7ce5da2cd1ff1fa6b32818e15901bc61fb41864e7d2c5b03b6ead91d3a86608 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T20:29:00.495Z] + go version [2021-05-10T20:29:00.495Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-10T20:29:00.512Z] $ docker stop --time=1 c7ce5da2cd1ff1fa6b32818e15901bc61fb41864e7d2c5b03b6ead91d3a86608 [2021-05-10T20:29:01.955Z] $ docker rm -f c7ce5da2cd1ff1fa6b32818e15901bc61fb41864e7d2c5b03b6ead91d3a86608 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:29:02.516Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T20:29:02.516Z] . [Pipeline] withDockerContainer [2021-05-10T20:29:02.630Z] prd-centos7-docker-4c-2g-4189 does not seem to be running inside a container [2021-05-10T20:29:02.682Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T20:29:03.399Z] $ docker top 7af2cc6efd4a1686a420bfd3b04c6490d50ee8efdab291e5ad1441c8c9e2d13d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T20:29:03.972Z] + go mod tidy [Pipeline] sh [2021-05-10T20:29:05.315Z] + make test [2021-05-10T20:29:05.315Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-10T20:29:05.331Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4191 in /w/workspace/foundry_device-virtual-go_PR-199 [Pipeline] { [Pipeline] ws [2021-05-10T20:29:05.358Z] Running in /w/workspace/device-virtual-go/5 [Pipeline] { [Pipeline] checkout [2021-05-10T20:29:06.289Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-10T20:29:11.537Z] using credential edgex-jenkins-ssh [2021-05-10T20:29:11.556Z] Cloning the remote Git repository [2021-05-10T20:29:11.653Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T20:29:11.826Z] > git init /w/workspace/device-virtual-go/5 # timeout=10 [2021-05-10T20:29:11.928Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T20:29:11.929Z] > git --version # timeout=10 [2021-05-10T20:29:11.946Z] > git --version # 'git version 2.17.1' [2021-05-10T20:29:11.948Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T20:29:12.022Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T20:29:12.900Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-10T20:29:12.928Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T20:29:12.951Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-10T20:29:12.996Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-10T20:29:12.997Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T20:29:13.010Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/199/head:refs/remotes/origin/PR-199 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T20:29:15.792Z] Merging remotes/origin/master commit f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 into PR head commit ff158f9209222a4049e2ebc7759a979c330d6fd2 [2021-05-10T20:29:15.814Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T20:29:15.833Z] > git checkout -f ff158f9209222a4049e2ebc7759a979c330d6fd2 # timeout=10 [2021-05-10T20:29:16.029Z] Merge succeeded, producing ff158f9209222a4049e2ebc7759a979c330d6fd2 [2021-05-10T20:29:16.030Z] Checking out Revision ff158f9209222a4049e2ebc7759a979c330d6fd2 (PR-199) [2021-05-10T20:29:15.918Z] > git remote # timeout=10 [2021-05-10T20:29:15.949Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T20:29:15.971Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T20:29:15.983Z] > git merge f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 # timeout=10 [2021-05-10T20:29:16.016Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T20:29:16.040Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T20:29:16.061Z] > git checkout -f ff158f9209222a4049e2ebc7759a979c330d6fd2 # timeout=10 [2021-05-10T20:29:20.406Z] Commit message: "refactor: Updated to latest SDK and update MessageQue type to be `redis`" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T20:29:21.927Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-10T20:29:22.356Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T20:29:22.703Z] + true [2021-05-10T20:29:22.703Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T20:29:25.375Z] provisioning config files... [2021-05-10T20:29:25.431Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/5@tmp/config4723778576977075672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:29:25.844Z] ---> docker-login.sh [2021-05-10T20:29:25.845Z] nexus3.edgexfoundry.org:10001 [2021-05-10T20:29:26.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:29:27.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:29:27.117Z] Configure a credential helper to remove this warning. See [2021-05-10T20:29:27.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:29:27.117Z] [2021-05-10T20:29:27.117Z] Login Succeeded [2021-05-10T20:29:27.117Z] nexus3.edgexfoundry.org:10002 [2021-05-10T20:29:27.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:29:27.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:29:27.728Z] Configure a credential helper to remove this warning. See [2021-05-10T20:29:27.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:29:27.728Z] [2021-05-10T20:29:27.728Z] Login Succeeded [2021-05-10T20:29:27.728Z] nexus3.edgexfoundry.org:10003 [2021-05-10T20:29:28.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:29:28.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:29:28.324Z] Configure a credential helper to remove this warning. See [2021-05-10T20:29:28.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:29:28.324Z] [2021-05-10T20:29:28.324Z] Login Succeeded [2021-05-10T20:29:28.324Z] nexus3.edgexfoundry.org:10004 [2021-05-10T20:29:28.411Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-10T20:29:28.411Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.482s coverage: 63.8% of statements [2021-05-10T20:29:28.411Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-10T20:29:28.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:29:28.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:29:28.891Z] Configure a credential helper to remove this warning. See [2021-05-10T20:29:28.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:29:28.891Z] [2021-05-10T20:29:28.891Z] Login Succeeded [2021-05-10T20:29:28.891Z] docker.io [2021-05-10T20:29:29.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T20:29:29.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T20:29:29.760Z] Configure a credential helper to remove this warning. See [2021-05-10T20:29:29.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T20:29:29.760Z] [2021-05-10T20:29:29.760Z] Login Succeeded [2021-05-10T20:29:29.760Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T20:29:29.779Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T20:29:30.141Z] ========================================================= [2021-05-10T20:29:30.141Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T20:29:30.141Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:29:30.491Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-10T20:29:31.098Z] Sending build context to Docker daemon 9.192MB [2021-05-10T20:29:31.098Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T20:29:31.098Z] Step 2/8 : FROM ${BASE} [2021-05-10T20:29:31.098Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T20:29:31.098Z] 595b0fe564bb: Pulling fs layer [2021-05-10T20:29:31.098Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T20:29:31.098Z] 316046926c0a: Pulling fs layer [2021-05-10T20:29:31.098Z] 4ebd0625c992: Pulling fs layer [2021-05-10T20:29:31.098Z] 207e8628e3a3: Pulling fs layer [2021-05-10T20:29:31.098Z] c791037a9be2: Pulling fs layer [2021-05-10T20:29:31.098Z] ffd874e62e21: Pulling fs layer [2021-05-10T20:29:31.098Z] 4ebd0625c992: Waiting [2021-05-10T20:29:31.098Z] 207e8628e3a3: Waiting [2021-05-10T20:29:31.098Z] c791037a9be2: Waiting [2021-05-10T20:29:31.098Z] ffd874e62e21: Waiting [2021-05-10T20:29:31.098Z] 316046926c0a: Download complete [2021-05-10T20:29:31.098Z] 7186ed65a4f7: Verifying Checksum [2021-05-10T20:29:31.098Z] 7186ed65a4f7: Download complete [2021-05-10T20:29:31.098Z] 207e8628e3a3: Verifying Checksum [2021-05-10T20:29:31.098Z] 207e8628e3a3: Download complete [2021-05-10T20:29:31.098Z] c791037a9be2: Verifying Checksum [2021-05-10T20:29:31.098Z] c791037a9be2: Download complete [2021-05-10T20:29:31.378Z] 595b0fe564bb: Verifying Checksum [2021-05-10T20:29:31.378Z] 595b0fe564bb: Download complete [2021-05-10T20:29:31.978Z] 595b0fe564bb: Pull complete [2021-05-10T20:29:32.584Z] 7186ed65a4f7: Pull complete [2021-05-10T20:29:32.859Z] 316046926c0a: Pull complete [2021-05-10T20:29:33.850Z] ffd874e62e21: Verifying Checksum [2021-05-10T20:29:33.850Z] ffd874e62e21: Download complete [2021-05-10T20:29:35.297Z] 4ebd0625c992: Verifying Checksum [2021-05-10T20:29:35.297Z] 4ebd0625c992: Download complete [2021-05-10T20:29:36.649Z] gofmt -l . [2021-05-10T20:29:36.649Z] [ "`gofmt -l .`" = "" ] [2021-05-10T20:29:36.649Z] ./bin/test-attribution-txt.sh [2021-05-10T20:29:38.047Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-10T20:29:38.065Z] $ docker stop --time=1 7af2cc6efd4a1686a420bfd3b04c6490d50ee8efdab291e5ad1441c8c9e2d13d [2021-05-10T20:29:40.193Z] $ docker rm -f 7af2cc6efd4a1686a420bfd3b04c6490d50ee8efdab291e5ad1441c8c9e2d13d [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T20:29:40.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T20:29:41.129Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-10T20:29:42.103Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-10T20:29:42.408Z] + ls -al . [2021-05-10T20:29:42.408Z] total 132 [2021-05-10T20:29:42.408Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 10 20:29 . [2021-05-10T20:29:42.408Z] drwxrwxr-x. 4 jenkins jenkins 28 May 10 20:27 .. [2021-05-10T20:29:42.408Z] -rw-rw-r--. 1 jenkins jenkins 8153 May 10 20:27 Attribution.txt [2021-05-10T20:29:42.408Z] drwxrwxr-x. 2 jenkins jenkins 64 May 10 20:27 bin [2021-05-10T20:29:42.408Z] drwxrwxr-x. 3 jenkins jenkins 32 May 10 20:27 cmd [2021-05-10T20:29:42.408Z] -rw-r--r--. 1 jenkins jenkins 47247 May 10 20:29 coverage.out [2021-05-10T20:29:42.408Z] -rw-rw-r--. 1 jenkins jenkins 1905 May 10 20:27 Dockerfile [2021-05-10T20:29:42.408Z] -rw-rw-r--. 1 jenkins jenkins 998 May 10 20:27 Dockerfile.build [2021-05-10T20:29:42.408Z] drwxrwxr-x. 8 jenkins jenkins 179 May 10 20:27 .git [2021-05-10T20:29:42.408Z] drwxrwxr-x. 2 jenkins jenkins 103 May 10 20:27 .github [2021-05-10T20:29:42.408Z] -rw-rw-r--. 1 jenkins jenkins 277 May 10 20:27 .gitignore [2021-05-10T20:29:42.408Z] -rw-r--r--. 1 jenkins jenkins 809 May 10 20:29 go.mod [2021-05-10T20:29:42.408Z] -rw-r--r--. 1 jenkins jenkins 23532 May 10 20:29 go.sum [2021-05-10T20:29:42.408Z] drwxrwxr-x. 3 jenkins jenkins 20 May 10 20:27 internal [2021-05-10T20:29:42.408Z] -rw-rw-r--. 1 jenkins jenkins 660 May 10 20:27 Jenkinsfile [2021-05-10T20:29:42.408Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 10 20:27 LICENSE [2021-05-10T20:29:42.408Z] -rw-rw-r--. 1 jenkins jenkins 901 May 10 20:27 Makefile [2021-05-10T20:29:42.408Z] -rw-rw-r--. 1 jenkins jenkins 2745 May 10 20:27 README.md [2021-05-10T20:29:42.408Z] -rw-rw-r--. 1 jenkins jenkins 5 May 10 20:25 VERSION [2021-05-10T20:29:42.408Z] -rw-rw-r--. 1 jenkins jenkins 235 May 10 20:27 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:29:42.721Z] + 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=ff158f9209222a4049e2ebc7759a979c330d6fd2 --label arch=amd64 --label version=0.0.0 . [2021-05-10T20:29:42.987Z] Sending build context to Docker daemon 9.266MB [2021-05-10T20:29:43.248Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T20:29:43.248Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-10T20:29:43.248Z] ---> fd20b5f10426 [2021-05-10T20:29:43.248Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-10T20:29:43.248Z] ---> Running in 6f1ff0645cf1 [2021-05-10T20:29:43.510Z] Removing intermediate container 6f1ff0645cf1 [2021-05-10T20:29:43.510Z] ---> 4e9c1fab2f2c [2021-05-10T20:29:43.510Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T20:29:43.510Z] ---> Running in 21203375c16a [2021-05-10T20:29:43.774Z] Removing intermediate container 21203375c16a [2021-05-10T20:29:43.774Z] ---> edb884bb32e3 [2021-05-10T20:29:43.774Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-10T20:29:43.774Z] ---> Running in 1002dfdf78b7 [2021-05-10T20:29:44.044Z] Removing intermediate container 1002dfdf78b7 [2021-05-10T20:29:44.044Z] ---> 7aa40c50da1c [2021-05-10T20:29:44.044Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T20:29:44.044Z] ---> Running in cb6338f11298 [2021-05-10T20:29:45.007Z] Removing intermediate container cb6338f11298 [2021-05-10T20:29:45.007Z] ---> 5b30af3346a0 [2021-05-10T20:29:45.007Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T20:29:45.007Z] ---> Running in 9e751d9ada51 [2021-05-10T20:29:45.489Z] 4ebd0625c992: Pull complete [2021-05-10T20:29:45.489Z] 207e8628e3a3: Pull complete [2021-05-10T20:29:45.489Z] c791037a9be2: Pull complete [2021-05-10T20:29:45.597Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T20:29:47.518Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T20:29:48.094Z] OK: 156 MiB in 53 packages [2021-05-10T20:29:48.676Z] Removing intermediate container 9e751d9ada51 [2021-05-10T20:29:48.676Z] ---> 51d53ba12f67 [2021-05-10T20:29:48.676Z] Step 8/25 : COPY . . [2021-05-10T20:29:49.259Z] ---> 8e4bfa76b050 [2021-05-10T20:29:49.259Z] Step 9/25 : RUN go mod download [2021-05-10T20:29:49.259Z] ---> Running in 7ea10f945cc3 [2021-05-10T20:29:49.811Z] ffd874e62e21: Pull complete [2021-05-10T20:29:49.811Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T20:29:49.811Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T20:29:49.811Z] ---> cfc18b08335c [2021-05-10T20:29:49.811Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-10T20:29:50.208Z] Removing intermediate container 7ea10f945cc3 [2021-05-10T20:29:50.208Z] ---> 72b009a4d855 [2021-05-10T20:29:50.208Z] Step 10/25 : ARG MAKE='make build' [2021-05-10T20:29:50.208Z] ---> Running in 4f131cf50e6e [2021-05-10T20:29:50.476Z] Removing intermediate container 4f131cf50e6e [2021-05-10T20:29:50.476Z] ---> 7673dd467a7c [2021-05-10T20:29:50.476Z] Step 11/25 : RUN $MAKE [2021-05-10T20:29:50.476Z] ---> Running in 05c439ccca1c [2021-05-10T20:29:51.056Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-05-10T20:29:52.463Z] ---> Running in f31467e1c378 [2021-05-10T20:29:52.737Z] Removing intermediate container f31467e1c378 [2021-05-10T20:29:52.737Z] ---> f42d1ceb5b5a [2021-05-10T20:29:52.737Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T20:29:53.012Z] ---> Running in 2102f40ac17b [2021-05-10T20:29:55.666Z] Removing intermediate container 2102f40ac17b [2021-05-10T20:29:55.666Z] ---> d435cd393e97 [2021-05-10T20:29:55.666Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-10T20:29:55.666Z] ---> Running in 6a7eddc6ef77 [2021-05-10T20:29:56.649Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T20:29:58.645Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T20:29:59.623Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-10T20:29:59.623Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-10T20:29:59.896Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-10T20:30:00.168Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-10T20:30:00.168Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-10T20:30:00.441Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-10T20:30:00.727Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-10T20:30:02.705Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-10T20:30:02.705Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-10T20:30:02.705Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-10T20:30:02.981Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-10T20:30:03.255Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-10T20:30:03.255Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-10T20:30:03.535Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T20:30:03.535Z] OK: 145 MiB in 53 packages [2021-05-10T20:30:05.516Z] Removing intermediate container 6a7eddc6ef77 [2021-05-10T20:30:05.516Z] ---> 844545dae539 [2021-05-10T20:30:05.516Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-10T20:30:05.516Z] ---> Running in 39ab804f9b58 [2021-05-10T20:30:06.116Z] Removing intermediate container 39ab804f9b58 [2021-05-10T20:30:06.116Z] ---> 92f98d53ccee [2021-05-10T20:30:06.116Z] Step 7/8 : COPY . . [2021-05-10T20:30:07.568Z] ---> f38c690c605f [2021-05-10T20:30:07.568Z] Step 8/8 : RUN go mod download [2021-05-10T20:30:07.568Z] ---> Running in 9f6e75956abd [2021-05-10T20:30:09.327Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-10T20:30:13.557Z] Removing intermediate container 05c439ccca1c [2021-05-10T20:30:13.557Z] ---> 1c3ec376cc9e [2021-05-10T20:30:13.557Z] Step 12/25 : FROM alpine:3.12 [2021-05-10T20:30:13.557Z] 3.12: Pulling from library/alpine [2021-05-10T20:30:13.557Z] 339de151aab4: Pulling fs layer [2021-05-10T20:30:13.820Z] 339de151aab4: Verifying Checksum [2021-05-10T20:30:13.820Z] 339de151aab4: Download complete [2021-05-10T20:30:14.083Z] 339de151aab4: Pull complete [2021-05-10T20:30:14.083Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-10T20:30:14.083Z] Status: Downloaded newer image for alpine:3.12 [2021-05-10T20:30:14.083Z] ---> 13621d1b12d4 [2021-05-10T20:30:14.083Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-10T20:30:14.083Z] ---> Running in 58e9885e042d [2021-05-10T20:30:14.350Z] Removing intermediate container 58e9885e042d [2021-05-10T20:30:14.350Z] ---> 7dba8ddbd176 [2021-05-10T20:30:14.350Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T20:30:14.350Z] ---> Running in 42718651ced5 [2021-05-10T20:30:15.305Z] Removing intermediate container 42718651ced5 [2021-05-10T20:30:15.305Z] ---> 6a8a5c368b91 [2021-05-10T20:30:15.305Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-10T20:30:15.568Z] ---> Running in c525080f9cb3 [2021-05-10T20:30:15.831Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-10T20:30:17.232Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-10T20:30:18.180Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-10T20:30:18.180Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-10T20:30:19.138Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-10T20:30:19.138Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-10T20:30:20.528Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-10T20:30:20.790Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-10T20:30:20.790Z] Executing busybox-1.31.1-r20.trigger [2021-05-10T20:30:20.790Z] OK: 8 MiB in 20 packages [2021-05-10T20:30:21.363Z] Removing intermediate container c525080f9cb3 [2021-05-10T20:30:21.363Z] ---> b9391accbae2 [2021-05-10T20:30:21.363Z] Step 16/25 : WORKDIR / [2021-05-10T20:30:21.363Z] ---> Running in 2b3271e49cf3 [2021-05-10T20:30:21.624Z] Removing intermediate container 2b3271e49cf3 [2021-05-10T20:30:21.624Z] ---> 70a74d8a236a [2021-05-10T20:30:21.624Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-10T20:30:21.886Z] ---> cbe4b976e56f [2021-05-10T20:30:21.886Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-10T20:30:22.149Z] ---> dda55af22e46 [2021-05-10T20:30:22.149Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-10T20:30:22.724Z] ---> 557e883b0d52 [2021-05-10T20:30:22.724Z] Step 20/25 : EXPOSE 49990 [2021-05-10T20:30:22.724Z] ---> Running in a5fdb3d75a5b [2021-05-10T20:30:22.985Z] Removing intermediate container a5fdb3d75a5b [2021-05-10T20:30:22.985Z] ---> 671e0a80badf [2021-05-10T20:30:22.985Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-10T20:30:22.985Z] ---> Running in 8d70aa1532aa [2021-05-10T20:30:23.247Z] Removing intermediate container 8d70aa1532aa [2021-05-10T20:30:23.247Z] ---> 2b02a1430c29 [2021-05-10T20:30:23.247Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-10T20:30:23.247Z] ---> Running in 791cc363c411 [2021-05-10T20:30:23.509Z] Removing intermediate container 791cc363c411 [2021-05-10T20:30:23.509Z] ---> 075eae9dd3a0 [2021-05-10T20:30:23.509Z] Step 23/25 : LABEL arch=amd64 [2021-05-10T20:30:23.509Z] ---> Running in 71461137dc86 [2021-05-10T20:30:23.509Z] Removing intermediate container 71461137dc86 [2021-05-10T20:30:23.509Z] ---> ae242653e2cc [2021-05-10T20:30:23.509Z] Step 24/25 : LABEL git_sha=ff158f9209222a4049e2ebc7759a979c330d6fd2 [2021-05-10T20:30:23.771Z] ---> Running in 4113289576b3 [2021-05-10T20:30:23.771Z] Removing intermediate container 4113289576b3 [2021-05-10T20:30:23.771Z] ---> f2ecf07c62b2 [2021-05-10T20:30:23.771Z] Step 25/25 : LABEL version=0.0.0 [2021-05-10T20:30:24.032Z] ---> Running in 3c866d914319 [2021-05-10T20:30:24.032Z] Removing intermediate container 3c866d914319 [2021-05-10T20:30:24.032Z] ---> 07cb0d9efb45 [2021-05-10T20:30:24.032Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-10T20:30:24.032Z] Successfully built 07cb0d9efb45 [2021-05-10T20:30:24.032Z] 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-05-10T20:30:24.646Z] ---> job-cost.sh [2021-05-10T20:30:24.646Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-aj1A [2021-05-10T20:30:39.618Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T20:30:39.943Z] Removing intermediate container 9f6e75956abd [2021-05-10T20:30:39.943Z] ---> 2ead77ea36ce [2021-05-10T20:30:39.943Z] Successfully built 2ead77ea36ce [2021-05-10T20:30:39.943Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:30:40.283Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T20:30:40.283Z] . [Pipeline] withDockerContainer [2021-05-10T20:30:40.510Z] prd-ubuntu18.04-docker-arm64-4c-16g-4191 does not seem to be running inside a container [2021-05-10T20:30:40.595Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T20:30:42.142Z] $ docker top f4f5a86781aa10f7e031cee705a4aa7ed19c6fda9913b98d6b8c186039449597 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T20:30:43.109Z] + go version [2021-05-10T20:30:43.109Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-10T20:30:43.134Z] $ docker stop --time=1 f4f5a86781aa10f7e031cee705a4aa7ed19c6fda9913b98d6b8c186039449597 [2021-05-10T20:30:45.106Z] $ docker rm -f f4f5a86781aa10f7e031cee705a4aa7ed19c6fda9913b98d6b8c186039449597 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:30:45.829Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T20:30:45.829Z] . [Pipeline] withDockerContainer [2021-05-10T20:30:46.096Z] prd-ubuntu18.04-docker-arm64-4c-16g-4191 does not seem to be running inside a container [2021-05-10T20:30:46.179Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T20:30:47.742Z] $ docker top 8dc7f7498dfe0bdd03e4ac0691dae30b27e6ecb5cc8fdbd5a42b1f8b835e40c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T20:30:48.732Z] + go mod tidy [Pipeline] sh [2021-05-10T20:30:50.014Z] + make test [2021-05-10T20:30:50.014Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-10T20:30:51.459Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-10T20:31:11.792Z] lf-activate-venv(): INFO: Adding /tmp/venv-aj1A/bin to PATH [2021-05-10T20:31:11.792Z] INFO: No Stack... [2021-05-10T20:31:11.792Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T20:31:11.792Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T20:31:12.103Z] + cat /w/workspace/device-virtual-go/5/archives/cost.csv [2021-05-10T20:31:12.103Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T20:31:12.189Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-199-5-stack-cost] [2021-05-10T20:31:12.201Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-199-5-stack-cost] did not exist. Created. [2021-05-10T20:31:12.201Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-199-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T20:31:12.533Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-10T20:31:12.659Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T20:31:12.676Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-199-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T20:31:59.676Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-10T20:31:59.676Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.787s coverage: 63.8% of statements [2021-05-10T20:31:59.951Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-10T20:32:32.371Z] gofmt -l . [2021-05-10T20:32:32.371Z] [ "`gofmt -l .`" = "" ] [2021-05-10T20:32:32.371Z] ./bin/test-attribution-txt.sh [2021-05-10T20:32:34.391Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-10T20:32:35.017Z] $ docker stop --time=1 8dc7f7498dfe0bdd03e4ac0691dae30b27e6ecb5cc8fdbd5a42b1f8b835e40c7 [2021-05-10T20:32:37.230Z] $ docker rm -f 8dc7f7498dfe0bdd03e4ac0691dae30b27e6ecb5cc8fdbd5a42b1f8b835e40c7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T20:32:38.199Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T20:32:38.232Z] Warning: overwriting stash ‘coverage-report’ [2021-05-10T20:32:39.149Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T20:32:39.596Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-10T20:32:39.941Z] + ls -al . [2021-05-10T20:32:39.946Z] total 156 [2021-05-10T20:32:39.946Z] drwxrwxr-x 7 jenkins jenkins 4096 May 10 20:32 . [2021-05-10T20:32:39.946Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 20:29 .. [2021-05-10T20:32:39.946Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 20:29 .git [2021-05-10T20:32:39.946Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 20:29 .github [2021-05-10T20:32:39.946Z] -rw-rw-r-- 1 jenkins jenkins 277 May 10 20:29 .gitignore [2021-05-10T20:32:39.946Z] -rw-rw-r-- 1 jenkins jenkins 8153 May 10 20:29 Attribution.txt [2021-05-10T20:32:39.946Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 10 20:29 Dockerfile [2021-05-10T20:32:39.946Z] -rw-rw-r-- 1 jenkins jenkins 998 May 10 20:29 Dockerfile.build [2021-05-10T20:32:39.946Z] -rw-rw-r-- 1 jenkins jenkins 660 May 10 20:29 Jenkinsfile [2021-05-10T20:32:39.946Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 20:29 LICENSE [2021-05-10T20:32:39.947Z] -rw-rw-r-- 1 jenkins jenkins 901 May 10 20:29 Makefile [2021-05-10T20:32:39.947Z] -rw-rw-r-- 1 jenkins jenkins 2745 May 10 20:29 README.md [2021-05-10T20:32:39.947Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 20:25 VERSION [2021-05-10T20:32:39.947Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 20:29 bin [2021-05-10T20:32:39.947Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 20:29 cmd [2021-05-10T20:32:39.947Z] -rw-r--r-- 1 jenkins jenkins 47247 May 10 20:31 coverage.out [2021-05-10T20:32:39.947Z] -rw-r--r-- 1 jenkins jenkins 809 May 10 20:32 go.mod [2021-05-10T20:32:39.947Z] -rw-r--r-- 1 jenkins jenkins 23532 May 10 20:30 go.sum [2021-05-10T20:32:39.947Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 20:29 internal [2021-05-10T20:32:39.947Z] -rw-rw-r-- 1 jenkins jenkins 235 May 10 20:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:32:40.335Z] + 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=ff158f9209222a4049e2ebc7759a979c330d6fd2 --label arch=arm64 --label version=0.0.0 . [2021-05-10T20:32:40.956Z] Sending build context to Docker daemon 9.265MB [2021-05-10T20:32:40.956Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T20:32:40.956Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-10T20:32:40.956Z] ---> 2ead77ea36ce [2021-05-10T20:32:40.956Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-10T20:32:41.236Z] ---> Running in f2443a2eab8f [2021-05-10T20:32:41.833Z] Removing intermediate container f2443a2eab8f [2021-05-10T20:32:41.833Z] ---> 761977b7fe61 [2021-05-10T20:32:41.833Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T20:32:41.833Z] ---> Running in c3e1347c15ee [2021-05-10T20:32:42.440Z] Removing intermediate container c3e1347c15ee [2021-05-10T20:32:42.440Z] ---> f23f064e7ca3 [2021-05-10T20:32:42.440Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-10T20:32:42.440Z] ---> Running in 30fdda8adf34 [2021-05-10T20:32:43.034Z] Removing intermediate container 30fdda8adf34 [2021-05-10T20:32:43.034Z] ---> 171f204c0aa1 [2021-05-10T20:32:43.034Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T20:32:43.309Z] ---> Running in a811ee265215 [2021-05-10T20:32:45.944Z] Removing intermediate container a811ee265215 [2021-05-10T20:32:45.944Z] ---> 7666e5ae4ef1 [2021-05-10T20:32:45.944Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T20:32:45.944Z] ---> Running in 40f02812d276 [2021-05-10T20:32:46.925Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T20:32:48.977Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T20:32:50.412Z] OK: 145 MiB in 53 packages [2021-05-10T20:32:51.390Z] Removing intermediate container 40f02812d276 [2021-05-10T20:32:51.390Z] ---> 8d96d2e92be2 [2021-05-10T20:32:51.390Z] Step 8/25 : COPY . . [2021-05-10T20:32:52.821Z] ---> 943a0731d8ad [2021-05-10T20:32:52.821Z] Step 9/25 : RUN go mod download [2021-05-10T20:32:52.821Z] ---> Running in c91e18004ed1 [2021-05-10T20:32:55.441Z] Removing intermediate container c91e18004ed1 [2021-05-10T20:32:55.441Z] ---> 51f1877da19b [2021-05-10T20:32:55.441Z] Step 10/25 : ARG MAKE='make build' [2021-05-10T20:32:55.441Z] ---> Running in 998f87e72384 [2021-05-10T20:32:56.035Z] Removing intermediate container 998f87e72384 [2021-05-10T20:32:56.035Z] ---> 98c9713873b3 [2021-05-10T20:32:56.035Z] Step 11/25 : RUN $MAKE [2021-05-10T20:32:56.035Z] ---> Running in 87e0f774339b [2021-05-10T20:32:57.482Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-05-10T20:33:54.930Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-10T20:34:01.659Z] Removing intermediate container 87e0f774339b [2021-05-10T20:34:01.659Z] ---> f8009e1bdddc [2021-05-10T20:34:01.659Z] Step 12/25 : FROM alpine:3.12 [2021-05-10T20:34:01.659Z] 3.12: Pulling from library/alpine [2021-05-10T20:34:01.942Z] d2f70382dc9a: Pulling fs layer [2021-05-10T20:34:02.214Z] d2f70382dc9a: Verifying Checksum [2021-05-10T20:34:02.214Z] d2f70382dc9a: Download complete [2021-05-10T20:34:02.814Z] d2f70382dc9a: Pull complete [2021-05-10T20:34:02.814Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-10T20:34:02.814Z] Status: Downloaded newer image for alpine:3.12 [2021-05-10T20:34:02.814Z] ---> 9852663dfa18 [2021-05-10T20:34:02.814Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-10T20:34:03.088Z] ---> Running in 31971229c9d9 [2021-05-10T20:34:03.698Z] Removing intermediate container 31971229c9d9 [2021-05-10T20:34:03.698Z] ---> 05cf8a22ec86 [2021-05-10T20:34:03.698Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T20:34:03.698Z] ---> Running in 09d2f47c4cd1 [2021-05-10T20:34:06.327Z] Removing intermediate container 09d2f47c4cd1 [2021-05-10T20:34:06.327Z] ---> b24c317522e9 [2021-05-10T20:34:06.327Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-10T20:34:06.327Z] ---> Running in 2875fa552ed5 [2021-05-10T20:34:07.314Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-10T20:34:08.752Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-10T20:34:10.192Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-10T20:34:10.192Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-10T20:34:10.476Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-10T20:34:10.749Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-10T20:34:12.184Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-10T20:34:12.786Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-10T20:34:12.786Z] Executing busybox-1.31.1-r20.trigger [2021-05-10T20:34:12.786Z] OK: 8 MiB in 20 packages [2021-05-10T20:34:14.249Z] Removing intermediate container 2875fa552ed5 [2021-05-10T20:34:14.249Z] ---> 3e87da2bc783 [2021-05-10T20:34:14.249Z] Step 16/25 : WORKDIR / [2021-05-10T20:34:14.249Z] ---> Running in f9f8b5ee3f0f [2021-05-10T20:34:14.847Z] Removing intermediate container f9f8b5ee3f0f [2021-05-10T20:34:14.847Z] ---> 4dd30828d73a [2021-05-10T20:34:14.847Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-10T20:34:15.829Z] ---> d56069201e55 [2021-05-10T20:34:15.829Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-10T20:34:16.430Z] ---> 2ed0b2bfe8b2 [2021-05-10T20:34:16.430Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-10T20:34:17.865Z] ---> b4f0f309c199 [2021-05-10T20:34:17.865Z] Step 20/25 : EXPOSE 49990 [2021-05-10T20:34:18.139Z] ---> Running in 34098a2fe53a [2021-05-10T20:34:18.416Z] Removing intermediate container 34098a2fe53a [2021-05-10T20:34:18.416Z] ---> bc0cdd1aad9f [2021-05-10T20:34:18.416Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-10T20:34:18.696Z] ---> Running in d1e2e73528b8 [2021-05-10T20:34:19.288Z] Removing intermediate container d1e2e73528b8 [2021-05-10T20:34:19.288Z] ---> 58f7bf8065ce [2021-05-10T20:34:19.288Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-10T20:34:19.288Z] ---> Running in ffa699865cfa [2021-05-10T20:34:19.886Z] Removing intermediate container ffa699865cfa [2021-05-10T20:34:19.886Z] ---> 004de3cbd32c [2021-05-10T20:34:19.886Z] Step 23/25 : LABEL arch=arm64 [2021-05-10T20:34:19.886Z] ---> Running in aa84bf528d41 [2021-05-10T20:34:20.487Z] Removing intermediate container aa84bf528d41 [2021-05-10T20:34:20.487Z] ---> 8b43e0efdcb0 [2021-05-10T20:34:20.487Z] Step 24/25 : LABEL git_sha=ff158f9209222a4049e2ebc7759a979c330d6fd2 [2021-05-10T20:34:20.487Z] ---> Running in 24ec0c2cde4a [2021-05-10T20:34:21.082Z] Removing intermediate container 24ec0c2cde4a [2021-05-10T20:34:21.082Z] ---> b79aa20e7d5f [2021-05-10T20:34:21.082Z] Step 25/25 : LABEL version=0.0.0 [2021-05-10T20:34:21.082Z] ---> Running in 4069278f39d6 [2021-05-10T20:34:21.683Z] Removing intermediate container 4069278f39d6 [2021-05-10T20:34:21.683Z] ---> edb500d33a46 [2021-05-10T20:34:21.683Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-10T20:34:21.683Z] Successfully built edb500d33a46 [2021-05-10T20:34:21.683Z] 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-05-10T20:34:22.185Z] ---> job-cost.sh [2021-05-10T20:34:22.185Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-b3ik [2021-05-10T20:35:18.745Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T20:37:10.553Z] lf-activate-venv(): INFO: Adding /tmp/venv-b3ik/bin to PATH [2021-05-10T20:37:10.553Z] INFO: No Stack... [2021-05-10T20:37:10.553Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T20:37:10.553Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T20:37:10.897Z] + cat /w/workspace/device-virtual-go/5/archives/cost.csv [2021-05-10T20:37:10.897Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T20:37:11.019Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-199-5-stack-cost] [2021-05-10T20:37:11.028Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-199-5-stack-cost] did not exist. Created. [2021-05-10T20:37:11.028Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-199-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T20:37:11.406Z] /w/workspace/device-virtual-go/5@tmp/durable-3b748475/script.sh: 1: /w/workspace/device-virtual-go/5@tmp/durable-3b748475/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-10T20:37:11.764Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T20:37:11.817Z] Warning: overwriting stash ‘stack-cost’ [2021-05-10T20:37:11.977Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T20:37:11.986Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-199-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-10T20:37:12.689Z] provisioning config files... [2021-05-10T20:37:12.717Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-199@tmp/config797852723229066475tmp [Pipeline] { [Pipeline] sh [2021-05-10T20:37:13.298Z] + set +x [2021-05-10T20:37:13.298Z] + curl -s https://codecov.io/bash [2021-05-10T20:37:13.298Z] + bash -s -- [2021-05-10T20:37:13.591Z] [2021-05-10T20:37:13.591Z] _____ _ [2021-05-10T20:37:13.591Z] / ____| | | [2021-05-10T20:37:13.591Z] | | ___ __| | ___ ___ _____ __ [2021-05-10T20:37:13.591Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-10T20:37:13.591Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-10T20:37:13.591Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-10T20:37:13.591Z] Bash-1.0.2 [2021-05-10T20:37:13.591Z] [2021-05-10T20:37:13.591Z] [2021-05-10T20:37:13.591Z] ==> git version 2.24.3 found [2021-05-10T20:37:13.591Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-10T20:37:13.591Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-10T20:37:13.591Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-10T20:37:13.891Z] ==> Jenkins CI detected. [2021-05-10T20:37:13.891Z] project root: . [2021-05-10T20:37:13.891Z] --> token set from env [2021-05-10T20:37:13.891Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-10T20:37:13.891Z] ==> Running gcov in . (disable via -X gcov) [2021-05-10T20:37:13.891Z] ==> Python coveragepy not found [2021-05-10T20:37:13.891Z] ==> Searching for coverage reports in: [2021-05-10T20:37:13.891Z] + . [2021-05-10T20:37:13.891Z] -> Found 1 reports [2021-05-10T20:37:13.891Z] ==> Detecting git/mercurial file structure [2021-05-10T20:37:14.172Z] ==> Reading reports [2021-05-10T20:37:14.172Z] + ./coverage.out bytes=47247 [2021-05-10T20:37:14.172Z] ==> Appending adjustments [2021-05-10T20:37:14.172Z] https://docs.codecov.io/docs/fixing-reports [2021-05-10T20:37:14.492Z] + Found adjustments [2021-05-10T20:37:14.492Z] ==> Gzipping contents [2021-05-10T20:37:14.492Z] 8.0K /tmp/codecov.BtWyJY.gz [2021-05-10T20:37:14.492Z] ==> Uploading reports [2021-05-10T20:37:14.492Z] url: https://codecov.io [2021-05-10T20:37:14.492Z] query: branch=PR-199&commit=ff158f9209222a4049e2ebc7759a979c330d6fd2&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-199%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=199&job=&cmd_args= [2021-05-10T20:37:14.492Z] -> Pinging Codecov [2021-05-10T20:37:14.492Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-199&commit=ff158f9209222a4049e2ebc7759a979c330d6fd2&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-199%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=199&job=&cmd_args= [2021-05-10T20:37:15.083Z] -> Uploading to [2021-05-10T20:37:15.083Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-10/5E52B4B073DB2E39498172D8E973AA87/ff158f9209222a4049e2ebc7759a979c330d6fd2/a739cc7a-3342-4223-afc2-bf43da4ff9e7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210510T203714Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c67ffd4018b088d0c268266c15ee07e428d04bb6e0b9d22f2529737565f40f39 [2021-05-10T20:37:15.083Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-10T20:37:15.083Z] Dload Upload Total Spent Left Speed [2021-05-10T20:37:15.688Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5760 0 0 100 5760 0 13292 --:--:-- --:--:-- --:--:-- 13302 [2021-05-10T20:37:15.688Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/ff158f9209222a4049e2ebc7759a979c330d6fd2 [Pipeline] } [2021-05-10T20:37:15.705Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:37:16.885Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:37:17.579Z] ---> package-listing.sh [2021-05-10T20:37:17.579Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T20:37:17.579Z] ++ facter osfamily [2021-05-10T20:37:17.850Z] + OS_FAMILY=redhat [2021-05-10T20:37:17.850Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-199 [2021-05-10T20:37:17.850Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T20:37:17.850Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T20:37:17.850Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T20:37:17.850Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T20:37:17.850Z] + '[' /w/workspace/foundry_device-virtual-go_PR-199 ']' [2021-05-10T20:37:17.850Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T20:37:17.850Z] + case "${OS_FAMILY}" in [2021-05-10T20:37:17.850Z] + rpm -qa [2021-05-10T20:37:17.850Z] + sort [2021-05-10T20:37:26.505Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T20:37:26.505Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T20:37:26.505Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T20:37:26.505Z] + '[' /w/workspace/foundry_device-virtual-go_PR-199 ']' [2021-05-10T20:37:26.505Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-199/archives/ [2021-05-10T20:37:26.505Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-199/archives/ [Pipeline] echo [2021-05-10T20:37:26.532Z] 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-199/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-10T20:37:27.060Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:37:28.048Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T20:37:28.351Z] [2021-05-10T20:37:28.351Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T20:37:28.829Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T20:37:29.129Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T20:37:29.129Z] df20fa9351a1: Pulling fs layer [2021-05-10T20:37:29.129Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T20:37:29.129Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T20:37:29.129Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T20:37:29.129Z] 93b61091891f: Pulling fs layer [2021-05-10T20:37:29.129Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T20:37:29.129Z] 5e14af77c1be: Pulling fs layer [2021-05-10T20:37:29.129Z] 01666e4c0597: Pulling fs layer [2021-05-10T20:37:29.129Z] aa168da1d23b: Pulling fs layer [2021-05-10T20:37:29.129Z] 93b61091891f: Waiting [2021-05-10T20:37:29.129Z] 93b9cdb0e59b: Waiting [2021-05-10T20:37:29.129Z] 5e14af77c1be: Waiting [2021-05-10T20:37:29.129Z] 01666e4c0597: Waiting [2021-05-10T20:37:29.129Z] aa168da1d23b: Waiting [2021-05-10T20:37:29.129Z] 46f8f816bc3b: Waiting [2021-05-10T20:37:29.129Z] 36b3adc4ff6f: Verifying Checksum [2021-05-10T20:37:29.129Z] 36b3adc4ff6f: Download complete [2021-05-10T20:37:29.129Z] 46f8f816bc3b: Verifying Checksum [2021-05-10T20:37:29.129Z] 46f8f816bc3b: Download complete [2021-05-10T20:37:29.457Z] 93b61091891f: Download complete [2021-05-10T20:37:29.457Z] 93b9cdb0e59b: Verifying Checksum [2021-05-10T20:37:29.457Z] 93b9cdb0e59b: Download complete [2021-05-10T20:37:29.457Z] df20fa9351a1: Verifying Checksum [2021-05-10T20:37:29.457Z] df20fa9351a1: Download complete [2021-05-10T20:37:29.743Z] 5e14af77c1be: Verifying Checksum [2021-05-10T20:37:29.743Z] 5e14af77c1be: Download complete [2021-05-10T20:37:29.743Z] 01666e4c0597: Download complete [2021-05-10T20:37:30.419Z] df20fa9351a1: Pull complete [2021-05-10T20:37:30.750Z] 36b3adc4ff6f: Pull complete [2021-05-10T20:37:31.507Z] 8ad3a11d3b57: Verifying Checksum [2021-05-10T20:37:31.507Z] 8ad3a11d3b57: Download complete [2021-05-10T20:37:34.654Z] 8ad3a11d3b57: Pull complete [2021-05-10T20:37:35.446Z] 46f8f816bc3b: Pull complete [2021-05-10T20:37:36.620Z] 93b61091891f: Pull complete [2021-05-10T20:37:36.911Z] 93b9cdb0e59b: Pull complete [2021-05-10T20:37:37.978Z] 5e14af77c1be: Pull complete [2021-05-10T20:37:38.270Z] 01666e4c0597: Pull complete [2021-05-10T20:37:40.322Z] aa168da1d23b: Verifying Checksum [2021-05-10T20:37:40.322Z] aa168da1d23b: Download complete [2021-05-10T20:38:03.110Z] aa168da1d23b: Pull complete [2021-05-10T20:38:03.110Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T20:38:03.110Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T20:38:03.110Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T20:38:03.957Z] prd-centos7-docker-4c-2g-4185 does not seem to be running inside a container [2021-05-10T20:38:04.317Z] $ 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-199/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-199 -v /w/workspace/foundry_device-virtual-go_PR-199:/w/workspace/foundry_device-virtual-go_PR-199:rw,z -v /w/workspace/foundry_device-virtual-go_PR-199@tmp:/w/workspace/foundry_device-virtual-go_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-10T20:38:07.512Z] $ docker top 846a319e8a9130c056e979d4d85e1d2280477a792202cab5e0d43c1dc55c8bd3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T20:38:08.328Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T20:38:09.076Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T20:38:09.476Z] + ls /var/log/sa-host [2021-05-10T20:38:09.476Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T20:38:09.477Z] file_magic: OK [2021-05-10T20:38:09.477Z] HZ: Using current value: 100 [2021-05-10T20:38:09.477Z] file_header: OK [2021-05-10T20:38:09.477Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-10T20:38:09.477Z] Statistics: [2021-05-10T20:38:09.477Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-10T20:38:09.477Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T20:38:09.477Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T20:38:09.477Z] file_magic: OK [2021-05-10T20:38:09.477Z] HZ: Using current value: 100 [2021-05-10T20:38:09.477Z] file_header: OK [2021-05-10T20:38:09.477Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-10T20:38:09.477Z] Statistics: [2021-05-10T20:38:09.477Z] Hnuu...uuuununununu... [2021-05-10T20:38:09.477Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T20:38:09.933Z] provisioning config files... [2021-05-10T20:38:09.965Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-199@tmp/config3399642648660849563tmp [Pipeline] { [Pipeline] echo [2021-05-10T20:38:09.998Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:38:10.734Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T20:38:10.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T20:38:10.921Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:38:11.555Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T20:38:11.643Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:38:12.138Z] ---> sudo-logs.sh [2021-05-10T20:38:12.138Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T20:38:12.197Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:38:12.530Z] ---> job-cost.sh [2021-05-10T20:38:12.807Z] lf-activate-venv: SKIPPING [2021-05-10T20:38:12.807Z] DEBUG: total: 0.20999999344348907 [2021-05-10T20:38:12.807Z] INFO: Retrieving Stack Cost... [2021-05-10T20:38:13.403Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T20:38:13.988Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T20:38:14.011Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T20:38:14.760Z] ---> logs-deploy.sh [2021-05-10T20:38:14.760Z] lf-activate-venv: SKIPPING [2021-05-10T20:38:14.760Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-199/5 [2021-05-10T20:38:14.760Z] INFO: archiving workspace using pattern(s): [2021-05-10T20:38:18.319Z] Archives upload complete. [2021-05-10T20:38:18.319Z] INFO: archiving logs to Nexus [2021-05-10T20:38:19.827Z] ---> uname -a: [2021-05-10T20:38:19.827Z] Linux prd-centos7-docker-4c-2g-4185.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-05-10T20:38:19.827Z] [2021-05-10T20:38:19.827Z] [2021-05-10T20:38:19.827Z] ---> lscpu: [2021-05-10T20:38:19.827Z] Architecture: x86_64 [2021-05-10T20:38:19.827Z] CPU op-mode(s): 32-bit, 64-bit [2021-05-10T20:38:19.827Z] Byte Order: Little Endian [2021-05-10T20:38:19.827Z] Address sizes: 40 bits physical, 48 bits virtual [2021-05-10T20:38:19.827Z] CPU(s): 4 [2021-05-10T20:38:19.827Z] On-line CPU(s) list: 0-3 [2021-05-10T20:38:19.827Z] Thread(s) per core: 1 [2021-05-10T20:38:19.827Z] Core(s) per socket: 1 [2021-05-10T20:38:19.827Z] Socket(s): 4 [2021-05-10T20:38:19.827Z] NUMA node(s): 1 [2021-05-10T20:38:19.827Z] Vendor ID: GenuineIntel [2021-05-10T20:38:19.827Z] CPU family: 6 [2021-05-10T20:38:19.827Z] Model: 44 [2021-05-10T20:38:19.827Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-05-10T20:38:19.827Z] Stepping: 1 [2021-05-10T20:38:19.827Z] CPU MHz: 2933.438 [2021-05-10T20:38:19.827Z] BogoMIPS: 5866.87 [2021-05-10T20:38:19.827Z] Virtualization: VT-x [2021-05-10T20:38:19.827Z] Hypervisor vendor: KVM [2021-05-10T20:38:19.827Z] Virtualization type: full [2021-05-10T20:38:19.827Z] L1d cache: 128 KiB [2021-05-10T20:38:19.827Z] L1i cache: 128 KiB [2021-05-10T20:38:19.827Z] L2 cache: 16 MiB [2021-05-10T20:38:19.827Z] L3 cache: 64 MiB [2021-05-10T20:38:19.827Z] NUMA node0 CPU(s): 0-3 [2021-05-10T20:38:19.827Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-05-10T20:38:19.827Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-05-10T20:38:19.827Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-05-10T20:38:19.827Z] Vulnerability Meltdown: Mitigation; PTI [2021-05-10T20:38:19.827Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-05-10T20:38:19.827Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-05-10T20:38:19.827Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-05-10T20:38:19.827Z] Vulnerability Srbds: Not affected [2021-05-10T20:38:19.827Z] Vulnerability Tsx async abort: Not affected [2021-05-10T20:38:19.827Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-05-10T20:38:19.827Z] [2021-05-10T20:38:19.827Z] [2021-05-10T20:38:19.827Z] ---> nproc: [2021-05-10T20:38:19.827Z] 4 [2021-05-10T20:38:19.827Z] [2021-05-10T20:38:19.827Z] [2021-05-10T20:38:19.827Z] ---> df -h: [2021-05-10T20:38:19.827Z] Filesystem Size Used Available Use% Mounted on [2021-05-10T20:38:19.827Z] overlay 50.0G 7.3G 42.7G 15% / [2021-05-10T20:38:19.827Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-05-10T20:38:19.827Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-05-10T20:38:19.827Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-05-10T20:38:19.827Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-05-10T20:38:19.827Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-05-10T20:38:19.827Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-05-10T20:38:19.827Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-05-10T20:38:19.827Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-05-10T20:38:19.827Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-05-10T20:38:19.827Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-05-10T20:38:19.827Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-05-10T20:38:19.827Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-199 [2021-05-10T20:38:19.827Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-199@tmp [2021-05-10T20:38:19.827Z] [2021-05-10T20:38:19.827Z] [2021-05-10T20:38:19.827Z] ---> free -m: [2021-05-10T20:38:19.827Z] total used free shared buff/cache available [2021-05-10T20:38:19.827Z] Mem: 1837 713 112 0 1011 1019 [2021-05-10T20:38:19.827Z] Swap: 1023 1 1022 [2021-05-10T20:38:19.827Z] [2021-05-10T20:38:19.827Z] [2021-05-10T20:38:19.827Z] ---> ip addr: [2021-05-10T20:38:19.827Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-05-10T20:38:19.827Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-05-10T20:38:19.827Z] inet 127.0.0.1/8 scope host lo [2021-05-10T20:38:19.827Z] valid_lft forever preferred_lft forever [2021-05-10T20:38:19.827Z] inet6 ::1/128 scope host [2021-05-10T20:38:19.827Z] valid_lft forever preferred_lft forever [2021-05-10T20:38:19.827Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-05-10T20:38:19.827Z] link/ether fa:16:3e:90:4e:83 brd ff:ff:ff:ff:ff:ff [2021-05-10T20:38:19.827Z] inet 10.30.123.214/23 brd 10.30.123.255 scope global dynamic eth0 [2021-05-10T20:38:19.827Z] valid_lft 85541sec preferred_lft 85541sec [2021-05-10T20:38:19.827Z] inet6 fe80::f816:3eff:fe90:4e83/64 scope link [2021-05-10T20:38:19.827Z] valid_lft forever preferred_lft forever [2021-05-10T20:38:19.827Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-05-10T20:38:19.827Z] link/ether 02:42:60:ff:02:b1 brd ff:ff:ff:ff:ff:ff [2021-05-10T20:38:19.827Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-05-10T20:38:19.827Z] valid_lft forever preferred_lft forever [2021-05-10T20:38:19.827Z] inet6 fe80::42:60ff:feff:2b1/64 scope link [2021-05-10T20:38:19.827Z] valid_lft forever preferred_lft forever [2021-05-10T20:38:19.827Z] [2021-05-10T20:38:19.827Z]