Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b32159014ae45265b13142f0741b8ad008d9ae08 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-ssh7062506070333795726.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-ssh5436370437040263616.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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-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-rest-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8279057483167716118.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > 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-ssh6723218654732235638.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-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-rest-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1813317010421233895.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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-rest-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-rest-go-settings PROJECT: device-rest-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-rest 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 Finished waiting Running on prd-centos7-docker-4c-2g-0 in /w/workspace/gexfoundry_device-rest-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-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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/gexfoundry_device-rest-go_master@tmp/jenkins-gitclient-ssh4556999523228701723.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b32159014ae45265b13142f0741b8ad008d9ae08 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b32159014ae45265b13142f0741b8ad008d9ae08 # timeout=10 Commit message: "Merge pull request #115 from lenny-intel/PublishTopicPrefix" > git rev-list --no-walk a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-09T09:25:38.961Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-09T09:25:39.068Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-09T09:25:39.098Z] ========================================================= [2021-06-09T09:25:39.098Z] EdgeX Global Pipelines Version Info [2021-06-09T09:25:39.098Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-09T09:25:40.591Z] ------------------- [2021-06-09T09:25:40.591Z] stable info: [2021-06-09T09:25:40.591Z] ------------------- [2021-06-09T09:25:40.591Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-09T09:25:40.591Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T09:25:40.591Z] Message: update stable to v1.0.194 [2021-06-09T09:25:41.178Z] ------------------- [2021-06-09T09:25:41.178Z] experimental info: [2021-06-09T09:25:41.178Z] ------------------- [2021-06-09T09:25:41.178Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-09T09:25:41.178Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T09:25:41.179Z] Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-09T09:25:41.458Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-06-09T09:25:41.505Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-06-09T09:25:41.545Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-09T09:25:41.588Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-09T09:25:41.615Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-09T09:25:41.640Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-09T09:25:41.665Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-09T09:25:41.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-09T09:25:41.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-09T09:25:41.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-09T09:25:41.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-09T09:25:41.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-06-09T09:25:41.841Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-09T09:25:41.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-09T09:25:41.898Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-09T09:25:41.925Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-09T09:25:41.951Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T09:25:41.979Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T09:25:42.004Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-09T09:25:42.039Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-09T09:25:42.091Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-09T09:25:42.117Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-09T09:25:42.144Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-09T09:25:42.180Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-09T09:25:42.210Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-09T09:25:42.242Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-09T09:25:42.268Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-06-09T09:25:42.292Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-06-09T09:25:42.317Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-06-09T09:25:42.359Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b32159014ae45265b13142f0741b8ad008d9ae08 [Pipeline] echo [2021-06-09T09:25:42.401Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b321590 [Pipeline] echo [2021-06-09T09:25:42.434Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T09:25:42.530Z] provisioning config files... [2021-06-09T09:25:42.554Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4103056903534098368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T09:25:42.910Z] ---> docker-login.sh [2021-06-09T09:25:42.910Z] nexus3.edgexfoundry.org:10001 [2021-06-09T09:25:43.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:25:43.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:25:43.467Z] Configure a credential helper to remove this warning. See [2021-06-09T09:25:43.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:25:43.467Z] [2021-06-09T09:25:43.467Z] Login Succeeded [2021-06-09T09:25:43.467Z] nexus3.edgexfoundry.org:10002 [2021-06-09T09:25:43.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:25:43.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:25:43.467Z] Configure a credential helper to remove this warning. See [2021-06-09T09:25:43.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:25:43.467Z] [2021-06-09T09:25:43.467Z] Login Succeeded [2021-06-09T09:25:43.467Z] nexus3.edgexfoundry.org:10003 [2021-06-09T09:25:43.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:25:43.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:25:43.731Z] Configure a credential helper to remove this warning. See [2021-06-09T09:25:43.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:25:43.731Z] [2021-06-09T09:25:43.731Z] Login Succeeded [2021-06-09T09:25:43.731Z] nexus3.edgexfoundry.org:10004 [2021-06-09T09:25:43.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:25:43.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:25:43.731Z] Configure a credential helper to remove this warning. See [2021-06-09T09:25:43.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:25:43.731Z] [2021-06-09T09:25:43.731Z] Login Succeeded [2021-06-09T09:25:43.731Z] docker.io [2021-06-09T09:25:43.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:25:44.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:25:44.256Z] Configure a credential helper to remove this warning. See [2021-06-09T09:25:44.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:25:44.256Z] [2021-06-09T09:25:44.256Z] Login Succeeded [2021-06-09T09:25:44.256Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T09:25:44.267Z] 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-09T09:25:44.814Z] + git log --format=format:%s -1 b32159014ae45265b13142f0741b8ad008d9ae08 [Pipeline] echo [2021-06-09T09:25:44.870Z] GIT_COMMIT: b32159014ae45265b13142f0741b8ad008d9ae08, Commit Message: Merge pull request #115 from lenny-intel/PublishTopicPrefix [Pipeline] echo [2021-06-09T09:25:44.882Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:25:45.497Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T09:25:45.497Z] [2021-06-09T09:25:45.497Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:25:45.900Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T09:25:46.168Z] latest: Pulling from edgex-devops/git-semver [2021-06-09T09:25:46.168Z] 31603596830f: Pulling fs layer [2021-06-09T09:25:46.168Z] 54011a49482f: Pulling fs layer [2021-06-09T09:25:46.168Z] a6820b24f6d8: Pulling fs layer [2021-06-09T09:25:46.168Z] f581987b2513: Pulling fs layer [2021-06-09T09:25:46.168Z] f581987b2513: Waiting [2021-06-09T09:25:46.168Z] 54011a49482f: Verifying Checksum [2021-06-09T09:25:46.168Z] 54011a49482f: Download complete [2021-06-09T09:25:46.433Z] 31603596830f: Verifying Checksum [2021-06-09T09:25:46.434Z] 31603596830f: Download complete [2021-06-09T09:25:46.698Z] 31603596830f: Pull complete [2021-06-09T09:25:46.698Z] f581987b2513: Verifying Checksum [2021-06-09T09:25:46.698Z] f581987b2513: Download complete [2021-06-09T09:25:46.698Z] a6820b24f6d8: Verifying Checksum [2021-06-09T09:25:46.698Z] a6820b24f6d8: Download complete [2021-06-09T09:25:46.698Z] 54011a49482f: Pull complete [2021-06-09T09:25:47.282Z] a6820b24f6d8: Pull complete [2021-06-09T09:25:47.545Z] f581987b2513: Pull complete [2021-06-09T09:25:47.545Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-09T09:25:47.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T09:25:47.545Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-09T09:25:47.643Z] prd-centos7-docker-4c-2g-0 does not seem to be running inside a container [2021-06-09T09:25:47.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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-09T09:25:48.729Z] $ docker top 113f21d34a9d9dff051a16e43336bd0aec22c0f58590b6b822cb56f1f9bfbb73 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-09T09:25:48.893Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T09:25:48.893Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T09:25:49.023Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T09:25:49.023Z] $ docker exec 113f21d34a9d9dff051a16e43336bd0aec22c0f58590b6b822cb56f1f9bfbb73 ssh-agent [2021-06-09T09:25:49.146Z] SSH_AUTH_SOCK=/tmp/ssh-CrEVOKYvlUnb/agent.13 [2021-06-09T09:25:49.147Z] SSH_AGENT_PID=20 [2021-06-09T09:25:49.155Z] Running ssh-add (command line suppressed) [2021-06-09T09:25:49.265Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2341011381678507059.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2341011381678507059.key) [2021-06-09T09:25:49.286Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T09:25:49.612Z] + git tag --points-at HEAD [Pipeline] } [2021-06-09T09:25:49.623Z] $ docker exec --env ******** --env ******** 113f21d34a9d9dff051a16e43336bd0aec22c0f58590b6b822cb56f1f9bfbb73 ssh-agent -k [2021-06-09T09:25:49.728Z] unset SSH_AUTH_SOCK; [2021-06-09T09:25:49.728Z] unset SSH_AGENT_PID; [2021-06-09T09:25:49.729Z] echo Agent pid 20 killed; [2021-06-09T09:25:49.748Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-09T09:25:49.797Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T09:25:49.797Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T09:25:49.917Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T09:25:49.916Z] $ docker exec 113f21d34a9d9dff051a16e43336bd0aec22c0f58590b6b822cb56f1f9bfbb73 ssh-agent [2021-06-09T09:25:50.042Z] SSH_AUTH_SOCK=/tmp/ssh-QtXrDIrO4JUY/agent.51 [2021-06-09T09:25:50.042Z] SSH_AGENT_PID=58 [2021-06-09T09:25:50.049Z] Running ssh-add (command line suppressed) [2021-06-09T09:25:50.161Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1969706166542746451.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1969706166542746451.key) [2021-06-09T09:25:50.187Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T09:25:50.504Z] + git semver init [2021-06-09T09:25:50.504Z] # -> Open(): unable to determine branch for HEAD [2021-06-09T09:25:50.504Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-06-09T09:25:50.504Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-06-09T09:25:50.504Z] # $SEMVER_REMOTE_NAME = origin [2021-06-09T09:25:50.504Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-09T09:25:50.504Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-09T09:25:50.504Z] # $SEMVER_BRANCH = master [2021-06-09T09:25:50.504Z] # $SEMVER_TEMP = /tmp/semver-529155459 [2021-06-09T09:25:50.504Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-06-09T09:25:51.457Z] # '/tmp/semver-529155459' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2021-06-09T09:25:51.457Z] # -> Force: false [2021-06-09T09:25:51.457Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-06-09T09:25:51.467Z] $ docker exec --env ******** --env ******** 113f21d34a9d9dff051a16e43336bd0aec22c0f58590b6b822cb56f1f9bfbb73 ssh-agent -k [2021-06-09T09:25:51.569Z] unset SSH_AUTH_SOCK; [2021-06-09T09:25:51.569Z] unset SSH_AGENT_PID; [2021-06-09T09:25:51.569Z] echo Agent pid 58 killed; [2021-06-09T09:25:51.587Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-09T09:25:51.925Z] + git semver [Pipeline] } [2021-06-09T09:25:51.939Z] $ docker stop --time=1 113f21d34a9d9dff051a16e43336bd0aec22c0f58590b6b822cb56f1f9bfbb73 [2021-06-09T09:25:53.281Z] $ docker rm -f 113f21d34a9d9dff051a16e43336bd0aec22c0f58590b6b822cb56f1f9bfbb73 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T09:25:53.664Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-09T09:25:53.939Z] Stashed 1 file(s) [Pipeline] echo [2021-06-09T09:25:53.944Z] [edgeXSemver]: initialized semver on version 1.2.2-dev.17 [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-09T09:25:54.388Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1202 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-06-09T09:25:54.407Z] Running in /w/workspace/device-rest-go/51 [Pipeline] { [Pipeline] checkout [2021-06-09T09:25:54.603Z] The recommended git tool is: git [2021-06-09T09:25:59.927Z] using credential edgex-jenkins-ssh [2021-06-09T09:25:59.944Z] Cloning the remote Git repository [2021-06-09T09:25:59.995Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-09T09:26:00.106Z] > git init /w/workspace/device-rest-go/51 # timeout=10 [2021-06-09T09:26:00.197Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-09T09:26:00.198Z] > git --version # timeout=10 [2021-06-09T09:26:00.213Z] > git --version # 'git version 2.17.1' [2021-06-09T09:26:00.215Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T09:26:00.287Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T09:26:01.770Z] Avoid second fetch [2021-06-09T09:26:01.771Z] Checking out Revision b32159014ae45265b13142f0741b8ad008d9ae08 (master) [2021-06-09T09:26:01.732Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-09T09:26:01.755Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T09:26:01.793Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T09:26:01.807Z] > git checkout -f b32159014ae45265b13142f0741b8ad008d9ae08 # timeout=10 [2021-06-09T09:26:06.082Z] Commit message: "Merge pull request #115 from lenny-intel/PublishTopicPrefix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T09:26:07.791Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-09T09:26:08.208Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T09:26:08.558Z] + sudo service docker restart [2021-06-09T09:26:08.558Z] + true [2021-06-09T09:26:09.186Z] Still waiting to schedule task [2021-06-09T09:26:09.187Z] ‘prd-centos7-builder-2c-1g-1201’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-09T09:26:09.188Z] ‘prd-centos7-docker-4c-2g-1182’ is offline [2021-06-09T09:26:09.188Z] ‘prd-centos7-docker-4c-2g-1187’ is offline [2021-06-09T09:26:09.188Z] ‘prd-centos7-docker-4c-2g-1188’ is offline [2021-06-09T09:26:09.188Z] ‘prd-centos7-docker-4c-2g-1189’ is offline [2021-06-09T09:26:09.188Z] ‘prd-centos7-docker-4c-2g-1193’ is offline [2021-06-09T09:26:09.189Z] ‘prd-centos7-docker-4c-2g-1194’ is offline [2021-06-09T09:26:09.189Z] ‘prd-centos7-docker-4c-2g-1195’ is offline [2021-06-09T09:26:09.189Z] ‘prd-centos7-docker-4c-2g-1196’ is offline [2021-06-09T09:26:09.189Z] ‘prd-centos7-docker-4c-2g-1197’ is offline [2021-06-09T09:26:09.189Z] ‘prd-centos7-docker-4c-2g-3’ is offline [2021-06-09T09:26:09.189Z] ‘prd-centos7-docker-4c-2g-4’ is offline [2021-06-09T09:26:09.189Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1198’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-09T09:26:09.189Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1199’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-09T09:26:09.189Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-09T09:26:24.875Z] Running on prd-centos7-docker-4c-2g-4 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-06-09T09:26:24.895Z] Running in /w/workspace/device-rest-go/51 [Pipeline] { [Pipeline] checkout [2021-06-09T09:26:25.017Z] The recommended git tool is: git [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T09:26:26.928Z] provisioning config files... [2021-06-09T09:26:26.976Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/51@tmp/config4402755778895203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T09:26:27.350Z] using credential edgex-jenkins-ssh [2021-06-09T09:26:27.370Z] Cloning the remote Git repository [2021-06-09T09:26:27.372Z] ---> docker-login.sh [2021-06-09T09:26:27.372Z] nexus3.edgexfoundry.org:10001 [2021-06-09T09:26:27.217Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-09T09:26:27.284Z] > git init /w/workspace/device-rest-go/51 # timeout=10 [2021-06-09T09:26:27.319Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-09T09:26:27.319Z] > git --version # timeout=10 [2021-06-09T09:26:27.331Z] > git --version # 'git version 2.24.4' [2021-06-09T09:26:27.332Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T09:26:27.363Z] [INFO] Currently running in a labeled security context [2021-06-09T09:26:27.364Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T09:26:27.364Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/51@tmp/jenkins-gitclient-ssh8264339966239350442.key [2021-06-09T09:26:27.386Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T09:26:28.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:26:28.425Z] Avoid second fetch [2021-06-09T09:26:28.426Z] Checking out Revision b32159014ae45265b13142f0741b8ad008d9ae08 (master) [2021-06-09T09:26:28.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:26:28.642Z] Configure a credential helper to remove this warning. See [2021-06-09T09:26:28.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:26:28.642Z] [2021-06-09T09:26:28.642Z] Login Succeeded [2021-06-09T09:26:28.642Z] nexus3.edgexfoundry.org:10002 [2021-06-09T09:26:28.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:26:29.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:26:29.200Z] Configure a credential helper to remove this warning. See [2021-06-09T09:26:29.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:26:29.200Z] [2021-06-09T09:26:29.200Z] Login Succeeded [2021-06-09T09:26:29.200Z] nexus3.edgexfoundry.org:10003 [2021-06-09T09:26:28.323Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-09T09:26:28.331Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T09:26:28.349Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T09:26:28.357Z] > git checkout -f b32159014ae45265b13142f0741b8ad008d9ae08 # timeout=10 [2021-06-09T09:26:29.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:26:29.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:26:29.752Z] Configure a credential helper to remove this warning. See [2021-06-09T09:26:29.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:26:29.752Z] [2021-06-09T09:26:29.752Z] Login Succeeded [2021-06-09T09:26:29.752Z] nexus3.edgexfoundry.org:10004 [2021-06-09T09:26:30.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:26:30.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:26:30.300Z] Configure a credential helper to remove this warning. See [2021-06-09T09:26:30.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:26:30.300Z] [2021-06-09T09:26:30.300Z] Login Succeeded [2021-06-09T09:26:30.300Z] docker.io [2021-06-09T09:26:30.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:26:31.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:26:31.168Z] Configure a credential helper to remove this warning. See [2021-06-09T09:26:31.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:26:31.168Z] [2021-06-09T09:26:31.168Z] Login Succeeded [2021-06-09T09:26:31.168Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T09:26:31.188Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-09T09:26:31.544Z] ========================================================= [2021-06-09T09:26:31.544Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-09T09:26:31.545Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:26:31.891Z] + 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-09T09:26:31.891Z] Sending build context to Docker daemon 92.16kB [2021-06-09T09:26:32.007Z] Commit message: "Merge pull request #115 from lenny-intel/PublishTopicPrefix" [2021-06-09T09:26:32.168Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T09:26:32.169Z] Step 2/10 : FROM ${BASE} [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T09:26:32.441Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-09T09:26:32.441Z] 595b0fe564bb: Pulling fs layer [2021-06-09T09:26:32.441Z] 7186ed65a4f7: Pulling fs layer [2021-06-09T09:26:32.441Z] 316046926c0a: Pulling fs layer [2021-06-09T09:26:32.441Z] 4ebd0625c992: Pulling fs layer [2021-06-09T09:26:32.441Z] 207e8628e3a3: Pulling fs layer [2021-06-09T09:26:32.441Z] c791037a9be2: Pulling fs layer [2021-06-09T09:26:32.441Z] ffd874e62e21: Pulling fs layer [2021-06-09T09:26:32.441Z] 207e8628e3a3: Waiting [2021-06-09T09:26:32.441Z] c791037a9be2: Waiting [2021-06-09T09:26:32.441Z] 4ebd0625c992: Waiting [2021-06-09T09:26:32.441Z] 316046926c0a: Download complete [2021-06-09T09:26:32.441Z] 7186ed65a4f7: Download complete [2021-06-09T09:26:32.441Z] 207e8628e3a3: Verifying Checksum [2021-06-09T09:26:32.441Z] 207e8628e3a3: Download complete [2021-06-09T09:26:32.441Z] 595b0fe564bb: Verifying Checksum [2021-06-09T09:26:32.441Z] 595b0fe564bb: Download complete [2021-06-09T09:26:32.441Z] c791037a9be2: Verifying Checksum [2021-06-09T09:26:32.441Z] c791037a9be2: Download complete [2021-06-09T09:26:32.889Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-09T09:26:33.227Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T09:26:33.438Z] 595b0fe564bb: Pull complete [2021-06-09T09:26:33.538Z] + true [2021-06-09T09:26:33.538Z] + sudo service docker restart [2021-06-09T09:26:33.538Z] Redirecting to /bin/systemctl restart docker.service [2021-06-09T09:26:33.711Z] 7186ed65a4f7: Pull complete [2021-06-09T09:26:34.310Z] 316046926c0a: Pull complete [2021-06-09T09:26:34.310Z] ffd874e62e21: Verifying Checksum [2021-06-09T09:26:34.310Z] ffd874e62e21: Download complete [2021-06-09T09:26:36.290Z] 4ebd0625c992: Verifying Checksum [2021-06-09T09:26:36.290Z] 4ebd0625c992: Download complete [2021-06-09T09:26:48.802Z] 4ebd0625c992: Pull complete [2021-06-09T09:26:48.802Z] 207e8628e3a3: Pull complete [2021-06-09T09:26:48.802Z] c791037a9be2: Pull complete [2021-06-09T09:26:51.443Z] ffd874e62e21: Pull complete [2021-06-09T09:26:51.443Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-09T09:26:51.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-09T09:26:51.443Z] ---> cfc18b08335c [2021-06-09T09:26:51.444Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T09:26:51.731Z] provisioning config files... [2021-06-09T09:26:51.749Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/51@tmp/config974400727019145564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T09:26:52.088Z] ---> docker-login.sh [2021-06-09T09:26:52.088Z] nexus3.edgexfoundry.org:10001 [2021-06-09T09:26:52.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:26:52.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:26:52.352Z] Configure a credential helper to remove this warning. See [2021-06-09T09:26:52.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:26:52.352Z] [2021-06-09T09:26:52.352Z] Login Succeeded [2021-06-09T09:26:52.352Z] nexus3.edgexfoundry.org:10002 [2021-06-09T09:26:52.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:26:52.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:26:52.352Z] Configure a credential helper to remove this warning. See [2021-06-09T09:26:52.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:26:52.352Z] [2021-06-09T09:26:52.352Z] Login Succeeded [2021-06-09T09:26:52.352Z] nexus3.edgexfoundry.org:10003 [2021-06-09T09:26:52.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:26:52.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:26:52.615Z] Configure a credential helper to remove this warning. See [2021-06-09T09:26:52.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:26:52.615Z] [2021-06-09T09:26:52.615Z] Login Succeeded [2021-06-09T09:26:52.615Z] nexus3.edgexfoundry.org:10004 [2021-06-09T09:26:52.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:26:52.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:26:52.876Z] Configure a credential helper to remove this warning. See [2021-06-09T09:26:52.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:26:52.876Z] [2021-06-09T09:26:52.876Z] Login Succeeded [2021-06-09T09:26:52.876Z] docker.io [2021-06-09T09:26:52.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:26:53.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:26:53.138Z] Configure a credential helper to remove this warning. See [2021-06-09T09:26:53.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:26:53.138Z] [2021-06-09T09:26:53.138Z] Login Succeeded [2021-06-09T09:26:53.138Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T09:26:53.147Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-09T09:26:53.343Z] ========================================================= [2021-06-09T09:26:53.343Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-09T09:26:53.343Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:26:53.427Z] ---> Running in a58fb14354f7 [2021-06-09T09:26:53.676Z] + 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-09T09:26:53.677Z] Sending build context to Docker daemon 92.16kB [2021-06-09T09:26:53.677Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T09:26:53.677Z] Step 2/10 : FROM ${BASE} [2021-06-09T09:26:53.677Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-09T09:26:53.677Z] 540db60ca938: Pulling fs layer [2021-06-09T09:26:53.677Z] adcc1eea9eea: Pulling fs layer [2021-06-09T09:26:53.677Z] 4c4ab2625f07: Pulling fs layer [2021-06-09T09:26:53.677Z] 0510c868ecb4: Pulling fs layer [2021-06-09T09:26:53.677Z] afea3b2eda06: Pulling fs layer [2021-06-09T09:26:53.677Z] 7809a108b3ef: Pulling fs layer [2021-06-09T09:26:53.677Z] f706445af74f: Pulling fs layer [2021-06-09T09:26:53.677Z] afea3b2eda06: Waiting [2021-06-09T09:26:53.677Z] 7809a108b3ef: Waiting [2021-06-09T09:26:53.677Z] f706445af74f: Waiting [2021-06-09T09:26:53.677Z] 0510c868ecb4: Waiting [2021-06-09T09:26:53.677Z] 4c4ab2625f07: Verifying Checksum [2021-06-09T09:26:53.677Z] 4c4ab2625f07: Download complete [2021-06-09T09:26:53.677Z] adcc1eea9eea: Verifying Checksum [2021-06-09T09:26:53.677Z] adcc1eea9eea: Download complete [2021-06-09T09:26:53.940Z] afea3b2eda06: Verifying Checksum [2021-06-09T09:26:53.940Z] afea3b2eda06: Download complete [2021-06-09T09:26:53.940Z] 7809a108b3ef: Verifying Checksum [2021-06-09T09:26:53.940Z] 7809a108b3ef: Download complete [2021-06-09T09:26:53.940Z] 540db60ca938: Verifying Checksum [2021-06-09T09:26:53.940Z] 540db60ca938: Download complete [2021-06-09T09:26:53.940Z] 540db60ca938: Pull complete [2021-06-09T09:26:54.017Z] Removing intermediate container a58fb14354f7 [2021-06-09T09:26:54.018Z] ---> 6c60f448fc1b [2021-06-09T09:26:54.018Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-09T09:26:54.018Z] ---> Running in 66758ea92a16 [2021-06-09T09:26:54.203Z] adcc1eea9eea: Pull complete [2021-06-09T09:26:54.467Z] 4c4ab2625f07: Pull complete [2021-06-09T09:26:54.608Z] Removing intermediate container 66758ea92a16 [2021-06-09T09:26:54.608Z] ---> 467e23dc5bd5 [2021-06-09T09:26:54.608Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-09T09:26:54.608Z] ---> Running in 48c91994b87a [2021-06-09T09:26:54.877Z] Removing intermediate container 48c91994b87a [2021-06-09T09:26:54.877Z] ---> 5a654613340a [2021-06-09T09:26:54.878Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T09:26:55.149Z] ---> Running in 741bbcf339dd [2021-06-09T09:26:55.412Z] f706445af74f: Verifying Checksum [2021-06-09T09:26:55.412Z] f706445af74f: Download complete [2021-06-09T09:26:55.682Z] 0510c868ecb4: Verifying Checksum [2021-06-09T09:26:55.682Z] 0510c868ecb4: Download complete [2021-06-09T09:26:57.780Z] Removing intermediate container 741bbcf339dd [2021-06-09T09:26:57.781Z] ---> 860f2b3d02ec [2021-06-09T09:26:57.781Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-09T09:26:57.781Z] ---> Running in 3937b11e786c [2021-06-09T09:26:58.753Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-09T09:26:59.028Z] 0510c868ecb4: Pull complete [2021-06-09T09:26:59.028Z] afea3b2eda06: Pull complete [2021-06-09T09:26:59.028Z] 7809a108b3ef: Pull complete [2021-06-09T09:26:59.721Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-09T09:27:00.314Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-09T09:27:00.314Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-09T09:27:00.585Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-09T09:27:00.585Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-09T09:27:00.585Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-09T09:27:00.875Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-09T09:27:00.875Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-09T09:27:00.968Z] f706445af74f: Pull complete [2021-06-09T09:27:00.968Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-09T09:27:00.968Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-09T09:27:00.968Z] ---> b068be0155e3 [2021-06-09T09:27:00.968Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-09T09:27:01.162Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-09T09:27:01.439Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-09T09:27:01.439Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T09:27:01.439Z] OK: 144 MiB in 49 packages [2021-06-09T09:27:02.874Z] Removing intermediate container 3937b11e786c [2021-06-09T09:27:02.874Z] ---> ac38b53eb50f [2021-06-09T09:27:02.874Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-09T09:27:02.874Z] ---> Running in 6fd26223789e [2021-06-09T09:27:03.472Z] Removing intermediate container 6fd26223789e [2021-06-09T09:27:03.472Z] ---> 3ddd40e89a58 [2021-06-09T09:27:03.472Z] Step 9/10 : COPY . . [2021-06-09T09:27:04.070Z] ---> c11a1d8dab20 [2021-06-09T09:27:04.070Z] Step 10/10 : RUN go mod download [2021-06-09T09:27:04.343Z] ---> Running in 086d85c2ad6f [2021-06-09T09:27:05.213Z] ---> Running in 243f462b0849 [2021-06-09T09:27:05.213Z] Removing intermediate container 243f462b0849 [2021-06-09T09:27:05.213Z] ---> 078b74c232ac [2021-06-09T09:27:05.213Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-09T09:27:05.213Z] ---> Running in 5ddb837c357b [2021-06-09T09:27:05.213Z] Removing intermediate container 5ddb837c357b [2021-06-09T09:27:05.213Z] ---> d1cb85da69ff [2021-06-09T09:27:05.213Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-09T09:27:05.213Z] ---> Running in 7904093d3a65 [2021-06-09T09:27:05.213Z] Removing intermediate container 7904093d3a65 [2021-06-09T09:27:05.213Z] ---> 7b3abece89e8 [2021-06-09T09:27:05.213Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T09:27:05.213Z] ---> Running in c0c9fe0f5056 [2021-06-09T09:27:05.788Z] Removing intermediate container c0c9fe0f5056 [2021-06-09T09:27:05.788Z] ---> 94329dc39148 [2021-06-09T09:27:05.788Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-09T09:27:05.788Z] ---> Running in 458f07573996 [2021-06-09T09:27:06.050Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T09:27:06.623Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T09:27:07.199Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-09T09:27:07.199Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-09T09:27:07.461Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-09T09:27:07.461Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-09T09:27:07.461Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-09T09:27:07.722Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-09T09:27:07.722Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-09T09:27:07.984Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-09T09:27:07.984Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-09T09:27:08.246Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T09:27:08.246Z] OK: 154 MiB in 49 packages [2021-06-09T09:27:08.513Z] Removing intermediate container 458f07573996 [2021-06-09T09:27:08.513Z] ---> ec9dc40ab13a [2021-06-09T09:27:08.513Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-09T09:27:08.513Z] ---> Running in c8c7f5ed8df2 [2021-06-09T09:27:08.779Z] Removing intermediate container c8c7f5ed8df2 [2021-06-09T09:27:08.779Z] ---> b668863f47a2 [2021-06-09T09:27:08.779Z] Step 9/10 : COPY . . [2021-06-09T09:27:09.042Z] ---> 4e709f5bb8fb [2021-06-09T09:27:09.042Z] Step 10/10 : RUN go mod download [2021-06-09T09:27:09.042Z] ---> Running in 0a3b113e2f89 [2021-06-09T09:27:21.314Z] Removing intermediate container 0a3b113e2f89 [2021-06-09T09:27:21.314Z] ---> 8fbf62f3aa83 [2021-06-09T09:27:21.314Z] Successfully built 8fbf62f3aa83 [2021-06-09T09:27:21.314Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:27:21.643Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T09:27:21.643Z] . [Pipeline] withDockerContainer [2021-06-09T09:27:21.729Z] prd-centos7-docker-4c-2g-4 does not seem to be running inside a container [2021-06-09T09:27:21.769Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/51 -v /w/workspace/device-rest-go/51:/w/workspace/device-rest-go/51:rw,z -v /w/workspace/device-rest-go/51@tmp:/w/workspace/device-rest-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-09T09:27:22.152Z] $ docker top cf53804368172b385efcdb50824303e21b794f697c1c3fb7b3fbb490fafef9b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T09:27:22.553Z] + go version [2021-06-09T09:27:22.553Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-09T09:27:22.564Z] $ docker stop --time=1 cf53804368172b385efcdb50824303e21b794f697c1c3fb7b3fbb490fafef9b2 [2021-06-09T09:27:23.750Z] $ docker rm -f cf53804368172b385efcdb50824303e21b794f697c1c3fb7b3fbb490fafef9b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:27:24.293Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T09:27:24.293Z] . [Pipeline] withDockerContainer [2021-06-09T09:27:24.387Z] prd-centos7-docker-4c-2g-4 does not seem to be running inside a container [2021-06-09T09:27:24.428Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/51 -v /w/workspace/device-rest-go/51:/w/workspace/device-rest-go/51:rw,z -v /w/workspace/device-rest-go/51@tmp:/w/workspace/device-rest-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-09T09:27:24.830Z] $ docker top a553cd97dcdadd58679bbc6cc70b821637cee2da7f897be6f31ea175d9502afe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T09:27:25.223Z] + go mod tidy [Pipeline] sh [2021-06-09T09:27:25.786Z] + make test [2021-06-09T09:27:25.786Z] go mod tidy [2021-06-09T09:27:25.786Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-09T09:27:26.369Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-09T09:27:31.221Z] Removing intermediate container 086d85c2ad6f [2021-06-09T09:27:31.221Z] ---> ffd6d2294aa0 [2021-06-09T09:27:31.221Z] Successfully built ffd6d2294aa0 [2021-06-09T09:27:31.221Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:27:31.571Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T09:27:31.571Z] . [Pipeline] withDockerContainer [2021-06-09T09:27:31.798Z] prd-ubuntu18.04-docker-arm64-4c-16g-1202 does not seem to be running inside a container [2021-06-09T09:27:31.879Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/51 -v /w/workspace/device-rest-go/51:/w/workspace/device-rest-go/51:rw,z -v /w/workspace/device-rest-go/51@tmp:/w/workspace/device-rest-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-09T09:27:33.330Z] $ docker top e667085d9d01ffa545d1358e15b0ccef2cd0f384af2fd8ccc2c98895fa150323 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T09:27:34.271Z] + go version [2021-06-09T09:27:34.271Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-09T09:27:34.296Z] $ docker stop --time=1 e667085d9d01ffa545d1358e15b0ccef2cd0f384af2fd8ccc2c98895fa150323 [2021-06-09T09:27:36.150Z] $ docker rm -f e667085d9d01ffa545d1358e15b0ccef2cd0f384af2fd8ccc2c98895fa150323 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:27:36.908Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T09:27:36.908Z] . [Pipeline] withDockerContainer [2021-06-09T09:27:37.154Z] prd-ubuntu18.04-docker-arm64-4c-16g-1202 does not seem to be running inside a container [2021-06-09T09:27:37.249Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/51 -v /w/workspace/device-rest-go/51:/w/workspace/device-rest-go/51:rw,z -v /w/workspace/device-rest-go/51@tmp:/w/workspace/device-rest-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-09T09:27:38.922Z] $ docker top 03a93e9b01b5e124196c2d61601b222a536d883db78dabd78670baf8fa9b00d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T09:27:39.893Z] + go mod tidy [Pipeline] sh [2021-06-09T09:27:41.213Z] + make test [2021-06-09T09:27:41.213Z] go mod tidy [2021-06-09T09:27:41.355Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-09T09:27:41.627Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements [2021-06-09T09:27:41.627Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-09T09:27:41.836Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-09T09:27:43.286Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-09T09:27:49.832Z] gofmt -l . [2021-06-09T09:27:49.833Z] [ "`gofmt -l .`" = "" ] [2021-06-09T09:27:49.833Z] ./bin/test-go-mod-tidy.sh [2021-06-09T09:27:49.833Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-09T09:27:49.846Z] $ docker stop --time=1 a553cd97dcdadd58679bbc6cc70b821637cee2da7f897be6f31ea175d9502afe [2021-06-09T09:27:51.276Z] $ docker rm -f a553cd97dcdadd58679bbc6cc70b821637cee2da7f897be6f31ea175d9502afe [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T09:27:51.714Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-09T09:27:51.894Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-09T09:27:53.092Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-09T09:27:53.392Z] + ls -al . [2021-06-09T09:27:53.392Z] total 104 [2021-06-09T09:27:53.392Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 9 09:27 . [2021-06-09T09:27:53.392Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 9 09:26 .. [2021-06-09T09:27:53.392Z] -rw-rw-r--. 1 jenkins jenkins 6792 Jun 9 09:26 Attribution.txt [2021-06-09T09:27:53.392Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 9 09:26 bin [2021-06-09T09:27:53.392Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 9 09:26 cmd [2021-06-09T09:27:53.392Z] -rw-r--r--. 1 jenkins jenkins 8513 Jun 9 09:27 coverage.out [2021-06-09T09:27:53.392Z] -rw-rw-r--. 1 jenkins jenkins 1615 Jun 9 09:26 Dockerfile [2021-06-09T09:27:53.392Z] -rw-rw-r--. 1 jenkins jenkins 1087 Jun 9 09:26 Dockerfile.build [2021-06-09T09:27:53.392Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 9 09:26 .dockerignore [2021-06-09T09:27:53.392Z] drwxrwxr-x. 2 jenkins jenkins 76 Jun 9 09:26 driver [2021-06-09T09:27:53.392Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 9 09:26 .git [2021-06-09T09:27:53.392Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 9 09:26 .github [2021-06-09T09:27:53.392Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 9 09:26 .gitignore [2021-06-09T09:27:53.392Z] -rw-r--r--. 1 jenkins jenkins 285 Jun 9 09:27 go.mod [2021-06-09T09:27:53.392Z] -rw-r--r--. 1 jenkins jenkins 20755 Jun 9 09:27 go.sum [2021-06-09T09:27:53.392Z] -rw-rw-r--. 1 jenkins jenkins 680 Jun 9 09:26 Jenkinsfile [2021-06-09T09:27:53.392Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 9 09:26 LICENSE [2021-06-09T09:27:53.392Z] -rw-rw-r--. 1 jenkins jenkins 996 Jun 9 09:26 Makefile [2021-06-09T09:27:53.392Z] -rw-rw-r--. 1 jenkins jenkins 7667 Jun 9 09:26 README.md [2021-06-09T09:27:53.392Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 9 09:26 snap [2021-06-09T09:27:53.392Z] -rw-rw-r--. 1 jenkins jenkins 12 Jun 9 09:25 VERSION [2021-06-09T09:27:53.392Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 9 09:26 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:27:53.709Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=b32159014ae45265b13142f0741b8ad008d9ae08 --label arch=amd64 --label version=1.2.2-dev.17 . [2021-06-09T09:27:53.709Z] Sending build context to Docker daemon 101.9kB [2021-06-09T09:27:53.709Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T09:27:53.709Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-09T09:27:53.709Z] ---> 8fbf62f3aa83 [2021-06-09T09:27:53.709Z] Step 3/25 : ARG MAKE='make build' [2021-06-09T09:27:53.709Z] ---> Running in 2af1367f4456 [2021-06-09T09:27:53.709Z] Removing intermediate container 2af1367f4456 [2021-06-09T09:27:53.709Z] ---> 1ba1152a960e [2021-06-09T09:27:53.709Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-09T09:27:53.709Z] ---> Running in 75b028e499f9 [2021-06-09T09:27:53.981Z] Removing intermediate container 75b028e499f9 [2021-06-09T09:27:53.981Z] ---> e2cb77b613e3 [2021-06-09T09:27:53.981Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-09T09:27:53.981Z] ---> Running in 76dfe0d56dc3 [2021-06-09T09:27:53.981Z] Removing intermediate container 76dfe0d56dc3 [2021-06-09T09:27:53.981Z] ---> 5451af18aa25 [2021-06-09T09:27:53.981Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T09:27:53.981Z] ---> Running in ab60936c38bd [2021-06-09T09:27:54.559Z] Removing intermediate container ab60936c38bd [2021-06-09T09:27:54.559Z] ---> 2f229f67e7ce [2021-06-09T09:27:54.559Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-09T09:27:54.559Z] ---> Running in 76d2b8a7985e [2021-06-09T09:27:54.820Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T09:27:55.763Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T09:27:56.024Z] OK: 154 MiB in 49 packages [2021-06-09T09:27:56.288Z] Removing intermediate container 76d2b8a7985e [2021-06-09T09:27:56.288Z] ---> 34a2c663e0a0 [2021-06-09T09:27:56.288Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-09T09:27:56.288Z] ---> Running in e1308d58fc98 [2021-06-09T09:27:56.288Z] Removing intermediate container e1308d58fc98 [2021-06-09T09:27:56.288Z] ---> 8ef3e05ae7de [2021-06-09T09:27:56.288Z] Step 9/25 : COPY . . [2021-06-09T09:27:56.550Z] ---> d2ffec21dffc [2021-06-09T09:27:56.550Z] Step 10/25 : RUN go mod tidy [2021-06-09T09:27:56.550Z] ---> Running in 74bab37ebeea [2021-06-09T09:27:57.505Z] Removing intermediate container 74bab37ebeea [2021-06-09T09:27:57.505Z] ---> 383d0c2d39ce [2021-06-09T09:27:57.505Z] Step 11/25 : RUN make update [2021-06-09T09:27:57.505Z] ---> Running in 10dd3eab2437 [2021-06-09T09:27:57.505Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-09T09:27:57.773Z] Removing intermediate container 10dd3eab2437 [2021-06-09T09:27:57.773Z] ---> 67d684682123 [2021-06-09T09:27:57.773Z] Step 12/25 : RUN $MAKE [2021-06-09T09:27:57.773Z] ---> Running in 6bd0ee8787f2 [2021-06-09T09:27:58.038Z] go mod tidy [2021-06-09T09:27:58.302Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.17" -o cmd/device-rest ./cmd [2021-06-09T09:28:10.634Z] Removing intermediate container 6bd0ee8787f2 [2021-06-09T09:28:10.634Z] ---> eddd5617f532 [2021-06-09T09:28:10.634Z] Step 13/25 : FROM alpine:3.12 [2021-06-09T09:28:10.634Z] 3.12: Pulling from library/alpine [2021-06-09T09:28:10.634Z] 339de151aab4: Pulling fs layer [2021-06-09T09:28:10.634Z] 339de151aab4: Verifying Checksum [2021-06-09T09:28:10.634Z] 339de151aab4: Download complete [2021-06-09T09:28:10.634Z] 339de151aab4: Pull complete [2021-06-09T09:28:10.634Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-09T09:28:10.634Z] Status: Downloaded newer image for alpine:3.12 [2021-06-09T09:28:10.634Z] ---> 13621d1b12d4 [2021-06-09T09:28:10.634Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-09T09:28:10.634Z] ---> Running in d5f48fc94fe1 [2021-06-09T09:28:10.634Z] Removing intermediate container d5f48fc94fe1 [2021-06-09T09:28:10.634Z] ---> 50ce45a75804 [2021-06-09T09:28:10.634Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-09T09:28:10.634Z] ---> Running in a3d07b70be88 [2021-06-09T09:28:10.634Z] Removing intermediate container a3d07b70be88 [2021-06-09T09:28:10.634Z] ---> 03d54e837c29 [2021-06-09T09:28:10.634Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-09T09:28:10.634Z] ---> Running in e72d89761618 [2021-06-09T09:28:10.895Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-09T09:28:10.895Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-09T09:28:11.167Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-09T09:28:11.167Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-09T09:28:11.167Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-09T09:28:11.167Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-09T09:28:11.167Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-09T09:28:11.167Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-09T09:28:11.167Z] Executing busybox-1.31.1-r20.trigger [2021-06-09T09:28:11.167Z] OK: 8 MiB in 20 packages [2021-06-09T09:28:11.431Z] Removing intermediate container e72d89761618 [2021-06-09T09:28:11.431Z] ---> a66edcea82ee [2021-06-09T09:28:11.431Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-09T09:28:12.007Z] ---> d51f7f73f92b [2021-06-09T09:28:12.007Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-09T09:28:12.007Z] ---> 745639cf5581 [2021-06-09T09:28:12.007Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-09T09:28:12.273Z] ---> f1294ae71d78 [2021-06-09T09:28:12.273Z] Step 20/25 : EXPOSE 59986 [2021-06-09T09:28:12.273Z] ---> Running in 92d0480ec8cf [2021-06-09T09:28:12.273Z] Removing intermediate container 92d0480ec8cf [2021-06-09T09:28:12.273Z] ---> 89bcc9278de4 [2021-06-09T09:28:12.273Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-09T09:28:12.273Z] ---> Running in 71345313295c [2021-06-09T09:28:12.535Z] Removing intermediate container 71345313295c [2021-06-09T09:28:12.535Z] ---> 832c96f12461 [2021-06-09T09:28:12.535Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-09T09:28:12.535Z] ---> Running in d2f69c86f5d0 [2021-06-09T09:28:12.535Z] Removing intermediate container d2f69c86f5d0 [2021-06-09T09:28:12.535Z] ---> f797f87dfd88 [2021-06-09T09:28:12.535Z] Step 23/25 : LABEL arch=amd64 [2021-06-09T09:28:12.535Z] ---> Running in 22cb6b3f3782 [2021-06-09T09:28:12.535Z] Removing intermediate container 22cb6b3f3782 [2021-06-09T09:28:12.535Z] ---> 310eb2f341c5 [2021-06-09T09:28:12.535Z] Step 24/25 : LABEL git_sha=b32159014ae45265b13142f0741b8ad008d9ae08 [2021-06-09T09:28:12.798Z] ---> Running in 0168a01b1fc9 [2021-06-09T09:28:12.798Z] Removing intermediate container 0168a01b1fc9 [2021-06-09T09:28:12.798Z] ---> a77f2347140e [2021-06-09T09:28:12.798Z] Step 25/25 : LABEL version=1.2.2-dev.17 [2021-06-09T09:28:12.798Z] ---> Running in 10e91739cb83 [2021-06-09T09:28:12.798Z] Removing intermediate container 10e91739cb83 [2021-06-09T09:28:12.798Z] ---> d9f20bc33952 [2021-06-09T09:28:12.798Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-09T09:28:12.798Z] Successfully built d9f20bc33952 [2021-06-09T09:28:12.798Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T09:28:13.037Z] provisioning config files... [2021-06-09T09:28:13.051Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/51@tmp/config4363491957795008947tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T09:28:13.383Z] ---> docker-login.sh [2021-06-09T09:28:13.384Z] nexus3.edgexfoundry.org:10001 [2021-06-09T09:28:13.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:28:13.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:28:13.384Z] Configure a credential helper to remove this warning. See [2021-06-09T09:28:13.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:28:13.384Z] [2021-06-09T09:28:13.384Z] Login Succeeded [2021-06-09T09:28:13.384Z] nexus3.edgexfoundry.org:10002 [2021-06-09T09:28:13.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:28:13.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:28:13.650Z] Configure a credential helper to remove this warning. See [2021-06-09T09:28:13.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:28:13.650Z] [2021-06-09T09:28:13.650Z] Login Succeeded [2021-06-09T09:28:13.650Z] nexus3.edgexfoundry.org:10003 [2021-06-09T09:28:13.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:28:13.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:28:13.930Z] Configure a credential helper to remove this warning. See [2021-06-09T09:28:13.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:28:13.930Z] [2021-06-09T09:28:13.930Z] Login Succeeded [2021-06-09T09:28:13.930Z] nexus3.edgexfoundry.org:10004 [2021-06-09T09:28:13.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:28:13.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:28:13.930Z] Configure a credential helper to remove this warning. See [2021-06-09T09:28:13.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:28:13.930Z] [2021-06-09T09:28:13.930Z] Login Succeeded [2021-06-09T09:28:13.930Z] docker.io [2021-06-09T09:28:13.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:28:14.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:28:14.194Z] Configure a credential helper to remove this warning. See [2021-06-09T09:28:14.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:28:14.194Z] [2021-06-09T09:28:14.194Z] Login Succeeded [2021-06-09T09:28:14.194Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T09:28:14.204Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-09T09:28:14.295Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-06-09T09:28:14.295Z] b32159014ae45265b13142f0741b8ad008d9ae08 [2021-06-09T09:28:14.295Z] latest [2021-06-09T09:28:14.295Z] 1.2.2-dev.17 [2021-06-09T09:28:14.295Z] b32159014ae45265b13142f0741b8ad008d9ae08-1.2.2-dev.17 [2021-06-09T09:28:14.295Z] master [2021-06-09T09:28:14.295Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:28:14.659Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:b32159014ae45265b13142f0741b8ad008d9ae08 [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:28:14.976Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:b32159014ae45265b13142f0741b8ad008d9ae08 [2021-06-09T09:28:14.977Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-06-09T09:28:14.977Z] eb3d20020f2c: Preparing [2021-06-09T09:28:14.977Z] f840c261c4a6: Preparing [2021-06-09T09:28:14.977Z] 0de77e356083: Preparing [2021-06-09T09:28:14.977Z] f010ecbf863d: Preparing [2021-06-09T09:28:14.977Z] 32f366d666a5: Preparing [2021-06-09T09:28:14.977Z] 32f366d666a5: Layer already exists [2021-06-09T09:28:15.240Z] f840c261c4a6: Pushed [2021-06-09T09:28:15.240Z] eb3d20020f2c: Pushed [2021-06-09T09:28:15.240Z] f010ecbf863d: Pushed [2021-06-09T09:28:16.629Z] 0de77e356083: Pushed [2021-06-09T09:28:16.629Z] b32159014ae45265b13142f0741b8ad008d9ae08: digest: sha256:a34aef8a954a9c4b94c1e1ed5ac83004abbfc1206ebfca88564ff9eef9b394a1 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:28:16.936Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:28:17.250Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-06-09T09:28:17.250Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-06-09T09:28:17.250Z] eb3d20020f2c: Preparing [2021-06-09T09:28:17.250Z] f840c261c4a6: Preparing [2021-06-09T09:28:17.250Z] 0de77e356083: Preparing [2021-06-09T09:28:17.250Z] f010ecbf863d: Preparing [2021-06-09T09:28:17.250Z] 32f366d666a5: Preparing [2021-06-09T09:28:17.250Z] 0de77e356083: Layer already exists [2021-06-09T09:28:17.250Z] 32f366d666a5: Layer already exists [2021-06-09T09:28:17.250Z] eb3d20020f2c: Layer already exists [2021-06-09T09:28:17.250Z] f010ecbf863d: Layer already exists [2021-06-09T09:28:17.250Z] f840c261c4a6: Layer already exists [2021-06-09T09:28:17.250Z] latest: digest: sha256:a34aef8a954a9c4b94c1e1ed5ac83004abbfc1206ebfca88564ff9eef9b394a1 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:28:17.564Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.17 [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:28:17.861Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.17 [2021-06-09T09:28:17.861Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-06-09T09:28:17.861Z] eb3d20020f2c: Preparing [2021-06-09T09:28:17.861Z] f840c261c4a6: Preparing [2021-06-09T09:28:17.861Z] 0de77e356083: Preparing [2021-06-09T09:28:17.861Z] f010ecbf863d: Preparing [2021-06-09T09:28:17.861Z] 32f366d666a5: Preparing [2021-06-09T09:28:17.861Z] f840c261c4a6: Layer already exists [2021-06-09T09:28:17.861Z] 0de77e356083: Layer already exists [2021-06-09T09:28:17.861Z] f010ecbf863d: Layer already exists [2021-06-09T09:28:17.861Z] 32f366d666a5: Layer already exists [2021-06-09T09:28:17.861Z] eb3d20020f2c: Layer already exists [2021-06-09T09:28:17.861Z] 1.2.2-dev.17: digest: sha256:a34aef8a954a9c4b94c1e1ed5ac83004abbfc1206ebfca88564ff9eef9b394a1 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:28:18.172Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:b32159014ae45265b13142f0741b8ad008d9ae08-1.2.2-dev.17 [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:28:18.497Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:b32159014ae45265b13142f0741b8ad008d9ae08-1.2.2-dev.17 [2021-06-09T09:28:18.498Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-06-09T09:28:18.498Z] eb3d20020f2c: Preparing [2021-06-09T09:28:18.498Z] f840c261c4a6: Preparing [2021-06-09T09:28:18.498Z] 0de77e356083: Preparing [2021-06-09T09:28:18.498Z] f010ecbf863d: Preparing [2021-06-09T09:28:18.498Z] 32f366d666a5: Preparing [2021-06-09T09:28:18.498Z] eb3d20020f2c: Layer already exists [2021-06-09T09:28:18.498Z] 0de77e356083: Layer already exists [2021-06-09T09:28:18.498Z] 32f366d666a5: Layer already exists [2021-06-09T09:28:18.498Z] f010ecbf863d: Layer already exists [2021-06-09T09:28:18.498Z] f840c261c4a6: Layer already exists [2021-06-09T09:28:18.498Z] b32159014ae45265b13142f0741b8ad008d9ae08-1.2.2-dev.17: digest: sha256:a34aef8a954a9c4b94c1e1ed5ac83004abbfc1206ebfca88564ff9eef9b394a1 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:28:18.823Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:28:19.124Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:master [2021-06-09T09:28:19.124Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-06-09T09:28:19.124Z] eb3d20020f2c: Preparing [2021-06-09T09:28:19.124Z] f840c261c4a6: Preparing [2021-06-09T09:28:19.124Z] 0de77e356083: Preparing [2021-06-09T09:28:19.124Z] f010ecbf863d: Preparing [2021-06-09T09:28:19.124Z] 32f366d666a5: Preparing [2021-06-09T09:28:19.387Z] 32f366d666a5: Layer already exists [2021-06-09T09:28:19.387Z] eb3d20020f2c: Layer already exists [2021-06-09T09:28:19.387Z] f840c261c4a6: Layer already exists [2021-06-09T09:28:19.387Z] 0de77e356083: Layer already exists [2021-06-09T09:28:19.387Z] f010ecbf863d: Layer already exists [2021-06-09T09:28:19.649Z] master: digest: sha256:a34aef8a954a9c4b94c1e1ed5ac83004abbfc1206ebfca88564ff9eef9b394a1 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-09T09:28:19.709Z] ===================================================== [Pipeline] echo [2021-06-09T09:28:19.730Z] taggedImages: [2021-06-09T09:28:19.730Z] - nexus3.edgexfoundry.org:10004/device-rest:b32159014ae45265b13142f0741b8ad008d9ae08 [2021-06-09T09:28:19.730Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-06-09T09:28:19.730Z] - nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.17 [2021-06-09T09:28:19.730Z] - nexus3.edgexfoundry.org:10004/device-rest:b32159014ae45265b13142f0741b8ad008d9ae08-1.2.2-dev.17 [2021-06-09T09:28:19.730Z] - nexus3.edgexfoundry.org:10004/device-rest: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-09T09:28:20.367Z] ---> job-cost.sh [2021-06-09T09:28:20.367Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-v2qC [2021-06-09T09:28:28.536Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-09T09:28:39.922Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-09T09:28:39.922Z] ok github.com/edgexfoundry/device-rest-go/driver 0.046s coverage: 54.0% of statements [2021-06-09T09:28:39.922Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-09T09:28:43.482Z] lf-activate-venv(): INFO: Adding /tmp/venv-v2qC/bin to PATH [2021-06-09T09:28:43.482Z] INFO: No Stack... [2021-06-09T09:28:43.482Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T09:28:43.482Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T09:28:43.867Z] + cat /w/workspace/device-rest-go/51/archives/cost.csv [2021-06-09T09:28:43.867Z] + cut -d, -f6 [Pipeline] lock [2021-06-09T09:28:43.897Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-51-stack-cost] [2021-06-09T09:28:43.916Z] Resource [jenkins-edgexfoundry-device-rest-go-master-51-stack-cost] did not exist. Created. [2021-06-09T09:28:43.916Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T09:28:44.242Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-09T09:28:44.307Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T09:28:44.333Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-51-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-09T09:29:02.131Z] gofmt -l . [2021-06-09T09:29:02.131Z] [ "`gofmt -l .`" = "" ] [2021-06-09T09:29:02.131Z] ./bin/test-go-mod-tidy.sh [2021-06-09T09:29:02.131Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-09T09:29:03.137Z] $ docker stop --time=1 03a93e9b01b5e124196c2d61601b222a536d883db78dabd78670baf8fa9b00d6 [2021-06-09T09:29:05.212Z] $ docker rm -f 03a93e9b01b5e124196c2d61601b222a536d883db78dabd78670baf8fa9b00d6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T09:29:06.022Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-09T09:29:06.053Z] Warning: overwriting stash ‘coverage-report’ [2021-06-09T09:29:06.501Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T09:29:07.068Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-09T09:29:07.405Z] + ls -al . [2021-06-09T09:29:07.405Z] total 132 [2021-06-09T09:29:07.405Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 09:29 . [2021-06-09T09:29:07.405Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 09:26 .. [2021-06-09T09:29:07.405Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 9 09:26 .dockerignore [2021-06-09T09:29:07.405Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 09:26 .git [2021-06-09T09:29:07.405Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 09:26 .github [2021-06-09T09:29:07.405Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 9 09:26 .gitignore [2021-06-09T09:29:07.405Z] -rw-rw-r-- 1 jenkins jenkins 6792 Jun 9 09:26 Attribution.txt [2021-06-09T09:29:07.405Z] -rw-rw-r-- 1 jenkins jenkins 1615 Jun 9 09:26 Dockerfile [2021-06-09T09:29:07.405Z] -rw-rw-r-- 1 jenkins jenkins 1087 Jun 9 09:26 Dockerfile.build [2021-06-09T09:29:07.405Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 9 09:26 Jenkinsfile [2021-06-09T09:29:07.405Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 9 09:26 LICENSE [2021-06-09T09:29:07.405Z] -rw-rw-r-- 1 jenkins jenkins 996 Jun 9 09:26 Makefile [2021-06-09T09:29:07.405Z] -rw-rw-r-- 1 jenkins jenkins 7667 Jun 9 09:26 README.md [2021-06-09T09:29:07.405Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 9 09:25 VERSION [2021-06-09T09:29:07.405Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 09:26 bin [2021-06-09T09:29:07.405Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 9 09:26 cmd [2021-06-09T09:29:07.405Z] -rw-r--r-- 1 jenkins jenkins 8513 Jun 9 09:28 coverage.out [2021-06-09T09:29:07.405Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 09:26 driver [2021-06-09T09:29:07.405Z] -rw-r--r-- 1 jenkins jenkins 285 Jun 9 09:29 go.mod [2021-06-09T09:29:07.405Z] -rw-r--r-- 1 jenkins jenkins 20755 Jun 9 09:27 go.sum [2021-06-09T09:29:07.405Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 09:26 snap [2021-06-09T09:29:07.405Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 9 09:26 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:29:07.755Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b32159014ae45265b13142f0741b8ad008d9ae08 --label arch=arm64 --label version=1.2.2-dev.17 . [2021-06-09T09:29:07.755Z] Sending build context to Docker daemon 101.9kB [2021-06-09T09:29:08.033Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T09:29:08.033Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-09T09:29:08.033Z] ---> ffd6d2294aa0 [2021-06-09T09:29:08.033Z] Step 3/25 : ARG MAKE='make build' [2021-06-09T09:29:08.306Z] ---> Running in 0956d18c0800 [2021-06-09T09:29:08.902Z] Removing intermediate container 0956d18c0800 [2021-06-09T09:29:08.902Z] ---> c70ebd08b379 [2021-06-09T09:29:08.902Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-09T09:29:08.902Z] ---> Running in 847ade013ae1 [2021-06-09T09:29:09.499Z] Removing intermediate container 847ade013ae1 [2021-06-09T09:29:09.499Z] ---> 1f0b01b69b4b [2021-06-09T09:29:09.499Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-09T09:29:09.499Z] ---> Running in 7c4ab0dd00ac [2021-06-09T09:29:10.140Z] Removing intermediate container 7c4ab0dd00ac [2021-06-09T09:29:10.140Z] ---> 27d52995ce0e [2021-06-09T09:29:10.140Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T09:29:10.140Z] ---> Running in f8d869ab2986 [2021-06-09T09:29:12.150Z] Removing intermediate container f8d869ab2986 [2021-06-09T09:29:12.150Z] ---> 2bb84e93c572 [2021-06-09T09:29:12.150Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-09T09:29:12.423Z] ---> Running in 7f3d9783b1c9 [2021-06-09T09:29:13.402Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-09T09:29:14.389Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-09T09:29:15.364Z] OK: 144 MiB in 49 packages [2021-06-09T09:29:16.344Z] Removing intermediate container 7f3d9783b1c9 [2021-06-09T09:29:16.344Z] ---> e231a33c812f [2021-06-09T09:29:16.344Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-09T09:29:16.344Z] ---> Running in 9b3409db92d3 [2021-06-09T09:29:16.952Z] Removing intermediate container 9b3409db92d3 [2021-06-09T09:29:16.952Z] ---> d4768e80bf86 [2021-06-09T09:29:16.952Z] Step 9/25 : COPY . . [2021-06-09T09:29:17.550Z] ---> f9e5e8d5da5f [2021-06-09T09:29:17.550Z] Step 10/25 : RUN go mod tidy [2021-06-09T09:29:17.823Z] ---> Running in f6afd95e1276 [2021-06-09T09:29:20.456Z] Removing intermediate container f6afd95e1276 [2021-06-09T09:29:20.456Z] ---> 4b142b7eb3ae [2021-06-09T09:29:20.456Z] Step 11/25 : RUN make update [2021-06-09T09:29:20.456Z] ---> Running in ed4a4cb03a63 [2021-06-09T09:29:21.438Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-09T09:29:22.885Z] Removing intermediate container ed4a4cb03a63 [2021-06-09T09:29:22.885Z] ---> e3c6ad80c20e [2021-06-09T09:29:22.885Z] Step 12/25 : RUN $MAKE [2021-06-09T09:29:22.885Z] ---> Running in 1ce92c568363 [2021-06-09T09:29:23.860Z] go mod tidy [2021-06-09T09:29:24.459Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.17" -o cmd/device-rest ./cmd [2021-06-09T09:30:03.495Z] Removing intermediate container 1ce92c568363 [2021-06-09T09:30:03.495Z] ---> 72560957dcc8 [2021-06-09T09:30:03.495Z] Step 13/25 : FROM alpine:3.12 [2021-06-09T09:30:03.495Z] 3.12: Pulling from library/alpine [2021-06-09T09:30:03.495Z] d2f70382dc9a: Pulling fs layer [2021-06-09T09:30:03.495Z] d2f70382dc9a: Verifying Checksum [2021-06-09T09:30:03.495Z] d2f70382dc9a: Download complete [2021-06-09T09:30:03.495Z] d2f70382dc9a: Pull complete [2021-06-09T09:30:03.495Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-09T09:30:03.495Z] Status: Downloaded newer image for alpine:3.12 [2021-06-09T09:30:03.495Z] ---> 9852663dfa18 [2021-06-09T09:30:03.495Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-09T09:30:03.495Z] ---> Running in 70e57dae1c62 [2021-06-09T09:30:03.495Z] Removing intermediate container 70e57dae1c62 [2021-06-09T09:30:03.495Z] ---> facddfd09c96 [2021-06-09T09:30:03.495Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-09T09:30:03.495Z] ---> Running in 9d1a00d2113b [2021-06-09T09:30:03.495Z] Removing intermediate container 9d1a00d2113b [2021-06-09T09:30:03.495Z] ---> 675e9220a42f [2021-06-09T09:30:03.495Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-09T09:30:03.495Z] ---> Running in 688d6e8d5c94 [2021-06-09T09:30:03.770Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-09T09:30:03.771Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-09T09:30:04.359Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-09T09:30:04.359Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-09T09:30:04.359Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-09T09:30:04.359Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-09T09:30:04.359Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-09T09:30:04.359Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-09T09:30:04.635Z] Executing busybox-1.31.1-r20.trigger [2021-06-09T09:30:04.635Z] OK: 8 MiB in 20 packages [2021-06-09T09:30:05.614Z] Removing intermediate container 688d6e8d5c94 [2021-06-09T09:30:05.615Z] ---> 6cfb25e111a8 [2021-06-09T09:30:05.615Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-09T09:30:06.591Z] ---> af3f3ff9c25d [2021-06-09T09:30:06.591Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-09T09:30:07.566Z] ---> aa374a8c2c84 [2021-06-09T09:30:07.566Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-09T09:30:08.162Z] ---> 5cc41fa6ff2f [2021-06-09T09:30:08.162Z] Step 20/25 : EXPOSE 59986 [2021-06-09T09:30:08.433Z] ---> Running in 90a511583e2e [2021-06-09T09:30:08.703Z] Removing intermediate container 90a511583e2e [2021-06-09T09:30:08.703Z] ---> f2608d130493 [2021-06-09T09:30:08.703Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-09T09:30:08.974Z] ---> Running in 0d8ceca14ad7 [2021-06-09T09:30:09.568Z] Removing intermediate container 0d8ceca14ad7 [2021-06-09T09:30:09.568Z] ---> 751801664d18 [2021-06-09T09:30:09.568Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-09T09:30:09.568Z] ---> Running in 28ec00c4aaed [2021-06-09T09:30:10.165Z] Removing intermediate container 28ec00c4aaed [2021-06-09T09:30:10.165Z] ---> 9975d7dc004d [2021-06-09T09:30:10.165Z] Step 23/25 : LABEL arch=arm64 [2021-06-09T09:30:10.165Z] ---> Running in 3e4673945099 [2021-06-09T09:30:10.759Z] Removing intermediate container 3e4673945099 [2021-06-09T09:30:10.759Z] ---> 9a05ba119612 [2021-06-09T09:30:10.759Z] Step 24/25 : LABEL git_sha=b32159014ae45265b13142f0741b8ad008d9ae08 [2021-06-09T09:30:10.759Z] ---> Running in a45f2b979560 [2021-06-09T09:30:11.352Z] Removing intermediate container a45f2b979560 [2021-06-09T09:30:11.352Z] ---> 268f3e03d8f6 [2021-06-09T09:30:11.352Z] Step 25/25 : LABEL version=1.2.2-dev.17 [2021-06-09T09:30:11.352Z] ---> Running in 7392fb88d5b6 [2021-06-09T09:30:11.941Z] Removing intermediate container 7392fb88d5b6 [2021-06-09T09:30:11.941Z] ---> d344c7b7cdcc [2021-06-09T09:30:11.941Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-09T09:30:11.941Z] Successfully built d344c7b7cdcc [2021-06-09T09:30:11.941Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T09:30:12.161Z] provisioning config files... [2021-06-09T09:30:12.183Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/51@tmp/config476778444290774699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T09:30:12.539Z] ---> docker-login.sh [2021-06-09T09:30:12.539Z] nexus3.edgexfoundry.org:10001 [2021-06-09T09:30:12.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:30:12.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:30:12.811Z] Configure a credential helper to remove this warning. See [2021-06-09T09:30:12.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:30:12.811Z] [2021-06-09T09:30:12.811Z] Login Succeeded [2021-06-09T09:30:13.085Z] nexus3.edgexfoundry.org:10002 [2021-06-09T09:30:13.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:30:13.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:30:13.361Z] Configure a credential helper to remove this warning. See [2021-06-09T09:30:13.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:30:13.361Z] [2021-06-09T09:30:13.361Z] Login Succeeded [2021-06-09T09:30:13.361Z] nexus3.edgexfoundry.org:10003 [2021-06-09T09:30:13.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:30:13.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:30:13.954Z] Configure a credential helper to remove this warning. See [2021-06-09T09:30:13.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:30:13.954Z] [2021-06-09T09:30:13.955Z] Login Succeeded [2021-06-09T09:30:13.955Z] nexus3.edgexfoundry.org:10004 [2021-06-09T09:30:14.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:30:14.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:30:14.520Z] Configure a credential helper to remove this warning. See [2021-06-09T09:30:14.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:30:14.520Z] [2021-06-09T09:30:14.520Z] Login Succeeded [2021-06-09T09:30:14.520Z] docker.io [2021-06-09T09:30:14.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T09:30:15.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T09:30:15.393Z] Configure a credential helper to remove this warning. See [2021-06-09T09:30:15.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T09:30:15.393Z] [2021-06-09T09:30:15.393Z] Login Succeeded [2021-06-09T09:30:15.393Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T09:30:15.409Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-09T09:30:15.483Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-06-09T09:30:15.483Z] b32159014ae45265b13142f0741b8ad008d9ae08 [2021-06-09T09:30:15.483Z] latest [2021-06-09T09:30:15.483Z] 1.2.2-dev.17 [2021-06-09T09:30:15.483Z] b32159014ae45265b13142f0741b8ad008d9ae08-1.2.2-dev.17 [2021-06-09T09:30:15.483Z] master [2021-06-09T09:30:15.483Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:30:15.869Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:b32159014ae45265b13142f0741b8ad008d9ae08 [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:30:16.215Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:b32159014ae45265b13142f0741b8ad008d9ae08 [2021-06-09T09:30:16.215Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-06-09T09:30:16.215Z] 60382c0500c8: Preparing [2021-06-09T09:30:16.215Z] 5c8ae436e84a: Preparing [2021-06-09T09:30:16.215Z] 7e90211cbd47: Preparing [2021-06-09T09:30:16.215Z] f8636a7a165e: Preparing [2021-06-09T09:30:16.215Z] 3fbe34a1663b: Preparing [2021-06-09T09:30:16.486Z] 3fbe34a1663b: Layer already exists [2021-06-09T09:30:16.486Z] 5c8ae436e84a: Pushed [2021-06-09T09:30:16.486Z] 60382c0500c8: Pushed [2021-06-09T09:30:17.090Z] f8636a7a165e: Pushed [2021-06-09T09:30:19.054Z] 7e90211cbd47: Pushed [2021-06-09T09:30:19.326Z] b32159014ae45265b13142f0741b8ad008d9ae08: digest: sha256:5e2e3a549cb34508784cd18d9d7131ba5025b392e00c173d4957c3ae4ee2f796 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:30:19.681Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:30:20.026Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-06-09T09:30:20.026Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-06-09T09:30:20.026Z] 60382c0500c8: Preparing [2021-06-09T09:30:20.026Z] 5c8ae436e84a: Preparing [2021-06-09T09:30:20.026Z] 7e90211cbd47: Preparing [2021-06-09T09:30:20.026Z] f8636a7a165e: Preparing [2021-06-09T09:30:20.026Z] 3fbe34a1663b: Preparing [2021-06-09T09:30:20.026Z] 60382c0500c8: Layer already exists [2021-06-09T09:30:20.026Z] 3fbe34a1663b: Layer already exists [2021-06-09T09:30:20.026Z] 7e90211cbd47: Layer already exists [2021-06-09T09:30:20.026Z] f8636a7a165e: Layer already exists [2021-06-09T09:30:20.026Z] 5c8ae436e84a: Layer already exists [2021-06-09T09:30:20.298Z] latest: digest: sha256:5e2e3a549cb34508784cd18d9d7131ba5025b392e00c173d4957c3ae4ee2f796 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:30:20.649Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.17 [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:30:20.983Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.17 [2021-06-09T09:30:20.983Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-06-09T09:30:20.983Z] 60382c0500c8: Preparing [2021-06-09T09:30:20.983Z] 5c8ae436e84a: Preparing [2021-06-09T09:30:20.983Z] 7e90211cbd47: Preparing [2021-06-09T09:30:20.983Z] f8636a7a165e: Preparing [2021-06-09T09:30:20.983Z] 3fbe34a1663b: Preparing [2021-06-09T09:30:20.983Z] 5c8ae436e84a: Layer already exists [2021-06-09T09:30:20.983Z] 60382c0500c8: Layer already exists [2021-06-09T09:30:20.983Z] 7e90211cbd47: Layer already exists [2021-06-09T09:30:20.983Z] f8636a7a165e: Layer already exists [2021-06-09T09:30:20.983Z] 3fbe34a1663b: Layer already exists [2021-06-09T09:30:21.254Z] 1.2.2-dev.17: digest: sha256:5e2e3a549cb34508784cd18d9d7131ba5025b392e00c173d4957c3ae4ee2f796 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:30:21.595Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:b32159014ae45265b13142f0741b8ad008d9ae08-1.2.2-dev.17 [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:30:21.937Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:b32159014ae45265b13142f0741b8ad008d9ae08-1.2.2-dev.17 [2021-06-09T09:30:21.937Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-06-09T09:30:21.937Z] 60382c0500c8: Preparing [2021-06-09T09:30:21.937Z] 5c8ae436e84a: Preparing [2021-06-09T09:30:21.937Z] 7e90211cbd47: Preparing [2021-06-09T09:30:21.937Z] f8636a7a165e: Preparing [2021-06-09T09:30:21.937Z] 3fbe34a1663b: Preparing [2021-06-09T09:30:21.937Z] 5c8ae436e84a: Layer already exists [2021-06-09T09:30:21.937Z] 60382c0500c8: Layer already exists [2021-06-09T09:30:21.937Z] 3fbe34a1663b: Layer already exists [2021-06-09T09:30:21.937Z] 7e90211cbd47: Layer already exists [2021-06-09T09:30:21.937Z] f8636a7a165e: Layer already exists [2021-06-09T09:30:22.210Z] b32159014ae45265b13142f0741b8ad008d9ae08-1.2.2-dev.17: digest: sha256:5e2e3a549cb34508784cd18d9d7131ba5025b392e00c173d4957c3ae4ee2f796 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:30:22.555Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:30:22.895Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:master [2021-06-09T09:30:22.895Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-06-09T09:30:22.895Z] 60382c0500c8: Preparing [2021-06-09T09:30:22.895Z] 5c8ae436e84a: Preparing [2021-06-09T09:30:22.895Z] 7e90211cbd47: Preparing [2021-06-09T09:30:22.895Z] f8636a7a165e: Preparing [2021-06-09T09:30:22.895Z] 3fbe34a1663b: Preparing [2021-06-09T09:30:22.895Z] 3fbe34a1663b: Layer already exists [2021-06-09T09:30:22.895Z] f8636a7a165e: Layer already exists [2021-06-09T09:30:22.895Z] 5c8ae436e84a: Layer already exists [2021-06-09T09:30:22.895Z] 7e90211cbd47: Layer already exists [2021-06-09T09:30:22.895Z] 60382c0500c8: Layer already exists [2021-06-09T09:30:23.165Z] master: digest: sha256:5e2e3a549cb34508784cd18d9d7131ba5025b392e00c173d4957c3ae4ee2f796 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-09T09:30:23.233Z] ===================================================== [Pipeline] echo [2021-06-09T09:30:23.253Z] taggedImages: [2021-06-09T09:30:23.253Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:b32159014ae45265b13142f0741b8ad008d9ae08 [2021-06-09T09:30:23.253Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-06-09T09:30:23.253Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.17 [2021-06-09T09:30:23.253Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:b32159014ae45265b13142f0741b8ad008d9ae08-1.2.2-dev.17 [2021-06-09T09:30:23.253Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-09T09:30:23.733Z] ---> job-cost.sh [2021-06-09T09:30:23.733Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-m3q7 [2021-06-09T09:31:02.736Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-09T09:32:24.467Z] lf-activate-venv(): INFO: Adding /tmp/venv-m3q7/bin to PATH [2021-06-09T09:32:24.467Z] INFO: No Stack... [2021-06-09T09:32:24.739Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-09T09:32:25.330Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T09:32:25.671Z] + cat /w/workspace/device-rest-go/51/archives/cost.csv [2021-06-09T09:32:25.671Z] + cut -d, -f6 [Pipeline] lock [2021-06-09T09:32:25.734Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-51-stack-cost] [2021-06-09T09:32:25.744Z] Resource [jenkins-edgexfoundry-device-rest-go-master-51-stack-cost] did not exist. Created. [2021-06-09T09:32:25.744Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T09:32:26.125Z] /w/workspace/device-rest-go/51@tmp/durable-4e36e7f0/script.sh: 1: /w/workspace/device-rest-go/51@tmp/durable-4e36e7f0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-09T09:32:26.482Z] + echo total: 0.36000001430511475 [Pipeline] stash [2021-06-09T09:32:26.506Z] Warning: overwriting stash ‘stack-cost’ [2021-06-09T09:32:26.658Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T09:32:26.668Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-51-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-09T09:32:27.531Z] provisioning config files... [2021-06-09T09:32:27.546Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7082120196357473564tmp [Pipeline] { [Pipeline] sh [2021-06-09T09:32:27.873Z] + set +x [2021-06-09T09:32:27.873Z] + curl -s https://codecov.io/bash [2021-06-09T09:32:27.873Z] + bash -s -- [2021-06-09T09:32:27.873Z] [2021-06-09T09:32:27.873Z] _____ _ [2021-06-09T09:32:27.873Z] / ____| | | [2021-06-09T09:32:27.873Z] | | ___ __| | ___ ___ _____ __ [2021-06-09T09:32:27.873Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-09T09:32:27.873Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-09T09:32:27.873Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-09T09:32:27.873Z] Bash-1.0.3 [2021-06-09T09:32:27.873Z] [2021-06-09T09:32:27.873Z] [2021-06-09T09:32:27.873Z] ==> git version 2.24.4 found [2021-06-09T09:32:27.873Z] ==> 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-09T09:32:27.873Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-09T09:32:27.873Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-09T09:32:27.873Z] ==> Jenkins CI detected. [2021-06-09T09:32:27.873Z] project root: . [2021-06-09T09:32:27.873Z] --> token set from env [2021-06-09T09:32:27.873Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-09T09:32:27.873Z] ==> Running gcov in . (disable via -X gcov) [2021-06-09T09:32:27.873Z] ==> Python coveragepy not found [2021-06-09T09:32:27.873Z] ==> Searching for coverage reports in: [2021-06-09T09:32:27.873Z] + . [2021-06-09T09:32:28.136Z] -> Found 1 reports [2021-06-09T09:32:28.136Z] ==> Detecting git/mercurial file structure [2021-06-09T09:32:28.136Z] ==> Reading reports [2021-06-09T09:32:28.136Z] + ./coverage.out bytes=8513 [2021-06-09T09:32:28.136Z] ==> Appending adjustments [2021-06-09T09:32:28.136Z] https://docs.codecov.io/docs/fixing-reports [2021-06-09T09:32:28.136Z] + Found adjustments [2021-06-09T09:32:28.136Z] ==> Gzipping contents [2021-06-09T09:32:28.136Z] 4.0K /tmp/codecov.3x5GyH.gz [2021-06-09T09:32:28.136Z] ==> Uploading reports [2021-06-09T09:32:28.136Z] url: https://codecov.io [2021-06-09T09:32:28.136Z] query: branch=master&commit=b32159014ae45265b13142f0741b8ad008d9ae08&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-09T09:32:28.136Z] -> Pinging Codecov [2021-06-09T09:32:28.136Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=b32159014ae45265b13142f0741b8ad008d9ae08&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-09T09:32:28.711Z] -> Uploading to [2021-06-09T09:32:28.711Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-09/4E5D53B4F1F92C436F7061BF334D961C/b32159014ae45265b13142f0741b8ad008d9ae08/c0543d39-3de9-42aa-88cc-db5de7005e1f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210609%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210609T093228Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8c2cf92f15e44cd8159294fb439361868cbc9cf0ddaf1f34ea66602a97bd6c1e [2021-06-09T09:32:28.711Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-09T09:32:28.711Z] Dload Upload Total Spent Left Speed [2021-06-09T09:32:28.973Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3722 --:--:-- --:--:-- --:--:-- 3729 [2021-06-09T09:32:28.973Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/b32159014ae45265b13142f0741b8ad008d9ae08 [Pipeline] } [2021-06-09T09:32:28.984Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-06-09T09:32:29.372Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-06-09T09:32:29.394Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:32:29.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-09T09:32:29.713Z] [2021-06-09T09:32:29.713Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:32:30.034Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-09T09:32:30.034Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-06-09T09:32:30.034Z] 188c0c94c7c5: Pulling fs layer [2021-06-09T09:32:30.034Z] 0ef7d3d256c8: Pulling fs layer [2021-06-09T09:32:30.034Z] de9db76c5a1d: Pulling fs layer [2021-06-09T09:32:30.034Z] 0eba1c9be4d2: Pulling fs layer [2021-06-09T09:32:30.034Z] 0d57e429df01: Pulling fs layer [2021-06-09T09:32:30.034Z] 4e4be7b47b0d: Pulling fs layer [2021-06-09T09:32:30.034Z] e1f770b5df2f: Pulling fs layer [2021-06-09T09:32:30.034Z] 85a0685a4137: Pulling fs layer [2021-06-09T09:32:30.034Z] 0eba1c9be4d2: Waiting [2021-06-09T09:32:30.034Z] 0d57e429df01: Waiting [2021-06-09T09:32:30.034Z] 4e4be7b47b0d: Waiting [2021-06-09T09:32:30.034Z] e1f770b5df2f: Waiting [2021-06-09T09:32:30.034Z] 85a0685a4137: Waiting [2021-06-09T09:32:30.034Z] de9db76c5a1d: Verifying Checksum [2021-06-09T09:32:30.034Z] de9db76c5a1d: Download complete [2021-06-09T09:32:30.034Z] 0ef7d3d256c8: Verifying Checksum [2021-06-09T09:32:30.034Z] 0ef7d3d256c8: Download complete [2021-06-09T09:32:30.034Z] 0d57e429df01: Verifying Checksum [2021-06-09T09:32:30.034Z] 0d57e429df01: Download complete [2021-06-09T09:32:30.034Z] 4e4be7b47b0d: Verifying Checksum [2021-06-09T09:32:30.034Z] 4e4be7b47b0d: Download complete [2021-06-09T09:32:30.034Z] 188c0c94c7c5: Verifying Checksum [2021-06-09T09:32:30.034Z] 188c0c94c7c5: Download complete [2021-06-09T09:32:30.301Z] 188c0c94c7c5: Pull complete [2021-06-09T09:32:30.570Z] 0ef7d3d256c8: Pull complete [2021-06-09T09:32:30.570Z] de9db76c5a1d: Pull complete [2021-06-09T09:32:31.516Z] e1f770b5df2f: Verifying Checksum [2021-06-09T09:32:31.516Z] e1f770b5df2f: Download complete [2021-06-09T09:32:33.430Z] 0eba1c9be4d2: Verifying Checksum [2021-06-09T09:32:33.430Z] 0eba1c9be4d2: Download complete [2021-06-09T09:32:33.430Z] 85a0685a4137: Verifying Checksum [2021-06-09T09:32:33.430Z] 85a0685a4137: Download complete [2021-06-09T09:32:36.760Z] 0eba1c9be4d2: Pull complete [2021-06-09T09:32:36.760Z] 0d57e429df01: Pull complete [2021-06-09T09:32:36.760Z] 4e4be7b47b0d: Pull complete [2021-06-09T09:32:37.338Z] e1f770b5df2f: Pull complete [2021-06-09T09:32:41.616Z] 85a0685a4137: Pull complete [2021-06-09T09:32:41.616Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-06-09T09:32:41.616Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-09T09:32:41.616Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-06-09T09:32:41.712Z] prd-centos7-docker-4c-2g-0 does not seem to be running inside a container [2021-06-09T09:32:41.749Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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-09T09:32:45.031Z] $ docker top 411494ec133efd08d3b78c16744d60d561f7a09cf06dc9bc0e8b1fb9bcc20d2b -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-09T09:32:45.150Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-06-09T09:32:45.451Z] + set -o pipefail [2021-06-09T09:32:45.451Z] + snyk monitor '--org=edgex-jenkins' [2021-06-09T09:32:50.802Z] [2021-06-09T09:32:50.802Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2021-06-09T09:32:50.802Z] [2021-06-09T09:32:50.802Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/885357cf-4903-45e5-bf97-1450bb0e4f91 [2021-06-09T09:32:50.802Z] [2021-06-09T09:32:50.802Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-06-09T09:32:50.802Z] [2021-06-09T09:32:50.802Z] [Pipeline] } [2021-06-09T09:32:50.813Z] $ docker stop --time=1 411494ec133efd08d3b78c16744d60d561f7a09cf06dc9bc0e8b1fb9bcc20d2b [2021-06-09T09:32:53.033Z] $ docker rm -f 411494ec133efd08d3b78c16744d60d561f7a09cf06dc9bc0e8b1fb9bcc20d2b [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-09T09:32:54.245Z] + git log --format=format:%s -1 b32159014ae45265b13142f0741b8ad008d9ae08 [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:32:54.557Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T09:32:54.558Z] . [Pipeline] withDockerContainer [2021-06-09T09:32:54.648Z] prd-centos7-docker-4c-2g-0 does not seem to be running inside a container [2021-06-09T09:32:54.685Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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-09T09:32:55.091Z] $ docker top 3f9ac5ba5d33e5a0ebfbaaafb7b30556229ae7afd29c6a9cc649fc175faa689a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-09T09:32:55.245Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T09:32:55.245Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T09:32:55.361Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T09:32:55.360Z] $ docker exec 3f9ac5ba5d33e5a0ebfbaaafb7b30556229ae7afd29c6a9cc649fc175faa689a ssh-agent [2021-06-09T09:32:55.497Z] SSH_AUTH_SOCK=/tmp/ssh-H3fXQGcZxuLN/agent.13 [2021-06-09T09:32:55.497Z] SSH_AGENT_PID=19 [2021-06-09T09:32:55.503Z] Running ssh-add (command line suppressed) [2021-06-09T09:32:55.609Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5528576216302079768.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5528576216302079768.key) [2021-06-09T09:32:55.640Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T09:32:55.953Z] + git semver tag [2021-06-09T09:32:55.953Z] # -> Open(): unable to determine branch for HEAD [2021-06-09T09:32:55.953Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-06-09T09:32:55.953Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-06-09T09:32:55.953Z] # $SEMVER_REMOTE_NAME = origin [2021-06-09T09:32:55.953Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-09T09:32:55.953Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-09T09:32:55.953Z] # $SEMVER_BRANCH = master [2021-06-09T09:32:55.953Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-06-09T09:32:55.953Z] # b32159014ae45265b13142f0741b8ad008d9ae08 HEAD [2021-06-09T09:32:55.953Z] # -> Force: false [2021-06-09T09:32:55.953Z] # 3e1303ed8550f768f66af14c1887f14fab907639 refs/tags/v1.2.2-dev.17 [Pipeline] } [2021-06-09T09:32:55.961Z] $ docker exec --env ******** --env ******** 3f9ac5ba5d33e5a0ebfbaaafb7b30556229ae7afd29c6a9cc649fc175faa689a ssh-agent -k [2021-06-09T09:32:56.067Z] unset SSH_AUTH_SOCK; [2021-06-09T09:32:56.068Z] unset SSH_AGENT_PID; [2021-06-09T09:32:56.068Z] echo Agent pid 19 killed; [2021-06-09T09:32:56.087Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-09T09:32:56.427Z] + git semver [Pipeline] } [2021-06-09T09:32:56.440Z] $ docker stop --time=1 3f9ac5ba5d33e5a0ebfbaaafb7b30556229ae7afd29c6a9cc649fc175faa689a [2021-06-09T09:32:57.685Z] $ docker rm -f 3f9ac5ba5d33e5a0ebfbaaafb7b30556229ae7afd29c6a9cc649fc175faa689a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:32:58.185Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-09T09:32:58.185Z] [2021-06-09T09:32:58.185Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:32:58.507Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-09T09:32:58.507Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-06-09T09:32:58.507Z] ab5ef0e58194: Pulling fs layer [2021-06-09T09:32:58.507Z] 9712f1f96733: Pulling fs layer [2021-06-09T09:32:58.507Z] 63f879dbbcfc: Pulling fs layer [2021-06-09T09:32:58.507Z] 0d9ebad4ef96: Pulling fs layer [2021-06-09T09:32:58.507Z] e9a5061849ea: Pulling fs layer [2021-06-09T09:32:58.507Z] d747dcd14b5f: Pulling fs layer [2021-06-09T09:32:58.507Z] 2de7ff778b66: Pulling fs layer [2021-06-09T09:32:58.507Z] 0d9ebad4ef96: Waiting [2021-06-09T09:32:58.507Z] e9a5061849ea: Waiting [2021-06-09T09:32:58.507Z] d747dcd14b5f: Waiting [2021-06-09T09:32:58.507Z] 2de7ff778b66: Waiting [2021-06-09T09:32:58.507Z] 9712f1f96733: Verifying Checksum [2021-06-09T09:32:58.507Z] 9712f1f96733: Download complete [2021-06-09T09:33:00.426Z] 63f879dbbcfc: Verifying Checksum [2021-06-09T09:33:00.426Z] 63f879dbbcfc: Download complete [2021-06-09T09:33:00.688Z] e9a5061849ea: Verifying Checksum [2021-06-09T09:33:00.688Z] e9a5061849ea: Download complete [2021-06-09T09:33:00.688Z] d747dcd14b5f: Verifying Checksum [2021-06-09T09:33:00.688Z] d747dcd14b5f: Download complete [2021-06-09T09:33:00.954Z] 2de7ff778b66: Verifying Checksum [2021-06-09T09:33:00.954Z] 2de7ff778b66: Download complete [2021-06-09T09:33:01.535Z] 0d9ebad4ef96: Verifying Checksum [2021-06-09T09:33:01.535Z] 0d9ebad4ef96: Download complete [2021-06-09T09:33:01.535Z] ab5ef0e58194: Verifying Checksum [2021-06-09T09:33:01.535Z] ab5ef0e58194: Download complete [2021-06-09T09:33:04.868Z] ab5ef0e58194: Pull complete [2021-06-09T09:33:04.868Z] 9712f1f96733: Pull complete [2021-06-09T09:33:05.138Z] 63f879dbbcfc: Pull complete [2021-06-09T09:33:09.392Z] 0d9ebad4ef96: Pull complete [2021-06-09T09:33:09.392Z] e9a5061849ea: Pull complete [2021-06-09T09:33:09.392Z] d747dcd14b5f: Pull complete [2021-06-09T09:33:10.787Z] 2de7ff778b66: Pull complete [2021-06-09T09:33:10.787Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-06-09T09:33:10.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-09T09:33:10.787Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-06-09T09:33:10.882Z] prd-centos7-docker-4c-2g-0 does not seem to be running inside a container [2021-06-09T09:33:10.927Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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-09T09:33:16.248Z] $ docker top 354ba877590fbad7adb1e90b0560af91bebb337828e3a8b82d5f53ce9d104147 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-06-09T09:33:16.366Z] provisioning config files... [2021-06-09T09:33:16.377Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5532655457444586243tmp [2021-06-09T09:33:16.390Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4369294236212926236tmp [2021-06-09T09:33:16.402Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3031684872442014394tmp [Pipeline] { [Pipeline] echo [2021-06-09T09:33:16.425Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T09:33:16.731Z] ---> sigul-configuration.sh [2021-06-09T09:33:16.731Z] gpg: directory `/root/.gnupg' created [2021-06-09T09:33:16.731Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-06-09T09:33:16.731Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-06-09T09:33:16.731Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-06-09T09:33:16.731Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-06-09T09:33:16.731Z] gpg: CAST5 encrypted data [2021-06-09T09:33:16.731Z] gpg: encrypted with 1 passphrase [2021-06-09T09:33:16.731Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-06-09T09:33:17.030Z] + mkdir /home/jenkins [2021-06-09T09:33:17.031Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-06-09T09:33:17.331Z] + 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-09T09:33:17.345Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T09:33:17.660Z] ---> sigul-install.sh [2021-06-09T09:33:22.962Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-06-09T09:33:23.269Z] + git tag --list [2021-06-09T09:33:23.269Z] v1.0.0 [2021-06-09T09:33:23.269Z] v1.1.0 [2021-06-09T09:33:23.269Z] v1.1.1 [2021-06-09T09:33:23.269Z] v1.1.2 [2021-06-09T09:33:23.269Z] v1.2.0 [2021-06-09T09:33:23.269Z] v1.2.1 [2021-06-09T09:33:23.269Z] v1.2.1-dev.1 [2021-06-09T09:33:23.269Z] v1.2.1-dev.2 [2021-06-09T09:33:23.269Z] v1.2.1-dev.3 [2021-06-09T09:33:23.269Z] v1.2.1-dev.4 [2021-06-09T09:33:23.269Z] v1.2.2-dev.1 [2021-06-09T09:33:23.269Z] v1.2.2-dev.10 [2021-06-09T09:33:23.269Z] v1.2.2-dev.11 [2021-06-09T09:33:23.269Z] v1.2.2-dev.12 [2021-06-09T09:33:23.269Z] v1.2.2-dev.13 [2021-06-09T09:33:23.269Z] v1.2.2-dev.14 [2021-06-09T09:33:23.269Z] v1.2.2-dev.15 [2021-06-09T09:33:23.269Z] v1.2.2-dev.16 [2021-06-09T09:33:23.269Z] v1.2.2-dev.17 [2021-06-09T09:33:23.269Z] v1.2.2-dev.2 [2021-06-09T09:33:23.269Z] v1.2.2-dev.3 [2021-06-09T09:33:23.269Z] v1.2.2-dev.4 [2021-06-09T09:33:23.269Z] v1.2.2-dev.5 [2021-06-09T09:33:23.269Z] v1.2.2-dev.6 [2021-06-09T09:33:23.269Z] v1.2.2-dev.7 [2021-06-09T09:33:23.269Z] v1.2.2-dev.8 [2021-06-09T09:33:23.269Z] v1.2.2-dev.9 [Pipeline] sh [2021-06-09T09:33:23.572Z] + lftools sign git-tag v1.2.2-dev.17 [2021-06-09T09:33:24.152Z] Signing Git tag with Sigul... [2021-06-09T09:33:24.152Z] Signing v1.2.2-dev.17 [Pipeline] echo [2021-06-09T09:33:25.116Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T09:33:25.416Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-06-09T09:33:25.425Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-06-09T09:33:25.455Z] $ docker stop --time=1 354ba877590fbad7adb1e90b0560af91bebb337828e3a8b82d5f53ce9d104147 [2021-06-09T09:33:27.125Z] $ docker rm -f 354ba877590fbad7adb1e90b0560af91bebb337828e3a8b82d5f53ce9d104147 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:33:27.849Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T09:33:27.849Z] . [Pipeline] withDockerContainer [2021-06-09T09:33:27.945Z] prd-centos7-docker-4c-2g-0 does not seem to be running inside a container [2021-06-09T09:33:27.983Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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-09T09:33:28.432Z] $ docker top 982eeea7355dbb04239eb7a18f21599b9849f566f45cf3c64933bce763d5945e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-09T09:33:28.592Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T09:33:28.592Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T09:33:28.717Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T09:33:28.717Z] $ docker exec 982eeea7355dbb04239eb7a18f21599b9849f566f45cf3c64933bce763d5945e ssh-agent [2021-06-09T09:33:28.852Z] SSH_AUTH_SOCK=/tmp/ssh-PZNMTBfV0Yro/agent.14 [2021-06-09T09:33:28.852Z] SSH_AGENT_PID=20 [2021-06-09T09:33:28.858Z] Running ssh-add (command line suppressed) [2021-06-09T09:33:28.988Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3811145323481581466.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3811145323481581466.key) [2021-06-09T09:33:29.064Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T09:33:29.652Z] + git semver bump pre [2021-06-09T09:33:29.652Z] # -> Open(): unable to determine branch for HEAD [2021-06-09T09:33:29.652Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-06-09T09:33:29.652Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-06-09T09:33:29.652Z] # $SEMVER_REMOTE_NAME = origin [2021-06-09T09:33:29.652Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-09T09:33:29.652Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-09T09:33:29.652Z] # $SEMVER_BRANCH = master [2021-06-09T09:33:29.652Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-06-09T09:33:29.652Z] 1.2.2-dev.18 [Pipeline] } [2021-06-09T09:33:29.706Z] $ docker exec --env ******** --env ******** 982eeea7355dbb04239eb7a18f21599b9849f566f45cf3c64933bce763d5945e ssh-agent -k [2021-06-09T09:33:29.812Z] unset SSH_AUTH_SOCK; [2021-06-09T09:33:29.813Z] unset SSH_AGENT_PID; [2021-06-09T09:33:29.813Z] echo Agent pid 20 killed; [2021-06-09T09:33:29.833Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-09T09:33:30.217Z] + git semver [Pipeline] } [2021-06-09T09:33:30.242Z] $ docker stop --time=1 982eeea7355dbb04239eb7a18f21599b9849f566f45cf3c64933bce763d5945e [2021-06-09T09:33:31.488Z] $ docker rm -f 982eeea7355dbb04239eb7a18f21599b9849f566f45cf3c64933bce763d5945e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:33:31.896Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T09:33:31.897Z] . [Pipeline] withDockerContainer [2021-06-09T09:33:31.992Z] prd-centos7-docker-4c-2g-0 does not seem to be running inside a container [2021-06-09T09:33:32.034Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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-09T09:33:32.438Z] $ docker top b99aa53921b97d7ad312c70e671c4f6b98f2dffd87d705cde7384a4577cd3578 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-09T09:33:32.580Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T09:33:32.580Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T09:33:32.723Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T09:33:32.723Z] $ docker exec b99aa53921b97d7ad312c70e671c4f6b98f2dffd87d705cde7384a4577cd3578 ssh-agent [2021-06-09T09:33:32.854Z] SSH_AUTH_SOCK=/tmp/ssh-PxoLZEDWXid6/agent.14 [2021-06-09T09:33:32.854Z] SSH_AGENT_PID=20 [2021-06-09T09:33:32.860Z] Running ssh-add (command line suppressed) [2021-06-09T09:33:32.964Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8295769007075356350.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8295769007075356350.key) [2021-06-09T09:33:32.986Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T09:33:33.291Z] + git semver push [2021-06-09T09:33:33.291Z] # -> Open(): unable to determine branch for HEAD [2021-06-09T09:33:33.291Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-06-09T09:33:33.291Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-06-09T09:33:33.291Z] # $SEMVER_REMOTE_NAME = origin [2021-06-09T09:33:33.291Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-09T09:33:33.291Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-09T09:33:33.291Z] # $SEMVER_BRANCH = master [2021-06-09T09:33:33.291Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-06-09T09:33:38.611Z] $ docker exec --env ******** --env ******** b99aa53921b97d7ad312c70e671c4f6b98f2dffd87d705cde7384a4577cd3578 ssh-agent -k [2021-06-09T09:33:38.716Z] unset SSH_AUTH_SOCK; [2021-06-09T09:33:38.716Z] unset SSH_AGENT_PID; [2021-06-09T09:33:38.717Z] echo Agent pid 20 killed; [2021-06-09T09:33:38.742Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-09T09:33:39.080Z] + git semver [Pipeline] } [2021-06-09T09:33:39.091Z] $ docker stop --time=1 b99aa53921b97d7ad312c70e671c4f6b98f2dffd87d705cde7384a4577cd3578 [2021-06-09T09:33:40.297Z] $ docker rm -f b99aa53921b97d7ad312c70e671c4f6b98f2dffd87d705cde7384a4577cd3578 [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-09T09:33:41.995Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T09:33:42.566Z] ---> package-listing.sh [2021-06-09T09:33:42.566Z] ++ facter osfamily [2021-06-09T09:33:42.566Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-09T09:33:42.833Z] + OS_FAMILY=redhat [2021-06-09T09:33:42.833Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2021-06-09T09:33:42.833Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-09T09:33:42.833Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-09T09:33:42.833Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-09T09:33:42.833Z] + PACKAGES=/tmp/packages_start.txt [2021-06-09T09:33:42.833Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-06-09T09:33:42.833Z] + PACKAGES=/tmp/packages_end.txt [2021-06-09T09:33:42.833Z] + case "${OS_FAMILY}" in [2021-06-09T09:33:42.833Z] + rpm -qa [2021-06-09T09:33:42.833Z] + sort [2021-06-09T09:33:43.407Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-09T09:33:43.407Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-09T09:33:43.407Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-09T09:33:43.407Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-06-09T09:33:43.407Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2021-06-09T09:33:43.407Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo [2021-06-09T09:33:43.422Z] 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/gexfoundry_device-rest-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-09T09:33:43.715Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:33:44.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T09:33:44.290Z] [2021-06-09T09:33:44.290Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-09T09:33:44.609Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T09:33:44.609Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-09T09:33:44.609Z] df20fa9351a1: Pulling fs layer [2021-06-09T09:33:44.609Z] 36b3adc4ff6f: Pulling fs layer [2021-06-09T09:33:44.609Z] 8ad3a11d3b57: Pulling fs layer [2021-06-09T09:33:44.609Z] 46f8f816bc3b: Pulling fs layer [2021-06-09T09:33:44.609Z] 93b61091891f: Pulling fs layer [2021-06-09T09:33:44.609Z] 93b9cdb0e59b: Pulling fs layer [2021-06-09T09:33:44.609Z] 5e14af77c1be: Pulling fs layer [2021-06-09T09:33:44.610Z] 01666e4c0597: Pulling fs layer [2021-06-09T09:33:44.610Z] aa168da1d23b: Pulling fs layer [2021-06-09T09:33:44.610Z] 93b9cdb0e59b: Waiting [2021-06-09T09:33:44.610Z] 5e14af77c1be: Waiting [2021-06-09T09:33:44.610Z] 01666e4c0597: Waiting [2021-06-09T09:33:44.610Z] aa168da1d23b: Waiting [2021-06-09T09:33:44.610Z] 46f8f816bc3b: Waiting [2021-06-09T09:33:44.610Z] 93b61091891f: Waiting [2021-06-09T09:33:44.610Z] 36b3adc4ff6f: Verifying Checksum [2021-06-09T09:33:44.610Z] 36b3adc4ff6f: Download complete [2021-06-09T09:33:44.610Z] 46f8f816bc3b: Verifying Checksum [2021-06-09T09:33:44.610Z] 46f8f816bc3b: Download complete [2021-06-09T09:33:44.878Z] df20fa9351a1: Verifying Checksum [2021-06-09T09:33:44.878Z] df20fa9351a1: Download complete [2021-06-09T09:33:44.878Z] 93b9cdb0e59b: Verifying Checksum [2021-06-09T09:33:44.878Z] 93b9cdb0e59b: Download complete [2021-06-09T09:33:44.878Z] 5e14af77c1be: Verifying Checksum [2021-06-09T09:33:44.878Z] 5e14af77c1be: Download complete [2021-06-09T09:33:44.878Z] 93b61091891f: Verifying Checksum [2021-06-09T09:33:44.878Z] 93b61091891f: Download complete [2021-06-09T09:33:44.878Z] 01666e4c0597: Verifying Checksum [2021-06-09T09:33:44.878Z] 01666e4c0597: Download complete [2021-06-09T09:33:44.878Z] df20fa9351a1: Pull complete [2021-06-09T09:33:44.878Z] 8ad3a11d3b57: Verifying Checksum [2021-06-09T09:33:44.878Z] 8ad3a11d3b57: Download complete [2021-06-09T09:33:45.143Z] 36b3adc4ff6f: Pull complete [2021-06-09T09:33:45.726Z] 8ad3a11d3b57: Pull complete [2021-06-09T09:33:45.726Z] 46f8f816bc3b: Pull complete [2021-06-09T09:33:45.988Z] 93b61091891f: Pull complete [2021-06-09T09:33:45.988Z] 93b9cdb0e59b: Pull complete [2021-06-09T09:33:46.250Z] 5e14af77c1be: Pull complete [2021-06-09T09:33:46.250Z] 01666e4c0597: Pull complete [2021-06-09T09:33:46.829Z] aa168da1d23b: Verifying Checksum [2021-06-09T09:33:46.829Z] aa168da1d23b: Download complete [2021-06-09T09:33:52.142Z] aa168da1d23b: Pull complete [2021-06-09T09:33:52.142Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-09T09:33:52.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T09:33:52.142Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-09T09:33:52.235Z] prd-centos7-docker-4c-2g-0 does not seem to be running inside a container [2021-06-09T09:33:52.278Z] $ 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/gexfoundry_device-rest-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/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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-09T09:33:54.331Z] $ docker top 30f403b9916d159a79978814f3de5f24ffadf21342f1cfaf26c821972b0b0e12 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T09:33:54.723Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-09T09:33:55.021Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-09T09:33:55.322Z] + ls /var/log/sa-host [2021-06-09T09:33:55.322Z] + sadf -c /var/log/sa-host/sa05 [2021-06-09T09:33:55.322Z] file_magic: OK [2021-06-09T09:33:55.322Z] HZ: Using current value: 100 [2021-06-09T09:33:55.322Z] file_header: OK [2021-06-09T09:33:55.322Z] 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-09T09:33:55.322Z] Statistics: [2021-06-09T09:33:55.322Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T09:33:55.322Z] File successfully converted to sysstat format version 12.2.1 [2021-06-09T09:33:55.322Z] + sadf -c /var/log/sa-host/sa09 [2021-06-09T09:33:55.322Z] file_magic: OK [2021-06-09T09:33:55.322Z] HZ: Using current value: 100 [2021-06-09T09:33:55.322Z] file_header: OK [2021-06-09T09:33:55.322Z] 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-09T09:33:55.322Z] Statistics: [2021-06-09T09:33:55.322Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T09:33:55.322Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T09:33:56.055Z] provisioning config files... [2021-06-09T09:33:56.073Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2110262427433789864tmp [Pipeline] { [Pipeline] echo [2021-06-09T09:33:56.102Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T09:33:56.406Z] ---> create-netrc.sh [Pipeline] } [2021-06-09T09:33:56.416Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-09T09:33:56.862Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-09T09:33:56.874Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T09:33:57.179Z] ---> sudo-logs.sh [2021-06-09T09:33:57.179Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-09T09:33:57.207Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T09:33:57.502Z] ---> job-cost.sh [2021-06-09T09:33:57.502Z] lf-activate-venv: SKIPPING [2021-06-09T09:33:57.502Z] DEBUG: total: 0.36000001430511475 [2021-06-09T09:33:57.502Z] INFO: Retrieving Stack Cost... [2021-06-09T09:33:58.446Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T09:33:58.708Z] INFO: Archiving Costs [Pipeline] echo [2021-06-09T09:33:58.724Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T09:33:59.027Z] ---> logs-deploy.sh [2021-06-09T09:33:59.027Z] lf-activate-venv: SKIPPING [2021-06-09T09:33:59.027Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/51 [2021-06-09T09:33:59.027Z] INFO: archiving workspace using pattern(s): [2021-06-09T09:33:59.976Z] Archives upload complete. [2021-06-09T09:33:59.976Z] INFO: archiving logs to Nexus