Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3807’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3792’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3813 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 Checking out Revision f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 # timeout=10 Commit message: "Merge pull request #200 from ernestojeda/rename-makefile-images" > git rev-list --no-walk 630144a10735cec8e2a8b402cbcf2c5516b5e8e8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-09T10:54:35.666Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-09T10:54:35.768Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-09T10:54:35.797Z] ========================================================= [2021-05-09T10:54:35.797Z] EdgeX Global Pipelines Version Info [2021-05-09T10:54:35.797Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-09T10:54:37.391Z] ------------------- [2021-05-09T10:54:37.391Z] stable info: [2021-05-09T10:54:37.391Z] ------------------- [2021-05-09T10:54:37.391Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-09T10:54:37.391Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-09T10:54:37.391Z] Message: update stable to v1.0.191 [2021-05-09T10:54:38.337Z] ------------------- [2021-05-09T10:54:38.337Z] experimental info: [2021-05-09T10:54:38.337Z] ------------------- [2021-05-09T10:54:38.337Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-09T10:54:38.337Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-09T10:54:38.337Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-09T10:54:38.458Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-09T10:54:38.483Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-09T10:54:38.507Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-09T10:54:38.549Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-09T10:54:38.593Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-09T10:54:38.616Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-09T10:54:38.637Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-09T10:54:38.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-09T10:54:38.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-09T10:54:38.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-09T10:54:38.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-09T10:54:38.763Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-05-09T10:54:38.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-09T10:54:38.810Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-09T10:54:38.835Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-09T10:54:38.857Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-09T10:54:38.880Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-09T10:54:38.905Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-09T10:54:38.930Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-09T10:54:38.953Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-09T10:54:38.978Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-09T10:54:39.002Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-09T10:54:39.043Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-09T10:54:39.073Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-09T10:54:39.102Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-09T10:54:39.130Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-09T10:54:39.154Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-09T10:54:39.184Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-09T10:54:39.208Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-09T10:54:39.232Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 [Pipeline] echo [2021-05-09T10:54:39.275Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f4aebf8 [Pipeline] echo [2021-05-09T10:54:39.298Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T10:54:39.371Z] provisioning config files... [2021-05-09T10:54:39.424Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config4502694715453863076tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T10:54:39.748Z] ---> docker-login.sh [2021-05-09T10:54:39.748Z] nexus3.edgexfoundry.org:10001 [2021-05-09T10:54:40.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:54:40.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:54:40.284Z] Configure a credential helper to remove this warning. See [2021-05-09T10:54:40.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:54:40.284Z] [2021-05-09T10:54:40.284Z] Login Succeeded [2021-05-09T10:54:40.284Z] nexus3.edgexfoundry.org:10002 [2021-05-09T10:54:40.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:54:40.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:54:40.548Z] Configure a credential helper to remove this warning. See [2021-05-09T10:54:40.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:54:40.548Z] [2021-05-09T10:54:40.548Z] Login Succeeded [2021-05-09T10:54:40.548Z] nexus3.edgexfoundry.org:10003 [2021-05-09T10:54:40.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:54:40.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:54:40.548Z] Configure a credential helper to remove this warning. See [2021-05-09T10:54:40.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:54:40.548Z] [2021-05-09T10:54:40.548Z] Login Succeeded [2021-05-09T10:54:40.548Z] nexus3.edgexfoundry.org:10004 [2021-05-09T10:54:40.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:54:40.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:54:40.811Z] Configure a credential helper to remove this warning. See [2021-05-09T10:54:40.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:54:40.811Z] [2021-05-09T10:54:40.811Z] Login Succeeded [2021-05-09T10:54:40.811Z] docker.io [2021-05-09T10:54:41.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:54:41.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:54:41.341Z] Configure a credential helper to remove this warning. See [2021-05-09T10:54:41.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:54:41.341Z] [2021-05-09T10:54:41.341Z] Login Succeeded [2021-05-09T10:54:41.341Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T10:54:41.350Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-09T10:54:41.797Z] + git log --format=format:%s -1 f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 [Pipeline] echo [2021-05-09T10:54:41.879Z] GIT_COMMIT: f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1, Commit Message: Merge pull request #200 from ernestojeda/rename-makefile-images [Pipeline] echo [2021-05-09T10:54:41.893Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:54:42.467Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T10:54:42.468Z] [2021-05-09T10:54:42.468Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:54:42.798Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T10:54:42.798Z] latest: Pulling from edgex-devops/git-semver [2021-05-09T10:54:42.798Z] 31603596830f: Pulling fs layer [2021-05-09T10:54:42.798Z] 54011a49482f: Pulling fs layer [2021-05-09T10:54:42.798Z] a6820b24f6d8: Pulling fs layer [2021-05-09T10:54:42.798Z] f581987b2513: Pulling fs layer [2021-05-09T10:54:42.798Z] f581987b2513: Waiting [2021-05-09T10:54:42.798Z] 54011a49482f: Verifying Checksum [2021-05-09T10:54:42.798Z] 54011a49482f: Download complete [2021-05-09T10:54:43.062Z] 31603596830f: Verifying Checksum [2021-05-09T10:54:43.062Z] 31603596830f: Download complete [2021-05-09T10:54:43.062Z] f581987b2513: Verifying Checksum [2021-05-09T10:54:43.063Z] f581987b2513: Download complete [2021-05-09T10:54:43.063Z] a6820b24f6d8: Verifying Checksum [2021-05-09T10:54:43.063Z] a6820b24f6d8: Download complete [2021-05-09T10:54:43.327Z] 31603596830f: Pull complete [2021-05-09T10:54:43.327Z] 54011a49482f: Pull complete [2021-05-09T10:54:44.282Z] a6820b24f6d8: Pull complete [2021-05-09T10:54:44.546Z] f581987b2513: Pull complete [2021-05-09T10:54:44.546Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-09T10:54:44.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T10:54:44.546Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-09T10:54:44.666Z] prd-centos7-docker-4c-2g-3813 does not seem to be running inside a container [2021-05-09T10:54:44.722Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-09T10:54:46.555Z] $ docker top e55f793c3e437370fffd53d08d59d7ac20228848a04df12ed32f0ccce5c2abe8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-09T10:54:46.734Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T10:54:46.734Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T10:54:46.963Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T10:54:46.968Z] $ docker exec e55f793c3e437370fffd53d08d59d7ac20228848a04df12ed32f0ccce5c2abe8 ssh-agent [2021-05-09T10:54:47.140Z] SSH_AUTH_SOCK=/tmp/ssh-x1aeWYvcEA6w/agent.12 [2021-05-09T10:54:47.140Z] SSH_AGENT_PID=18 [2021-05-09T10:54:47.153Z] Running ssh-add (command line suppressed) [2021-05-09T10:54:47.280Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_9104047798066912164.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_9104047798066912164.key) [2021-05-09T10:54:47.342Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T10:54:47.647Z] + git tag --points-at HEAD [Pipeline] } [2021-05-09T10:54:47.669Z] $ docker exec --env ******** --env ******** e55f793c3e437370fffd53d08d59d7ac20228848a04df12ed32f0ccce5c2abe8 ssh-agent -k [2021-05-09T10:54:47.783Z] unset SSH_AUTH_SOCK; [2021-05-09T10:54:47.783Z] unset SSH_AGENT_PID; [2021-05-09T10:54:47.783Z] echo Agent pid 18 killed; [2021-05-09T10:54:47.830Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-09T10:54:47.909Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T10:54:47.909Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T10:54:48.075Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T10:54:48.079Z] $ docker exec e55f793c3e437370fffd53d08d59d7ac20228848a04df12ed32f0ccce5c2abe8 ssh-agent [2021-05-09T10:54:48.260Z] SSH_AUTH_SOCK=/tmp/ssh-XXkufwcRrQYK/agent.48 [2021-05-09T10:54:48.260Z] SSH_AGENT_PID=53 [2021-05-09T10:54:48.267Z] Running ssh-add (command line suppressed) [2021-05-09T10:54:48.393Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5668210908804354492.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5668210908804354492.key) [2021-05-09T10:54:48.446Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T10:54:48.757Z] + git semver init [2021-05-09T10:54:48.757Z] # -> Open(): unable to determine branch for HEAD [2021-05-09T10:54:48.757Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-09T10:54:48.757Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-09T10:54:48.757Z] # $SEMVER_REMOTE_NAME = origin [2021-05-09T10:54:48.757Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-09T10:54:48.757Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-09T10:54:48.757Z] # $SEMVER_BRANCH = master [2021-05-09T10:54:48.757Z] # $SEMVER_TEMP = /tmp/semver-882647737 [2021-05-09T10:54:48.757Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-09T10:54:49.020Z] # '/tmp/semver-882647737' -> '/w/workspace/foundry_device-virtual-go_master/.semver' [2021-05-09T10:54:49.284Z] # -> Force: false [2021-05-09T10:54:49.284Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-05-09T10:54:49.299Z] $ docker exec --env ******** --env ******** e55f793c3e437370fffd53d08d59d7ac20228848a04df12ed32f0ccce5c2abe8 ssh-agent -k [2021-05-09T10:54:49.416Z] unset SSH_AUTH_SOCK; [2021-05-09T10:54:49.416Z] unset SSH_AGENT_PID; [2021-05-09T10:54:49.416Z] echo Agent pid 53 killed; [2021-05-09T10:54:49.464Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-09T10:54:49.805Z] + git semver [Pipeline] } [2021-05-09T10:54:49.824Z] $ docker stop --time=1 e55f793c3e437370fffd53d08d59d7ac20228848a04df12ed32f0ccce5c2abe8 [2021-05-09T10:54:51.346Z] $ docker rm -f e55f793c3e437370fffd53d08d59d7ac20228848a04df12ed32f0ccce5c2abe8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-09T10:54:51.836Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-09T10:54:52.182Z] Stashed 1 file(s) [Pipeline] echo [2021-05-09T10:54:52.185Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.12 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-09T10:55:07.361Z] Still waiting to schedule task [2021-05-09T10:55:07.361Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-09T10:55:07.364Z] Still waiting to schedule task [2021-05-09T10:55:07.364Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3787’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3792’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3812’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3814’ is offline [2021-05-09T10:56:17.318Z] Running on prd-centos7-docker-4c-2g-3818 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-05-09T10:56:17.337Z] Running in /w/workspace/device-virtual-go/51 [Pipeline] { [Pipeline] checkout [2021-05-09T10:56:20.065Z] using credential edgex-jenkins-ssh [2021-05-09T10:56:20.078Z] Cloning the remote Git repository [2021-05-09T10:56:20.106Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-09T10:56:20.177Z] > git init /w/workspace/device-virtual-go/51 # timeout=10 [2021-05-09T10:56:20.238Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-09T10:56:20.239Z] > git --version # timeout=10 [2021-05-09T10:56:20.244Z] > git --version # 'git version 2.24.3' [2021-05-09T10:56:20.245Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T10:56:20.270Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T10:56:21.858Z] Checking out Revision f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 (master) [2021-05-09T10:56:21.440Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-09T10:56:21.450Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T10:56:21.463Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-09T10:56:21.485Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-09T10:56:21.485Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T10:56:21.497Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-09T10:56:21.867Z] > git config core.sparsecheckout # timeout=10 [2021-05-09T10:56:21.872Z] > git checkout -f f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 # timeout=10 [2021-05-09T10:56:25.547Z] Commit message: "Merge pull request #200 from ernestojeda/rename-makefile-images" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-09T10:56:26.444Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-09T10:56:26.784Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-09T10:56:27.087Z] + sudo service docker restart [2021-05-09T10:56:27.088Z] + true [2021-05-09T10:56:27.088Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T10:56:28.515Z] provisioning config files... [2021-05-09T10:56:28.561Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/51@tmp/config718295569155989909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T10:56:28.892Z] ---> docker-login.sh [2021-05-09T10:56:28.892Z] nexus3.edgexfoundry.org:10001 [2021-05-09T10:56:29.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:56:29.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:56:29.156Z] Configure a credential helper to remove this warning. See [2021-05-09T10:56:29.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:56:29.156Z] [2021-05-09T10:56:29.156Z] Login Succeeded [2021-05-09T10:56:29.156Z] nexus3.edgexfoundry.org:10002 [2021-05-09T10:56:29.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:56:29.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:56:29.421Z] Configure a credential helper to remove this warning. See [2021-05-09T10:56:29.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:56:29.421Z] [2021-05-09T10:56:29.421Z] Login Succeeded [2021-05-09T10:56:29.421Z] nexus3.edgexfoundry.org:10003 [2021-05-09T10:56:29.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:56:29.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:56:29.683Z] Configure a credential helper to remove this warning. See [2021-05-09T10:56:29.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:56:29.683Z] [2021-05-09T10:56:29.683Z] Login Succeeded [2021-05-09T10:56:29.683Z] nexus3.edgexfoundry.org:10004 [2021-05-09T10:56:29.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:56:29.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:56:29.955Z] Configure a credential helper to remove this warning. See [2021-05-09T10:56:29.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:56:29.955Z] [2021-05-09T10:56:29.955Z] Login Succeeded [2021-05-09T10:56:29.955Z] docker.io [2021-05-09T10:56:29.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:56:30.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:56:30.216Z] Configure a credential helper to remove this warning. See [2021-05-09T10:56:30.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:56:30.216Z] [2021-05-09T10:56:30.216Z] Login Succeeded [2021-05-09T10:56:30.216Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T10:56:30.226Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-09T10:56:30.393Z] ========================================================= [2021-05-09T10:56:30.393Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-09T10:56:30.393Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:56:30.705Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-09T10:56:30.705Z] Sending build context to Docker daemon 519.2kB [2021-05-09T10:56:30.705Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-09T10:56:30.705Z] Step 2/8 : FROM ${BASE} [2021-05-09T10:56:30.968Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-09T10:56:30.968Z] 540db60ca938: Pulling fs layer [2021-05-09T10:56:30.968Z] adcc1eea9eea: Pulling fs layer [2021-05-09T10:56:30.968Z] 4c4ab2625f07: Pulling fs layer [2021-05-09T10:56:30.968Z] 0510c868ecb4: Pulling fs layer [2021-05-09T10:56:30.968Z] afea3b2eda06: Pulling fs layer [2021-05-09T10:56:30.968Z] 7809a108b3ef: Pulling fs layer [2021-05-09T10:56:30.968Z] f706445af74f: Pulling fs layer [2021-05-09T10:56:30.968Z] 0510c868ecb4: Waiting [2021-05-09T10:56:30.968Z] afea3b2eda06: Waiting [2021-05-09T10:56:30.968Z] f706445af74f: Waiting [2021-05-09T10:56:30.968Z] 7809a108b3ef: Waiting [2021-05-09T10:56:30.968Z] 4c4ab2625f07: Verifying Checksum [2021-05-09T10:56:30.968Z] 4c4ab2625f07: Download complete [2021-05-09T10:56:30.968Z] adcc1eea9eea: Verifying Checksum [2021-05-09T10:56:30.968Z] adcc1eea9eea: Download complete [2021-05-09T10:56:30.968Z] afea3b2eda06: Download complete [2021-05-09T10:56:30.968Z] 7809a108b3ef: Verifying Checksum [2021-05-09T10:56:30.968Z] 7809a108b3ef: Download complete [2021-05-09T10:56:30.968Z] 540db60ca938: Verifying Checksum [2021-05-09T10:56:30.968Z] 540db60ca938: Download complete [2021-05-09T10:56:31.236Z] 540db60ca938: Pull complete [2021-05-09T10:56:31.501Z] adcc1eea9eea: Pull complete [2021-05-09T10:56:31.764Z] 4c4ab2625f07: Pull complete [2021-05-09T10:56:32.708Z] f706445af74f: Verifying Checksum [2021-05-09T10:56:32.708Z] f706445af74f: Download complete [2021-05-09T10:56:33.659Z] 0510c868ecb4: Verifying Checksum [2021-05-09T10:56:33.659Z] 0510c868ecb4: Download complete [2021-05-09T10:56:38.995Z] 0510c868ecb4: Pull complete [2021-05-09T10:56:39.263Z] afea3b2eda06: Pull complete [2021-05-09T10:56:39.528Z] 7809a108b3ef: Pull complete [2021-05-09T10:56:49.575Z] f706445af74f: Pull complete [2021-05-09T10:56:49.575Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-09T10:56:49.575Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-09T10:56:49.575Z] ---> b068be0155e3 [2021-05-09T10:56:49.575Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-09T10:56:49.575Z] ---> Running in 913fad66e7d1 [2021-05-09T10:56:49.575Z] Removing intermediate container 913fad66e7d1 [2021-05-09T10:56:49.575Z] ---> 12ac440d00c0 [2021-05-09T10:56:49.575Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T10:56:49.575Z] ---> Running in de6f6a22d563 [2021-05-09T10:56:50.158Z] Removing intermediate container de6f6a22d563 [2021-05-09T10:56:50.158Z] ---> 7bbf67d02105 [2021-05-09T10:56:50.158Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-09T10:56:50.429Z] ---> Running in 739638d1fd1a [2021-05-09T10:56:51.380Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-09T10:56:53.309Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-09T10:56:53.901Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-09T10:56:54.172Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-09T10:56:54.452Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-09T10:56:54.452Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-09T10:56:54.714Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-09T10:56:54.976Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-09T10:56:54.976Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-09T10:56:55.552Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-09T10:56:55.665Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3816 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-05-09T10:56:55.685Z] Running in /w/workspace/device-virtual-go/51 [Pipeline] { [Pipeline] checkout [2021-05-09T10:56:55.815Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-09T10:56:56.078Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-09T10:56:56.657Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-09T10:56:56.920Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-09T10:56:57.186Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-09T10:56:57.448Z] Executing busybox-1.32.1-r6.trigger [2021-05-09T10:56:57.448Z] OK: 156 MiB in 53 packages [2021-05-09T10:56:58.026Z] Removing intermediate container 739638d1fd1a [2021-05-09T10:56:58.026Z] ---> cba63979258e [2021-05-09T10:56:58.026Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-09T10:56:58.289Z] ---> Running in fb3f39eadaaa [2021-05-09T10:56:58.289Z] Removing intermediate container fb3f39eadaaa [2021-05-09T10:56:58.289Z] ---> aa15565facff [2021-05-09T10:56:58.289Z] Step 7/8 : COPY . . [2021-05-09T10:56:59.240Z] ---> 6efe961177f2 [2021-05-09T10:56:59.240Z] Step 8/8 : RUN go mod download [2021-05-09T10:56:59.240Z] ---> Running in e9d06e22d00d [2021-05-09T10:57:02.237Z] using credential edgex-jenkins-ssh [2021-05-09T10:57:02.273Z] Cloning the remote Git repository [2021-05-09T10:57:02.443Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-09T10:57:02.681Z] > git init /w/workspace/device-virtual-go/51 # timeout=10 [2021-05-09T10:57:02.777Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-09T10:57:02.779Z] > git --version # timeout=10 [2021-05-09T10:57:02.799Z] > git --version # 'git version 2.17.1' [2021-05-09T10:57:02.801Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T10:57:02.903Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T10:57:05.373Z] Checking out Revision f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 (master) [2021-05-09T10:57:04.701Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-09T10:57:04.722Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T10:57:04.759Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-09T10:57:04.805Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-09T10:57:04.806Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T10:57:04.900Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-09T10:57:05.396Z] > git config core.sparsecheckout # timeout=10 [2021-05-09T10:57:05.409Z] > git checkout -f f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 # timeout=10 [2021-05-09T10:57:09.942Z] Commit message: "Merge pull request #200 from ernestojeda/rename-makefile-images" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-09T10:57:11.441Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-09T10:57:11.875Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-09T10:57:12.231Z] + + true [2021-05-09T10:57:12.231Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T10:57:14.257Z] provisioning config files... [2021-05-09T10:57:14.334Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/51@tmp/config2553054491047077938tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T10:57:14.741Z] ---> docker-login.sh [2021-05-09T10:57:14.742Z] nexus3.edgexfoundry.org:10001 [2021-05-09T10:57:15.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:57:16.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:57:16.333Z] Configure a credential helper to remove this warning. See [2021-05-09T10:57:16.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:57:16.333Z] [2021-05-09T10:57:16.333Z] Login Succeeded [2021-05-09T10:57:16.333Z] nexus3.edgexfoundry.org:10002 [2021-05-09T10:57:16.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:57:16.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:57:16.878Z] Configure a credential helper to remove this warning. See [2021-05-09T10:57:16.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:57:16.878Z] [2021-05-09T10:57:16.878Z] Login Succeeded [2021-05-09T10:57:16.878Z] nexus3.edgexfoundry.org:10003 [2021-05-09T10:57:17.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:57:17.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:57:17.152Z] Configure a credential helper to remove this warning. See [2021-05-09T10:57:17.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:57:17.152Z] [2021-05-09T10:57:17.152Z] Login Succeeded [2021-05-09T10:57:17.152Z] nexus3.edgexfoundry.org:10004 [2021-05-09T10:57:17.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:57:17.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:57:17.749Z] Configure a credential helper to remove this warning. See [2021-05-09T10:57:17.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:57:17.749Z] [2021-05-09T10:57:17.749Z] Login Succeeded [2021-05-09T10:57:17.749Z] docker.io [2021-05-09T10:57:18.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:57:18.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:57:18.619Z] Configure a credential helper to remove this warning. See [2021-05-09T10:57:18.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:57:18.619Z] [2021-05-09T10:57:18.619Z] Login Succeeded [2021-05-09T10:57:18.619Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T10:57:18.637Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-09T10:57:18.982Z] ========================================================= [2021-05-09T10:57:18.982Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-09T10:57:18.982Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:57:19.339Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-09T10:57:19.614Z] Sending build context to Docker daemon 518.1kB [2021-05-09T10:57:19.614Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-09T10:57:19.614Z] Step 2/8 : FROM ${BASE} [2021-05-09T10:57:19.894Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-09T10:57:19.894Z] 595b0fe564bb: Pulling fs layer [2021-05-09T10:57:19.894Z] 7186ed65a4f7: Pulling fs layer [2021-05-09T10:57:19.894Z] 316046926c0a: Pulling fs layer [2021-05-09T10:57:19.894Z] 4ebd0625c992: Pulling fs layer [2021-05-09T10:57:19.894Z] 207e8628e3a3: Pulling fs layer [2021-05-09T10:57:19.894Z] c791037a9be2: Pulling fs layer [2021-05-09T10:57:19.894Z] ffd874e62e21: Pulling fs layer [2021-05-09T10:57:19.894Z] 4ebd0625c992: Waiting [2021-05-09T10:57:19.894Z] 207e8628e3a3: Waiting [2021-05-09T10:57:19.894Z] c791037a9be2: Waiting [2021-05-09T10:57:19.894Z] ffd874e62e21: Waiting [2021-05-09T10:57:19.894Z] 316046926c0a: Verifying Checksum [2021-05-09T10:57:19.894Z] 316046926c0a: Download complete [2021-05-09T10:57:19.894Z] 7186ed65a4f7: Verifying Checksum [2021-05-09T10:57:19.894Z] 7186ed65a4f7: Download complete [2021-05-09T10:57:19.894Z] 207e8628e3a3: Verifying Checksum [2021-05-09T10:57:19.894Z] 207e8628e3a3: Download complete [2021-05-09T10:57:19.894Z] c791037a9be2: Verifying Checksum [2021-05-09T10:57:19.894Z] c791037a9be2: Download complete [2021-05-09T10:57:19.894Z] 595b0fe564bb: Download complete [2021-05-09T10:57:20.903Z] 595b0fe564bb: Pull complete [2021-05-09T10:57:21.531Z] 7186ed65a4f7: Pull complete [2021-05-09T10:57:21.811Z] 316046926c0a: Pull complete [2021-05-09T10:57:22.414Z] ffd874e62e21: Verifying Checksum [2021-05-09T10:57:22.414Z] ffd874e62e21: Download complete [2021-05-09T10:57:23.875Z] 4ebd0625c992: Verifying Checksum [2021-05-09T10:57:23.875Z] 4ebd0625c992: Download complete [2021-05-09T10:57:25.889Z] Removing intermediate container e9d06e22d00d [2021-05-09T10:57:25.889Z] ---> 906e766447be [2021-05-09T10:57:25.889Z] Successfully built 906e766447be [2021-05-09T10:57:25.889Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:57:26.212Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-09T10:57:26.212Z] . [Pipeline] withDockerContainer [2021-05-09T10:57:26.336Z] prd-centos7-docker-4c-2g-3818 does not seem to be running inside a container [2021-05-09T10:57:26.387Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/51 -v /w/workspace/device-virtual-go/51:/w/workspace/device-virtual-go/51:rw,z -v /w/workspace/device-virtual-go/51@tmp:/w/workspace/device-virtual-go/51@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-05-09T10:57:27.291Z] $ docker top 044e89030807d7b8ca18f5f459085483acf1e6718a56fcc9b10084ca3f419ee5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T10:57:27.742Z] + go version [2021-05-09T10:57:27.742Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-09T10:57:27.758Z] $ docker stop --time=1 044e89030807d7b8ca18f5f459085483acf1e6718a56fcc9b10084ca3f419ee5 [2021-05-09T10:57:29.115Z] $ docker rm -f 044e89030807d7b8ca18f5f459085483acf1e6718a56fcc9b10084ca3f419ee5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:57:29.611Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-09T10:57:29.611Z] . [Pipeline] withDockerContainer [2021-05-09T10:57:29.708Z] prd-centos7-docker-4c-2g-3818 does not seem to be running inside a container [2021-05-09T10:57:29.760Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/51 -v /w/workspace/device-virtual-go/51:/w/workspace/device-virtual-go/51:rw,z -v /w/workspace/device-virtual-go/51@tmp:/w/workspace/device-virtual-go/51@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-05-09T10:57:30.385Z] $ docker top cccf6775a96ada91f99760f4bc8913b8f4e85c8484699e69765519c38a5cf7e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T10:57:30.786Z] + go mod tidy [Pipeline] sh [2021-05-09T10:57:31.756Z] + make test [2021-05-09T10:57:31.756Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-09T10:57:33.299Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-09T10:57:34.141Z] 4ebd0625c992: Pull complete [2021-05-09T10:57:34.141Z] 207e8628e3a3: Pull complete [2021-05-09T10:57:34.418Z] c791037a9be2: Pull complete [2021-05-09T10:57:38.753Z] ffd874e62e21: Pull complete [2021-05-09T10:57:38.753Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-09T10:57:38.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-09T10:57:38.753Z] ---> cfc18b08335c [2021-05-09T10:57:38.753Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-09T10:57:42.164Z] ---> Running in 8b6e8b394e3a [2021-05-09T10:57:42.164Z] Removing intermediate container 8b6e8b394e3a [2021-05-09T10:57:42.164Z] ---> 370c304f0363 [2021-05-09T10:57:42.165Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T10:57:42.165Z] ---> Running in 092dd3616407 [2021-05-09T10:57:45.587Z] Removing intermediate container 092dd3616407 [2021-05-09T10:57:45.587Z] ---> 3f6a63d7f7a1 [2021-05-09T10:57:45.587Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-09T10:57:45.587Z] ---> Running in 320844a74f81 [2021-05-09T10:57:46.576Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-09T10:57:48.554Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-09T10:57:49.536Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-09T10:57:49.808Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-09T10:57:50.080Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-09T10:57:50.080Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-09T10:57:50.353Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-09T10:57:50.626Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-09T10:57:50.898Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-09T10:57:51.493Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-09T10:57:51.765Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-09T10:57:52.037Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-09T10:57:52.037Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-09T10:57:52.312Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-09T10:57:53.761Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-09T10:57:53.761Z] Executing busybox-1.32.1-r6.trigger [2021-05-09T10:57:53.761Z] OK: 145 MiB in 53 packages [2021-05-09T10:57:55.449Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-09T10:57:55.449Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.456s coverage: 63.8% of statements [2021-05-09T10:57:55.449Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-09T10:57:55.757Z] Removing intermediate container 320844a74f81 [2021-05-09T10:57:55.757Z] ---> 13674993dd69 [2021-05-09T10:57:55.757Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-09T10:57:55.757Z] ---> Running in beb29d881e23 [2021-05-09T10:57:56.360Z] Removing intermediate container beb29d881e23 [2021-05-09T10:57:56.360Z] ---> be328d065a7b [2021-05-09T10:57:56.360Z] Step 7/8 : COPY . . [2021-05-09T10:57:57.356Z] ---> c7f6148085c4 [2021-05-09T10:57:57.356Z] Step 8/8 : RUN go mod download [2021-05-09T10:57:57.637Z] ---> Running in 9e6bd6e5fa90 [2021-05-09T10:58:05.543Z] gofmt -l . [2021-05-09T10:58:05.543Z] [ "`gofmt -l .`" = "" ] [2021-05-09T10:58:05.543Z] ./bin/test-attribution-txt.sh [2021-05-09T10:58:05.543Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-09T10:58:05.564Z] $ docker stop --time=1 cccf6775a96ada91f99760f4bc8913b8f4e85c8484699e69765519c38a5cf7e3 [2021-05-09T10:58:07.686Z] $ docker rm -f cccf6775a96ada91f99760f4bc8913b8f4e85c8484699e69765519c38a5cf7e3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-09T10:58:08.249Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-09T10:58:08.643Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-09T10:58:09.765Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-09T10:58:10.075Z] + ls -al . [2021-05-09T10:58:10.075Z] total 132 [2021-05-09T10:58:10.075Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 9 10:58 . [2021-05-09T10:58:10.075Z] drwxrwxr-x. 4 jenkins jenkins 30 May 9 10:56 .. [2021-05-09T10:58:10.075Z] -rw-rw-r--. 1 jenkins jenkins 8153 May 9 10:56 Attribution.txt [2021-05-09T10:58:10.075Z] drwxrwxr-x. 2 jenkins jenkins 64 May 9 10:56 bin [2021-05-09T10:58:10.075Z] drwxrwxr-x. 3 jenkins jenkins 32 May 9 10:56 cmd [2021-05-09T10:58:10.075Z] -rw-r--r--. 1 jenkins jenkins 47247 May 9 10:57 coverage.out [2021-05-09T10:58:10.075Z] -rw-rw-r--. 1 jenkins jenkins 1905 May 9 10:56 Dockerfile [2021-05-09T10:58:10.075Z] -rw-rw-r--. 1 jenkins jenkins 998 May 9 10:56 Dockerfile.build [2021-05-09T10:58:10.075Z] drwxrwxr-x. 8 jenkins jenkins 162 May 9 10:56 .git [2021-05-09T10:58:10.075Z] drwxrwxr-x. 2 jenkins jenkins 103 May 9 10:56 .github [2021-05-09T10:58:10.075Z] -rw-rw-r--. 1 jenkins jenkins 277 May 9 10:56 .gitignore [2021-05-09T10:58:10.075Z] -rw-r--r--. 1 jenkins jenkins 809 May 9 10:58 go.mod [2021-05-09T10:58:10.075Z] -rw-r--r--. 1 jenkins jenkins 23585 May 9 10:57 go.sum [2021-05-09T10:58:10.075Z] drwxrwxr-x. 3 jenkins jenkins 20 May 9 10:56 internal [2021-05-09T10:58:10.075Z] -rw-rw-r--. 1 jenkins jenkins 660 May 9 10:56 Jenkinsfile [2021-05-09T10:58:10.075Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 9 10:56 LICENSE [2021-05-09T10:58:10.075Z] -rw-rw-r--. 1 jenkins jenkins 901 May 9 10:56 Makefile [2021-05-09T10:58:10.075Z] -rw-rw-r--. 1 jenkins jenkins 2745 May 9 10:56 README.md [2021-05-09T10:58:10.075Z] -rw-rw-r--. 1 jenkins jenkins 12 May 9 10:54 VERSION [2021-05-09T10:58:10.075Z] -rw-rw-r--. 1 jenkins jenkins 235 May 9 10:56 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:58:10.392Z] + 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=f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 --label arch=amd64 --label version=1.3.2-dev.12 . [2021-05-09T10:58:10.656Z] Sending build context to Docker daemon 591.9kB [2021-05-09T10:58:10.656Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-05-09T10:58:10.656Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-09T10:58:10.656Z] ---> 906e766447be [2021-05-09T10:58:10.656Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-09T10:58:10.919Z] ---> Running in 9aef172b27a0 [2021-05-09T10:58:11.182Z] Removing intermediate container 9aef172b27a0 [2021-05-09T10:58:11.182Z] ---> 72ffca90b87d [2021-05-09T10:58:11.182Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-09T10:58:11.182Z] ---> Running in a7e3666dad9a [2021-05-09T10:58:11.182Z] Removing intermediate container a7e3666dad9a [2021-05-09T10:58:11.182Z] ---> 6ce74b0d44dd [2021-05-09T10:58:11.182Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-09T10:58:11.446Z] ---> Running in afa40ce391ef [2021-05-09T10:58:11.710Z] Removing intermediate container afa40ce391ef [2021-05-09T10:58:11.710Z] ---> 1917120da7be [2021-05-09T10:58:11.710Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T10:58:11.710Z] ---> Running in a4894c53f09b [2021-05-09T10:58:12.656Z] Removing intermediate container a4894c53f09b [2021-05-09T10:58:12.656Z] ---> df45c442a6dc [2021-05-09T10:58:12.656Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-09T10:58:12.656Z] ---> Running in 8a61e1ab575b [2021-05-09T10:58:13.236Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-09T10:58:15.156Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-09T10:58:16.102Z] OK: 156 MiB in 53 packages [2021-05-09T10:58:16.681Z] Removing intermediate container 8a61e1ab575b [2021-05-09T10:58:16.681Z] ---> 7ac64b07e65d [2021-05-09T10:58:16.681Z] Step 8/25 : COPY . . [2021-05-09T10:58:17.635Z] ---> 2c37f0dd13e4 [2021-05-09T10:58:17.635Z] Step 9/25 : RUN go mod download [2021-05-09T10:58:17.635Z] ---> Running in 12866bd7015e [2021-05-09T10:58:18.586Z] Removing intermediate container 12866bd7015e [2021-05-09T10:58:18.586Z] ---> f354a29e0f21 [2021-05-09T10:58:18.586Z] Step 10/25 : ARG MAKE='make build' [2021-05-09T10:58:18.858Z] ---> Running in c80a798effbd [2021-05-09T10:58:18.858Z] Removing intermediate container c80a798effbd [2021-05-09T10:58:18.858Z] ---> 971b8e926163 [2021-05-09T10:58:18.858Z] Step 11/25 : RUN $MAKE [2021-05-09T10:58:18.858Z] ---> Running in eae7b7792358 [2021-05-09T10:58:19.449Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.12" -o cmd/device-virtual ./cmd [2021-05-09T10:58:30.014Z] Removing intermediate container 9e6bd6e5fa90 [2021-05-09T10:58:30.014Z] ---> 6cf2b806220d [2021-05-09T10:58:30.014Z] Successfully built 6cf2b806220d [2021-05-09T10:58:30.014Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:58:30.367Z] + docker inspect -f . ci-base-image-arm64 [2021-05-09T10:58:30.367Z] . [Pipeline] withDockerContainer [2021-05-09T10:58:30.692Z] prd-ubuntu18.04-docker-arm64-4c-16g-3816 does not seem to be running inside a container [2021-05-09T10:58:30.797Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/51 -v /w/workspace/device-virtual-go/51:/w/workspace/device-virtual-go/51:rw,z -v /w/workspace/device-virtual-go/51@tmp:/w/workspace/device-virtual-go/51@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 ******** ci-base-image-arm64 cat [2021-05-09T10:58:32.672Z] $ docker top b36630617a77761d74cf51d65a0320df7e351e4e52a9b58c0528c019fe50d9f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T10:58:33.687Z] + go version [2021-05-09T10:58:33.687Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-09T10:58:33.716Z] $ docker stop --time=1 b36630617a77761d74cf51d65a0320df7e351e4e52a9b58c0528c019fe50d9f1 [2021-05-09T10:58:35.894Z] $ docker rm -f b36630617a77761d74cf51d65a0320df7e351e4e52a9b58c0528c019fe50d9f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:58:36.644Z] + docker inspect -f . ci-base-image-arm64 [2021-05-09T10:58:36.644Z] . [Pipeline] withDockerContainer [2021-05-09T10:58:36.937Z] prd-ubuntu18.04-docker-arm64-4c-16g-3816 does not seem to be running inside a container [2021-05-09T10:58:37.038Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/51 -v /w/workspace/device-virtual-go/51:/w/workspace/device-virtual-go/51:rw,z -v /w/workspace/device-virtual-go/51@tmp:/w/workspace/device-virtual-go/51@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 ******** ci-base-image-arm64 cat [2021-05-09T10:58:37.698Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-09T10:58:38.779Z] $ docker top df78deb4f8259d32234c4781ec2c3fe538f95e12b2f1bf1d645d5c1a1380ba27 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T10:58:39.782Z] + go mod tidy [2021-05-09T10:58:40.264Z] Removing intermediate container eae7b7792358 [2021-05-09T10:58:40.264Z] ---> ae0d68f6113c [2021-05-09T10:58:40.264Z] Step 12/25 : FROM alpine:3.12 [Pipeline] sh [2021-05-09T10:58:40.839Z] 3.12: Pulling from library/alpine [2021-05-09T10:58:40.839Z] 339de151aab4: Pulling fs layer [2021-05-09T10:58:41.102Z] 339de151aab4: Verifying Checksum [2021-05-09T10:58:41.102Z] 339de151aab4: Download complete [2021-05-09T10:58:41.366Z] 339de151aab4: Pull complete [2021-05-09T10:58:41.366Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-09T10:58:41.366Z] Status: Downloaded newer image for alpine:3.12 [2021-05-09T10:58:41.366Z] ---> 13621d1b12d4 [2021-05-09T10:58:41.366Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-09T10:58:41.366Z] ---> Running in 7f57cbe818a1 [2021-05-09T10:58:41.449Z] + make test [2021-05-09T10:58:41.449Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-09T10:58:41.634Z] Removing intermediate container 7f57cbe818a1 [2021-05-09T10:58:41.634Z] ---> 368ea0388f08 [2021-05-09T10:58:41.634Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T10:58:41.634Z] ---> Running in c19605b6060a [2021-05-09T10:58:42.896Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-09T10:58:43.028Z] Removing intermediate container c19605b6060a [2021-05-09T10:58:43.028Z] ---> db0b69be93f9 [2021-05-09T10:58:43.028Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-09T10:58:43.028Z] ---> Running in 8acdda196ae9 [2021-05-09T10:58:43.300Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-09T10:58:44.693Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-09T10:58:45.269Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-09T10:58:45.532Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-09T10:58:45.795Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-09T10:58:45.795Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-09T10:58:47.217Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-09T10:58:47.479Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-09T10:58:47.743Z] Executing busybox-1.31.1-r20.trigger [2021-05-09T10:58:47.743Z] OK: 8 MiB in 20 packages [2021-05-09T10:58:48.317Z] Removing intermediate container 8acdda196ae9 [2021-05-09T10:58:48.317Z] ---> d03a59ead8f9 [2021-05-09T10:58:48.317Z] Step 16/25 : WORKDIR / [2021-05-09T10:58:48.317Z] ---> Running in c365a9526166 [2021-05-09T10:58:48.582Z] Removing intermediate container c365a9526166 [2021-05-09T10:58:48.582Z] ---> 9672054ca367 [2021-05-09T10:58:48.582Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-09T10:58:48.845Z] ---> 35555689fc8e [2021-05-09T10:58:48.845Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-09T10:58:49.108Z] ---> 3879a124d7ac [2021-05-09T10:58:49.108Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-09T10:58:50.060Z] ---> b0f9c9c11230 [2021-05-09T10:58:50.060Z] Step 20/25 : EXPOSE 49990 [2021-05-09T10:58:50.060Z] ---> Running in 1e905db13e26 [2021-05-09T10:58:50.060Z] Removing intermediate container 1e905db13e26 [2021-05-09T10:58:50.060Z] ---> db6497601034 [2021-05-09T10:58:50.060Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-09T10:58:50.060Z] ---> Running in 509f5ff30b8f [2021-05-09T10:58:50.322Z] Removing intermediate container 509f5ff30b8f [2021-05-09T10:58:50.322Z] ---> 1ec2e5a74c27 [2021-05-09T10:58:50.322Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-09T10:58:50.322Z] ---> Running in ed786d8d603d [2021-05-09T10:58:50.584Z] Removing intermediate container ed786d8d603d [2021-05-09T10:58:50.584Z] ---> 9948c21bae1f [2021-05-09T10:58:50.584Z] Step 23/25 : LABEL arch=amd64 [2021-05-09T10:58:50.584Z] ---> Running in 3c98e15f34ba [2021-05-09T10:58:50.848Z] Removing intermediate container 3c98e15f34ba [2021-05-09T10:58:50.848Z] ---> 398bc4465941 [2021-05-09T10:58:50.848Z] Step 24/25 : LABEL git_sha=f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 [2021-05-09T10:58:50.848Z] ---> Running in 1de634230384 [2021-05-09T10:58:51.111Z] Removing intermediate container 1de634230384 [2021-05-09T10:58:51.111Z] ---> 457709c09cca [2021-05-09T10:58:51.111Z] Step 25/25 : LABEL version=1.3.2-dev.12 [2021-05-09T10:58:51.111Z] ---> Running in 50699749b12e [2021-05-09T10:58:51.374Z] Removing intermediate container 50699749b12e [2021-05-09T10:58:51.374Z] ---> 9d338f5b9c9b [2021-05-09T10:58:51.374Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-09T10:58:51.374Z] Successfully built 9d338f5b9c9b [2021-05-09T10:58:51.374Z] Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T10:58:51.511Z] provisioning config files... [2021-05-09T10:58:51.558Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/51@tmp/config1599028117962753836tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T10:58:51.895Z] ---> docker-login.sh [2021-05-09T10:58:51.895Z] nexus3.edgexfoundry.org:10001 [2021-05-09T10:58:51.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:58:52.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:58:52.158Z] Configure a credential helper to remove this warning. See [2021-05-09T10:58:52.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:58:52.158Z] [2021-05-09T10:58:52.158Z] Login Succeeded [2021-05-09T10:58:52.158Z] nexus3.edgexfoundry.org:10002 [2021-05-09T10:58:52.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:58:52.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:58:52.158Z] Configure a credential helper to remove this warning. See [2021-05-09T10:58:52.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:58:52.158Z] [2021-05-09T10:58:52.158Z] Login Succeeded [2021-05-09T10:58:52.158Z] nexus3.edgexfoundry.org:10003 [2021-05-09T10:58:52.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:58:52.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:58:52.421Z] Configure a credential helper to remove this warning. See [2021-05-09T10:58:52.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:58:52.421Z] [2021-05-09T10:58:52.421Z] Login Succeeded [2021-05-09T10:58:52.421Z] nexus3.edgexfoundry.org:10004 [2021-05-09T10:58:52.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:58:52.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:58:52.686Z] Configure a credential helper to remove this warning. See [2021-05-09T10:58:52.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:58:52.686Z] [2021-05-09T10:58:52.686Z] Login Succeeded [2021-05-09T10:58:52.686Z] docker.io [2021-05-09T10:58:52.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:58:52.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:58:52.949Z] Configure a credential helper to remove this warning. See [2021-05-09T10:58:52.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:58:52.949Z] [2021-05-09T10:58:52.949Z] Login Succeeded [2021-05-09T10:58:52.949Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T10:58:52.960Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-09T10:58:53.032Z] [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: [2021-05-09T10:58:53.032Z] f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 [2021-05-09T10:58:53.032Z] latest [2021-05-09T10:58:53.032Z] 1.3.2-dev.12 [2021-05-09T10:58:53.032Z] f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1-1.3.2-dev.12 [2021-05-09T10:58:53.032Z] master [2021-05-09T10:58:53.032Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:58:53.410Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:58:53.719Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 [2021-05-09T10:58:53.719Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-05-09T10:58:53.719Z] c84e74063943: Preparing [2021-05-09T10:58:53.719Z] fbd863880fa6: Preparing [2021-05-09T10:58:53.719Z] 229e5b4ae705: Preparing [2021-05-09T10:58:53.719Z] 0d72141e468d: Preparing [2021-05-09T10:58:53.719Z] cf03bdfe196d: Preparing [2021-05-09T10:58:53.719Z] 32f366d666a5: Preparing [2021-05-09T10:58:53.719Z] 32f366d666a5: Waiting [2021-05-09T10:58:53.719Z] cf03bdfe196d: Pushed [2021-05-09T10:58:53.983Z] fbd863880fa6: Pushed [2021-05-09T10:58:53.983Z] 229e5b4ae705: Pushed [2021-05-09T10:58:53.983Z] 32f366d666a5: Layer already exists [2021-05-09T10:58:53.983Z] 0d72141e468d: Pushed [2021-05-09T10:58:55.380Z] c84e74063943: Pushed [2021-05-09T10:58:55.380Z] f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1: digest: sha256:54f8a48370ffcdca2c8438a1fe72bdc4031da2373dc0b3bf09e0dee77fa93bdd size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:58:55.697Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:58:56.006Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [2021-05-09T10:58:56.006Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-05-09T10:58:56.006Z] c84e74063943: Preparing [2021-05-09T10:58:56.006Z] fbd863880fa6: Preparing [2021-05-09T10:58:56.006Z] 229e5b4ae705: Preparing [2021-05-09T10:58:56.006Z] 0d72141e468d: Preparing [2021-05-09T10:58:56.006Z] cf03bdfe196d: Preparing [2021-05-09T10:58:56.006Z] 32f366d666a5: Preparing [2021-05-09T10:58:56.006Z] 32f366d666a5: Waiting [2021-05-09T10:58:56.006Z] fbd863880fa6: Layer already exists [2021-05-09T10:58:56.006Z] 229e5b4ae705: Layer already exists [2021-05-09T10:58:56.006Z] 0d72141e468d: Layer already exists [2021-05-09T10:58:56.006Z] cf03bdfe196d: Layer already exists [2021-05-09T10:58:56.006Z] c84e74063943: Layer already exists [2021-05-09T10:58:56.006Z] 32f366d666a5: Layer already exists [2021-05-09T10:58:56.006Z] latest: digest: sha256:54f8a48370ffcdca2c8438a1fe72bdc4031da2373dc0b3bf09e0dee77fa93bdd size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:58:56.323Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.12 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:58:56.633Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.12 [2021-05-09T10:58:56.633Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-05-09T10:58:56.633Z] c84e74063943: Preparing [2021-05-09T10:58:56.633Z] fbd863880fa6: Preparing [2021-05-09T10:58:56.633Z] 229e5b4ae705: Preparing [2021-05-09T10:58:56.633Z] 0d72141e468d: Preparing [2021-05-09T10:58:56.633Z] cf03bdfe196d: Preparing [2021-05-09T10:58:56.633Z] 32f366d666a5: Preparing [2021-05-09T10:58:56.633Z] 32f366d666a5: Waiting [2021-05-09T10:58:56.633Z] c84e74063943: Layer already exists [2021-05-09T10:58:56.633Z] fbd863880fa6: Layer already exists [2021-05-09T10:58:56.633Z] 229e5b4ae705: Layer already exists [2021-05-09T10:58:56.633Z] 0d72141e468d: Layer already exists [2021-05-09T10:58:56.633Z] cf03bdfe196d: Layer already exists [2021-05-09T10:58:56.633Z] 32f366d666a5: Layer already exists [2021-05-09T10:58:56.633Z] 1.3.2-dev.12: digest: sha256:54f8a48370ffcdca2c8438a1fe72bdc4031da2373dc0b3bf09e0dee77fa93bdd size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:58:56.946Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1-1.3.2-dev.12 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:58:57.252Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1-1.3.2-dev.12 [2021-05-09T10:58:57.252Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-05-09T10:58:57.252Z] c84e74063943: Preparing [2021-05-09T10:58:57.252Z] fbd863880fa6: Preparing [2021-05-09T10:58:57.252Z] 229e5b4ae705: Preparing [2021-05-09T10:58:57.252Z] 0d72141e468d: Preparing [2021-05-09T10:58:57.252Z] cf03bdfe196d: Preparing [2021-05-09T10:58:57.252Z] 32f366d666a5: Preparing [2021-05-09T10:58:57.252Z] 32f366d666a5: Waiting [2021-05-09T10:58:57.252Z] fbd863880fa6: Layer already exists [2021-05-09T10:58:57.252Z] 229e5b4ae705: Layer already exists [2021-05-09T10:58:57.252Z] 0d72141e468d: Layer already exists [2021-05-09T10:58:57.252Z] c84e74063943: Layer already exists [2021-05-09T10:58:57.252Z] cf03bdfe196d: Layer already exists [2021-05-09T10:58:57.252Z] 32f366d666a5: Layer already exists [2021-05-09T10:58:57.252Z] f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1-1.3.2-dev.12: digest: sha256:54f8a48370ffcdca2c8438a1fe72bdc4031da2373dc0b3bf09e0dee77fa93bdd size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:58:57.579Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:58:57.892Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [2021-05-09T10:58:57.892Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-05-09T10:58:57.892Z] c84e74063943: Preparing [2021-05-09T10:58:57.892Z] fbd863880fa6: Preparing [2021-05-09T10:58:57.892Z] 229e5b4ae705: Preparing [2021-05-09T10:58:57.892Z] 0d72141e468d: Preparing [2021-05-09T10:58:57.892Z] cf03bdfe196d: Preparing [2021-05-09T10:58:57.892Z] 32f366d666a5: Preparing [2021-05-09T10:58:57.892Z] 32f366d666a5: Waiting [2021-05-09T10:58:57.892Z] 0d72141e468d: Layer already exists [2021-05-09T10:58:57.892Z] fbd863880fa6: Layer already exists [2021-05-09T10:58:57.892Z] cf03bdfe196d: Layer already exists [2021-05-09T10:58:57.892Z] c84e74063943: Layer already exists [2021-05-09T10:58:57.892Z] 229e5b4ae705: Layer already exists [2021-05-09T10:58:57.892Z] 32f366d666a5: Layer already exists [2021-05-09T10:58:57.892Z] master: digest: sha256:54f8a48370ffcdca2c8438a1fe72bdc4031da2373dc0b3bf09e0dee77fa93bdd size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-09T10:58:57.951Z] ===================================================== [Pipeline] echo [2021-05-09T10:58:57.967Z] taggedImages: [2021-05-09T10:58:57.967Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 [2021-05-09T10:58:57.967Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [2021-05-09T10:58:57.967Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.12 [2021-05-09T10:58:57.967Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1-1.3.2-dev.12 [2021-05-09T10:58:57.967Z] - 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-05-09T10:58:58.457Z] ---> job-cost.sh [2021-05-09T10:58:58.458Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BGBb [2021-05-09T10:59:13.393Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-09T10:59:40.089Z] lf-activate-venv(): INFO: Adding /tmp/venv-BGBb/bin to PATH [2021-05-09T10:59:40.089Z] INFO: No Stack... [2021-05-09T10:59:40.089Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-09T10:59:41.073Z] INFO: Archiving Costs [Pipeline] sh [2021-05-09T10:59:41.426Z] + cat /w/workspace/device-virtual-go/51/archives/cost.csv [2021-05-09T10:59:41.426Z] + cut -d, -f6 [Pipeline] lock [2021-05-09T10:59:41.567Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-51-stack-cost] [2021-05-09T10:59:41.582Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-51-stack-cost] did not exist. Created. [2021-05-09T10:59:41.583Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-09T10:59:41.915Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-09T10:59:42.057Z] Stashed 1 file(s) [Pipeline] } [2021-05-09T10:59:42.072Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-51-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-09T10:59:51.130Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-09T10:59:53.098Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.882s coverage: 63.8% of statements [2021-05-09T10:59:53.378Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-09T11:00:32.412Z] gofmt -l . [2021-05-09T11:00:32.412Z] [ "`gofmt -l .`" = "" ] [2021-05-09T11:00:32.412Z] ./bin/test-attribution-txt.sh [2021-05-09T11:00:32.412Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-09T11:00:32.435Z] $ docker stop --time=1 df78deb4f8259d32234c4781ec2c3fe538f95e12b2f1bf1d645d5c1a1380ba27 [2021-05-09T11:00:34.585Z] $ docker rm -f df78deb4f8259d32234c4781ec2c3fe538f95e12b2f1bf1d645d5c1a1380ba27 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-09T11:00:35.554Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-09T11:00:35.576Z] Warning: overwriting stash ‘coverage-report’ [2021-05-09T11:00:36.511Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-09T11:00:36.968Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-09T11:00:37.304Z] + ls -al . [2021-05-09T11:00:37.304Z] total 156 [2021-05-09T11:00:37.304Z] drwxrwxr-x 7 jenkins jenkins 4096 May 9 11:00 . [2021-05-09T11:00:37.304Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 10:57 .. [2021-05-09T11:00:37.304Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 10:57 .git [2021-05-09T11:00:37.304Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:57 .github [2021-05-09T11:00:37.304Z] -rw-rw-r-- 1 jenkins jenkins 277 May 9 10:57 .gitignore [2021-05-09T11:00:37.304Z] -rw-rw-r-- 1 jenkins jenkins 8153 May 9 10:57 Attribution.txt [2021-05-09T11:00:37.304Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 9 10:57 Dockerfile [2021-05-09T11:00:37.304Z] -rw-rw-r-- 1 jenkins jenkins 998 May 9 10:57 Dockerfile.build [2021-05-09T11:00:37.305Z] -rw-rw-r-- 1 jenkins jenkins 660 May 9 10:57 Jenkinsfile [2021-05-09T11:00:37.305Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 9 10:57 LICENSE [2021-05-09T11:00:37.305Z] -rw-rw-r-- 1 jenkins jenkins 901 May 9 10:57 Makefile [2021-05-09T11:00:37.305Z] -rw-rw-r-- 1 jenkins jenkins 2745 May 9 10:57 README.md [2021-05-09T11:00:37.305Z] -rw-rw-r-- 1 jenkins jenkins 12 May 9 10:54 VERSION [2021-05-09T11:00:37.305Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:57 bin [2021-05-09T11:00:37.305Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:57 cmd [2021-05-09T11:00:37.305Z] -rw-r--r-- 1 jenkins jenkins 47247 May 9 10:59 coverage.out [2021-05-09T11:00:37.305Z] -rw-r--r-- 1 jenkins jenkins 809 May 9 11:00 go.mod [2021-05-09T11:00:37.305Z] -rw-r--r-- 1 jenkins jenkins 23585 May 9 10:58 go.sum [2021-05-09T11:00:37.305Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:57 internal [2021-05-09T11:00:37.305Z] -rw-rw-r-- 1 jenkins jenkins 235 May 9 10:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:00:37.656Z] + 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=f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 --label arch=arm64 --label version=1.3.2-dev.12 . [2021-05-09T11:00:37.926Z] Sending build context to Docker daemon 590.8kB [2021-05-09T11:00:37.926Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-05-09T11:00:37.926Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-09T11:00:37.926Z] ---> 6cf2b806220d [2021-05-09T11:00:37.926Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-09T11:00:38.197Z] ---> Running in 8294b3c39cd7 [2021-05-09T11:00:38.792Z] Removing intermediate container 8294b3c39cd7 [2021-05-09T11:00:38.792Z] ---> 005a91964034 [2021-05-09T11:00:38.792Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-09T11:00:38.792Z] ---> Running in eb634dddd5f4 [2021-05-09T11:00:39.394Z] Removing intermediate container eb634dddd5f4 [2021-05-09T11:00:39.394Z] ---> 58c7e7f798c4 [2021-05-09T11:00:39.394Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-09T11:00:39.394Z] ---> Running in 9cba80b572d7 [2021-05-09T11:00:39.989Z] Removing intermediate container 9cba80b572d7 [2021-05-09T11:00:39.990Z] ---> ed70441b8931 [2021-05-09T11:00:39.990Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T11:00:39.990Z] ---> Running in 88302741424b [2021-05-09T11:00:42.609Z] Removing intermediate container 88302741424b [2021-05-09T11:00:42.609Z] ---> 9d85b6ec12ea [2021-05-09T11:00:42.609Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-09T11:00:42.609Z] ---> Running in 5a1066dc55fd [2021-05-09T11:00:43.589Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-09T11:00:45.562Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-09T11:00:46.560Z] OK: 145 MiB in 53 packages [2021-05-09T11:00:47.543Z] Removing intermediate container 5a1066dc55fd [2021-05-09T11:00:47.543Z] ---> b540b6390376 [2021-05-09T11:00:47.543Z] Step 8/25 : COPY . . [2021-05-09T11:00:48.525Z] ---> fdabe4124735 [2021-05-09T11:00:48.525Z] Step 9/25 : RUN go mod download [2021-05-09T11:00:48.799Z] ---> Running in 4a64101c359a [2021-05-09T11:00:51.423Z] Removing intermediate container 4a64101c359a [2021-05-09T11:00:51.423Z] ---> a9966a97dffd [2021-05-09T11:00:51.423Z] Step 10/25 : ARG MAKE='make build' [2021-05-09T11:00:51.423Z] ---> Running in a26047e51995 [2021-05-09T11:00:51.698Z] Removing intermediate container a26047e51995 [2021-05-09T11:00:51.698Z] ---> c1dc534a9f9e [2021-05-09T11:00:51.698Z] Step 11/25 : RUN $MAKE [2021-05-09T11:00:51.698Z] ---> Running in eb98c841d063 [2021-05-09T11:00:53.144Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.12" -o cmd/device-virtual ./cmd [2021-05-09T11:01:40.176Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-09T11:01:52.573Z] Removing intermediate container eb98c841d063 [2021-05-09T11:01:52.573Z] ---> c6c3db2645a3 [2021-05-09T11:01:52.573Z] Step 12/25 : FROM alpine:3.12 [2021-05-09T11:01:52.573Z] 3.12: Pulling from library/alpine [2021-05-09T11:01:52.573Z] d2f70382dc9a: Pulling fs layer [2021-05-09T11:01:52.573Z] d2f70382dc9a: Verifying Checksum [2021-05-09T11:01:52.573Z] d2f70382dc9a: Download complete [2021-05-09T11:01:52.573Z] d2f70382dc9a: Pull complete [2021-05-09T11:01:52.573Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-09T11:01:52.573Z] Status: Downloaded newer image for alpine:3.12 [2021-05-09T11:01:52.573Z] ---> 9852663dfa18 [2021-05-09T11:01:52.573Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-09T11:01:52.573Z] ---> Running in 102ba68d9875 [2021-05-09T11:01:53.180Z] Removing intermediate container 102ba68d9875 [2021-05-09T11:01:53.180Z] ---> fbf0daefb47a [2021-05-09T11:01:53.180Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T11:01:53.464Z] ---> Running in 672e9784d4e2 [2021-05-09T11:01:55.453Z] Removing intermediate container 672e9784d4e2 [2021-05-09T11:01:55.453Z] ---> a1d7f6677f54 [2021-05-09T11:01:55.453Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-09T11:01:55.453Z] ---> Running in 0baa6f471f24 [2021-05-09T11:01:56.892Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-09T11:01:59.507Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-09T11:02:04.888Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-09T11:02:04.888Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-09T11:02:05.159Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-09T11:02:05.751Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-09T11:02:07.178Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-09T11:02:07.774Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-09T11:02:07.774Z] Executing busybox-1.31.1-r20.trigger [2021-05-09T11:02:07.774Z] OK: 8 MiB in 20 packages [2021-05-09T11:02:09.208Z] Removing intermediate container 0baa6f471f24 [2021-05-09T11:02:09.208Z] ---> 1aecfcde2f46 [2021-05-09T11:02:09.208Z] Step 16/25 : WORKDIR / [2021-05-09T11:02:09.208Z] ---> Running in f3e6551976a4 [2021-05-09T11:02:09.826Z] Removing intermediate container f3e6551976a4 [2021-05-09T11:02:09.826Z] ---> 06cdd20f34d4 [2021-05-09T11:02:09.826Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-09T11:02:10.421Z] ---> 6c90c68253b2 [2021-05-09T11:02:10.421Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-09T11:02:11.395Z] ---> d398a7a81545 [2021-05-09T11:02:11.396Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-09T11:02:12.828Z] ---> d9f5c5c0a274 [2021-05-09T11:02:12.828Z] Step 20/25 : EXPOSE 49990 [2021-05-09T11:02:12.828Z] ---> Running in d6593033a274 [2021-05-09T11:02:13.099Z] Removing intermediate container d6593033a274 [2021-05-09T11:02:13.099Z] ---> 5329056fd3e6 [2021-05-09T11:02:13.099Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-09T11:02:13.372Z] ---> Running in fe23d7358d2d [2021-05-09T11:02:13.646Z] Removing intermediate container fe23d7358d2d [2021-05-09T11:02:13.646Z] ---> fbb602e98974 [2021-05-09T11:02:13.646Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-09T11:02:13.918Z] ---> Running in 5ec4e17d8ae8 [2021-05-09T11:02:14.190Z] Removing intermediate container 5ec4e17d8ae8 [2021-05-09T11:02:14.190Z] ---> fc8bc09dd55d [2021-05-09T11:02:14.190Z] Step 23/25 : LABEL arch=arm64 [2021-05-09T11:02:14.463Z] ---> Running in f929a144dc9a [2021-05-09T11:02:15.056Z] Removing intermediate container f929a144dc9a [2021-05-09T11:02:15.056Z] ---> 9877f8781fce [2021-05-09T11:02:15.056Z] Step 24/25 : LABEL git_sha=f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 [2021-05-09T11:02:15.056Z] ---> Running in 484034ca7202 [2021-05-09T11:02:15.654Z] Removing intermediate container 484034ca7202 [2021-05-09T11:02:15.654Z] ---> 76afe39ce01e [2021-05-09T11:02:15.654Z] Step 25/25 : LABEL version=1.3.2-dev.12 [2021-05-09T11:02:15.654Z] ---> Running in ab43c2a1ed4a [2021-05-09T11:02:16.252Z] Removing intermediate container ab43c2a1ed4a [2021-05-09T11:02:16.252Z] ---> 05f4e5760778 [2021-05-09T11:02:16.252Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-09T11:02:16.252Z] Successfully built 05f4e5760778 [2021-05-09T11:02:16.252Z] 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-05-09T11:02:16.418Z] provisioning config files... [2021-05-09T11:02:16.473Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/51@tmp/config5069792435299208285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:02:16.840Z] ---> docker-login.sh [2021-05-09T11:02:16.840Z] nexus3.edgexfoundry.org:10001 [2021-05-09T11:02:17.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:02:17.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:02:17.112Z] Configure a credential helper to remove this warning. See [2021-05-09T11:02:17.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:02:17.112Z] [2021-05-09T11:02:17.112Z] Login Succeeded [2021-05-09T11:02:17.383Z] nexus3.edgexfoundry.org:10002 [2021-05-09T11:02:17.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:02:17.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:02:17.926Z] Configure a credential helper to remove this warning. See [2021-05-09T11:02:17.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:02:17.926Z] [2021-05-09T11:02:17.926Z] Login Succeeded [2021-05-09T11:02:17.926Z] nexus3.edgexfoundry.org:10003 [2021-05-09T11:02:18.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:02:18.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:02:18.201Z] Configure a credential helper to remove this warning. See [2021-05-09T11:02:18.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:02:18.201Z] [2021-05-09T11:02:18.201Z] Login Succeeded [2021-05-09T11:02:18.201Z] nexus3.edgexfoundry.org:10004 [2021-05-09T11:02:18.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:02:18.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:02:18.792Z] Configure a credential helper to remove this warning. See [2021-05-09T11:02:18.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:02:18.792Z] [2021-05-09T11:02:18.792Z] Login Succeeded [2021-05-09T11:02:18.792Z] docker.io [2021-05-09T11:02:19.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:02:19.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:02:19.658Z] Configure a credential helper to remove this warning. See [2021-05-09T11:02:19.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:02:19.658Z] [2021-05-09T11:02:19.658Z] Login Succeeded [2021-05-09T11:02:19.658Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T11:02:19.675Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-09T11:02:19.751Z] [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: [2021-05-09T11:02:19.751Z] f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 [2021-05-09T11:02:19.751Z] latest [2021-05-09T11:02:19.751Z] 1.3.2-dev.12 [2021-05-09T11:02:19.751Z] f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1-1.3.2-dev.12 [2021-05-09T11:02:19.751Z] master [2021-05-09T11:02:19.751Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:02:20.136Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:02:20.490Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 [2021-05-09T11:02:20.490Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-05-09T11:02:20.490Z] 801d6db0ea17: Preparing [2021-05-09T11:02:20.490Z] ff74d960b070: Preparing [2021-05-09T11:02:20.490Z] c99d192e8215: Preparing [2021-05-09T11:02:20.490Z] dc2c3d376b42: Preparing [2021-05-09T11:02:20.490Z] acb30711f4a6: Preparing [2021-05-09T11:02:20.490Z] 3fbe34a1663b: Preparing [2021-05-09T11:02:20.490Z] 3fbe34a1663b: Waiting [2021-05-09T11:02:21.088Z] ff74d960b070: Pushed [2021-05-09T11:02:21.088Z] acb30711f4a6: Pushed [2021-05-09T11:02:21.088Z] c99d192e8215: Pushed [2021-05-09T11:02:21.088Z] 3fbe34a1663b: Layer already exists [2021-05-09T11:02:21.684Z] dc2c3d376b42: Pushed [2021-05-09T11:02:24.291Z] 801d6db0ea17: Pushed [2021-05-09T11:02:24.563Z] f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1: digest: sha256:2269c2abe6755adc98a139039ce4cfd467fd3001e7ae6ae67a732553d07539de size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:02:24.920Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:02:25.282Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [2021-05-09T11:02:25.282Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-05-09T11:02:25.282Z] 801d6db0ea17: Preparing [2021-05-09T11:02:25.282Z] ff74d960b070: Preparing [2021-05-09T11:02:25.282Z] c99d192e8215: Preparing [2021-05-09T11:02:25.282Z] dc2c3d376b42: Preparing [2021-05-09T11:02:25.282Z] acb30711f4a6: Preparing [2021-05-09T11:02:25.282Z] 3fbe34a1663b: Preparing [2021-05-09T11:02:25.282Z] 3fbe34a1663b: Waiting [2021-05-09T11:02:25.282Z] ff74d960b070: Layer already exists [2021-05-09T11:02:25.282Z] acb30711f4a6: Layer already exists [2021-05-09T11:02:25.282Z] c99d192e8215: Layer already exists [2021-05-09T11:02:25.567Z] 801d6db0ea17: Layer already exists [2021-05-09T11:02:25.567Z] dc2c3d376b42: Layer already exists [2021-05-09T11:02:25.567Z] 3fbe34a1663b: Layer already exists [2021-05-09T11:02:25.567Z] latest: digest: sha256:2269c2abe6755adc98a139039ce4cfd467fd3001e7ae6ae67a732553d07539de size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:02:25.916Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.12 [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:02:26.253Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.12 [2021-05-09T11:02:26.253Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-05-09T11:02:26.253Z] 801d6db0ea17: Preparing [2021-05-09T11:02:26.253Z] ff74d960b070: Preparing [2021-05-09T11:02:26.253Z] c99d192e8215: Preparing [2021-05-09T11:02:26.253Z] dc2c3d376b42: Preparing [2021-05-09T11:02:26.253Z] acb30711f4a6: Preparing [2021-05-09T11:02:26.253Z] 3fbe34a1663b: Preparing [2021-05-09T11:02:26.253Z] 3fbe34a1663b: Waiting [2021-05-09T11:02:26.253Z] acb30711f4a6: Layer already exists [2021-05-09T11:02:26.526Z] 801d6db0ea17: Layer already exists [2021-05-09T11:02:26.526Z] ff74d960b070: Layer already exists [2021-05-09T11:02:26.526Z] c99d192e8215: Layer already exists [2021-05-09T11:02:26.526Z] dc2c3d376b42: Layer already exists [2021-05-09T11:02:26.526Z] 3fbe34a1663b: Layer already exists [2021-05-09T11:02:26.526Z] 1.3.2-dev.12: digest: sha256:2269c2abe6755adc98a139039ce4cfd467fd3001e7ae6ae67a732553d07539de size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:02:26.871Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1-1.3.2-dev.12 [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:02:27.213Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1-1.3.2-dev.12 [2021-05-09T11:02:27.213Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-05-09T11:02:27.213Z] 801d6db0ea17: Preparing [2021-05-09T11:02:27.213Z] ff74d960b070: Preparing [2021-05-09T11:02:27.213Z] c99d192e8215: Preparing [2021-05-09T11:02:27.213Z] dc2c3d376b42: Preparing [2021-05-09T11:02:27.213Z] acb30711f4a6: Preparing [2021-05-09T11:02:27.213Z] 3fbe34a1663b: Preparing [2021-05-09T11:02:27.213Z] 3fbe34a1663b: Waiting [2021-05-09T11:02:27.213Z] dc2c3d376b42: Layer already exists [2021-05-09T11:02:27.213Z] acb30711f4a6: Layer already exists [2021-05-09T11:02:27.213Z] 801d6db0ea17: Layer already exists [2021-05-09T11:02:27.213Z] c99d192e8215: Layer already exists [2021-05-09T11:02:27.213Z] ff74d960b070: Layer already exists [2021-05-09T11:02:27.213Z] 3fbe34a1663b: Layer already exists [2021-05-09T11:02:27.485Z] f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1-1.3.2-dev.12: digest: sha256:2269c2abe6755adc98a139039ce4cfd467fd3001e7ae6ae67a732553d07539de size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:02:27.827Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:02:28.218Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [2021-05-09T11:02:28.218Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-05-09T11:02:28.218Z] 801d6db0ea17: Preparing [2021-05-09T11:02:28.218Z] ff74d960b070: Preparing [2021-05-09T11:02:28.218Z] c99d192e8215: Preparing [2021-05-09T11:02:28.218Z] dc2c3d376b42: Preparing [2021-05-09T11:02:28.218Z] acb30711f4a6: Preparing [2021-05-09T11:02:28.218Z] 3fbe34a1663b: Preparing [2021-05-09T11:02:28.218Z] 3fbe34a1663b: Waiting [2021-05-09T11:02:28.218Z] 801d6db0ea17: Layer already exists [2021-05-09T11:02:28.218Z] acb30711f4a6: Layer already exists [2021-05-09T11:02:28.218Z] ff74d960b070: Layer already exists [2021-05-09T11:02:28.218Z] dc2c3d376b42: Layer already exists [2021-05-09T11:02:28.218Z] c99d192e8215: Layer already exists [2021-05-09T11:02:28.218Z] 3fbe34a1663b: Layer already exists [2021-05-09T11:02:28.494Z] master: digest: sha256:2269c2abe6755adc98a139039ce4cfd467fd3001e7ae6ae67a732553d07539de size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-09T11:02:28.588Z] ===================================================== [Pipeline] echo [2021-05-09T11:02:28.606Z] taggedImages: [2021-05-09T11:02:28.606Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 [2021-05-09T11:02:28.606Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [2021-05-09T11:02:28.606Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.12 [2021-05-09T11:02:28.606Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1-1.3.2-dev.12 [2021-05-09T11:02:28.606Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:02:29.047Z] ---> job-cost.sh [2021-05-09T11:02:29.047Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-P7r3 [2021-05-09T11:03:08.095Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-09T11:04:44.848Z] lf-activate-venv(): INFO: Adding /tmp/venv-P7r3/bin to PATH [2021-05-09T11:04:44.848Z] INFO: No Stack... [2021-05-09T11:04:44.848Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-09T11:04:44.848Z] INFO: Archiving Costs [Pipeline] sh [2021-05-09T11:04:45.184Z] + cat /w/workspace/device-virtual-go/51/archives/cost.csv [2021-05-09T11:04:45.184Z] + cut -d, -f6 [Pipeline] lock [2021-05-09T11:04:45.294Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-51-stack-cost] [2021-05-09T11:04:45.305Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-51-stack-cost] did not exist. Created. [2021-05-09T11:04:45.305Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-09T11:04:45.678Z] /w/workspace/device-virtual-go/51@tmp/durable-f5db9d2f/script.sh: 1: /w/workspace/device-virtual-go/51@tmp/durable-f5db9d2f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-09T11:04:46.020Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-09T11:04:46.041Z] Warning: overwriting stash ‘stack-cost’ [2021-05-09T11:04:46.194Z] Stashed 1 file(s) [Pipeline] } [2021-05-09T11:04:46.203Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-51-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-09T11:04:46.600Z] provisioning config files... [2021-05-09T11:04:46.612Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8170976333468417327tmp [Pipeline] { [Pipeline] sh [2021-05-09T11:04:46.939Z] + set +x [2021-05-09T11:04:46.939Z] + curl -s https://codecov.io/bash [2021-05-09T11:04:46.939Z] + bash -s -- [2021-05-09T11:04:47.204Z] [2021-05-09T11:04:47.204Z] _____ _ [2021-05-09T11:04:47.204Z] / ____| | | [2021-05-09T11:04:47.204Z] | | ___ __| | ___ ___ _____ __ [2021-05-09T11:04:47.204Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-09T11:04:47.204Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-09T11:04:47.204Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-09T11:04:47.204Z] Bash-1.0.2 [2021-05-09T11:04:47.204Z] [2021-05-09T11:04:47.204Z] [2021-05-09T11:04:47.204Z] ==> git version 2.24.3 found [2021-05-09T11:04:47.204Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-09T11:04:47.204Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-09T11:04:47.204Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-09T11:04:47.204Z] ==> Jenkins CI detected. [2021-05-09T11:04:47.204Z] project root: . [2021-05-09T11:04:47.204Z] --> token set from env [2021-05-09T11:04:47.204Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-09T11:04:47.204Z] ==> Running gcov in . (disable via -X gcov) [2021-05-09T11:04:47.204Z] ==> Python coveragepy not found [2021-05-09T11:04:47.204Z] ==> Searching for coverage reports in: [2021-05-09T11:04:47.204Z] + . [2021-05-09T11:04:47.204Z] -> Found 1 reports [2021-05-09T11:04:47.204Z] ==> Detecting git/mercurial file structure [2021-05-09T11:04:47.204Z] ==> Reading reports [2021-05-09T11:04:47.204Z] + ./coverage.out bytes=47247 [2021-05-09T11:04:47.204Z] ==> Appending adjustments [2021-05-09T11:04:47.204Z] https://docs.codecov.io/docs/fixing-reports [2021-05-09T11:04:47.470Z] + Found adjustments [2021-05-09T11:04:47.470Z] ==> Gzipping contents [2021-05-09T11:04:47.470Z] 8.0K /tmp/codecov.j2m9Kp.gz [2021-05-09T11:04:47.470Z] ==> Uploading reports [2021-05-09T11:04:47.470Z] url: https://codecov.io [2021-05-09T11:04:47.470Z] query: branch=master&commit=f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-09T11:04:47.470Z] -> Pinging Codecov [2021-05-09T11:04:47.470Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-09T11:04:48.048Z] -> Uploading to [2021-05-09T11:04:48.048Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-09/5E52B4B073DB2E39498172D8E973AA87/f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1/f3149124-e311-4b45-b3ac-c58031474b89.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210509T110447Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=34e321cfe1fc7870bf82c8663dfa91626c1f422d6fb4638ec98ca499078954db [2021-05-09T11:04:48.048Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-09T11:04:48.048Z] Dload Upload Total Spent Left Speed [2021-05-09T11:04:48.310Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5807 0 0 100 5807 0 14826 --:--:-- --:--:-- --:--:-- 14851 [2021-05-09T11:04:48.310Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 [Pipeline] } [2021-05-09T11:04:48.321Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-09T11:04:48.569Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-09T11:04:48.620Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:04:48.933Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-09T11:04:48.933Z] [2021-05-09T11:04:48.933Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:04:49.258Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-09T11:04:49.258Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-09T11:04:49.258Z] 188c0c94c7c5: Pulling fs layer [2021-05-09T11:04:49.258Z] 0ef7d3d256c8: Pulling fs layer [2021-05-09T11:04:49.258Z] de9db76c5a1d: Pulling fs layer [2021-05-09T11:04:49.258Z] 0eba1c9be4d2: Pulling fs layer [2021-05-09T11:04:49.258Z] 0d57e429df01: Pulling fs layer [2021-05-09T11:04:49.258Z] 4e4be7b47b0d: Pulling fs layer [2021-05-09T11:04:49.258Z] e1f770b5df2f: Pulling fs layer [2021-05-09T11:04:49.258Z] 85a0685a4137: Pulling fs layer [2021-05-09T11:04:49.258Z] 0d57e429df01: Waiting [2021-05-09T11:04:49.259Z] e1f770b5df2f: Waiting [2021-05-09T11:04:49.259Z] 85a0685a4137: Waiting [2021-05-09T11:04:49.259Z] 4e4be7b47b0d: Waiting [2021-05-09T11:04:49.259Z] 0eba1c9be4d2: Waiting [2021-05-09T11:04:49.259Z] de9db76c5a1d: Verifying Checksum [2021-05-09T11:04:49.259Z] de9db76c5a1d: Download complete [2021-05-09T11:04:49.259Z] 0ef7d3d256c8: Download complete [2021-05-09T11:04:49.259Z] 0d57e429df01: Download complete [2021-05-09T11:04:49.259Z] 4e4be7b47b0d: Verifying Checksum [2021-05-09T11:04:49.259Z] 4e4be7b47b0d: Download complete [2021-05-09T11:04:49.533Z] 188c0c94c7c5: Verifying Checksum [2021-05-09T11:04:49.533Z] 188c0c94c7c5: Download complete [2021-05-09T11:04:49.803Z] 188c0c94c7c5: Pull complete [2021-05-09T11:04:50.072Z] 0ef7d3d256c8: Pull complete [2021-05-09T11:04:50.334Z] de9db76c5a1d: Pull complete [2021-05-09T11:04:50.334Z] e1f770b5df2f: Verifying Checksum [2021-05-09T11:04:50.334Z] e1f770b5df2f: Download complete [2021-05-09T11:04:53.892Z] 0eba1c9be4d2: Verifying Checksum [2021-05-09T11:04:53.892Z] 0eba1c9be4d2: Download complete [2021-05-09T11:04:53.892Z] 85a0685a4137: Verifying Checksum [2021-05-09T11:04:53.892Z] 85a0685a4137: Download complete [2021-05-09T11:05:00.542Z] 0eba1c9be4d2: Pull complete [2021-05-09T11:05:00.542Z] 0d57e429df01: Pull complete [2021-05-09T11:05:00.542Z] 4e4be7b47b0d: Pull complete [2021-05-09T11:05:01.946Z] e1f770b5df2f: Pull complete [2021-05-09T11:05:10.162Z] 85a0685a4137: Pull complete [2021-05-09T11:05:10.163Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-09T11:05:10.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-09T11:05:10.163Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-09T11:05:10.409Z] prd-centos7-docker-4c-2g-3813 does not seem to be running inside a container [2021-05-09T11:05:10.462Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-09T11:05:11.624Z] $ docker top 55aa77580714e18065376d718ee98a94112e72d9ded7f510bdc32426b1cf0dff -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-09T11:05:11.764Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-09T11:05:12.064Z] + set -o pipefail [2021-05-09T11:05:12.064Z] + snyk monitor '--org=edgex-jenkins' [2021-05-09T11:05:24.343Z] [2021-05-09T11:05:24.343Z] Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... [2021-05-09T11:05:24.343Z] [2021-05-09T11:05:24.343Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/b096eb9a-e937-4956-b94f-4c9f19c4b6af [2021-05-09T11:05:24.343Z] [2021-05-09T11:05:24.343Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-09T11:05:24.343Z] [2021-05-09T11:05:24.343Z] [Pipeline] } [2021-05-09T11:05:24.637Z] $ docker stop --time=1 55aa77580714e18065376d718ee98a94112e72d9ded7f510bdc32426b1cf0dff [2021-05-09T11:05:27.530Z] $ docker rm -f 55aa77580714e18065376d718ee98a94112e72d9ded7f510bdc32426b1cf0dff [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-05-09T11:05:28.787Z] + git log --format=format:%s -1 f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:05:29.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T11:05:29.121Z] . [Pipeline] withDockerContainer [2021-05-09T11:05:29.273Z] prd-centos7-docker-4c-2g-3813 does not seem to be running inside a container [2021-05-09T11:05:29.326Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-09T11:05:30.207Z] $ docker top 54f410e96a537af827200ba2d2677bb609df798324aa7dd052f627f97f376b6e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-09T11:05:30.422Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T11:05:30.422Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T11:05:30.696Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T11:05:30.702Z] $ docker exec 54f410e96a537af827200ba2d2677bb609df798324aa7dd052f627f97f376b6e ssh-agent [2021-05-09T11:05:30.896Z] SSH_AUTH_SOCK=/tmp/ssh-mOb80g84jEhS/agent.11 [2021-05-09T11:05:30.896Z] SSH_AGENT_PID=16 [2021-05-09T11:05:30.904Z] Running ssh-add (command line suppressed) [2021-05-09T11:05:31.057Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8697051950684816355.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8697051950684816355.key) [2021-05-09T11:05:31.123Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T11:05:31.434Z] + git semver tag [2021-05-09T11:05:31.434Z] # -> Open(): unable to determine branch for HEAD [2021-05-09T11:05:31.434Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-09T11:05:31.434Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-09T11:05:31.434Z] # $SEMVER_REMOTE_NAME = origin [2021-05-09T11:05:31.434Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-09T11:05:31.434Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-09T11:05:31.434Z] # $SEMVER_BRANCH = master [2021-05-09T11:05:31.434Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-05-09T11:05:31.434Z] # f4aebf8748ab7be86a29ddf5fd115bbf3ef26eb1 HEAD [2021-05-09T11:05:31.697Z] # -> Force: false [2021-05-09T11:05:31.697Z] # 59f71b953157e7f7a6634f7f64206ccda1eded76 refs/tags/v1.3.2-dev.12 [Pipeline] } [2021-05-09T11:05:31.714Z] $ docker exec --env ******** --env ******** 54f410e96a537af827200ba2d2677bb609df798324aa7dd052f627f97f376b6e ssh-agent -k [2021-05-09T11:05:31.865Z] unset SSH_AUTH_SOCK; [2021-05-09T11:05:31.867Z] unset SSH_AGENT_PID; [2021-05-09T11:05:31.867Z] echo Agent pid 16 killed; [2021-05-09T11:05:31.930Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-09T11:05:32.274Z] + git semver [Pipeline] } [2021-05-09T11:05:32.295Z] $ docker stop --time=1 54f410e96a537af827200ba2d2677bb609df798324aa7dd052f627f97f376b6e [2021-05-09T11:05:33.709Z] $ docker rm -f 54f410e96a537af827200ba2d2677bb609df798324aa7dd052f627f97f376b6e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:05:34.206Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-09T11:05:34.206Z] [2021-05-09T11:05:34.206Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:05:34.530Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-09T11:05:34.531Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-09T11:05:34.531Z] ab5ef0e58194: Pulling fs layer [2021-05-09T11:05:34.531Z] 9712f1f96733: Pulling fs layer [2021-05-09T11:05:34.531Z] 63f879dbbcfc: Pulling fs layer [2021-05-09T11:05:34.531Z] 0d9ebad4ef96: Pulling fs layer [2021-05-09T11:05:34.531Z] e9a5061849ea: Pulling fs layer [2021-05-09T11:05:34.531Z] d747dcd14b5f: Pulling fs layer [2021-05-09T11:05:34.531Z] 2de7ff778b66: Pulling fs layer [2021-05-09T11:05:34.531Z] e9a5061849ea: Waiting [2021-05-09T11:05:34.531Z] d747dcd14b5f: Waiting [2021-05-09T11:05:34.531Z] 0d9ebad4ef96: Waiting [2021-05-09T11:05:34.531Z] 9712f1f96733: Verifying Checksum [2021-05-09T11:05:34.531Z] 9712f1f96733: Download complete [2021-05-09T11:05:35.928Z] 63f879dbbcfc: Verifying Checksum [2021-05-09T11:05:35.928Z] 63f879dbbcfc: Download complete [2021-05-09T11:05:36.194Z] e9a5061849ea: Verifying Checksum [2021-05-09T11:05:36.194Z] e9a5061849ea: Download complete [2021-05-09T11:05:36.194Z] d747dcd14b5f: Verifying Checksum [2021-05-09T11:05:36.194Z] d747dcd14b5f: Download complete [2021-05-09T11:05:36.781Z] 2de7ff778b66: Verifying Checksum [2021-05-09T11:05:36.781Z] 2de7ff778b66: Download complete [2021-05-09T11:05:36.781Z] 0d9ebad4ef96: Verifying Checksum [2021-05-09T11:05:36.781Z] 0d9ebad4ef96: Download complete [2021-05-09T11:05:37.053Z] ab5ef0e58194: Verifying Checksum [2021-05-09T11:05:37.053Z] ab5ef0e58194: Download complete [2021-05-09T11:05:42.392Z] ab5ef0e58194: Pull complete [2021-05-09T11:05:42.392Z] 9712f1f96733: Pull complete [2021-05-09T11:05:43.790Z] 63f879dbbcfc: Pull complete [2021-05-09T11:05:50.417Z] 0d9ebad4ef96: Pull complete [2021-05-09T11:05:52.986Z] e9a5061849ea: Pull complete [2021-05-09T11:05:52.986Z] d747dcd14b5f: Pull complete [2021-05-09T11:05:54.925Z] 2de7ff778b66: Pull complete [2021-05-09T11:05:54.925Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-09T11:05:54.925Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-09T11:05:54.925Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-09T11:05:55.152Z] prd-centos7-docker-4c-2g-3813 does not seem to be running inside a container [2021-05-09T11:05:55.202Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-09T11:05:58.962Z] $ docker top 6dc5b9f14b90fe76ee8b32910e861f03669955bc3124a9f75dc560da16fe5cdf -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-09T11:05:59.092Z] provisioning config files... [2021-05-09T11:05:59.103Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config4936735554992838824tmp [2021-05-09T11:05:59.124Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8073706174014383658tmp [2021-05-09T11:05:59.142Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5369930343217706006tmp [Pipeline] { [Pipeline] echo [2021-05-09T11:05:59.167Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:05:59.481Z] ---> sigul-configuration.sh [2021-05-09T11:05:59.481Z] gpg: directory `/root/.gnupg' created [2021-05-09T11:05:59.481Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-09T11:05:59.481Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-09T11:05:59.481Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-09T11:05:59.481Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-09T11:05:59.481Z] gpg: CAST5 encrypted data [2021-05-09T11:05:59.744Z] gpg: encrypted with 1 passphrase [2021-05-09T11:05:59.744Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-09T11:06:00.045Z] + mkdir /home/jenkins [2021-05-09T11:06:00.045Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-09T11:06:00.356Z] + 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-05-09T11:06:00.368Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:06:00.664Z] ---> sigul-install.sh [2021-05-09T11:06:07.314Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-09T11:06:07.621Z] + git tag --list [2021-05-09T11:06:07.621Z] v1.0.0 [2021-05-09T11:06:07.621Z] v1.1.0 [2021-05-09T11:06:07.621Z] v1.1.1 [2021-05-09T11:06:07.621Z] v1.2.1 [2021-05-09T11:06:07.621Z] v1.2.2 [2021-05-09T11:06:07.621Z] v1.2.3 [2021-05-09T11:06:07.621Z] v1.3.0 [2021-05-09T11:06:07.621Z] v1.3.1 [2021-05-09T11:06:07.621Z] v1.3.1-dev.1 [2021-05-09T11:06:07.621Z] v1.3.1-dev.2 [2021-05-09T11:06:07.621Z] v1.3.1-dev.3 [2021-05-09T11:06:07.621Z] v1.3.1-dev.4 [2021-05-09T11:06:07.621Z] v1.3.1-dev.5 [2021-05-09T11:06:07.621Z] v1.3.2-dev.1 [2021-05-09T11:06:07.621Z] v1.3.2-dev.10 [2021-05-09T11:06:07.621Z] v1.3.2-dev.11 [2021-05-09T11:06:07.621Z] v1.3.2-dev.12 [2021-05-09T11:06:07.621Z] v1.3.2-dev.2 [2021-05-09T11:06:07.621Z] v1.3.2-dev.3 [2021-05-09T11:06:07.621Z] v1.3.2-dev.4 [2021-05-09T11:06:07.621Z] v1.3.2-dev.5 [2021-05-09T11:06:07.621Z] v1.3.2-dev.6 [2021-05-09T11:06:07.621Z] v1.3.2-dev.7 [2021-05-09T11:06:07.621Z] v1.3.2-dev.8 [2021-05-09T11:06:07.621Z] v1.3.2-dev.9 [Pipeline] sh [2021-05-09T11:06:07.931Z] + lftools sign git-tag v1.3.2-dev.12 [2021-05-09T11:06:09.326Z] Signing Git tag with Sigul... [2021-05-09T11:06:09.326Z] Signing v1.3.2-dev.12 [Pipeline] echo [2021-05-09T11:06:10.732Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:06:11.036Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-09T11:06:11.048Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-09T11:06:11.081Z] $ docker stop --time=1 6dc5b9f14b90fe76ee8b32910e861f03669955bc3124a9f75dc560da16fe5cdf [2021-05-09T11:06:13.354Z] $ docker rm -f 6dc5b9f14b90fe76ee8b32910e861f03669955bc3124a9f75dc560da16fe5cdf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:06:14.046Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T11:06:14.046Z] . [Pipeline] withDockerContainer [2021-05-09T11:06:14.207Z] prd-centos7-docker-4c-2g-3813 does not seem to be running inside a container [2021-05-09T11:06:14.255Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-09T11:06:15.031Z] $ docker top 2c2b7ff86479e8fad468ee00506a8794ff6275c4577966bc80bc5b939d8815cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-09T11:06:15.222Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T11:06:15.222Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T11:06:15.427Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T11:06:15.432Z] $ docker exec 2c2b7ff86479e8fad468ee00506a8794ff6275c4577966bc80bc5b939d8815cd ssh-agent [2021-05-09T11:06:15.611Z] SSH_AUTH_SOCK=/tmp/ssh-ETttBAemIRDl/agent.11 [2021-05-09T11:06:15.611Z] SSH_AGENT_PID=17 [2021-05-09T11:06:15.619Z] Running ssh-add (command line suppressed) [2021-05-09T11:06:15.756Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_212476207683653230.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_212476207683653230.key) [2021-05-09T11:06:15.817Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T11:06:16.127Z] + git semver bump pre [2021-05-09T11:06:16.127Z] # -> Open(): unable to determine branch for HEAD [2021-05-09T11:06:16.127Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-09T11:06:16.127Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-09T11:06:16.127Z] # $SEMVER_REMOTE_NAME = origin [2021-05-09T11:06:16.127Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-09T11:06:16.127Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-09T11:06:16.127Z] # $SEMVER_BRANCH = master [2021-05-09T11:06:16.127Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-05-09T11:06:16.127Z] 1.3.2-dev.13 [Pipeline] } [2021-05-09T11:06:16.143Z] $ docker exec --env ******** --env ******** 2c2b7ff86479e8fad468ee00506a8794ff6275c4577966bc80bc5b939d8815cd ssh-agent -k [2021-05-09T11:06:16.281Z] unset SSH_AUTH_SOCK; [2021-05-09T11:06:16.281Z] unset SSH_AGENT_PID; [2021-05-09T11:06:16.281Z] echo Agent pid 17 killed; [2021-05-09T11:06:16.335Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-09T11:06:16.671Z] + git semver [Pipeline] } [2021-05-09T11:06:16.689Z] $ docker stop --time=1 2c2b7ff86479e8fad468ee00506a8794ff6275c4577966bc80bc5b939d8815cd [2021-05-09T11:06:18.036Z] $ docker rm -f 2c2b7ff86479e8fad468ee00506a8794ff6275c4577966bc80bc5b939d8815cd [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:06:18.475Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T11:06:18.475Z] . [Pipeline] withDockerContainer [2021-05-09T11:06:18.586Z] prd-centos7-docker-4c-2g-3813 does not seem to be running inside a container [2021-05-09T11:06:18.638Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-09T11:06:19.359Z] $ docker top f310adf60977140466c2bab529cfebd1de33c118bae082bd547e66ba502e9056 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-09T11:06:19.558Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T11:06:19.558Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T11:06:19.827Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T11:06:19.833Z] $ docker exec f310adf60977140466c2bab529cfebd1de33c118bae082bd547e66ba502e9056 ssh-agent [2021-05-09T11:06:20.013Z] SSH_AUTH_SOCK=/tmp/ssh-gLSYdFfuVuV6/agent.11 [2021-05-09T11:06:20.013Z] SSH_AGENT_PID=17 [2021-05-09T11:06:20.022Z] Running ssh-add (command line suppressed) [2021-05-09T11:06:20.190Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5603568608329219597.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5603568608329219597.key) [2021-05-09T11:06:20.271Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T11:06:20.579Z] + git semver push [2021-05-09T11:06:20.579Z] # -> Open(): unable to determine branch for HEAD [2021-05-09T11:06:20.579Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-09T11:06:20.579Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-09T11:06:20.579Z] # $SEMVER_REMOTE_NAME = origin [2021-05-09T11:06:20.579Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-09T11:06:20.579Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-09T11:06:20.579Z] # $SEMVER_BRANCH = master [2021-05-09T11:06:20.579Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-05-09T11:06:24.813Z] $ docker exec --env ******** --env ******** f310adf60977140466c2bab529cfebd1de33c118bae082bd547e66ba502e9056 ssh-agent -k [2021-05-09T11:06:24.968Z] unset SSH_AUTH_SOCK; [2021-05-09T11:06:24.969Z] unset SSH_AGENT_PID; [2021-05-09T11:06:24.969Z] echo Agent pid 17 killed; [2021-05-09T11:06:25.021Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-09T11:06:25.357Z] + git semver [Pipeline] } [2021-05-09T11:06:25.378Z] $ docker stop --time=1 f310adf60977140466c2bab529cfebd1de33c118bae082bd547e66ba502e9056 [2021-05-09T11:06:26.734Z] $ docker rm -f f310adf60977140466c2bab529cfebd1de33c118bae082bd547e66ba502e9056 [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-05-09T11:06:27.469Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:06:28.041Z] ---> package-listing.sh [2021-05-09T11:06:28.041Z] ++ facter osfamily [2021-05-09T11:06:28.042Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-09T11:06:28.042Z] + OS_FAMILY=redhat [2021-05-09T11:06:28.042Z] + workspace=/w/workspace/foundry_device-virtual-go_master [2021-05-09T11:06:28.042Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-09T11:06:28.042Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-09T11:06:28.042Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-09T11:06:28.042Z] + PACKAGES=/tmp/packages_start.txt [2021-05-09T11:06:28.042Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-05-09T11:06:28.042Z] + PACKAGES=/tmp/packages_end.txt [2021-05-09T11:06:28.042Z] + case "${OS_FAMILY}" in [2021-05-09T11:06:28.042Z] + rpm -qa [2021-05-09T11:06:28.042Z] + sort [2021-05-09T11:06:33.360Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-09T11:06:33.360Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-09T11:06:33.360Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-09T11:06:33.360Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-05-09T11:06:33.360Z] + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ [2021-05-09T11:06:33.360Z] + 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-05-09T11:06:33.374Z] 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-05-09T11:06:33.666Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:06:33.975Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-09T11:06:33.975Z] [2021-05-09T11:06:33.975Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:06:34.301Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-09T11:06:34.301Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-09T11:06:34.301Z] df20fa9351a1: Pulling fs layer [2021-05-09T11:06:34.301Z] 36b3adc4ff6f: Pulling fs layer [2021-05-09T11:06:34.301Z] 8ad3a11d3b57: Pulling fs layer [2021-05-09T11:06:34.301Z] 46f8f816bc3b: Pulling fs layer [2021-05-09T11:06:34.301Z] 93b61091891f: Pulling fs layer [2021-05-09T11:06:34.301Z] 93b9cdb0e59b: Pulling fs layer [2021-05-09T11:06:34.301Z] 5e14af77c1be: Pulling fs layer [2021-05-09T11:06:34.301Z] 01666e4c0597: Pulling fs layer [2021-05-09T11:06:34.301Z] aa168da1d23b: Pulling fs layer [2021-05-09T11:06:34.301Z] 46f8f816bc3b: Waiting [2021-05-09T11:06:34.301Z] 93b61091891f: Waiting [2021-05-09T11:06:34.301Z] 93b9cdb0e59b: Waiting [2021-05-09T11:06:34.301Z] 5e14af77c1be: Waiting [2021-05-09T11:06:34.301Z] 01666e4c0597: Waiting [2021-05-09T11:06:34.301Z] aa168da1d23b: Waiting [2021-05-09T11:06:34.301Z] 36b3adc4ff6f: Verifying Checksum [2021-05-09T11:06:34.301Z] 36b3adc4ff6f: Download complete [2021-05-09T11:06:34.301Z] 46f8f816bc3b: Verifying Checksum [2021-05-09T11:06:34.301Z] 46f8f816bc3b: Download complete [2021-05-09T11:06:34.301Z] df20fa9351a1: Verifying Checksum [2021-05-09T11:06:34.301Z] df20fa9351a1: Download complete [2021-05-09T11:06:34.301Z] 93b9cdb0e59b: Verifying Checksum [2021-05-09T11:06:34.301Z] 93b9cdb0e59b: Download complete [2021-05-09T11:06:34.301Z] 5e14af77c1be: Verifying Checksum [2021-05-09T11:06:34.301Z] 5e14af77c1be: Download complete [2021-05-09T11:06:34.567Z] 93b61091891f: Verifying Checksum [2021-05-09T11:06:34.567Z] 93b61091891f: Download complete [2021-05-09T11:06:34.567Z] 01666e4c0597: Verifying Checksum [2021-05-09T11:06:34.567Z] 8ad3a11d3b57: Verifying Checksum [2021-05-09T11:06:34.567Z] 8ad3a11d3b57: Download complete [2021-05-09T11:06:34.830Z] df20fa9351a1: Pull complete [2021-05-09T11:06:35.099Z] 36b3adc4ff6f: Pull complete [2021-05-09T11:06:36.514Z] 8ad3a11d3b57: Pull complete [2021-05-09T11:06:36.514Z] 46f8f816bc3b: Pull complete [2021-05-09T11:06:37.088Z] aa168da1d23b: Verifying Checksum [2021-05-09T11:06:37.088Z] aa168da1d23b: Download complete [2021-05-09T11:06:37.665Z] 93b61091891f: Pull complete [2021-05-09T11:06:37.665Z] 93b9cdb0e59b: Pull complete [2021-05-09T11:06:37.930Z] 5e14af77c1be: Pull complete [2021-05-09T11:06:37.930Z] 01666e4c0597: Pull complete [2021-05-09T11:06:46.156Z] aa168da1d23b: Pull complete [2021-05-09T11:06:46.156Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-09T11:06:46.156Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-09T11:06:46.156Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-09T11:06:46.382Z] prd-centos7-docker-4c-2g-3813 does not seem to be running inside a container [2021-05-09T11:06:46.432Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-09T11:06:49.249Z] $ docker top c5591323326d4bab242e6ee6d91aed0788148a406ebc704f9207e6003c2f55f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T11:06:49.673Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-09T11:06:49.977Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-09T11:06:50.282Z] + ls /var/log/sa-host [2021-05-09T11:06:50.282Z] + sadf -c /var/log/sa-host/sa09 [2021-05-09T11:06:50.282Z] file_magic: OK [2021-05-09T11:06:50.282Z] HZ: Using current value: 100 [2021-05-09T11:06:50.282Z] file_header: OK [2021-05-09T11:06:50.282Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-09T11:06:50.282Z] Statistics: [2021-05-09T11:06:50.282Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-09T11:06:50.282Z] File successfully converted to sysstat format version 12.2.1 [2021-05-09T11:06:50.282Z] + sadf -c /var/log/sa-host/sa23 [2021-05-09T11:06:50.282Z] file_magic: OK [2021-05-09T11:06:50.282Z] HZ: Using current value: 100 [2021-05-09T11:06:50.282Z] file_header: OK [2021-05-09T11:06:50.282Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-09T11:06:50.282Z] Statistics: [2021-05-09T11:06:50.282Z] Hnuu...uuuununununu... [2021-05-09T11:06:50.282Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-09T11:06:50.453Z] provisioning config files... [2021-05-09T11:06:50.472Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7027217103519139773tmp [Pipeline] { [Pipeline] echo [2021-05-09T11:06:50.495Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:06:50.798Z] ---> create-netrc.sh [Pipeline] } [2021-05-09T11:06:50.808Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-09T11:06:50.834Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:06:51.133Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-09T11:06:51.146Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:06:51.490Z] ---> sudo-logs.sh [2021-05-09T11:06:51.490Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-09T11:06:51.530Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:06:51.855Z] ---> job-cost.sh [2021-05-09T11:06:51.855Z] lf-activate-venv: SKIPPING [2021-05-09T11:06:51.855Z] DEBUG: total: 0.20999999344348907 [2021-05-09T11:06:51.855Z] INFO: Retrieving Stack Cost... [2021-05-09T11:06:53.778Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-09T11:06:54.354Z] INFO: Archiving Costs [Pipeline] echo [2021-05-09T11:06:54.368Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:06:54.674Z] ---> logs-deploy.sh [2021-05-09T11:06:54.674Z] lf-activate-venv: SKIPPING [2021-05-09T11:06:54.674Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/51 [2021-05-09T11:06:54.674Z] INFO: archiving workspace using pattern(s): [2021-05-09T11:06:56.068Z] Archives upload complete. [2021-05-09T11:06:56.330Z] INFO: archiving logs to Nexus