Pull request #204 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 8b6e00b368922ca9621b357ada8dcf15eea9482f+3b22e0480bd67233e1fe9d34879779676ed28d7e (d7d2e50efd4c99a1036d4f3e5aeb231be3d17f6a) 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 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 using credential edgex-jenkins-ssh > 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 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4884 in /w/workspace/foundry_device-virtual-go_PR-204 [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-204 # 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/204/head:refs/remotes/origin/PR-204 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3b22e0480bd67233e1fe9d34879779676ed28d7e into PR head commit 8b6e00b368922ca9621b357ada8dcf15eea9482f Merge succeeded, producing 8b6e00b368922ca9621b357ada8dcf15eea9482f Checking out Revision 8b6e00b368922ca9621b357ada8dcf15eea9482f (PR-204) > git config core.sparsecheckout # timeout=10 > git checkout -f 8b6e00b368922ca9621b357ada8dcf15eea9482f # 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 3b22e0480bd67233e1fe9d34879779676ed28d7e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b6e00b368922ca9621b357ada8dcf15eea9482f # timeout=10 Commit message: "refactor: Secure Messagebus Rework" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-12T20:43:12.266Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 8b1c0122b21a394787c1f5035f66cfa13d6781b2 # timeout=10 [2021-05-12T20:43:12.395Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-12T20:43:12.425Z] ========================================================= [2021-05-12T20:43:12.425Z] EdgeX Global Pipelines Version Info [2021-05-12T20:43:12.425Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:43:14.909Z] ------------------- [2021-05-12T20:43:14.909Z] stable info: [2021-05-12T20:43:14.909Z] ------------------- [2021-05-12T20:43:14.909Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-12T20:43:14.909Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T20:43:14.909Z] Message: update stable to v1.0.192 [2021-05-12T20:43:15.977Z] ------------------- [2021-05-12T20:43:15.977Z] experimental info: [2021-05-12T20:43:15.977Z] ------------------- [2021-05-12T20:43:15.977Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-12T20:43:15.977Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T20:43:15.977Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-12T20:43:16.104Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-12T20:43:16.128Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-12T20:43:16.151Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-12T20:43:16.175Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-12T20:43:16.204Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-12T20:43:16.226Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-12T20:43:16.250Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-12T20:43:16.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-12T20:43:16.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-12T20:43:16.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-12T20:43:16.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-12T20:43:16.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-05-12T20:43:16.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-12T20:43:16.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-12T20:43:16.459Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T20:43:16.483Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T20:43:16.506Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T20:43:16.528Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T20:43:16.551Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-12T20:43:16.578Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-12T20:43:16.602Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-12T20:43:16.625Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-12T20:43:16.648Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-12T20:43:16.671Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-12T20:43:16.737Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-12T20:43:16.766Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-12T20:43:16.790Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-204 [Pipeline] echo [2021-05-12T20:43:16.813Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-204 [Pipeline] echo [2021-05-12T20:43:16.837Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-204 [Pipeline] echo [2021-05-12T20:43:16.859Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b6e00b368922ca9621b357ada8dcf15eea9482f [Pipeline] echo [2021-05-12T20:43:16.883Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b6e00b [Pipeline] echo [2021-05-12T20:43:16.907Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:43:16.981Z] provisioning config files... [2021-05-12T20:43:17.046Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-204@tmp/config8809105678930923015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:43:17.410Z] ---> docker-login.sh [2021-05-12T20:43:17.410Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:43:18.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:43:18.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:43:18.332Z] Configure a credential helper to remove this warning. See [2021-05-12T20:43:18.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:43:18.332Z] [2021-05-12T20:43:18.332Z] Login Succeeded [2021-05-12T20:43:18.332Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:43:18.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:43:18.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:43:18.609Z] Configure a credential helper to remove this warning. See [2021-05-12T20:43:18.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:43:18.609Z] [2021-05-12T20:43:18.609Z] Login Succeeded [2021-05-12T20:43:18.609Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:43:18.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:43:19.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:43:19.175Z] Configure a credential helper to remove this warning. See [2021-05-12T20:43:19.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:43:19.175Z] [2021-05-12T20:43:19.175Z] Login Succeeded [2021-05-12T20:43:19.175Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:43:19.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:43:19.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:43:19.461Z] Configure a credential helper to remove this warning. See [2021-05-12T20:43:19.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:43:19.461Z] [2021-05-12T20:43:19.461Z] Login Succeeded [2021-05-12T20:43:19.461Z] docker.io [2021-05-12T20:43:19.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:43:20.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:43:20.059Z] Configure a credential helper to remove this warning. See [2021-05-12T20:43:20.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:43:20.059Z] [2021-05-12T20:43:20.059Z] Login Succeeded [2021-05-12T20:43:20.059Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:43:20.087Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:43:20.615Z] + git log --format=format:%s -1 8b6e00b368922ca9621b357ada8dcf15eea9482f [Pipeline] echo [2021-05-12T20:43:20.770Z] GIT_COMMIT: 8b6e00b368922ca9621b357ada8dcf15eea9482f, Commit Message: refactor: Secure Messagebus Rework [Pipeline] echo [2021-05-12T20:43:20.785Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:43:21.424Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:43:21.424Z] [2021-05-12T20:43:21.424Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:43:21.851Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:43:21.851Z] latest: Pulling from edgex-devops/git-semver [2021-05-12T20:43:21.851Z] 31603596830f: Pulling fs layer [2021-05-12T20:43:21.851Z] 54011a49482f: Pulling fs layer [2021-05-12T20:43:21.851Z] a6820b24f6d8: Pulling fs layer [2021-05-12T20:43:21.851Z] f581987b2513: Pulling fs layer [2021-05-12T20:43:21.851Z] f581987b2513: Waiting [2021-05-12T20:43:21.851Z] 54011a49482f: Verifying Checksum [2021-05-12T20:43:21.851Z] 54011a49482f: Download complete [2021-05-12T20:43:22.148Z] 31603596830f: Verifying Checksum [2021-05-12T20:43:22.148Z] 31603596830f: Download complete [2021-05-12T20:43:22.436Z] a6820b24f6d8: Verifying Checksum [2021-05-12T20:43:22.436Z] a6820b24f6d8: Download complete [2021-05-12T20:43:22.436Z] f581987b2513: Verifying Checksum [2021-05-12T20:43:22.436Z] f581987b2513: Download complete [2021-05-12T20:43:22.761Z] 31603596830f: Pull complete [2021-05-12T20:43:23.432Z] 54011a49482f: Pull complete [2021-05-12T20:43:24.505Z] a6820b24f6d8: Pull complete [2021-05-12T20:43:24.793Z] f581987b2513: Pull complete [2021-05-12T20:43:25.080Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-12T20:43:25.080Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:43:25.080Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-12T20:43:25.321Z] prd-centos7-docker-4c-2g-4884 does not seem to be running inside a container [2021-05-12T20:43:25.478Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-204 -v /w/workspace/foundry_device-virtual-go_PR-204:/w/workspace/foundry_device-virtual-go_PR-204:rw,z -v /w/workspace/foundry_device-virtual-go_PR-204@tmp:/w/workspace/foundry_device-virtual-go_PR-204@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-12T20:43:27.717Z] $ docker top 010520a6257afd34d884bc4ce320b9e6a3fce47d1793b4f3ca10d661b669fc34 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T20:43:27.878Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:43:27.878Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:43:28.127Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:43:28.134Z] $ docker exec 010520a6257afd34d884bc4ce320b9e6a3fce47d1793b4f3ca10d661b669fc34 ssh-agent [2021-05-12T20:43:28.330Z] SSH_AUTH_SOCK=/tmp/ssh-rSKL0Qj9Goi1/agent.11 [2021-05-12T20:43:28.330Z] SSH_AGENT_PID=16 [2021-05-12T20:43:28.343Z] Running ssh-add (command line suppressed) [2021-05-12T20:43:28.508Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-204@tmp/private_key_7573174502545335231.key (/w/workspace/foundry_device-virtual-go_PR-204@tmp/private_key_7573174502545335231.key) [2021-05-12T20:43:28.564Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:43:28.983Z] + git tag --points-at HEAD [Pipeline] } [2021-05-12T20:43:29.048Z] $ docker exec --env ******** --env ******** 010520a6257afd34d884bc4ce320b9e6a3fce47d1793b4f3ca10d661b669fc34 ssh-agent -k [2021-05-12T20:43:29.206Z] unset SSH_AUTH_SOCK; [2021-05-12T20:43:29.207Z] unset SSH_AGENT_PID; [2021-05-12T20:43:29.207Z] echo Agent pid 16 killed; [2021-05-12T20:43:29.274Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-12T20:43:29.319Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:43:29.319Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:43:29.579Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:43:29.586Z] $ docker exec 010520a6257afd34d884bc4ce320b9e6a3fce47d1793b4f3ca10d661b669fc34 ssh-agent [2021-05-12T20:43:29.775Z] SSH_AUTH_SOCK=/tmp/ssh-nwS3bq02tqzz/agent.46 [2021-05-12T20:43:29.775Z] SSH_AGENT_PID=51 [2021-05-12T20:43:29.785Z] Running ssh-add (command line suppressed) [2021-05-12T20:43:29.935Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-204@tmp/private_key_2350945616846786024.key (/w/workspace/foundry_device-virtual-go_PR-204@tmp/private_key_2350945616846786024.key) [2021-05-12T20:43:30.007Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:43:30.324Z] + git semver init [2021-05-12T20:43:30.324Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T20:43:30.324Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-204/.git [2021-05-12T20:43:30.324Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-204 [2021-05-12T20:43:30.324Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T20:43:30.324Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T20:43:30.324Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T20:43:30.324Z] # $SEMVER_BRANCH = PR-204 [2021-05-12T20:43:30.324Z] # $SEMVER_TEMP = /tmp/semver-542708193 [2021-05-12T20:43:30.324Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-12T20:43:32.264Z] # '/tmp/semver-542708193' -> '/w/workspace/foundry_device-virtual-go_PR-204/.semver' [2021-05-12T20:43:32.264Z] # -> Force: false [2021-05-12T20:43:32.264Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-204/.semver [Pipeline] } [2021-05-12T20:43:32.283Z] $ docker exec --env ******** --env ******** 010520a6257afd34d884bc4ce320b9e6a3fce47d1793b4f3ca10d661b669fc34 ssh-agent -k [2021-05-12T20:43:32.460Z] unset SSH_AUTH_SOCK; [2021-05-12T20:43:32.460Z] unset SSH_AGENT_PID; [2021-05-12T20:43:32.460Z] echo Agent pid 51 killed; [2021-05-12T20:43:32.522Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T20:43:32.878Z] + git semver [Pipeline] } [2021-05-12T20:43:32.905Z] $ docker stop --time=1 010520a6257afd34d884bc4ce320b9e6a3fce47d1793b4f3ca10d661b669fc34 [2021-05-12T20:43:34.391Z] $ docker rm -f 010520a6257afd34d884bc4ce320b9e6a3fce47d1793b4f3ca10d661b669fc34 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:43:34.859Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-12T20:43:35.322Z] Stashed 1 file(s) [Pipeline] echo [2021-05-12T20:43:35.325Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-12T20:43:50.536Z] Still waiting to schedule task [2021-05-12T20:43:50.536Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4835’ is offline; ‘prd-centos7-docker-4c-2g-4841’ is offline; ‘prd-centos7-docker-4c-2g-4842’ is offline; ‘prd-centos7-docker-4c-2g-4843’ is offline; ‘prd-centos7-docker-4c-2g-4844’ is offline; ‘prd-centos7-docker-4c-2g-4845’ is offline; ‘prd-centos7-docker-4c-2g-4848’ is offline; ‘prd-centos7-docker-4c-2g-4856’ is offline; ‘prd-centos7-docker-4c-2g-4858’ is offline; ‘prd-centos7-docker-4c-2g-4861’ is offline; ‘prd-centos7-docker-4c-2g-4866’ is offline; ‘prd-centos7-docker-4c-2g-4871’ is offline; ‘prd-centos7-docker-4c-2g-4881’ is offline; ‘prd-centos7-docker-4c-2g-4882’ is offline; ‘prd-centos7-docker-4c-2g-4885’ is offline; ‘prd-centos7-docker-4c-2g-4886’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-4840’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-4877’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-4878’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4846’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4853’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4854’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4869’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4870’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4872’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-12T20:43:50.539Z] Still waiting to schedule task [2021-05-12T20:43:50.539Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-12T20:48:06.029Z] Running on prd-centos7-docker-4c-2g-4895 in /w/workspace/foundry_device-virtual-go_PR-204 [Pipeline] { [Pipeline] ws [2021-05-12T20:48:06.052Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2021-05-12T20:48:09.258Z] using credential edgex-jenkins-ssh [2021-05-12T20:48:09.277Z] Cloning the remote Git repository [2021-05-12T20:48:09.235Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:48:09.321Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2021-05-12T20:48:09.392Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:48:09.392Z] > git --version # timeout=10 [2021-05-12T20:48:09.399Z] > git --version # 'git version 2.24.3' [2021-05-12T20:48:09.400Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:48:09.427Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:48:11.242Z] Merging remotes/origin/master commit 3b22e0480bd67233e1fe9d34879779676ed28d7e into PR head commit 8b6e00b368922ca9621b357ada8dcf15eea9482f [2021-05-12T20:48:11.327Z] Merge succeeded, producing 8b6e00b368922ca9621b357ada8dcf15eea9482f [2021-05-12T20:48:11.327Z] Checking out Revision 8b6e00b368922ca9621b357ada8dcf15eea9482f (PR-204) [2021-05-12T20:48:10.739Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-12T20:48:10.749Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:48:10.761Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-12T20:48:10.774Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:48:10.774Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:48:10.779Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T20:48:11.256Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:48:11.262Z] > git checkout -f 8b6e00b368922ca9621b357ada8dcf15eea9482f # timeout=10 [2021-05-12T20:48:11.294Z] > git remote # timeout=10 [2021-05-12T20:48:11.306Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T20:48:11.312Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:48:11.315Z] > git merge 3b22e0480bd67233e1fe9d34879779676ed28d7e # timeout=10 [2021-05-12T20:48:11.324Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T20:48:11.334Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:48:11.339Z] > git checkout -f 8b6e00b368922ca9621b357ada8dcf15eea9482f # timeout=10 [2021-05-12T20:48:14.919Z] Commit message: "refactor: Secure Messagebus Rework" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:48:16.090Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:48:16.438Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:48:16.739Z] + true [2021-05-12T20:48:16.740Z] + sudo service docker restart [2021-05-12T20:48:16.740Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:48:17.719Z] provisioning config files... [2021-05-12T20:48:17.759Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config4857088787717823001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:48:18.101Z] ---> docker-login.sh [2021-05-12T20:48:18.102Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:48:18.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:48:18.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:48:18.363Z] Configure a credential helper to remove this warning. See [2021-05-12T20:48:18.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:48:18.363Z] [2021-05-12T20:48:18.363Z] Login Succeeded [2021-05-12T20:48:18.363Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:48:18.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:48:18.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:48:18.625Z] Configure a credential helper to remove this warning. See [2021-05-12T20:48:18.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:48:18.625Z] [2021-05-12T20:48:18.625Z] Login Succeeded [2021-05-12T20:48:18.625Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:48:18.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:48:18.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:48:18.890Z] Configure a credential helper to remove this warning. See [2021-05-12T20:48:18.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:48:18.890Z] [2021-05-12T20:48:18.890Z] Login Succeeded [2021-05-12T20:48:18.890Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:48:18.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:48:18.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:48:18.891Z] Configure a credential helper to remove this warning. See [2021-05-12T20:48:18.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:48:18.891Z] [2021-05-12T20:48:18.891Z] Login Succeeded [2021-05-12T20:48:18.891Z] docker.io [2021-05-12T20:48:19.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:48:19.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:48:19.424Z] Configure a credential helper to remove this warning. See [2021-05-12T20:48:19.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:48:19.424Z] [2021-05-12T20:48:19.424Z] Login Succeeded [2021-05-12T20:48:19.424Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:48:19.437Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T20:48:19.678Z] ========================================================= [2021-05-12T20:48:19.679Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-12T20:48:19.679Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:48:19.988Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-12T20:48:19.988Z] Sending build context to Docker daemon 8.585MB [2021-05-12T20:48:19.988Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:48:19.988Z] Step 2/8 : FROM ${BASE} [2021-05-12T20:48:20.252Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-12T20:48:20.252Z] 540db60ca938: Pulling fs layer [2021-05-12T20:48:20.252Z] adcc1eea9eea: Pulling fs layer [2021-05-12T20:48:20.252Z] 4c4ab2625f07: Pulling fs layer [2021-05-12T20:48:20.252Z] 0510c868ecb4: Pulling fs layer [2021-05-12T20:48:20.252Z] afea3b2eda06: Pulling fs layer [2021-05-12T20:48:20.252Z] 7809a108b3ef: Pulling fs layer [2021-05-12T20:48:20.252Z] f706445af74f: Pulling fs layer [2021-05-12T20:48:20.252Z] afea3b2eda06: Waiting [2021-05-12T20:48:20.252Z] 7809a108b3ef: Waiting [2021-05-12T20:48:20.252Z] f706445af74f: Waiting [2021-05-12T20:48:20.252Z] 0510c868ecb4: Waiting [2021-05-12T20:48:20.252Z] 4c4ab2625f07: Verifying Checksum [2021-05-12T20:48:20.252Z] 4c4ab2625f07: Download complete [2021-05-12T20:48:20.252Z] adcc1eea9eea: Download complete [2021-05-12T20:48:20.252Z] afea3b2eda06: Verifying Checksum [2021-05-12T20:48:20.252Z] afea3b2eda06: Download complete [2021-05-12T20:48:20.252Z] 540db60ca938: Verifying Checksum [2021-05-12T20:48:20.252Z] 540db60ca938: Download complete [2021-05-12T20:48:20.252Z] 7809a108b3ef: Verifying Checksum [2021-05-12T20:48:20.252Z] 7809a108b3ef: Download complete [2021-05-12T20:48:20.513Z] 540db60ca938: Pull complete [2021-05-12T20:48:20.773Z] adcc1eea9eea: Pull complete [2021-05-12T20:48:20.773Z] 4c4ab2625f07: Pull complete [2021-05-12T20:48:22.164Z] f706445af74f: Verifying Checksum [2021-05-12T20:48:22.164Z] f706445af74f: Download complete [2021-05-12T20:48:23.114Z] 0510c868ecb4: Verifying Checksum [2021-05-12T20:48:23.114Z] 0510c868ecb4: Download complete [2021-05-12T20:48:28.460Z] 0510c868ecb4: Pull complete [2021-05-12T20:48:28.460Z] afea3b2eda06: Pull complete [2021-05-12T20:48:28.460Z] 7809a108b3ef: Pull complete [2021-05-12T20:48:35.095Z] f706445af74f: Pull complete [2021-05-12T20:48:35.095Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-12T20:48:35.095Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-12T20:48:35.095Z] ---> b068be0155e3 [2021-05-12T20:48:35.095Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-12T20:48:36.501Z] ---> Running in 1fdd30896c41 [2021-05-12T20:48:36.501Z] Removing intermediate container 1fdd30896c41 [2021-05-12T20:48:36.501Z] ---> ec83fd0719c5 [2021-05-12T20:48:36.501Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:48:36.772Z] ---> Running in 2d1d61453272 [2021-05-12T20:48:38.166Z] Removing intermediate container 2d1d61453272 [2021-05-12T20:48:38.166Z] ---> 85f302c62751 [2021-05-12T20:48:38.166Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-12T20:48:38.166Z] ---> Running in 62a2f65a93fa [2021-05-12T20:48:38.430Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:48:39.380Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:48:39.643Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-12T20:48:39.907Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-12T20:48:39.907Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-12T20:48:39.907Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-12T20:48:40.171Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-12T20:48:40.171Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-12T20:48:40.171Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-12T20:48:40.747Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-12T20:48:40.747Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-12T20:48:40.747Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-12T20:48:40.747Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-12T20:48:41.010Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-12T20:48:41.010Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-12T20:48:41.010Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T20:48:41.010Z] OK: 156 MiB in 53 packages [2021-05-12T20:48:41.966Z] Removing intermediate container 62a2f65a93fa [2021-05-12T20:48:41.966Z] ---> cc764ff53dfb [2021-05-12T20:48:41.966Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-12T20:48:41.966Z] ---> Running in bf2e6864de7b [2021-05-12T20:48:41.966Z] Removing intermediate container bf2e6864de7b [2021-05-12T20:48:41.966Z] ---> 70da46cfeffb [2021-05-12T20:48:41.966Z] Step 7/8 : COPY . . [2021-05-12T20:48:42.545Z] ---> 6b0d2235c179 [2021-05-12T20:48:42.545Z] Step 8/8 : RUN go mod download [2021-05-12T20:48:42.808Z] ---> Running in cd6f5e902a27 [2021-05-12T20:49:04.546Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4897 in /w/workspace/foundry_device-virtual-go_PR-204 [Pipeline] { [Pipeline] ws [2021-05-12T20:49:04.570Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2021-05-12T20:49:09.453Z] Removing intermediate container cd6f5e902a27 [2021-05-12T20:49:09.453Z] ---> 56952be48129 [2021-05-12T20:49:09.453Z] Successfully built 56952be48129 [2021-05-12T20:49:09.453Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:49:09.795Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T20:49:09.795Z] . [Pipeline] withDockerContainer [2021-05-12T20:49:09.915Z] prd-centos7-docker-4c-2g-4895 does not seem to be running inside a container [2021-05-12T20:49:09.998Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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-x86_64 cat [2021-05-12T20:49:10.619Z] $ docker top 01ad4e684ddf0a68692e57e3aabe5ae9a3fd5ccd03a2fcc2d9e06d14124c1be3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:49:11.152Z] + go version [2021-05-12T20:49:11.152Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-12T20:49:11.171Z] $ docker stop --time=1 01ad4e684ddf0a68692e57e3aabe5ae9a3fd5ccd03a2fcc2d9e06d14124c1be3 [2021-05-12T20:49:11.539Z] using credential edgex-jenkins-ssh [2021-05-12T20:49:11.620Z] Cloning the remote Git repository [2021-05-12T20:49:11.711Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:49:11.955Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2021-05-12T20:49:12.080Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:49:12.081Z] > git --version # timeout=10 [2021-05-12T20:49:12.100Z] > git --version # 'git version 2.17.1' [2021-05-12T20:49:12.103Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:49:12.196Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:49:12.547Z] $ docker rm -f 01ad4e684ddf0a68692e57e3aabe5ae9a3fd5ccd03a2fcc2d9e06d14124c1be3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:49:13.132Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T20:49:13.132Z] . [Pipeline] withDockerContainer [2021-05-12T20:49:13.248Z] prd-centos7-docker-4c-2g-4895 does not seem to be running inside a container [2021-05-12T20:49:13.308Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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-x86_64 cat [2021-05-12T20:49:13.909Z] $ docker top 30b0915d3d8864f9dcc936935fba8c7c1a5ca2e823bef3b8f363a81dcf9652b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:49:14.330Z] + go mod tidy [2021-05-12T20:49:14.630Z] Merging remotes/origin/master commit 3b22e0480bd67233e1fe9d34879779676ed28d7e into PR head commit 8b6e00b368922ca9621b357ada8dcf15eea9482f [2021-05-12T20:49:14.875Z] Merge succeeded, producing 8b6e00b368922ca9621b357ada8dcf15eea9482f [2021-05-12T20:49:14.875Z] Checking out Revision 8b6e00b368922ca9621b357ada8dcf15eea9482f (PR-204) [Pipeline] sh [2021-05-12T20:49:13.935Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-12T20:49:13.955Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:49:13.990Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-12T20:49:14.041Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:49:14.043Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:49:14.056Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T20:49:14.645Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:49:14.668Z] > git checkout -f 8b6e00b368922ca9621b357ada8dcf15eea9482f # timeout=10 [2021-05-12T20:49:14.770Z] > git remote # timeout=10 [2021-05-12T20:49:14.790Z] > git config --get remote.origin.url # timeout=10 [2021-05-12T20:49:14.803Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:49:14.816Z] > git merge 3b22e0480bd67233e1fe9d34879779676ed28d7e # timeout=10 [2021-05-12T20:49:14.843Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-12T20:49:14.875Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:49:14.901Z] > git checkout -f 8b6e00b368922ca9621b357ada8dcf15eea9482f # timeout=10 [2021-05-12T20:49:15.276Z] + make test [2021-05-12T20:49:15.276Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-12T20:49:16.225Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-12T20:49:19.420Z] Commit message: "refactor: Secure Messagebus Rework" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:49:20.796Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:49:21.253Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:49:21.635Z] + true [2021-05-12T20:49:21.635Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:49:23.691Z] provisioning config files... [2021-05-12T20:49:23.752Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config5756512132041680082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:49:24.135Z] ---> docker-login.sh [2021-05-12T20:49:24.135Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:49:25.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:49:25.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:49:25.405Z] Configure a credential helper to remove this warning. See [2021-05-12T20:49:25.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:49:25.405Z] [2021-05-12T20:49:25.405Z] Login Succeeded [2021-05-12T20:49:25.405Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:49:26.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:49:26.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:49:26.001Z] Configure a credential helper to remove this warning. See [2021-05-12T20:49:26.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:49:26.001Z] [2021-05-12T20:49:26.001Z] Login Succeeded [2021-05-12T20:49:26.001Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:49:26.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:49:26.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:49:26.549Z] Configure a credential helper to remove this warning. See [2021-05-12T20:49:26.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:49:26.549Z] [2021-05-12T20:49:26.549Z] Login Succeeded [2021-05-12T20:49:26.549Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:49:27.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:49:27.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:49:27.146Z] Configure a credential helper to remove this warning. See [2021-05-12T20:49:27.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:49:27.146Z] [2021-05-12T20:49:27.146Z] Login Succeeded [2021-05-12T20:49:27.146Z] docker.io [2021-05-12T20:49:27.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:49:28.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:49:28.022Z] Configure a credential helper to remove this warning. See [2021-05-12T20:49:28.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:49:28.022Z] [2021-05-12T20:49:28.022Z] Login Succeeded [2021-05-12T20:49:28.022Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:49:28.042Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T20:49:28.398Z] ========================================================= [2021-05-12T20:49:28.398Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-12T20:49:28.398Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:49:28.764Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-12T20:49:29.389Z] Sending build context to Docker daemon 8.584MB [2021-05-12T20:49:29.389Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:49:29.389Z] Step 2/8 : FROM ${BASE} [2021-05-12T20:49:29.389Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-12T20:49:29.389Z] 595b0fe564bb: Pulling fs layer [2021-05-12T20:49:29.389Z] 7186ed65a4f7: Pulling fs layer [2021-05-12T20:49:29.389Z] 316046926c0a: Pulling fs layer [2021-05-12T20:49:29.389Z] 4ebd0625c992: Pulling fs layer [2021-05-12T20:49:29.389Z] 207e8628e3a3: Pulling fs layer [2021-05-12T20:49:29.389Z] c791037a9be2: Pulling fs layer [2021-05-12T20:49:29.389Z] ffd874e62e21: Pulling fs layer [2021-05-12T20:49:29.389Z] 4ebd0625c992: Waiting [2021-05-12T20:49:29.389Z] 207e8628e3a3: Waiting [2021-05-12T20:49:29.389Z] c791037a9be2: Waiting [2021-05-12T20:49:29.389Z] ffd874e62e21: Waiting [2021-05-12T20:49:29.389Z] 316046926c0a: Verifying Checksum [2021-05-12T20:49:29.389Z] 316046926c0a: Download complete [2021-05-12T20:49:29.389Z] 7186ed65a4f7: Verifying Checksum [2021-05-12T20:49:29.389Z] 7186ed65a4f7: Download complete [2021-05-12T20:49:29.389Z] 207e8628e3a3: Verifying Checksum [2021-05-12T20:49:29.389Z] 207e8628e3a3: Download complete [2021-05-12T20:49:29.389Z] c791037a9be2: Verifying Checksum [2021-05-12T20:49:29.389Z] c791037a9be2: Download complete [2021-05-12T20:49:29.667Z] 595b0fe564bb: Verifying Checksum [2021-05-12T20:49:29.667Z] 595b0fe564bb: Download complete [2021-05-12T20:49:30.272Z] 595b0fe564bb: Pull complete [2021-05-12T20:49:30.914Z] 7186ed65a4f7: Pull complete [2021-05-12T20:49:31.193Z] 316046926c0a: Pull complete [2021-05-12T20:49:31.792Z] ffd874e62e21: Verifying Checksum [2021-05-12T20:49:31.792Z] ffd874e62e21: Download complete [2021-05-12T20:49:33.254Z] 4ebd0625c992: Verifying Checksum [2021-05-12T20:49:33.254Z] 4ebd0625c992: Download complete [2021-05-12T20:49:38.491Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-12T20:49:38.491Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.444s coverage: 63.8% of statements [2021-05-12T20:49:38.491Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T20:49:43.434Z] 4ebd0625c992: Pull complete [2021-05-12T20:49:43.434Z] 207e8628e3a3: Pull complete [2021-05-12T20:49:43.434Z] c791037a9be2: Pull complete [2021-05-12T20:49:46.836Z] ffd874e62e21: Pull complete [2021-05-12T20:49:46.951Z] gofmt -l . [2021-05-12T20:49:46.951Z] [ "`gofmt -l .`" = "" ] [2021-05-12T20:49:46.951Z] ./bin/test-attribution-txt.sh [2021-05-12T20:49:47.112Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-12T20:49:47.112Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-12T20:49:47.112Z] ---> cfc18b08335c [2021-05-12T20:49:47.112Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-12T20:49:47.522Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-12T20:49:47.804Z] $ docker stop --time=1 30b0915d3d8864f9dcc936935fba8c7c1a5ca2e823bef3b8f363a81dcf9652b7 [2021-05-12T20:49:49.768Z] $ docker rm -f 30b0915d3d8864f9dcc936935fba8c7c1a5ca2e823bef3b8f363a81dcf9652b7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:49:50.280Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T20:49:50.547Z] ---> Running in e76d6574c1fa [2021-05-12T20:49:50.666Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-12T20:49:50.827Z] Removing intermediate container e76d6574c1fa [2021-05-12T20:49:50.827Z] ---> 7a32bb102423 [2021-05-12T20:49:50.827Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:49:50.827Z] ---> Running in dc8fbb384145 [Pipeline] sh [2021-05-12T20:49:51.645Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T20:49:51.953Z] + ls -al . [2021-05-12T20:49:51.953Z] total 132 [2021-05-12T20:49:51.953Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 12 20:49 . [2021-05-12T20:49:51.953Z] drwxrwxr-x. 4 jenkins jenkins 28 May 12 20:48 .. [2021-05-12T20:49:51.953Z] -rw-rw-r--. 1 jenkins jenkins 8153 May 12 20:48 Attribution.txt [2021-05-12T20:49:51.953Z] drwxrwxr-x. 2 jenkins jenkins 64 May 12 20:48 bin [2021-05-12T20:49:51.953Z] drwxrwxr-x. 3 jenkins jenkins 32 May 12 20:48 cmd [2021-05-12T20:49:51.953Z] -rw-r--r--. 1 jenkins jenkins 47247 May 12 20:49 coverage.out [2021-05-12T20:49:51.953Z] -rw-rw-r--. 1 jenkins jenkins 1905 May 12 20:48 Dockerfile [2021-05-12T20:49:51.953Z] -rw-rw-r--. 1 jenkins jenkins 998 May 12 20:48 Dockerfile.build [2021-05-12T20:49:51.953Z] drwxrwxr-x. 8 jenkins jenkins 179 May 12 20:48 .git [2021-05-12T20:49:51.953Z] drwxrwxr-x. 2 jenkins jenkins 103 May 12 20:48 .github [2021-05-12T20:49:51.953Z] -rw-rw-r--. 1 jenkins jenkins 277 May 12 20:48 .gitignore [2021-05-12T20:49:51.953Z] -rw-r--r--. 1 jenkins jenkins 809 May 12 20:49 go.mod [2021-05-12T20:49:51.953Z] -rw-r--r--. 1 jenkins jenkins 23036 May 12 20:49 go.sum [2021-05-12T20:49:51.953Z] drwxrwxr-x. 3 jenkins jenkins 20 May 12 20:48 internal [2021-05-12T20:49:51.953Z] -rw-rw-r--. 1 jenkins jenkins 660 May 12 20:48 Jenkinsfile [2021-05-12T20:49:51.953Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 12 20:48 LICENSE [2021-05-12T20:49:51.953Z] -rw-rw-r--. 1 jenkins jenkins 914 May 12 20:48 Makefile [2021-05-12T20:49:51.953Z] -rw-rw-r--. 1 jenkins jenkins 2745 May 12 20:48 README.md [2021-05-12T20:49:51.953Z] -rw-rw-r--. 1 jenkins jenkins 5 May 12 20:43 VERSION [2021-05-12T20:49:51.953Z] -rw-rw-r--. 1 jenkins jenkins 235 May 12 20:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:49:52.266Z] + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=8b6e00b368922ca9621b357ada8dcf15eea9482f --label arch=amd64 --label version=0.0.0 . [2021-05-12T20:49:52.531Z] Sending build context to Docker daemon 8.657MB [2021-05-12T20:49:52.531Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:49:52.531Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-12T20:49:52.531Z] ---> 56952be48129 [2021-05-12T20:49:52.531Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T20:49:52.531Z] ---> Running in 0b660636f5bf [2021-05-12T20:49:52.794Z] Removing intermediate container 0b660636f5bf [2021-05-12T20:49:52.794Z] ---> e51ade99fc1a [2021-05-12T20:49:52.794Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:49:52.794Z] ---> Running in d00a34ee80fa [2021-05-12T20:49:53.057Z] Removing intermediate container d00a34ee80fa [2021-05-12T20:49:53.057Z] ---> 6ff07a1852b1 [2021-05-12T20:49:53.057Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-12T20:49:53.057Z] ---> Running in be59ec6c94b7 [2021-05-12T20:49:53.321Z] Removing intermediate container be59ec6c94b7 [2021-05-12T20:49:53.321Z] ---> 771c86cbf20f [2021-05-12T20:49:53.321Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:49:53.321Z] ---> Running in 186a9b7a0135 [2021-05-12T20:49:53.470Z] Removing intermediate container dc8fbb384145 [2021-05-12T20:49:53.470Z] ---> 4c5000c6bd1a [2021-05-12T20:49:53.470Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-12T20:49:53.470Z] ---> Running in 058aef6c9737 [2021-05-12T20:49:54.271Z] Removing intermediate container 186a9b7a0135 [2021-05-12T20:49:54.271Z] ---> 43df37cfc8da [2021-05-12T20:49:54.271Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:49:54.271Z] ---> Running in e5376d70d477 [2021-05-12T20:49:54.540Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:49:54.917Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:49:55.490Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:49:55.512Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:49:56.067Z] OK: 156 MiB in 53 packages [2021-05-12T20:49:56.331Z] Removing intermediate container e5376d70d477 [2021-05-12T20:49:56.331Z] ---> f7affcb5687d [2021-05-12T20:49:56.331Z] Step 8/25 : COPY . . [2021-05-12T20:49:56.520Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-12T20:49:56.796Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-12T20:49:56.796Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-12T20:49:56.796Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-12T20:49:57.069Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-12T20:49:57.069Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-12T20:49:57.069Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-12T20:49:57.285Z] ---> f0d7e426c9ef [2021-05-12T20:49:57.285Z] Step 9/25 : RUN go mod download [2021-05-12T20:49:57.285Z] ---> Running in 632b2c4c6f60 [2021-05-12T20:49:57.341Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-12T20:49:57.614Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-12T20:49:57.614Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-12T20:49:57.614Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-12T20:49:57.894Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-12T20:49:57.894Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-12T20:49:57.894Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T20:49:58.170Z] OK: 145 MiB in 53 packages [2021-05-12T20:49:58.237Z] Removing intermediate container 632b2c4c6f60 [2021-05-12T20:49:58.237Z] ---> 0261e661603a [2021-05-12T20:49:58.237Z] Step 10/25 : ARG MAKE='make build' [2021-05-12T20:49:58.237Z] ---> Running in 65795005756e [2021-05-12T20:49:58.237Z] Removing intermediate container 65795005756e [2021-05-12T20:49:58.237Z] ---> 012f11ab286d [2021-05-12T20:49:58.237Z] Step 11/25 : RUN $MAKE [2021-05-12T20:49:58.501Z] ---> Running in f9bb49bfca3d [2021-05-12T20:49:58.764Z] go mod tidy [2021-05-12T20:49:59.038Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-05-12T20:49:59.629Z] Removing intermediate container 058aef6c9737 [2021-05-12T20:49:59.629Z] ---> c6688caaa0c2 [2021-05-12T20:49:59.629Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-12T20:49:59.903Z] ---> Running in c019269b3f16 [2021-05-12T20:50:00.505Z] Removing intermediate container c019269b3f16 [2021-05-12T20:50:00.505Z] ---> c1d961b29562 [2021-05-12T20:50:00.505Z] Step 7/8 : COPY . . [2021-05-12T20:50:01.940Z] ---> 4d17459aec78 [2021-05-12T20:50:01.940Z] Step 8/8 : RUN go mod download [2021-05-12T20:50:01.940Z] ---> Running in f05436313a1e [2021-05-12T20:50:17.311Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-12T20:50:19.239Z] Removing intermediate container f9bb49bfca3d [2021-05-12T20:50:19.239Z] ---> 30094d35f2fc [2021-05-12T20:50:19.239Z] Step 12/25 : FROM alpine:3.12 [2021-05-12T20:50:19.815Z] 3.12: Pulling from library/alpine [2021-05-12T20:50:19.815Z] 339de151aab4: Pulling fs layer [2021-05-12T20:50:20.078Z] 339de151aab4: Verifying Checksum [2021-05-12T20:50:20.078Z] 339de151aab4: Download complete [2021-05-12T20:50:20.341Z] 339de151aab4: Pull complete [2021-05-12T20:50:20.341Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T20:50:20.341Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T20:50:20.341Z] ---> 13621d1b12d4 [2021-05-12T20:50:20.341Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-12T20:50:20.341Z] ---> Running in febc32b435d7 [2021-05-12T20:50:20.608Z] Removing intermediate container febc32b435d7 [2021-05-12T20:50:20.608Z] ---> 9ea6c4ad39ab [2021-05-12T20:50:20.608Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:50:20.608Z] ---> Running in 8fb16c3e902a [2021-05-12T20:50:21.557Z] Removing intermediate container 8fb16c3e902a [2021-05-12T20:50:21.557Z] ---> 20ce46ff8f8e [2021-05-12T20:50:21.557Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-12T20:50:21.557Z] ---> Running in c9916ea506ca [2021-05-12T20:50:21.820Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:50:22.764Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:50:23.025Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-12T20:50:23.026Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-12T20:50:23.287Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-12T20:50:23.549Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-12T20:50:24.940Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-12T20:50:24.940Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-12T20:50:24.940Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T20:50:24.940Z] OK: 8 MiB in 20 packages [2021-05-12T20:50:25.202Z] Removing intermediate container c9916ea506ca [2021-05-12T20:50:25.202Z] ---> 54400e568565 [2021-05-12T20:50:25.202Z] Step 16/25 : WORKDIR / [2021-05-12T20:50:25.468Z] ---> Running in dfc45eab1dbc [2021-05-12T20:50:25.468Z] Removing intermediate container dfc45eab1dbc [2021-05-12T20:50:25.468Z] ---> a02d33b027d0 [2021-05-12T20:50:25.468Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-12T20:50:25.737Z] ---> 88017c045d97 [2021-05-12T20:50:25.737Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-12T20:50:25.999Z] ---> 34475c181147 [2021-05-12T20:50:25.999Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-12T20:50:26.576Z] ---> ec56bf8bdd35 [2021-05-12T20:50:26.576Z] Step 20/25 : EXPOSE 49990 [2021-05-12T20:50:26.839Z] ---> Running in a035aa34f742 [2021-05-12T20:50:26.839Z] Removing intermediate container a035aa34f742 [2021-05-12T20:50:26.839Z] ---> 08fdb84a2c78 [2021-05-12T20:50:26.839Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-12T20:50:26.839Z] ---> Running in 59a5435be440 [2021-05-12T20:50:27.105Z] Removing intermediate container 59a5435be440 [2021-05-12T20:50:27.105Z] ---> 5de994e3e93d [2021-05-12T20:50:27.105Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-12T20:50:27.105Z] ---> Running in 33a3dc5dc3d6 [2021-05-12T20:50:27.366Z] Removing intermediate container 33a3dc5dc3d6 [2021-05-12T20:50:27.366Z] ---> 3f544779b64e [2021-05-12T20:50:27.366Z] Step 23/25 : LABEL arch=amd64 [2021-05-12T20:50:27.366Z] ---> Running in f7c4ccb2d788 [2021-05-12T20:50:27.629Z] Removing intermediate container f7c4ccb2d788 [2021-05-12T20:50:27.629Z] ---> 58f6656c2b71 [2021-05-12T20:50:27.629Z] Step 24/25 : LABEL git_sha=8b6e00b368922ca9621b357ada8dcf15eea9482f [2021-05-12T20:50:27.629Z] ---> Running in 679f2c5fc9ee [2021-05-12T20:50:27.891Z] Removing intermediate container 679f2c5fc9ee [2021-05-12T20:50:27.891Z] ---> de9e726395d9 [2021-05-12T20:50:27.891Z] Step 25/25 : LABEL version=0.0.0 [2021-05-12T20:50:27.891Z] ---> Running in 3421b4373791 [2021-05-12T20:50:27.891Z] Removing intermediate container 3421b4373791 [2021-05-12T20:50:27.891Z] ---> 298bcd12b16d [2021-05-12T20:50:27.891Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T20:50:28.153Z] Successfully built 298bcd12b16d [2021-05-12T20:50:28.153Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:50:28.703Z] ---> job-cost.sh [2021-05-12T20:50:28.703Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-lVc6 [2021-05-12T20:50:34.337Z] Removing intermediate container f05436313a1e [2021-05-12T20:50:34.337Z] ---> a96229d5c84c [2021-05-12T20:50:34.337Z] Successfully built a96229d5c84c [2021-05-12T20:50:34.337Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:50:34.682Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T20:50:34.682Z] . [Pipeline] withDockerContainer [2021-05-12T20:50:34.966Z] prd-ubuntu18.04-docker-arm64-4c-16g-4897 does not seem to be running inside a container [2021-05-12T20:50:35.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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-arm64 cat [2021-05-12T20:50:36.671Z] $ docker top 9c00fad23a24003a2c700a55d72b54dfecc572f602bdbab7c5f14276d506f25b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:50:37.679Z] + go version [2021-05-12T20:50:37.679Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-12T20:50:37.713Z] $ docker stop --time=1 9c00fad23a24003a2c700a55d72b54dfecc572f602bdbab7c5f14276d506f25b [2021-05-12T20:50:39.751Z] $ docker rm -f 9c00fad23a24003a2c700a55d72b54dfecc572f602bdbab7c5f14276d506f25b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:50:40.510Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T20:50:40.510Z] . [Pipeline] withDockerContainer [2021-05-12T20:50:40.880Z] prd-ubuntu18.04-docker-arm64-4c-16g-4897 does not seem to be running inside a container [2021-05-12T20:50:41.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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-arm64 cat [2021-05-12T20:50:42.776Z] $ docker top 1fbb142f3b91dbe9b69d35f4f0d89ffa671bcdcd4db05757c2366c708b81d112 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:50:43.623Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T20:50:43.732Z] + go mod tidy [Pipeline] sh [2021-05-12T20:50:45.012Z] + make test [2021-05-12T20:50:45.012Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-12T20:50:46.466Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-12T20:51:10.245Z] lf-activate-venv(): INFO: Adding /tmp/venv-lVc6/bin to PATH [2021-05-12T20:51:10.245Z] INFO: No Stack... [2021-05-12T20:51:10.245Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T20:51:10.507Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T20:51:10.825Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [2021-05-12T20:51:10.825Z] + cut -d, -f6 [Pipeline] lock [2021-05-12T20:51:10.903Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-204-2-stack-cost] [2021-05-12T20:51:10.918Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-204-2-stack-cost] did not exist. Created. [2021-05-12T20:51:10.918Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-204-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T20:51:11.248Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-12T20:51:11.346Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T20:51:11.358Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-204-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-12T20:52:08.508Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-12T20:52:08.508Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.858s coverage: 63.8% of statements [2021-05-12T20:52:08.509Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T20:52:30.703Z] gofmt -l . [2021-05-12T20:52:30.703Z] [ "`gofmt -l .`" = "" ] [2021-05-12T20:52:30.703Z] ./bin/test-attribution-txt.sh [2021-05-12T20:52:30.977Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-12T20:52:31.617Z] $ docker stop --time=1 1fbb142f3b91dbe9b69d35f4f0d89ffa671bcdcd4db05757c2366c708b81d112 [2021-05-12T20:52:33.679Z] $ docker rm -f 1fbb142f3b91dbe9b69d35f4f0d89ffa671bcdcd4db05757c2366c708b81d112 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:52:34.559Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T20:52:34.579Z] Warning: overwriting stash ‘coverage-report’ [2021-05-12T20:52:35.337Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:52:35.801Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T20:52:36.135Z] + ls -al . [2021-05-12T20:52:36.135Z] total 156 [2021-05-12T20:52:36.135Z] drwxrwxr-x 7 jenkins jenkins 4096 May 12 20:52 . [2021-05-12T20:52:36.135Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 20:49 .. [2021-05-12T20:52:36.135Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 20:49 .git [2021-05-12T20:52:36.135Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:49 .github [2021-05-12T20:52:36.135Z] -rw-rw-r-- 1 jenkins jenkins 277 May 12 20:49 .gitignore [2021-05-12T20:52:36.135Z] -rw-rw-r-- 1 jenkins jenkins 8153 May 12 20:49 Attribution.txt [2021-05-12T20:52:36.135Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 12 20:49 Dockerfile [2021-05-12T20:52:36.135Z] -rw-rw-r-- 1 jenkins jenkins 998 May 12 20:49 Dockerfile.build [2021-05-12T20:52:36.135Z] -rw-rw-r-- 1 jenkins jenkins 660 May 12 20:49 Jenkinsfile [2021-05-12T20:52:36.135Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 12 20:49 LICENSE [2021-05-12T20:52:36.135Z] -rw-rw-r-- 1 jenkins jenkins 914 May 12 20:49 Makefile [2021-05-12T20:52:36.135Z] -rw-rw-r-- 1 jenkins jenkins 2745 May 12 20:49 README.md [2021-05-12T20:52:36.135Z] -rw-rw-r-- 1 jenkins jenkins 5 May 12 20:43 VERSION [2021-05-12T20:52:36.135Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:49 bin [2021-05-12T20:52:36.135Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:49 cmd [2021-05-12T20:52:36.135Z] -rw-r--r-- 1 jenkins jenkins 47247 May 12 20:51 coverage.out [2021-05-12T20:52:36.135Z] -rw-r--r-- 1 jenkins jenkins 809 May 12 20:52 go.mod [2021-05-12T20:52:36.135Z] -rw-r--r-- 1 jenkins jenkins 23036 May 12 20:50 go.sum [2021-05-12T20:52:36.135Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:49 internal [2021-05-12T20:52:36.135Z] -rw-rw-r-- 1 jenkins jenkins 235 May 12 20:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:52:36.482Z] + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8b6e00b368922ca9621b357ada8dcf15eea9482f --label arch=arm64 --label version=0.0.0 . [2021-05-12T20:52:37.081Z] Sending build context to Docker daemon 8.656MB [2021-05-12T20:52:37.081Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:52:37.081Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-12T20:52:37.081Z] ---> a96229d5c84c [2021-05-12T20:52:37.081Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T20:52:37.353Z] ---> Running in f6a71a1feb6a [2021-05-12T20:52:37.627Z] Removing intermediate container f6a71a1feb6a [2021-05-12T20:52:37.627Z] ---> 30869fd195cd [2021-05-12T20:52:37.627Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:52:37.900Z] ---> Running in a59889d24429 [2021-05-12T20:52:38.497Z] Removing intermediate container a59889d24429 [2021-05-12T20:52:38.497Z] ---> ed0a3b5d5b41 [2021-05-12T20:52:38.497Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-12T20:52:38.497Z] ---> Running in dfafc73f7945 [2021-05-12T20:52:39.093Z] Removing intermediate container dfafc73f7945 [2021-05-12T20:52:39.093Z] ---> fe1def6657d1 [2021-05-12T20:52:39.093Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:52:39.093Z] ---> Running in 74dc77defa39 [2021-05-12T20:52:41.066Z] Removing intermediate container 74dc77defa39 [2021-05-12T20:52:41.066Z] ---> df81a8bf64ef [2021-05-12T20:52:41.066Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:52:41.342Z] ---> Running in 8e1ad2e1392c [2021-05-12T20:52:42.336Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:52:43.314Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:52:44.760Z] OK: 145 MiB in 53 packages [2021-05-12T20:52:45.735Z] Removing intermediate container 8e1ad2e1392c [2021-05-12T20:52:45.735Z] ---> 606b04abd80d [2021-05-12T20:52:45.735Z] Step 8/25 : COPY . . [2021-05-12T20:52:47.170Z] ---> 924b243ac2d1 [2021-05-12T20:52:47.170Z] Step 9/25 : RUN go mod download [2021-05-12T20:52:47.170Z] ---> Running in 8a9fc962a2a0 [2021-05-12T20:52:49.793Z] Removing intermediate container 8a9fc962a2a0 [2021-05-12T20:52:49.793Z] ---> 621397181b80 [2021-05-12T20:52:49.793Z] Step 10/25 : ARG MAKE='make build' [2021-05-12T20:52:49.793Z] ---> Running in b867a9924e74 [2021-05-12T20:52:50.066Z] Removing intermediate container b867a9924e74 [2021-05-12T20:52:50.066Z] ---> 575d32f707b0 [2021-05-12T20:52:50.066Z] Step 11/25 : RUN $MAKE [2021-05-12T20:52:50.338Z] ---> Running in dc1e3d8a42e5 [2021-05-12T20:52:51.321Z] go mod tidy [2021-05-12T20:52:51.919Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-05-12T20:53:38.911Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-12T20:53:49.036Z] Removing intermediate container dc1e3d8a42e5 [2021-05-12T20:53:49.036Z] ---> 827ceb6ed4c7 [2021-05-12T20:53:49.036Z] Step 12/25 : FROM alpine:3.12 [2021-05-12T20:53:49.036Z] 3.12: Pulling from library/alpine [2021-05-12T20:53:49.036Z] d2f70382dc9a: Pulling fs layer [2021-05-12T20:53:49.305Z] d2f70382dc9a: Verifying Checksum [2021-05-12T20:53:49.306Z] d2f70382dc9a: Download complete [2021-05-12T20:53:49.901Z] d2f70382dc9a: Pull complete [2021-05-12T20:53:49.901Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T20:53:49.901Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T20:53:49.901Z] ---> 9852663dfa18 [2021-05-12T20:53:49.901Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-12T20:53:49.901Z] ---> Running in 145ebb716f26 [2021-05-12T20:53:50.495Z] Removing intermediate container 145ebb716f26 [2021-05-12T20:53:50.495Z] ---> 2b6e1d7500d8 [2021-05-12T20:53:50.495Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:53:50.495Z] ---> Running in 5f42063c4773 [2021-05-12T20:53:52.463Z] Removing intermediate container 5f42063c4773 [2021-05-12T20:53:52.463Z] ---> 8cb548fe43e8 [2021-05-12T20:53:52.463Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-12T20:53:52.736Z] ---> Running in 09e44826aa67 [2021-05-12T20:53:53.712Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:53:54.311Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:53:54.903Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-12T20:53:55.175Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-12T20:53:55.175Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-12T20:53:55.175Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-12T20:53:55.446Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-12T20:53:56.039Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-12T20:53:56.039Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T20:53:56.039Z] OK: 8 MiB in 20 packages [2021-05-12T20:53:57.471Z] Removing intermediate container 09e44826aa67 [2021-05-12T20:53:57.471Z] ---> d6f1f03c169e [2021-05-12T20:53:57.471Z] Step 16/25 : WORKDIR / [2021-05-12T20:53:57.471Z] ---> Running in 9ae987d5db68 [2021-05-12T20:53:58.068Z] Removing intermediate container 9ae987d5db68 [2021-05-12T20:53:58.068Z] ---> cfa432079f12 [2021-05-12T20:53:58.068Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-12T20:53:58.659Z] ---> f6f77cfeed91 [2021-05-12T20:53:58.659Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-12T20:53:59.253Z] ---> e219d8acc952 [2021-05-12T20:53:59.253Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-12T20:54:00.675Z] ---> c7ea3eff10cc [2021-05-12T20:54:00.676Z] Step 20/25 : EXPOSE 49990 [2021-05-12T20:54:00.676Z] ---> Running in 8a96a3fb3da0 [2021-05-12T20:54:00.945Z] Removing intermediate container 8a96a3fb3da0 [2021-05-12T20:54:00.945Z] ---> b04da9862bd4 [2021-05-12T20:54:00.945Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-12T20:54:01.216Z] ---> Running in 2b46236f3497 [2021-05-12T20:54:01.489Z] Removing intermediate container 2b46236f3497 [2021-05-12T20:54:01.489Z] ---> 4c47f2713342 [2021-05-12T20:54:01.489Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-12T20:54:01.761Z] ---> Running in 3eb98009b777 [2021-05-12T20:54:02.360Z] Removing intermediate container 3eb98009b777 [2021-05-12T20:54:02.360Z] ---> 1d4b541e5104 [2021-05-12T20:54:02.360Z] Step 23/25 : LABEL arch=arm64 [2021-05-12T20:54:02.360Z] ---> Running in 5fbf9818549d [2021-05-12T20:54:02.953Z] Removing intermediate container 5fbf9818549d [2021-05-12T20:54:02.953Z] ---> 1fde3c1cef2b [2021-05-12T20:54:02.953Z] Step 24/25 : LABEL git_sha=8b6e00b368922ca9621b357ada8dcf15eea9482f [2021-05-12T20:54:02.953Z] ---> Running in 70c045a85792 [2021-05-12T20:54:03.544Z] Removing intermediate container 70c045a85792 [2021-05-12T20:54:03.544Z] ---> 5cc6c29ae596 [2021-05-12T20:54:03.544Z] Step 25/25 : LABEL version=0.0.0 [2021-05-12T20:54:03.544Z] ---> Running in 6a45ca2dc407 [2021-05-12T20:54:04.140Z] Removing intermediate container 6a45ca2dc407 [2021-05-12T20:54:04.140Z] ---> f73a0e0eea57 [2021-05-12T20:54:04.140Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T20:54:04.140Z] Successfully built f73a0e0eea57 [2021-05-12T20:54:04.140Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:54:04.621Z] ---> job-cost.sh [2021-05-12T20:54:04.621Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ph6S [2021-05-12T20:54:43.568Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T20:56:20.305Z] lf-activate-venv(): INFO: Adding /tmp/venv-Ph6S/bin to PATH [2021-05-12T20:56:20.305Z] INFO: No Stack... [2021-05-12T20:56:20.305Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-12T20:56:20.305Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T20:56:20.639Z] + + catcut /w/workspace/device-virtual-go/2/archives/cost.csv -d, [2021-05-12T20:56:20.640Z] -f6 [Pipeline] lock [2021-05-12T20:56:20.746Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-204-2-stack-cost] [2021-05-12T20:56:20.755Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-204-2-stack-cost] did not exist. Created. [2021-05-12T20:56:20.756Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-204-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T20:56:21.121Z] /w/workspace/device-virtual-go/2@tmp/durable-c44c0fad/script.sh: 1: /w/workspace/device-virtual-go/2@tmp/durable-c44c0fad/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-12T20:56:21.462Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-12T20:56:21.492Z] Warning: overwriting stash ‘stack-cost’ [2021-05-12T20:56:21.645Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T20:56:21.659Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-204-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-12T20:56:22.051Z] provisioning config files... [2021-05-12T20:56:22.063Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-204@tmp/config3585226724576242121tmp [Pipeline] { [Pipeline] sh [2021-05-12T20:56:22.405Z] + set +x [2021-05-12T20:56:22.405Z] + curl -s https://codecov.io/bash [2021-05-12T20:56:22.405Z] + bash -s -- [2021-05-12T20:56:22.689Z] [2021-05-12T20:56:22.689Z] _____ _ [2021-05-12T20:56:22.689Z] / ____| | | [2021-05-12T20:56:22.689Z] | | ___ __| | ___ ___ _____ __ [2021-05-12T20:56:22.689Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-12T20:56:22.689Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-12T20:56:22.689Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-12T20:56:22.689Z] Bash-1.0.2 [2021-05-12T20:56:22.689Z] [2021-05-12T20:56:22.689Z] [2021-05-12T20:56:22.689Z] ==> git version 2.24.3 found [2021-05-12T20:56:22.689Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-12T20:56:22.689Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-12T20:56:22.689Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-12T20:56:22.689Z] ==> Jenkins CI detected. [2021-05-12T20:56:22.689Z] project root: . [2021-05-12T20:56:22.689Z] --> token set from env [2021-05-12T20:56:22.689Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-12T20:56:22.957Z] ==> Running gcov in . (disable via -X gcov) [2021-05-12T20:56:22.957Z] ==> Python coveragepy not found [2021-05-12T20:56:22.957Z] ==> Searching for coverage reports in: [2021-05-12T20:56:22.957Z] + . [2021-05-12T20:56:22.957Z] -> Found 1 reports [2021-05-12T20:56:22.957Z] ==> Detecting git/mercurial file structure [2021-05-12T20:56:22.957Z] ==> Reading reports [2021-05-12T20:56:22.957Z] + ./coverage.out bytes=47247 [2021-05-12T20:56:22.957Z] ==> Appending adjustments [2021-05-12T20:56:22.957Z] https://docs.codecov.io/docs/fixing-reports [2021-05-12T20:56:23.223Z] + Found adjustments [2021-05-12T20:56:23.223Z] ==> Gzipping contents [2021-05-12T20:56:23.223Z] 8.0K /tmp/codecov.eK8p3d.gz [2021-05-12T20:56:23.223Z] ==> Uploading reports [2021-05-12T20:56:23.223Z] url: https://codecov.io [2021-05-12T20:56:23.223Z] query: branch=PR-204&commit=8b6e00b368922ca9621b357ada8dcf15eea9482f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-204%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=204&job=&cmd_args= [2021-05-12T20:56:23.223Z] -> Pinging Codecov [2021-05-12T20:56:23.223Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-204&commit=8b6e00b368922ca9621b357ada8dcf15eea9482f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-204%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=204&job=&cmd_args= [2021-05-12T20:56:23.837Z] -> Uploading to [2021-05-12T20:56:23.837Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-12/5E52B4B073DB2E39498172D8E973AA87/8b6e00b368922ca9621b357ada8dcf15eea9482f/ab20b0c1-3bdb-4439-ae7c-45f97217f184.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210512T205623Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d9da0dedcf95a24caa8a44db4e3fa25a43ca14f1a927035dc8470e96c89222cf [2021-05-12T20:56:23.837Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-12T20:56:23.837Z] Dload Upload Total Spent Left Speed [2021-05-12T20:56:24.106Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5752 0 0 100 5752 0 14657 --:--:-- --:--:-- --:--:-- 14673 [2021-05-12T20:56:24.106Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/8b6e00b368922ca9621b357ada8dcf15eea9482f [Pipeline] } [2021-05-12T20:56:24.118Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:56:25.119Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:56:25.754Z] ---> package-listing.sh [2021-05-12T20:56:25.754Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-12T20:56:25.754Z] ++ facter osfamily [2021-05-12T20:56:26.021Z] + OS_FAMILY=redhat [2021-05-12T20:56:26.021Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-204 [2021-05-12T20:56:26.021Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-12T20:56:26.021Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-12T20:56:26.021Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-12T20:56:26.021Z] + PACKAGES=/tmp/packages_start.txt [2021-05-12T20:56:26.021Z] + '[' /w/workspace/foundry_device-virtual-go_PR-204 ']' [2021-05-12T20:56:26.021Z] + PACKAGES=/tmp/packages_end.txt [2021-05-12T20:56:26.021Z] + case "${OS_FAMILY}" in [2021-05-12T20:56:26.021Z] + rpm -qa [2021-05-12T20:56:26.021Z] + sort [2021-05-12T20:56:31.384Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-12T20:56:31.384Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-12T20:56:31.384Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-12T20:56:31.384Z] + '[' /w/workspace/foundry_device-virtual-go_PR-204 ']' [2021-05-12T20:56:31.384Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-204/archives/ [2021-05-12T20:56:31.385Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-204/archives/ [Pipeline] echo [2021-05-12T20:56:31.401Z] 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-204/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-12T20:56:31.697Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:56:32.011Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:56:32.011Z] [2021-05-12T20:56:32.011Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:56:32.358Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:56:32.358Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-12T20:56:32.358Z] df20fa9351a1: Pulling fs layer [2021-05-12T20:56:32.358Z] 36b3adc4ff6f: Pulling fs layer [2021-05-12T20:56:32.358Z] 8ad3a11d3b57: Pulling fs layer [2021-05-12T20:56:32.358Z] 46f8f816bc3b: Pulling fs layer [2021-05-12T20:56:32.358Z] 93b61091891f: Pulling fs layer [2021-05-12T20:56:32.358Z] 93b9cdb0e59b: Pulling fs layer [2021-05-12T20:56:32.358Z] 5e14af77c1be: Pulling fs layer [2021-05-12T20:56:32.358Z] 01666e4c0597: Pulling fs layer [2021-05-12T20:56:32.358Z] aa168da1d23b: Pulling fs layer [2021-05-12T20:56:32.358Z] 93b9cdb0e59b: Waiting [2021-05-12T20:56:32.358Z] 5e14af77c1be: Waiting [2021-05-12T20:56:32.358Z] 01666e4c0597: Waiting [2021-05-12T20:56:32.358Z] aa168da1d23b: Waiting [2021-05-12T20:56:32.358Z] 46f8f816bc3b: Waiting [2021-05-12T20:56:32.358Z] 93b61091891f: Waiting [2021-05-12T20:56:32.358Z] 36b3adc4ff6f: Verifying Checksum [2021-05-12T20:56:32.358Z] 36b3adc4ff6f: Download complete [2021-05-12T20:56:32.358Z] 46f8f816bc3b: Verifying Checksum [2021-05-12T20:56:32.358Z] 46f8f816bc3b: Download complete [2021-05-12T20:56:32.634Z] df20fa9351a1: Verifying Checksum [2021-05-12T20:56:32.634Z] df20fa9351a1: Download complete [2021-05-12T20:56:32.634Z] 93b9cdb0e59b: Verifying Checksum [2021-05-12T20:56:32.634Z] 93b9cdb0e59b: Download complete [2021-05-12T20:56:32.634Z] 5e14af77c1be: Verifying Checksum [2021-05-12T20:56:32.634Z] 5e14af77c1be: Download complete [2021-05-12T20:56:32.634Z] 01666e4c0597: Verifying Checksum [2021-05-12T20:56:32.634Z] 01666e4c0597: Download complete [2021-05-12T20:56:32.634Z] 93b61091891f: Verifying Checksum [2021-05-12T20:56:32.634Z] 93b61091891f: Download complete [2021-05-12T20:56:32.916Z] 8ad3a11d3b57: Verifying Checksum [2021-05-12T20:56:32.916Z] 8ad3a11d3b57: Download complete [2021-05-12T20:56:33.220Z] df20fa9351a1: Pull complete [2021-05-12T20:56:33.514Z] 36b3adc4ff6f: Pull complete [2021-05-12T20:56:35.017Z] 8ad3a11d3b57: Pull complete [2021-05-12T20:56:35.287Z] 46f8f816bc3b: Pull complete [2021-05-12T20:56:36.263Z] 93b61091891f: Pull complete [2021-05-12T20:56:36.263Z] 93b9cdb0e59b: Pull complete [2021-05-12T20:56:36.539Z] 5e14af77c1be: Pull complete [2021-05-12T20:56:36.814Z] 01666e4c0597: Pull complete [2021-05-12T20:56:37.414Z] aa168da1d23b: Verifying Checksum [2021-05-12T20:56:37.414Z] aa168da1d23b: Download complete [2021-05-12T20:56:45.719Z] aa168da1d23b: Pull complete [2021-05-12T20:56:45.719Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-12T20:56:45.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:56:45.719Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-12T20:56:46.210Z] prd-centos7-docker-4c-2g-4884 does not seem to be running inside a container [2021-05-12T20:56:46.307Z] $ 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-204/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-204 -v /w/workspace/foundry_device-virtual-go_PR-204:/w/workspace/foundry_device-virtual-go_PR-204:rw,z -v /w/workspace/foundry_device-virtual-go_PR-204@tmp:/w/workspace/foundry_device-virtual-go_PR-204@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-12T20:56:49.986Z] $ docker top 8c2ad10297ac58da7826d70cbea529c61bf2b4e2a37edc2e7b8c2bb12cd10067 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:56:50.442Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-12T20:56:50.781Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-12T20:56:51.108Z] + ls /var/log/sa-host [2021-05-12T20:56:51.108Z] + sadf -c /var/log/sa-host/sa12 [2021-05-12T20:56:51.109Z] file_magic: OK [2021-05-12T20:56:51.109Z] HZ: Using current value: 100 [2021-05-12T20:56:51.109Z] file_header: OK [2021-05-12T20:56:51.109Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-12T20:56:51.109Z] Statistics: [2021-05-12T20:56:51.109Z] 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-12T20:56:51.109Z] File successfully converted to sysstat format version 12.2.1 [2021-05-12T20:56:51.109Z] + sadf -c /var/log/sa-host/sa23 [2021-05-12T20:56:51.109Z] file_magic: OK [2021-05-12T20:56:51.109Z] HZ: Using current value: 100 [2021-05-12T20:56:51.109Z] file_header: OK [2021-05-12T20:56:51.109Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-12T20:56:51.109Z] Statistics: [2021-05-12T20:56:51.109Z] Hnuu...uuuununununu... [2021-05-12T20:56:51.109Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-12T20:56:51.322Z] provisioning config files... [2021-05-12T20:56:51.342Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-204@tmp/config5251493723983746380tmp [Pipeline] { [Pipeline] echo [2021-05-12T20:56:51.369Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:56:51.696Z] ---> create-netrc.sh [Pipeline] } [2021-05-12T20:56:51.711Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-12T20:56:51.738Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:56:52.110Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-12T20:56:52.129Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:56:52.481Z] ---> sudo-logs.sh [2021-05-12T20:56:52.481Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-12T20:56:52.513Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:56:52.905Z] ---> job-cost.sh [2021-05-12T20:56:53.177Z] lf-activate-venv: SKIPPING [2021-05-12T20:56:53.177Z] DEBUG: total: 0.20999999344348907 [2021-05-12T20:56:53.177Z] INFO: Retrieving Stack Cost... [2021-05-12T20:56:54.599Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T20:56:55.183Z] INFO: Archiving Costs [Pipeline] echo [2021-05-12T20:56:55.203Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:56:55.638Z] ---> logs-deploy.sh [2021-05-12T20:56:55.638Z] lf-activate-venv: SKIPPING [2021-05-12T20:56:55.638Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-204/2 [2021-05-12T20:56:55.638Z] INFO: archiving workspace using pattern(s): [2021-05-12T20:56:58.280Z] Archives upload complete. [2021-05-12T20:56:58.280Z] INFO: archiving logs to Nexus