Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 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-ssh8213320272857474722.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-ssh5841956154207972062.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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-ssh3869341086331674603.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd # timeout=10 Commit message: "Merge pull request #338 from ernestojeda/add-latest-tag" > 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-ssh3845614029140527577.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-ssh1173301299140918754.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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-905 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-ssh9103664509996031621.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 a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 (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 a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 # timeout=10 Commit message: "Merge pull request #110 from siggiskulason/fix-snap-v2" > git rev-list --no-walk e449f7094e73ba5d0241c87d9e59db3ba8d69b80 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-08T14:25:26.102Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-08T14:25:26.211Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-08T14:25:26.247Z] ========================================================= [2021-06-08T14:25:26.247Z] EdgeX Global Pipelines Version Info [2021-06-08T14:25:26.247Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:25:27.728Z] ------------------- [2021-06-08T14:25:27.729Z] stable info: [2021-06-08T14:25:27.729Z] ------------------- [2021-06-08T14:25:27.729Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-08T14:25:27.729Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-08T14:25:27.729Z] Message: update stable to v1.0.193 [2021-06-08T14:25:28.303Z] ------------------- [2021-06-08T14:25:28.303Z] experimental info: [2021-06-08T14:25:28.303Z] ------------------- [2021-06-08T14:25:28.303Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-08T14:25:28.303Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-08T14:25:28.303Z] Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-08T14:25:28.444Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-06-08T14:25:28.474Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-06-08T14:25:28.502Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-08T14:25:28.526Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-08T14:25:28.553Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-08T14:25:28.578Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-08T14:25:28.602Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-08T14:25:28.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-08T14:25:28.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-08T14:25:28.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-08T14:25:28.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-08T14:25:28.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-06-08T14:25:28.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-08T14:25:28.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-08T14:25:28.809Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-08T14:25:28.832Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-08T14:25:28.856Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-08T14:25:28.882Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-08T14:25:28.908Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-08T14:25:28.931Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-08T14:25:28.955Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-08T14:25:28.979Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-08T14:25:29.003Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-08T14:25:29.026Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-08T14:25:29.049Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-08T14:25:29.072Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-08T14:25:29.098Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-06-08T14:25:29.151Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-06-08T14:25:29.175Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-06-08T14:25:29.200Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 [Pipeline] echo [2021-06-08T14:25:29.233Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a5f0fcb [Pipeline] echo [2021-06-08T14:25:29.258Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T14:25:29.332Z] provisioning config files... [2021-06-08T14:25:29.347Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4188294233321302001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:25:29.664Z] ---> docker-login.sh [2021-06-08T14:25:29.664Z] nexus3.edgexfoundry.org:10001 [2021-06-08T14:25:29.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:25:29.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:25:29.929Z] Configure a credential helper to remove this warning. See [2021-06-08T14:25:29.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:25:29.929Z] [2021-06-08T14:25:29.929Z] Login Succeeded [2021-06-08T14:25:29.929Z] nexus3.edgexfoundry.org:10002 [2021-06-08T14:25:29.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:25:29.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:25:29.929Z] Configure a credential helper to remove this warning. See [2021-06-08T14:25:29.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:25:29.929Z] [2021-06-08T14:25:29.929Z] Login Succeeded [2021-06-08T14:25:29.929Z] nexus3.edgexfoundry.org:10003 [2021-06-08T14:25:30.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:25:30.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:25:30.205Z] Configure a credential helper to remove this warning. See [2021-06-08T14:25:30.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:25:30.205Z] [2021-06-08T14:25:30.205Z] Login Succeeded [2021-06-08T14:25:30.205Z] nexus3.edgexfoundry.org:10004 [2021-06-08T14:25:30.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:25:30.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:25:30.205Z] Configure a credential helper to remove this warning. See [2021-06-08T14:25:30.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:25:30.205Z] [2021-06-08T14:25:30.205Z] Login Succeeded [2021-06-08T14:25:30.205Z] docker.io [2021-06-08T14:25:30.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:25:30.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:25:30.780Z] Configure a credential helper to remove this warning. See [2021-06-08T14:25:30.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:25:30.780Z] [2021-06-08T14:25:30.780Z] Login Succeeded [2021-06-08T14:25:30.780Z] ---> docker-login.sh ends [Pipeline] } [2021-06-08T14:25:30.789Z] 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-08T14:25:31.296Z] + git log --format=format:%s -1 a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 [Pipeline] echo [2021-06-08T14:25:31.332Z] GIT_COMMIT: a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54, Commit Message: Merge pull request #110 from siggiskulason/fix-snap-v2 [Pipeline] echo [2021-06-08T14:25:31.346Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:25:31.912Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T14:25:31.912Z] [2021-06-08T14:25:31.912Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:25:32.250Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T14:25:32.250Z] latest: Pulling from edgex-devops/git-semver [2021-06-08T14:25:32.250Z] 31603596830f: Pulling fs layer [2021-06-08T14:25:32.250Z] 54011a49482f: Pulling fs layer [2021-06-08T14:25:32.250Z] a6820b24f6d8: Pulling fs layer [2021-06-08T14:25:32.250Z] f581987b2513: Pulling fs layer [2021-06-08T14:25:32.250Z] f581987b2513: Waiting [2021-06-08T14:25:32.250Z] 54011a49482f: Verifying Checksum [2021-06-08T14:25:32.250Z] 54011a49482f: Download complete [2021-06-08T14:25:32.250Z] 31603596830f: Download complete [2021-06-08T14:25:32.518Z] f581987b2513: Verifying Checksum [2021-06-08T14:25:32.518Z] f581987b2513: Download complete [2021-06-08T14:25:32.518Z] 31603596830f: Pull complete [2021-06-08T14:25:32.518Z] a6820b24f6d8: Verifying Checksum [2021-06-08T14:25:32.518Z] a6820b24f6d8: Download complete [2021-06-08T14:25:32.779Z] 54011a49482f: Pull complete [2021-06-08T14:25:33.357Z] a6820b24f6d8: Pull complete [2021-06-08T14:25:33.357Z] f581987b2513: Pull complete [2021-06-08T14:25:33.357Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-08T14:25:33.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T14:25:33.357Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-08T14:25:33.438Z] prd-centos7-docker-4c-2g-905 does not seem to be running inside a container [2021-06-08T14:25:33.476Z] $ 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-08T14:25:34.913Z] $ docker top 763d8a98d0b035a05acae9113fd079f88ad76c3639c4f874241ee512b48b1f27 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-08T14:25:35.039Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-08T14:25:35.039Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-08T14:25:35.155Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-08T14:25:35.153Z] $ docker exec 763d8a98d0b035a05acae9113fd079f88ad76c3639c4f874241ee512b48b1f27 ssh-agent [2021-06-08T14:25:35.265Z] SSH_AUTH_SOCK=/tmp/ssh-FviQC9pgpBC2/agent.14 [2021-06-08T14:25:35.265Z] SSH_AGENT_PID=20 [2021-06-08T14:25:35.274Z] Running ssh-add (command line suppressed) [2021-06-08T14:25:35.355Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2112299213367200117.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2112299213367200117.key) [2021-06-08T14:25:35.381Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-08T14:25:35.709Z] + git tag --points-at HEAD [Pipeline] } [2021-06-08T14:25:35.729Z] $ docker exec --env ******** --env ******** 763d8a98d0b035a05acae9113fd079f88ad76c3639c4f874241ee512b48b1f27 ssh-agent -k [2021-06-08T14:25:35.813Z] unset SSH_AUTH_SOCK; [2021-06-08T14:25:35.816Z] unset SSH_AGENT_PID; [2021-06-08T14:25:35.816Z] echo Agent pid 20 killed; [2021-06-08T14:25:35.832Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-08T14:25:35.872Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-08T14:25:35.872Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-08T14:25:35.987Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-08T14:25:35.985Z] $ docker exec 763d8a98d0b035a05acae9113fd079f88ad76c3639c4f874241ee512b48b1f27 ssh-agent [2021-06-08T14:25:36.094Z] SSH_AUTH_SOCK=/tmp/ssh-kjVNNENzSIu8/agent.55 [2021-06-08T14:25:36.094Z] SSH_AGENT_PID=62 [2021-06-08T14:25:36.099Z] Running ssh-add (command line suppressed) [2021-06-08T14:25:36.182Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2983617414936008359.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2983617414936008359.key) [2021-06-08T14:25:36.201Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-08T14:25:36.505Z] + git semver init [2021-06-08T14:25:36.505Z] # -> Open(): unable to determine branch for HEAD [2021-06-08T14:25:36.505Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-06-08T14:25:36.505Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-06-08T14:25:36.505Z] # $SEMVER_REMOTE_NAME = origin [2021-06-08T14:25:36.505Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-08T14:25:36.505Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-08T14:25:36.505Z] # $SEMVER_BRANCH = master [2021-06-08T14:25:36.505Z] # $SEMVER_TEMP = /tmp/semver-422360449 [2021-06-08T14:25:36.505Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-06-08T14:25:37.459Z] # '/tmp/semver-422360449' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2021-06-08T14:25:37.459Z] # -> Force: false [2021-06-08T14:25:37.459Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-06-08T14:25:37.471Z] $ docker exec --env ******** --env ******** 763d8a98d0b035a05acae9113fd079f88ad76c3639c4f874241ee512b48b1f27 ssh-agent -k [2021-06-08T14:25:37.557Z] unset SSH_AUTH_SOCK; [2021-06-08T14:25:37.557Z] unset SSH_AGENT_PID; [2021-06-08T14:25:37.557Z] echo Agent pid 62 killed; [2021-06-08T14:25:37.578Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-08T14:25:37.918Z] + git semver [Pipeline] } [2021-06-08T14:25:37.930Z] $ docker stop --time=1 763d8a98d0b035a05acae9113fd079f88ad76c3639c4f874241ee512b48b1f27 [2021-06-08T14:25:39.319Z] $ docker rm -f 763d8a98d0b035a05acae9113fd079f88ad76c3639c4f874241ee512b48b1f27 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-08T14:25:39.768Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-08T14:25:40.212Z] Stashed 1 file(s) [Pipeline] echo [2021-06-08T14:25:40.215Z] [edgeXSemver]: initialized semver on version 1.2.2-dev.16 [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-08T14:25:55.521Z] Still waiting to schedule task [2021-06-08T14:25:55.521Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-08T14:25:55.523Z] Still waiting to schedule task [2021-06-08T14:25:55.523Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-08T14:27:29.187Z] Running on prd-centos7-docker-4c-2g-909 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-06-08T14:27:29.213Z] Running in /w/workspace/device-rest-go/49 [Pipeline] { [Pipeline] checkout [2021-06-08T14:27:29.400Z] The recommended git tool is: git [2021-06-08T14:27:32.397Z] using credential edgex-jenkins-ssh [2021-06-08T14:27:32.411Z] Cloning the remote Git repository [2021-06-08T14:27:32.433Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-08T14:27:32.500Z] > git init /w/workspace/device-rest-go/49 # timeout=10 [2021-06-08T14:27:32.525Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-08T14:27:32.525Z] > git --version # timeout=10 [2021-06-08T14:27:32.532Z] > git --version # 'git version 2.24.4' [2021-06-08T14:27:32.533Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T14:27:32.556Z] [INFO] Currently running in a labeled security context [2021-06-08T14:27:32.556Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-08T14:27:32.556Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/49@tmp/jenkins-gitclient-ssh3558632305021297867.key [2021-06-08T14:27:32.583Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T14:27:33.781Z] Avoid second fetch [2021-06-08T14:27:33.781Z] Checking out Revision a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 (master) [2021-06-08T14:27:33.749Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-08T14:27:33.760Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T14:27:33.785Z] > git config core.sparsecheckout # timeout=10 [2021-06-08T14:27:33.795Z] > git checkout -f a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 # timeout=10 [2021-06-08T14:27:37.452Z] Commit message: "Merge pull request #110 from siggiskulason/fix-snap-v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-08T14:27:38.353Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-08T14:27:38.687Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-08T14:27:38.992Z] + sudo service docker restart [2021-06-08T14:27:38.992Z] + true [2021-06-08T14:27:38.992Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T14:27:57.174Z] provisioning config files... [2021-06-08T14:27:57.191Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/49@tmp/config1754616085074181060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:27:57.538Z] ---> docker-login.sh [2021-06-08T14:27:57.538Z] nexus3.edgexfoundry.org:10001 [2021-06-08T14:27:57.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:27:57.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:27:57.801Z] Configure a credential helper to remove this warning. See [2021-06-08T14:27:57.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:27:57.801Z] [2021-06-08T14:27:57.801Z] Login Succeeded [2021-06-08T14:27:57.801Z] nexus3.edgexfoundry.org:10002 [2021-06-08T14:27:57.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:27:58.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:27:58.067Z] Configure a credential helper to remove this warning. See [2021-06-08T14:27:58.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:27:58.067Z] [2021-06-08T14:27:58.067Z] Login Succeeded [2021-06-08T14:27:58.067Z] nexus3.edgexfoundry.org:10003 [2021-06-08T14:27:58.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:27:58.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:27:58.067Z] Configure a credential helper to remove this warning. See [2021-06-08T14:27:58.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:27:58.067Z] [2021-06-08T14:27:58.067Z] Login Succeeded [2021-06-08T14:27:58.067Z] nexus3.edgexfoundry.org:10004 [2021-06-08T14:27:58.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:27:58.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:27:58.595Z] Configure a credential helper to remove this warning. See [2021-06-08T14:27:58.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:27:58.596Z] [2021-06-08T14:27:58.596Z] Login Succeeded [2021-06-08T14:27:58.596Z] docker.io [2021-06-08T14:27:58.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:27:58.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:27:58.860Z] Configure a credential helper to remove this warning. See [2021-06-08T14:27:58.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:27:58.860Z] [2021-06-08T14:27:58.860Z] Login Succeeded [2021-06-08T14:27:58.860Z] ---> docker-login.sh ends [Pipeline] } [2021-06-08T14:27:58.871Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-08T14:27:59.043Z] ========================================================= [2021-06-08T14:27:59.044Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-08T14:27:59.044Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:27:59.371Z] + 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-08T14:27:59.371Z] Sending build context to Docker daemon 92.16kB [2021-06-08T14:27:59.371Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T14:27:59.371Z] Step 2/10 : FROM ${BASE} [2021-06-08T14:27:59.371Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-08T14:27:59.371Z] 540db60ca938: Pulling fs layer [2021-06-08T14:27:59.371Z] adcc1eea9eea: Pulling fs layer [2021-06-08T14:27:59.371Z] 4c4ab2625f07: Pulling fs layer [2021-06-08T14:27:59.371Z] 0510c868ecb4: Pulling fs layer [2021-06-08T14:27:59.371Z] afea3b2eda06: Pulling fs layer [2021-06-08T14:27:59.371Z] 7809a108b3ef: Pulling fs layer [2021-06-08T14:27:59.371Z] f706445af74f: Pulling fs layer [2021-06-08T14:27:59.371Z] afea3b2eda06: Waiting [2021-06-08T14:27:59.371Z] 7809a108b3ef: Waiting [2021-06-08T14:27:59.371Z] f706445af74f: Waiting [2021-06-08T14:27:59.371Z] 0510c868ecb4: Waiting [2021-06-08T14:27:59.633Z] 4c4ab2625f07: Verifying Checksum [2021-06-08T14:27:59.633Z] 4c4ab2625f07: Download complete [2021-06-08T14:27:59.633Z] adcc1eea9eea: Verifying Checksum [2021-06-08T14:27:59.633Z] adcc1eea9eea: Download complete [2021-06-08T14:27:59.633Z] afea3b2eda06: Verifying Checksum [2021-06-08T14:27:59.633Z] afea3b2eda06: Download complete [2021-06-08T14:27:59.633Z] 7809a108b3ef: Verifying Checksum [2021-06-08T14:27:59.633Z] 7809a108b3ef: Download complete [2021-06-08T14:27:59.633Z] 540db60ca938: Verifying Checksum [2021-06-08T14:27:59.633Z] 540db60ca938: Download complete [2021-06-08T14:27:59.898Z] 540db60ca938: Pull complete [2021-06-08T14:28:00.472Z] adcc1eea9eea: Pull complete [2021-06-08T14:28:00.472Z] 4c4ab2625f07: Pull complete [2021-06-08T14:28:01.873Z] f706445af74f: Verifying Checksum [2021-06-08T14:28:01.873Z] f706445af74f: Download complete [2021-06-08T14:28:02.824Z] 0510c868ecb4: Verifying Checksum [2021-06-08T14:28:02.824Z] 0510c868ecb4: Download complete [2021-06-08T14:28:07.083Z] 0510c868ecb4: Pull complete [2021-06-08T14:28:07.083Z] afea3b2eda06: Pull complete [2021-06-08T14:28:07.083Z] 7809a108b3ef: Pull complete [2021-06-08T14:28:08.488Z] f706445af74f: Pull complete [2021-06-08T14:28:08.488Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-08T14:28:08.488Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-08T14:28:08.488Z] ---> b068be0155e3 [2021-06-08T14:28:08.488Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-08T14:28:18.516Z] ---> Running in acb6adcdf6fe [2021-06-08T14:28:18.516Z] Removing intermediate container acb6adcdf6fe [2021-06-08T14:28:18.516Z] ---> a80741978153 [2021-06-08T14:28:18.516Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-08T14:28:18.516Z] ---> Running in 2f9615a3d9dd [2021-06-08T14:28:18.516Z] Removing intermediate container 2f9615a3d9dd [2021-06-08T14:28:18.516Z] ---> 76a532266953 [2021-06-08T14:28:18.516Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-08T14:28:18.516Z] ---> Running in 09eee36fa5df [2021-06-08T14:28:18.516Z] Removing intermediate container 09eee36fa5df [2021-06-08T14:28:18.516Z] ---> 664af6e45f30 [2021-06-08T14:28:18.516Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T14:28:18.516Z] ---> Running in 1a51c9c23d0f [2021-06-08T14:28:19.097Z] Removing intermediate container 1a51c9c23d0f [2021-06-08T14:28:19.097Z] ---> 653c4c61679e [2021-06-08T14:28:19.097Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-08T14:28:19.366Z] ---> Running in ccd1818ec7f4 [2021-06-08T14:28:19.628Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-08T14:28:20.575Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-08T14:28:21.154Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-08T14:28:21.154Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-08T14:28:21.154Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-08T14:28:21.154Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-08T14:28:21.417Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-08T14:28:21.417Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-08T14:28:21.679Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-08T14:28:21.942Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-08T14:28:21.942Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-08T14:28:21.942Z] Executing busybox-1.32.1-r6.trigger [2021-06-08T14:28:21.942Z] OK: 154 MiB in 49 packages [2021-06-08T14:28:22.889Z] Removing intermediate container ccd1818ec7f4 [2021-06-08T14:28:22.889Z] ---> f07bce55b9d2 [2021-06-08T14:28:22.889Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-08T14:28:22.889Z] ---> Running in ad1f3a93797f [2021-06-08T14:28:22.889Z] Removing intermediate container ad1f3a93797f [2021-06-08T14:28:22.889Z] ---> 6d9ef81e49e4 [2021-06-08T14:28:22.889Z] Step 9/10 : COPY . . [2021-06-08T14:28:23.462Z] ---> a1279e5a95cc [2021-06-08T14:28:23.462Z] Step 10/10 : RUN go mod download [2021-06-08T14:28:23.462Z] ---> Running in 253569f2f6b9 [2021-06-08T14:28:41.475Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-911 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-06-08T14:28:41.493Z] Running in /w/workspace/device-rest-go/49 [Pipeline] { [Pipeline] checkout [2021-06-08T14:28:41.692Z] The recommended git tool is: git [2021-06-08T14:28:45.464Z] Removing intermediate container 253569f2f6b9 [2021-06-08T14:28:45.465Z] ---> 111c5400b362 [2021-06-08T14:28:45.465Z] Successfully built 111c5400b362 [2021-06-08T14:28:45.465Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:28:45.779Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-08T14:28:45.779Z] . [Pipeline] withDockerContainer [2021-06-08T14:28:45.870Z] prd-centos7-docker-4c-2g-909 does not seem to be running inside a container [2021-06-08T14:28:45.913Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/49 -v /w/workspace/device-rest-go/49:/w/workspace/device-rest-go/49:rw,z -v /w/workspace/device-rest-go/49@tmp:/w/workspace/device-rest-go/49@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-08T14:28:46.435Z] $ docker top 961aaec8c0976aff82e89a5491259aeb37ed26b900c3f97b30af025a37100d88 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T14:28:46.619Z] using credential edgex-jenkins-ssh [2021-06-08T14:28:46.647Z] Cloning the remote Git repository [2021-06-08T14:28:46.830Z] + go version [2021-06-08T14:28:46.831Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-08T14:28:46.841Z] $ docker stop --time=1 961aaec8c0976aff82e89a5491259aeb37ed26b900c3f97b30af025a37100d88 [2021-06-08T14:28:46.712Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-08T14:28:46.820Z] > git init /w/workspace/device-rest-go/49 # timeout=10 [2021-06-08T14:28:46.889Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-08T14:28:46.890Z] > git --version # timeout=10 [2021-06-08T14:28:46.957Z] > git --version # 'git version 2.17.1' [2021-06-08T14:28:46.960Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T14:28:47.097Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T14:28:48.071Z] $ docker rm -f 961aaec8c0976aff82e89a5491259aeb37ed26b900c3f97b30af025a37100d88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:28:48.609Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-08T14:28:48.609Z] . [Pipeline] withDockerContainer [2021-06-08T14:28:48.698Z] prd-centos7-docker-4c-2g-909 does not seem to be running inside a container [2021-06-08T14:28:48.736Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/49 -v /w/workspace/device-rest-go/49:/w/workspace/device-rest-go/49:rw,z -v /w/workspace/device-rest-go/49@tmp:/w/workspace/device-rest-go/49@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-08T14:28:48.754Z] Avoid second fetch [2021-06-08T14:28:48.755Z] Checking out Revision a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 (master) [2021-06-08T14:28:48.726Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-08T14:28:48.746Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T14:28:48.778Z] > git config core.sparsecheckout # timeout=10 [2021-06-08T14:28:48.799Z] > git checkout -f a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 # timeout=10 [2021-06-08T14:28:49.315Z] $ docker top e757e588133b500215a0ec263a8b2f4166a03931e8d203ad1d825173066d2e93 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T14:28:49.711Z] + go mod tidy [Pipeline] sh [2021-06-08T14:28:50.277Z] + make test [2021-06-08T14:28:50.277Z] go mod tidy [2021-06-08T14:28:50.539Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-08T14:28:50.809Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-08T14:28:53.053Z] Commit message: "Merge pull request #110 from siggiskulason/fix-snap-v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-08T14:28:54.430Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-08T14:28:54.952Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-08T14:28:55.298Z] + true [2021-06-08T14:28:55.298Z] + sudo service docker restart [2021-06-08T14:29:08.980Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-08T14:29:08.980Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 54.0% of statements [2021-06-08T14:29:08.980Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T14:29:13.643Z] provisioning config files... [2021-06-08T14:29:13.667Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/49@tmp/config5624909493547871811tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:29:14.040Z] ---> docker-login.sh [2021-06-08T14:29:14.040Z] nexus3.edgexfoundry.org:10001 [2021-06-08T14:29:14.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:29:15.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:29:15.239Z] Configure a credential helper to remove this warning. See [2021-06-08T14:29:15.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:29:15.240Z] [2021-06-08T14:29:15.240Z] Login Succeeded [2021-06-08T14:29:15.240Z] nexus3.edgexfoundry.org:10002 [2021-06-08T14:29:15.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:29:15.630Z] gofmt -l . [2021-06-08T14:29:15.630Z] [ "`gofmt -l .`" = "" ] [2021-06-08T14:29:15.630Z] ./bin/test-go-mod-tidy.sh [2021-06-08T14:29:15.630Z] ./bin/test-attribution-txt.sh [2021-06-08T14:29:15.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:29:15.787Z] Configure a credential helper to remove this warning. See [2021-06-08T14:29:15.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:29:15.787Z] [2021-06-08T14:29:15.787Z] Login Succeeded [2021-06-08T14:29:15.787Z] nexus3.edgexfoundry.org:10003 [2021-06-08T14:29:16.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:29:16.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:29:16.060Z] Configure a credential helper to remove this warning. See [2021-06-08T14:29:16.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:29:16.060Z] [2021-06-08T14:29:16.060Z] Login Succeeded [2021-06-08T14:29:16.060Z] nexus3.edgexfoundry.org:10004 [Pipeline] } [2021-06-08T14:29:16.231Z] $ docker stop --time=1 e757e588133b500215a0ec263a8b2f4166a03931e8d203ad1d825173066d2e93 [2021-06-08T14:29:16.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:29:16.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:29:16.615Z] Configure a credential helper to remove this warning. See [2021-06-08T14:29:16.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:29:16.615Z] [2021-06-08T14:29:16.615Z] Login Succeeded [2021-06-08T14:29:16.615Z] docker.io [2021-06-08T14:29:16.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:29:17.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:29:17.509Z] Configure a credential helper to remove this warning. See [2021-06-08T14:29:17.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:29:17.509Z] [2021-06-08T14:29:17.509Z] Login Succeeded [2021-06-08T14:29:17.509Z] ---> docker-login.sh ends [2021-06-08T14:29:20.733Z] $ docker rm -f e757e588133b500215a0ec263a8b2f4166a03931e8d203ad1d825173066d2e93 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [2021-06-08T14:29:20.958Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-06-08T14:29:21.216Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] echo [2021-06-08T14:29:21.264Z] ========================================================= [2021-06-08T14:29:21.265Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-08T14:29:21.265Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:21.417Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-06-08T14:29:21.612Z] + 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-08T14:29:21.612Z] Sending build context to Docker daemon 92.16kB [2021-06-08T14:29:21.886Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T14:29:21.886Z] Step 2/10 : FROM ${BASE} [Pipeline] sh [2021-06-08T14:29:22.162Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-08T14:29:22.162Z] 595b0fe564bb: Pulling fs layer [2021-06-08T14:29:22.162Z] 7186ed65a4f7: Pulling fs layer [2021-06-08T14:29:22.162Z] 316046926c0a: Pulling fs layer [2021-06-08T14:29:22.162Z] 4ebd0625c992: Pulling fs layer [2021-06-08T14:29:22.162Z] 207e8628e3a3: Pulling fs layer [2021-06-08T14:29:22.162Z] c791037a9be2: Pulling fs layer [2021-06-08T14:29:22.162Z] ffd874e62e21: Pulling fs layer [2021-06-08T14:29:22.162Z] 4ebd0625c992: Waiting [2021-06-08T14:29:22.162Z] 207e8628e3a3: Waiting [2021-06-08T14:29:22.162Z] ffd874e62e21: Waiting [2021-06-08T14:29:22.162Z] c791037a9be2: Waiting [2021-06-08T14:29:22.162Z] 316046926c0a: Verifying Checksum [2021-06-08T14:29:22.162Z] 316046926c0a: Download complete [2021-06-08T14:29:22.162Z] 7186ed65a4f7: Verifying Checksum [2021-06-08T14:29:22.162Z] 7186ed65a4f7: Download complete [2021-06-08T14:29:22.162Z] 207e8628e3a3: Verifying Checksum [2021-06-08T14:29:22.162Z] 207e8628e3a3: Download complete [2021-06-08T14:29:22.162Z] c791037a9be2: Download complete [2021-06-08T14:29:22.162Z] 595b0fe564bb: Verifying Checksum [2021-06-08T14:29:22.162Z] 595b0fe564bb: Download complete [2021-06-08T14:29:22.418Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-08T14:29:22.722Z] + ls -al . [2021-06-08T14:29:22.722Z] total 104 [2021-06-08T14:29:22.722Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 8 14:29 . [2021-06-08T14:29:22.722Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 8 14:27 .. [2021-06-08T14:29:22.722Z] -rw-rw-r--. 1 jenkins jenkins 6792 Jun 8 14:27 Attribution.txt [2021-06-08T14:29:22.722Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 8 14:27 bin [2021-06-08T14:29:22.722Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 8 14:27 cmd [2021-06-08T14:29:22.722Z] -rw-r--r--. 1 jenkins jenkins 8513 Jun 8 14:29 coverage.out [2021-06-08T14:29:22.722Z] -rw-rw-r--. 1 jenkins jenkins 1615 Jun 8 14:27 Dockerfile [2021-06-08T14:29:22.722Z] -rw-rw-r--. 1 jenkins jenkins 1087 Jun 8 14:27 Dockerfile.build [2021-06-08T14:29:22.722Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 8 14:27 .dockerignore [2021-06-08T14:29:22.722Z] drwxrwxr-x. 2 jenkins jenkins 76 Jun 8 14:27 driver [2021-06-08T14:29:22.722Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 8 14:27 .git [2021-06-08T14:29:22.722Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 8 14:27 .github [2021-06-08T14:29:22.722Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 8 14:27 .gitignore [2021-06-08T14:29:22.722Z] -rw-r--r--. 1 jenkins jenkins 285 Jun 8 14:29 go.mod [2021-06-08T14:29:22.722Z] -rw-r--r--. 1 jenkins jenkins 20755 Jun 8 14:28 go.sum [2021-06-08T14:29:22.722Z] -rw-rw-r--. 1 jenkins jenkins 680 Jun 8 14:27 Jenkinsfile [2021-06-08T14:29:22.722Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 8 14:27 LICENSE [2021-06-08T14:29:22.722Z] -rw-rw-r--. 1 jenkins jenkins 996 Jun 8 14:27 Makefile [2021-06-08T14:29:22.722Z] -rw-rw-r--. 1 jenkins jenkins 7667 Jun 8 14:27 README.md [2021-06-08T14:29:22.722Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 8 14:27 snap [2021-06-08T14:29:22.722Z] -rw-rw-r--. 1 jenkins jenkins 12 Jun 8 14:25 VERSION [2021-06-08T14:29:22.722Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 8 14:27 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:23.034Z] + 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=a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 --label arch=amd64 --label version=1.2.2-dev.16 . [2021-06-08T14:29:23.034Z] Sending build context to Docker daemon 101.9kB [2021-06-08T14:29:23.034Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T14:29:23.034Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-08T14:29:23.034Z] ---> 111c5400b362 [2021-06-08T14:29:23.034Z] Step 3/25 : ARG MAKE='make build' [2021-06-08T14:29:23.034Z] ---> Running in 0f39fc08e069 [2021-06-08T14:29:23.149Z] 595b0fe564bb: Pull complete [2021-06-08T14:29:23.297Z] Removing intermediate container 0f39fc08e069 [2021-06-08T14:29:23.298Z] ---> 6e9fa29ae50c [2021-06-08T14:29:23.298Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-08T14:29:23.298Z] ---> Running in be09020953fd [2021-06-08T14:29:23.298Z] Removing intermediate container be09020953fd [2021-06-08T14:29:23.298Z] ---> cef520a0d88a [2021-06-08T14:29:23.298Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-08T14:29:23.298Z] ---> Running in 8682b221e67a [2021-06-08T14:29:23.430Z] 7186ed65a4f7: Pull complete [2021-06-08T14:29:23.563Z] Removing intermediate container 8682b221e67a [2021-06-08T14:29:23.563Z] ---> 90ccdaf5688e [2021-06-08T14:29:23.563Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T14:29:23.563Z] ---> Running in 7694a1ddff36 [2021-06-08T14:29:23.829Z] Removing intermediate container 7694a1ddff36 [2021-06-08T14:29:23.829Z] ---> 5b65068eae84 [2021-06-08T14:29:23.829Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-08T14:29:24.034Z] 316046926c0a: Pull complete [2021-06-08T14:29:24.092Z] ---> Running in c1b0f772569c [2021-06-08T14:29:24.352Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-08T14:29:24.639Z] ffd874e62e21: Verifying Checksum [2021-06-08T14:29:24.639Z] ffd874e62e21: Download complete [2021-06-08T14:29:25.295Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-08T14:29:25.628Z] 4ebd0625c992: Verifying Checksum [2021-06-08T14:29:25.628Z] 4ebd0625c992: Download complete [2021-06-08T14:29:26.297Z] OK: 154 MiB in 49 packages [2021-06-08T14:29:26.557Z] Removing intermediate container c1b0f772569c [2021-06-08T14:29:26.557Z] ---> a11f63db4d21 [2021-06-08T14:29:26.557Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-08T14:29:26.819Z] ---> Running in e09523cc68a8 [2021-06-08T14:29:26.819Z] Removing intermediate container e09523cc68a8 [2021-06-08T14:29:26.819Z] ---> 472640bf67d6 [2021-06-08T14:29:26.819Z] Step 9/25 : COPY . . [2021-06-08T14:29:27.080Z] ---> 7366fa0555aa [2021-06-08T14:29:27.080Z] Step 10/25 : RUN go mod tidy [2021-06-08T14:29:27.080Z] ---> Running in 9bbeb8921785 [2021-06-08T14:29:28.041Z] Removing intermediate container 9bbeb8921785 [2021-06-08T14:29:28.041Z] ---> e5a9329b45a7 [2021-06-08T14:29:28.041Z] Step 11/25 : RUN make update [2021-06-08T14:29:28.041Z] ---> Running in 41aa59c075fd [2021-06-08T14:29:28.304Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-08T14:29:28.565Z] Removing intermediate container 41aa59c075fd [2021-06-08T14:29:28.565Z] ---> 384162fd3940 [2021-06-08T14:29:28.565Z] Step 12/25 : RUN $MAKE [2021-06-08T14:29:28.827Z] ---> Running in 02923ed94c7b [2021-06-08T14:29:29.100Z] go mod tidy [2021-06-08T14:29:29.100Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.16" -o cmd/device-rest ./cmd [2021-06-08T14:29:35.881Z] 4ebd0625c992: Pull complete [2021-06-08T14:29:36.158Z] 207e8628e3a3: Pull complete [2021-06-08T14:29:36.434Z] c791037a9be2: Pull complete [2021-06-08T14:29:40.765Z] ffd874e62e21: Pull complete [2021-06-08T14:29:40.765Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-08T14:29:40.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-08T14:29:40.765Z] ---> cfc18b08335c [2021-06-08T14:29:40.765Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-08T14:29:41.360Z] ---> Running in 9b07c380a96a [2021-06-08T14:29:41.429Z] Removing intermediate container 02923ed94c7b [2021-06-08T14:29:41.429Z] ---> 34c4c2d9f10e [2021-06-08T14:29:41.429Z] Step 13/25 : FROM alpine:3.12 [2021-06-08T14:29:41.636Z] Removing intermediate container 9b07c380a96a [2021-06-08T14:29:41.636Z] ---> 3fe551b38709 [2021-06-08T14:29:41.636Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-08T14:29:41.689Z] 3.12: Pulling from library/alpine [2021-06-08T14:29:41.910Z] ---> Running in c07217f569fe [2021-06-08T14:29:41.951Z] 339de151aab4: Pulling fs layer [2021-06-08T14:29:42.198Z] Removing intermediate container c07217f569fe [2021-06-08T14:29:42.198Z] ---> e75fbb054588 [2021-06-08T14:29:42.198Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-08T14:29:42.215Z] 339de151aab4: Verifying Checksum [2021-06-08T14:29:42.215Z] 339de151aab4: Download complete [2021-06-08T14:29:42.215Z] 339de151aab4: Pull complete [2021-06-08T14:29:42.215Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-08T14:29:42.215Z] Status: Downloaded newer image for alpine:3.12 [2021-06-08T14:29:42.215Z] ---> 13621d1b12d4 [2021-06-08T14:29:42.215Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-08T14:29:42.215Z] ---> Running in 32a8e81e47bd [2021-06-08T14:29:42.472Z] ---> Running in b5bf2dc0c434 [2021-06-08T14:29:42.475Z] Removing intermediate container 32a8e81e47bd [2021-06-08T14:29:42.475Z] ---> e2001edeab53 [2021-06-08T14:29:42.475Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-08T14:29:42.475Z] ---> Running in 795e838bbfac [2021-06-08T14:29:42.475Z] Removing intermediate container 795e838bbfac [2021-06-08T14:29:42.475Z] ---> f8255a3b0b87 [2021-06-08T14:29:42.475Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-08T14:29:42.475Z] ---> Running in 2afb9ced688a [2021-06-08T14:29:42.744Z] Removing intermediate container b5bf2dc0c434 [2021-06-08T14:29:42.745Z] ---> 0e98713f9668 [2021-06-08T14:29:42.745Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T14:29:43.025Z] ---> Running in f48fa12ef84f [2021-06-08T14:29:43.052Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-08T14:29:43.052Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-08T14:29:43.052Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-08T14:29:43.052Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-08T14:29:43.052Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-08T14:29:43.052Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-08T14:29:43.052Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-08T14:29:43.052Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-08T14:29:43.052Z] Executing busybox-1.31.1-r20.trigger [2021-06-08T14:29:43.052Z] OK: 8 MiB in 20 packages [2021-06-08T14:29:43.625Z] Removing intermediate container 2afb9ced688a [2021-06-08T14:29:43.625Z] ---> 501dfe6771ee [2021-06-08T14:29:43.625Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-08T14:29:44.570Z] ---> 9f0f82e2057a [2021-06-08T14:29:44.570Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-08T14:29:44.570Z] ---> 6ab7fca28633 [2021-06-08T14:29:44.570Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-08T14:29:44.831Z] ---> 218550e315bf [2021-06-08T14:29:44.831Z] Step 20/25 : EXPOSE 59986 [2021-06-08T14:29:45.093Z] ---> Running in 01a056781313 [2021-06-08T14:29:45.093Z] Removing intermediate container 01a056781313 [2021-06-08T14:29:45.093Z] ---> a38219d6a4a8 [2021-06-08T14:29:45.093Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-08T14:29:45.355Z] ---> Running in cb74cf3f9884 [2021-06-08T14:29:45.618Z] Removing intermediate container cb74cf3f9884 [2021-06-08T14:29:45.618Z] ---> 4154eb5fb16e [2021-06-08T14:29:45.618Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-08T14:29:45.618Z] ---> Running in 6592ea9fea46 [2021-06-08T14:29:45.689Z] Removing intermediate container f48fa12ef84f [2021-06-08T14:29:45.690Z] ---> ab107e65f7ca [2021-06-08T14:29:45.690Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-08T14:29:45.690Z] ---> Running in c5306bb97e0c [2021-06-08T14:29:45.880Z] Removing intermediate container 6592ea9fea46 [2021-06-08T14:29:45.880Z] ---> 9247fe7a141f [2021-06-08T14:29:45.880Z] Step 23/25 : LABEL arch=amd64 [2021-06-08T14:29:45.880Z] ---> Running in 2e065e8dc59c [2021-06-08T14:29:46.140Z] Removing intermediate container 2e065e8dc59c [2021-06-08T14:29:46.140Z] ---> 9f4b51bd2400 [2021-06-08T14:29:46.140Z] Step 24/25 : LABEL git_sha=a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 [2021-06-08T14:29:46.140Z] ---> Running in 5cebd0ea4a3c [2021-06-08T14:29:46.401Z] Removing intermediate container 5cebd0ea4a3c [2021-06-08T14:29:46.401Z] ---> 8d6e8c101e9d [2021-06-08T14:29:46.401Z] Step 25/25 : LABEL version=1.2.2-dev.16 [2021-06-08T14:29:46.401Z] ---> Running in c11a14be4577 [2021-06-08T14:29:46.401Z] Removing intermediate container c11a14be4577 [2021-06-08T14:29:46.401Z] ---> d99ac64d2e5c [2021-06-08T14:29:46.401Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-08T14:29:46.401Z] Successfully built d99ac64d2e5c [2021-06-08T14:29:46.401Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-06-08T14:29:46.670Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [Pipeline] configFileProvider [2021-06-08T14:29:46.678Z] provisioning config files... [2021-06-08T14:29:46.693Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/49@tmp/config6209906787965096094tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:29:47.025Z] ---> docker-login.sh [2021-06-08T14:29:47.025Z] nexus3.edgexfoundry.org:10001 [2021-06-08T14:29:47.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:29:47.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:29:47.025Z] Configure a credential helper to remove this warning. See [2021-06-08T14:29:47.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:29:47.025Z] [2021-06-08T14:29:47.025Z] Login Succeeded [2021-06-08T14:29:47.025Z] nexus3.edgexfoundry.org:10002 [2021-06-08T14:29:47.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:29:47.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:29:47.287Z] Configure a credential helper to remove this warning. See [2021-06-08T14:29:47.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:29:47.287Z] [2021-06-08T14:29:47.287Z] Login Succeeded [2021-06-08T14:29:47.287Z] nexus3.edgexfoundry.org:10003 [2021-06-08T14:29:47.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:29:47.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:29:47.287Z] Configure a credential helper to remove this warning. See [2021-06-08T14:29:47.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:29:47.287Z] [2021-06-08T14:29:47.287Z] Login Succeeded [2021-06-08T14:29:47.287Z] nexus3.edgexfoundry.org:10004 [2021-06-08T14:29:47.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:29:47.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:29:47.548Z] Configure a credential helper to remove this warning. See [2021-06-08T14:29:47.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:29:47.548Z] [2021-06-08T14:29:47.548Z] Login Succeeded [2021-06-08T14:29:47.548Z] docker.io [2021-06-08T14:29:47.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:29:47.642Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-08T14:29:47.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:29:47.809Z] Configure a credential helper to remove this warning. See [2021-06-08T14:29:47.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:29:47.809Z] [2021-06-08T14:29:47.809Z] Login Succeeded [2021-06-08T14:29:47.809Z] ---> docker-login.sh ends [Pipeline] } [2021-06-08T14:29:47.821Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-08T14:29:47.890Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-06-08T14:29:47.890Z] a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 [2021-06-08T14:29:47.890Z] latest [2021-06-08T14:29:47.890Z] 1.2.2-dev.16 [2021-06-08T14:29:47.890Z] a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54-1.2.2-dev.16 [2021-06-08T14:29:47.890Z] master [2021-06-08T14:29:47.890Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:48.242Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:48.541Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 [2021-06-08T14:29:48.541Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-06-08T14:29:48.541Z] b5cfd2826a00: Preparing [2021-06-08T14:29:48.541Z] 18ddf2d465fe: Preparing [2021-06-08T14:29:48.541Z] 40c8b587de17: Preparing [2021-06-08T14:29:48.541Z] c163477b1f0f: Preparing [2021-06-08T14:29:48.541Z] 32f366d666a5: Preparing [2021-06-08T14:29:48.541Z] 32f366d666a5: Layer already exists [2021-06-08T14:29:48.618Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-08T14:29:48.618Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-08T14:29:48.802Z] 18ddf2d465fe: Pushed [2021-06-08T14:29:48.802Z] b5cfd2826a00: Pushed [2021-06-08T14:29:48.802Z] c163477b1f0f: Pushed [2021-06-08T14:29:49.209Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-08T14:29:49.209Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-08T14:29:49.481Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-08T14:29:49.481Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-08T14:29:49.745Z] 40c8b587de17: Pushed [2021-06-08T14:29:49.752Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-08T14:29:50.005Z] a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54: digest: sha256:f0f0aac37c5937eb8d28982592f13b30362ab9e2c70bf855e7a98dd7712701ba size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:50.314Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:50.617Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-06-08T14:29:50.617Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-06-08T14:29:50.617Z] b5cfd2826a00: Preparing [2021-06-08T14:29:50.617Z] 18ddf2d465fe: Preparing [2021-06-08T14:29:50.617Z] 40c8b587de17: Preparing [2021-06-08T14:29:50.617Z] c163477b1f0f: Preparing [2021-06-08T14:29:50.617Z] 32f366d666a5: Preparing [2021-06-08T14:29:50.617Z] 32f366d666a5: Layer already exists [2021-06-08T14:29:50.617Z] 18ddf2d465fe: Layer already exists [2021-06-08T14:29:50.617Z] b5cfd2826a00: Layer already exists [2021-06-08T14:29:50.617Z] 40c8b587de17: Layer already exists [2021-06-08T14:29:50.617Z] c163477b1f0f: Layer already exists [2021-06-08T14:29:50.617Z] latest: digest: sha256:f0f0aac37c5937eb8d28982592f13b30362ab9e2c70bf855e7a98dd7712701ba size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:50.938Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.16 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:51.205Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-08T14:29:51.205Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-08T14:29:51.205Z] Executing busybox-1.32.1-r6.trigger [2021-06-08T14:29:51.205Z] OK: 144 MiB in 49 packages [2021-06-08T14:29:51.240Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.16 [2021-06-08T14:29:51.240Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-06-08T14:29:51.240Z] b5cfd2826a00: Preparing [2021-06-08T14:29:51.240Z] 18ddf2d465fe: Preparing [2021-06-08T14:29:51.240Z] 40c8b587de17: Preparing [2021-06-08T14:29:51.240Z] c163477b1f0f: Preparing [2021-06-08T14:29:51.240Z] 32f366d666a5: Preparing [2021-06-08T14:29:51.240Z] b5cfd2826a00: Layer already exists [2021-06-08T14:29:51.240Z] c163477b1f0f: Layer already exists [2021-06-08T14:29:51.240Z] 40c8b587de17: Layer already exists [2021-06-08T14:29:51.240Z] 32f366d666a5: Layer already exists [2021-06-08T14:29:51.240Z] 18ddf2d465fe: Layer already exists [2021-06-08T14:29:51.240Z] 1.2.2-dev.16: digest: sha256:f0f0aac37c5937eb8d28982592f13b30362ab9e2c70bf855e7a98dd7712701ba size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:51.544Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54-1.2.2-dev.16 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:51.844Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54-1.2.2-dev.16 [2021-06-08T14:29:51.844Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-06-08T14:29:51.844Z] b5cfd2826a00: Preparing [2021-06-08T14:29:51.844Z] 18ddf2d465fe: Preparing [2021-06-08T14:29:51.844Z] 40c8b587de17: Preparing [2021-06-08T14:29:51.844Z] c163477b1f0f: Preparing [2021-06-08T14:29:51.844Z] 32f366d666a5: Preparing [2021-06-08T14:29:51.844Z] 32f366d666a5: Layer already exists [2021-06-08T14:29:51.844Z] b5cfd2826a00: Layer already exists [2021-06-08T14:29:51.844Z] 40c8b587de17: Layer already exists [2021-06-08T14:29:51.844Z] c163477b1f0f: Layer already exists [2021-06-08T14:29:51.844Z] 18ddf2d465fe: Layer already exists [2021-06-08T14:29:51.844Z] a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54-1.2.2-dev.16: digest: sha256:f0f0aac37c5937eb8d28982592f13b30362ab9e2c70bf855e7a98dd7712701ba size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:52.150Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:52.459Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:master [2021-06-08T14:29:52.459Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-06-08T14:29:52.459Z] b5cfd2826a00: Preparing [2021-06-08T14:29:52.459Z] 18ddf2d465fe: Preparing [2021-06-08T14:29:52.459Z] 40c8b587de17: Preparing [2021-06-08T14:29:52.459Z] c163477b1f0f: Preparing [2021-06-08T14:29:52.459Z] 32f366d666a5: Preparing [2021-06-08T14:29:52.459Z] 40c8b587de17: Layer already exists [2021-06-08T14:29:52.459Z] b5cfd2826a00: Layer already exists [2021-06-08T14:29:52.459Z] 32f366d666a5: Layer already exists [2021-06-08T14:29:52.459Z] 18ddf2d465fe: Layer already exists [2021-06-08T14:29:52.459Z] c163477b1f0f: Layer already exists [2021-06-08T14:29:52.459Z] master: digest: sha256:f0f0aac37c5937eb8d28982592f13b30362ab9e2c70bf855e7a98dd7712701ba size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-08T14:29:52.519Z] ===================================================== [Pipeline] echo [2021-06-08T14:29:52.535Z] taggedImages: [2021-06-08T14:29:52.535Z] - nexus3.edgexfoundry.org:10004/device-rest:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 [2021-06-08T14:29:52.535Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-06-08T14:29:52.535Z] - nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.16 [2021-06-08T14:29:52.535Z] - nexus3.edgexfoundry.org:10004/device-rest:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54-1.2.2-dev.16 [2021-06-08T14:29:52.535Z] - nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [2021-06-08T14:29:52.648Z] Removing intermediate container c5306bb97e0c [2021-06-08T14:29:52.649Z] ---> 375fa30b8c3e [2021-06-08T14:29:52.649Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-08T14:29:52.649Z] ---> Running in 055ffd34b9db Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:29:53.107Z] ---> job-cost.sh [2021-06-08T14:29:53.107Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-UKVO [2021-06-08T14:29:53.252Z] Removing intermediate container 055ffd34b9db [2021-06-08T14:29:53.252Z] ---> 179f8b6a3260 [2021-06-08T14:29:53.252Z] Step 9/10 : COPY . . [2021-06-08T14:29:54.229Z] ---> e574476935af [2021-06-08T14:29:54.229Z] Step 10/10 : RUN go mod download [2021-06-08T14:29:54.229Z] ---> Running in b7425f1ccb64 [2021-06-08T14:30:03.125Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-08T14:30:18.082Z] lf-activate-venv(): INFO: Adding /tmp/venv-UKVO/bin to PATH [2021-06-08T14:30:18.082Z] INFO: No Stack... [2021-06-08T14:30:19.028Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-08T14:30:19.289Z] INFO: Archiving Costs [Pipeline] sh [2021-06-08T14:30:19.587Z] + cat /w/workspace/device-rest-go/49/archives/cost.csv [2021-06-08T14:30:19.587Z] + cut -d, -f6 [Pipeline] lock [2021-06-08T14:30:19.621Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-49-stack-cost] [2021-06-08T14:30:19.630Z] Resource [jenkins-edgexfoundry-device-rest-go-master-49-stack-cost] did not exist. Created. [2021-06-08T14:30:19.631Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-08T14:30:19.953Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-08T14:30:20.025Z] Stashed 1 file(s) [Pipeline] } [2021-06-08T14:30:20.040Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-49-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-08T14:30:21.057Z] Removing intermediate container b7425f1ccb64 [2021-06-08T14:30:21.057Z] ---> b6a0988645c4 [2021-06-08T14:30:21.057Z] Successfully built b6a0988645c4 [2021-06-08T14:30:21.057Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:30:21.398Z] + docker inspect -f . ci-base-image-arm64 [2021-06-08T14:30:21.398Z] . [Pipeline] withDockerContainer [2021-06-08T14:30:21.639Z] prd-ubuntu18.04-docker-arm64-4c-16g-911 does not seem to be running inside a container [2021-06-08T14:30:21.729Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/49 -v /w/workspace/device-rest-go/49:/w/workspace/device-rest-go/49:rw,z -v /w/workspace/device-rest-go/49@tmp:/w/workspace/device-rest-go/49@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-08T14:30:23.304Z] $ docker top 588c20a9ec4b27c17a50dbd3fc109e1fa3b55400b565d80e489e7f9e1b79a780 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T14:30:24.244Z] + go version [2021-06-08T14:30:24.245Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-08T14:30:24.263Z] $ docker stop --time=1 588c20a9ec4b27c17a50dbd3fc109e1fa3b55400b565d80e489e7f9e1b79a780 [2021-06-08T14:30:26.033Z] $ docker rm -f 588c20a9ec4b27c17a50dbd3fc109e1fa3b55400b565d80e489e7f9e1b79a780 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:30:26.744Z] + docker inspect -f . ci-base-image-arm64 [2021-06-08T14:30:26.744Z] . [Pipeline] withDockerContainer [2021-06-08T14:30:26.977Z] prd-ubuntu18.04-docker-arm64-4c-16g-911 does not seem to be running inside a container [2021-06-08T14:30:27.056Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/49 -v /w/workspace/device-rest-go/49:/w/workspace/device-rest-go/49:rw,z -v /w/workspace/device-rest-go/49@tmp:/w/workspace/device-rest-go/49@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-08T14:30:28.528Z] $ docker top 9c97540bc9a3aee892601d5b01d6a16a08365acaff083ae8ea122fbd2af5803e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T14:30:29.500Z] + go mod tidy [Pipeline] sh [2021-06-08T14:30:30.755Z] + make test [2021-06-08T14:30:30.755Z] go mod tidy [2021-06-08T14:30:31.029Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-08T14:30:32.496Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-08T14:31:29.099Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-08T14:31:29.099Z] ok github.com/edgexfoundry/device-rest-go/driver 0.045s coverage: 54.0% of statements [2021-06-08T14:31:29.099Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-08T14:31:51.325Z] gofmt -l . [2021-06-08T14:31:51.325Z] [ "`gofmt -l .`" = "" ] [2021-06-08T14:31:51.325Z] ./bin/test-go-mod-tidy.sh [2021-06-08T14:31:51.325Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-08T14:31:51.339Z] $ docker stop --time=1 9c97540bc9a3aee892601d5b01d6a16a08365acaff083ae8ea122fbd2af5803e [2021-06-08T14:31:53.278Z] $ docker rm -f 9c97540bc9a3aee892601d5b01d6a16a08365acaff083ae8ea122fbd2af5803e [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-08T14:31:54.177Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-08T14:31:54.214Z] Warning: overwriting stash ‘coverage-report’ [2021-06-08T14:31:54.693Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-08T14:31:55.203Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-08T14:31:55.541Z] + ls -al . [2021-06-08T14:31:55.541Z] total 132 [2021-06-08T14:31:55.541Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 14:31 . [2021-06-08T14:31:55.541Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 14:28 .. [2021-06-08T14:31:55.541Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 8 14:28 .dockerignore [2021-06-08T14:31:55.541Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 14:28 .git [2021-06-08T14:31:55.541Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 14:28 .github [2021-06-08T14:31:55.541Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 8 14:28 .gitignore [2021-06-08T14:31:55.541Z] -rw-rw-r-- 1 jenkins jenkins 6792 Jun 8 14:28 Attribution.txt [2021-06-08T14:31:55.541Z] -rw-rw-r-- 1 jenkins jenkins 1615 Jun 8 14:28 Dockerfile [2021-06-08T14:31:55.541Z] -rw-rw-r-- 1 jenkins jenkins 1087 Jun 8 14:28 Dockerfile.build [2021-06-08T14:31:55.541Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 8 14:28 Jenkinsfile [2021-06-08T14:31:55.541Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 14:28 LICENSE [2021-06-08T14:31:55.541Z] -rw-rw-r-- 1 jenkins jenkins 996 Jun 8 14:28 Makefile [2021-06-08T14:31:55.541Z] -rw-rw-r-- 1 jenkins jenkins 7667 Jun 8 14:28 README.md [2021-06-08T14:31:55.541Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 8 14:25 VERSION [2021-06-08T14:31:55.541Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 14:28 bin [2021-06-08T14:31:55.541Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 14:28 cmd [2021-06-08T14:31:55.541Z] -rw-r--r-- 1 jenkins jenkins 8513 Jun 8 14:31 coverage.out [2021-06-08T14:31:55.541Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 14:28 driver [2021-06-08T14:31:55.541Z] -rw-r--r-- 1 jenkins jenkins 285 Jun 8 14:31 go.mod [2021-06-08T14:31:55.541Z] -rw-r--r-- 1 jenkins jenkins 20755 Jun 8 14:30 go.sum [2021-06-08T14:31:55.541Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 14:28 snap [2021-06-08T14:31:55.541Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 8 14:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:31:55.883Z] + 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=a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 --label arch=arm64 --label version=1.2.2-dev.16 . [2021-06-08T14:31:55.883Z] Sending build context to Docker daemon 101.9kB [2021-06-08T14:31:56.158Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T14:31:56.158Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-08T14:31:56.158Z] ---> b6a0988645c4 [2021-06-08T14:31:56.158Z] Step 3/25 : ARG MAKE='make build' [2021-06-08T14:31:56.434Z] ---> Running in b07258a39f80 [2021-06-08T14:31:57.031Z] Removing intermediate container b07258a39f80 [2021-06-08T14:31:57.032Z] ---> 895ab19bed22 [2021-06-08T14:31:57.032Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-08T14:31:57.032Z] ---> Running in 28d3023ccbea [2021-06-08T14:31:57.633Z] Removing intermediate container 28d3023ccbea [2021-06-08T14:31:57.633Z] ---> 80b512decfd3 [2021-06-08T14:31:57.633Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-08T14:31:57.633Z] ---> Running in 240449b94d41 [2021-06-08T14:31:58.231Z] Removing intermediate container 240449b94d41 [2021-06-08T14:31:58.231Z] ---> 6f598bc7664e [2021-06-08T14:31:58.231Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T14:31:58.231Z] ---> Running in aee821caa46d [2021-06-08T14:32:00.304Z] Removing intermediate container aee821caa46d [2021-06-08T14:32:00.304Z] ---> 91dcb5f467fe [2021-06-08T14:32:00.304Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-08T14:32:00.577Z] ---> Running in 9dcd049a82e6 [2021-06-08T14:32:01.582Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-08T14:32:02.575Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-08T14:32:03.570Z] OK: 144 MiB in 49 packages [2021-06-08T14:32:04.573Z] Removing intermediate container 9dcd049a82e6 [2021-06-08T14:32:04.573Z] ---> 1beaf12e0e42 [2021-06-08T14:32:04.573Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-08T14:32:04.873Z] ---> Running in 5f7bc17adefb [2021-06-08T14:32:05.160Z] Removing intermediate container 5f7bc17adefb [2021-06-08T14:32:05.160Z] ---> 66a7112673e9 [2021-06-08T14:32:05.160Z] Step 9/25 : COPY . . [2021-06-08T14:32:06.178Z] ---> 3d24df3f4b9b [2021-06-08T14:32:06.178Z] Step 10/25 : RUN go mod tidy [2021-06-08T14:32:06.178Z] ---> Running in 9a3cee81e271 [2021-06-08T14:32:08.840Z] Removing intermediate container 9a3cee81e271 [2021-06-08T14:32:08.840Z] ---> 54bd2700d5c9 [2021-06-08T14:32:08.840Z] Step 11/25 : RUN make update [2021-06-08T14:32:09.115Z] ---> Running in ee92b53652e2 [2021-06-08T14:32:10.109Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-08T14:32:11.558Z] Removing intermediate container ee92b53652e2 [2021-06-08T14:32:11.558Z] ---> a16e58a45a16 [2021-06-08T14:32:11.558Z] Step 12/25 : RUN $MAKE [2021-06-08T14:32:11.558Z] ---> Running in e8e0acaaa879 [2021-06-08T14:32:12.540Z] go mod tidy [2021-06-08T14:32:13.141Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.16" -o cmd/device-rest ./cmd [2021-06-08T14:32:52.152Z] Removing intermediate container e8e0acaaa879 [2021-06-08T14:32:52.152Z] ---> 0a13dfb09883 [2021-06-08T14:32:52.152Z] Step 13/25 : FROM alpine:3.12 [2021-06-08T14:32:52.152Z] 3.12: Pulling from library/alpine [2021-06-08T14:32:52.152Z] d2f70382dc9a: Pulling fs layer [2021-06-08T14:32:52.152Z] d2f70382dc9a: Verifying Checksum [2021-06-08T14:32:52.152Z] d2f70382dc9a: Download complete [2021-06-08T14:32:52.152Z] d2f70382dc9a: Pull complete [2021-06-08T14:32:52.152Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-08T14:32:52.152Z] Status: Downloaded newer image for alpine:3.12 [2021-06-08T14:32:52.152Z] ---> 9852663dfa18 [2021-06-08T14:32:52.152Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-08T14:32:52.152Z] ---> Running in d1218ec184a0 [2021-06-08T14:32:52.152Z] Removing intermediate container d1218ec184a0 [2021-06-08T14:32:52.152Z] ---> a374fb4c263d [2021-06-08T14:32:52.152Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-08T14:32:52.152Z] ---> Running in 591c18b8f1b8 [2021-06-08T14:32:52.152Z] Removing intermediate container 591c18b8f1b8 [2021-06-08T14:32:52.152Z] ---> 710a9c39f325 [2021-06-08T14:32:52.152Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-08T14:32:52.152Z] ---> Running in 82c92559019c [2021-06-08T14:32:52.152Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-08T14:32:52.152Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-08T14:32:52.152Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-08T14:32:52.152Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-08T14:32:52.152Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-08T14:32:52.153Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-08T14:32:52.153Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-08T14:32:52.153Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-08T14:32:52.153Z] Executing busybox-1.31.1-r20.trigger [2021-06-08T14:32:52.153Z] OK: 8 MiB in 20 packages [2021-06-08T14:32:53.173Z] Removing intermediate container 82c92559019c [2021-06-08T14:32:53.173Z] ---> 1b87fd43a98e [2021-06-08T14:32:53.173Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-08T14:32:54.610Z] ---> e452c3fff6aa [2021-06-08T14:32:54.610Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-08T14:32:55.207Z] ---> a5d7dace367f [2021-06-08T14:32:55.207Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-08T14:32:56.186Z] ---> b2cdb50c8de0 [2021-06-08T14:32:56.186Z] Step 20/25 : EXPOSE 59986 [2021-06-08T14:32:56.186Z] ---> Running in b33e805a3af0 [2021-06-08T14:32:56.780Z] Removing intermediate container b33e805a3af0 [2021-06-08T14:32:56.780Z] ---> 0c648a2fd9ce [2021-06-08T14:32:56.780Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-08T14:32:56.780Z] ---> Running in e07a6fbed9b0 [2021-06-08T14:32:57.376Z] Removing intermediate container e07a6fbed9b0 [2021-06-08T14:32:57.377Z] ---> 47c1d43edb1c [2021-06-08T14:32:57.377Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-08T14:32:57.377Z] ---> Running in 592a464bb425 [2021-06-08T14:32:57.973Z] Removing intermediate container 592a464bb425 [2021-06-08T14:32:57.973Z] ---> f5860c66d28e [2021-06-08T14:32:57.973Z] Step 23/25 : LABEL arch=arm64 [2021-06-08T14:32:57.973Z] ---> Running in ebf5f7033409 [2021-06-08T14:32:58.572Z] Removing intermediate container ebf5f7033409 [2021-06-08T14:32:58.572Z] ---> 578eaa8b4397 [2021-06-08T14:32:58.572Z] Step 24/25 : LABEL git_sha=a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 [2021-06-08T14:32:58.572Z] ---> Running in b6980b628b6a [2021-06-08T14:32:59.168Z] Removing intermediate container b6980b628b6a [2021-06-08T14:32:59.169Z] ---> 7c7774b10548 [2021-06-08T14:32:59.169Z] Step 25/25 : LABEL version=1.2.2-dev.16 [2021-06-08T14:32:59.169Z] ---> Running in 59265899a3fe [2021-06-08T14:32:59.762Z] Removing intermediate container 59265899a3fe [2021-06-08T14:32:59.762Z] ---> 465e36aa0384 [2021-06-08T14:32:59.762Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-08T14:32:59.762Z] Successfully built 465e36aa0384 [2021-06-08T14:32:59.762Z] 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-08T14:33:00.015Z] provisioning config files... [2021-06-08T14:33:00.057Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/49@tmp/config4958052108505955159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:33:00.420Z] ---> docker-login.sh [2021-06-08T14:33:00.420Z] nexus3.edgexfoundry.org:10001 [2021-06-08T14:33:00.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:33:00.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:33:00.694Z] Configure a credential helper to remove this warning. See [2021-06-08T14:33:00.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:33:00.694Z] [2021-06-08T14:33:00.694Z] Login Succeeded [2021-06-08T14:33:00.694Z] nexus3.edgexfoundry.org:10002 [2021-06-08T14:33:01.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:33:01.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:33:01.292Z] Configure a credential helper to remove this warning. See [2021-06-08T14:33:01.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:33:01.292Z] [2021-06-08T14:33:01.292Z] Login Succeeded [2021-06-08T14:33:01.292Z] nexus3.edgexfoundry.org:10003 [2021-06-08T14:33:01.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:33:01.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:33:01.888Z] Configure a credential helper to remove this warning. See [2021-06-08T14:33:01.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:33:01.888Z] [2021-06-08T14:33:01.888Z] Login Succeeded [2021-06-08T14:33:01.888Z] nexus3.edgexfoundry.org:10004 [2021-06-08T14:33:02.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:33:02.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:33:02.484Z] Configure a credential helper to remove this warning. See [2021-06-08T14:33:02.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:33:02.484Z] [2021-06-08T14:33:02.484Z] Login Succeeded [2021-06-08T14:33:02.484Z] docker.io [2021-06-08T14:33:02.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:33:03.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:33:03.352Z] Configure a credential helper to remove this warning. See [2021-06-08T14:33:03.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:33:03.352Z] [2021-06-08T14:33:03.352Z] Login Succeeded [2021-06-08T14:33:03.352Z] ---> docker-login.sh ends [Pipeline] } [2021-06-08T14:33:03.368Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-08T14:33:03.456Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-06-08T14:33:03.456Z] a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 [2021-06-08T14:33:03.456Z] latest [2021-06-08T14:33:03.456Z] 1.2.2-dev.16 [2021-06-08T14:33:03.456Z] a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54-1.2.2-dev.16 [2021-06-08T14:33:03.456Z] master [2021-06-08T14:33:03.456Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:33:03.853Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:33:04.205Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 [2021-06-08T14:33:04.205Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-06-08T14:33:04.205Z] d640df09f22b: Preparing [2021-06-08T14:33:04.205Z] 86b5815abe07: Preparing [2021-06-08T14:33:04.205Z] 00265a1ca081: Preparing [2021-06-08T14:33:04.205Z] 9b7336ab76b8: Preparing [2021-06-08T14:33:04.205Z] 3fbe34a1663b: Preparing [2021-06-08T14:33:04.492Z] 3fbe34a1663b: Layer already exists [2021-06-08T14:33:04.492Z] d640df09f22b: Pushed [2021-06-08T14:33:04.492Z] 86b5815abe07: Pushed [2021-06-08T14:33:05.085Z] 9b7336ab76b8: Pushed [2021-06-08T14:33:07.695Z] 00265a1ca081: Pushed [2021-06-08T14:33:07.695Z] a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54: digest: sha256:680b0b44837511136949b251129c1c70c4c2331295dfd2d8c9ec6f0ff8f9c501 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:33:08.062Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:33:08.401Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-06-08T14:33:08.402Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-06-08T14:33:08.402Z] d640df09f22b: Preparing [2021-06-08T14:33:08.402Z] 86b5815abe07: Preparing [2021-06-08T14:33:08.402Z] 00265a1ca081: Preparing [2021-06-08T14:33:08.402Z] 9b7336ab76b8: Preparing [2021-06-08T14:33:08.402Z] 3fbe34a1663b: Preparing [2021-06-08T14:33:08.674Z] 86b5815abe07: Layer already exists [2021-06-08T14:33:08.674Z] d640df09f22b: Layer already exists [2021-06-08T14:33:08.674Z] 3fbe34a1663b: Layer already exists [2021-06-08T14:33:08.674Z] 00265a1ca081: Layer already exists [2021-06-08T14:33:08.674Z] 9b7336ab76b8: Layer already exists [2021-06-08T14:33:08.674Z] latest: digest: sha256:680b0b44837511136949b251129c1c70c4c2331295dfd2d8c9ec6f0ff8f9c501 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:33:09.020Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.16 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:33:09.359Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.16 [2021-06-08T14:33:09.360Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-06-08T14:33:09.360Z] d640df09f22b: Preparing [2021-06-08T14:33:09.360Z] 86b5815abe07: Preparing [2021-06-08T14:33:09.360Z] 00265a1ca081: Preparing [2021-06-08T14:33:09.360Z] 9b7336ab76b8: Preparing [2021-06-08T14:33:09.360Z] 3fbe34a1663b: Preparing [2021-06-08T14:33:09.360Z] 9b7336ab76b8: Layer already exists [2021-06-08T14:33:09.629Z] 00265a1ca081: Layer already exists [2021-06-08T14:33:09.629Z] d640df09f22b: Layer already exists [2021-06-08T14:33:09.629Z] 3fbe34a1663b: Layer already exists [2021-06-08T14:33:09.629Z] 86b5815abe07: Layer already exists [2021-06-08T14:33:09.629Z] 1.2.2-dev.16: digest: sha256:680b0b44837511136949b251129c1c70c4c2331295dfd2d8c9ec6f0ff8f9c501 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:33:09.974Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54-1.2.2-dev.16 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:33:10.313Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54-1.2.2-dev.16 [2021-06-08T14:33:10.313Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-06-08T14:33:10.313Z] d640df09f22b: Preparing [2021-06-08T14:33:10.313Z] 86b5815abe07: Preparing [2021-06-08T14:33:10.313Z] 00265a1ca081: Preparing [2021-06-08T14:33:10.313Z] 9b7336ab76b8: Preparing [2021-06-08T14:33:10.313Z] 3fbe34a1663b: Preparing [2021-06-08T14:33:10.584Z] 9b7336ab76b8: Layer already exists [2021-06-08T14:33:10.584Z] d640df09f22b: Layer already exists [2021-06-08T14:33:10.584Z] 00265a1ca081: Layer already exists [2021-06-08T14:33:10.584Z] 3fbe34a1663b: Layer already exists [2021-06-08T14:33:10.584Z] 86b5815abe07: Layer already exists [2021-06-08T14:33:10.584Z] a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54-1.2.2-dev.16: digest: sha256:680b0b44837511136949b251129c1c70c4c2331295dfd2d8c9ec6f0ff8f9c501 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:33:10.934Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:33:11.276Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:master [2021-06-08T14:33:11.276Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-06-08T14:33:11.276Z] d640df09f22b: Preparing [2021-06-08T14:33:11.276Z] 86b5815abe07: Preparing [2021-06-08T14:33:11.276Z] 00265a1ca081: Preparing [2021-06-08T14:33:11.276Z] 9b7336ab76b8: Preparing [2021-06-08T14:33:11.276Z] 3fbe34a1663b: Preparing [2021-06-08T14:33:11.550Z] 9b7336ab76b8: Layer already exists [2021-06-08T14:33:11.550Z] d640df09f22b: Layer already exists [2021-06-08T14:33:11.550Z] 3fbe34a1663b: Layer already exists [2021-06-08T14:33:11.550Z] 00265a1ca081: Layer already exists [2021-06-08T14:33:11.550Z] 86b5815abe07: Layer already exists [2021-06-08T14:33:11.550Z] master: digest: sha256:680b0b44837511136949b251129c1c70c4c2331295dfd2d8c9ec6f0ff8f9c501 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-08T14:33:11.612Z] ===================================================== [Pipeline] echo [2021-06-08T14:33:11.627Z] taggedImages: [2021-06-08T14:33:11.628Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 [2021-06-08T14:33:11.628Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-06-08T14:33:11.628Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.16 [2021-06-08T14:33:11.628Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54-1.2.2-dev.16 [2021-06-08T14:33:11.628Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:33:12.148Z] ---> job-cost.sh [2021-06-08T14:33:12.148Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-o9Tb [2021-06-08T14:33:51.130Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-08T14:35:12.897Z] lf-activate-venv(): INFO: Adding /tmp/venv-o9Tb/bin to PATH [2021-06-08T14:35:12.897Z] INFO: No Stack... [2021-06-08T14:35:12.897Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-08T14:35:12.897Z] INFO: Archiving Costs [Pipeline] sh [2021-06-08T14:35:13.271Z] + + catcut /w/workspace/device-rest-go/49/archives/cost.csv -d, [2021-06-08T14:35:13.271Z] -f6 [Pipeline] lock [2021-06-08T14:35:13.349Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-49-stack-cost] [2021-06-08T14:35:13.357Z] Resource [jenkins-edgexfoundry-device-rest-go-master-49-stack-cost] did not exist. Created. [2021-06-08T14:35:13.357Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-08T14:35:13.738Z] /w/workspace/device-rest-go/49@tmp/durable-b94891cd/script.sh: 1: /w/workspace/device-rest-go/49@tmp/durable-b94891cd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-08T14:35:14.091Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-08T14:35:14.126Z] Warning: overwriting stash ‘stack-cost’ [2021-06-08T14:35:14.334Z] Stashed 1 file(s) [Pipeline] } [2021-06-08T14:35:14.349Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-49-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-08T14:35:14.873Z] provisioning config files... [2021-06-08T14:35:14.882Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7142671721707671623tmp [Pipeline] { [Pipeline] sh [2021-06-08T14:35:15.203Z] + set +x [2021-06-08T14:35:15.203Z] + bash -s -- [2021-06-08T14:35:15.203Z] + curl -s https://codecov.io/bash [2021-06-08T14:35:15.203Z] [2021-06-08T14:35:15.203Z] _____ _ [2021-06-08T14:35:15.203Z] / ____| | | [2021-06-08T14:35:15.203Z] | | ___ __| | ___ ___ _____ __ [2021-06-08T14:35:15.203Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-08T14:35:15.203Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-08T14:35:15.203Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-08T14:35:15.203Z] Bash-1.0.3 [2021-06-08T14:35:15.203Z] [2021-06-08T14:35:15.203Z] [2021-06-08T14:35:15.203Z] ==> git version 2.24.4 found [2021-06-08T14:35:15.203Z] ==> 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-08T14:35:15.203Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-08T14:35:15.203Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-08T14:35:15.203Z] ==> Jenkins CI detected. [2021-06-08T14:35:15.203Z] project root: . [2021-06-08T14:35:15.203Z] --> token set from env [2021-06-08T14:35:15.203Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-08T14:35:15.203Z] ==> Running gcov in . (disable via -X gcov) [2021-06-08T14:35:15.203Z] ==> Python coveragepy not found [2021-06-08T14:35:15.203Z] ==> Searching for coverage reports in: [2021-06-08T14:35:15.203Z] + . [2021-06-08T14:35:15.203Z] -> Found 1 reports [2021-06-08T14:35:15.203Z] ==> Detecting git/mercurial file structure [2021-06-08T14:35:15.203Z] ==> Reading reports [2021-06-08T14:35:15.203Z] + ./coverage.out bytes=8513 [2021-06-08T14:35:15.466Z] ==> Appending adjustments [2021-06-08T14:35:15.466Z] https://docs.codecov.io/docs/fixing-reports [2021-06-08T14:35:15.466Z] + Found adjustments [2021-06-08T14:35:15.466Z] ==> Gzipping contents [2021-06-08T14:35:15.466Z] 4.0K /tmp/codecov.dGdcif.gz [2021-06-08T14:35:15.466Z] ==> Uploading reports [2021-06-08T14:35:15.466Z] url: https://codecov.io [2021-06-08T14:35:15.466Z] query: branch=master&commit=a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F49%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-08T14:35:15.466Z] -> Pinging Codecov [2021-06-08T14:35:15.466Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F49%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-08T14:35:16.038Z] -> Uploading to [2021-06-08T14:35:16.038Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-08/4E5D53B4F1F92C436F7061BF334D961C/a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54/9410fe2f-674d-4e46-91cd-a9d67ccddc58.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210608%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210608T143515Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b90d6254e4407eda33d38a42248b62862d6ccb9dc0cd9ebee9c1c348a0d5851c [2021-06-08T14:35:16.038Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-08T14:35:16.038Z] Dload Upload Total Spent Left Speed [2021-06-08T14:35:16.300Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 5142 --:--:-- --:--:-- --:--:-- 5146 [2021-06-08T14:35:16.300Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 [Pipeline] } [2021-06-08T14:35:16.309Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-06-08T14:35:16.621Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-06-08T14:35:16.644Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:35:16.953Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-08T14:35:16.953Z] [2021-06-08T14:35:16.953Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:35:17.282Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-08T14:35:17.282Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-06-08T14:35:17.282Z] 188c0c94c7c5: Pulling fs layer [2021-06-08T14:35:17.282Z] 0ef7d3d256c8: Pulling fs layer [2021-06-08T14:35:17.282Z] de9db76c5a1d: Pulling fs layer [2021-06-08T14:35:17.282Z] 0eba1c9be4d2: Pulling fs layer [2021-06-08T14:35:17.282Z] 0d57e429df01: Pulling fs layer [2021-06-08T14:35:17.282Z] 4e4be7b47b0d: Pulling fs layer [2021-06-08T14:35:17.282Z] e1f770b5df2f: Pulling fs layer [2021-06-08T14:35:17.282Z] 85a0685a4137: Pulling fs layer [2021-06-08T14:35:17.282Z] 0d57e429df01: Waiting [2021-06-08T14:35:17.282Z] 4e4be7b47b0d: Waiting [2021-06-08T14:35:17.282Z] e1f770b5df2f: Waiting [2021-06-08T14:35:17.282Z] 85a0685a4137: Waiting [2021-06-08T14:35:17.282Z] 0eba1c9be4d2: Waiting [2021-06-08T14:35:17.282Z] de9db76c5a1d: Verifying Checksum [2021-06-08T14:35:17.282Z] de9db76c5a1d: Download complete [2021-06-08T14:35:17.282Z] 0ef7d3d256c8: Verifying Checksum [2021-06-08T14:35:17.282Z] 0ef7d3d256c8: Download complete [2021-06-08T14:35:17.282Z] 0d57e429df01: Verifying Checksum [2021-06-08T14:35:17.282Z] 0d57e429df01: Download complete [2021-06-08T14:35:17.282Z] 4e4be7b47b0d: Verifying Checksum [2021-06-08T14:35:17.282Z] 4e4be7b47b0d: Download complete [2021-06-08T14:35:17.282Z] 188c0c94c7c5: Verifying Checksum [2021-06-08T14:35:17.282Z] 188c0c94c7c5: Download complete [2021-06-08T14:35:17.544Z] 188c0c94c7c5: Pull complete [2021-06-08T14:35:17.812Z] 0ef7d3d256c8: Pull complete [2021-06-08T14:35:17.812Z] de9db76c5a1d: Pull complete [2021-06-08T14:35:18.074Z] e1f770b5df2f: Verifying Checksum [2021-06-08T14:35:18.074Z] e1f770b5df2f: Download complete [2021-06-08T14:35:20.006Z] 0eba1c9be4d2: Verifying Checksum [2021-06-08T14:35:20.006Z] 0eba1c9be4d2: Download complete [2021-06-08T14:35:20.273Z] 85a0685a4137: Verifying Checksum [2021-06-08T14:35:20.273Z] 85a0685a4137: Download complete [2021-06-08T14:35:22.856Z] 0eba1c9be4d2: Pull complete [2021-06-08T14:35:23.123Z] 0d57e429df01: Pull complete [2021-06-08T14:35:23.123Z] 4e4be7b47b0d: Pull complete [2021-06-08T14:35:23.714Z] e1f770b5df2f: Pull complete [2021-06-08T14:35:27.035Z] 85a0685a4137: Pull complete [2021-06-08T14:35:27.035Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-06-08T14:35:27.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-08T14:35:27.035Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-06-08T14:35:27.113Z] prd-centos7-docker-4c-2g-905 does not seem to be running inside a container [2021-06-08T14:35:27.150Z] $ 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-08T14:35:31.391Z] $ docker top 7769e464e0e841c7de6d48e086d69207b3c4c26bee4a77adf66e0ec7de0a8afa -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-08T14:35:31.498Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-06-08T14:35:31.790Z] + set -o pipefail [2021-06-08T14:35:31.790Z] + snyk monitor '--org=edgex-jenkins' [2021-06-08T14:35:39.956Z] [2021-06-08T14:35:39.956Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2021-06-08T14:35:39.956Z] [2021-06-08T14:35:39.956Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/6c87a580-e5b6-43b7-9a24-aae877f5c6b0 [2021-06-08T14:35:39.956Z] [2021-06-08T14:35:39.956Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-06-08T14:35:39.956Z] [2021-06-08T14:35:39.956Z] [Pipeline] } [2021-06-08T14:35:39.964Z] $ docker stop --time=1 7769e464e0e841c7de6d48e086d69207b3c4c26bee4a77adf66e0ec7de0a8afa [2021-06-08T14:35:42.898Z] $ docker rm -f 7769e464e0e841c7de6d48e086d69207b3c4c26bee4a77adf66e0ec7de0a8afa [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-08T14:35:44.043Z] + git log --format=format:%s -1 a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:35:44.356Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T14:35:44.356Z] . [Pipeline] withDockerContainer [2021-06-08T14:35:44.429Z] prd-centos7-docker-4c-2g-905 does not seem to be running inside a container [2021-06-08T14:35:44.462Z] $ 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-08T14:35:44.796Z] $ docker top d1acf7369c1373ef04eaa76c7c2f8cfc0f41ab50fa7e313ad05f6b3da4fcae15 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-08T14:35:44.939Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-08T14:35:44.939Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-08T14:35:45.051Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-08T14:35:45.048Z] $ docker exec d1acf7369c1373ef04eaa76c7c2f8cfc0f41ab50fa7e313ad05f6b3da4fcae15 ssh-agent [2021-06-08T14:35:45.169Z] SSH_AUTH_SOCK=/tmp/ssh-UDgpZk71Fkz5/agent.14 [2021-06-08T14:35:45.169Z] SSH_AGENT_PID=21 [2021-06-08T14:35:45.175Z] Running ssh-add (command line suppressed) [2021-06-08T14:35:45.272Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4520627807581354793.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4520627807581354793.key) [2021-06-08T14:35:45.292Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-08T14:35:45.597Z] + git semver tag [2021-06-08T14:35:45.597Z] # -> Open(): unable to determine branch for HEAD [2021-06-08T14:35:45.597Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-06-08T14:35:45.597Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-06-08T14:35:45.597Z] # $SEMVER_REMOTE_NAME = origin [2021-06-08T14:35:45.597Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-08T14:35:45.597Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-08T14:35:45.597Z] # $SEMVER_BRANCH = master [2021-06-08T14:35:45.597Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-06-08T14:35:45.597Z] # a5f0fcb7ff2b07fa983689fa49e62ef44d5b8a54 HEAD [2021-06-08T14:35:45.597Z] # -> Force: false [2021-06-08T14:35:45.597Z] # 19466a2ce71e3c642007e9c2803be9bbf2666ecb refs/tags/v1.2.2-dev.16 [Pipeline] } [2021-06-08T14:35:45.603Z] $ docker exec --env ******** --env ******** d1acf7369c1373ef04eaa76c7c2f8cfc0f41ab50fa7e313ad05f6b3da4fcae15 ssh-agent -k [2021-06-08T14:35:45.703Z] unset SSH_AUTH_SOCK; [2021-06-08T14:35:45.704Z] unset SSH_AGENT_PID; [2021-06-08T14:35:45.704Z] echo Agent pid 21 killed; [2021-06-08T14:35:45.721Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-08T14:35:46.066Z] + git semver [Pipeline] } [2021-06-08T14:35:46.076Z] $ docker stop --time=1 d1acf7369c1373ef04eaa76c7c2f8cfc0f41ab50fa7e313ad05f6b3da4fcae15 [2021-06-08T14:35:47.249Z] $ docker rm -f d1acf7369c1373ef04eaa76c7c2f8cfc0f41ab50fa7e313ad05f6b3da4fcae15 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:35:47.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-08T14:35:47.715Z] [2021-06-08T14:35:47.715Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:35:48.033Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-08T14:35:48.033Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-06-08T14:35:48.033Z] ab5ef0e58194: Pulling fs layer [2021-06-08T14:35:48.033Z] 9712f1f96733: Pulling fs layer [2021-06-08T14:35:48.033Z] 63f879dbbcfc: Pulling fs layer [2021-06-08T14:35:48.033Z] 0d9ebad4ef96: Pulling fs layer [2021-06-08T14:35:48.033Z] e9a5061849ea: Pulling fs layer [2021-06-08T14:35:48.033Z] d747dcd14b5f: Pulling fs layer [2021-06-08T14:35:48.033Z] 2de7ff778b66: Pulling fs layer [2021-06-08T14:35:48.033Z] 0d9ebad4ef96: Waiting [2021-06-08T14:35:48.033Z] e9a5061849ea: Waiting [2021-06-08T14:35:48.033Z] d747dcd14b5f: Waiting [2021-06-08T14:35:48.033Z] 2de7ff778b66: Waiting [2021-06-08T14:35:48.033Z] 9712f1f96733: Verifying Checksum [2021-06-08T14:35:48.033Z] 9712f1f96733: Download complete [2021-06-08T14:35:49.425Z] 63f879dbbcfc: Verifying Checksum [2021-06-08T14:35:49.425Z] 63f879dbbcfc: Download complete [2021-06-08T14:35:49.425Z] e9a5061849ea: Verifying Checksum [2021-06-08T14:35:49.425Z] e9a5061849ea: Download complete [2021-06-08T14:35:49.425Z] d747dcd14b5f: Verifying Checksum [2021-06-08T14:35:49.425Z] d747dcd14b5f: Download complete [2021-06-08T14:35:49.997Z] 2de7ff778b66: Verifying Checksum [2021-06-08T14:35:49.997Z] 2de7ff778b66: Download complete [2021-06-08T14:35:49.997Z] 0d9ebad4ef96: Verifying Checksum [2021-06-08T14:35:49.997Z] 0d9ebad4ef96: Download complete [2021-06-08T14:35:50.258Z] ab5ef0e58194: Verifying Checksum [2021-06-08T14:35:50.258Z] ab5ef0e58194: Download complete [2021-06-08T14:35:52.833Z] ab5ef0e58194: Pull complete [2021-06-08T14:35:53.102Z] 9712f1f96733: Pull complete [2021-06-08T14:35:53.681Z] 63f879dbbcfc: Pull complete [2021-06-08T14:35:57.054Z] 0d9ebad4ef96: Pull complete [2021-06-08T14:35:57.054Z] e9a5061849ea: Pull complete [2021-06-08T14:35:57.054Z] d747dcd14b5f: Pull complete [2021-06-08T14:35:58.007Z] 2de7ff778b66: Pull complete [2021-06-08T14:35:58.008Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-06-08T14:35:58.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-08T14:35:58.008Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-06-08T14:35:58.089Z] prd-centos7-docker-4c-2g-905 does not seem to be running inside a container [2021-06-08T14:35:58.125Z] $ 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-08T14:36:04.657Z] $ docker top 58e8a9d7b5fa7463aa6c7dab6f80f8aae0bd58b5d8258a8bba4cae2594bdf579 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-06-08T14:36:04.771Z] provisioning config files... [2021-06-08T14:36:04.782Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5730515448767346916tmp [2021-06-08T14:36:04.811Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4238940465331854340tmp [2021-06-08T14:36:04.832Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config6454499646850352322tmp [Pipeline] { [Pipeline] echo [2021-06-08T14:36:04.856Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:36:05.168Z] ---> sigul-configuration.sh [2021-06-08T14:36:05.169Z] gpg: directory `/root/.gnupg' created [2021-06-08T14:36:05.169Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-06-08T14:36:05.169Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-06-08T14:36:05.169Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-06-08T14:36:05.169Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-06-08T14:36:05.169Z] gpg: CAST5 encrypted data [2021-06-08T14:36:05.169Z] gpg: encrypted with 1 passphrase [2021-06-08T14:36:05.169Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-06-08T14:36:05.507Z] + mkdir /home/jenkins [2021-06-08T14:36:05.507Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-06-08T14:36:05.807Z] + 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-08T14:36:05.818Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:36:06.122Z] ---> sigul-install.sh [2021-06-08T14:36:10.384Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-06-08T14:36:10.684Z] + git tag --list [2021-06-08T14:36:10.684Z] v1.0.0 [2021-06-08T14:36:10.684Z] v1.1.0 [2021-06-08T14:36:10.684Z] v1.1.1 [2021-06-08T14:36:10.684Z] v1.1.2 [2021-06-08T14:36:10.684Z] v1.2.0 [2021-06-08T14:36:10.684Z] v1.2.1 [2021-06-08T14:36:10.684Z] v1.2.1-dev.1 [2021-06-08T14:36:10.684Z] v1.2.1-dev.2 [2021-06-08T14:36:10.684Z] v1.2.1-dev.3 [2021-06-08T14:36:10.684Z] v1.2.1-dev.4 [2021-06-08T14:36:10.684Z] v1.2.2-dev.1 [2021-06-08T14:36:10.684Z] v1.2.2-dev.10 [2021-06-08T14:36:10.684Z] v1.2.2-dev.11 [2021-06-08T14:36:10.684Z] v1.2.2-dev.12 [2021-06-08T14:36:10.684Z] v1.2.2-dev.13 [2021-06-08T14:36:10.684Z] v1.2.2-dev.14 [2021-06-08T14:36:10.684Z] v1.2.2-dev.15 [2021-06-08T14:36:10.684Z] v1.2.2-dev.16 [2021-06-08T14:36:10.684Z] v1.2.2-dev.2 [2021-06-08T14:36:10.684Z] v1.2.2-dev.3 [2021-06-08T14:36:10.684Z] v1.2.2-dev.4 [2021-06-08T14:36:10.684Z] v1.2.2-dev.5 [2021-06-08T14:36:10.684Z] v1.2.2-dev.6 [2021-06-08T14:36:10.684Z] v1.2.2-dev.7 [2021-06-08T14:36:10.684Z] v1.2.2-dev.8 [2021-06-08T14:36:10.684Z] v1.2.2-dev.9 [Pipeline] sh [2021-06-08T14:36:10.980Z] + lftools sign git-tag v1.2.2-dev.16 [2021-06-08T14:36:11.556Z] Signing Git tag with Sigul... [2021-06-08T14:36:11.557Z] Signing v1.2.2-dev.16 [Pipeline] echo [2021-06-08T14:36:12.142Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:36:12.440Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-06-08T14:36:12.449Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-06-08T14:36:12.475Z] $ docker stop --time=1 58e8a9d7b5fa7463aa6c7dab6f80f8aae0bd58b5d8258a8bba4cae2594bdf579 [2021-06-08T14:36:14.490Z] $ docker rm -f 58e8a9d7b5fa7463aa6c7dab6f80f8aae0bd58b5d8258a8bba4cae2594bdf579 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:36:15.210Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T14:36:15.210Z] . [Pipeline] withDockerContainer [2021-06-08T14:36:15.286Z] prd-centos7-docker-4c-2g-905 does not seem to be running inside a container [2021-06-08T14:36:15.324Z] $ 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-08T14:36:15.711Z] $ docker top 20ec2def4e710a3b54a0726bd9b97c78a945602986bb3140b00452d048c597e6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-08T14:36:15.992Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-08T14:36:15.992Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-08T14:36:16.254Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-08T14:36:16.263Z] $ docker exec 20ec2def4e710a3b54a0726bd9b97c78a945602986bb3140b00452d048c597e6 ssh-agent [2021-06-08T14:36:16.444Z] SSH_AUTH_SOCK=/tmp/ssh-9mOEkNvVvfwS/agent.13 [2021-06-08T14:36:16.444Z] SSH_AGENT_PID=19 [2021-06-08T14:36:16.450Z] Running ssh-add (command line suppressed) [2021-06-08T14:36:16.538Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6240784881303622155.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6240784881303622155.key) [2021-06-08T14:36:16.559Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-08T14:36:16.862Z] + git semver bump pre [2021-06-08T14:36:16.862Z] # -> Open(): unable to determine branch for HEAD [2021-06-08T14:36:16.862Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-06-08T14:36:16.862Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-06-08T14:36:16.862Z] # $SEMVER_REMOTE_NAME = origin [2021-06-08T14:36:16.862Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-08T14:36:16.862Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-08T14:36:16.862Z] # $SEMVER_BRANCH = master [2021-06-08T14:36:16.862Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-06-08T14:36:16.862Z] 1.2.2-dev.17 [Pipeline] } [2021-06-08T14:36:16.868Z] $ docker exec --env ******** --env ******** 20ec2def4e710a3b54a0726bd9b97c78a945602986bb3140b00452d048c597e6 ssh-agent -k [2021-06-08T14:36:16.954Z] unset SSH_AUTH_SOCK; [2021-06-08T14:36:16.956Z] unset SSH_AGENT_PID; [2021-06-08T14:36:16.956Z] echo Agent pid 19 killed; [2021-06-08T14:36:16.971Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-08T14:36:17.310Z] + git semver [Pipeline] } [2021-06-08T14:36:17.321Z] $ docker stop --time=1 20ec2def4e710a3b54a0726bd9b97c78a945602986bb3140b00452d048c597e6 [2021-06-08T14:36:18.517Z] $ docker rm -f 20ec2def4e710a3b54a0726bd9b97c78a945602986bb3140b00452d048c597e6 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:36:18.919Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T14:36:18.919Z] . [Pipeline] withDockerContainer [2021-06-08T14:36:18.991Z] prd-centos7-docker-4c-2g-905 does not seem to be running inside a container [2021-06-08T14:36:19.033Z] $ 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-08T14:36:19.373Z] $ docker top 5f6f951a908531b1264afd8b8120d8503a946aa6fe684210e11c4d6f96b006e5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-08T14:36:19.503Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-08T14:36:19.503Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-08T14:36:19.614Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-08T14:36:19.612Z] $ docker exec 5f6f951a908531b1264afd8b8120d8503a946aa6fe684210e11c4d6f96b006e5 ssh-agent [2021-06-08T14:36:19.734Z] SSH_AUTH_SOCK=/tmp/ssh-lv3YbO1QZaz3/agent.13 [2021-06-08T14:36:19.734Z] SSH_AGENT_PID=19 [2021-06-08T14:36:19.740Z] Running ssh-add (command line suppressed) [2021-06-08T14:36:19.825Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1851495340926470090.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1851495340926470090.key) [2021-06-08T14:36:19.845Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-08T14:36:20.149Z] + git semver push [2021-06-08T14:36:20.149Z] # -> Open(): unable to determine branch for HEAD [2021-06-08T14:36:20.149Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-06-08T14:36:20.149Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-06-08T14:36:20.149Z] # $SEMVER_REMOTE_NAME = origin [2021-06-08T14:36:20.149Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-08T14:36:20.149Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-08T14:36:20.149Z] # $SEMVER_BRANCH = master [2021-06-08T14:36:20.149Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-06-08T14:36:25.443Z] $ docker exec --env ******** --env ******** 5f6f951a908531b1264afd8b8120d8503a946aa6fe684210e11c4d6f96b006e5 ssh-agent -k [2021-06-08T14:36:25.537Z] unset SSH_AUTH_SOCK; [2021-06-08T14:36:25.537Z] unset SSH_AGENT_PID; [2021-06-08T14:36:25.537Z] echo Agent pid 19 killed; [2021-06-08T14:36:25.550Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-08T14:36:25.879Z] + git semver [Pipeline] } [2021-06-08T14:36:25.890Z] $ docker stop --time=1 5f6f951a908531b1264afd8b8120d8503a946aa6fe684210e11c4d6f96b006e5 [2021-06-08T14:36:27.068Z] $ docker rm -f 5f6f951a908531b1264afd8b8120d8503a946aa6fe684210e11c4d6f96b006e5 [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-08T14:36:28.096Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:36:28.660Z] ---> package-listing.sh [2021-06-08T14:36:28.660Z] ++ facter osfamily [2021-06-08T14:36:28.660Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-08T14:36:28.921Z] + OS_FAMILY=redhat [2021-06-08T14:36:28.921Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2021-06-08T14:36:28.921Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-08T14:36:28.921Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-08T14:36:28.921Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-08T14:36:28.921Z] + PACKAGES=/tmp/packages_start.txt [2021-06-08T14:36:28.921Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-06-08T14:36:28.921Z] + PACKAGES=/tmp/packages_end.txt [2021-06-08T14:36:28.921Z] + case "${OS_FAMILY}" in [2021-06-08T14:36:28.921Z] + rpm -qa [2021-06-08T14:36:28.921Z] + sort [2021-06-08T14:36:29.492Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-08T14:36:29.492Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-08T14:36:29.492Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-08T14:36:29.492Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-06-08T14:36:29.492Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2021-06-08T14:36:29.492Z] + 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-08T14:36:29.505Z] 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-08T14:36:29.797Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:36:30.359Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-08T14:36:30.359Z] [2021-06-08T14:36:30.359Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:36:30.678Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-08T14:36:30.678Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-08T14:36:30.678Z] df20fa9351a1: Pulling fs layer [2021-06-08T14:36:30.678Z] 36b3adc4ff6f: Pulling fs layer [2021-06-08T14:36:30.678Z] 8ad3a11d3b57: Pulling fs layer [2021-06-08T14:36:30.678Z] 46f8f816bc3b: Pulling fs layer [2021-06-08T14:36:30.678Z] 93b61091891f: Pulling fs layer [2021-06-08T14:36:30.678Z] 93b9cdb0e59b: Pulling fs layer [2021-06-08T14:36:30.678Z] 5e14af77c1be: Pulling fs layer [2021-06-08T14:36:30.678Z] 01666e4c0597: Pulling fs layer [2021-06-08T14:36:30.678Z] aa168da1d23b: Pulling fs layer [2021-06-08T14:36:30.678Z] 93b9cdb0e59b: Waiting [2021-06-08T14:36:30.678Z] 5e14af77c1be: Waiting [2021-06-08T14:36:30.678Z] 01666e4c0597: Waiting [2021-06-08T14:36:30.678Z] aa168da1d23b: Waiting [2021-06-08T14:36:30.678Z] 46f8f816bc3b: Waiting [2021-06-08T14:36:30.678Z] 93b61091891f: Waiting [2021-06-08T14:36:30.678Z] 36b3adc4ff6f: Verifying Checksum [2021-06-08T14:36:30.678Z] 36b3adc4ff6f: Download complete [2021-06-08T14:36:30.678Z] 46f8f816bc3b: Verifying Checksum [2021-06-08T14:36:30.678Z] 46f8f816bc3b: Download complete [2021-06-08T14:36:30.678Z] df20fa9351a1: Verifying Checksum [2021-06-08T14:36:30.678Z] df20fa9351a1: Download complete [2021-06-08T14:36:30.939Z] 93b9cdb0e59b: Verifying Checksum [2021-06-08T14:36:30.939Z] 93b9cdb0e59b: Download complete [2021-06-08T14:36:30.939Z] 5e14af77c1be: Verifying Checksum [2021-06-08T14:36:30.939Z] 5e14af77c1be: Download complete [2021-06-08T14:36:30.939Z] 93b61091891f: Verifying Checksum [2021-06-08T14:36:30.939Z] 93b61091891f: Download complete [2021-06-08T14:36:30.939Z] 01666e4c0597: Verifying Checksum [2021-06-08T14:36:30.939Z] 01666e4c0597: Download complete [2021-06-08T14:36:30.939Z] df20fa9351a1: Pull complete [2021-06-08T14:36:31.211Z] 36b3adc4ff6f: Pull complete [2021-06-08T14:36:31.211Z] 8ad3a11d3b57: Verifying Checksum [2021-06-08T14:36:31.211Z] 8ad3a11d3b57: Download complete [2021-06-08T14:36:31.790Z] 8ad3a11d3b57: Pull complete [2021-06-08T14:36:31.790Z] 46f8f816bc3b: Pull complete [2021-06-08T14:36:32.052Z] 93b61091891f: Pull complete [2021-06-08T14:36:32.053Z] 93b9cdb0e59b: Pull complete [2021-06-08T14:36:32.313Z] 5e14af77c1be: Pull complete [2021-06-08T14:36:32.313Z] 01666e4c0597: Pull complete [2021-06-08T14:36:32.574Z] aa168da1d23b: Verifying Checksum [2021-06-08T14:36:32.574Z] aa168da1d23b: Download complete [2021-06-08T14:36:36.825Z] aa168da1d23b: Pull complete [2021-06-08T14:36:36.825Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-08T14:36:36.825Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-08T14:36:36.825Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-08T14:36:36.900Z] prd-centos7-docker-4c-2g-905 does not seem to be running inside a container [2021-06-08T14:36:36.944Z] $ 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-08T14:36:40.904Z] $ docker top e2a3a10fb7e32d046a7e4ae87e18fb215d1512eada8ac06a41bbdf2f41c15eb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T14:36:41.282Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-08T14:36:41.573Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-08T14:36:41.875Z] + ls /var/log/sa-host [2021-06-08T14:36:41.875Z] + sadf -c /var/log/sa-host/sa05 [2021-06-08T14:36:41.875Z] file_magic: OK [2021-06-08T14:36:41.875Z] HZ: Using current value: 100 [2021-06-08T14:36:41.875Z] file_header: OK [2021-06-08T14:36:41.875Z] 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-08T14:36:41.875Z] Statistics: [2021-06-08T14:36:41.875Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-08T14:36:41.875Z] File successfully converted to sysstat format version 12.2.1 [2021-06-08T14:36:41.875Z] + sadf -c /var/log/sa-host/sa08 [2021-06-08T14:36:41.875Z] file_magic: OK [2021-06-08T14:36:41.875Z] HZ: Using current value: 100 [2021-06-08T14:36:41.875Z] file_header: OK [2021-06-08T14:36:41.875Z] 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-08T14:36:41.875Z] Statistics: [2021-06-08T14:36:41.875Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-08T14:36:41.875Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T14:36:42.057Z] provisioning config files... [2021-06-08T14:36:42.069Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7916737719185001615tmp [Pipeline] { [Pipeline] echo [2021-06-08T14:36:42.090Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:36:42.385Z] ---> create-netrc.sh [Pipeline] } [2021-06-08T14:36:42.394Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:36:42.771Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-08T14:36:42.783Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:36:43.076Z] ---> sudo-logs.sh [2021-06-08T14:36:43.077Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-08T14:36:43.109Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:36:43.403Z] ---> job-cost.sh [2021-06-08T14:36:43.403Z] lf-activate-venv: SKIPPING [2021-06-08T14:36:43.403Z] DEBUG: total: 0.18000000715255737 [2021-06-08T14:36:43.403Z] INFO: Retrieving Stack Cost... [2021-06-08T14:36:43.973Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-08T14:36:44.543Z] INFO: Archiving Costs [Pipeline] echo [2021-06-08T14:36:44.556Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:36:44.852Z] ---> logs-deploy.sh [2021-06-08T14:36:44.852Z] lf-activate-venv: SKIPPING [2021-06-08T14:36:44.852Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/49 [2021-06-08T14:36:44.852Z] INFO: archiving workspace using pattern(s): [2021-06-08T14:36:45.799Z] Archives upload complete. [2021-06-08T14:36:45.799Z] INFO: archiving logs to Nexus