Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f22f876e599b70c9e0b9005e06686315ad76e5c7 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1000’ Running on prd-centos7-docker-4c-2g-1002 in /w/workspace/foundry_device-virtual-go_master [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_master # 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 Checking out Revision f22f876e599b70c9e0b9005e06686315ad76e5c7 (master) > 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/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f22f876e599b70c9e0b9005e06686315ad76e5c7 # timeout=10 Commit message: "Merge pull request #188 from soda480/US149" > git rev-list --no-walk 658d6cb39e0f87515e0fd512fa46517441b13332 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-19T22:37:00.909Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-19T22:37:01.011Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-19T22:37:01.042Z] ========================================================= [2021-04-19T22:37:01.042Z] EdgeX Global Pipelines Version Info [2021-04-19T22:37:01.042Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:37:02.534Z] ------------------- [2021-04-19T22:37:02.535Z] stable info: [2021-04-19T22:37:02.535Z] ------------------- [2021-04-19T22:37:02.535Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-19T22:37:02.535Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-19T22:37:02.535Z] Message: update stable to v1.0.186 [2021-04-19T22:37:03.480Z] ------------------- [2021-04-19T22:37:03.480Z] experimental info: [2021-04-19T22:37:03.480Z] ------------------- [2021-04-19T22:37:03.480Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-19T22:37:03.480Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-19T22:37:03.480Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-19T22:37:03.600Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-04-19T22:37:03.626Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-04-19T22:37:03.649Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-19T22:37:03.676Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-19T22:37:03.704Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-19T22:37:03.729Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-19T22:37:03.757Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-19T22:37:03.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-19T22:37:03.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-19T22:37:03.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-19T22:37:03.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-19T22:37:03.905Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-04-19T22:37:03.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-19T22:37:03.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-19T22:37:03.985Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T22:37:04.007Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T22:37:04.030Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T22:37:04.054Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T22:37:04.076Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-19T22:37:04.101Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-19T22:37:04.125Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-04-19T22:37:04.147Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-04-19T22:37:04.171Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-19T22:37:04.193Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-19T22:37:04.216Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-19T22:37:04.241Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-19T22:37:04.267Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-04-19T22:37:04.290Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-04-19T22:37:04.315Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-04-19T22:37:04.339Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f22f876e599b70c9e0b9005e06686315ad76e5c7 [Pipeline] echo [2021-04-19T22:37:04.361Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f22f876 [Pipeline] echo [2021-04-19T22:37:04.385Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:37:04.489Z] provisioning config files... [2021-04-19T22:37:04.536Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7934268373269336178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:37:04.856Z] ---> docker-login.sh [2021-04-19T22:37:04.856Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:37:05.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:37:05.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:37:05.119Z] Configure a credential helper to remove this warning. See [2021-04-19T22:37:05.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:37:05.119Z] [2021-04-19T22:37:05.119Z] Login Succeeded [2021-04-19T22:37:05.119Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:37:05.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:37:05.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:37:05.381Z] Configure a credential helper to remove this warning. See [2021-04-19T22:37:05.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:37:05.381Z] [2021-04-19T22:37:05.381Z] Login Succeeded [2021-04-19T22:37:05.381Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:37:05.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:37:05.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:37:05.643Z] Configure a credential helper to remove this warning. See [2021-04-19T22:37:05.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:37:05.643Z] [2021-04-19T22:37:05.643Z] Login Succeeded [2021-04-19T22:37:05.643Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:37:05.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:37:05.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:37:05.643Z] Configure a credential helper to remove this warning. See [2021-04-19T22:37:05.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:37:05.643Z] [2021-04-19T22:37:05.643Z] Login Succeeded [2021-04-19T22:37:05.643Z] docker.io [2021-04-19T22:37:05.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:37:06.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:37:06.167Z] Configure a credential helper to remove this warning. See [2021-04-19T22:37:06.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:37:06.167Z] [2021-04-19T22:37:06.167Z] Login Succeeded [2021-04-19T22:37:06.167Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:37:06.177Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T22:37:06.610Z] + git log --format=format:%s -1 f22f876e599b70c9e0b9005e06686315ad76e5c7 [Pipeline] echo [2021-04-19T22:37:06.694Z] GIT_COMMIT: f22f876e599b70c9e0b9005e06686315ad76e5c7, Commit Message: Merge pull request #188 from soda480/US149 [Pipeline] echo [2021-04-19T22:37:06.708Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:37:07.260Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:37:07.260Z] [2021-04-19T22:37:07.260Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:37:07.577Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:37:07.577Z] latest: Pulling from edgex-devops/git-semver [2021-04-19T22:37:07.577Z] 31603596830f: Pulling fs layer [2021-04-19T22:37:07.577Z] 2a8b12db71e7: Pulling fs layer [2021-04-19T22:37:07.577Z] 6ca5941a6612: Pulling fs layer [2021-04-19T22:37:07.577Z] ecc8261a40a4: Pulling fs layer [2021-04-19T22:37:07.577Z] ecc8261a40a4: Waiting [2021-04-19T22:37:07.577Z] 2a8b12db71e7: Verifying Checksum [2021-04-19T22:37:07.577Z] 2a8b12db71e7: Download complete [2021-04-19T22:37:07.577Z] 31603596830f: Download complete [2021-04-19T22:37:07.839Z] ecc8261a40a4: Verifying Checksum [2021-04-19T22:37:07.839Z] ecc8261a40a4: Download complete [2021-04-19T22:37:07.839Z] 6ca5941a6612: Verifying Checksum [2021-04-19T22:37:07.839Z] 6ca5941a6612: Download complete [2021-04-19T22:37:08.101Z] 31603596830f: Pull complete [2021-04-19T22:37:08.101Z] 2a8b12db71e7: Pull complete [2021-04-19T22:37:09.052Z] 6ca5941a6612: Pull complete [2021-04-19T22:37:09.052Z] ecc8261a40a4: Pull complete [2021-04-19T22:37:09.052Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-19T22:37:09.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:37:09.052Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-19T22:37:09.150Z] prd-centos7-docker-4c-2g-1002 does not seem to be running inside a container [2021-04-19T22:37:09.199Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-19T22:37:11.106Z] $ docker top 26f51800b5a5fbb34c9004e959888735533b0aecc3bc86b7e7fc9a1cdc4b8608 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T22:37:11.333Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T22:37:11.333Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T22:37:11.561Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T22:37:11.566Z] $ docker exec 26f51800b5a5fbb34c9004e959888735533b0aecc3bc86b7e7fc9a1cdc4b8608 ssh-agent [2021-04-19T22:37:11.726Z] SSH_AUTH_SOCK=/tmp/ssh-0Ik35fWZ7JKq/agent.11 [2021-04-19T22:37:11.726Z] SSH_AGENT_PID=17 [2021-04-19T22:37:11.736Z] Running ssh-add (command line suppressed) [2021-04-19T22:37:11.852Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8021419845662352576.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8021419845662352576.key) [2021-04-19T22:37:11.902Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:37:12.205Z] + git tag --points-at HEAD [Pipeline] } [2021-04-19T22:37:12.226Z] $ docker exec --env ******** --env ******** 26f51800b5a5fbb34c9004e959888735533b0aecc3bc86b7e7fc9a1cdc4b8608 ssh-agent -k [2021-04-19T22:37:12.334Z] unset SSH_AUTH_SOCK; [2021-04-19T22:37:12.335Z] unset SSH_AGENT_PID; [2021-04-19T22:37:12.335Z] echo Agent pid 17 killed; [2021-04-19T22:37:12.372Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-19T22:37:12.413Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T22:37:12.413Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T22:37:12.567Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T22:37:12.572Z] $ docker exec 26f51800b5a5fbb34c9004e959888735533b0aecc3bc86b7e7fc9a1cdc4b8608 ssh-agent [2021-04-19T22:37:12.726Z] SSH_AUTH_SOCK=/tmp/ssh-13Kxs0Eg3uCM/agent.45 [2021-04-19T22:37:12.726Z] SSH_AGENT_PID=50 [2021-04-19T22:37:12.733Z] Running ssh-add (command line suppressed) [2021-04-19T22:37:12.848Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_7852376951994851400.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_7852376951994851400.key) [2021-04-19T22:37:12.894Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:37:13.198Z] + git semver init [2021-04-19T22:37:13.199Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T22:37:13.199Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-04-19T22:37:13.199Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-04-19T22:37:13.199Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T22:37:13.199Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T22:37:13.199Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T22:37:13.199Z] # $SEMVER_BRANCH = master [2021-04-19T22:37:13.199Z] # $SEMVER_TEMP = /tmp/semver-950648308 [2021-04-19T22:37:13.199Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-04-19T22:37:13.776Z] # '/tmp/semver-950648308' -> '/w/workspace/foundry_device-virtual-go_master/.semver' [2021-04-19T22:37:13.776Z] # -> Force: false [2021-04-19T22:37:13.776Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-04-19T22:37:13.792Z] $ docker exec --env ******** --env ******** 26f51800b5a5fbb34c9004e959888735533b0aecc3bc86b7e7fc9a1cdc4b8608 ssh-agent -k [2021-04-19T22:37:13.901Z] unset SSH_AUTH_SOCK; [2021-04-19T22:37:13.901Z] unset SSH_AGENT_PID; [2021-04-19T22:37:13.901Z] echo Agent pid 50 killed; [2021-04-19T22:37:13.947Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T22:37:14.297Z] + git semver [Pipeline] } [2021-04-19T22:37:14.319Z] $ docker stop --time=1 26f51800b5a5fbb34c9004e959888735533b0aecc3bc86b7e7fc9a1cdc4b8608 [2021-04-19T22:37:15.740Z] $ docker rm -f 26f51800b5a5fbb34c9004e959888735533b0aecc3bc86b7e7fc9a1cdc4b8608 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T22:37:16.143Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-19T22:37:16.463Z] Stashed 1 file(s) [Pipeline] echo [2021-04-19T22:37:16.466Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-04-19T22:37:31.634Z] Still waiting to schedule task [2021-04-19T22:37:31.634Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-19T22:37:31.636Z] Still waiting to schedule task [2021-04-19T22:37:31.636Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1001’ is offline [2021-04-19T22:39:29.106Z] Running on prd-centos7-docker-4c-2g-1008 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-04-19T22:39:29.123Z] Running in /w/workspace/device-virtual-go/49 [Pipeline] { [Pipeline] checkout [2021-04-19T22:39:31.862Z] using credential edgex-jenkins-ssh [2021-04-19T22:39:31.875Z] Cloning the remote Git repository [2021-04-19T22:39:31.689Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-04-19T22:39:31.763Z] > git init /w/workspace/device-virtual-go/49 # timeout=10 [2021-04-19T22:39:31.826Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-19T22:39:31.826Z] > git --version # timeout=10 [2021-04-19T22:39:31.834Z] > git --version # 'git version 2.24.3' [2021-04-19T22:39:31.834Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:39:31.866Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:39:33.084Z] Checking out Revision f22f876e599b70c9e0b9005e06686315ad76e5c7 (master) [2021-04-19T22:39:32.487Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-19T22:39:32.495Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:39:32.514Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-19T22:39:32.534Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-19T22:39:32.534Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:39:32.540Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T22:39:32.985Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T22:39:32.993Z] > git checkout -f f22f876e599b70c9e0b9005e06686315ad76e5c7 # timeout=10 [2021-04-19T22:39:36.794Z] Commit message: "Merge pull request #188 from soda480/US149" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T22:39:37.832Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:39:38.170Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:39:38.470Z] + sudo service docker restart [2021-04-19T22:39:38.470Z] + true [2021-04-19T22:39:38.470Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:39:39.446Z] provisioning config files... [2021-04-19T22:39:39.488Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/49@tmp/config6443280705880846253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:39:39.809Z] ---> docker-login.sh [2021-04-19T22:39:39.810Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:39:40.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:39:40.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:39:40.073Z] Configure a credential helper to remove this warning. See [2021-04-19T22:39:40.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:39:40.073Z] [2021-04-19T22:39:40.073Z] Login Succeeded [2021-04-19T22:39:40.073Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:39:40.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:39:40.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:39:40.336Z] Configure a credential helper to remove this warning. See [2021-04-19T22:39:40.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:39:40.336Z] [2021-04-19T22:39:40.336Z] Login Succeeded [2021-04-19T22:39:40.336Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:39:40.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:39:40.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:39:40.597Z] Configure a credential helper to remove this warning. See [2021-04-19T22:39:40.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:39:40.597Z] [2021-04-19T22:39:40.597Z] Login Succeeded [2021-04-19T22:39:40.597Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:39:40.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:39:40.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:39:40.860Z] Configure a credential helper to remove this warning. See [2021-04-19T22:39:40.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:39:40.860Z] [2021-04-19T22:39:40.860Z] Login Succeeded [2021-04-19T22:39:40.860Z] docker.io [2021-04-19T22:39:40.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:39:41.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:39:41.124Z] Configure a credential helper to remove this warning. See [2021-04-19T22:39:41.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:39:41.124Z] [2021-04-19T22:39:41.124Z] Login Succeeded [2021-04-19T22:39:41.124Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:39:41.133Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T22:39:41.302Z] ========================================================= [2021-04-19T22:39:41.303Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-19T22:39:41.303Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:39:41.607Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-19T22:39:41.607Z] Sending build context to Docker daemon 520.2kB [2021-04-19T22:39:41.607Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:39:41.607Z] Step 2/8 : FROM ${BASE} [2021-04-19T22:39:41.870Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-19T22:39:41.870Z] 188c0c94c7c5: Pulling fs layer [2021-04-19T22:39:41.870Z] 0ef7d3d256c8: Pulling fs layer [2021-04-19T22:39:41.870Z] de9db76c5a1d: Pulling fs layer [2021-04-19T22:39:41.870Z] bca2f99d35d6: Pulling fs layer [2021-04-19T22:39:41.870Z] 93359f2a8cfa: Pulling fs layer [2021-04-19T22:39:41.870Z] 7c6f9722023f: Pulling fs layer [2021-04-19T22:39:41.870Z] a35cf1a2eb13: Pulling fs layer [2021-04-19T22:39:41.870Z] bca2f99d35d6: Waiting [2021-04-19T22:39:41.870Z] 93359f2a8cfa: Waiting [2021-04-19T22:39:41.870Z] 7c6f9722023f: Waiting [2021-04-19T22:39:41.870Z] a35cf1a2eb13: Waiting [2021-04-19T22:39:41.870Z] de9db76c5a1d: Verifying Checksum [2021-04-19T22:39:41.870Z] de9db76c5a1d: Download complete [2021-04-19T22:39:41.870Z] 0ef7d3d256c8: Verifying Checksum [2021-04-19T22:39:41.870Z] 0ef7d3d256c8: Download complete [2021-04-19T22:39:41.870Z] 93359f2a8cfa: Verifying Checksum [2021-04-19T22:39:41.870Z] 93359f2a8cfa: Download complete [2021-04-19T22:39:41.870Z] 7c6f9722023f: Verifying Checksum [2021-04-19T22:39:41.870Z] 7c6f9722023f: Download complete [2021-04-19T22:39:41.870Z] 188c0c94c7c5: Verifying Checksum [2021-04-19T22:39:41.870Z] 188c0c94c7c5: Download complete [2021-04-19T22:39:42.138Z] 188c0c94c7c5: Pull complete [2021-04-19T22:39:42.401Z] 0ef7d3d256c8: Pull complete [2021-04-19T22:39:42.670Z] de9db76c5a1d: Pull complete [2021-04-19T22:39:43.258Z] a35cf1a2eb13: Verifying Checksum [2021-04-19T22:39:43.258Z] a35cf1a2eb13: Download complete [2021-04-19T22:39:44.209Z] bca2f99d35d6: Verifying Checksum [2021-04-19T22:39:44.209Z] bca2f99d35d6: Download complete [2021-04-19T22:39:49.543Z] bca2f99d35d6: Pull complete [2021-04-19T22:39:49.806Z] 93359f2a8cfa: Pull complete [2021-04-19T22:39:49.806Z] 7c6f9722023f: Pull complete [2021-04-19T22:39:59.844Z] a35cf1a2eb13: Pull complete [2021-04-19T22:39:59.844Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-19T22:39:59.844Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-19T22:39:59.844Z] ---> a62c8e92a672 [2021-04-19T22:39:59.844Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-04-19T22:40:00.113Z] ---> Running in 3bb3ace06eb5 [2021-04-19T22:40:00.688Z] Removing intermediate container 3bb3ace06eb5 [2021-04-19T22:40:00.689Z] ---> 1f8955f4262d [2021-04-19T22:40:00.689Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:40:00.689Z] ---> Running in 03ec0950b12e [2021-04-19T22:40:01.645Z] Removing intermediate container 03ec0950b12e [2021-04-19T22:40:01.645Z] ---> 6fe2207f67b6 [2021-04-19T22:40:01.645Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-04-19T22:40:01.916Z] ---> Running in 37d5935cbbb7 [2021-04-19T22:40:02.865Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T22:40:03.442Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T22:40:04.018Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-04-19T22:40:04.018Z] (2/13) Installing libsodium (1.0.18-r0) [2021-04-19T22:40:04.018Z] (3/13) Installing pkgconf (1.7.2-r0) [2021-04-19T22:40:04.018Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-04-19T22:40:04.280Z] (5/13) Installing openssh-keygen (8.3_p1-r2) [2021-04-19T22:40:04.280Z] (6/13) Installing libedit (20191231.3.1-r0) [2021-04-19T22:40:04.280Z] (7/13) Installing openssh-client (8.3_p1-r2) [2021-04-19T22:40:04.543Z] (8/13) Installing openssh-sftp-server (8.3_p1-r2) [2021-04-19T22:40:04.807Z] (9/13) Installing openssh-server-common (8.3_p1-r2) [2021-04-19T22:40:04.807Z] (10/13) Installing openssh-server (8.3_p1-r2) [2021-04-19T22:40:04.807Z] (11/13) Installing openssh (8.3_p1-r2) [2021-04-19T22:40:05.070Z] (12/13) Installing libzmq (4.3.3-r0) [2021-04-19T22:40:05.070Z] (13/13) Installing zeromq-dev (4.3.3-r0) [2021-04-19T22:40:05.337Z] Executing busybox-1.31.1-r19.trigger [2021-04-19T22:40:05.337Z] OK: 173 MiB in 52 packages [2021-04-19T22:40:06.287Z] Removing intermediate container 37d5935cbbb7 [2021-04-19T22:40:06.287Z] ---> e271de47ac41 [2021-04-19T22:40:06.287Z] Step 6/8 : WORKDIR /device-virtual-go [2021-04-19T22:40:06.287Z] ---> Running in e8ec06fadc37 [2021-04-19T22:40:06.287Z] Removing intermediate container e8ec06fadc37 [2021-04-19T22:40:06.287Z] ---> 6b66f7fd874a [2021-04-19T22:40:06.287Z] Step 7/8 : COPY . . [2021-04-19T22:40:06.295Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1007 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-04-19T22:40:06.320Z] Running in /w/workspace/device-virtual-go/49 [Pipeline] { [Pipeline] checkout [2021-04-19T22:40:07.242Z] ---> 33bd072cff16 [2021-04-19T22:40:07.242Z] Step 8/8 : RUN go mod download [2021-04-19T22:40:07.242Z] ---> Running in 7c6d49d6adb6 [2021-04-19T22:40:12.024Z] using credential edgex-jenkins-ssh [2021-04-19T22:40:12.110Z] Cloning the remote Git repository [2021-04-19T22:40:12.177Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-04-19T22:40:12.327Z] > git init /w/workspace/device-virtual-go/49 # timeout=10 [2021-04-19T22:40:12.416Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-19T22:40:12.417Z] > git --version # timeout=10 [2021-04-19T22:40:12.434Z] > git --version # 'git version 2.17.1' [2021-04-19T22:40:12.436Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:40:12.529Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:40:13.879Z] Checking out Revision f22f876e599b70c9e0b9005e06686315ad76e5c7 (master) [2021-04-19T22:40:13.313Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-19T22:40:13.337Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:40:13.361Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-04-19T22:40:13.395Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-04-19T22:40:13.396Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:40:13.407Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T22:40:13.900Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T22:40:13.918Z] > git checkout -f f22f876e599b70c9e0b9005e06686315ad76e5c7 # timeout=10 [2021-04-19T22:40:18.116Z] Commit message: "Merge pull request #188 from soda480/US149" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T22:40:19.513Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:40:19.915Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:40:20.258Z] + sudo service docker restart [2021-04-19T22:40:20.258Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:40:22.274Z] provisioning config files... [2021-04-19T22:40:22.323Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/49@tmp/config724917261704992299tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:40:22.690Z] ---> docker-login.sh [2021-04-19T22:40:22.691Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:40:23.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:40:23.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:40:23.946Z] Configure a credential helper to remove this warning. See [2021-04-19T22:40:23.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:40:23.946Z] [2021-04-19T22:40:23.946Z] Login Succeeded [2021-04-19T22:40:23.946Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:40:24.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:40:24.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:40:24.503Z] Configure a credential helper to remove this warning. See [2021-04-19T22:40:24.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:40:24.503Z] [2021-04-19T22:40:24.503Z] Login Succeeded [2021-04-19T22:40:24.503Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:40:24.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:40:25.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:40:25.049Z] Configure a credential helper to remove this warning. See [2021-04-19T22:40:25.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:40:25.049Z] [2021-04-19T22:40:25.049Z] Login Succeeded [2021-04-19T22:40:25.049Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:40:25.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:40:25.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:40:25.593Z] Configure a credential helper to remove this warning. See [2021-04-19T22:40:25.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:40:25.593Z] [2021-04-19T22:40:25.593Z] Login Succeeded [2021-04-19T22:40:25.593Z] docker.io [2021-04-19T22:40:25.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:40:26.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:40:26.454Z] Configure a credential helper to remove this warning. See [2021-04-19T22:40:26.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:40:26.454Z] [2021-04-19T22:40:26.454Z] Login Succeeded [2021-04-19T22:40:26.454Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:40:26.469Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T22:40:26.747Z] ========================================================= [2021-04-19T22:40:26.747Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-19T22:40:26.747Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:40:27.118Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-19T22:40:27.393Z] Sending build context to Docker daemon 519.2kB [2021-04-19T22:40:27.393Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:40:27.393Z] Step 2/8 : FROM ${BASE} [2021-04-19T22:40:27.666Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-19T22:40:27.666Z] 5f621e34cdf4: Pulling fs layer [2021-04-19T22:40:27.666Z] a4357932f1b6: Pulling fs layer [2021-04-19T22:40:27.666Z] 18c013af1878: Pulling fs layer [2021-04-19T22:40:27.666Z] 00ac8860ef70: Pulling fs layer [2021-04-19T22:40:27.666Z] 63d7cb157983: Pulling fs layer [2021-04-19T22:40:27.666Z] b116817d02f9: Pulling fs layer [2021-04-19T22:40:27.666Z] 745a02a5169b: Pulling fs layer [2021-04-19T22:40:27.666Z] 00ac8860ef70: Waiting [2021-04-19T22:40:27.666Z] b116817d02f9: Waiting [2021-04-19T22:40:27.666Z] 63d7cb157983: Waiting [2021-04-19T22:40:27.666Z] 745a02a5169b: Waiting [2021-04-19T22:40:27.666Z] 18c013af1878: Verifying Checksum [2021-04-19T22:40:27.666Z] 18c013af1878: Download complete [2021-04-19T22:40:27.666Z] a4357932f1b6: Verifying Checksum [2021-04-19T22:40:27.666Z] a4357932f1b6: Download complete [2021-04-19T22:40:27.666Z] 63d7cb157983: Verifying Checksum [2021-04-19T22:40:27.666Z] 63d7cb157983: Download complete [2021-04-19T22:40:27.666Z] b116817d02f9: Verifying Checksum [2021-04-19T22:40:27.666Z] b116817d02f9: Download complete [2021-04-19T22:40:27.666Z] 5f621e34cdf4: Verifying Checksum [2021-04-19T22:40:27.666Z] 5f621e34cdf4: Download complete [2021-04-19T22:40:28.265Z] 5f621e34cdf4: Pull complete [2021-04-19T22:40:28.866Z] a4357932f1b6: Pull complete [2021-04-19T22:40:29.141Z] 18c013af1878: Pull complete [2021-04-19T22:40:30.155Z] 745a02a5169b: Verifying Checksum [2021-04-19T22:40:30.155Z] 745a02a5169b: Download complete [2021-04-19T22:40:31.135Z] 00ac8860ef70: Verifying Checksum [2021-04-19T22:40:31.135Z] 00ac8860ef70: Download complete [2021-04-19T22:40:34.032Z] Removing intermediate container 7c6d49d6adb6 [2021-04-19T22:40:34.032Z] ---> d998c438abc4 [2021-04-19T22:40:34.032Z] Successfully built d998c438abc4 [2021-04-19T22:40:34.032Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:40:34.357Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T22:40:34.620Z] . [Pipeline] withDockerContainer [2021-04-19T22:40:34.745Z] prd-centos7-docker-4c-2g-1008 does not seem to be running inside a container [2021-04-19T22:40:34.799Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/49 -v /w/workspace/device-virtual-go/49:/w/workspace/device-virtual-go/49:rw,z -v /w/workspace/device-virtual-go/49@tmp:/w/workspace/device-virtual-go/49@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 ******** ci-base-image-x86_64 cat [2021-04-19T22:40:35.726Z] $ docker top 9eacb8e134424060de608374e0e180a42bed4fe16c79504e63b1ded8beca3358 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:40:36.218Z] + go version [2021-04-19T22:40:36.218Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-19T22:40:36.235Z] $ docker stop --time=1 9eacb8e134424060de608374e0e180a42bed4fe16c79504e63b1ded8beca3358 [2021-04-19T22:40:37.591Z] $ docker rm -f 9eacb8e134424060de608374e0e180a42bed4fe16c79504e63b1ded8beca3358 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:40:38.120Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T22:40:38.120Z] . [Pipeline] withDockerContainer [2021-04-19T22:40:38.222Z] prd-centos7-docker-4c-2g-1008 does not seem to be running inside a container [2021-04-19T22:40:38.274Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/49 -v /w/workspace/device-virtual-go/49:/w/workspace/device-virtual-go/49:rw,z -v /w/workspace/device-virtual-go/49@tmp:/w/workspace/device-virtual-go/49@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 ******** ci-base-image-x86_64 cat [2021-04-19T22:40:38.902Z] $ docker top 18559e064c321af0c1cefe9eb73725233cd6d50b1839e09e38e737ba063bfc8f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:40:39.334Z] + make test [2021-04-19T22:40:39.334Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-04-19T22:40:40.763Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-04-19T22:40:41.303Z] 00ac8860ef70: Pull complete [2021-04-19T22:40:41.303Z] 63d7cb157983: Pull complete [2021-04-19T22:40:41.577Z] b116817d02f9: Pull complete [2021-04-19T22:40:45.885Z] 745a02a5169b: Pull complete [2021-04-19T22:40:45.885Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-19T22:40:45.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-19T22:40:45.885Z] ---> b7e6874047d6 [2021-04-19T22:40:45.885Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-04-19T22:40:48.505Z] ---> Running in 4ff11c9f01a4 [2021-04-19T22:40:48.505Z] Removing intermediate container 4ff11c9f01a4 [2021-04-19T22:40:48.505Z] ---> f7ab30e29bc4 [2021-04-19T22:40:48.505Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:40:48.505Z] ---> Running in a79ca4b90366 [2021-04-19T22:40:51.129Z] Removing intermediate container a79ca4b90366 [2021-04-19T22:40:51.129Z] ---> 2191ac5b51ef [2021-04-19T22:40:51.129Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-04-19T22:40:51.129Z] ---> Running in 5dce6b6dad5c [2021-04-19T22:40:52.116Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T22:40:52.724Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T22:40:53.324Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-04-19T22:40:53.324Z] (2/13) Installing libsodium (1.0.18-r0) [2021-04-19T22:40:53.597Z] (3/13) Installing pkgconf (1.7.2-r0) [2021-04-19T22:40:53.597Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-04-19T22:40:53.597Z] (5/13) Installing openssh-keygen (8.3_p1-r2) [2021-04-19T22:40:53.872Z] (6/13) Installing libedit (20191231.3.1-r0) [2021-04-19T22:40:53.872Z] (7/13) Installing openssh-client (8.3_p1-r2) [2021-04-19T22:40:54.147Z] (8/13) Installing openssh-sftp-server (8.3_p1-r2) [2021-04-19T22:40:54.418Z] (9/13) Installing openssh-server-common (8.3_p1-r2) [2021-04-19T22:40:54.418Z] (10/13) Installing openssh-server (8.3_p1-r2) [2021-04-19T22:40:54.418Z] (11/13) Installing openssh (8.3_p1-r2) [2021-04-19T22:40:54.709Z] (12/13) Installing libzmq (4.3.3-r0) [2021-04-19T22:40:54.709Z] (13/13) Installing zeromq-dev (4.3.3-r0) [2021-04-19T22:40:54.709Z] Executing busybox-1.31.1-r19.trigger [2021-04-19T22:40:54.709Z] OK: 149 MiB in 52 packages [2021-04-19T22:40:56.698Z] Removing intermediate container 5dce6b6dad5c [2021-04-19T22:40:56.698Z] ---> f8391f47c7bc [2021-04-19T22:40:56.698Z] Step 6/8 : WORKDIR /device-virtual-go [2021-04-19T22:40:56.698Z] ---> Running in 5308e64f8ed9 [2021-04-19T22:40:56.969Z] Removing intermediate container 5308e64f8ed9 [2021-04-19T22:40:56.969Z] ---> bdef8aff0284 [2021-04-19T22:40:56.969Z] Step 7/8 : COPY . . [2021-04-19T22:40:57.951Z] ---> 74d0c40e5ec1 [2021-04-19T22:40:57.951Z] Step 8/8 : RUN go mod download [2021-04-19T22:40:57.951Z] ---> Running in e61929f8ae42 [2021-04-19T22:40:59.194Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-04-19T22:41:00.227Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.328s coverage: 63.8% of statements [2021-04-19T22:41:00.494Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-19T22:41:04.763Z] gofmt -l . [2021-04-19T22:41:04.763Z] [ "`gofmt -l .`" = "" ] [2021-04-19T22:41:04.763Z] ./bin/test-attribution-txt.sh [2021-04-19T22:41:05.343Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-19T22:41:05.639Z] $ docker stop --time=1 18559e064c321af0c1cefe9eb73725233cd6d50b1839e09e38e737ba063bfc8f [2021-04-19T22:41:07.436Z] $ docker rm -f 18559e064c321af0c1cefe9eb73725233cd6d50b1839e09e38e737ba063bfc8f [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T22:41:07.975Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T22:41:08.343Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-19T22:41:09.271Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T22:41:09.572Z] + ls -al . [2021-04-19T22:41:09.572Z] total 132 [2021-04-19T22:41:09.572Z] drwxrwxr-x. 7 jenkins jenkins 4096 Apr 19 22:41 . [2021-04-19T22:41:09.572Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 19 22:39 .. [2021-04-19T22:41:09.572Z] -rw-rw-r--. 1 jenkins jenkins 8039 Apr 19 22:39 Attribution.txt [2021-04-19T22:41:09.572Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 19 22:39 bin [2021-04-19T22:41:09.572Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 19 22:39 cmd [2021-04-19T22:41:09.572Z] -rw-r--r--. 1 jenkins jenkins 47247 Apr 19 22:41 coverage.out [2021-04-19T22:41:09.572Z] -rw-rw-r--. 1 jenkins jenkins 1905 Apr 19 22:39 Dockerfile [2021-04-19T22:41:09.572Z] -rw-rw-r--. 1 jenkins jenkins 998 Apr 19 22:39 Dockerfile.build [2021-04-19T22:41:09.572Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 19 22:39 .git [2021-04-19T22:41:09.572Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 19 22:39 .github [2021-04-19T22:41:09.572Z] -rw-rw-r--. 1 jenkins jenkins 277 Apr 19 22:39 .gitignore [2021-04-19T22:41:09.572Z] -rw-r--r--. 1 jenkins jenkins 809 Apr 19 22:41 go.mod [2021-04-19T22:41:09.572Z] -rw-r--r--. 1 jenkins jenkins 23363 Apr 19 22:41 go.sum [2021-04-19T22:41:09.572Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 19 22:39 internal [2021-04-19T22:41:09.572Z] -rw-rw-r--. 1 jenkins jenkins 660 Apr 19 22:39 Jenkinsfile [2021-04-19T22:41:09.572Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 19 22:39 LICENSE [2021-04-19T22:41:09.572Z] -rw-rw-r--. 1 jenkins jenkins 921 Apr 19 22:39 Makefile [2021-04-19T22:41:09.572Z] -rw-rw-r--. 1 jenkins jenkins 2745 Apr 19 22:39 README.md [2021-04-19T22:41:09.572Z] -rw-rw-r--. 1 jenkins jenkins 12 Apr 19 22:37 VERSION [2021-04-19T22:41:09.572Z] -rw-rw-r--. 1 jenkins jenkins 235 Apr 19 22:39 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:09.880Z] + docker build -t docker-device-virtual-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=f22f876e599b70c9e0b9005e06686315ad76e5c7 --label arch=amd64 --label version=1.3.2-dev.10 . [2021-04-19T22:41:09.880Z] Sending build context to Docker daemon 592.4kB [2021-04-19T22:41:10.143Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:41:10.143Z] Step 2/25 : FROM ${BASE} AS builder [2021-04-19T22:41:10.143Z] ---> d998c438abc4 [2021-04-19T22:41:10.143Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-19T22:41:10.411Z] ---> Running in b313d6debd3a [2021-04-19T22:41:10.411Z] Removing intermediate container b313d6debd3a [2021-04-19T22:41:10.411Z] ---> e59510394fcc [2021-04-19T22:41:10.411Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-04-19T22:41:10.677Z] ---> Running in c9e1166dafaa [2021-04-19T22:41:10.677Z] Removing intermediate container c9e1166dafaa [2021-04-19T22:41:10.677Z] ---> 3b87c2dfe773 [2021-04-19T22:41:10.677Z] Step 5/25 : WORKDIR /device-virtual-go [2021-04-19T22:41:10.943Z] ---> Running in c52674d492ae [2021-04-19T22:41:10.944Z] Removing intermediate container c52674d492ae [2021-04-19T22:41:10.944Z] ---> 0fbdcda003f3 [2021-04-19T22:41:10.944Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:41:11.209Z] ---> Running in b4e445d47a64 [2021-04-19T22:41:12.162Z] Removing intermediate container b4e445d47a64 [2021-04-19T22:41:12.162Z] ---> 63ac69a4fa9b [2021-04-19T22:41:12.162Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-19T22:41:12.162Z] ---> Running in 049095c49a39 [2021-04-19T22:41:12.738Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T22:41:13.315Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T22:41:13.891Z] OK: 173 MiB in 52 packages [2021-04-19T22:41:14.155Z] Removing intermediate container 049095c49a39 [2021-04-19T22:41:14.155Z] ---> 72cf7f97052d [2021-04-19T22:41:14.155Z] Step 8/25 : COPY . . [2021-04-19T22:41:15.109Z] ---> 1c38aef7bff8 [2021-04-19T22:41:15.109Z] Step 9/25 : RUN go mod download [2021-04-19T22:41:15.109Z] ---> Running in 0a5925d10719 [2021-04-19T22:41:16.529Z] Removing intermediate container 0a5925d10719 [2021-04-19T22:41:16.529Z] ---> 48548b0969b3 [2021-04-19T22:41:16.529Z] Step 10/25 : ARG MAKE='make build' [2021-04-19T22:41:16.529Z] ---> Running in 37bad9f2231b [2021-04-19T22:41:16.529Z] Removing intermediate container 37bad9f2231b [2021-04-19T22:41:16.529Z] ---> d2756b764063 [2021-04-19T22:41:16.529Z] Step 11/25 : RUN $MAKE [2021-04-19T22:41:16.529Z] ---> Running in 104c5417fa0b [2021-04-19T22:41:17.111Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.10" -o cmd/device-virtual ./cmd [2021-04-19T22:41:24.973Z] Removing intermediate container e61929f8ae42 [2021-04-19T22:41:24.974Z] ---> 5704b45b3cec [2021-04-19T22:41:24.974Z] Successfully built 5704b45b3cec [2021-04-19T22:41:24.974Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:25.317Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T22:41:25.317Z] . [Pipeline] withDockerContainer [2021-04-19T22:41:25.596Z] prd-ubuntu18.04-docker-arm64-4c-16g-1007 does not seem to be running inside a container [2021-04-19T22:41:25.679Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/49 -v /w/workspace/device-virtual-go/49:/w/workspace/device-virtual-go/49:rw,z -v /w/workspace/device-virtual-go/49@tmp:/w/workspace/device-virtual-go/49@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 ******** ci-base-image-arm64 cat [2021-04-19T22:41:27.194Z] $ docker top 368c1e28e6b015b59da232e76f878e7428e0e648b68e599cb8b2c56f84cac36a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:41:28.152Z] + go version [2021-04-19T22:41:28.153Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-19T22:41:28.179Z] $ docker stop --time=1 368c1e28e6b015b59da232e76f878e7428e0e648b68e599cb8b2c56f84cac36a [2021-04-19T22:41:30.119Z] $ docker rm -f 368c1e28e6b015b59da232e76f878e7428e0e648b68e599cb8b2c56f84cac36a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:30.790Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T22:41:30.790Z] . [Pipeline] withDockerContainer [2021-04-19T22:41:31.052Z] prd-ubuntu18.04-docker-arm64-4c-16g-1007 does not seem to be running inside a container [2021-04-19T22:41:31.132Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/49 -v /w/workspace/device-virtual-go/49:/w/workspace/device-virtual-go/49:rw,z -v /w/workspace/device-virtual-go/49@tmp:/w/workspace/device-virtual-go/49@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 ******** ci-base-image-arm64 cat [2021-04-19T22:41:32.654Z] $ docker top 2b1d30666e48eafa966dadc2b548c9c270713e3e96fc9d9f4f69341af210bd9a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:41:33.618Z] + make test [2021-04-19T22:41:33.618Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-04-19T22:41:35.074Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-04-19T22:41:35.404Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-04-19T22:41:39.666Z] Removing intermediate container 104c5417fa0b [2021-04-19T22:41:39.666Z] ---> 7ff640b45357 [2021-04-19T22:41:39.666Z] Step 12/25 : FROM alpine:3.12 [2021-04-19T22:41:40.242Z] 3.12: Pulling from library/alpine [2021-04-19T22:41:40.242Z] 339de151aab4: Pulling fs layer [2021-04-19T22:41:40.506Z] 339de151aab4: Download complete [2021-04-19T22:41:40.771Z] 339de151aab4: Pull complete [2021-04-19T22:41:40.771Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T22:41:40.771Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T22:41:40.771Z] ---> 13621d1b12d4 [2021-04-19T22:41:40.771Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-04-19T22:41:40.771Z] ---> Running in b9c84dc7617e [2021-04-19T22:41:41.035Z] Removing intermediate container b9c84dc7617e [2021-04-19T22:41:41.035Z] ---> aebf24d054b7 [2021-04-19T22:41:41.035Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:41:41.035Z] ---> Running in 9b1b990e8bbb [2021-04-19T22:41:42.004Z] Removing intermediate container 9b1b990e8bbb [2021-04-19T22:41:42.004Z] ---> 084b52b95c26 [2021-04-19T22:41:42.004Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-19T22:41:42.279Z] ---> Running in 9c14616acaa8 [2021-04-19T22:41:42.855Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T22:41:43.430Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T22:41:43.696Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-19T22:41:43.958Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-19T22:41:43.958Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-19T22:41:43.958Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-19T22:41:44.906Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-19T22:41:44.906Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-19T22:41:45.169Z] Executing busybox-1.31.1-r20.trigger [2021-04-19T22:41:45.169Z] OK: 8 MiB in 20 packages [2021-04-19T22:41:45.743Z] Removing intermediate container 9c14616acaa8 [2021-04-19T22:41:45.743Z] ---> e7a60f88f30b [2021-04-19T22:41:45.743Z] Step 16/25 : WORKDIR / [2021-04-19T22:41:45.743Z] ---> Running in 1722d6dcd7e5 [2021-04-19T22:41:45.743Z] Removing intermediate container 1722d6dcd7e5 [2021-04-19T22:41:45.743Z] ---> 724b0fb0813c [2021-04-19T22:41:45.743Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-04-19T22:41:46.007Z] ---> 42f4ea6aaebe [2021-04-19T22:41:46.007Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-04-19T22:41:46.269Z] ---> 4b191c1f1388 [2021-04-19T22:41:46.269Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-04-19T22:41:47.224Z] ---> 837ff101fb12 [2021-04-19T22:41:47.224Z] Step 20/25 : EXPOSE 49990 [2021-04-19T22:41:47.224Z] ---> Running in cad15ee477a6 [2021-04-19T22:41:47.224Z] Removing intermediate container cad15ee477a6 [2021-04-19T22:41:47.224Z] ---> 2f783fc38630 [2021-04-19T22:41:47.224Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-04-19T22:41:47.486Z] ---> Running in 03d9bac5c5f7 [2021-04-19T22:41:47.486Z] Removing intermediate container 03d9bac5c5f7 [2021-04-19T22:41:47.486Z] ---> 07058396b56f [2021-04-19T22:41:47.486Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-19T22:41:47.750Z] ---> Running in 6a7db7530c6a [2021-04-19T22:41:47.750Z] Removing intermediate container 6a7db7530c6a [2021-04-19T22:41:47.750Z] ---> 29f376e5d5ad [2021-04-19T22:41:47.750Z] Step 23/25 : LABEL arch=amd64 [2021-04-19T22:41:47.750Z] ---> Running in cfa61e115eed [2021-04-19T22:41:48.014Z] Removing intermediate container cfa61e115eed [2021-04-19T22:41:48.014Z] ---> 2eb7b73b60d0 [2021-04-19T22:41:48.014Z] Step 24/25 : LABEL git_sha=f22f876e599b70c9e0b9005e06686315ad76e5c7 [2021-04-19T22:41:48.014Z] ---> Running in 00864b51dc28 [2021-04-19T22:41:48.280Z] Removing intermediate container 00864b51dc28 [2021-04-19T22:41:48.280Z] ---> 389e6397a094 [2021-04-19T22:41:48.280Z] Step 25/25 : LABEL version=1.3.2-dev.10 [2021-04-19T22:41:48.280Z] ---> Running in 51908d0a1c40 [2021-04-19T22:41:48.543Z] Removing intermediate container 51908d0a1c40 [2021-04-19T22:41:48.543Z] ---> bb47ab55b4fa [2021-04-19T22:41:48.543Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-19T22:41:48.543Z] Successfully built bb47ab55b4fa [2021-04-19T22:41:48.543Z] Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:41:48.671Z] provisioning config files... [2021-04-19T22:41:48.711Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/49@tmp/config4785308029751978521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:41:49.044Z] ---> docker-login.sh [2021-04-19T22:41:49.044Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:41:49.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:41:49.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:41:49.312Z] Configure a credential helper to remove this warning. See [2021-04-19T22:41:49.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:41:49.312Z] [2021-04-19T22:41:49.312Z] Login Succeeded [2021-04-19T22:41:49.312Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:41:49.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:41:49.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:41:49.576Z] Configure a credential helper to remove this warning. See [2021-04-19T22:41:49.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:41:49.576Z] [2021-04-19T22:41:49.576Z] Login Succeeded [2021-04-19T22:41:49.576Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:41:49.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:41:49.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:41:49.576Z] Configure a credential helper to remove this warning. See [2021-04-19T22:41:49.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:41:49.576Z] [2021-04-19T22:41:49.576Z] Login Succeeded [2021-04-19T22:41:49.576Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:41:49.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:41:49.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:41:49.840Z] Configure a credential helper to remove this warning. See [2021-04-19T22:41:49.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:41:49.840Z] [2021-04-19T22:41:49.840Z] Login Succeeded [2021-04-19T22:41:49.840Z] docker.io [2021-04-19T22:41:50.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:41:50.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:41:50.369Z] Configure a credential helper to remove this warning. See [2021-04-19T22:41:50.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:41:50.369Z] [2021-04-19T22:41:50.369Z] Login Succeeded [2021-04-19T22:41:50.369Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:41:50.379Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-19T22:41:50.443Z] [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: [2021-04-19T22:41:50.443Z] f22f876e599b70c9e0b9005e06686315ad76e5c7 [2021-04-19T22:41:50.443Z] latest [2021-04-19T22:41:50.443Z] 1.3.2-dev.10 [2021-04-19T22:41:50.443Z] f22f876e599b70c9e0b9005e06686315ad76e5c7-1.3.2-dev.10 [2021-04-19T22:41:50.443Z] master [2021-04-19T22:41:50.443Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:50.794Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:f22f876e599b70c9e0b9005e06686315ad76e5c7 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:51.101Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:f22f876e599b70c9e0b9005e06686315ad76e5c7 [2021-04-19T22:41:51.101Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-04-19T22:41:51.101Z] b17864174108: Preparing [2021-04-19T22:41:51.101Z] 21edf4aaf5e7: Preparing [2021-04-19T22:41:51.101Z] 07a6d5a24016: Preparing [2021-04-19T22:41:51.101Z] fe07f8ac6c75: Preparing [2021-04-19T22:41:51.101Z] 756393e4edce: Preparing [2021-04-19T22:41:51.101Z] 32f366d666a5: Preparing [2021-04-19T22:41:51.101Z] 32f366d666a5: Waiting [2021-04-19T22:41:51.367Z] 21edf4aaf5e7: Pushed [2021-04-19T22:41:51.367Z] 756393e4edce: Pushed [2021-04-19T22:41:51.367Z] 07a6d5a24016: Pushed [2021-04-19T22:41:51.367Z] 32f366d666a5: Layer already exists [2021-04-19T22:41:51.367Z] fe07f8ac6c75: Pushed [2021-04-19T22:41:52.760Z] b17864174108: Pushed [2021-04-19T22:41:53.026Z] f22f876e599b70c9e0b9005e06686315ad76e5c7: digest: sha256:4161932b77a1dc04fc869ee580f8658c292160c6f042ba688c8a1683d7008e9c size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:53.335Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:53.638Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [2021-04-19T22:41:53.638Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-04-19T22:41:53.638Z] b17864174108: Preparing [2021-04-19T22:41:53.638Z] 21edf4aaf5e7: Preparing [2021-04-19T22:41:53.638Z] 07a6d5a24016: Preparing [2021-04-19T22:41:53.638Z] fe07f8ac6c75: Preparing [2021-04-19T22:41:53.638Z] 756393e4edce: Preparing [2021-04-19T22:41:53.638Z] 32f366d666a5: Preparing [2021-04-19T22:41:53.638Z] 32f366d666a5: Waiting [2021-04-19T22:41:53.638Z] fe07f8ac6c75: Layer already exists [2021-04-19T22:41:53.638Z] 07a6d5a24016: Layer already exists [2021-04-19T22:41:53.638Z] b17864174108: Layer already exists [2021-04-19T22:41:53.638Z] 756393e4edce: Layer already exists [2021-04-19T22:41:53.638Z] 21edf4aaf5e7: Layer already exists [2021-04-19T22:41:53.638Z] 32f366d666a5: Layer already exists [2021-04-19T22:41:53.638Z] latest: digest: sha256:4161932b77a1dc04fc869ee580f8658c292160c6f042ba688c8a1683d7008e9c size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:53.945Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:54.249Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.10 [2021-04-19T22:41:54.249Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-04-19T22:41:54.249Z] b17864174108: Preparing [2021-04-19T22:41:54.249Z] 21edf4aaf5e7: Preparing [2021-04-19T22:41:54.249Z] 07a6d5a24016: Preparing [2021-04-19T22:41:54.249Z] fe07f8ac6c75: Preparing [2021-04-19T22:41:54.249Z] 756393e4edce: Preparing [2021-04-19T22:41:54.249Z] 32f366d666a5: Preparing [2021-04-19T22:41:54.249Z] 32f366d666a5: Waiting [2021-04-19T22:41:54.249Z] b17864174108: Layer already exists [2021-04-19T22:41:54.249Z] 07a6d5a24016: Layer already exists [2021-04-19T22:41:54.249Z] 756393e4edce: Layer already exists [2021-04-19T22:41:54.249Z] 21edf4aaf5e7: Layer already exists [2021-04-19T22:41:54.249Z] fe07f8ac6c75: Layer already exists [2021-04-19T22:41:54.249Z] 32f366d666a5: Layer already exists [2021-04-19T22:41:54.249Z] 1.3.2-dev.10: digest: sha256:4161932b77a1dc04fc869ee580f8658c292160c6f042ba688c8a1683d7008e9c size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:54.560Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:f22f876e599b70c9e0b9005e06686315ad76e5c7-1.3.2-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:54.869Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:f22f876e599b70c9e0b9005e06686315ad76e5c7-1.3.2-dev.10 [2021-04-19T22:41:54.869Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-04-19T22:41:54.869Z] b17864174108: Preparing [2021-04-19T22:41:54.869Z] 21edf4aaf5e7: Preparing [2021-04-19T22:41:54.869Z] 07a6d5a24016: Preparing [2021-04-19T22:41:54.869Z] fe07f8ac6c75: Preparing [2021-04-19T22:41:54.869Z] 756393e4edce: Preparing [2021-04-19T22:41:54.869Z] 32f366d666a5: Preparing [2021-04-19T22:41:54.869Z] 32f366d666a5: Waiting [2021-04-19T22:41:54.869Z] fe07f8ac6c75: Layer already exists [2021-04-19T22:41:54.869Z] b17864174108: Layer already exists [2021-04-19T22:41:54.869Z] 756393e4edce: Layer already exists [2021-04-19T22:41:54.869Z] 21edf4aaf5e7: Layer already exists [2021-04-19T22:41:54.869Z] 07a6d5a24016: Layer already exists [2021-04-19T22:41:54.869Z] 32f366d666a5: Layer already exists [2021-04-19T22:41:54.869Z] f22f876e599b70c9e0b9005e06686315ad76e5c7-1.3.2-dev.10: digest: sha256:4161932b77a1dc04fc869ee580f8658c292160c6f042ba688c8a1683d7008e9c size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:55.181Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:55.483Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [2021-04-19T22:41:55.483Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-04-19T22:41:55.483Z] b17864174108: Preparing [2021-04-19T22:41:55.483Z] 21edf4aaf5e7: Preparing [2021-04-19T22:41:55.483Z] 07a6d5a24016: Preparing [2021-04-19T22:41:55.483Z] fe07f8ac6c75: Preparing [2021-04-19T22:41:55.483Z] 756393e4edce: Preparing [2021-04-19T22:41:55.483Z] 32f366d666a5: Preparing [2021-04-19T22:41:55.483Z] 32f366d666a5: Waiting [2021-04-19T22:41:55.483Z] b17864174108: Layer already exists [2021-04-19T22:41:55.483Z] 21edf4aaf5e7: Layer already exists [2021-04-19T22:41:55.483Z] fe07f8ac6c75: Layer already exists [2021-04-19T22:41:55.484Z] 07a6d5a24016: Layer already exists [2021-04-19T22:41:55.484Z] 756393e4edce: Layer already exists [2021-04-19T22:41:55.484Z] 32f366d666a5: Layer already exists [2021-04-19T22:41:55.484Z] master: digest: sha256:4161932b77a1dc04fc869ee580f8658c292160c6f042ba688c8a1683d7008e9c size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-19T22:41:55.543Z] ===================================================== [Pipeline] echo [2021-04-19T22:41:55.558Z] taggedImages: [2021-04-19T22:41:55.558Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:f22f876e599b70c9e0b9005e06686315ad76e5c7 [2021-04-19T22:41:55.558Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [2021-04-19T22:41:55.558Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.10 [2021-04-19T22:41:55.558Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:f22f876e599b70c9e0b9005e06686315ad76e5c7-1.3.2-dev.10 [2021-04-19T22:41:55.558Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:41:56.008Z] ---> job-cost.sh [2021-04-19T22:41:56.008Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-pL6y [2021-04-19T22:42:10.950Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T22:42:31.721Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-04-19T22:42:31.721Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.516s coverage: 63.8% of statements [2021-04-19T22:42:31.721Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-19T22:42:41.934Z] gofmt -l . [2021-04-19T22:42:41.934Z] [ "`gofmt -l .`" = "" ] [2021-04-19T22:42:41.934Z] ./bin/test-attribution-txt.sh [2021-04-19T22:42:42.532Z] ./bin/test-go-mod-tidy.sh [2021-04-19T22:42:43.126Z] lf-activate-venv(): INFO: Adding /tmp/venv-pL6y/bin to PATH [2021-04-19T22:42:43.126Z] INFO: No Stack... [2021-04-19T22:42:43.126Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T22:42:43.126Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] } [2021-04-19T22:42:43.196Z] $ docker stop --time=1 2b1d30666e48eafa966dadc2b548c9c270713e3e96fc9d9f4f69341af210bd9a [2021-04-19T22:42:43.437Z] + cat /w/workspace/device-virtual-go/49/archives/cost.csv [2021-04-19T22:42:43.438Z] + cut -d, -f6 [2021-04-19T22:42:45.497Z] $ docker rm -f 2b1d30666e48eafa966dadc2b548c9c270713e3e96fc9d9f4f69341af210bd9a [Pipeline] // withDockerContainer [Pipeline] lock [2021-04-19T22:42:46.119Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-49-stack-cost] [2021-04-19T22:42:46.134Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-49-stack-cost] did not exist. Created. [2021-04-19T22:42:46.134Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-49-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh [2021-04-19T22:42:46.472Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T22:42:46.494Z] Warning: overwriting stash ‘coverage-report’ [2021-04-19T22:42:46.614Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-19T22:42:46.784Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T22:42:46.798Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-49-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-19T22:42:47.657Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T22:42:48.162Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T22:42:48.536Z] + ls -al . [2021-04-19T22:42:48.536Z] total 156 [2021-04-19T22:42:48.536Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 19 22:42 . [2021-04-19T22:42:48.536Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 22:40 .. [2021-04-19T22:42:48.536Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 22:40 .git [2021-04-19T22:42:48.536Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 22:40 .github [2021-04-19T22:42:48.536Z] -rw-rw-r-- 1 jenkins jenkins 277 Apr 19 22:40 .gitignore [2021-04-19T22:42:48.536Z] -rw-rw-r-- 1 jenkins jenkins 8039 Apr 19 22:40 Attribution.txt [2021-04-19T22:42:48.536Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 19 22:40 Dockerfile [2021-04-19T22:42:48.536Z] -rw-rw-r-- 1 jenkins jenkins 998 Apr 19 22:40 Dockerfile.build [2021-04-19T22:42:48.536Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 19 22:40 Jenkinsfile [2021-04-19T22:42:48.536Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 22:40 LICENSE [2021-04-19T22:42:48.536Z] -rw-rw-r-- 1 jenkins jenkins 921 Apr 19 22:40 Makefile [2021-04-19T22:42:48.536Z] -rw-rw-r-- 1 jenkins jenkins 2745 Apr 19 22:40 README.md [2021-04-19T22:42:48.536Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 19 22:37 VERSION [2021-04-19T22:42:48.536Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 22:40 bin [2021-04-19T22:42:48.536Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 22:40 cmd [2021-04-19T22:42:48.536Z] -rw-r--r-- 1 jenkins jenkins 47247 Apr 19 22:42 coverage.out [2021-04-19T22:42:48.536Z] -rw-r--r-- 1 jenkins jenkins 809 Apr 19 22:42 go.mod [2021-04-19T22:42:48.536Z] -rw-r--r-- 1 jenkins jenkins 23363 Apr 19 22:42 go.sum [2021-04-19T22:42:48.536Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 22:40 internal [2021-04-19T22:42:48.536Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 19 22:40 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:42:49.019Z] + docker build -t docker-device-virtual-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f22f876e599b70c9e0b9005e06686315ad76e5c7 --label arch=arm64 --label version=1.3.2-dev.10 . [2021-04-19T22:42:49.295Z] Sending build context to Docker daemon 591.4kB [2021-04-19T22:42:49.592Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:42:49.592Z] Step 2/25 : FROM ${BASE} AS builder [2021-04-19T22:42:49.592Z] ---> 5704b45b3cec [2021-04-19T22:42:49.592Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-19T22:42:49.592Z] ---> Running in 1d8b060a3c0f [2021-04-19T22:42:50.185Z] Removing intermediate container 1d8b060a3c0f [2021-04-19T22:42:50.185Z] ---> b7eb788751e4 [2021-04-19T22:42:50.185Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-04-19T22:42:50.185Z] ---> Running in 8804cf4024cf [2021-04-19T22:42:50.787Z] Removing intermediate container 8804cf4024cf [2021-04-19T22:42:50.787Z] ---> 82daf48d9448 [2021-04-19T22:42:50.787Z] Step 5/25 : WORKDIR /device-virtual-go [2021-04-19T22:42:50.787Z] ---> Running in f7b6624eae12 [2021-04-19T22:42:51.387Z] Removing intermediate container f7b6624eae12 [2021-04-19T22:42:51.387Z] ---> e3b669844c09 [2021-04-19T22:42:51.387Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:42:51.387Z] ---> Running in d554054e0613 [2021-04-19T22:42:53.363Z] Removing intermediate container d554054e0613 [2021-04-19T22:42:53.363Z] ---> 5ec9e084463e [2021-04-19T22:42:53.363Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-19T22:42:53.637Z] ---> Running in feb9421ac9e5 [2021-04-19T22:42:54.615Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T22:42:55.597Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T22:42:56.577Z] OK: 149 MiB in 52 packages [2021-04-19T22:42:57.555Z] Removing intermediate container feb9421ac9e5 [2021-04-19T22:42:57.556Z] ---> d801ceaa5ba4 [2021-04-19T22:42:57.556Z] Step 8/25 : COPY . . [2021-04-19T22:42:58.536Z] ---> e8ca2fde11eb [2021-04-19T22:42:58.536Z] Step 9/25 : RUN go mod download [2021-04-19T22:42:58.536Z] ---> Running in 67f4038d4653 [2021-04-19T22:43:01.162Z] Removing intermediate container 67f4038d4653 [2021-04-19T22:43:01.162Z] ---> ff64add1611c [2021-04-19T22:43:01.162Z] Step 10/25 : ARG MAKE='make build' [2021-04-19T22:43:01.162Z] ---> Running in 37aaecac883f [2021-04-19T22:43:01.448Z] Removing intermediate container 37aaecac883f [2021-04-19T22:43:01.448Z] ---> 5e41b55aced7 [2021-04-19T22:43:01.448Z] Step 11/25 : RUN $MAKE [2021-04-19T22:43:01.448Z] ---> Running in 90014d62b626 [2021-04-19T22:43:02.887Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.10" -o cmd/device-virtual ./cmd [2021-04-19T22:43:59.537Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-04-19T22:44:06.229Z] Removing intermediate container 90014d62b626 [2021-04-19T22:44:06.229Z] ---> 6f75702cbdbb [2021-04-19T22:44:06.229Z] Step 12/25 : FROM alpine:3.12 [2021-04-19T22:44:06.229Z] 3.12: Pulling from library/alpine [2021-04-19T22:44:06.229Z] d2f70382dc9a: Pulling fs layer [2021-04-19T22:44:06.229Z] d2f70382dc9a: Download complete [2021-04-19T22:44:06.499Z] d2f70382dc9a: Pull complete [2021-04-19T22:44:06.499Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T22:44:06.499Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T22:44:06.499Z] ---> 9852663dfa18 [2021-04-19T22:44:06.499Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-04-19T22:44:06.773Z] ---> Running in 3a28e27b58ca [2021-04-19T22:44:07.369Z] Removing intermediate container 3a28e27b58ca [2021-04-19T22:44:07.370Z] ---> 4a49941ad786 [2021-04-19T22:44:07.370Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:44:07.370Z] ---> Running in 239855e14260 [2021-04-19T22:44:09.981Z] Removing intermediate container 239855e14260 [2021-04-19T22:44:09.981Z] ---> eb629e146231 [2021-04-19T22:44:09.981Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-19T22:44:09.981Z] ---> Running in 0dbed98aa59e [2021-04-19T22:44:10.965Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T22:44:11.562Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T22:44:12.539Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-19T22:44:12.539Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-19T22:44:12.539Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-19T22:44:12.815Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-19T22:44:12.815Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-19T22:44:13.089Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-19T22:44:13.089Z] Executing busybox-1.31.1-r20.trigger [2021-04-19T22:44:13.089Z] OK: 8 MiB in 20 packages [2021-04-19T22:44:14.547Z] Removing intermediate container 0dbed98aa59e [2021-04-19T22:44:14.547Z] ---> 92938d8ab64e [2021-04-19T22:44:14.547Z] Step 16/25 : WORKDIR / [2021-04-19T22:44:14.547Z] ---> Running in cf29d1fc3d48 [2021-04-19T22:44:15.143Z] Removing intermediate container cf29d1fc3d48 [2021-04-19T22:44:15.143Z] ---> d76cb6499c14 [2021-04-19T22:44:15.143Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-04-19T22:44:16.132Z] ---> ffd03a241f85 [2021-04-19T22:44:16.132Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-04-19T22:44:16.731Z] ---> 673589ea1f4f [2021-04-19T22:44:16.731Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-04-19T22:44:18.163Z] ---> 39d8bb6f855f [2021-04-19T22:44:18.163Z] Step 20/25 : EXPOSE 49990 [2021-04-19T22:44:18.163Z] ---> Running in 3d8fd4137c1a [2021-04-19T22:44:18.762Z] Removing intermediate container 3d8fd4137c1a [2021-04-19T22:44:18.762Z] ---> 22716203620e [2021-04-19T22:44:18.762Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-04-19T22:44:18.762Z] ---> Running in 3003e536316b [2021-04-19T22:44:19.360Z] Removing intermediate container 3003e536316b [2021-04-19T22:44:19.360Z] ---> 5011ccb2d9b2 [2021-04-19T22:44:19.360Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-19T22:44:19.633Z] ---> Running in 1da6a7870479 [2021-04-19T22:44:19.906Z] Removing intermediate container 1da6a7870479 [2021-04-19T22:44:19.906Z] ---> 5b13795c8713 [2021-04-19T22:44:19.906Z] Step 23/25 : LABEL arch=arm64 [2021-04-19T22:44:20.179Z] ---> Running in 3a401822c83b [2021-04-19T22:44:20.456Z] Removing intermediate container 3a401822c83b [2021-04-19T22:44:20.456Z] ---> baeb6b692318 [2021-04-19T22:44:20.456Z] Step 24/25 : LABEL git_sha=f22f876e599b70c9e0b9005e06686315ad76e5c7 [2021-04-19T22:44:20.733Z] ---> Running in d29c66cd5bee [2021-04-19T22:44:21.329Z] Removing intermediate container d29c66cd5bee [2021-04-19T22:44:21.329Z] ---> 6b7c61aa283c [2021-04-19T22:44:21.329Z] Step 25/25 : LABEL version=1.3.2-dev.10 [2021-04-19T22:44:21.329Z] ---> Running in 21eb63836764 [2021-04-19T22:44:21.925Z] Removing intermediate container 21eb63836764 [2021-04-19T22:44:21.925Z] ---> 65bc85c9980e [2021-04-19T22:44:21.925Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-19T22:44:21.925Z] Successfully built 65bc85c9980e [2021-04-19T22:44:21.925Z] Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:44:22.075Z] provisioning config files... [2021-04-19T22:44:22.121Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/49@tmp/config861778650667272522tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:44:22.484Z] ---> docker-login.sh [2021-04-19T22:44:22.484Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:44:22.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:44:23.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:44:23.029Z] Configure a credential helper to remove this warning. See [2021-04-19T22:44:23.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:44:23.029Z] [2021-04-19T22:44:23.029Z] Login Succeeded [2021-04-19T22:44:23.029Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:44:23.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:44:23.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:44:23.575Z] Configure a credential helper to remove this warning. See [2021-04-19T22:44:23.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:44:23.575Z] [2021-04-19T22:44:23.575Z] Login Succeeded [2021-04-19T22:44:23.575Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:44:24.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:44:24.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:44:24.183Z] Configure a credential helper to remove this warning. See [2021-04-19T22:44:24.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:44:24.183Z] [2021-04-19T22:44:24.183Z] Login Succeeded [2021-04-19T22:44:24.183Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:44:24.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:44:24.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:44:24.778Z] Configure a credential helper to remove this warning. See [2021-04-19T22:44:24.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:44:24.778Z] [2021-04-19T22:44:24.778Z] Login Succeeded [2021-04-19T22:44:24.778Z] docker.io [2021-04-19T22:44:25.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:44:25.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:44:25.651Z] Configure a credential helper to remove this warning. See [2021-04-19T22:44:25.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:44:25.651Z] [2021-04-19T22:44:25.651Z] Login Succeeded [2021-04-19T22:44:25.651Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:44:25.669Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-19T22:44:25.745Z] [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: [2021-04-19T22:44:25.745Z] f22f876e599b70c9e0b9005e06686315ad76e5c7 [2021-04-19T22:44:25.745Z] latest [2021-04-19T22:44:25.745Z] 1.3.2-dev.10 [2021-04-19T22:44:25.745Z] f22f876e599b70c9e0b9005e06686315ad76e5c7-1.3.2-dev.10 [2021-04-19T22:44:25.745Z] master [2021-04-19T22:44:25.745Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:44:26.141Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:f22f876e599b70c9e0b9005e06686315ad76e5c7 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:44:26.484Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:f22f876e599b70c9e0b9005e06686315ad76e5c7 [2021-04-19T22:44:26.485Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-04-19T22:44:26.485Z] 4f77c47ce82b: Preparing [2021-04-19T22:44:26.485Z] c1a1acc7786e: Preparing [2021-04-19T22:44:26.485Z] 2cf18a1ba68f: Preparing [2021-04-19T22:44:26.485Z] 22e4018967d7: Preparing [2021-04-19T22:44:26.485Z] 968ac744ee4f: Preparing [2021-04-19T22:44:26.485Z] 3fbe34a1663b: Preparing [2021-04-19T22:44:26.485Z] 3fbe34a1663b: Waiting [2021-04-19T22:44:26.759Z] c1a1acc7786e: Pushed [2021-04-19T22:44:26.759Z] 2cf18a1ba68f: Pushed [2021-04-19T22:44:26.759Z] 968ac744ee4f: Pushed [2021-04-19T22:44:27.033Z] 3fbe34a1663b: Layer already exists [2021-04-19T22:44:27.627Z] 22e4018967d7: Pushed [2021-04-19T22:44:31.014Z] 4f77c47ce82b: Pushed [2021-04-19T22:44:31.014Z] f22f876e599b70c9e0b9005e06686315ad76e5c7: digest: sha256:78e070ea57a40350ccec9dc7f656cb72d1a30b03c389e1b34a9af90c9adce3fe size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:44:31.363Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:44:31.705Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [2021-04-19T22:44:31.705Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-04-19T22:44:31.705Z] 4f77c47ce82b: Preparing [2021-04-19T22:44:31.705Z] c1a1acc7786e: Preparing [2021-04-19T22:44:31.705Z] 2cf18a1ba68f: Preparing [2021-04-19T22:44:31.705Z] 22e4018967d7: Preparing [2021-04-19T22:44:31.705Z] 968ac744ee4f: Preparing [2021-04-19T22:44:31.705Z] 3fbe34a1663b: Preparing [2021-04-19T22:44:31.705Z] 3fbe34a1663b: Waiting [2021-04-19T22:44:31.976Z] 2cf18a1ba68f: Layer already exists [2021-04-19T22:44:31.976Z] 968ac744ee4f: Layer already exists [2021-04-19T22:44:31.976Z] c1a1acc7786e: Layer already exists [2021-04-19T22:44:31.977Z] 22e4018967d7: Layer already exists [2021-04-19T22:44:31.977Z] 4f77c47ce82b: Layer already exists [2021-04-19T22:44:31.977Z] 3fbe34a1663b: Layer already exists [2021-04-19T22:44:31.977Z] latest: digest: sha256:78e070ea57a40350ccec9dc7f656cb72d1a30b03c389e1b34a9af90c9adce3fe size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:44:32.327Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:44:32.665Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.10 [2021-04-19T22:44:32.665Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-04-19T22:44:32.665Z] 4f77c47ce82b: Preparing [2021-04-19T22:44:32.665Z] c1a1acc7786e: Preparing [2021-04-19T22:44:32.665Z] 2cf18a1ba68f: Preparing [2021-04-19T22:44:32.665Z] 22e4018967d7: Preparing [2021-04-19T22:44:32.665Z] 968ac744ee4f: Preparing [2021-04-19T22:44:32.665Z] 3fbe34a1663b: Preparing [2021-04-19T22:44:32.665Z] 3fbe34a1663b: Waiting [2021-04-19T22:44:32.665Z] 968ac744ee4f: Layer already exists [2021-04-19T22:44:32.665Z] 2cf18a1ba68f: Layer already exists [2021-04-19T22:44:32.665Z] 4f77c47ce82b: Layer already exists [2021-04-19T22:44:32.665Z] c1a1acc7786e: Layer already exists [2021-04-19T22:44:32.665Z] 22e4018967d7: Layer already exists [2021-04-19T22:44:32.665Z] 3fbe34a1663b: Layer already exists [2021-04-19T22:44:32.937Z] 1.3.2-dev.10: digest: sha256:78e070ea57a40350ccec9dc7f656cb72d1a30b03c389e1b34a9af90c9adce3fe size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:44:33.287Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:f22f876e599b70c9e0b9005e06686315ad76e5c7-1.3.2-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:44:33.626Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:f22f876e599b70c9e0b9005e06686315ad76e5c7-1.3.2-dev.10 [2021-04-19T22:44:33.626Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-04-19T22:44:33.626Z] 4f77c47ce82b: Preparing [2021-04-19T22:44:33.626Z] c1a1acc7786e: Preparing [2021-04-19T22:44:33.626Z] 2cf18a1ba68f: Preparing [2021-04-19T22:44:33.626Z] 22e4018967d7: Preparing [2021-04-19T22:44:33.626Z] 968ac744ee4f: Preparing [2021-04-19T22:44:33.626Z] 3fbe34a1663b: Preparing [2021-04-19T22:44:33.626Z] 3fbe34a1663b: Waiting [2021-04-19T22:44:33.626Z] c1a1acc7786e: Layer already exists [2021-04-19T22:44:33.626Z] 22e4018967d7: Layer already exists [2021-04-19T22:44:33.626Z] 968ac744ee4f: Layer already exists [2021-04-19T22:44:33.626Z] 4f77c47ce82b: Layer already exists [2021-04-19T22:44:33.626Z] 2cf18a1ba68f: Layer already exists [2021-04-19T22:44:33.626Z] 3fbe34a1663b: Layer already exists [2021-04-19T22:44:33.898Z] f22f876e599b70c9e0b9005e06686315ad76e5c7-1.3.2-dev.10: digest: sha256:78e070ea57a40350ccec9dc7f656cb72d1a30b03c389e1b34a9af90c9adce3fe size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:44:34.242Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:44:34.601Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [2021-04-19T22:44:34.601Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-04-19T22:44:34.601Z] 4f77c47ce82b: Preparing [2021-04-19T22:44:34.602Z] c1a1acc7786e: Preparing [2021-04-19T22:44:34.602Z] 2cf18a1ba68f: Preparing [2021-04-19T22:44:34.602Z] 22e4018967d7: Preparing [2021-04-19T22:44:34.602Z] 968ac744ee4f: Preparing [2021-04-19T22:44:34.602Z] 3fbe34a1663b: Preparing [2021-04-19T22:44:34.602Z] 3fbe34a1663b: Waiting [2021-04-19T22:44:34.875Z] 4f77c47ce82b: Layer already exists [2021-04-19T22:44:34.875Z] 22e4018967d7: Layer already exists [2021-04-19T22:44:34.875Z] 2cf18a1ba68f: Layer already exists [2021-04-19T22:44:34.875Z] 968ac744ee4f: Layer already exists [2021-04-19T22:44:34.875Z] c1a1acc7786e: Layer already exists [2021-04-19T22:44:34.875Z] 3fbe34a1663b: Layer already exists [2021-04-19T22:44:34.875Z] master: digest: sha256:78e070ea57a40350ccec9dc7f656cb72d1a30b03c389e1b34a9af90c9adce3fe size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-19T22:44:34.950Z] ===================================================== [Pipeline] echo [2021-04-19T22:44:34.967Z] taggedImages: [2021-04-19T22:44:34.967Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:f22f876e599b70c9e0b9005e06686315ad76e5c7 [2021-04-19T22:44:34.967Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [2021-04-19T22:44:34.967Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.10 [2021-04-19T22:44:34.967Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:f22f876e599b70c9e0b9005e06686315ad76e5c7-1.3.2-dev.10 [2021-04-19T22:44:34.967Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:44:35.358Z] ---> job-cost.sh [2021-04-19T22:44:35.358Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0WHN [2021-04-19T22:45:31.907Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T22:47:38.799Z] lf-activate-venv(): INFO: Adding /tmp/venv-0WHN/bin to PATH [2021-04-19T22:47:38.799Z] INFO: No Stack... [2021-04-19T22:47:38.799Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-19T22:47:38.799Z] INFO: Archiving Costs [Pipeline] sh [2021-04-19T22:47:39.139Z] + cat /w/workspace/device-virtual-go/49/archives/cost.csv [2021-04-19T22:47:39.139Z] + cut -d, -f6 [Pipeline] lock [2021-04-19T22:47:39.260Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-49-stack-cost] [2021-04-19T22:47:39.269Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-49-stack-cost] did not exist. Created. [2021-04-19T22:47:39.269Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T22:47:39.642Z] /w/workspace/device-virtual-go/49@tmp/durable-6525e591/script.sh: 1: /w/workspace/device-virtual-go/49@tmp/durable-6525e591/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-19T22:47:39.995Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-19T22:47:40.017Z] Warning: overwriting stash ‘stack-cost’ [2021-04-19T22:47:40.185Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T22:47:40.202Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-49-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-04-19T22:47:40.609Z] provisioning config files... [2021-04-19T22:47:40.622Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2617604679188521929tmp [Pipeline] { [Pipeline] sh [2021-04-19T22:47:40.967Z] + set +x [2021-04-19T22:47:40.967Z] + curl -s https://codecov.io/bash [2021-04-19T22:47:40.967Z] + bash -s -- [2021-04-19T22:47:41.253Z] [2021-04-19T22:47:41.253Z] _____ _ [2021-04-19T22:47:41.253Z] / ____| | | [2021-04-19T22:47:41.253Z] | | ___ __| | ___ ___ _____ __ [2021-04-19T22:47:41.253Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-19T22:47:41.253Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-19T22:47:41.253Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-19T22:47:41.253Z] Bash-1.0.1 [2021-04-19T22:47:41.253Z] [2021-04-19T22:47:41.253Z] [2021-04-19T22:47:41.253Z] ==> git version 2.24.3 found [2021-04-19T22:47:41.253Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-04-19T22:47:41.253Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-19T22:47:41.253Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-19T22:47:41.253Z] ==> Jenkins CI detected. [2021-04-19T22:47:41.253Z] project root: . [2021-04-19T22:47:41.253Z] --> token set from env [2021-04-19T22:47:41.253Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-19T22:47:41.253Z] ==> Running gcov in . (disable via -X gcov) [2021-04-19T22:47:41.253Z] ==> Python coveragepy not found [2021-04-19T22:47:41.253Z] ==> Searching for coverage reports in: [2021-04-19T22:47:41.253Z] + . [2021-04-19T22:47:41.253Z] -> Found 1 reports [2021-04-19T22:47:41.253Z] ==> Detecting git/mercurial file structure [2021-04-19T22:47:41.253Z] ==> Reading reports [2021-04-19T22:47:41.253Z] + ./coverage.out bytes=47247 [2021-04-19T22:47:41.253Z] ==> Appending adjustments [2021-04-19T22:47:41.253Z] https://docs.codecov.io/docs/fixing-reports [2021-04-19T22:47:41.253Z] + Found adjustments [2021-04-19T22:47:41.253Z] ==> Gzipping contents [2021-04-19T22:47:41.530Z] 8.0K /tmp/codecov.7wqiTn.gz [2021-04-19T22:47:41.530Z] ==> Uploading reports [2021-04-19T22:47:41.530Z] url: https://codecov.io [2021-04-19T22:47:41.530Z] query: branch=master&commit=f22f876e599b70c9e0b9005e06686315ad76e5c7&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F49%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-19T22:47:41.530Z] -> Pinging Codecov [2021-04-19T22:47:41.530Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=master&commit=f22f876e599b70c9e0b9005e06686315ad76e5c7&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F49%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-19T22:47:42.116Z] -> Uploading to [2021-04-19T22:47:42.116Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-19/5E52B4B073DB2E39498172D8E973AA87/f22f876e599b70c9e0b9005e06686315ad76e5c7/5e175950-88a7-42c0-9f54-72fb7270f52e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210419T224741Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=13c3da82ee9fc1af0c20b242a2ef50ad37b0158867215831f62414137f744c15 [2021-04-19T22:47:42.116Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-19T22:47:42.116Z] Dload Upload Total Spent Left Speed [2021-04-19T22:47:42.377Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5768 0 0 100 5768 0 13262 --:--:-- --:--:-- --:--:-- 13290 [2021-04-19T22:47:42.377Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/f22f876e599b70c9e0b9005e06686315ad76e5c7 [Pipeline] } [2021-04-19T22:47:42.387Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-04-19T22:47:42.623Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-04-19T22:47:42.643Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:47:42.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-19T22:47:42.954Z] [2021-04-19T22:47:42.954Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:47:43.276Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-19T22:47:43.276Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-04-19T22:47:43.276Z] 188c0c94c7c5: Pulling fs layer [2021-04-19T22:47:43.276Z] 0ef7d3d256c8: Pulling fs layer [2021-04-19T22:47:43.276Z] de9db76c5a1d: Pulling fs layer [2021-04-19T22:47:43.276Z] 0eba1c9be4d2: Pulling fs layer [2021-04-19T22:47:43.276Z] 0d57e429df01: Pulling fs layer [2021-04-19T22:47:43.276Z] 4e4be7b47b0d: Pulling fs layer [2021-04-19T22:47:43.276Z] e1f770b5df2f: Pulling fs layer [2021-04-19T22:47:43.276Z] 85a0685a4137: Pulling fs layer [2021-04-19T22:47:43.276Z] 0d57e429df01: Waiting [2021-04-19T22:47:43.276Z] 4e4be7b47b0d: Waiting [2021-04-19T22:47:43.276Z] e1f770b5df2f: Waiting [2021-04-19T22:47:43.276Z] 85a0685a4137: Waiting [2021-04-19T22:47:43.276Z] 0eba1c9be4d2: Waiting [2021-04-19T22:47:43.276Z] de9db76c5a1d: Download complete [2021-04-19T22:47:43.276Z] 0ef7d3d256c8: Verifying Checksum [2021-04-19T22:47:43.276Z] 0ef7d3d256c8: Download complete [2021-04-19T22:47:43.276Z] 0d57e429df01: Verifying Checksum [2021-04-19T22:47:43.276Z] 0d57e429df01: Download complete [2021-04-19T22:47:43.276Z] 4e4be7b47b0d: Verifying Checksum [2021-04-19T22:47:43.276Z] 4e4be7b47b0d: Download complete [2021-04-19T22:47:43.276Z] 188c0c94c7c5: Download complete [2021-04-19T22:47:43.855Z] 188c0c94c7c5: Pull complete [2021-04-19T22:47:44.118Z] 0ef7d3d256c8: Pull complete [2021-04-19T22:47:44.118Z] e1f770b5df2f: Verifying Checksum [2021-04-19T22:47:44.118Z] e1f770b5df2f: Download complete [2021-04-19T22:47:44.118Z] de9db76c5a1d: Pull complete [2021-04-19T22:47:46.051Z] 0eba1c9be4d2: Verifying Checksum [2021-04-19T22:47:46.051Z] 0eba1c9be4d2: Download complete [2021-04-19T22:47:46.051Z] 85a0685a4137: Verifying Checksum [2021-04-19T22:47:46.051Z] 85a0685a4137: Download complete [2021-04-19T22:47:51.377Z] 0eba1c9be4d2: Pull complete [2021-04-19T22:47:51.377Z] 0d57e429df01: Pull complete [2021-04-19T22:47:51.639Z] 4e4be7b47b0d: Pull complete [2021-04-19T22:47:53.565Z] e1f770b5df2f: Pull complete [2021-04-19T22:48:01.762Z] 85a0685a4137: Pull complete [2021-04-19T22:48:01.762Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-04-19T22:48:01.762Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-19T22:48:01.762Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-04-19T22:48:01.935Z] prd-centos7-docker-4c-2g-1002 does not seem to be running inside a container [2021-04-19T22:48:01.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-04-19T22:48:02.904Z] $ docker top ef3053d884e45d53333a7664561f1706b6d3c9de9879b28d30d292fb4575b512 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-19T22:48:03.032Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-04-19T22:48:03.333Z] + set -o pipefail [2021-04-19T22:48:03.333Z] + snyk monitor '--org=edgex-jenkins' [2021-04-19T22:48:11.510Z] [2021-04-19T22:48:11.510Z] Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... [2021-04-19T22:48:11.510Z] [2021-04-19T22:48:11.510Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/da064106-9bf0-456a-8e2f-b09cc63a02a4 [2021-04-19T22:48:11.510Z] [2021-04-19T22:48:11.510Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-04-19T22:48:11.510Z] [2021-04-19T22:48:11.510Z] [2021-04-19T22:48:11.510Z] You have reached your monthly limit of 300 private tests for your edgex-jenkins org. [2021-04-19T22:48:11.510Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-04-19T22:48:11.529Z] $ docker stop --time=1 ef3053d884e45d53333a7664561f1706b6d3c9de9879b28d30d292fb4575b512 [2021-04-19T22:48:14.601Z] $ docker rm -f ef3053d884e45d53333a7664561f1706b6d3c9de9879b28d30d292fb4575b512 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T22:48:15.611Z] + git log --format=format:%s -1 f22f876e599b70c9e0b9005e06686315ad76e5c7 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:48:15.922Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:48:15.922Z] . [Pipeline] withDockerContainer [2021-04-19T22:48:16.018Z] prd-centos7-docker-4c-2g-1002 does not seem to be running inside a container [2021-04-19T22:48:16.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-19T22:48:16.789Z] $ docker top 1ea3944b680333e37d34ee1237e9849b75915e48d08bad5e9bd51028c8943038 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T22:48:16.953Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T22:48:16.953Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T22:48:17.155Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T22:48:17.160Z] $ docker exec 1ea3944b680333e37d34ee1237e9849b75915e48d08bad5e9bd51028c8943038 ssh-agent [2021-04-19T22:48:17.330Z] SSH_AUTH_SOCK=/tmp/ssh-5pJ0dtQ3w1cv/agent.12 [2021-04-19T22:48:17.330Z] SSH_AGENT_PID=17 [2021-04-19T22:48:17.337Z] Running ssh-add (command line suppressed) [2021-04-19T22:48:17.477Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_4180332188650248806.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_4180332188650248806.key) [2021-04-19T22:48:17.530Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:48:17.834Z] + git semver tag [2021-04-19T22:48:17.834Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T22:48:17.834Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-04-19T22:48:17.834Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-04-19T22:48:17.834Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T22:48:17.834Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T22:48:17.834Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T22:48:17.834Z] # $SEMVER_BRANCH = master [2021-04-19T22:48:17.834Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-04-19T22:48:17.834Z] # f22f876e599b70c9e0b9005e06686315ad76e5c7 HEAD [2021-04-19T22:48:17.834Z] # -> Force: false [2021-04-19T22:48:17.834Z] # f9f2117451f07453b57f5904d25ba2ea7f8dde9c refs/tags/v1.3.2-dev.10 [Pipeline] } [2021-04-19T22:48:17.848Z] $ docker exec --env ******** --env ******** 1ea3944b680333e37d34ee1237e9849b75915e48d08bad5e9bd51028c8943038 ssh-agent -k [2021-04-19T22:48:17.973Z] unset SSH_AUTH_SOCK; [2021-04-19T22:48:17.974Z] unset SSH_AGENT_PID; [2021-04-19T22:48:17.974Z] echo Agent pid 17 killed; [2021-04-19T22:48:18.032Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T22:48:18.373Z] + git semver [Pipeline] } [2021-04-19T22:48:18.391Z] $ docker stop --time=1 1ea3944b680333e37d34ee1237e9849b75915e48d08bad5e9bd51028c8943038 [2021-04-19T22:48:19.748Z] $ docker rm -f 1ea3944b680333e37d34ee1237e9849b75915e48d08bad5e9bd51028c8943038 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:48:20.218Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-19T22:48:20.218Z] [2021-04-19T22:48:20.218Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:48:20.534Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-19T22:48:20.535Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-04-19T22:48:20.535Z] ab5ef0e58194: Pulling fs layer [2021-04-19T22:48:20.535Z] 9712f1f96733: Pulling fs layer [2021-04-19T22:48:20.535Z] 63f879dbbcfc: Pulling fs layer [2021-04-19T22:48:20.535Z] 0d9ebad4ef96: Pulling fs layer [2021-04-19T22:48:20.535Z] e9a5061849ea: Pulling fs layer [2021-04-19T22:48:20.535Z] d747dcd14b5f: Pulling fs layer [2021-04-19T22:48:20.535Z] 2de7ff778b66: Pulling fs layer [2021-04-19T22:48:20.535Z] 0d9ebad4ef96: Waiting [2021-04-19T22:48:20.535Z] d747dcd14b5f: Waiting [2021-04-19T22:48:20.535Z] e9a5061849ea: Waiting [2021-04-19T22:48:20.535Z] 2de7ff778b66: Waiting [2021-04-19T22:48:20.535Z] 9712f1f96733: Verifying Checksum [2021-04-19T22:48:20.535Z] 9712f1f96733: Download complete [2021-04-19T22:48:21.932Z] 63f879dbbcfc: Verifying Checksum [2021-04-19T22:48:21.932Z] 63f879dbbcfc: Download complete [2021-04-19T22:48:21.932Z] e9a5061849ea: Verifying Checksum [2021-04-19T22:48:21.932Z] e9a5061849ea: Download complete [2021-04-19T22:48:21.932Z] d747dcd14b5f: Download complete [2021-04-19T22:48:22.198Z] 2de7ff778b66: Verifying Checksum [2021-04-19T22:48:22.198Z] 2de7ff778b66: Download complete [2021-04-19T22:48:22.777Z] ab5ef0e58194: Verifying Checksum [2021-04-19T22:48:22.777Z] ab5ef0e58194: Download complete [2021-04-19T22:48:22.777Z] 0d9ebad4ef96: Verifying Checksum [2021-04-19T22:48:22.777Z] 0d9ebad4ef96: Download complete [2021-04-19T22:48:27.014Z] ab5ef0e58194: Pull complete [2021-04-19T22:48:27.014Z] 9712f1f96733: Pull complete [2021-04-19T22:48:28.951Z] 63f879dbbcfc: Pull complete [2021-04-19T22:48:34.279Z] 0d9ebad4ef96: Pull complete [2021-04-19T22:48:35.668Z] e9a5061849ea: Pull complete [2021-04-19T22:48:35.932Z] d747dcd14b5f: Pull complete [2021-04-19T22:48:37.873Z] 2de7ff778b66: Pull complete [2021-04-19T22:48:37.873Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-04-19T22:48:37.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-19T22:48:37.873Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-04-19T22:48:38.057Z] prd-centos7-docker-4c-2g-1002 does not seem to be running inside a container [2021-04-19T22:48:38.108Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-04-19T22:48:41.877Z] $ docker top c1789f9357ab28f12f58c5f62cb6d3b5df4b60854fd78e2e2f07cbd8350cb476 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-04-19T22:48:42.034Z] provisioning config files... [2021-04-19T22:48:42.044Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config809411738532323049tmp [2021-04-19T22:48:42.060Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1452158810572064677tmp [2021-04-19T22:48:42.075Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config125704997635622410tmp [Pipeline] { [Pipeline] echo [2021-04-19T22:48:42.098Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:48:42.399Z] ---> sigul-configuration.sh [2021-04-19T22:48:42.399Z] gpg: directory `/root/.gnupg' created [2021-04-19T22:48:42.399Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-04-19T22:48:42.399Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-04-19T22:48:42.399Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-04-19T22:48:42.399Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-04-19T22:48:42.399Z] gpg: CAST5 encrypted data [2021-04-19T22:48:42.663Z] gpg: encrypted with 1 passphrase [2021-04-19T22:48:42.663Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-04-19T22:48:42.960Z] + mkdir /home/jenkins [2021-04-19T22:48:42.960Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-04-19T22:48:43.279Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-04-19T22:48:43.292Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:48:43.591Z] ---> sigul-install.sh [2021-04-19T22:48:50.194Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-04-19T22:48:50.498Z] + git tag --list [2021-04-19T22:48:50.498Z] v1.0.0 [2021-04-19T22:48:50.498Z] v1.1.0 [2021-04-19T22:48:50.498Z] v1.1.1 [2021-04-19T22:48:50.498Z] v1.2.1 [2021-04-19T22:48:50.498Z] v1.2.2 [2021-04-19T22:48:50.498Z] v1.2.3 [2021-04-19T22:48:50.498Z] v1.3.0 [2021-04-19T22:48:50.498Z] v1.3.1 [2021-04-19T22:48:50.498Z] v1.3.1-dev.1 [2021-04-19T22:48:50.498Z] v1.3.1-dev.2 [2021-04-19T22:48:50.498Z] v1.3.1-dev.3 [2021-04-19T22:48:50.498Z] v1.3.1-dev.4 [2021-04-19T22:48:50.498Z] v1.3.1-dev.5 [2021-04-19T22:48:50.498Z] v1.3.2-dev.1 [2021-04-19T22:48:50.498Z] v1.3.2-dev.10 [2021-04-19T22:48:50.498Z] v1.3.2-dev.2 [2021-04-19T22:48:50.498Z] v1.3.2-dev.3 [2021-04-19T22:48:50.498Z] v1.3.2-dev.4 [2021-04-19T22:48:50.498Z] v1.3.2-dev.5 [2021-04-19T22:48:50.498Z] v1.3.2-dev.6 [2021-04-19T22:48:50.498Z] v1.3.2-dev.7 [2021-04-19T22:48:50.498Z] v1.3.2-dev.8 [2021-04-19T22:48:50.498Z] v1.3.2-dev.9 [Pipeline] sh [2021-04-19T22:48:50.801Z] + lftools sign git-tag v1.3.2-dev.10 [2021-04-19T22:48:52.190Z] Signing Git tag with Sigul... [2021-04-19T22:48:52.190Z] Signing v1.3.2-dev.10 [Pipeline] echo [2021-04-19T22:48:53.151Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:48:53.450Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-04-19T22:48:53.459Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-04-19T22:48:53.492Z] $ docker stop --time=1 c1789f9357ab28f12f58c5f62cb6d3b5df4b60854fd78e2e2f07cbd8350cb476 [2021-04-19T22:48:55.595Z] $ docker rm -f c1789f9357ab28f12f58c5f62cb6d3b5df4b60854fd78e2e2f07cbd8350cb476 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:48:56.268Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:48:56.268Z] . [Pipeline] withDockerContainer [2021-04-19T22:48:56.361Z] prd-centos7-docker-4c-2g-1002 does not seem to be running inside a container [2021-04-19T22:48:56.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-19T22:48:57.091Z] $ docker top 64858244af9753861c4da0ae03d20c78edd5f4123418b51c494d77069993109d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T22:48:57.239Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T22:48:57.239Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T22:48:57.446Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T22:48:57.450Z] $ docker exec 64858244af9753861c4da0ae03d20c78edd5f4123418b51c494d77069993109d ssh-agent [2021-04-19T22:48:57.617Z] SSH_AUTH_SOCK=/tmp/ssh-8X3aoXHY7nQK/agent.12 [2021-04-19T22:48:57.617Z] SSH_AGENT_PID=18 [2021-04-19T22:48:57.624Z] Running ssh-add (command line suppressed) [2021-04-19T22:48:57.750Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5845359153828548433.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5845359153828548433.key) [2021-04-19T22:48:57.801Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:48:58.102Z] + git semver bump pre [2021-04-19T22:48:58.102Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T22:48:58.102Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-04-19T22:48:58.102Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-04-19T22:48:58.102Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T22:48:58.102Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T22:48:58.102Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T22:48:58.102Z] # $SEMVER_BRANCH = master [2021-04-19T22:48:58.102Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-04-19T22:48:58.102Z] 1.3.2-dev.11 [Pipeline] } [2021-04-19T22:48:58.115Z] $ docker exec --env ******** --env ******** 64858244af9753861c4da0ae03d20c78edd5f4123418b51c494d77069993109d ssh-agent -k [2021-04-19T22:48:58.225Z] unset SSH_AUTH_SOCK; [2021-04-19T22:48:58.225Z] unset SSH_AGENT_PID; [2021-04-19T22:48:58.225Z] echo Agent pid 18 killed; [2021-04-19T22:48:58.274Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T22:48:58.607Z] + git semver [Pipeline] } [2021-04-19T22:48:58.632Z] $ docker stop --time=1 64858244af9753861c4da0ae03d20c78edd5f4123418b51c494d77069993109d [2021-04-19T22:48:59.981Z] $ docker rm -f 64858244af9753861c4da0ae03d20c78edd5f4123418b51c494d77069993109d [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:49:00.398Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:49:00.399Z] . [Pipeline] withDockerContainer [2021-04-19T22:49:00.494Z] prd-centos7-docker-4c-2g-1002 does not seem to be running inside a container [2021-04-19T22:49:00.544Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-19T22:49:01.188Z] $ docker top d9599f8eaa3dadc82a76a0a4f6c142c3f27a69f1eb45d491c152938435cd28b6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T22:49:01.371Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T22:49:01.372Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T22:49:01.574Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T22:49:01.579Z] $ docker exec d9599f8eaa3dadc82a76a0a4f6c142c3f27a69f1eb45d491c152938435cd28b6 ssh-agent [2021-04-19T22:49:01.764Z] SSH_AUTH_SOCK=/tmp/ssh-ViZItTugRupa/agent.11 [2021-04-19T22:49:01.764Z] SSH_AGENT_PID=16 [2021-04-19T22:49:01.772Z] Running ssh-add (command line suppressed) [2021-04-19T22:49:01.889Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5757946319759500254.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5757946319759500254.key) [2021-04-19T22:49:01.945Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:49:02.259Z] + git semver push [2021-04-19T22:49:02.259Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T22:49:02.259Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-04-19T22:49:02.259Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-04-19T22:49:02.259Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T22:49:02.259Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T22:49:02.259Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T22:49:02.259Z] # $SEMVER_BRANCH = master [2021-04-19T22:49:02.259Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-04-19T22:49:08.874Z] $ docker exec --env ******** --env ******** d9599f8eaa3dadc82a76a0a4f6c142c3f27a69f1eb45d491c152938435cd28b6 ssh-agent -k [2021-04-19T22:49:09.034Z] unset SSH_AUTH_SOCK; [2021-04-19T22:49:09.034Z] unset SSH_AGENT_PID; [2021-04-19T22:49:09.035Z] echo Agent pid 16 killed; [2021-04-19T22:49:09.095Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T22:49:09.433Z] + git semver [Pipeline] } [2021-04-19T22:49:09.450Z] $ docker stop --time=1 d9599f8eaa3dadc82a76a0a4f6c142c3f27a69f1eb45d491c152938435cd28b6 [2021-04-19T22:49:10.806Z] $ docker rm -f d9599f8eaa3dadc82a76a0a4f6c142c3f27a69f1eb45d491c152938435cd28b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:49:11.527Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:49:12.413Z] ---> package-listing.sh [2021-04-19T22:49:12.413Z] ++ facter osfamily [2021-04-19T22:49:12.413Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-19T22:49:12.413Z] + OS_FAMILY=redhat [2021-04-19T22:49:12.413Z] + workspace=/w/workspace/foundry_device-virtual-go_master [2021-04-19T22:49:12.413Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-19T22:49:12.413Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-19T22:49:12.413Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-19T22:49:12.413Z] + PACKAGES=/tmp/packages_start.txt [2021-04-19T22:49:12.413Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-04-19T22:49:12.413Z] + PACKAGES=/tmp/packages_end.txt [2021-04-19T22:49:12.413Z] + case "${OS_FAMILY}" in [2021-04-19T22:49:12.413Z] + rpm -qa [2021-04-19T22:49:12.413Z] + sort [2021-04-19T22:49:17.729Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-19T22:49:17.729Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-19T22:49:17.729Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-19T22:49:17.729Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-04-19T22:49:17.729Z] + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ [2021-04-19T22:49:17.729Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] echo [2021-04-19T22:49:17.743Z] 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_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-19T22:49:18.051Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:49:18.355Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T22:49:18.355Z] [2021-04-19T22:49:18.355Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:49:18.669Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T22:49:18.669Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-19T22:49:18.669Z] df20fa9351a1: Pulling fs layer [2021-04-19T22:49:18.669Z] 36b3adc4ff6f: Pulling fs layer [2021-04-19T22:49:18.669Z] 8ad3a11d3b57: Pulling fs layer [2021-04-19T22:49:18.669Z] 46f8f816bc3b: Pulling fs layer [2021-04-19T22:49:18.670Z] 93b61091891f: Pulling fs layer [2021-04-19T22:49:18.670Z] 93b9cdb0e59b: Pulling fs layer [2021-04-19T22:49:18.670Z] 5e14af77c1be: Pulling fs layer [2021-04-19T22:49:18.670Z] 01666e4c0597: Pulling fs layer [2021-04-19T22:49:18.670Z] aa168da1d23b: Pulling fs layer [2021-04-19T22:49:18.670Z] 93b9cdb0e59b: Waiting [2021-04-19T22:49:18.670Z] 01666e4c0597: Waiting [2021-04-19T22:49:18.670Z] 5e14af77c1be: Waiting [2021-04-19T22:49:18.670Z] 46f8f816bc3b: Waiting [2021-04-19T22:49:18.670Z] 36b3adc4ff6f: Verifying Checksum [2021-04-19T22:49:18.670Z] 36b3adc4ff6f: Download complete [2021-04-19T22:49:18.670Z] 46f8f816bc3b: Download complete [2021-04-19T22:49:18.670Z] df20fa9351a1: Verifying Checksum [2021-04-19T22:49:18.670Z] df20fa9351a1: Download complete [2021-04-19T22:49:18.937Z] 93b9cdb0e59b: Verifying Checksum [2021-04-19T22:49:18.937Z] 93b9cdb0e59b: Download complete [2021-04-19T22:49:18.937Z] 5e14af77c1be: Verifying Checksum [2021-04-19T22:49:18.937Z] 5e14af77c1be: Download complete [2021-04-19T22:49:18.937Z] 93b61091891f: Download complete [2021-04-19T22:49:18.937Z] 01666e4c0597: Verifying Checksum [2021-04-19T22:49:18.937Z] 01666e4c0597: Download complete [2021-04-19T22:49:19.199Z] df20fa9351a1: Pull complete [2021-04-19T22:49:19.461Z] 8ad3a11d3b57: Verifying Checksum [2021-04-19T22:49:19.461Z] 8ad3a11d3b57: Download complete [2021-04-19T22:49:19.723Z] 36b3adc4ff6f: Pull complete [2021-04-19T22:49:20.684Z] 8ad3a11d3b57: Pull complete [2021-04-19T22:49:20.946Z] aa168da1d23b: Verifying Checksum [2021-04-19T22:49:20.946Z] aa168da1d23b: Download complete [2021-04-19T22:49:21.208Z] 46f8f816bc3b: Pull complete [2021-04-19T22:49:21.470Z] 93b61091891f: Pull complete [2021-04-19T22:49:21.732Z] 93b9cdb0e59b: Pull complete [2021-04-19T22:49:21.733Z] 5e14af77c1be: Pull complete [2021-04-19T22:49:21.995Z] 01666e4c0597: Pull complete [2021-04-19T22:49:30.155Z] aa168da1d23b: Pull complete [2021-04-19T22:49:30.155Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-19T22:49:30.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T22:49:30.155Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-19T22:49:30.257Z] prd-centos7-docker-4c-2g-1002 does not seem to be running inside a container [2021-04-19T22:49:30.305Z] $ 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_master/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_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-19T22:49:32.772Z] $ docker top 199b941e432e612a4690d49eb387f21cbaf71e6c4039c15eca8c71a85ed8782c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:49:33.193Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-19T22:49:33.488Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-19T22:49:33.785Z] + ls /var/log/sa-host [2021-04-19T22:49:33.785Z] + sadf -c /var/log/sa-host/sa19 [2021-04-19T22:49:33.785Z] file_magic: OK [2021-04-19T22:49:33.785Z] HZ: Using current value: 100 [2021-04-19T22:49:33.785Z] file_header: OK [2021-04-19T22:49:33.785Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-19T22:49:33.785Z] Statistics: [2021-04-19T22:49:33.786Z] 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... [2021-04-19T22:49:33.786Z] File successfully converted to sysstat format version 12.2.1 [2021-04-19T22:49:33.786Z] + sadf -c /var/log/sa-host/sa23 [2021-04-19T22:49:33.786Z] file_magic: OK [2021-04-19T22:49:33.786Z] HZ: Using current value: 100 [2021-04-19T22:49:33.786Z] file_header: OK [2021-04-19T22:49:33.786Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-19T22:49:33.786Z] Statistics: [2021-04-19T22:49:33.786Z] Hnuu...uuuununununu... [2021-04-19T22:49:33.786Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-19T22:49:33.956Z] provisioning config files... [2021-04-19T22:49:33.975Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7977049931131273272tmp [Pipeline] { [Pipeline] echo [2021-04-19T22:49:34.013Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:49:34.313Z] ---> create-netrc.sh [Pipeline] } [2021-04-19T22:49:34.324Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-19T22:49:34.352Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:49:34.648Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-19T22:49:34.660Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:49:34.956Z] ---> sudo-logs.sh [2021-04-19T22:49:34.956Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-19T22:49:34.991Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:49:35.290Z] ---> job-cost.sh [2021-04-19T22:49:35.290Z] lf-activate-venv: SKIPPING [2021-04-19T22:49:35.290Z] DEBUG: total: 0.20999999344348907 [2021-04-19T22:49:35.290Z] INFO: Retrieving Stack Cost... [2021-04-19T22:49:36.237Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T22:49:36.812Z] INFO: Archiving Costs [Pipeline] echo [2021-04-19T22:49:36.827Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:49:37.182Z] ---> logs-deploy.sh [2021-04-19T22:49:37.182Z] lf-activate-venv: SKIPPING [2021-04-19T22:49:37.182Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/49 [2021-04-19T22:49:37.182Z] INFO: archiving workspace using pattern(s): [2021-04-19T22:49:38.624Z] Archives upload complete. [2021-04-19T22:49:38.624Z] INFO: archiving logs to Nexus