Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8719970064737440205.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5371290155089621428.key > 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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3638697197195217075.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5926249126455201658.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1976431309834396121.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1162 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_master@tmp/jenkins-gitclient-ssh8885453014147921285.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 # timeout=10 Commit message: "Merge pull request #228 from weichou1229/update-core-contracts" > git rev-list --no-walk dbe2230dab2cfb6b0568b89c91ed9776e212a8b1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-24T10:19:33.576Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-24T10:19:33.674Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-24T10:19:33.708Z] ========================================================= [2021-06-24T10:19:33.708Z] EdgeX Global Pipelines Version Info [2021-06-24T10:19:33.708Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-24T10:19:35.131Z] ------------------- [2021-06-24T10:19:35.131Z] stable info: [2021-06-24T10:19:35.131Z] ------------------- [2021-06-24T10:19:35.131Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-24T10:19:35.131Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-24T10:19:35.131Z] Message: update stable to v1.0.195 [2021-06-24T10:19:35.709Z] ------------------- [2021-06-24T10:19:35.709Z] experimental info: [2021-06-24T10:19:35.709Z] ------------------- [2021-06-24T10:19:35.709Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-24T10:19:35.709Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-24T10:19:35.709Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-24T10:19:35.850Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-06-24T10:19:35.878Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-06-24T10:19:35.905Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-24T10:19:35.938Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-24T10:19:35.967Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-24T10:19:35.997Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-24T10:19:36.029Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-24T10:19:36.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-24T10:19:36.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-24T10:19:36.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-24T10:19:36.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-24T10:19:36.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-06-24T10:19:36.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-24T10:19:36.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-24T10:19:36.288Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-24T10:19:36.315Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-24T10:19:36.339Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T10:19:36.364Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T10:19:36.399Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-24T10:19:36.442Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-24T10:19:36.481Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-24T10:19:36.515Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-24T10:19:36.545Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-24T10:19:36.571Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-24T10:19:36.602Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-24T10:19:36.630Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-24T10:19:36.658Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-06-24T10:19:36.686Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-06-24T10:19:36.734Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-06-24T10:19:36.761Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 [Pipeline] echo [2021-06-24T10:19:36.787Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f458d0 [Pipeline] echo [2021-06-24T10:19:36.815Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T10:19:36.912Z] provisioning config files... [2021-06-24T10:19:36.930Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5238160000482719684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T10:19:37.264Z] ---> docker-login.sh [2021-06-24T10:19:37.264Z] nexus3.edgexfoundry.org:10001 [2021-06-24T10:19:37.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:19:37.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:19:37.786Z] Configure a credential helper to remove this warning. See [2021-06-24T10:19:37.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:19:37.786Z] [2021-06-24T10:19:37.786Z] Login Succeeded [2021-06-24T10:19:37.786Z] nexus3.edgexfoundry.org:10002 [2021-06-24T10:19:37.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:19:38.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:19:38.049Z] Configure a credential helper to remove this warning. See [2021-06-24T10:19:38.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:19:38.049Z] [2021-06-24T10:19:38.049Z] Login Succeeded [2021-06-24T10:19:38.049Z] nexus3.edgexfoundry.org:10003 [2021-06-24T10:19:38.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:19:38.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:19:38.049Z] Configure a credential helper to remove this warning. See [2021-06-24T10:19:38.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:19:38.049Z] [2021-06-24T10:19:38.049Z] Login Succeeded [2021-06-24T10:19:38.049Z] nexus3.edgexfoundry.org:10004 [2021-06-24T10:19:38.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:19:38.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:19:38.049Z] Configure a credential helper to remove this warning. See [2021-06-24T10:19:38.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:19:38.049Z] [2021-06-24T10:19:38.049Z] Login Succeeded [2021-06-24T10:19:38.049Z] docker.io [2021-06-24T10:19:38.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:19:38.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:19:38.571Z] Configure a credential helper to remove this warning. See [2021-06-24T10:19:38.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:19:38.571Z] [2021-06-24T10:19:38.571Z] Login Succeeded [2021-06-24T10:19:38.571Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T10:19:38.580Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T10:19:41.225Z] + git log --format=format:%s -1 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 [Pipeline] echo [2021-06-24T10:19:41.265Z] GIT_COMMIT: 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3, Commit Message: Merge pull request #228 from weichou1229/update-core-contracts [Pipeline] echo [2021-06-24T10:19:41.279Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:19:42.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T10:19:42.269Z] [2021-06-24T10:19:42.269Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:19:42.607Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T10:19:42.607Z] latest: Pulling from edgex-devops/git-semver [2021-06-24T10:19:42.607Z] 31603596830f: Pulling fs layer [2021-06-24T10:19:42.607Z] 54011a49482f: Pulling fs layer [2021-06-24T10:19:42.607Z] a6820b24f6d8: Pulling fs layer [2021-06-24T10:19:42.607Z] f581987b2513: Pulling fs layer [2021-06-24T10:19:42.607Z] f581987b2513: Waiting [2021-06-24T10:19:42.868Z] 54011a49482f: Verifying Checksum [2021-06-24T10:19:42.868Z] 54011a49482f: Download complete [2021-06-24T10:19:42.868Z] 31603596830f: Download complete [2021-06-24T10:19:43.131Z] f581987b2513: Verifying Checksum [2021-06-24T10:19:43.131Z] f581987b2513: Download complete [2021-06-24T10:19:43.131Z] 31603596830f: Pull complete [2021-06-24T10:19:43.397Z] 54011a49482f: Pull complete [2021-06-24T10:19:43.669Z] a6820b24f6d8: Verifying Checksum [2021-06-24T10:19:43.669Z] a6820b24f6d8: Download complete [2021-06-24T10:19:44.271Z] a6820b24f6d8: Pull complete [2021-06-24T10:19:44.537Z] f581987b2513: Pull complete [2021-06-24T10:19:44.537Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-24T10:19:44.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T10:19:44.537Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-24T10:19:44.639Z] prd-centos7-docker-4c-2g-1162 does not seem to be running inside a container [2021-06-24T10:19:44.680Z] $ 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-06-24T10:19:46.066Z] $ docker top ff8d3e980e1637020dea0cbaa3ef8a844edda74a291d3d7d918f4599bf0a0820 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-24T10:19:46.209Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T10:19:46.209Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T10:19:46.326Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T10:19:46.324Z] $ docker exec ff8d3e980e1637020dea0cbaa3ef8a844edda74a291d3d7d918f4599bf0a0820 ssh-agent [2021-06-24T10:19:46.434Z] SSH_AUTH_SOCK=/tmp/ssh-xoHqqxziPbz6/agent.14 [2021-06-24T10:19:46.434Z] SSH_AGENT_PID=20 [2021-06-24T10:19:46.443Z] Running ssh-add (command line suppressed) [2021-06-24T10:19:46.535Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5433638777959631230.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5433638777959631230.key) [2021-06-24T10:19:46.559Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T10:19:46.864Z] + git tag --points-at HEAD [Pipeline] } [2021-06-24T10:19:46.874Z] $ docker exec --env ******** --env ******** ff8d3e980e1637020dea0cbaa3ef8a844edda74a291d3d7d918f4599bf0a0820 ssh-agent -k [2021-06-24T10:19:46.963Z] unset SSH_AUTH_SOCK; [2021-06-24T10:19:46.964Z] unset SSH_AGENT_PID; [2021-06-24T10:19:46.964Z] echo Agent pid 20 killed; [2021-06-24T10:19:46.981Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-24T10:19:47.029Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T10:19:47.030Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T10:19:47.141Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T10:19:47.138Z] $ docker exec ff8d3e980e1637020dea0cbaa3ef8a844edda74a291d3d7d918f4599bf0a0820 ssh-agent [2021-06-24T10:19:47.246Z] SSH_AUTH_SOCK=/tmp/ssh-kETXuvIGBMzu/agent.54 [2021-06-24T10:19:47.246Z] SSH_AGENT_PID=61 [2021-06-24T10:19:47.251Z] Running ssh-add (command line suppressed) [2021-06-24T10:19:47.340Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_7741206282076650277.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_7741206282076650277.key) [2021-06-24T10:19:47.362Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T10:19:47.670Z] + git semver init [2021-06-24T10:19:47.670Z] # -> Open(): unable to determine branch for HEAD [2021-06-24T10:19:47.670Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-06-24T10:19:47.670Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-06-24T10:19:47.670Z] # $SEMVER_REMOTE_NAME = origin [2021-06-24T10:19:47.670Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-24T10:19:47.670Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-24T10:19:47.670Z] # $SEMVER_BRANCH = master [2021-06-24T10:19:47.670Z] # $SEMVER_TEMP = /tmp/semver-227960374 [2021-06-24T10:19:47.670Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-06-24T10:19:50.221Z] # '/tmp/semver-227960374' -> '/w/workspace/foundry_device-virtual-go_master/.semver' [2021-06-24T10:19:50.221Z] # -> Force: false [2021-06-24T10:19:50.221Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-06-24T10:19:50.229Z] $ docker exec --env ******** --env ******** ff8d3e980e1637020dea0cbaa3ef8a844edda74a291d3d7d918f4599bf0a0820 ssh-agent -k [2021-06-24T10:19:50.319Z] unset SSH_AUTH_SOCK; [2021-06-24T10:19:50.319Z] unset SSH_AGENT_PID; [2021-06-24T10:19:50.320Z] echo Agent pid 61 killed; [2021-06-24T10:19:50.337Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-24T10:19:50.674Z] + git semver [Pipeline] } [2021-06-24T10:19:50.685Z] $ docker stop --time=1 ff8d3e980e1637020dea0cbaa3ef8a844edda74a291d3d7d918f4599bf0a0820 [2021-06-24T10:19:52.070Z] $ docker rm -f ff8d3e980e1637020dea0cbaa3ef8a844edda74a291d3d7d918f4599bf0a0820 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T10:19:52.449Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-24T10:19:52.854Z] Stashed 1 file(s) [Pipeline] echo [2021-06-24T10:19:52.859Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.28 [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-06-24T10:20:08.144Z] Still waiting to schedule task [2021-06-24T10:20:08.145Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-24T10:20:08.148Z] Still waiting to schedule task [2021-06-24T10:20:08.149Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1160’ is offline [2021-06-24T10:22:10.983Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1163 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-06-24T10:22:11.003Z] Running in /w/workspace/device-virtual-go/68 [Pipeline] { [Pipeline] checkout [2021-06-24T10:22:11.225Z] The recommended git tool is: git [2021-06-24T10:22:17.190Z] using credential edgex-jenkins-ssh [2021-06-24T10:22:17.215Z] Cloning the remote Git repository [2021-06-24T10:22:17.269Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-24T10:22:17.387Z] > git init /w/workspace/device-virtual-go/68 # timeout=10 [2021-06-24T10:22:17.461Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-24T10:22:17.461Z] > git --version # timeout=10 [2021-06-24T10:22:17.476Z] > git --version # 'git version 2.17.1' [2021-06-24T10:22:17.478Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T10:22:17.595Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T10:22:19.274Z] Avoid second fetch [2021-06-24T10:22:19.275Z] Checking out Revision 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 (master) [2021-06-24T10:22:19.219Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-24T10:22:19.248Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T10:22:19.292Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T10:22:19.318Z] > git checkout -f 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 # timeout=10 [2021-06-24T10:22:23.573Z] Commit message: "Merge pull request #228 from weichou1229/update-core-contracts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T10:22:24.900Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-24T10:22:25.442Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-24T10:22:25.794Z] + + truesudo [2021-06-24T10:22:25.794Z] service docker restart [2021-06-24T10:22:31.688Z] Running on prd-centos7-docker-4c-2g-1164 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-06-24T10:22:31.710Z] Running in /w/workspace/device-virtual-go/68 [Pipeline] { [Pipeline] checkout [2021-06-24T10:22:31.819Z] The recommended git tool is: git [2021-06-24T10:22:34.139Z] using credential edgex-jenkins-ssh [2021-06-24T10:22:34.152Z] Cloning the remote Git repository [2021-06-24T10:22:35.106Z] Avoid second fetch [2021-06-24T10:22:35.107Z] Checking out Revision 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 (master) [2021-06-24T10:22:34.182Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-24T10:22:34.258Z] > git init /w/workspace/device-virtual-go/68 # timeout=10 [2021-06-24T10:22:34.288Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-24T10:22:34.289Z] > git --version # timeout=10 [2021-06-24T10:22:34.298Z] > git --version # 'git version 2.24.4' [2021-06-24T10:22:34.299Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T10:22:34.325Z] [INFO] Currently running in a labeled security context [2021-06-24T10:22:34.325Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T10:22:34.325Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/68@tmp/jenkins-gitclient-ssh945742217209038869.key [2021-06-24T10:22:34.336Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T10:22:35.089Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-24T10:22:35.097Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T10:22:35.110Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T10:22:35.120Z] > git checkout -f 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 # timeout=10 [2021-06-24T10:22:38.690Z] Commit message: "Merge pull request #228 from weichou1229/update-core-contracts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T10:22:39.775Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-24T10:22:40.104Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-24T10:22:40.413Z] + sudo service docker restart [2021-06-24T10:22:40.413Z] + true [2021-06-24T10:22:40.413Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T10:22:46.090Z] provisioning config files... [2021-06-24T10:22:46.118Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/68@tmp/config532496630783261456tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T10:22:46.497Z] ---> docker-login.sh [2021-06-24T10:22:46.497Z] nexus3.edgexfoundry.org:10001 [2021-06-24T10:22:47.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:22:47.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:22:47.763Z] Configure a credential helper to remove this warning. See [2021-06-24T10:22:47.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:22:47.763Z] [2021-06-24T10:22:47.763Z] Login Succeeded [2021-06-24T10:22:47.764Z] nexus3.edgexfoundry.org:10002 [2021-06-24T10:22:48.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:22:48.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:22:48.315Z] Configure a credential helper to remove this warning. See [2021-06-24T10:22:48.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:22:48.315Z] [2021-06-24T10:22:48.315Z] Login Succeeded [2021-06-24T10:22:48.315Z] nexus3.edgexfoundry.org:10003 [2021-06-24T10:22:48.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:22:48.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:22:48.865Z] Configure a credential helper to remove this warning. See [2021-06-24T10:22:48.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:22:48.865Z] [2021-06-24T10:22:48.865Z] Login Succeeded [2021-06-24T10:22:48.865Z] nexus3.edgexfoundry.org:10004 [2021-06-24T10:22:49.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:22:49.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:22:49.422Z] Configure a credential helper to remove this warning. See [2021-06-24T10:22:49.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:22:49.422Z] [2021-06-24T10:22:49.422Z] Login Succeeded [2021-06-24T10:22:49.422Z] docker.io [2021-06-24T10:22:49.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:22:50.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:22:50.309Z] Configure a credential helper to remove this warning. See [2021-06-24T10:22:50.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:22:50.309Z] [2021-06-24T10:22:50.309Z] Login Succeeded [2021-06-24T10:22:50.309Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T10:22:50.327Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-24T10:22:50.642Z] ========================================================= [2021-06-24T10:22:50.642Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-24T10:22:50.642Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:22:50.985Z] + 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-06-24T10:22:51.587Z] Sending build context to Docker daemon 8.619MB [2021-06-24T10:22:51.587Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T10:22:51.587Z] Step 2/8 : FROM ${BASE} [2021-06-24T10:22:51.587Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-24T10:22:51.587Z] 595b0fe564bb: Pulling fs layer [2021-06-24T10:22:51.587Z] 3088b5b3c5c0: Pulling fs layer [2021-06-24T10:22:51.587Z] 5b7225fbf94c: Pulling fs layer [2021-06-24T10:22:51.587Z] ba82ee9f976e: Pulling fs layer [2021-06-24T10:22:51.587Z] 506bd15cee9f: Pulling fs layer [2021-06-24T10:22:51.587Z] 75a0a4a0db45: Pulling fs layer [2021-06-24T10:22:51.587Z] 618dc40b7e24: Pulling fs layer [2021-06-24T10:22:51.587Z] ba82ee9f976e: Waiting [2021-06-24T10:22:51.587Z] 506bd15cee9f: Waiting [2021-06-24T10:22:51.587Z] 75a0a4a0db45: Waiting [2021-06-24T10:22:51.587Z] 618dc40b7e24: Waiting [2021-06-24T10:22:51.870Z] 5b7225fbf94c: Download complete [2021-06-24T10:22:51.870Z] 3088b5b3c5c0: Download complete [2021-06-24T10:22:51.870Z] 595b0fe564bb: Verifying Checksum [2021-06-24T10:22:51.870Z] 595b0fe564bb: Download complete [2021-06-24T10:22:51.870Z] 75a0a4a0db45: Verifying Checksum [2021-06-24T10:22:51.870Z] 75a0a4a0db45: Download complete [2021-06-24T10:22:52.465Z] 595b0fe564bb: Pull complete [2021-06-24T10:22:53.451Z] 3088b5b3c5c0: Pull complete [2021-06-24T10:22:53.733Z] 5b7225fbf94c: Pull complete [2021-06-24T10:22:54.721Z] 618dc40b7e24: Verifying Checksum [2021-06-24T10:22:54.721Z] 618dc40b7e24: Download complete [2021-06-24T10:22:55.712Z] ba82ee9f976e: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T10:22:58.596Z] provisioning config files... [2021-06-24T10:22:58.614Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/68@tmp/config8577992128973461818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T10:22:58.930Z] ---> docker-login.sh [2021-06-24T10:22:58.931Z] nexus3.edgexfoundry.org:10001 [2021-06-24T10:22:58.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:22:59.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:22:59.192Z] Configure a credential helper to remove this warning. See [2021-06-24T10:22:59.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:22:59.192Z] [2021-06-24T10:22:59.192Z] Login Succeeded [2021-06-24T10:22:59.192Z] nexus3.edgexfoundry.org:10002 [2021-06-24T10:22:59.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:22:59.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:22:59.193Z] Configure a credential helper to remove this warning. See [2021-06-24T10:22:59.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:22:59.193Z] [2021-06-24T10:22:59.193Z] Login Succeeded [2021-06-24T10:22:59.193Z] nexus3.edgexfoundry.org:10003 [2021-06-24T10:22:59.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:22:59.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:22:59.457Z] Configure a credential helper to remove this warning. See [2021-06-24T10:22:59.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:22:59.457Z] [2021-06-24T10:22:59.457Z] Login Succeeded [2021-06-24T10:22:59.457Z] nexus3.edgexfoundry.org:10004 [2021-06-24T10:22:59.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:22:59.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:22:59.457Z] Configure a credential helper to remove this warning. See [2021-06-24T10:22:59.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:22:59.457Z] [2021-06-24T10:22:59.457Z] Login Succeeded [2021-06-24T10:22:59.457Z] docker.io [2021-06-24T10:22:59.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:23:02.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:23:02.150Z] Configure a credential helper to remove this warning. See [2021-06-24T10:23:02.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:23:02.150Z] [2021-06-24T10:23:02.150Z] Login Succeeded [2021-06-24T10:23:02.150Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T10:23:02.162Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-24T10:23:02.402Z] ========================================================= [2021-06-24T10:23:02.402Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-24T10:23:02.402Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:23:02.733Z] + 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-06-24T10:23:02.733Z] Sending build context to Docker daemon 8.62MB [2021-06-24T10:23:02.733Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T10:23:02.733Z] Step 2/8 : FROM ${BASE} [2021-06-24T10:23:02.733Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-24T10:23:02.733Z] 540db60ca938: Pulling fs layer [2021-06-24T10:23:02.733Z] adcc1eea9eea: Pulling fs layer [2021-06-24T10:23:02.733Z] 4c4ab2625f07: Pulling fs layer [2021-06-24T10:23:02.733Z] 0510c868ecb4: Pulling fs layer [2021-06-24T10:23:02.733Z] afea3b2eda06: Pulling fs layer [2021-06-24T10:23:02.733Z] 7809a108b3ef: Pulling fs layer [2021-06-24T10:23:02.733Z] f706445af74f: Pulling fs layer [2021-06-24T10:23:02.733Z] 0510c868ecb4: Waiting [2021-06-24T10:23:02.733Z] afea3b2eda06: Waiting [2021-06-24T10:23:02.733Z] 7809a108b3ef: Waiting [2021-06-24T10:23:02.733Z] f706445af74f: Waiting [2021-06-24T10:23:02.999Z] 4c4ab2625f07: Verifying Checksum [2021-06-24T10:23:02.999Z] 4c4ab2625f07: Download complete [2021-06-24T10:23:02.999Z] adcc1eea9eea: Verifying Checksum [2021-06-24T10:23:02.999Z] adcc1eea9eea: Download complete [2021-06-24T10:23:02.999Z] afea3b2eda06: Verifying Checksum [2021-06-24T10:23:02.999Z] afea3b2eda06: Download complete [2021-06-24T10:23:02.999Z] 540db60ca938: Verifying Checksum [2021-06-24T10:23:02.999Z] 540db60ca938: Download complete [2021-06-24T10:23:02.999Z] 7809a108b3ef: Verifying Checksum [2021-06-24T10:23:02.999Z] 7809a108b3ef: Download complete [2021-06-24T10:23:02.999Z] 540db60ca938: Pull complete [2021-06-24T10:23:03.262Z] adcc1eea9eea: Pull complete [2021-06-24T10:23:03.262Z] 4c4ab2625f07: Pull complete [2021-06-24T10:23:04.217Z] f706445af74f: Verifying Checksum [2021-06-24T10:23:04.217Z] f706445af74f: Download complete [2021-06-24T10:23:04.799Z] 0510c868ecb4: Verifying Checksum [2021-06-24T10:23:04.799Z] 0510c868ecb4: Download complete [2021-06-24T10:23:06.136Z] ba82ee9f976e: Pull complete [2021-06-24T10:23:06.136Z] 506bd15cee9f: Pull complete [2021-06-24T10:23:06.136Z] 75a0a4a0db45: Pull complete [2021-06-24T10:23:08.163Z] 0510c868ecb4: Pull complete [2021-06-24T10:23:08.163Z] afea3b2eda06: Pull complete [2021-06-24T10:23:08.163Z] 7809a108b3ef: Pull complete [2021-06-24T10:23:09.538Z] 618dc40b7e24: Pull complete [2021-06-24T10:23:09.538Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-24T10:23:09.538Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-24T10:23:09.538Z] ---> a36622ca3599 [2021-06-24T10:23:09.538Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-24T10:23:09.600Z] f706445af74f: Pull complete [2021-06-24T10:23:09.600Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-24T10:23:09.600Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-24T10:23:09.600Z] ---> b068be0155e3 [2021-06-24T10:23:09.600Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-24T10:23:11.525Z] ---> Running in d2b95e3a91e2 [2021-06-24T10:23:11.802Z] Removing intermediate container d2b95e3a91e2 [2021-06-24T10:23:11.802Z] ---> 58e5881f7544 [2021-06-24T10:23:11.802Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T10:23:12.077Z] ---> Running in 786a8b73cb24 [2021-06-24T10:23:14.718Z] Removing intermediate container 786a8b73cb24 [2021-06-24T10:23:14.718Z] ---> 70944dee6aab [2021-06-24T10:23:14.718Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-24T10:23:14.718Z] ---> Running in ab2f268ee547 [2021-06-24T10:23:15.706Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-24T10:23:16.208Z] ---> Running in 8d46c441ba70 [2021-06-24T10:23:16.208Z] Removing intermediate container 8d46c441ba70 [2021-06-24T10:23:16.208Z] ---> 4e92215f47ec [2021-06-24T10:23:16.208Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T10:23:16.208Z] ---> Running in 343f2af89dcd [2021-06-24T10:23:16.208Z] Removing intermediate container 343f2af89dcd [2021-06-24T10:23:16.208Z] ---> 1e76b1c96a52 [2021-06-24T10:23:16.208Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-24T10:23:16.208Z] ---> Running in 1f5ea4c82067 [2021-06-24T10:23:16.469Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-24T10:23:16.684Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-24T10:23:17.416Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-24T10:23:17.668Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-24T10:23:17.668Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-24T10:23:17.668Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-24T10:23:18.266Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-24T10:23:18.266Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-24T10:23:18.266Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-24T10:23:18.266Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-24T10:23:18.802Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-24T10:23:18.802Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-24T10:23:18.802Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-24T10:23:18.862Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-24T10:23:18.862Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-24T10:23:19.071Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-24T10:23:19.071Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-24T10:23:19.071Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-24T10:23:19.134Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-24T10:23:19.134Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-24T10:23:19.334Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-24T10:23:19.410Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-24T10:23:19.410Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-24T10:23:19.410Z] Executing busybox-1.32.1-r6.trigger [2021-06-24T10:23:19.596Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-24T10:23:19.596Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-24T10:23:19.684Z] OK: 145 MiB in 53 packages [2021-06-24T10:23:19.859Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-24T10:23:19.859Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-24T10:23:19.859Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-24T10:23:20.121Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-24T10:23:20.121Z] Executing busybox-1.32.1-r6.trigger [2021-06-24T10:23:20.121Z] OK: 156 MiB in 53 packages [2021-06-24T10:23:20.695Z] Removing intermediate container 1f5ea4c82067 [2021-06-24T10:23:20.695Z] ---> 6704406b04fc [2021-06-24T10:23:20.695Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-24T10:23:20.695Z] ---> Running in d4d19c56e265 [2021-06-24T10:23:20.695Z] Removing intermediate container d4d19c56e265 [2021-06-24T10:23:20.695Z] ---> ec12e6a6cb49 [2021-06-24T10:23:20.695Z] Step 7/8 : COPY . . [2021-06-24T10:23:20.957Z] ---> 1f60462ad8d8 [2021-06-24T10:23:20.957Z] Step 8/8 : RUN go mod download [2021-06-24T10:23:20.957Z] ---> Running in d6b6cb7dd7be [2021-06-24T10:23:21.124Z] Removing intermediate container ab2f268ee547 [2021-06-24T10:23:21.124Z] ---> 7dcecc5f05ab [2021-06-24T10:23:21.124Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-24T10:23:21.124Z] ---> Running in 518e3f459277 [2021-06-24T10:23:21.722Z] Removing intermediate container 518e3f459277 [2021-06-24T10:23:21.722Z] ---> 1bec38628963 [2021-06-24T10:23:21.722Z] Step 7/8 : COPY . . [2021-06-24T10:23:22.707Z] ---> 218f3c56f2cc [2021-06-24T10:23:22.707Z] Step 8/8 : RUN go mod download [2021-06-24T10:23:22.982Z] ---> Running in 92e9303c80e6 [2021-06-24T10:23:35.895Z] Removing intermediate container d6b6cb7dd7be [2021-06-24T10:23:35.896Z] ---> 088c522b8109 [2021-06-24T10:23:35.896Z] Successfully built 088c522b8109 [2021-06-24T10:23:35.896Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:23:36.213Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-24T10:23:36.213Z] . [Pipeline] withDockerContainer [2021-06-24T10:23:36.296Z] prd-centos7-docker-4c-2g-1164 does not seem to be running inside a container [2021-06-24T10:23:36.342Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/68 -v /w/workspace/device-virtual-go/68:/w/workspace/device-virtual-go/68:rw,z -v /w/workspace/device-virtual-go/68@tmp:/w/workspace/device-virtual-go/68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-24T10:23:37.085Z] $ docker top ad0880680acbde076c0bf2eb7a5b1bf99eb731d23cef79a824b317d5ae50ddd0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T10:23:37.481Z] + go version [2021-06-24T10:23:37.481Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-24T10:23:37.491Z] $ docker stop --time=1 ad0880680acbde076c0bf2eb7a5b1bf99eb731d23cef79a824b317d5ae50ddd0 [2021-06-24T10:23:38.714Z] $ docker rm -f ad0880680acbde076c0bf2eb7a5b1bf99eb731d23cef79a824b317d5ae50ddd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:23:39.363Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-24T10:23:39.363Z] . [Pipeline] withDockerContainer [2021-06-24T10:23:39.433Z] prd-centos7-docker-4c-2g-1164 does not seem to be running inside a container [2021-06-24T10:23:39.474Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/68 -v /w/workspace/device-virtual-go/68:/w/workspace/device-virtual-go/68:rw,z -v /w/workspace/device-virtual-go/68@tmp:/w/workspace/device-virtual-go/68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-24T10:23:39.915Z] $ docker top c4a6f0d4b1c8d944914b437be2b9852114012df4db7b0eb27149e55d793d740c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T10:23:40.318Z] + go mod tidy [Pipeline] sh [2021-06-24T10:23:40.904Z] + make test [2021-06-24T10:23:40.904Z] go mod tidy [2021-06-24T10:23:40.904Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-24T10:23:41.479Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-24T10:23:50.119Z] Removing intermediate container 92e9303c80e6 [2021-06-24T10:23:50.119Z] ---> 72ed01bab887 [2021-06-24T10:23:50.119Z] Successfully built 72ed01bab887 [2021-06-24T10:23:50.119Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:23:50.471Z] + docker inspect -f . ci-base-image-arm64 [2021-06-24T10:23:50.471Z] . [Pipeline] withDockerContainer [2021-06-24T10:23:50.747Z] prd-ubuntu18.04-docker-arm64-4c-16g-1163 does not seem to be running inside a container [2021-06-24T10:23:50.838Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/68 -v /w/workspace/device-virtual-go/68:/w/workspace/device-virtual-go/68:rw,z -v /w/workspace/device-virtual-go/68@tmp:/w/workspace/device-virtual-go/68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-24T10:23:52.432Z] $ docker top ba42afe6fde87132aeac8708f03b25d93d48a37dc787e245569321cac23ca3bc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T10:23:53.415Z] + go version [2021-06-24T10:23:53.415Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-24T10:23:53.437Z] $ docker stop --time=1 ba42afe6fde87132aeac8708f03b25d93d48a37dc787e245569321cac23ca3bc [2021-06-24T10:23:55.251Z] $ docker rm -f ba42afe6fde87132aeac8708f03b25d93d48a37dc787e245569321cac23ca3bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:23:56.057Z] + docker inspect -f . ci-base-image-arm64 [2021-06-24T10:23:56.057Z] . [Pipeline] withDockerContainer [2021-06-24T10:23:56.321Z] prd-ubuntu18.04-docker-arm64-4c-16g-1163 does not seem to be running inside a container [2021-06-24T10:23:56.406Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/68 -v /w/workspace/device-virtual-go/68:/w/workspace/device-virtual-go/68:rw,z -v /w/workspace/device-virtual-go/68@tmp:/w/workspace/device-virtual-go/68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-24T10:23:57.976Z] $ docker top 953a4cb2738b3395b12e9bc328b98fa41c767f30a72e60b2c20f024d93428cfa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T10:23:58.964Z] + go mod tidy [Pipeline] sh [2021-06-24T10:24:00.239Z] + make test [2021-06-24T10:24:00.239Z] go mod tidy [2021-06-24T10:24:00.838Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-24T10:24:01.827Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-24T10:24:03.586Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-24T10:24:03.586Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.265s coverage: 63.8% of statements [2021-06-24T10:24:03.586Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-24T10:24:07.850Z] gofmt -l . [2021-06-24T10:24:07.850Z] [ "`gofmt -l .`" = "" ] [2021-06-24T10:24:07.850Z] ./bin/test-attribution-txt.sh [2021-06-24T10:24:08.116Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-24T10:24:08.388Z] $ docker stop --time=1 c4a6f0d4b1c8d944914b437be2b9852114012df4db7b0eb27149e55d793d740c [2021-06-24T10:24:10.104Z] $ docker rm -f c4a6f0d4b1c8d944914b437be2b9852114012df4db7b0eb27149e55d793d740c [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T10:24:10.543Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-24T10:24:10.760Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-24T10:24:14.773Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-24T10:24:15.071Z] + ls -al . [2021-06-24T10:24:15.071Z] total 132 [2021-06-24T10:24:15.071Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 24 10:24 . [2021-06-24T10:24:15.071Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 24 10:22 .. [2021-06-24T10:24:15.071Z] -rw-rw-r--. 1 jenkins jenkins 8153 Jun 24 10:22 Attribution.txt [2021-06-24T10:24:15.071Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 24 10:22 bin [2021-06-24T10:24:15.071Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 24 10:22 cmd [2021-06-24T10:24:15.071Z] -rw-r--r--. 1 jenkins jenkins 47257 Jun 24 10:24 coverage.out [2021-06-24T10:24:15.071Z] -rw-rw-r--. 1 jenkins jenkins 1921 Jun 24 10:22 Dockerfile [2021-06-24T10:24:15.071Z] -rw-rw-r--. 1 jenkins jenkins 998 Jun 24 10:22 Dockerfile.build [2021-06-24T10:24:15.071Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 24 10:22 .git [2021-06-24T10:24:15.071Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 24 10:22 .github [2021-06-24T10:24:15.071Z] -rw-rw-r--. 1 jenkins jenkins 277 Jun 24 10:22 .gitignore [2021-06-24T10:24:15.071Z] -rw-r--r--. 1 jenkins jenkins 810 Jun 24 10:24 go.mod [2021-06-24T10:24:15.071Z] -rw-r--r--. 1 jenkins jenkins 23135 Jun 24 10:23 go.sum [2021-06-24T10:24:15.071Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 24 10:22 internal [2021-06-24T10:24:15.071Z] -rw-rw-r--. 1 jenkins jenkins 660 Jun 24 10:22 Jenkinsfile [2021-06-24T10:24:15.071Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 24 10:22 LICENSE [2021-06-24T10:24:15.071Z] -rw-rw-r--. 1 jenkins jenkins 905 Jun 24 10:22 Makefile [2021-06-24T10:24:15.071Z] -rw-rw-r--. 1 jenkins jenkins 2745 Jun 24 10:22 README.md [2021-06-24T10:24:15.071Z] -rw-rw-r--. 1 jenkins jenkins 12 Jun 24 10:19 VERSION [2021-06-24T10:24:15.071Z] -rw-rw-r--. 1 jenkins jenkins 235 Jun 24 10:22 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:24:15.381Z] + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 --label arch=amd64 --label version=1.3.2-dev.28 . [2021-06-24T10:24:15.381Z] Sending build context to Docker daemon 8.692MB [2021-06-24T10:24:15.381Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T10:24:15.381Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-24T10:24:15.381Z] ---> 088c522b8109 [2021-06-24T10:24:15.381Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-24T10:24:15.381Z] ---> Running in 3a2e593703f1 [2021-06-24T10:24:15.646Z] Removing intermediate container 3a2e593703f1 [2021-06-24T10:24:15.646Z] ---> a9aeef44ad45 [2021-06-24T10:24:15.646Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-24T10:24:15.646Z] ---> Running in fe00c5ac8dd8 [2021-06-24T10:24:15.646Z] Removing intermediate container fe00c5ac8dd8 [2021-06-24T10:24:15.646Z] ---> 2c175f3f971f [2021-06-24T10:24:15.646Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-24T10:24:15.646Z] ---> Running in ac7d5d009f96 [2021-06-24T10:24:15.912Z] Removing intermediate container ac7d5d009f96 [2021-06-24T10:24:15.912Z] ---> fe5d891ff7ea [2021-06-24T10:24:15.912Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T10:24:15.912Z] ---> Running in b5ed4776ea3c [2021-06-24T10:24:16.176Z] Removing intermediate container b5ed4776ea3c [2021-06-24T10:24:16.176Z] ---> ca7b52707b62 [2021-06-24T10:24:16.176Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-24T10:24:16.176Z] ---> Running in ea9b82d72bfe [2021-06-24T10:24:16.438Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-24T10:24:17.384Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-24T10:24:17.958Z] OK: 156 MiB in 53 packages [2021-06-24T10:24:17.958Z] Removing intermediate container ea9b82d72bfe [2021-06-24T10:24:17.958Z] ---> 7e22c45e5196 [2021-06-24T10:24:17.958Z] Step 8/26 : COPY . . [2021-06-24T10:24:18.541Z] ---> 6bebba16d9b3 [2021-06-24T10:24:18.541Z] Step 9/26 : RUN go mod tidy [2021-06-24T10:24:18.541Z] ---> Running in a787d0953a58 [2021-06-24T10:24:19.118Z] Removing intermediate container a787d0953a58 [2021-06-24T10:24:19.118Z] ---> ec68ec32e625 [2021-06-24T10:24:19.118Z] Step 10/26 : RUN go mod download [2021-06-24T10:24:19.118Z] ---> Running in eb2817158fe6 [2021-06-24T10:24:19.692Z] Removing intermediate container eb2817158fe6 [2021-06-24T10:24:19.692Z] ---> 45941a9adcb3 [2021-06-24T10:24:19.692Z] Step 11/26 : ARG MAKE='make build' [2021-06-24T10:24:19.692Z] ---> Running in 4c42db2f6dfd [2021-06-24T10:24:19.692Z] Removing intermediate container 4c42db2f6dfd [2021-06-24T10:24:19.692Z] ---> d72e805042eb [2021-06-24T10:24:19.692Z] Step 12/26 : RUN $MAKE [2021-06-24T10:24:19.692Z] ---> Running in e57342e98604 [2021-06-24T10:24:19.960Z] go mod tidy [2021-06-24T10:24:20.231Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.28" -o cmd/device-virtual ./cmd [2021-06-24T10:24:35.218Z] Removing intermediate container e57342e98604 [2021-06-24T10:24:35.219Z] ---> 6300c1cb0aae [2021-06-24T10:24:35.219Z] Step 13/26 : FROM alpine:3.12 [2021-06-24T10:24:35.792Z] 3.12: Pulling from library/alpine [2021-06-24T10:24:36.057Z] 339de151aab4: Pulling fs layer [2021-06-24T10:24:36.057Z] 339de151aab4: Verifying Checksum [2021-06-24T10:24:36.057Z] 339de151aab4: Download complete [2021-06-24T10:24:36.333Z] 339de151aab4: Pull complete [2021-06-24T10:24:36.333Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-24T10:24:36.333Z] Status: Downloaded newer image for alpine:3.12 [2021-06-24T10:24:36.333Z] ---> 13621d1b12d4 [2021-06-24T10:24:36.333Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-24T10:24:36.333Z] ---> Running in 06cc56f1d79b [2021-06-24T10:24:36.333Z] Removing intermediate container 06cc56f1d79b [2021-06-24T10:24:36.333Z] ---> 9d7c7ce98abb [2021-06-24T10:24:36.333Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T10:24:36.333Z] ---> Running in a9d47fd4bf07 [2021-06-24T10:24:36.920Z] Removing intermediate container a9d47fd4bf07 [2021-06-24T10:24:36.920Z] ---> 8050fdd73d07 [2021-06-24T10:24:36.920Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-24T10:24:36.920Z] ---> Running in 82731655f062 [2021-06-24T10:24:37.182Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-24T10:24:37.758Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-24T10:24:38.328Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-24T10:24:38.328Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-24T10:24:38.328Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-24T10:24:38.591Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-24T10:24:39.535Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-24T10:24:39.798Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-24T10:24:39.798Z] Executing busybox-1.31.1-r20.trigger [2021-06-24T10:24:39.798Z] OK: 8 MiB in 20 packages [2021-06-24T10:24:40.060Z] Removing intermediate container 82731655f062 [2021-06-24T10:24:40.060Z] ---> ad3aa28a3b89 [2021-06-24T10:24:40.060Z] Step 17/26 : WORKDIR / [2021-06-24T10:24:40.060Z] ---> Running in 098cc9a14cfa [2021-06-24T10:24:40.322Z] Removing intermediate container 098cc9a14cfa [2021-06-24T10:24:40.322Z] ---> 579f16251a6b [2021-06-24T10:24:40.322Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-24T10:24:40.322Z] ---> 2f12d265c46e [2021-06-24T10:24:40.322Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-24T10:24:40.591Z] ---> ae76b9b88568 [2021-06-24T10:24:40.591Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-24T10:24:40.853Z] ---> 7c6db518ed34 [2021-06-24T10:24:40.853Z] Step 21/26 : EXPOSE 59900 [2021-06-24T10:24:40.853Z] ---> Running in a79d390a7545 [2021-06-24T10:24:41.115Z] Removing intermediate container a79d390a7545 [2021-06-24T10:24:41.115Z] ---> 41de62ba67bf [2021-06-24T10:24:41.115Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-24T10:24:41.115Z] ---> Running in c8a3c06d62fa [2021-06-24T10:24:41.115Z] Removing intermediate container c8a3c06d62fa [2021-06-24T10:24:41.115Z] ---> 6740ddd5bff2 [2021-06-24T10:24:41.115Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-24T10:24:41.115Z] ---> Running in 34bd65f8c358 [2021-06-24T10:24:41.115Z] Removing intermediate container 34bd65f8c358 [2021-06-24T10:24:41.115Z] ---> e25895d7a153 [2021-06-24T10:24:41.115Z] Step 24/26 : LABEL arch=amd64 [2021-06-24T10:24:41.390Z] ---> Running in fb7311470d00 [2021-06-24T10:24:41.390Z] Removing intermediate container fb7311470d00 [2021-06-24T10:24:41.390Z] ---> a33c9f55f2c7 [2021-06-24T10:24:41.390Z] Step 25/26 : LABEL git_sha=7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 [2021-06-24T10:24:41.390Z] ---> Running in 4e87d4bd56f0 [2021-06-24T10:24:41.390Z] Removing intermediate container 4e87d4bd56f0 [2021-06-24T10:24:41.390Z] ---> f200ade30d76 [2021-06-24T10:24:41.390Z] Step 26/26 : LABEL version=1.3.2-dev.28 [2021-06-24T10:24:41.390Z] ---> Running in 8f616eb9fc58 [2021-06-24T10:24:41.659Z] Removing intermediate container 8f616eb9fc58 [2021-06-24T10:24:41.659Z] ---> d5f6ad0a6473 [2021-06-24T10:24:41.659Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-24T10:24:41.659Z] Successfully built d5f6ad0a6473 [2021-06-24T10:24:41.659Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T10:24:41.865Z] provisioning config files... [2021-06-24T10:24:41.878Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/68@tmp/config9011138262145895023tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T10:24:42.212Z] ---> docker-login.sh [2021-06-24T10:24:42.212Z] nexus3.edgexfoundry.org:10001 [2021-06-24T10:24:42.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:24:42.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:24:42.212Z] Configure a credential helper to remove this warning. See [2021-06-24T10:24:42.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:24:42.212Z] [2021-06-24T10:24:42.212Z] Login Succeeded [2021-06-24T10:24:42.212Z] nexus3.edgexfoundry.org:10002 [2021-06-24T10:24:42.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:24:42.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:24:42.479Z] Configure a credential helper to remove this warning. See [2021-06-24T10:24:42.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:24:42.479Z] [2021-06-24T10:24:42.479Z] Login Succeeded [2021-06-24T10:24:42.479Z] nexus3.edgexfoundry.org:10003 [2021-06-24T10:24:42.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:24:42.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:24:42.479Z] Configure a credential helper to remove this warning. See [2021-06-24T10:24:42.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:24:42.479Z] [2021-06-24T10:24:42.479Z] Login Succeeded [2021-06-24T10:24:42.479Z] nexus3.edgexfoundry.org:10004 [2021-06-24T10:24:42.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:24:42.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:24:42.740Z] Configure a credential helper to remove this warning. See [2021-06-24T10:24:42.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:24:42.740Z] [2021-06-24T10:24:42.740Z] Login Succeeded [2021-06-24T10:24:42.740Z] docker.io [2021-06-24T10:24:42.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:24:43.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:24:43.001Z] Configure a credential helper to remove this warning. See [2021-06-24T10:24:43.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:24:43.001Z] [2021-06-24T10:24:43.001Z] Login Succeeded [2021-06-24T10:24:43.001Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T10:24:43.009Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-24T10:24:43.093Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2021-06-24T10:24:43.093Z] 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 [2021-06-24T10:24:43.093Z] latest [2021-06-24T10:24:43.093Z] 1.3.2-dev.28 [2021-06-24T10:24:43.093Z] 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3-1.3.2-dev.28 [2021-06-24T10:24:43.093Z] master [2021-06-24T10:24:43.093Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:24:43.455Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:24:43.763Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 [2021-06-24T10:24:43.763Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-06-24T10:24:43.763Z] 8d1d60b379c9: Preparing [2021-06-24T10:24:43.763Z] 9d118c6d25fa: Preparing [2021-06-24T10:24:43.763Z] 79e4a126b836: Preparing [2021-06-24T10:24:43.763Z] 2042f064d7f7: Preparing [2021-06-24T10:24:43.763Z] 50936a6faae3: Preparing [2021-06-24T10:24:43.763Z] 32f366d666a5: Preparing [2021-06-24T10:24:43.763Z] 32f366d666a5: Waiting [2021-06-24T10:24:44.086Z] 79e4a126b836: Pushed [2021-06-24T10:24:44.086Z] 32f366d666a5: Layer already exists [2021-06-24T10:24:44.086Z] 9d118c6d25fa: Pushed [2021-06-24T10:24:44.086Z] 50936a6faae3: Pushed [2021-06-24T10:24:44.086Z] 2042f064d7f7: Pushed [2021-06-24T10:24:45.570Z] 8d1d60b379c9: Pushed [2021-06-24T10:24:45.570Z] 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3: digest: sha256:4059e1d35b3518fc379e3ec50ebb56886463e04e1dbedf4815e481d65b8b2144 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:24:45.894Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:24:46.193Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2021-06-24T10:24:46.193Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-06-24T10:24:46.193Z] 8d1d60b379c9: Preparing [2021-06-24T10:24:46.193Z] 9d118c6d25fa: Preparing [2021-06-24T10:24:46.193Z] 79e4a126b836: Preparing [2021-06-24T10:24:46.193Z] 2042f064d7f7: Preparing [2021-06-24T10:24:46.193Z] 50936a6faae3: Preparing [2021-06-24T10:24:46.193Z] 32f366d666a5: Preparing [2021-06-24T10:24:46.193Z] 32f366d666a5: Waiting [2021-06-24T10:24:46.193Z] 50936a6faae3: Layer already exists [2021-06-24T10:24:46.193Z] 8d1d60b379c9: Layer already exists [2021-06-24T10:24:46.193Z] 79e4a126b836: Layer already exists [2021-06-24T10:24:46.193Z] 2042f064d7f7: Layer already exists [2021-06-24T10:24:46.193Z] 9d118c6d25fa: Layer already exists [2021-06-24T10:24:46.193Z] 32f366d666a5: Layer already exists [2021-06-24T10:24:46.193Z] latest: digest: sha256:4059e1d35b3518fc379e3ec50ebb56886463e04e1dbedf4815e481d65b8b2144 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:24:46.497Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.28 [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:24:46.796Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.28 [2021-06-24T10:24:46.796Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-06-24T10:24:46.796Z] 8d1d60b379c9: Preparing [2021-06-24T10:24:46.796Z] 9d118c6d25fa: Preparing [2021-06-24T10:24:46.796Z] 79e4a126b836: Preparing [2021-06-24T10:24:46.796Z] 2042f064d7f7: Preparing [2021-06-24T10:24:46.796Z] 50936a6faae3: Preparing [2021-06-24T10:24:46.796Z] 32f366d666a5: Preparing [2021-06-24T10:24:46.796Z] 32f366d666a5: Waiting [2021-06-24T10:24:46.796Z] 8d1d60b379c9: Layer already exists [2021-06-24T10:24:46.796Z] 50936a6faae3: Layer already exists [2021-06-24T10:24:46.796Z] 2042f064d7f7: Layer already exists [2021-06-24T10:24:46.796Z] 79e4a126b836: Layer already exists [2021-06-24T10:24:46.796Z] 9d118c6d25fa: Layer already exists [2021-06-24T10:24:46.796Z] 32f366d666a5: Layer already exists [2021-06-24T10:24:46.796Z] 1.3.2-dev.28: digest: sha256:4059e1d35b3518fc379e3ec50ebb56886463e04e1dbedf4815e481d65b8b2144 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:24:47.108Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3-1.3.2-dev.28 [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:24:47.414Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3-1.3.2-dev.28 [2021-06-24T10:24:47.414Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-06-24T10:24:47.414Z] 8d1d60b379c9: Preparing [2021-06-24T10:24:47.414Z] 9d118c6d25fa: Preparing [2021-06-24T10:24:47.414Z] 79e4a126b836: Preparing [2021-06-24T10:24:47.414Z] 2042f064d7f7: Preparing [2021-06-24T10:24:47.414Z] 50936a6faae3: Preparing [2021-06-24T10:24:47.414Z] 32f366d666a5: Preparing [2021-06-24T10:24:47.414Z] 32f366d666a5: Waiting [2021-06-24T10:24:47.414Z] 79e4a126b836: Layer already exists [2021-06-24T10:24:47.414Z] 9d118c6d25fa: Layer already exists [2021-06-24T10:24:47.414Z] 8d1d60b379c9: Layer already exists [2021-06-24T10:24:47.414Z] 50936a6faae3: Layer already exists [2021-06-24T10:24:47.414Z] 2042f064d7f7: Layer already exists [2021-06-24T10:24:47.414Z] 32f366d666a5: Layer already exists [2021-06-24T10:24:47.414Z] 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3-1.3.2-dev.28: digest: sha256:4059e1d35b3518fc379e3ec50ebb56886463e04e1dbedf4815e481d65b8b2144 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:24:47.724Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:master [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:24:48.029Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:master [2021-06-24T10:24:48.029Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-06-24T10:24:48.029Z] 8d1d60b379c9: Preparing [2021-06-24T10:24:48.029Z] 9d118c6d25fa: Preparing [2021-06-24T10:24:48.029Z] 79e4a126b836: Preparing [2021-06-24T10:24:48.029Z] 2042f064d7f7: Preparing [2021-06-24T10:24:48.029Z] 50936a6faae3: Preparing [2021-06-24T10:24:48.029Z] 32f366d666a5: Preparing [2021-06-24T10:24:48.029Z] 2042f064d7f7: Layer already exists [2021-06-24T10:24:48.029Z] 9d118c6d25fa: Layer already exists [2021-06-24T10:24:48.029Z] 8d1d60b379c9: Layer already exists [2021-06-24T10:24:48.029Z] 79e4a126b836: Layer already exists [2021-06-24T10:24:48.029Z] 50936a6faae3: Layer already exists [2021-06-24T10:24:48.029Z] 32f366d666a5: Layer already exists [2021-06-24T10:24:48.029Z] master: digest: sha256:4059e1d35b3518fc379e3ec50ebb56886463e04e1dbedf4815e481d65b8b2144 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-24T10:24:48.095Z] ===================================================== [Pipeline] echo [2021-06-24T10:24:48.115Z] taggedImages: [2021-06-24T10:24:48.115Z] - nexus3.edgexfoundry.org:10004/device-virtual:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 [2021-06-24T10:24:48.115Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2021-06-24T10:24:48.115Z] - nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.28 [2021-06-24T10:24:48.115Z] - nexus3.edgexfoundry.org:10004/device-virtual:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3-1.3.2-dev.28 [2021-06-24T10:24:48.115Z] - nexus3.edgexfoundry.org:10004/device-virtual: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-06-24T10:24:48.784Z] ---> job-cost.sh [2021-06-24T10:24:48.784Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5ynl [2021-06-24T10:24:58.810Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-24T10:25:11.073Z] lf-activate-venv(): INFO: Adding /tmp/venv-5ynl/bin to PATH [2021-06-24T10:25:11.073Z] INFO: No Stack... [2021-06-24T10:25:11.335Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-24T10:25:11.695Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-24T10:25:11.695Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.718s coverage: 63.8% of statements [2021-06-24T10:25:11.695Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-24T10:25:11.907Z] INFO: Archiving Costs [Pipeline] sh [2021-06-24T10:25:12.269Z] + cat /w/workspace/device-virtual-go/68/archives/cost.csv [2021-06-24T10:25:12.269Z] + cut -d, -f6 [Pipeline] lock [2021-06-24T10:25:12.306Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-68-stack-cost] [2021-06-24T10:25:12.315Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-68-stack-cost] did not exist. Created. [2021-06-24T10:25:12.316Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-24T10:25:12.642Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-24T10:25:12.722Z] Stashed 1 file(s) [Pipeline] } [2021-06-24T10:25:12.739Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-68-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-24T10:25:33.992Z] gofmt -l . [2021-06-24T10:25:33.992Z] [ "`gofmt -l .`" = "" ] [2021-06-24T10:25:33.992Z] ./bin/test-attribution-txt.sh [2021-06-24T10:25:35.430Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-24T10:25:35.728Z] $ docker stop --time=1 953a4cb2738b3395b12e9bc328b98fa41c767f30a72e60b2c20f024d93428cfa [2021-06-24T10:25:37.607Z] $ docker rm -f 953a4cb2738b3395b12e9bc328b98fa41c767f30a72e60b2c20f024d93428cfa [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T10:25:38.485Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-24T10:25:38.518Z] Warning: overwriting stash ‘coverage-report’ [2021-06-24T10:25:39.022Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T10:25:39.546Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-24T10:25:39.883Z] + ls -al . [2021-06-24T10:25:39.883Z] total 156 [2021-06-24T10:25:39.883Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 24 10:25 . [2021-06-24T10:25:39.883Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 10:22 .. [2021-06-24T10:25:39.883Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 10:22 .git [2021-06-24T10:25:39.883Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 10:22 .github [2021-06-24T10:25:39.883Z] -rw-rw-r-- 1 jenkins jenkins 277 Jun 24 10:22 .gitignore [2021-06-24T10:25:39.883Z] -rw-rw-r-- 1 jenkins jenkins 8153 Jun 24 10:22 Attribution.txt [2021-06-24T10:25:39.883Z] -rw-rw-r-- 1 jenkins jenkins 1921 Jun 24 10:22 Dockerfile [2021-06-24T10:25:39.883Z] -rw-rw-r-- 1 jenkins jenkins 998 Jun 24 10:22 Dockerfile.build [2021-06-24T10:25:39.883Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 24 10:22 Jenkinsfile [2021-06-24T10:25:39.883Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 24 10:22 LICENSE [2021-06-24T10:25:39.883Z] -rw-rw-r-- 1 jenkins jenkins 905 Jun 24 10:22 Makefile [2021-06-24T10:25:39.883Z] -rw-rw-r-- 1 jenkins jenkins 2745 Jun 24 10:22 README.md [2021-06-24T10:25:39.883Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 24 10:19 VERSION [2021-06-24T10:25:39.883Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 10:22 bin [2021-06-24T10:25:39.883Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 10:22 cmd [2021-06-24T10:25:39.883Z] -rw-r--r-- 1 jenkins jenkins 47257 Jun 24 10:25 coverage.out [2021-06-24T10:25:39.883Z] -rw-r--r-- 1 jenkins jenkins 810 Jun 24 10:25 go.mod [2021-06-24T10:25:39.883Z] -rw-r--r-- 1 jenkins jenkins 23135 Jun 24 10:23 go.sum [2021-06-24T10:25:39.883Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 10:22 internal [2021-06-24T10:25:39.883Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 24 10:22 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:25:40.229Z] + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 --label arch=arm64 --label version=1.3.2-dev.28 . [2021-06-24T10:25:40.503Z] Sending build context to Docker daemon 8.691MB [2021-06-24T10:25:40.778Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T10:25:40.778Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-24T10:25:40.778Z] ---> 72ed01bab887 [2021-06-24T10:25:40.778Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-24T10:25:41.051Z] ---> Running in e05f82c1fcd3 [2021-06-24T10:25:41.324Z] Removing intermediate container e05f82c1fcd3 [2021-06-24T10:25:41.324Z] ---> e565bb7238b4 [2021-06-24T10:25:41.324Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-24T10:25:41.603Z] ---> Running in f989f670233b [2021-06-24T10:25:41.874Z] Removing intermediate container f989f670233b [2021-06-24T10:25:41.874Z] ---> 96b4ec28b1b3 [2021-06-24T10:25:41.874Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-24T10:25:42.146Z] ---> Running in 81641f4a19fc [2021-06-24T10:25:42.418Z] Removing intermediate container 81641f4a19fc [2021-06-24T10:25:42.418Z] ---> 0a6245c7a889 [2021-06-24T10:25:42.418Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T10:25:42.691Z] ---> Running in aca0ba83ec99 [2021-06-24T10:25:44.661Z] Removing intermediate container aca0ba83ec99 [2021-06-24T10:25:44.661Z] ---> 3437639ab3f9 [2021-06-24T10:25:44.661Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-24T10:25:44.661Z] ---> Running in edc216aaee29 [2021-06-24T10:25:46.102Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-24T10:25:46.718Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-24T10:25:47.706Z] OK: 145 MiB in 53 packages [2021-06-24T10:25:48.695Z] Removing intermediate container edc216aaee29 [2021-06-24T10:25:48.695Z] ---> c499108b5c5f [2021-06-24T10:25:48.695Z] Step 8/26 : COPY . . [2021-06-24T10:25:49.677Z] ---> 72df19201000 [2021-06-24T10:25:49.678Z] Step 9/26 : RUN go mod tidy [2021-06-24T10:25:49.952Z] ---> Running in 61c6c6ac558d [2021-06-24T10:25:52.582Z] Removing intermediate container 61c6c6ac558d [2021-06-24T10:25:52.582Z] ---> e6f668da9305 [2021-06-24T10:25:52.582Z] Step 10/26 : RUN go mod download [2021-06-24T10:25:52.858Z] ---> Running in 5a93b47de139 [2021-06-24T10:25:55.482Z] Removing intermediate container 5a93b47de139 [2021-06-24T10:25:55.482Z] ---> 056d0fcfb3e8 [2021-06-24T10:25:55.482Z] Step 11/26 : ARG MAKE='make build' [2021-06-24T10:25:55.482Z] ---> Running in 68b672510f7a [2021-06-24T10:25:55.754Z] Removing intermediate container 68b672510f7a [2021-06-24T10:25:55.754Z] ---> 6cc133e28318 [2021-06-24T10:25:55.754Z] Step 12/26 : RUN $MAKE [2021-06-24T10:25:55.754Z] ---> Running in 266ce6475b79 [2021-06-24T10:25:57.195Z] go mod tidy [2021-06-24T10:25:57.472Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.28" -o cmd/device-virtual ./cmd [2021-06-24T10:26:54.072Z] Removing intermediate container 266ce6475b79 [2021-06-24T10:26:54.072Z] ---> 9d4971d5cf52 [2021-06-24T10:26:54.072Z] Step 13/26 : FROM alpine:3.12 [2021-06-24T10:26:54.072Z] 3.12: Pulling from library/alpine [2021-06-24T10:26:54.072Z] d2f70382dc9a: Pulling fs layer [2021-06-24T10:26:54.072Z] d2f70382dc9a: Verifying Checksum [2021-06-24T10:26:54.072Z] d2f70382dc9a: Download complete [2021-06-24T10:26:54.072Z] d2f70382dc9a: Pull complete [2021-06-24T10:26:54.072Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-24T10:26:54.072Z] Status: Downloaded newer image for alpine:3.12 [2021-06-24T10:26:54.072Z] ---> c4fd0aeabfcf [2021-06-24T10:26:54.072Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-24T10:26:54.072Z] ---> Running in 2016f6cd6124 [2021-06-24T10:26:54.072Z] Removing intermediate container 2016f6cd6124 [2021-06-24T10:26:54.072Z] ---> 4c7ccdc9fcfd [2021-06-24T10:26:54.072Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T10:26:54.072Z] ---> Running in e76a445fd6dc [2021-06-24T10:26:54.072Z] Removing intermediate container e76a445fd6dc [2021-06-24T10:26:54.072Z] ---> f841e68d6051 [2021-06-24T10:26:54.072Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-24T10:26:54.072Z] ---> Running in 0716138182cf [2021-06-24T10:26:54.072Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-24T10:26:54.072Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-24T10:26:54.072Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-24T10:26:54.072Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-24T10:26:54.072Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-24T10:26:54.072Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-24T10:26:54.072Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-24T10:26:54.072Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-24T10:26:54.072Z] Executing busybox-1.31.1-r20.trigger [2021-06-24T10:26:54.072Z] OK: 8 MiB in 20 packages [2021-06-24T10:26:55.051Z] Removing intermediate container 0716138182cf [2021-06-24T10:26:55.051Z] ---> 961a23036895 [2021-06-24T10:26:55.051Z] Step 17/26 : WORKDIR / [2021-06-24T10:26:55.324Z] ---> Running in d0352bb845d5 [2021-06-24T10:26:55.599Z] Removing intermediate container d0352bb845d5 [2021-06-24T10:26:55.599Z] ---> 97911c4c228c [2021-06-24T10:26:55.599Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-24T10:26:56.582Z] ---> 12e016b72f57 [2021-06-24T10:26:56.582Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-24T10:26:57.179Z] ---> 3f01953d7631 [2021-06-24T10:26:57.179Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-24T10:26:58.613Z] ---> 274d895f3671 [2021-06-24T10:26:58.613Z] Step 21/26 : EXPOSE 59900 [2021-06-24T10:26:58.886Z] ---> Running in 757487b20484 [2021-06-24T10:26:59.483Z] Removing intermediate container 757487b20484 [2021-06-24T10:26:59.483Z] ---> 08b49d353681 [2021-06-24T10:26:59.483Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-24T10:26:59.483Z] ---> Running in c99e2ba458a8 [2021-06-24T10:27:00.079Z] Removing intermediate container c99e2ba458a8 [2021-06-24T10:27:00.079Z] ---> 34bf048a7b1c [2021-06-24T10:27:00.079Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-24T10:27:00.079Z] ---> Running in 47aa8c207d79 [2021-06-24T10:27:00.677Z] Removing intermediate container 47aa8c207d79 [2021-06-24T10:27:00.677Z] ---> c6368120004e [2021-06-24T10:27:00.677Z] Step 24/26 : LABEL arch=arm64 [2021-06-24T10:27:00.677Z] ---> Running in e419ae0a4aad [2021-06-24T10:27:01.280Z] Removing intermediate container e419ae0a4aad [2021-06-24T10:27:01.280Z] ---> b367e5444e1a [2021-06-24T10:27:01.280Z] Step 25/26 : LABEL git_sha=7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 [2021-06-24T10:27:01.280Z] ---> Running in f4fdf8a7fc44 [2021-06-24T10:27:01.884Z] Removing intermediate container f4fdf8a7fc44 [2021-06-24T10:27:01.884Z] ---> 9364d169e42e [2021-06-24T10:27:01.884Z] Step 26/26 : LABEL version=1.3.2-dev.28 [2021-06-24T10:27:01.884Z] ---> Running in 10c80f426760 [2021-06-24T10:27:02.480Z] Removing intermediate container 10c80f426760 [2021-06-24T10:27:02.480Z] ---> 522389415dd5 [2021-06-24T10:27:02.480Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-24T10:27:02.480Z] Successfully built 522389415dd5 [2021-06-24T10:27:02.480Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T10:27:02.826Z] provisioning config files... [2021-06-24T10:27:02.850Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/68@tmp/config2852433236268668760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T10:27:03.220Z] ---> docker-login.sh [2021-06-24T10:27:03.220Z] nexus3.edgexfoundry.org:10001 [2021-06-24T10:27:03.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:27:03.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:27:03.772Z] Configure a credential helper to remove this warning. See [2021-06-24T10:27:03.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:27:03.772Z] [2021-06-24T10:27:03.772Z] Login Succeeded [2021-06-24T10:27:03.772Z] nexus3.edgexfoundry.org:10002 [2021-06-24T10:27:04.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:27:04.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:27:04.326Z] Configure a credential helper to remove this warning. See [2021-06-24T10:27:04.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:27:04.326Z] [2021-06-24T10:27:04.326Z] Login Succeeded [2021-06-24T10:27:04.326Z] nexus3.edgexfoundry.org:10003 [2021-06-24T10:27:04.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:27:04.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:27:04.886Z] Configure a credential helper to remove this warning. See [2021-06-24T10:27:04.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:27:04.886Z] [2021-06-24T10:27:04.886Z] Login Succeeded [2021-06-24T10:27:04.886Z] nexus3.edgexfoundry.org:10004 [2021-06-24T10:27:05.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:27:05.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:27:05.439Z] Configure a credential helper to remove this warning. See [2021-06-24T10:27:05.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:27:05.439Z] [2021-06-24T10:27:05.439Z] Login Succeeded [2021-06-24T10:27:05.439Z] docker.io [2021-06-24T10:27:06.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T10:27:06.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T10:27:06.311Z] Configure a credential helper to remove this warning. See [2021-06-24T10:27:06.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T10:27:06.311Z] [2021-06-24T10:27:06.311Z] Login Succeeded [2021-06-24T10:27:06.311Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T10:27:06.329Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-24T10:27:06.427Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2021-06-24T10:27:06.427Z] 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 [2021-06-24T10:27:06.427Z] latest [2021-06-24T10:27:06.427Z] 1.3.2-dev.28 [2021-06-24T10:27:06.427Z] 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3-1.3.2-dev.28 [2021-06-24T10:27:06.427Z] master [2021-06-24T10:27:06.427Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:27:06.839Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:27:07.194Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 [2021-06-24T10:27:07.194Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-06-24T10:27:07.194Z] 6dc2ec880978: Preparing [2021-06-24T10:27:07.194Z] de2987bf3078: Preparing [2021-06-24T10:27:07.194Z] 3ecd89d54444: Preparing [2021-06-24T10:27:07.194Z] 1a66f3b4dfc5: Preparing [2021-06-24T10:27:07.194Z] 84aba8cf6ef6: Preparing [2021-06-24T10:27:07.194Z] 3fbe34a1663b: Preparing [2021-06-24T10:27:07.793Z] 84aba8cf6ef6: Pushed [2021-06-24T10:27:07.793Z] 3ecd89d54444: Pushed [2021-06-24T10:27:07.793Z] de2987bf3078: Pushed [2021-06-24T10:27:07.793Z] 3fbe34a1663b: Layer already exists [2021-06-24T10:27:08.067Z] 1a66f3b4dfc5: Pushed [2021-06-24T10:27:10.685Z] 6dc2ec880978: Pushed [2021-06-24T10:27:10.960Z] 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3: digest: sha256:75b17401077cc90e6b754f98aff3dbc13fba192efc41822976b0ca835a91f22e size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:27:11.322Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:27:11.672Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2021-06-24T10:27:11.672Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-06-24T10:27:11.672Z] 6dc2ec880978: Preparing [2021-06-24T10:27:11.672Z] de2987bf3078: Preparing [2021-06-24T10:27:11.672Z] 3ecd89d54444: Preparing [2021-06-24T10:27:11.672Z] 1a66f3b4dfc5: Preparing [2021-06-24T10:27:11.672Z] 84aba8cf6ef6: Preparing [2021-06-24T10:27:11.672Z] 3fbe34a1663b: Preparing [2021-06-24T10:27:11.672Z] 3fbe34a1663b: Waiting [2021-06-24T10:27:11.672Z] de2987bf3078: Layer already exists [2021-06-24T10:27:11.672Z] 1a66f3b4dfc5: Layer already exists [2021-06-24T10:27:11.672Z] 84aba8cf6ef6: Layer already exists [2021-06-24T10:27:11.672Z] 3ecd89d54444: Layer already exists [2021-06-24T10:27:11.672Z] 6dc2ec880978: Layer already exists [2021-06-24T10:27:11.672Z] 3fbe34a1663b: Layer already exists [2021-06-24T10:27:11.948Z] latest: digest: sha256:75b17401077cc90e6b754f98aff3dbc13fba192efc41822976b0ca835a91f22e size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:27:12.305Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.28 [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:27:12.656Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.28 [2021-06-24T10:27:12.656Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-06-24T10:27:12.656Z] 6dc2ec880978: Preparing [2021-06-24T10:27:12.656Z] de2987bf3078: Preparing [2021-06-24T10:27:12.656Z] 3ecd89d54444: Preparing [2021-06-24T10:27:12.656Z] 1a66f3b4dfc5: Preparing [2021-06-24T10:27:12.656Z] 84aba8cf6ef6: Preparing [2021-06-24T10:27:12.656Z] 3fbe34a1663b: Preparing [2021-06-24T10:27:12.656Z] 3fbe34a1663b: Waiting [2021-06-24T10:27:12.930Z] 3ecd89d54444: Layer already exists [2021-06-24T10:27:12.930Z] 84aba8cf6ef6: Layer already exists [2021-06-24T10:27:12.930Z] 1a66f3b4dfc5: Layer already exists [2021-06-24T10:27:12.930Z] 6dc2ec880978: Layer already exists [2021-06-24T10:27:12.930Z] de2987bf3078: Layer already exists [2021-06-24T10:27:12.930Z] 3fbe34a1663b: Layer already exists [2021-06-24T10:27:12.930Z] 1.3.2-dev.28: digest: sha256:75b17401077cc90e6b754f98aff3dbc13fba192efc41822976b0ca835a91f22e size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:27:13.289Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3-1.3.2-dev.28 [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:27:13.641Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3-1.3.2-dev.28 [2021-06-24T10:27:13.641Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-06-24T10:27:13.641Z] 6dc2ec880978: Preparing [2021-06-24T10:27:13.641Z] de2987bf3078: Preparing [2021-06-24T10:27:13.641Z] 3ecd89d54444: Preparing [2021-06-24T10:27:13.641Z] 1a66f3b4dfc5: Preparing [2021-06-24T10:27:13.641Z] 84aba8cf6ef6: Preparing [2021-06-24T10:27:13.641Z] 3fbe34a1663b: Preparing [2021-06-24T10:27:13.641Z] 3fbe34a1663b: Waiting [2021-06-24T10:27:13.917Z] 6dc2ec880978: Layer already exists [2021-06-24T10:27:13.917Z] 1a66f3b4dfc5: Layer already exists [2021-06-24T10:27:13.917Z] 3ecd89d54444: Layer already exists [2021-06-24T10:27:13.917Z] 84aba8cf6ef6: Layer already exists [2021-06-24T10:27:13.917Z] de2987bf3078: Layer already exists [2021-06-24T10:27:13.917Z] 3fbe34a1663b: Layer already exists [2021-06-24T10:27:13.917Z] 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3-1.3.2-dev.28: digest: sha256:75b17401077cc90e6b754f98aff3dbc13fba192efc41822976b0ca835a91f22e size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:27:14.281Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:27:14.642Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [2021-06-24T10:27:14.642Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-06-24T10:27:14.642Z] 6dc2ec880978: Preparing [2021-06-24T10:27:14.642Z] de2987bf3078: Preparing [2021-06-24T10:27:14.642Z] 3ecd89d54444: Preparing [2021-06-24T10:27:14.642Z] 1a66f3b4dfc5: Preparing [2021-06-24T10:27:14.642Z] 84aba8cf6ef6: Preparing [2021-06-24T10:27:14.642Z] 3fbe34a1663b: Preparing [2021-06-24T10:27:14.642Z] 3fbe34a1663b: Waiting [2021-06-24T10:27:14.642Z] 84aba8cf6ef6: Layer already exists [2021-06-24T10:27:14.642Z] 3ecd89d54444: Layer already exists [2021-06-24T10:27:14.642Z] 6dc2ec880978: Layer already exists [2021-06-24T10:27:14.642Z] de2987bf3078: Layer already exists [2021-06-24T10:27:14.916Z] 1a66f3b4dfc5: Layer already exists [2021-06-24T10:27:14.916Z] 3fbe34a1663b: Layer already exists [2021-06-24T10:27:14.916Z] master: digest: sha256:75b17401077cc90e6b754f98aff3dbc13fba192efc41822976b0ca835a91f22e size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-24T10:27:14.991Z] ===================================================== [Pipeline] echo [2021-06-24T10:27:15.011Z] taggedImages: [2021-06-24T10:27:15.011Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 [2021-06-24T10:27:15.011Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2021-06-24T10:27:15.011Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.28 [2021-06-24T10:27:15.011Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:7f458d0c4f91ec8abf0d5b080d00395b52de4bf3-1.3.2-dev.28 [2021-06-24T10:27:15.011Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-24T10:27:15.522Z] ---> job-cost.sh [2021-06-24T10:27:15.522Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Nbln [2021-06-24T10:27:54.529Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-24T10:29:16.287Z] lf-activate-venv(): INFO: Adding /tmp/venv-Nbln/bin to PATH [2021-06-24T10:29:16.287Z] INFO: No Stack... [2021-06-24T10:29:16.287Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-24T10:29:16.883Z] INFO: Archiving Costs [Pipeline] sh [2021-06-24T10:29:17.236Z] + cat /w/workspace/device-virtual-go/68/archives/cost.csv [2021-06-24T10:29:17.236Z] + cut -d, -f6 [Pipeline] lock [2021-06-24T10:29:17.326Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-68-stack-cost] [2021-06-24T10:29:17.334Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-68-stack-cost] did not exist. Created. [2021-06-24T10:29:17.335Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-24T10:29:17.717Z] /w/workspace/device-virtual-go/68@tmp/durable-1813bddd/script.sh: 1: /w/workspace/device-virtual-go/68@tmp/durable-1813bddd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-24T10:29:18.069Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-24T10:29:18.102Z] Warning: overwriting stash ‘stack-cost’ [2021-06-24T10:29:18.257Z] Stashed 1 file(s) [Pipeline] } [2021-06-24T10:29:18.326Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-68-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] configFileProvider [2021-06-24T10:29:21.883Z] provisioning config files... [2021-06-24T10:29:21.896Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8426275937639744206tmp [Pipeline] { [Pipeline] sh [2021-06-24T10:29:22.212Z] + set +x [2021-06-24T10:29:22.212Z] + curl -s https://codecov.io/bash [2021-06-24T10:29:22.212Z] + bash -s -- [2021-06-24T10:29:23.139Z] [2021-06-24T10:29:23.139Z] _____ _ [2021-06-24T10:29:23.139Z] / ____| | | [2021-06-24T10:29:23.139Z] | | ___ __| | ___ ___ _____ __ [2021-06-24T10:29:23.139Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-24T10:29:23.139Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-24T10:29:23.139Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-24T10:29:23.139Z] Bash-1.0.3 [2021-06-24T10:29:23.139Z] [2021-06-24T10:29:23.139Z] [2021-06-24T10:29:23.139Z] ==> git version 2.24.4 found [2021-06-24T10:29:23.139Z] ==> 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-06-24T10:29:23.139Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-24T10:29:23.139Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-24T10:29:23.139Z] ==> Jenkins CI detected. [2021-06-24T10:29:23.139Z] project root: . [2021-06-24T10:29:23.139Z] --> token set from env [2021-06-24T10:29:23.139Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-24T10:29:23.139Z] ==> Running gcov in . (disable via -X gcov) [2021-06-24T10:29:23.139Z] ==> Python coveragepy not found [2021-06-24T10:29:23.139Z] ==> Searching for coverage reports in: [2021-06-24T10:29:23.139Z] + . [2021-06-24T10:29:23.139Z] -> Found 1 reports [2021-06-24T10:29:23.139Z] ==> Detecting git/mercurial file structure [2021-06-24T10:29:23.139Z] ==> Reading reports [2021-06-24T10:29:23.139Z] + ./coverage.out bytes=47257 [2021-06-24T10:29:23.139Z] ==> Appending adjustments [2021-06-24T10:29:23.139Z] https://docs.codecov.io/docs/fixing-reports [2021-06-24T10:29:23.139Z] + Found adjustments [2021-06-24T10:29:23.139Z] ==> Gzipping contents [2021-06-24T10:29:23.139Z] 8.0K /tmp/codecov.u2zBVN.gz [2021-06-24T10:29:23.139Z] ==> Uploading reports [2021-06-24T10:29:23.139Z] url: https://codecov.io [2021-06-24T10:29:23.139Z] query: branch=master&commit=7f458d0c4f91ec8abf0d5b080d00395b52de4bf3&build=68&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F68%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-24T10:29:23.139Z] -> Pinging Codecov [2021-06-24T10:29:23.139Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=7f458d0c4f91ec8abf0d5b080d00395b52de4bf3&build=68&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F68%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-24T10:29:25.055Z] -> Uploading to [2021-06-24T10:29:25.055Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-24/5E52B4B073DB2E39498172D8E973AA87/7f458d0c4f91ec8abf0d5b080d00395b52de4bf3/dd1888bc-5aa2-4a45-8719-25c4763e5636.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210624%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210624T102924Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=898b918d0acb9869acb4c2cc753aa0a36ac9f94ff1546c7a55cd89f99a6f5cad [2021-06-24T10:29:25.055Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-24T10:29:25.055Z] Dload Upload Total Spent Left Speed [2021-06-24T10:29:25.055Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5805 0 0 100 5805 0 14584 --:--:-- --:--:-- --:--:-- 14622 [2021-06-24T10:29:25.055Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 [Pipeline] } [2021-06-24T10:29:25.064Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-06-24T10:29:25.923Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-06-24T10:29:25.948Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:29:26.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-24T10:29:26.258Z] [2021-06-24T10:29:26.258Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:29:26.574Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-24T10:29:26.574Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-06-24T10:29:26.574Z] 188c0c94c7c5: Pulling fs layer [2021-06-24T10:29:26.574Z] 0ef7d3d256c8: Pulling fs layer [2021-06-24T10:29:26.574Z] de9db76c5a1d: Pulling fs layer [2021-06-24T10:29:26.574Z] 0eba1c9be4d2: Pulling fs layer [2021-06-24T10:29:26.574Z] 0d57e429df01: Pulling fs layer [2021-06-24T10:29:26.574Z] 4e4be7b47b0d: Pulling fs layer [2021-06-24T10:29:26.574Z] e1f770b5df2f: Pulling fs layer [2021-06-24T10:29:26.574Z] 85a0685a4137: Pulling fs layer [2021-06-24T10:29:26.574Z] 0d57e429df01: Waiting [2021-06-24T10:29:26.574Z] 4e4be7b47b0d: Waiting [2021-06-24T10:29:26.574Z] e1f770b5df2f: Waiting [2021-06-24T10:29:26.574Z] 85a0685a4137: Waiting [2021-06-24T10:29:26.574Z] 0eba1c9be4d2: Waiting [2021-06-24T10:29:26.574Z] de9db76c5a1d: Verifying Checksum [2021-06-24T10:29:26.574Z] de9db76c5a1d: Download complete [2021-06-24T10:29:26.574Z] 0ef7d3d256c8: Verifying Checksum [2021-06-24T10:29:26.574Z] 0ef7d3d256c8: Download complete [2021-06-24T10:29:26.834Z] 0d57e429df01: Verifying Checksum [2021-06-24T10:29:26.834Z] 0d57e429df01: Download complete [2021-06-24T10:29:26.834Z] 188c0c94c7c5: Verifying Checksum [2021-06-24T10:29:26.834Z] 188c0c94c7c5: Download complete [2021-06-24T10:29:26.834Z] 4e4be7b47b0d: Verifying Checksum [2021-06-24T10:29:26.834Z] 4e4be7b47b0d: Download complete [2021-06-24T10:29:26.834Z] 188c0c94c7c5: Pull complete [2021-06-24T10:29:27.097Z] 0ef7d3d256c8: Pull complete [2021-06-24T10:29:27.097Z] de9db76c5a1d: Pull complete [2021-06-24T10:29:28.486Z] e1f770b5df2f: Verifying Checksum [2021-06-24T10:29:28.486Z] e1f770b5df2f: Download complete [2021-06-24T10:29:30.428Z] 0eba1c9be4d2: Verifying Checksum [2021-06-24T10:29:30.428Z] 0eba1c9be4d2: Download complete [2021-06-24T10:29:30.428Z] 85a0685a4137: Verifying Checksum [2021-06-24T10:29:30.428Z] 85a0685a4137: Download complete [2021-06-24T10:29:33.773Z] 0eba1c9be4d2: Pull complete [2021-06-24T10:29:33.773Z] 0d57e429df01: Pull complete [2021-06-24T10:29:33.773Z] 4e4be7b47b0d: Pull complete [2021-06-24T10:29:34.044Z] e1f770b5df2f: Pull complete [2021-06-24T10:29:37.360Z] 85a0685a4137: Pull complete [2021-06-24T10:29:37.360Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-06-24T10:29:37.360Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-24T10:29:37.360Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-06-24T10:29:37.440Z] prd-centos7-docker-4c-2g-1162 does not seem to be running inside a container [2021-06-24T10:29:37.474Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-06-24T10:29:40.278Z] $ docker top 6641b9fd142e14cc066008680a60ab3455866a536232b01a173a1397ffda8815 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-24T10:29:40.378Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-06-24T10:29:40.685Z] + set -o pipefail [2021-06-24T10:29:40.685Z] + snyk monitor '--org=edgex-jenkins' [2021-06-24T10:29:50.690Z] [2021-06-24T10:29:50.690Z] Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... [2021-06-24T10:29:50.690Z] [2021-06-24T10:29:50.690Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/e50cd1d3-016f-4e24-bd99-b369d429edf0 [2021-06-24T10:29:50.690Z] [2021-06-24T10:29:50.690Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-06-24T10:29:50.690Z] [2021-06-24T10:29:50.690Z] [Pipeline] } [2021-06-24T10:29:50.699Z] $ docker stop --time=1 6641b9fd142e14cc066008680a60ab3455866a536232b01a173a1397ffda8815 [2021-06-24T10:29:52.572Z] $ docker rm -f 6641b9fd142e14cc066008680a60ab3455866a536232b01a173a1397ffda8815 [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-06-24T10:29:53.643Z] + git log --format=format:%s -1 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:29:53.949Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T10:29:53.949Z] . [Pipeline] withDockerContainer [2021-06-24T10:29:54.027Z] prd-centos7-docker-4c-2g-1162 does not seem to be running inside a container [2021-06-24T10:29:54.070Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-24T10:29:54.416Z] $ docker top d29c89b81e9a754fb8bcb6c378c755a36bb3bdc423123493c8780e477abe35d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-24T10:29:54.578Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T10:29:54.578Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T10:29:54.692Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T10:29:54.690Z] $ docker exec d29c89b81e9a754fb8bcb6c378c755a36bb3bdc423123493c8780e477abe35d1 ssh-agent [2021-06-24T10:29:54.806Z] SSH_AUTH_SOCK=/tmp/ssh-VUSK2AuYlzhV/agent.13 [2021-06-24T10:29:54.806Z] SSH_AGENT_PID=20 [2021-06-24T10:29:54.811Z] Running ssh-add (command line suppressed) [2021-06-24T10:29:54.900Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5380065490140774003.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5380065490140774003.key) [2021-06-24T10:29:54.920Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T10:29:55.221Z] + git semver tag [2021-06-24T10:29:55.221Z] # -> Open(): unable to determine branch for HEAD [2021-06-24T10:29:55.221Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-06-24T10:29:55.221Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-06-24T10:29:55.221Z] # $SEMVER_REMOTE_NAME = origin [2021-06-24T10:29:55.221Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-24T10:29:55.221Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-24T10:29:55.221Z] # $SEMVER_BRANCH = master [2021-06-24T10:29:55.221Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-06-24T10:29:55.221Z] # 7f458d0c4f91ec8abf0d5b080d00395b52de4bf3 HEAD [2021-06-24T10:29:55.221Z] # -> Force: false [2021-06-24T10:29:55.221Z] # 8d651dbd72ea0ba7b34e6bafae3f9eaebd8f19a6 refs/tags/v1.3.2-dev.28 [Pipeline] } [2021-06-24T10:29:55.227Z] $ docker exec --env ******** --env ******** d29c89b81e9a754fb8bcb6c378c755a36bb3bdc423123493c8780e477abe35d1 ssh-agent -k [2021-06-24T10:29:55.319Z] unset SSH_AUTH_SOCK; [2021-06-24T10:29:55.319Z] unset SSH_AGENT_PID; [2021-06-24T10:29:55.319Z] echo Agent pid 20 killed; [2021-06-24T10:29:55.337Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-24T10:29:55.682Z] + git semver [Pipeline] } [2021-06-24T10:29:55.693Z] $ docker stop --time=1 d29c89b81e9a754fb8bcb6c378c755a36bb3bdc423123493c8780e477abe35d1 [2021-06-24T10:29:56.880Z] $ docker rm -f d29c89b81e9a754fb8bcb6c378c755a36bb3bdc423123493c8780e477abe35d1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:29:57.352Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-24T10:29:57.352Z] [2021-06-24T10:29:57.352Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:29:57.668Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-24T10:29:57.668Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-06-24T10:29:57.668Z] ab5ef0e58194: Pulling fs layer [2021-06-24T10:29:57.668Z] 9712f1f96733: Pulling fs layer [2021-06-24T10:29:57.668Z] 63f879dbbcfc: Pulling fs layer [2021-06-24T10:29:57.668Z] 0d9ebad4ef96: Pulling fs layer [2021-06-24T10:29:57.668Z] e9a5061849ea: Pulling fs layer [2021-06-24T10:29:57.668Z] d747dcd14b5f: Pulling fs layer [2021-06-24T10:29:57.668Z] 2de7ff778b66: Pulling fs layer [2021-06-24T10:29:57.668Z] e9a5061849ea: Waiting [2021-06-24T10:29:57.668Z] d747dcd14b5f: Waiting [2021-06-24T10:29:57.668Z] 2de7ff778b66: Waiting [2021-06-24T10:29:57.668Z] 0d9ebad4ef96: Waiting [2021-06-24T10:29:57.668Z] 9712f1f96733: Verifying Checksum [2021-06-24T10:29:57.668Z] 9712f1f96733: Download complete [2021-06-24T10:29:59.056Z] 63f879dbbcfc: Verifying Checksum [2021-06-24T10:29:59.056Z] 63f879dbbcfc: Download complete [2021-06-24T10:29:59.316Z] e9a5061849ea: Verifying Checksum [2021-06-24T10:29:59.316Z] e9a5061849ea: Download complete [2021-06-24T10:29:59.316Z] d747dcd14b5f: Verifying Checksum [2021-06-24T10:29:59.316Z] d747dcd14b5f: Download complete [2021-06-24T10:29:59.577Z] 2de7ff778b66: Verifying Checksum [2021-06-24T10:29:59.577Z] 2de7ff778b66: Download complete [2021-06-24T10:29:59.843Z] 0d9ebad4ef96: Verifying Checksum [2021-06-24T10:29:59.843Z] 0d9ebad4ef96: Download complete [2021-06-24T10:29:59.843Z] ab5ef0e58194: Verifying Checksum [2021-06-24T10:29:59.843Z] ab5ef0e58194: Download complete [2021-06-24T10:30:02.426Z] ab5ef0e58194: Pull complete [2021-06-24T10:30:02.426Z] 9712f1f96733: Pull complete [2021-06-24T10:30:05.275Z] 63f879dbbcfc: Pull complete [2021-06-24T10:30:06.689Z] 0d9ebad4ef96: Pull complete [2021-06-24T10:30:06.689Z] e9a5061849ea: Pull complete [2021-06-24T10:30:06.957Z] d747dcd14b5f: Pull complete [2021-06-24T10:30:07.902Z] 2de7ff778b66: Pull complete [2021-06-24T10:30:07.902Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-06-24T10:30:07.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-24T10:30:07.902Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-06-24T10:30:08.238Z] prd-centos7-docker-4c-2g-1162 does not seem to be running inside a container [2021-06-24T10:30:08.277Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-06-24T10:30:12.395Z] $ docker top 023b53a3eec5660dea22fec236a0ad78accb2d7c723ebb3647f967bf9986e081 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-06-24T10:30:12.524Z] provisioning config files... [2021-06-24T10:30:12.534Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5961116083683412310tmp [2021-06-24T10:30:12.546Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5592269214406634467tmp [2021-06-24T10:30:12.559Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config4435865539115167076tmp [Pipeline] { [Pipeline] echo [2021-06-24T10:30:12.581Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T10:30:12.875Z] ---> sigul-configuration.sh [2021-06-24T10:30:12.875Z] gpg: directory `/root/.gnupg' created [2021-06-24T10:30:12.875Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-06-24T10:30:12.875Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-06-24T10:30:12.875Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-06-24T10:30:12.875Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-06-24T10:30:12.875Z] gpg: CAST5 encrypted data [2021-06-24T10:30:12.875Z] gpg: encrypted with 1 passphrase [2021-06-24T10:30:12.875Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-06-24T10:30:13.172Z] + mkdir /home/jenkins [2021-06-24T10:30:13.172Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-06-24T10:30:13.472Z] + 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-06-24T10:30:13.482Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T10:30:13.784Z] ---> sigul-install.sh [2021-06-24T10:30:19.072Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-06-24T10:30:19.381Z] + git tag --list [2021-06-24T10:30:19.381Z] v1.0.0 [2021-06-24T10:30:19.381Z] v1.1.0 [2021-06-24T10:30:19.381Z] v1.1.1 [2021-06-24T10:30:19.381Z] v1.2.1 [2021-06-24T10:30:19.381Z] v1.2.2 [2021-06-24T10:30:19.381Z] v1.2.3 [2021-06-24T10:30:19.381Z] v1.3.0 [2021-06-24T10:30:19.381Z] v1.3.1 [2021-06-24T10:30:19.381Z] v1.3.1-dev.1 [2021-06-24T10:30:19.381Z] v1.3.1-dev.2 [2021-06-24T10:30:19.381Z] v1.3.1-dev.3 [2021-06-24T10:30:19.381Z] v1.3.1-dev.4 [2021-06-24T10:30:19.381Z] v1.3.1-dev.5 [2021-06-24T10:30:19.381Z] v1.3.2-dev.1 [2021-06-24T10:30:19.381Z] v1.3.2-dev.10 [2021-06-24T10:30:19.381Z] v1.3.2-dev.11 [2021-06-24T10:30:19.381Z] v1.3.2-dev.12 [2021-06-24T10:30:19.381Z] v1.3.2-dev.13 [2021-06-24T10:30:19.381Z] v1.3.2-dev.14 [2021-06-24T10:30:19.381Z] v1.3.2-dev.15 [2021-06-24T10:30:19.381Z] v1.3.2-dev.16 [2021-06-24T10:30:19.381Z] v1.3.2-dev.17 [2021-06-24T10:30:19.381Z] v1.3.2-dev.18 [2021-06-24T10:30:19.381Z] v1.3.2-dev.19 [2021-06-24T10:30:19.381Z] v1.3.2-dev.2 [2021-06-24T10:30:19.381Z] v1.3.2-dev.20 [2021-06-24T10:30:19.381Z] v1.3.2-dev.21 [2021-06-24T10:30:19.381Z] v1.3.2-dev.22 [2021-06-24T10:30:19.381Z] v1.3.2-dev.23 [2021-06-24T10:30:19.381Z] v1.3.2-dev.24 [2021-06-24T10:30:19.381Z] v1.3.2-dev.25 [2021-06-24T10:30:19.381Z] v1.3.2-dev.26 [2021-06-24T10:30:19.381Z] v1.3.2-dev.27 [2021-06-24T10:30:19.381Z] v1.3.2-dev.28 [2021-06-24T10:30:19.381Z] v1.3.2-dev.3 [2021-06-24T10:30:19.381Z] v1.3.2-dev.4 [2021-06-24T10:30:19.381Z] v1.3.2-dev.5 [2021-06-24T10:30:19.382Z] v1.3.2-dev.6 [2021-06-24T10:30:19.382Z] v1.3.2-dev.7 [2021-06-24T10:30:19.382Z] v1.3.2-dev.8 [2021-06-24T10:30:19.382Z] v1.3.2-dev.9 [Pipeline] sh [2021-06-24T10:30:19.684Z] + lftools sign git-tag v1.3.2-dev.28 [2021-06-24T10:30:20.258Z] Signing Git tag with Sigul... [2021-06-24T10:30:20.258Z] Signing v1.3.2-dev.28 [Pipeline] echo [2021-06-24T10:30:21.213Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T10:30:21.507Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-06-24T10:30:21.516Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-06-24T10:30:21.550Z] $ docker stop --time=1 023b53a3eec5660dea22fec236a0ad78accb2d7c723ebb3647f967bf9986e081 [2021-06-24T10:30:23.488Z] $ docker rm -f 023b53a3eec5660dea22fec236a0ad78accb2d7c723ebb3647f967bf9986e081 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:30:24.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T10:30:24.230Z] . [Pipeline] withDockerContainer [2021-06-24T10:30:24.304Z] prd-centos7-docker-4c-2g-1162 does not seem to be running inside a container [2021-06-24T10:30:24.339Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-24T10:30:24.755Z] $ docker top bc57861b1489a373145122d431eebd18f93fa82053d81dd0deadd5cdd69ac411 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-24T10:30:24.892Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T10:30:24.893Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T10:30:25.014Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T10:30:25.012Z] $ docker exec bc57861b1489a373145122d431eebd18f93fa82053d81dd0deadd5cdd69ac411 ssh-agent [2021-06-24T10:30:25.131Z] SSH_AUTH_SOCK=/tmp/ssh-PpFE0IqkZqjX/agent.13 [2021-06-24T10:30:25.131Z] SSH_AGENT_PID=19 [2021-06-24T10:30:25.137Z] Running ssh-add (command line suppressed) [2021-06-24T10:30:25.240Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2110044407674492451.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2110044407674492451.key) [2021-06-24T10:30:25.263Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T10:30:25.567Z] + git semver bump pre [2021-06-24T10:30:25.567Z] # -> Open(): unable to determine branch for HEAD [2021-06-24T10:30:25.567Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-06-24T10:30:25.567Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-06-24T10:30:25.567Z] # $SEMVER_REMOTE_NAME = origin [2021-06-24T10:30:25.567Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-24T10:30:25.567Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-24T10:30:25.567Z] # $SEMVER_BRANCH = master [2021-06-24T10:30:25.567Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-06-24T10:30:25.567Z] 1.3.2-dev.29 [Pipeline] } [2021-06-24T10:30:25.573Z] $ docker exec --env ******** --env ******** bc57861b1489a373145122d431eebd18f93fa82053d81dd0deadd5cdd69ac411 ssh-agent -k [2021-06-24T10:30:25.670Z] unset SSH_AUTH_SOCK; [2021-06-24T10:30:25.670Z] unset SSH_AGENT_PID; [2021-06-24T10:30:25.670Z] echo Agent pid 19 killed; [2021-06-24T10:30:25.687Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-24T10:30:26.044Z] + git semver [Pipeline] } [2021-06-24T10:30:26.056Z] $ docker stop --time=1 bc57861b1489a373145122d431eebd18f93fa82053d81dd0deadd5cdd69ac411 [2021-06-24T10:30:27.256Z] $ docker rm -f bc57861b1489a373145122d431eebd18f93fa82053d81dd0deadd5cdd69ac411 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:30:27.655Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T10:30:27.655Z] . [Pipeline] withDockerContainer [2021-06-24T10:30:27.726Z] prd-centos7-docker-4c-2g-1162 does not seem to be running inside a container [2021-06-24T10:30:27.767Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-24T10:30:28.078Z] $ docker top 5fcd921735063fae65fab24f2f0333440ac39d1262806fa1f52b5d2040dec14c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-24T10:30:28.231Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T10:30:28.231Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T10:30:28.337Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T10:30:28.335Z] $ docker exec 5fcd921735063fae65fab24f2f0333440ac39d1262806fa1f52b5d2040dec14c ssh-agent [2021-06-24T10:30:28.449Z] SSH_AUTH_SOCK=/tmp/ssh-BCGGmfky5eqj/agent.13 [2021-06-24T10:30:28.449Z] SSH_AGENT_PID=19 [2021-06-24T10:30:28.455Z] Running ssh-add (command line suppressed) [2021-06-24T10:30:28.535Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5895782898506580068.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5895782898506580068.key) [2021-06-24T10:30:28.554Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T10:30:28.864Z] + git semver push [2021-06-24T10:30:28.864Z] # -> Open(): unable to determine branch for HEAD [2021-06-24T10:30:28.864Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-06-24T10:30:28.864Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-06-24T10:30:28.865Z] # $SEMVER_REMOTE_NAME = origin [2021-06-24T10:30:28.865Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-24T10:30:28.865Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-24T10:30:28.865Z] # $SEMVER_BRANCH = master [2021-06-24T10:30:28.865Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-06-24T10:30:34.172Z] $ docker exec --env ******** --env ******** 5fcd921735063fae65fab24f2f0333440ac39d1262806fa1f52b5d2040dec14c ssh-agent -k [2021-06-24T10:30:34.271Z] unset SSH_AUTH_SOCK; [2021-06-24T10:30:34.271Z] unset SSH_AGENT_PID; [2021-06-24T10:30:34.271Z] echo Agent pid 19 killed; [2021-06-24T10:30:34.285Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-24T10:30:34.635Z] + git semver [Pipeline] } [2021-06-24T10:30:34.648Z] $ docker stop --time=1 5fcd921735063fae65fab24f2f0333440ac39d1262806fa1f52b5d2040dec14c [2021-06-24T10:30:35.831Z] $ docker rm -f 5fcd921735063fae65fab24f2f0333440ac39d1262806fa1f52b5d2040dec14c [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-06-24T10:30:37.429Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T10:30:37.741Z] ---> package-listing.sh [2021-06-24T10:30:37.741Z] ++ facter osfamily [2021-06-24T10:30:37.741Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-24T10:30:38.004Z] + OS_FAMILY=redhat [2021-06-24T10:30:38.004Z] + workspace=/w/workspace/foundry_device-virtual-go_master [2021-06-24T10:30:38.004Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-24T10:30:38.004Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-24T10:30:38.004Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-24T10:30:38.004Z] + PACKAGES=/tmp/packages_start.txt [2021-06-24T10:30:38.004Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-06-24T10:30:38.004Z] + PACKAGES=/tmp/packages_end.txt [2021-06-24T10:30:38.004Z] + case "${OS_FAMILY}" in [2021-06-24T10:30:38.004Z] + sort [2021-06-24T10:30:38.004Z] + rpm -qa [2021-06-24T10:30:38.582Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-24T10:30:38.582Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-24T10:30:38.582Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-24T10:30:38.582Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-06-24T10:30:38.582Z] + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ [2021-06-24T10:30:38.582Z] + 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-06-24T10:30:38.594Z] 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-06-24T10:30:38.884Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:30:39.454Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T10:30:39.454Z] [2021-06-24T10:30:39.454Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-24T10:30:39.771Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T10:30:39.771Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-24T10:30:39.771Z] df20fa9351a1: Pulling fs layer [2021-06-24T10:30:39.771Z] 36b3adc4ff6f: Pulling fs layer [2021-06-24T10:30:39.771Z] 8ad3a11d3b57: Pulling fs layer [2021-06-24T10:30:39.771Z] 46f8f816bc3b: Pulling fs layer [2021-06-24T10:30:39.771Z] 93b61091891f: Pulling fs layer [2021-06-24T10:30:39.771Z] 93b9cdb0e59b: Pulling fs layer [2021-06-24T10:30:39.771Z] 5e14af77c1be: Pulling fs layer [2021-06-24T10:30:39.771Z] 01666e4c0597: Pulling fs layer [2021-06-24T10:30:39.771Z] aa168da1d23b: Pulling fs layer [2021-06-24T10:30:39.771Z] 46f8f816bc3b: Waiting [2021-06-24T10:30:39.771Z] 93b61091891f: Waiting [2021-06-24T10:30:39.771Z] 93b9cdb0e59b: Waiting [2021-06-24T10:30:39.771Z] 5e14af77c1be: Waiting [2021-06-24T10:30:39.771Z] 01666e4c0597: Waiting [2021-06-24T10:30:39.771Z] aa168da1d23b: Waiting [2021-06-24T10:30:39.771Z] 36b3adc4ff6f: Verifying Checksum [2021-06-24T10:30:39.771Z] 36b3adc4ff6f: Download complete [2021-06-24T10:30:39.771Z] 46f8f816bc3b: Verifying Checksum [2021-06-24T10:30:39.771Z] 46f8f816bc3b: Download complete [2021-06-24T10:30:39.771Z] df20fa9351a1: Verifying Checksum [2021-06-24T10:30:39.771Z] df20fa9351a1: Download complete [2021-06-24T10:30:40.037Z] 93b9cdb0e59b: Verifying Checksum [2021-06-24T10:30:40.037Z] 93b9cdb0e59b: Download complete [2021-06-24T10:30:40.037Z] 5e14af77c1be: Verifying Checksum [2021-06-24T10:30:40.037Z] 5e14af77c1be: Download complete [2021-06-24T10:30:40.037Z] 93b61091891f: Verifying Checksum [2021-06-24T10:30:40.037Z] 93b61091891f: Download complete [2021-06-24T10:30:40.037Z] 01666e4c0597: Verifying Checksum [2021-06-24T10:30:40.037Z] 01666e4c0597: Download complete [2021-06-24T10:30:40.037Z] df20fa9351a1: Pull complete [2021-06-24T10:30:40.037Z] 8ad3a11d3b57: Verifying Checksum [2021-06-24T10:30:40.037Z] 8ad3a11d3b57: Download complete [2021-06-24T10:30:40.037Z] 36b3adc4ff6f: Pull complete [2021-06-24T10:30:40.610Z] 8ad3a11d3b57: Pull complete [2021-06-24T10:30:40.610Z] 46f8f816bc3b: Pull complete [2021-06-24T10:30:40.873Z] 93b61091891f: Pull complete [2021-06-24T10:30:40.874Z] 93b9cdb0e59b: Pull complete [2021-06-24T10:30:41.137Z] 5e14af77c1be: Pull complete [2021-06-24T10:30:41.138Z] 01666e4c0597: Pull complete [2021-06-24T10:30:41.712Z] aa168da1d23b: Verifying Checksum [2021-06-24T10:30:41.712Z] aa168da1d23b: Download complete [2021-06-24T10:30:45.950Z] aa168da1d23b: Pull complete [2021-06-24T10:30:45.950Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-24T10:30:45.950Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T10:30:45.950Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-24T10:30:46.018Z] prd-centos7-docker-4c-2g-1162 does not seem to be running inside a container [2021-06-24T10:30:46.055Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-24T10:30:49.110Z] $ docker top 0fbc5fc304eba153db72030af2f58332b626e571e8ca084d62bc168d00907a58 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T10:30:49.490Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-24T10:30:49.786Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-24T10:30:50.080Z] + ls /var/log/sa-host [2021-06-24T10:30:50.080Z] + sadf -c /var/log/sa-host/sa05 [2021-06-24T10:30:50.080Z] file_magic: OK [2021-06-24T10:30:50.080Z] HZ: Using current value: 100 [2021-06-24T10:30:50.080Z] file_header: OK [2021-06-24T10:30:50.080Z] 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-06-24T10:30:50.080Z] Statistics: [2021-06-24T10:30:50.080Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-24T10:30:50.080Z] File successfully converted to sysstat format version 12.2.1 [2021-06-24T10:30:50.080Z] + sadf -c /var/log/sa-host/sa24 [2021-06-24T10:30:50.080Z] file_magic: OK [2021-06-24T10:30:50.080Z] HZ: Using current value: 100 [2021-06-24T10:30:50.080Z] file_header: OK [2021-06-24T10:30:50.080Z] 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-06-24T10:30:50.080Z] Statistics: [2021-06-24T10:30:50.080Z] 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-06-24T10:30:50.080Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T10:30:53.010Z] provisioning config files... [2021-06-24T10:30:53.029Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1888858242396569474tmp [Pipeline] { [Pipeline] echo [2021-06-24T10:30:53.051Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T10:30:53.346Z] ---> create-netrc.sh [Pipeline] } [2021-06-24T10:30:53.355Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-24T10:30:53.818Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-24T10:30:53.832Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T10:30:54.141Z] ---> sudo-logs.sh [2021-06-24T10:30:54.141Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-24T10:30:54.174Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T10:30:54.470Z] ---> job-cost.sh [2021-06-24T10:30:54.470Z] lf-activate-venv: SKIPPING [2021-06-24T10:30:54.470Z] DEBUG: total: 0.18000000715255737 [2021-06-24T10:30:54.470Z] INFO: Retrieving Stack Cost... [2021-06-24T10:30:55.411Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-24T10:30:55.984Z] INFO: Archiving Costs [Pipeline] echo [2021-06-24T10:30:55.999Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T10:30:56.294Z] ---> logs-deploy.sh [2021-06-24T10:30:56.294Z] lf-activate-venv: SKIPPING [2021-06-24T10:30:56.294Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/68 [2021-06-24T10:30:56.294Z] INFO: archiving workspace using pattern(s): [2021-06-24T10:30:57.237Z] Archives upload complete. [2021-06-24T10:30:57.237Z] INFO: archiving logs to Nexus