Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 69c81efe40b40196065d751e2d1c999af0ecde18 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-ssh1003273937893241445.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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-ssh5564368445236417529.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 9d0281235b943b7ad605f650702698f9078b2862 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-ssh981096949252189587.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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-ssh2559425729826340734.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-ssh9048148026847460060.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-14868 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-ssh5214669247589987643.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 69c81efe40b40196065d751e2d1c999af0ecde18 (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 69c81efe40b40196065d751e2d1c999af0ecde18 # timeout=10 Commit message: "Merge pull request #101 from lenny-intel/service-keys" > git rev-list --no-walk 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-18T22:54:55.269Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-18T22:54:55.360Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-18T22:54:55.386Z] ========================================================= [2021-05-18T22:54:55.386Z] EdgeX Global Pipelines Version Info [2021-05-18T22:54:55.386Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-18T22:54:56.802Z] ------------------- [2021-05-18T22:54:56.802Z] stable info: [2021-05-18T22:54:56.802Z] ------------------- [2021-05-18T22:54:56.802Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-18T22:54:56.802Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-18T22:54:56.802Z] Message: update stable to v1.0.192 [2021-05-18T22:54:57.380Z] ------------------- [2021-05-18T22:54:57.380Z] experimental info: [2021-05-18T22:54:57.380Z] ------------------- [2021-05-18T22:54:57.380Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-18T22:54:57.380Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-18T22:54:57.380Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-18T22:54:57.503Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-18T22:54:57.524Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-18T22:54:57.546Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-18T22:54:57.568Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-18T22:54:57.589Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-18T22:54:57.610Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-18T22:54:57.633Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-18T22:54:57.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-18T22:54:57.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-18T22:54:57.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-18T22:54:57.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-18T22:54:57.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-18T22:54:57.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-18T22:54:57.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-18T22:54:57.809Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-18T22:54:57.831Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-18T22:54:57.854Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-18T22:54:57.877Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-18T22:54:57.901Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-18T22:54:57.926Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-18T22:54:57.949Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-18T22:54:57.971Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-18T22:54:57.993Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-18T22:54:58.015Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-18T22:54:58.037Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-18T22:54:58.060Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-18T22:54:58.083Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-18T22:54:58.105Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-18T22:54:58.128Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-18T22:54:58.151Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 69c81efe40b40196065d751e2d1c999af0ecde18 [Pipeline] echo [2021-05-18T22:54:58.175Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 69c81ef [Pipeline] echo [2021-05-18T22:54:58.198Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T22:54:58.275Z] provisioning config files... [2021-05-18T22:54:58.291Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4643305567762690742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T22:54:58.611Z] ---> docker-login.sh [2021-05-18T22:54:58.611Z] nexus3.edgexfoundry.org:10001 [2021-05-18T22:54:58.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:54:58.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:54:58.881Z] Configure a credential helper to remove this warning. See [2021-05-18T22:54:58.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:54:58.881Z] [2021-05-18T22:54:58.881Z] Login Succeeded [2021-05-18T22:54:58.881Z] nexus3.edgexfoundry.org:10002 [2021-05-18T22:54:58.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:54:58.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:54:58.881Z] Configure a credential helper to remove this warning. See [2021-05-18T22:54:58.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:54:58.881Z] [2021-05-18T22:54:58.881Z] Login Succeeded [2021-05-18T22:54:58.881Z] nexus3.edgexfoundry.org:10003 [2021-05-18T22:54:59.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:54:59.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:54:59.147Z] Configure a credential helper to remove this warning. See [2021-05-18T22:54:59.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:54:59.147Z] [2021-05-18T22:54:59.147Z] Login Succeeded [2021-05-18T22:54:59.147Z] nexus3.edgexfoundry.org:10004 [2021-05-18T22:54:59.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:54:59.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:54:59.147Z] Configure a credential helper to remove this warning. See [2021-05-18T22:54:59.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:54:59.147Z] [2021-05-18T22:54:59.147Z] Login Succeeded [2021-05-18T22:54:59.147Z] docker.io [2021-05-18T22:54:59.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:54:59.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:54:59.672Z] Configure a credential helper to remove this warning. See [2021-05-18T22:54:59.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:54:59.672Z] [2021-05-18T22:54:59.672Z] Login Succeeded [2021-05-18T22:54:59.672Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T22:54:59.681Z] 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-05-18T22:55:00.188Z] + git log --format=format:%s -1 69c81efe40b40196065d751e2d1c999af0ecde18 [Pipeline] echo [2021-05-18T22:55:00.228Z] GIT_COMMIT: 69c81efe40b40196065d751e2d1c999af0ecde18, Commit Message: Merge pull request #101 from lenny-intel/service-keys [Pipeline] echo [2021-05-18T22:55:00.244Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:55:00.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T22:55:00.858Z] [2021-05-18T22:55:00.858Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:55:01.207Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T22:55:01.207Z] latest: Pulling from edgex-devops/git-semver [2021-05-18T22:55:01.207Z] 31603596830f: Pulling fs layer [2021-05-18T22:55:01.207Z] 54011a49482f: Pulling fs layer [2021-05-18T22:55:01.207Z] a6820b24f6d8: Pulling fs layer [2021-05-18T22:55:01.207Z] f581987b2513: Pulling fs layer [2021-05-18T22:55:01.207Z] f581987b2513: Waiting [2021-05-18T22:55:01.207Z] 54011a49482f: Verifying Checksum [2021-05-18T22:55:01.207Z] 54011a49482f: Download complete [2021-05-18T22:55:01.207Z] 31603596830f: Verifying Checksum [2021-05-18T22:55:01.207Z] 31603596830f: Download complete [2021-05-18T22:55:01.472Z] a6820b24f6d8: Verifying Checksum [2021-05-18T22:55:01.472Z] a6820b24f6d8: Download complete [2021-05-18T22:55:01.472Z] f581987b2513: Verifying Checksum [2021-05-18T22:55:01.472Z] f581987b2513: Download complete [2021-05-18T22:55:01.472Z] 31603596830f: Pull complete [2021-05-18T22:55:01.738Z] 54011a49482f: Pull complete [2021-05-18T22:55:02.311Z] a6820b24f6d8: Pull complete [2021-05-18T22:55:02.574Z] f581987b2513: Pull complete [2021-05-18T22:55:02.574Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-18T22:55:02.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T22:55:02.574Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-18T22:55:02.689Z] prd-centos7-docker-4c-2g-14868 does not seem to be running inside a container [2021-05-18T22:55:02.759Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-18T22:55:03.867Z] $ docker top 8f19b4754746e0f2c913fca8281f2d9019eb04c1308d93e336042c3d3916a8ab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-18T22:55:03.998Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-18T22:55:03.999Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-18T22:55:04.110Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-18T22:55:04.113Z] $ docker exec 8f19b4754746e0f2c913fca8281f2d9019eb04c1308d93e336042c3d3916a8ab ssh-agent [2021-05-18T22:55:04.227Z] SSH_AUTH_SOCK=/tmp/ssh-hVHagwLOpg9D/agent.14 [2021-05-18T22:55:04.227Z] SSH_AGENT_PID=21 [2021-05-18T22:55:04.235Z] Running ssh-add (command line suppressed) [2021-05-18T22:55:04.337Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1655448289065823276.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1655448289065823276.key) [2021-05-18T22:55:04.352Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-18T22:55:04.656Z] + git tag --points-at HEAD [Pipeline] } [2021-05-18T22:55:04.671Z] $ docker exec --env ******** --env ******** 8f19b4754746e0f2c913fca8281f2d9019eb04c1308d93e336042c3d3916a8ab ssh-agent -k [2021-05-18T22:55:04.777Z] unset SSH_AUTH_SOCK; [2021-05-18T22:55:04.777Z] unset SSH_AGENT_PID; [2021-05-18T22:55:04.777Z] echo Agent pid 21 killed; [2021-05-18T22:55:04.793Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-18T22:55:04.853Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-18T22:55:04.853Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-18T22:55:04.959Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-18T22:55:04.962Z] $ docker exec 8f19b4754746e0f2c913fca8281f2d9019eb04c1308d93e336042c3d3916a8ab ssh-agent [2021-05-18T22:55:05.073Z] SSH_AUTH_SOCK=/tmp/ssh-IGGxDQYtqxpW/agent.52 [2021-05-18T22:55:05.073Z] SSH_AGENT_PID=59 [2021-05-18T22:55:05.079Z] Running ssh-add (command line suppressed) [2021-05-18T22:55:05.182Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7332798402668425928.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7332798402668425928.key) [2021-05-18T22:55:05.195Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-18T22:55:05.505Z] + git semver init [2021-05-18T22:55:05.505Z] # -> Open(): unable to determine branch for HEAD [2021-05-18T22:55:05.505Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-18T22:55:05.505Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-18T22:55:05.505Z] # $SEMVER_REMOTE_NAME = origin [2021-05-18T22:55:05.505Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-18T22:55:05.505Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-18T22:55:05.505Z] # $SEMVER_BRANCH = master [2021-05-18T22:55:05.505Z] # $SEMVER_TEMP = /tmp/semver-107972400 [2021-05-18T22:55:05.505Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-18T22:55:06.907Z] # '/tmp/semver-107972400' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2021-05-18T22:55:06.907Z] # -> Force: false [2021-05-18T22:55:06.907Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-05-18T22:55:06.919Z] $ docker exec --env ******** --env ******** 8f19b4754746e0f2c913fca8281f2d9019eb04c1308d93e336042c3d3916a8ab ssh-agent -k [2021-05-18T22:55:07.011Z] unset SSH_AUTH_SOCK; [2021-05-18T22:55:07.011Z] unset SSH_AGENT_PID; [2021-05-18T22:55:07.011Z] echo Agent pid 59 killed; [2021-05-18T22:55:07.021Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-18T22:55:07.369Z] + git semver [Pipeline] } [2021-05-18T22:55:07.390Z] $ docker stop --time=1 8f19b4754746e0f2c913fca8281f2d9019eb04c1308d93e336042c3d3916a8ab [2021-05-18T22:55:08.729Z] $ docker rm -f 8f19b4754746e0f2c913fca8281f2d9019eb04c1308d93e336042c3d3916a8ab [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-18T22:55:09.146Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-18T22:55:09.443Z] Stashed 1 file(s) [Pipeline] echo [2021-05-18T22:55:09.446Z] [edgeXSemver]: initialized semver on version 1.2.2-dev.11 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-18T22:55:24.707Z] Still waiting to schedule task [2021-05-18T22:55:24.707Z] ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-18T22:55:24.708Z] ‘prd-centos7-docker-4c-2g-14871’ is offline [2021-05-18T22:55:24.708Z] ‘prd-centos7-docker-4c-2g-14872’ is offline [2021-05-18T22:55:24.708Z] ‘prd-centos7-docker-4c-2g-309’ is offline [2021-05-18T22:55:24.708Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-14869’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-18T22:55:24.710Z] Still waiting to schedule task [2021-05-18T22:55:24.711Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-14869’ is offline [2021-05-18T22:56:17.749Z] Running on prd-centos7-docker-4c-2g-14874 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-05-18T22:56:17.771Z] Running in /w/workspace/device-rest-go/44 [Pipeline] { [Pipeline] checkout [2021-05-18T22:56:17.876Z] The recommended git tool is: git [2021-05-18T22:56:20.377Z] using credential edgex-jenkins-ssh [2021-05-18T22:56:20.411Z] Cloning the remote Git repository [2021-05-18T22:56:20.128Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-18T22:56:20.197Z] > git init /w/workspace/device-rest-go/44 # timeout=10 [2021-05-18T22:56:20.224Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-18T22:56:20.225Z] > git --version # timeout=10 [2021-05-18T22:56:20.232Z] > git --version # 'git version 2.24.4' [2021-05-18T22:56:20.233Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T22:56:20.255Z] [INFO] Currently running in a labeled security context [2021-05-18T22:56:20.255Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-18T22:56:20.255Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/44@tmp/jenkins-gitclient-ssh1391785973994940470.key [2021-05-18T22:56:20.271Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T22:56:21.392Z] Avoid second fetch [2021-05-18T22:56:21.393Z] Checking out Revision 69c81efe40b40196065d751e2d1c999af0ecde18 (master) [2021-05-18T22:56:21.149Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-18T22:56:21.157Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T22:56:21.177Z] > git config core.sparsecheckout # timeout=10 [2021-05-18T22:56:21.183Z] > git checkout -f 69c81efe40b40196065d751e2d1c999af0ecde18 # timeout=10 [2021-05-18T22:56:24.765Z] Commit message: "Merge pull request #101 from lenny-intel/service-keys" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-18T22:56:25.656Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-18T22:56:25.998Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-18T22:56:26.308Z] + sudo service docker restart [2021-05-18T22:56:26.308Z] + true [2021-05-18T22:56:26.308Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T22:56:44.491Z] provisioning config files... [2021-05-18T22:56:44.503Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/44@tmp/config5983341022021940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T22:56:44.829Z] ---> docker-login.sh [2021-05-18T22:56:44.829Z] nexus3.edgexfoundry.org:10001 [2021-05-18T22:56:45.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:56:45.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:56:45.410Z] Configure a credential helper to remove this warning. See [2021-05-18T22:56:45.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:56:45.410Z] [2021-05-18T22:56:45.410Z] Login Succeeded [2021-05-18T22:56:45.410Z] nexus3.edgexfoundry.org:10002 [2021-05-18T22:56:45.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:56:45.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:56:45.674Z] Configure a credential helper to remove this warning. See [2021-05-18T22:56:45.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:56:45.674Z] [2021-05-18T22:56:45.674Z] Login Succeeded [2021-05-18T22:56:45.674Z] nexus3.edgexfoundry.org:10003 [2021-05-18T22:56:45.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:56:45.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:56:45.674Z] Configure a credential helper to remove this warning. See [2021-05-18T22:56:45.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:56:45.674Z] [2021-05-18T22:56:45.674Z] Login Succeeded [2021-05-18T22:56:45.674Z] nexus3.edgexfoundry.org:10004 [2021-05-18T22:56:45.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:56:45.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:56:45.935Z] Configure a credential helper to remove this warning. See [2021-05-18T22:56:45.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:56:45.935Z] [2021-05-18T22:56:45.935Z] Login Succeeded [2021-05-18T22:56:45.935Z] docker.io [2021-05-18T22:56:45.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:56:46.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:56:46.197Z] Configure a credential helper to remove this warning. See [2021-05-18T22:56:46.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:56:46.197Z] [2021-05-18T22:56:46.197Z] Login Succeeded [2021-05-18T22:56:46.197Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T22:56:46.206Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-18T22:56:46.384Z] ========================================================= [2021-05-18T22:56:46.384Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-18T22:56:46.384Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:56:46.700Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-18T22:56:46.700Z] Sending build context to Docker daemon 92.16kB [2021-05-18T22:56:46.700Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-18T22:56:46.700Z] Step 2/10 : FROM ${BASE} [2021-05-18T22:56:46.700Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-18T22:56:46.700Z] 540db60ca938: Pulling fs layer [2021-05-18T22:56:46.700Z] adcc1eea9eea: Pulling fs layer [2021-05-18T22:56:46.700Z] 4c4ab2625f07: Pulling fs layer [2021-05-18T22:56:46.700Z] 0510c868ecb4: Pulling fs layer [2021-05-18T22:56:46.700Z] afea3b2eda06: Pulling fs layer [2021-05-18T22:56:46.700Z] 7809a108b3ef: Pulling fs layer [2021-05-18T22:56:46.700Z] f706445af74f: Pulling fs layer [2021-05-18T22:56:46.700Z] 0510c868ecb4: Waiting [2021-05-18T22:56:46.700Z] afea3b2eda06: Waiting [2021-05-18T22:56:46.700Z] 7809a108b3ef: Waiting [2021-05-18T22:56:46.968Z] 4c4ab2625f07: Verifying Checksum [2021-05-18T22:56:46.968Z] 4c4ab2625f07: Download complete [2021-05-18T22:56:46.968Z] adcc1eea9eea: Verifying Checksum [2021-05-18T22:56:46.968Z] adcc1eea9eea: Download complete [2021-05-18T22:56:46.968Z] afea3b2eda06: Download complete [2021-05-18T22:56:46.968Z] 7809a108b3ef: Verifying Checksum [2021-05-18T22:56:46.968Z] 7809a108b3ef: Download complete [2021-05-18T22:56:46.968Z] 540db60ca938: Verifying Checksum [2021-05-18T22:56:46.968Z] 540db60ca938: Download complete [2021-05-18T22:56:47.232Z] 540db60ca938: Pull complete [2021-05-18T22:56:47.492Z] adcc1eea9eea: Pull complete [2021-05-18T22:56:47.492Z] 4c4ab2625f07: Pull complete [2021-05-18T22:56:50.048Z] f706445af74f: Verifying Checksum [2021-05-18T22:56:50.048Z] f706445af74f: Download complete [2021-05-18T22:56:50.637Z] 0510c868ecb4: Verifying Checksum [2021-05-18T22:56:50.637Z] 0510c868ecb4: Download complete [2021-05-18T22:56:54.032Z] 0510c868ecb4: Pull complete [2021-05-18T22:56:54.032Z] afea3b2eda06: Pull complete [2021-05-18T22:56:54.032Z] 7809a108b3ef: Pull complete [2021-05-18T22:56:55.430Z] f706445af74f: Pull complete [2021-05-18T22:56:55.430Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-18T22:56:55.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-18T22:56:55.430Z] ---> b068be0155e3 [2021-05-18T22:56:55.430Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-18T22:56:59.638Z] ---> Running in afae1c76fd9e [2021-05-18T22:56:59.638Z] Removing intermediate container afae1c76fd9e [2021-05-18T22:56:59.638Z] ---> e916e5f123c9 [2021-05-18T22:56:59.638Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-18T22:56:59.638Z] ---> Running in 8628be2880f3 [2021-05-18T22:56:59.638Z] Removing intermediate container 8628be2880f3 [2021-05-18T22:56:59.638Z] ---> 144b060bee9d [2021-05-18T22:56:59.638Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-18T22:56:59.638Z] ---> Running in c33d0aa53aee [2021-05-18T22:56:59.901Z] Removing intermediate container c33d0aa53aee [2021-05-18T22:56:59.901Z] ---> 67ffee913df9 [2021-05-18T22:56:59.901Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-18T22:56:59.901Z] ---> Running in 0e0dc533bafb [2021-05-18T22:57:00.474Z] Removing intermediate container 0e0dc533bafb [2021-05-18T22:57:00.474Z] ---> 7f2a8e4bbf03 [2021-05-18T22:57:00.474Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-18T22:57:00.474Z] ---> Running in 1240000dd05e [2021-05-18T22:57:00.735Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-18T22:57:01.680Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-18T22:57:01.950Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-18T22:57:01.950Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-18T22:57:02.211Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-18T22:57:02.211Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-18T22:57:02.211Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-18T22:57:02.473Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-18T22:57:02.473Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-18T22:57:02.734Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-18T22:57:02.996Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-18T22:57:02.996Z] Executing busybox-1.32.1-r6.trigger [2021-05-18T22:57:02.996Z] OK: 154 MiB in 49 packages [2021-05-18T22:57:03.256Z] Removing intermediate container 1240000dd05e [2021-05-18T22:57:03.256Z] ---> c683c7331387 [2021-05-18T22:57:03.256Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-18T22:57:03.256Z] ---> Running in 83c08bee2f65 [2021-05-18T22:57:03.518Z] Removing intermediate container 83c08bee2f65 [2021-05-18T22:57:03.518Z] ---> 14c68445c45b [2021-05-18T22:57:03.518Z] Step 9/10 : COPY . . [2021-05-18T22:57:03.781Z] ---> 7713cad977ef [2021-05-18T22:57:03.781Z] Step 10/10 : RUN go mod download [2021-05-18T22:57:03.781Z] ---> Running in d3c5a6c66d82 [2021-05-18T22:57:16.021Z] Removing intermediate container d3c5a6c66d82 [2021-05-18T22:57:16.021Z] ---> 58ff5fb6dc96 [2021-05-18T22:57:16.021Z] Successfully built 58ff5fb6dc96 [2021-05-18T22:57:16.021Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:57:16.339Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-18T22:57:16.340Z] . [Pipeline] withDockerContainer [2021-05-18T22:57:16.420Z] prd-centos7-docker-4c-2g-14874 does not seem to be running inside a container [2021-05-18T22:57:16.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/44 -v /w/workspace/device-rest-go/44:/w/workspace/device-rest-go/44:rw,z -v /w/workspace/device-rest-go/44@tmp:/w/workspace/device-rest-go/44@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-18T22:57:16.846Z] $ docker top c6fcf6e2fe4fcd3023ab60c181bb87d046114b472ce7779a5d741294d7a9fe42 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-18T22:57:17.232Z] + go version [2021-05-18T22:57:17.232Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-18T22:57:17.247Z] $ docker stop --time=1 c6fcf6e2fe4fcd3023ab60c181bb87d046114b472ce7779a5d741294d7a9fe42 [2021-05-18T22:57:18.428Z] $ docker rm -f c6fcf6e2fe4fcd3023ab60c181bb87d046114b472ce7779a5d741294d7a9fe42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:57:18.935Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-18T22:57:18.935Z] . [Pipeline] withDockerContainer [2021-05-18T22:57:19.008Z] prd-centos7-docker-4c-2g-14874 does not seem to be running inside a container [2021-05-18T22:57:19.050Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/44 -v /w/workspace/device-rest-go/44:/w/workspace/device-rest-go/44:rw,z -v /w/workspace/device-rest-go/44@tmp:/w/workspace/device-rest-go/44@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-18T22:57:19.361Z] $ docker top 0a659e101b27e71987f272dd8b85ae7e4d5d054e1b3ebc29d4bc978fac09b120 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-18T22:57:19.733Z] + go mod tidy [Pipeline] sh [2021-05-18T22:57:20.303Z] + make test [2021-05-18T22:57:20.303Z] go mod tidy [2021-05-18T22:57:20.303Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-18T22:57:20.878Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-18T22:57:35.944Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-18T22:57:36.210Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements [2021-05-18T22:57:36.476Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-18T22:57:43.128Z] gofmt -l . [2021-05-18T22:57:43.128Z] [ "`gofmt -l .`" = "" ] [2021-05-18T22:57:43.128Z] ./bin/test-go-mod-tidy.sh [2021-05-18T22:57:43.128Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-18T22:57:43.712Z] $ docker stop --time=1 0a659e101b27e71987f272dd8b85ae7e4d5d054e1b3ebc29d4bc978fac09b120 [2021-05-18T22:57:45.471Z] $ docker rm -f 0a659e101b27e71987f272dd8b85ae7e4d5d054e1b3ebc29d4bc978fac09b120 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-18T22:57:45.881Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-18T22:57:46.061Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-18T22:57:47.199Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-18T22:57:47.499Z] + ls -al . [2021-05-18T22:57:47.499Z] total 104 [2021-05-18T22:57:47.499Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 18 22:57 . [2021-05-18T22:57:47.499Z] drwxrwxr-x. 4 jenkins jenkins 30 May 18 22:56 .. [2021-05-18T22:57:47.499Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 18 22:56 Attribution.txt [2021-05-18T22:57:47.499Z] drwxrwxr-x. 2 jenkins jenkins 64 May 18 22:56 bin [2021-05-18T22:57:47.499Z] drwxrwxr-x. 3 jenkins jenkins 32 May 18 22:56 cmd [2021-05-18T22:57:47.499Z] -rw-r--r--. 1 jenkins jenkins 8513 May 18 22:57 coverage.out [2021-05-18T22:57:47.499Z] -rw-rw-r--. 1 jenkins jenkins 1615 May 18 22:56 Dockerfile [2021-05-18T22:57:47.499Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 18 22:56 Dockerfile.build [2021-05-18T22:57:47.499Z] -rw-rw-r--. 1 jenkins jenkins 151 May 18 22:56 .dockerignore [2021-05-18T22:57:47.499Z] drwxrwxr-x. 2 jenkins jenkins 76 May 18 22:56 driver [2021-05-18T22:57:47.499Z] drwxrwxr-x. 8 jenkins jenkins 162 May 18 22:56 .git [2021-05-18T22:57:47.499Z] drwxrwxr-x. 2 jenkins jenkins 103 May 18 22:56 .github [2021-05-18T22:57:47.499Z] -rw-rw-r--. 1 jenkins jenkins 336 May 18 22:56 .gitignore [2021-05-18T22:57:47.499Z] -rw-r--r--. 1 jenkins jenkins 285 May 18 22:57 go.mod [2021-05-18T22:57:47.499Z] -rw-r--r--. 1 jenkins jenkins 21177 May 18 22:57 go.sum [2021-05-18T22:57:47.499Z] -rw-rw-r--. 1 jenkins jenkins 680 May 18 22:56 Jenkinsfile [2021-05-18T22:57:47.499Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 18 22:56 LICENSE [2021-05-18T22:57:47.499Z] -rw-rw-r--. 1 jenkins jenkins 996 May 18 22:56 Makefile [2021-05-18T22:57:47.499Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 18 22:56 README.md [2021-05-18T22:57:47.499Z] drwxrwxr-x. 4 jenkins jenkins 71 May 18 22:56 snap [2021-05-18T22:57:47.499Z] -rw-rw-r--. 1 jenkins jenkins 12 May 18 22:55 VERSION [2021-05-18T22:57:47.499Z] -rw-rw-r--. 1 jenkins jenkins 713 May 18 22:56 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:57:47.809Z] + 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=69c81efe40b40196065d751e2d1c999af0ecde18 --label arch=amd64 --label version=1.2.2-dev.11 . [2021-05-18T22:57:47.809Z] Sending build context to Docker daemon 101.9kB [2021-05-18T22:57:47.809Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-18T22:57:47.809Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-18T22:57:47.809Z] ---> 58ff5fb6dc96 [2021-05-18T22:57:47.809Z] Step 3/25 : ARG MAKE='make build' [2021-05-18T22:57:47.809Z] ---> Running in 76f6ea26a448 [2021-05-18T22:57:47.809Z] Removing intermediate container 76f6ea26a448 [2021-05-18T22:57:47.809Z] ---> 1591253d6913 [2021-05-18T22:57:47.809Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-18T22:57:48.076Z] ---> Running in a463eddafa0f [2021-05-18T22:57:48.076Z] Removing intermediate container a463eddafa0f [2021-05-18T22:57:48.076Z] ---> 0af19cb59558 [2021-05-18T22:57:48.076Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-18T22:57:48.076Z] ---> Running in 97d152687325 [2021-05-18T22:57:48.076Z] Removing intermediate container 97d152687325 [2021-05-18T22:57:48.076Z] ---> a5e052ebf8fb [2021-05-18T22:57:48.076Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-18T22:57:48.076Z] ---> Running in fe6c775821db [2021-05-18T22:57:48.650Z] Removing intermediate container fe6c775821db [2021-05-18T22:57:48.650Z] ---> 9be58ae427f7 [2021-05-18T22:57:48.650Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-18T22:57:48.650Z] ---> Running in f0af1bdf472e [2021-05-18T22:57:48.912Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-18T22:57:49.859Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-18T22:57:50.124Z] OK: 154 MiB in 49 packages [2021-05-18T22:57:50.384Z] Removing intermediate container f0af1bdf472e [2021-05-18T22:57:50.384Z] ---> eb474b6fbc15 [2021-05-18T22:57:50.384Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-18T22:57:50.384Z] ---> Running in 9a0d3efdf55c [2021-05-18T22:57:50.647Z] Removing intermediate container 9a0d3efdf55c [2021-05-18T22:57:50.647Z] ---> ff2cd40f9d41 [2021-05-18T22:57:50.647Z] Step 9/25 : COPY . . [2021-05-18T22:57:50.647Z] ---> c43ac2d18405 [2021-05-18T22:57:50.647Z] Step 10/25 : RUN go mod tidy [2021-05-18T22:57:50.911Z] ---> Running in 390fc2a8581e [2021-05-18T22:57:51.492Z] Removing intermediate container 390fc2a8581e [2021-05-18T22:57:51.492Z] ---> 5dc77b2350d7 [2021-05-18T22:57:51.492Z] Step 11/25 : RUN make update [2021-05-18T22:57:51.492Z] ---> Running in d6b4d90e3d7e [2021-05-18T22:57:51.766Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-18T22:57:52.028Z] Removing intermediate container d6b4d90e3d7e [2021-05-18T22:57:52.028Z] ---> 625a94d2fc4f [2021-05-18T22:57:52.028Z] Step 12/25 : RUN $MAKE [2021-05-18T22:57:52.028Z] ---> Running in 48cc1c624320 [2021-05-18T22:57:52.289Z] go mod tidy [2021-05-18T22:57:52.560Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.11" -o cmd/device-rest ./cmd [2021-05-18T22:57:58.527Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14877 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-05-18T22:57:58.546Z] Running in /w/workspace/device-rest-go/44 [Pipeline] { [Pipeline] checkout [2021-05-18T22:57:58.752Z] The recommended git tool is: git [2021-05-18T22:58:04.012Z] using credential edgex-jenkins-ssh [2021-05-18T22:58:04.030Z] Cloning the remote Git repository [2021-05-18T22:58:04.089Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-18T22:58:04.191Z] > git init /w/workspace/device-rest-go/44 # timeout=10 [2021-05-18T22:58:04.316Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-18T22:58:04.317Z] > git --version # timeout=10 [2021-05-18T22:58:04.349Z] > git --version # 'git version 2.17.1' [2021-05-18T22:58:04.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T22:58:04.458Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T22:58:05.003Z] Removing intermediate container 48cc1c624320 [2021-05-18T22:58:05.003Z] ---> 68df28e2c43f [2021-05-18T22:58:05.003Z] Step 13/25 : FROM alpine:3.12 [2021-05-18T22:58:05.003Z] 3.12: Pulling from library/alpine [2021-05-18T22:58:05.003Z] 339de151aab4: Pulling fs layer [2021-05-18T22:58:05.003Z] 339de151aab4: Verifying Checksum [2021-05-18T22:58:05.003Z] 339de151aab4: Download complete [2021-05-18T22:58:05.003Z] 339de151aab4: Pull complete [2021-05-18T22:58:05.003Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-18T22:58:05.003Z] Status: Downloaded newer image for alpine:3.12 [2021-05-18T22:58:05.003Z] ---> 13621d1b12d4 [2021-05-18T22:58:05.003Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-18T22:58:05.003Z] ---> Running in 0645742ea191 [2021-05-18T22:58:05.003Z] Removing intermediate container 0645742ea191 [2021-05-18T22:58:05.003Z] ---> 99bba62a5609 [2021-05-18T22:58:05.003Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-18T22:58:05.266Z] ---> Running in 3b404f9dbbf1 [2021-05-18T22:58:05.266Z] Removing intermediate container 3b404f9dbbf1 [2021-05-18T22:58:05.266Z] ---> dfc895475c97 [2021-05-18T22:58:05.266Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-18T22:58:05.266Z] ---> Running in fe39fddd1a00 [2021-05-18T22:58:05.526Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-18T22:58:05.526Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-18T22:58:05.526Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-18T22:58:05.526Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-18T22:58:05.526Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-18T22:58:05.526Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-18T22:58:05.789Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-18T22:58:05.789Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-18T22:58:05.789Z] Executing busybox-1.31.1-r20.trigger [2021-05-18T22:58:05.789Z] OK: 8 MiB in 20 packages [2021-05-18T22:58:06.050Z] Removing intermediate container fe39fddd1a00 [2021-05-18T22:58:06.050Z] ---> efff27709a61 [2021-05-18T22:58:06.050Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-18T22:58:06.034Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-18T22:58:06.053Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T22:58:06.074Z] Avoid second fetch [2021-05-18T22:58:06.075Z] Checking out Revision 69c81efe40b40196065d751e2d1c999af0ecde18 (master) [2021-05-18T22:58:06.621Z] ---> 514a517ab252 [2021-05-18T22:58:06.621Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-18T22:58:06.621Z] ---> 06f3ce969c0f [2021-05-18T22:58:06.621Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-18T22:58:06.881Z] ---> b0777dd9bd3d [2021-05-18T22:58:06.881Z] Step 20/25 : EXPOSE 49986 [2021-05-18T22:58:06.881Z] ---> Running in ac0dbe08b6a7 [2021-05-18T22:58:06.881Z] Removing intermediate container ac0dbe08b6a7 [2021-05-18T22:58:06.881Z] ---> 8244c3ebeda4 [2021-05-18T22:58:06.881Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-18T22:58:06.881Z] ---> Running in 91d49fb434b1 [2021-05-18T22:58:06.881Z] Removing intermediate container 91d49fb434b1 [2021-05-18T22:58:06.881Z] ---> 152e5b520a2f [2021-05-18T22:58:06.881Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-18T22:58:07.146Z] ---> Running in 71163a0b40fe [2021-05-18T22:58:07.146Z] Removing intermediate container 71163a0b40fe [2021-05-18T22:58:07.146Z] ---> ecef811c651c [2021-05-18T22:58:07.146Z] Step 23/25 : LABEL arch=amd64 [2021-05-18T22:58:07.146Z] ---> Running in 672c5b921109 [2021-05-18T22:58:07.146Z] Removing intermediate container 672c5b921109 [2021-05-18T22:58:07.146Z] ---> a764f00ffc4c [2021-05-18T22:58:07.146Z] Step 24/25 : LABEL git_sha=69c81efe40b40196065d751e2d1c999af0ecde18 [2021-05-18T22:58:07.146Z] ---> Running in a76f4db8b870 [2021-05-18T22:58:07.407Z] Removing intermediate container a76f4db8b870 [2021-05-18T22:58:07.407Z] ---> 524cd91af1c3 [2021-05-18T22:58:07.407Z] Step 25/25 : LABEL version=1.2.2-dev.11 [2021-05-18T22:58:07.407Z] ---> Running in 4cf47c1fa472 [2021-05-18T22:58:07.407Z] Removing intermediate container 4cf47c1fa472 [2021-05-18T22:58:07.407Z] ---> a6e858f4d8c2 [2021-05-18T22:58:07.407Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-18T22:58:07.407Z] Successfully built a6e858f4d8c2 [2021-05-18T22:58:07.407Z] Successfully tagged device-rest:latest [2021-05-18T22:58:06.099Z] > git config core.sparsecheckout # timeout=10 [2021-05-18T22:58:06.116Z] > git checkout -f 69c81efe40b40196065d751e2d1c999af0ecde18 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T22:58:07.611Z] provisioning config files... [2021-05-18T22:58:07.626Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/44@tmp/config6101523428698613865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T22:58:07.948Z] ---> docker-login.sh [2021-05-18T22:58:07.948Z] nexus3.edgexfoundry.org:10001 [2021-05-18T22:58:07.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:58:07.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:58:07.948Z] Configure a credential helper to remove this warning. See [2021-05-18T22:58:07.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:58:07.948Z] [2021-05-18T22:58:07.948Z] Login Succeeded [2021-05-18T22:58:07.948Z] nexus3.edgexfoundry.org:10002 [2021-05-18T22:58:07.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:58:08.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:58:08.211Z] Configure a credential helper to remove this warning. See [2021-05-18T22:58:08.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:58:08.211Z] [2021-05-18T22:58:08.211Z] Login Succeeded [2021-05-18T22:58:08.211Z] nexus3.edgexfoundry.org:10003 [2021-05-18T22:58:08.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:58:08.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:58:08.211Z] Configure a credential helper to remove this warning. See [2021-05-18T22:58:08.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:58:08.211Z] [2021-05-18T22:58:08.211Z] Login Succeeded [2021-05-18T22:58:08.211Z] nexus3.edgexfoundry.org:10004 [2021-05-18T22:58:08.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:58:08.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:58:08.211Z] Configure a credential helper to remove this warning. See [2021-05-18T22:58:08.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:58:08.211Z] [2021-05-18T22:58:08.211Z] Login Succeeded [2021-05-18T22:58:08.473Z] docker.io [2021-05-18T22:58:08.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:58:08.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:58:08.733Z] Configure a credential helper to remove this warning. See [2021-05-18T22:58:08.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:58:08.733Z] [2021-05-18T22:58:08.733Z] Login Succeeded [2021-05-18T22:58:08.733Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T22:58:08.742Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-18T22:58:08.806Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-05-18T22:58:08.806Z] 69c81efe40b40196065d751e2d1c999af0ecde18 [2021-05-18T22:58:08.806Z] latest [2021-05-18T22:58:08.806Z] 1.2.2-dev.11 [2021-05-18T22:58:08.806Z] 69c81efe40b40196065d751e2d1c999af0ecde18-1.2.2-dev.11 [2021-05-18T22:58:08.806Z] master [2021-05-18T22:58:08.806Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:58:09.151Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:69c81efe40b40196065d751e2d1c999af0ecde18 [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:58:09.453Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:69c81efe40b40196065d751e2d1c999af0ecde18 [2021-05-18T22:58:09.453Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-18T22:58:09.453Z] 840914d236ed: Preparing [2021-05-18T22:58:09.453Z] 7700006b10fc: Preparing [2021-05-18T22:58:09.453Z] 2610ac5eddef: Preparing [2021-05-18T22:58:09.453Z] 0954de3e8001: Preparing [2021-05-18T22:58:09.453Z] 32f366d666a5: Preparing [2021-05-18T22:58:09.453Z] 32f366d666a5: Layer already exists [2021-05-18T22:58:09.717Z] 840914d236ed: Pushed [2021-05-18T22:58:09.717Z] 0954de3e8001: Pushed [2021-05-18T22:58:09.717Z] 7700006b10fc: Pushed [2021-05-18T22:58:10.318Z] Commit message: "Merge pull request #101 from lenny-intel/service-keys" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-18T22:58:11.105Z] 2610ac5eddef: Pushed [2021-05-18T22:58:11.105Z] 69c81efe40b40196065d751e2d1c999af0ecde18: digest: sha256:cdf9b734da87b2f383e88ee9d56d6974554804f3164c4aa47977c98f1b7967a8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:58:11.506Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:58:11.525Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-18T22:58:11.812Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-05-18T22:58:11.812Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-18T22:58:11.812Z] 840914d236ed: Preparing [2021-05-18T22:58:11.812Z] 7700006b10fc: Preparing [2021-05-18T22:58:11.812Z] 2610ac5eddef: Preparing [2021-05-18T22:58:11.812Z] 0954de3e8001: Preparing [2021-05-18T22:58:11.812Z] 32f366d666a5: Preparing [2021-05-18T22:58:11.812Z] 32f366d666a5: Layer already exists [2021-05-18T22:58:11.812Z] 7700006b10fc: Layer already exists [2021-05-18T22:58:11.812Z] 2610ac5eddef: Layer already exists [2021-05-18T22:58:11.812Z] 840914d236ed: Layer already exists [2021-05-18T22:58:11.812Z] 0954de3e8001: Layer already exists [2021-05-18T22:58:11.812Z] latest: digest: sha256:cdf9b734da87b2f383e88ee9d56d6974554804f3164c4aa47977c98f1b7967a8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:58:11.944Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-18T22:58:12.117Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:58:12.295Z] + sudo service docker restart [2021-05-18T22:58:12.295Z] + true [2021-05-18T22:58:12.422Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.11 [2021-05-18T22:58:12.422Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-18T22:58:12.422Z] 840914d236ed: Preparing [2021-05-18T22:58:12.422Z] 7700006b10fc: Preparing [2021-05-18T22:58:12.422Z] 2610ac5eddef: Preparing [2021-05-18T22:58:12.422Z] 0954de3e8001: Preparing [2021-05-18T22:58:12.422Z] 32f366d666a5: Preparing [2021-05-18T22:58:12.422Z] 840914d236ed: Layer already exists [2021-05-18T22:58:12.422Z] 7700006b10fc: Layer already exists [2021-05-18T22:58:12.422Z] 0954de3e8001: Layer already exists [2021-05-18T22:58:12.422Z] 2610ac5eddef: Layer already exists [2021-05-18T22:58:12.422Z] 32f366d666a5: Layer already exists [2021-05-18T22:58:12.422Z] 1.2.2-dev.11: digest: sha256:cdf9b734da87b2f383e88ee9d56d6974554804f3164c4aa47977c98f1b7967a8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:58:12.735Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:69c81efe40b40196065d751e2d1c999af0ecde18-1.2.2-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:58:13.037Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:69c81efe40b40196065d751e2d1c999af0ecde18-1.2.2-dev.11 [2021-05-18T22:58:13.037Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-18T22:58:13.037Z] 840914d236ed: Preparing [2021-05-18T22:58:13.037Z] 7700006b10fc: Preparing [2021-05-18T22:58:13.037Z] 2610ac5eddef: Preparing [2021-05-18T22:58:13.037Z] 0954de3e8001: Preparing [2021-05-18T22:58:13.037Z] 32f366d666a5: Preparing [2021-05-18T22:58:13.037Z] 0954de3e8001: Layer already exists [2021-05-18T22:58:13.037Z] 32f366d666a5: Layer already exists [2021-05-18T22:58:13.037Z] 840914d236ed: Layer already exists [2021-05-18T22:58:13.037Z] 2610ac5eddef: Layer already exists [2021-05-18T22:58:13.037Z] 7700006b10fc: Layer already exists [2021-05-18T22:58:13.037Z] 69c81efe40b40196065d751e2d1c999af0ecde18-1.2.2-dev.11: digest: sha256:cdf9b734da87b2f383e88ee9d56d6974554804f3164c4aa47977c98f1b7967a8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:58:13.342Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:58:13.643Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:master [2021-05-18T22:58:13.643Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-18T22:58:13.643Z] 840914d236ed: Preparing [2021-05-18T22:58:13.643Z] 7700006b10fc: Preparing [2021-05-18T22:58:13.643Z] 2610ac5eddef: Preparing [2021-05-18T22:58:13.643Z] 0954de3e8001: Preparing [2021-05-18T22:58:13.643Z] 32f366d666a5: Preparing [2021-05-18T22:58:13.643Z] 32f366d666a5: Layer already exists [2021-05-18T22:58:13.643Z] 7700006b10fc: Layer already exists [2021-05-18T22:58:13.643Z] 840914d236ed: Layer already exists [2021-05-18T22:58:13.643Z] 2610ac5eddef: Layer already exists [2021-05-18T22:58:13.643Z] 0954de3e8001: Layer already exists [2021-05-18T22:58:13.643Z] master: digest: sha256:cdf9b734da87b2f383e88ee9d56d6974554804f3164c4aa47977c98f1b7967a8 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-18T22:58:13.701Z] ===================================================== [Pipeline] echo [2021-05-18T22:58:13.718Z] taggedImages: [2021-05-18T22:58:13.718Z] - nexus3.edgexfoundry.org:10004/device-rest:69c81efe40b40196065d751e2d1c999af0ecde18 [2021-05-18T22:58:13.718Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-05-18T22:58:13.718Z] - nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.11 [2021-05-18T22:58:13.718Z] - nexus3.edgexfoundry.org:10004/device-rest:69c81efe40b40196065d751e2d1c999af0ecde18-1.2.2-dev.11 [2021-05-18T22:58:13.718Z] - nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-18T22:58:14.292Z] ---> job-cost.sh [2021-05-18T22:58:14.292Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Psdb [2021-05-18T22:58:24.321Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T22:58:30.654Z] provisioning config files... [2021-05-18T22:58:30.679Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/44@tmp/config3756939370923103670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T22:58:31.055Z] ---> docker-login.sh [2021-05-18T22:58:31.055Z] nexus3.edgexfoundry.org:10001 [2021-05-18T22:58:32.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:58:32.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:58:32.317Z] Configure a credential helper to remove this warning. See [2021-05-18T22:58:32.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:58:32.317Z] [2021-05-18T22:58:32.317Z] Login Succeeded [2021-05-18T22:58:32.317Z] nexus3.edgexfoundry.org:10002 [2021-05-18T22:58:32.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:58:32.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:58:32.863Z] Configure a credential helper to remove this warning. See [2021-05-18T22:58:32.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:58:32.863Z] [2021-05-18T22:58:32.863Z] Login Succeeded [2021-05-18T22:58:32.863Z] nexus3.edgexfoundry.org:10003 [2021-05-18T22:58:33.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:58:33.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:58:33.137Z] Configure a credential helper to remove this warning. See [2021-05-18T22:58:33.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:58:33.137Z] [2021-05-18T22:58:33.137Z] Login Succeeded [2021-05-18T22:58:33.137Z] nexus3.edgexfoundry.org:10004 [2021-05-18T22:58:33.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:58:33.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:58:33.737Z] Configure a credential helper to remove this warning. See [2021-05-18T22:58:33.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:58:33.737Z] [2021-05-18T22:58:33.737Z] Login Succeeded [2021-05-18T22:58:33.737Z] docker.io [2021-05-18T22:58:34.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:58:34.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:58:34.619Z] Configure a credential helper to remove this warning. See [2021-05-18T22:58:34.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:58:34.619Z] [2021-05-18T22:58:34.619Z] Login Succeeded [2021-05-18T22:58:34.619Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T22:58:34.637Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-18T22:58:34.916Z] ========================================================= [2021-05-18T22:58:34.916Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-18T22:58:34.916Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:58:35.277Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-18T22:58:35.277Z] Sending build context to Docker daemon 92.16kB [2021-05-18T22:58:35.553Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-18T22:58:35.553Z] Step 2/10 : FROM ${BASE} [2021-05-18T22:58:35.828Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-18T22:58:35.828Z] 595b0fe564bb: Pulling fs layer [2021-05-18T22:58:35.828Z] 7186ed65a4f7: Pulling fs layer [2021-05-18T22:58:35.828Z] 316046926c0a: Pulling fs layer [2021-05-18T22:58:35.828Z] 4ebd0625c992: Pulling fs layer [2021-05-18T22:58:35.828Z] 207e8628e3a3: Pulling fs layer [2021-05-18T22:58:35.828Z] c791037a9be2: Pulling fs layer [2021-05-18T22:58:35.828Z] ffd874e62e21: Pulling fs layer [2021-05-18T22:58:35.828Z] 207e8628e3a3: Waiting [2021-05-18T22:58:35.828Z] c791037a9be2: Waiting [2021-05-18T22:58:35.828Z] ffd874e62e21: Waiting [2021-05-18T22:58:35.828Z] 4ebd0625c992: Waiting [2021-05-18T22:58:35.828Z] 316046926c0a: Download complete [2021-05-18T22:58:35.828Z] 7186ed65a4f7: Download complete [2021-05-18T22:58:35.828Z] 207e8628e3a3: Download complete [2021-05-18T22:58:35.828Z] c791037a9be2: Download complete [2021-05-18T22:58:35.828Z] 595b0fe564bb: Verifying Checksum [2021-05-18T22:58:35.828Z] 595b0fe564bb: Download complete [2021-05-18T22:58:36.598Z] lf-activate-venv(): INFO: Adding /tmp/venv-Psdb/bin to PATH [2021-05-18T22:58:36.598Z] INFO: No Stack... [2021-05-18T22:58:36.815Z] 595b0fe564bb: Pull complete [2021-05-18T22:58:37.169Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-18T22:58:37.417Z] 7186ed65a4f7: Pull complete [2021-05-18T22:58:37.692Z] 316046926c0a: Pull complete [2021-05-18T22:58:37.739Z] INFO: Archiving Costs [Pipeline] sh [2021-05-18T22:58:38.045Z] + cut -d, -f6 [2021-05-18T22:58:38.045Z] + cat /w/workspace/device-rest-go/44/archives/cost.csv [Pipeline] lock [2021-05-18T22:58:38.088Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-44-stack-cost] [2021-05-18T22:58:38.097Z] Resource [jenkins-edgexfoundry-device-rest-go-master-44-stack-cost] did not exist. Created. [2021-05-18T22:58:38.097Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-18T22:58:38.419Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-18T22:58:38.506Z] Stashed 1 file(s) [Pipeline] } [2021-05-18T22:58:38.518Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-44-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-05-18T22:58:38.675Z] ffd874e62e21: Verifying Checksum [2021-05-18T22:58:38.675Z] ffd874e62e21: Download complete [Pipeline] // stage [Pipeline] } [2021-05-18T22:58:39.281Z] 4ebd0625c992: Download complete [2021-05-18T22:58:51.680Z] 4ebd0625c992: Pull complete [2021-05-18T22:58:51.680Z] 207e8628e3a3: Pull complete [2021-05-18T22:58:51.680Z] c791037a9be2: Pull complete [2021-05-18T22:58:54.302Z] ffd874e62e21: Pull complete [2021-05-18T22:58:54.302Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-18T22:58:54.302Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-18T22:58:54.302Z] ---> cfc18b08335c [2021-05-18T22:58:54.302Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-18T22:58:55.744Z] ---> Running in 6e84c9e5e656 [2021-05-18T22:58:56.346Z] Removing intermediate container 6e84c9e5e656 [2021-05-18T22:58:56.346Z] ---> 39ff5dcc0da0 [2021-05-18T22:58:56.346Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-18T22:58:56.346Z] ---> Running in f52d38161445 [2021-05-18T22:58:56.955Z] Removing intermediate container f52d38161445 [2021-05-18T22:58:56.955Z] ---> c2c6914ab68f [2021-05-18T22:58:56.955Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-18T22:58:56.955Z] ---> Running in 26e5f4922ab8 [2021-05-18T22:58:57.572Z] Removing intermediate container 26e5f4922ab8 [2021-05-18T22:58:57.572Z] ---> 06e8011de399 [2021-05-18T22:58:57.572Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-18T22:58:57.572Z] ---> Running in bdcfa0226ec2 [2021-05-18T22:59:00.195Z] Removing intermediate container bdcfa0226ec2 [2021-05-18T22:59:00.195Z] ---> 60f3af04eb19 [2021-05-18T22:59:00.195Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-18T22:59:00.195Z] ---> Running in 102898dbbac2 [2021-05-18T22:59:01.168Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-18T22:59:02.185Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-18T22:59:03.612Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-18T22:59:03.612Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-18T22:59:03.885Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-18T22:59:03.885Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-18T22:59:03.885Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-18T22:59:04.157Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-18T22:59:04.157Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-18T22:59:04.430Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-18T22:59:04.702Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-18T22:59:04.702Z] Executing busybox-1.32.1-r6.trigger [2021-05-18T22:59:04.702Z] OK: 144 MiB in 49 packages [2021-05-18T22:59:06.140Z] Removing intermediate container 102898dbbac2 [2021-05-18T22:59:06.141Z] ---> c815b9e8fbcc [2021-05-18T22:59:06.141Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-18T22:59:06.141Z] ---> Running in a0f369cd25fb [2021-05-18T22:59:06.749Z] Removing intermediate container a0f369cd25fb [2021-05-18T22:59:06.749Z] ---> ef3d92e4fcc7 [2021-05-18T22:59:06.749Z] Step 9/10 : COPY . . [2021-05-18T22:59:07.361Z] ---> 0c587150c0b8 [2021-05-18T22:59:07.361Z] Step 10/10 : RUN go mod download [2021-05-18T22:59:07.636Z] ---> Running in 32d612a90734 [2021-05-18T22:59:34.440Z] Removing intermediate container 32d612a90734 [2021-05-18T22:59:34.440Z] ---> 0fc8537f4677 [2021-05-18T22:59:34.440Z] Successfully built 0fc8537f4677 [2021-05-18T22:59:34.440Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:59:34.787Z] + docker inspect -f . ci-base-image-arm64 [2021-05-18T22:59:34.787Z] . [Pipeline] withDockerContainer [2021-05-18T22:59:35.248Z] prd-ubuntu18.04-docker-arm64-4c-16g-14877 does not seem to be running inside a container [2021-05-18T22:59:35.388Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/44 -v /w/workspace/device-rest-go/44:/w/workspace/device-rest-go/44:rw,z -v /w/workspace/device-rest-go/44@tmp:/w/workspace/device-rest-go/44@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-18T22:59:37.080Z] $ docker top b8be365927626e9a50fc1b976e8c3f43ea839cea9ee9a698100eedaab5a9c9e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-18T22:59:38.062Z] + go version [2021-05-18T22:59:38.062Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-18T22:59:38.088Z] $ docker stop --time=1 b8be365927626e9a50fc1b976e8c3f43ea839cea9ee9a698100eedaab5a9c9e9 [2021-05-18T22:59:39.973Z] $ docker rm -f b8be365927626e9a50fc1b976e8c3f43ea839cea9ee9a698100eedaab5a9c9e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:59:40.799Z] + docker inspect -f . ci-base-image-arm64 [2021-05-18T22:59:40.799Z] . [Pipeline] withDockerContainer [2021-05-18T22:59:41.024Z] prd-ubuntu18.04-docker-arm64-4c-16g-14877 does not seem to be running inside a container [2021-05-18T22:59:41.108Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/44 -v /w/workspace/device-rest-go/44:/w/workspace/device-rest-go/44:rw,z -v /w/workspace/device-rest-go/44@tmp:/w/workspace/device-rest-go/44@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-18T22:59:42.658Z] $ docker top c49e2ad3dd6d540ab6509a716abbb6e4036e07034e5e1a9732257f5040143b39 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-18T22:59:43.586Z] + go mod tidy [Pipeline] sh [2021-05-18T22:59:44.846Z] + make test [2021-05-18T22:59:44.846Z] go mod tidy [2021-05-18T22:59:45.131Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-18T22:59:46.567Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-18T23:00:43.179Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-18T23:00:43.179Z] ok github.com/edgexfoundry/device-rest-go/driver 0.050s coverage: 54.0% of statements [2021-05-18T23:00:43.179Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-18T23:01:05.364Z] gofmt -l . [2021-05-18T23:01:05.364Z] [ "`gofmt -l .`" = "" ] [2021-05-18T23:01:05.364Z] ./bin/test-go-mod-tidy.sh [2021-05-18T23:01:05.637Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-18T23:01:07.638Z] $ docker stop --time=1 c49e2ad3dd6d540ab6509a716abbb6e4036e07034e5e1a9732257f5040143b39 [2021-05-18T23:01:09.688Z] $ docker rm -f c49e2ad3dd6d540ab6509a716abbb6e4036e07034e5e1a9732257f5040143b39 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-18T23:01:10.618Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-18T23:01:10.643Z] Warning: overwriting stash ‘coverage-report’ [2021-05-18T23:01:11.134Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-18T23:01:11.676Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-18T23:01:12.013Z] + ls -al . [2021-05-18T23:01:12.013Z] total 132 [2021-05-18T23:01:12.013Z] drwxrwxr-x 8 jenkins jenkins 4096 May 18 23:01 . [2021-05-18T23:01:12.013Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 22:58 .. [2021-05-18T23:01:12.013Z] -rw-rw-r-- 1 jenkins jenkins 151 May 18 22:58 .dockerignore [2021-05-18T23:01:12.013Z] drwxrwxr-x 8 jenkins jenkins 4096 May 18 22:58 .git [2021-05-18T23:01:12.013Z] drwxrwxr-x 2 jenkins jenkins 4096 May 18 22:58 .github [2021-05-18T23:01:12.013Z] -rw-rw-r-- 1 jenkins jenkins 336 May 18 22:58 .gitignore [2021-05-18T23:01:12.013Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 18 22:58 Attribution.txt [2021-05-18T23:01:12.013Z] -rw-rw-r-- 1 jenkins jenkins 1615 May 18 22:58 Dockerfile [2021-05-18T23:01:12.013Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 18 22:58 Dockerfile.build [2021-05-18T23:01:12.013Z] -rw-rw-r-- 1 jenkins jenkins 680 May 18 22:58 Jenkinsfile [2021-05-18T23:01:12.013Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 18 22:58 LICENSE [2021-05-18T23:01:12.013Z] -rw-rw-r-- 1 jenkins jenkins 996 May 18 22:58 Makefile [2021-05-18T23:01:12.013Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 18 22:58 README.md [2021-05-18T23:01:12.013Z] -rw-rw-r-- 1 jenkins jenkins 12 May 18 22:55 VERSION [2021-05-18T23:01:12.013Z] drwxrwxr-x 2 jenkins jenkins 4096 May 18 22:58 bin [2021-05-18T23:01:12.013Z] drwxrwxr-x 3 jenkins jenkins 4096 May 18 22:58 cmd [2021-05-18T23:01:12.013Z] -rw-r--r-- 1 jenkins jenkins 8513 May 18 23:00 coverage.out [2021-05-18T23:01:12.013Z] drwxrwxr-x 2 jenkins jenkins 4096 May 18 22:58 driver [2021-05-18T23:01:12.013Z] -rw-r--r-- 1 jenkins jenkins 285 May 18 23:01 go.mod [2021-05-18T23:01:12.013Z] -rw-r--r-- 1 jenkins jenkins 21177 May 18 22:59 go.sum [2021-05-18T23:01:12.013Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 22:58 snap [2021-05-18T23:01:12.013Z] -rw-rw-r-- 1 jenkins jenkins 713 May 18 22:58 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:01:12.375Z] + 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=69c81efe40b40196065d751e2d1c999af0ecde18 --label arch=arm64 --label version=1.2.2-dev.11 . [2021-05-18T23:01:12.375Z] Sending build context to Docker daemon 101.9kB [2021-05-18T23:01:12.654Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-18T23:01:12.654Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-18T23:01:12.654Z] ---> 0fc8537f4677 [2021-05-18T23:01:12.654Z] Step 3/25 : ARG MAKE='make build' [2021-05-18T23:01:12.929Z] ---> Running in 603e9017a3f1 [2021-05-18T23:01:13.528Z] Removing intermediate container 603e9017a3f1 [2021-05-18T23:01:13.528Z] ---> b1034cfa4c51 [2021-05-18T23:01:13.528Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-18T23:01:13.528Z] ---> Running in 802d642eb31b [2021-05-18T23:01:14.127Z] Removing intermediate container 802d642eb31b [2021-05-18T23:01:14.127Z] ---> b24ee988599f [2021-05-18T23:01:14.127Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-18T23:01:14.127Z] ---> Running in 17e234445a6a [2021-05-18T23:01:14.727Z] Removing intermediate container 17e234445a6a [2021-05-18T23:01:14.727Z] ---> 05814ed12e29 [2021-05-18T23:01:14.727Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-18T23:01:14.727Z] ---> Running in 27ba18d74518 [2021-05-18T23:01:17.354Z] Removing intermediate container 27ba18d74518 [2021-05-18T23:01:17.354Z] ---> 599e3a97b773 [2021-05-18T23:01:17.354Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-18T23:01:17.354Z] ---> Running in a36a5549620c [2021-05-18T23:01:18.341Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-18T23:01:19.319Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-18T23:01:20.301Z] OK: 144 MiB in 49 packages [2021-05-18T23:01:21.287Z] Removing intermediate container a36a5549620c [2021-05-18T23:01:21.287Z] ---> c68267ba2013 [2021-05-18T23:01:21.287Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-18T23:01:21.562Z] ---> Running in 3da4556eab95 [2021-05-18T23:01:22.170Z] Removing intermediate container 3da4556eab95 [2021-05-18T23:01:22.170Z] ---> 1d3d6647a050 [2021-05-18T23:01:22.170Z] Step 9/25 : COPY . . [2021-05-18T23:01:22.764Z] ---> 778131ce28fd [2021-05-18T23:01:22.764Z] Step 10/25 : RUN go mod tidy [2021-05-18T23:01:23.040Z] ---> Running in c274a3d1529b [2021-05-18T23:01:25.666Z] Removing intermediate container c274a3d1529b [2021-05-18T23:01:25.666Z] ---> a011bf6527d3 [2021-05-18T23:01:25.666Z] Step 11/25 : RUN make update [2021-05-18T23:01:25.666Z] ---> Running in ef6757d43499 [2021-05-18T23:01:26.648Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-18T23:01:28.084Z] Removing intermediate container ef6757d43499 [2021-05-18T23:01:28.084Z] ---> 56d8ade9eddf [2021-05-18T23:01:28.084Z] Step 12/25 : RUN $MAKE [2021-05-18T23:01:28.084Z] ---> Running in 7764e385103c [2021-05-18T23:01:29.531Z] go mod tidy [2021-05-18T23:01:29.805Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.11" -o cmd/device-rest ./cmd [2021-05-18T23:02:08.868Z] Removing intermediate container 7764e385103c [2021-05-18T23:02:08.868Z] ---> 20e8b98db7a0 [2021-05-18T23:02:08.868Z] Step 13/25 : FROM alpine:3.12 [2021-05-18T23:02:08.868Z] 3.12: Pulling from library/alpine [2021-05-18T23:02:08.868Z] d2f70382dc9a: Pulling fs layer [2021-05-18T23:02:08.868Z] d2f70382dc9a: Verifying Checksum [2021-05-18T23:02:08.868Z] d2f70382dc9a: Download complete [2021-05-18T23:02:09.466Z] d2f70382dc9a: Pull complete [2021-05-18T23:02:09.466Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-18T23:02:09.466Z] Status: Downloaded newer image for alpine:3.12 [2021-05-18T23:02:09.466Z] ---> 9852663dfa18 [2021-05-18T23:02:09.466Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-18T23:02:09.743Z] ---> Running in 6d197c0fe706 [2021-05-18T23:02:10.339Z] Removing intermediate container 6d197c0fe706 [2021-05-18T23:02:10.339Z] ---> ccb980e515e5 [2021-05-18T23:02:10.339Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-18T23:02:10.617Z] ---> Running in 4c0209a488ac [2021-05-18T23:02:10.890Z] Removing intermediate container 4c0209a488ac [2021-05-18T23:02:10.890Z] ---> cdf6928e088a [2021-05-18T23:02:10.890Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-18T23:02:11.163Z] ---> Running in 80fe4fdce373 [2021-05-18T23:02:12.602Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-18T23:02:12.602Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-18T23:02:13.198Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-18T23:02:13.198Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-18T23:02:13.198Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-18T23:02:13.198Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-18T23:02:13.198Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-18T23:02:13.198Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-18T23:02:13.198Z] Executing busybox-1.31.1-r20.trigger [2021-05-18T23:02:13.198Z] OK: 8 MiB in 20 packages [2021-05-18T23:02:14.663Z] Removing intermediate container 80fe4fdce373 [2021-05-18T23:02:14.663Z] ---> 673368bf7843 [2021-05-18T23:02:14.663Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-18T23:02:16.092Z] ---> bef381296d41 [2021-05-18T23:02:16.092Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-18T23:02:16.689Z] ---> 7c9967e958b4 [2021-05-18T23:02:16.689Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-18T23:02:17.283Z] ---> edf300703075 [2021-05-18T23:02:17.283Z] Step 20/25 : EXPOSE 49986 [2021-05-18T23:02:17.557Z] ---> Running in 949c18ceabea [2021-05-18T23:02:18.152Z] Removing intermediate container 949c18ceabea [2021-05-18T23:02:18.152Z] ---> b4c655959d0f [2021-05-18T23:02:18.152Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-18T23:02:18.152Z] ---> Running in 1060083cef6f [2021-05-18T23:02:18.749Z] Removing intermediate container 1060083cef6f [2021-05-18T23:02:18.749Z] ---> 6b32c6e66ec2 [2021-05-18T23:02:18.749Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-18T23:02:18.749Z] ---> Running in e99105d986f6 [2021-05-18T23:02:19.347Z] Removing intermediate container e99105d986f6 [2021-05-18T23:02:19.347Z] ---> 050de186ad20 [2021-05-18T23:02:19.347Z] Step 23/25 : LABEL arch=arm64 [2021-05-18T23:02:19.347Z] ---> Running in 4c18fda68964 [2021-05-18T23:02:19.946Z] Removing intermediate container 4c18fda68964 [2021-05-18T23:02:19.946Z] ---> e835d30de3d4 [2021-05-18T23:02:19.946Z] Step 24/25 : LABEL git_sha=69c81efe40b40196065d751e2d1c999af0ecde18 [2021-05-18T23:02:19.946Z] ---> Running in eca71d0d6709 [2021-05-18T23:02:20.542Z] Removing intermediate container eca71d0d6709 [2021-05-18T23:02:20.542Z] ---> da35cd70d863 [2021-05-18T23:02:20.542Z] Step 25/25 : LABEL version=1.2.2-dev.11 [2021-05-18T23:02:20.542Z] ---> Running in 496d88f416b6 [2021-05-18T23:02:21.136Z] Removing intermediate container 496d88f416b6 [2021-05-18T23:02:21.136Z] ---> 39ed51fbedf8 [2021-05-18T23:02:21.136Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-18T23:02:21.136Z] Successfully built 39ed51fbedf8 [2021-05-18T23:02:21.136Z] 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-05-18T23:02:21.345Z] provisioning config files... [2021-05-18T23:02:21.366Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/44@tmp/config7687775455967631739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:02:21.733Z] ---> docker-login.sh [2021-05-18T23:02:21.733Z] nexus3.edgexfoundry.org:10001 [2021-05-18T23:02:22.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T23:02:22.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T23:02:22.018Z] Configure a credential helper to remove this warning. See [2021-05-18T23:02:22.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T23:02:22.018Z] [2021-05-18T23:02:22.018Z] Login Succeeded [2021-05-18T23:02:22.018Z] nexus3.edgexfoundry.org:10002 [2021-05-18T23:02:22.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T23:02:22.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T23:02:22.610Z] Configure a credential helper to remove this warning. See [2021-05-18T23:02:22.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T23:02:22.610Z] [2021-05-18T23:02:22.610Z] Login Succeeded [2021-05-18T23:02:22.610Z] nexus3.edgexfoundry.org:10003 [2021-05-18T23:02:23.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T23:02:23.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T23:02:23.209Z] Configure a credential helper to remove this warning. See [2021-05-18T23:02:23.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T23:02:23.210Z] [2021-05-18T23:02:23.210Z] Login Succeeded [2021-05-18T23:02:23.210Z] nexus3.edgexfoundry.org:10004 [2021-05-18T23:02:23.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T23:02:23.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T23:02:23.805Z] Configure a credential helper to remove this warning. See [2021-05-18T23:02:23.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T23:02:23.805Z] [2021-05-18T23:02:23.805Z] Login Succeeded [2021-05-18T23:02:23.805Z] docker.io [2021-05-18T23:02:24.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T23:02:24.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T23:02:24.673Z] Configure a credential helper to remove this warning. See [2021-05-18T23:02:24.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T23:02:24.673Z] [2021-05-18T23:02:24.673Z] Login Succeeded [2021-05-18T23:02:24.673Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T23:02:24.691Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-18T23:02:24.761Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-05-18T23:02:24.762Z] 69c81efe40b40196065d751e2d1c999af0ecde18 [2021-05-18T23:02:24.762Z] latest [2021-05-18T23:02:24.762Z] 1.2.2-dev.11 [2021-05-18T23:02:24.762Z] 69c81efe40b40196065d751e2d1c999af0ecde18-1.2.2-dev.11 [2021-05-18T23:02:24.762Z] master [2021-05-18T23:02:24.762Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:02:25.145Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:69c81efe40b40196065d751e2d1c999af0ecde18 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:02:25.488Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:69c81efe40b40196065d751e2d1c999af0ecde18 [2021-05-18T23:02:25.488Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-18T23:02:25.488Z] 8f97d7d11adb: Preparing [2021-05-18T23:02:25.488Z] 9bfbb7aa9a93: Preparing [2021-05-18T23:02:25.488Z] 475063a6eef4: Preparing [2021-05-18T23:02:25.488Z] 9bfff21c4e79: Preparing [2021-05-18T23:02:25.488Z] 3fbe34a1663b: Preparing [2021-05-18T23:02:25.763Z] 3fbe34a1663b: Layer already exists [2021-05-18T23:02:25.764Z] 9bfbb7aa9a93: Pushed [2021-05-18T23:02:25.764Z] 8f97d7d11adb: Pushed [2021-05-18T23:02:26.363Z] 9bfff21c4e79: Pushed [2021-05-18T23:02:28.974Z] 475063a6eef4: Pushed [2021-05-18T23:02:28.974Z] 69c81efe40b40196065d751e2d1c999af0ecde18: digest: sha256:e073c25a8655b4f353b19daa52fc8a2b6fc6578907dccf99ee727109e88ac001 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:02:29.330Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:02:29.671Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-05-18T23:02:29.671Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-18T23:02:29.671Z] 8f97d7d11adb: Preparing [2021-05-18T23:02:29.671Z] 9bfbb7aa9a93: Preparing [2021-05-18T23:02:29.671Z] 475063a6eef4: Preparing [2021-05-18T23:02:29.671Z] 9bfff21c4e79: Preparing [2021-05-18T23:02:29.671Z] 3fbe34a1663b: Preparing [2021-05-18T23:02:29.671Z] 8f97d7d11adb: Layer already exists [2021-05-18T23:02:29.671Z] 3fbe34a1663b: Layer already exists [2021-05-18T23:02:29.671Z] 475063a6eef4: Layer already exists [2021-05-18T23:02:29.671Z] 9bfff21c4e79: Layer already exists [2021-05-18T23:02:29.671Z] 9bfbb7aa9a93: Layer already exists [2021-05-18T23:02:29.946Z] latest: digest: sha256:e073c25a8655b4f353b19daa52fc8a2b6fc6578907dccf99ee727109e88ac001 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:02:30.293Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:02:30.636Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.11 [2021-05-18T23:02:30.636Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-18T23:02:30.636Z] 8f97d7d11adb: Preparing [2021-05-18T23:02:30.636Z] 9bfbb7aa9a93: Preparing [2021-05-18T23:02:30.636Z] 475063a6eef4: Preparing [2021-05-18T23:02:30.636Z] 9bfff21c4e79: Preparing [2021-05-18T23:02:30.636Z] 3fbe34a1663b: Preparing [2021-05-18T23:02:30.636Z] 9bfbb7aa9a93: Layer already exists [2021-05-18T23:02:30.636Z] 3fbe34a1663b: Layer already exists [2021-05-18T23:02:30.636Z] 475063a6eef4: Layer already exists [2021-05-18T23:02:30.636Z] 9bfff21c4e79: Layer already exists [2021-05-18T23:02:30.636Z] 8f97d7d11adb: Layer already exists [2021-05-18T23:02:30.911Z] 1.2.2-dev.11: digest: sha256:e073c25a8655b4f353b19daa52fc8a2b6fc6578907dccf99ee727109e88ac001 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:02:31.261Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:69c81efe40b40196065d751e2d1c999af0ecde18-1.2.2-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:02:31.604Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:69c81efe40b40196065d751e2d1c999af0ecde18-1.2.2-dev.11 [2021-05-18T23:02:31.604Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-18T23:02:31.604Z] 8f97d7d11adb: Preparing [2021-05-18T23:02:31.604Z] 9bfbb7aa9a93: Preparing [2021-05-18T23:02:31.604Z] 475063a6eef4: Preparing [2021-05-18T23:02:31.604Z] 9bfff21c4e79: Preparing [2021-05-18T23:02:31.604Z] 3fbe34a1663b: Preparing [2021-05-18T23:02:31.604Z] 3fbe34a1663b: Layer already exists [2021-05-18T23:02:31.604Z] 9bfff21c4e79: Layer already exists [2021-05-18T23:02:31.604Z] 8f97d7d11adb: Layer already exists [2021-05-18T23:02:31.604Z] 9bfbb7aa9a93: Layer already exists [2021-05-18T23:02:31.604Z] 475063a6eef4: Layer already exists [2021-05-18T23:02:31.879Z] 69c81efe40b40196065d751e2d1c999af0ecde18-1.2.2-dev.11: digest: sha256:e073c25a8655b4f353b19daa52fc8a2b6fc6578907dccf99ee727109e88ac001 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:02:32.226Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:02:32.575Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:master [2021-05-18T23:02:32.576Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-18T23:02:32.576Z] 8f97d7d11adb: Preparing [2021-05-18T23:02:32.576Z] 9bfbb7aa9a93: Preparing [2021-05-18T23:02:32.576Z] 475063a6eef4: Preparing [2021-05-18T23:02:32.576Z] 9bfff21c4e79: Preparing [2021-05-18T23:02:32.576Z] 3fbe34a1663b: Preparing [2021-05-18T23:02:32.849Z] 9bfbb7aa9a93: Layer already exists [2021-05-18T23:02:32.850Z] 8f97d7d11adb: Layer already exists [2021-05-18T23:02:32.850Z] 3fbe34a1663b: Layer already exists [2021-05-18T23:02:32.850Z] 9bfff21c4e79: Layer already exists [2021-05-18T23:02:32.850Z] 475063a6eef4: Layer already exists [2021-05-18T23:02:32.850Z] master: digest: sha256:e073c25a8655b4f353b19daa52fc8a2b6fc6578907dccf99ee727109e88ac001 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-18T23:02:32.914Z] ===================================================== [Pipeline] echo [2021-05-18T23:02:32.929Z] taggedImages: [2021-05-18T23:02:32.929Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:69c81efe40b40196065d751e2d1c999af0ecde18 [2021-05-18T23:02:32.929Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-05-18T23:02:32.929Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.11 [2021-05-18T23:02:32.929Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:69c81efe40b40196065d751e2d1c999af0ecde18-1.2.2-dev.11 [2021-05-18T23:02:32.929Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:02:33.419Z] ---> job-cost.sh [2021-05-18T23:02:33.419Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Wt4W [2021-05-18T23:03:29.919Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-18T23:05:21.693Z] lf-activate-venv(): INFO: Adding /tmp/venv-Wt4W/bin to PATH [2021-05-18T23:05:21.694Z] INFO: No Stack... [2021-05-18T23:05:21.694Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-18T23:05:21.694Z] INFO: Archiving Costs [Pipeline] sh [2021-05-18T23:05:22.033Z] + cut -d, -f6 [2021-05-18T23:05:22.033Z] + cat /w/workspace/device-rest-go/44/archives/cost.csv [Pipeline] lock [2021-05-18T23:05:22.109Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-44-stack-cost] [2021-05-18T23:05:22.120Z] Resource [jenkins-edgexfoundry-device-rest-go-master-44-stack-cost] did not exist. Created. [2021-05-18T23:05:22.120Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-18T23:05:22.492Z] /w/workspace/device-rest-go/44@tmp/durable-25904d0e/script.sh: 1: /w/workspace/device-rest-go/44@tmp/durable-25904d0e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-18T23:05:22.850Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-18T23:05:22.875Z] Warning: overwriting stash ‘stack-cost’ [2021-05-18T23:05:23.103Z] Stashed 1 file(s) [Pipeline] } [2021-05-18T23:05:23.123Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-44-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-05-18T23:05:23.696Z] provisioning config files... [2021-05-18T23:05:23.706Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1672119171257495596tmp [Pipeline] { [Pipeline] sh [2021-05-18T23:05:24.035Z] + set +x [2021-05-18T23:05:24.035Z] + bash -s -- [2021-05-18T23:05:24.035Z] + curl -s https://codecov.io/bash [2021-05-18T23:05:24.035Z] [2021-05-18T23:05:24.035Z] _____ _ [2021-05-18T23:05:24.035Z] / ____| | | [2021-05-18T23:05:24.035Z] | | ___ __| | ___ ___ _____ __ [2021-05-18T23:05:24.035Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-18T23:05:24.035Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-18T23:05:24.035Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-18T23:05:24.035Z] Bash-1.0.2 [2021-05-18T23:05:24.035Z] [2021-05-18T23:05:24.035Z] [2021-05-18T23:05:24.035Z] ==> git version 2.24.4 found [2021-05-18T23:05:24.035Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-18T23:05:24.035Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-18T23:05:24.035Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-18T23:05:24.035Z] ==> Jenkins CI detected. [2021-05-18T23:05:24.035Z] project root: . [2021-05-18T23:05:24.035Z] --> token set from env [2021-05-18T23:05:24.035Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-18T23:05:24.035Z] ==> Running gcov in . (disable via -X gcov) [2021-05-18T23:05:24.035Z] ==> Python coveragepy not found [2021-05-18T23:05:24.035Z] ==> Searching for coverage reports in: [2021-05-18T23:05:24.035Z] + . [2021-05-18T23:05:24.035Z] -> Found 1 reports [2021-05-18T23:05:24.035Z] ==> Detecting git/mercurial file structure [2021-05-18T23:05:24.035Z] ==> Reading reports [2021-05-18T23:05:24.035Z] + ./coverage.out bytes=8513 [2021-05-18T23:05:24.035Z] ==> Appending adjustments [2021-05-18T23:05:24.035Z] https://docs.codecov.io/docs/fixing-reports [2021-05-18T23:05:24.298Z] + Found adjustments [2021-05-18T23:05:24.298Z] ==> Gzipping contents [2021-05-18T23:05:24.298Z] 4.0K /tmp/codecov.Zo7hy6.gz [2021-05-18T23:05:24.298Z] ==> Uploading reports [2021-05-18T23:05:24.298Z] url: https://codecov.io [2021-05-18T23:05:24.298Z] query: branch=master&commit=69c81efe40b40196065d751e2d1c999af0ecde18&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-18T23:05:24.298Z] -> Pinging Codecov [2021-05-18T23:05:24.298Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=69c81efe40b40196065d751e2d1c999af0ecde18&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-18T23:05:24.558Z] -> Uploading to [2021-05-18T23:05:24.558Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-18/4E5D53B4F1F92C436F7061BF334D961C/69c81efe40b40196065d751e2d1c999af0ecde18/816134fa-3a50-4510-86fc-16df1518c7d1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210518%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210518T230524Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bce03742e049c996d330be22bc4e868e77130748dad82a846c5723397a07a0a9 [2021-05-18T23:05:24.558Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-18T23:05:24.558Z] Dload Upload Total Spent Left Speed [2021-05-18T23:05:25.128Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3274 --:--:-- --:--:-- --:--:-- 3281 [2021-05-18T23:05:25.128Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/69c81efe40b40196065d751e2d1c999af0ecde18 [Pipeline] } [2021-05-18T23:05:25.141Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-18T23:05:25.446Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-18T23:05:25.471Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:05:25.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-18T23:05:25.778Z] [2021-05-18T23:05:25.778Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:05:26.100Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-18T23:05:26.100Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-18T23:05:26.100Z] 188c0c94c7c5: Pulling fs layer [2021-05-18T23:05:26.100Z] 0ef7d3d256c8: Pulling fs layer [2021-05-18T23:05:26.100Z] de9db76c5a1d: Pulling fs layer [2021-05-18T23:05:26.100Z] 0eba1c9be4d2: Pulling fs layer [2021-05-18T23:05:26.100Z] 0d57e429df01: Pulling fs layer [2021-05-18T23:05:26.100Z] 4e4be7b47b0d: Pulling fs layer [2021-05-18T23:05:26.100Z] e1f770b5df2f: Pulling fs layer [2021-05-18T23:05:26.100Z] 85a0685a4137: Pulling fs layer [2021-05-18T23:05:26.100Z] 0d57e429df01: Waiting [2021-05-18T23:05:26.100Z] 4e4be7b47b0d: Waiting [2021-05-18T23:05:26.100Z] e1f770b5df2f: Waiting [2021-05-18T23:05:26.100Z] 85a0685a4137: Waiting [2021-05-18T23:05:26.100Z] 0eba1c9be4d2: Waiting [2021-05-18T23:05:26.100Z] de9db76c5a1d: Verifying Checksum [2021-05-18T23:05:26.100Z] de9db76c5a1d: Download complete [2021-05-18T23:05:26.100Z] 0ef7d3d256c8: Verifying Checksum [2021-05-18T23:05:26.100Z] 0ef7d3d256c8: Download complete [2021-05-18T23:05:26.100Z] 0d57e429df01: Verifying Checksum [2021-05-18T23:05:26.100Z] 0d57e429df01: Download complete [2021-05-18T23:05:26.100Z] 4e4be7b47b0d: Verifying Checksum [2021-05-18T23:05:26.100Z] 4e4be7b47b0d: Download complete [2021-05-18T23:05:26.100Z] 188c0c94c7c5: Verifying Checksum [2021-05-18T23:05:26.100Z] 188c0c94c7c5: Download complete [2021-05-18T23:05:26.363Z] 188c0c94c7c5: Pull complete [2021-05-18T23:05:26.622Z] 0ef7d3d256c8: Pull complete [2021-05-18T23:05:26.622Z] de9db76c5a1d: Pull complete [2021-05-18T23:05:26.885Z] e1f770b5df2f: Verifying Checksum [2021-05-18T23:05:26.886Z] e1f770b5df2f: Download complete [2021-05-18T23:05:28.797Z] 0eba1c9be4d2: Verifying Checksum [2021-05-18T23:05:28.797Z] 0eba1c9be4d2: Download complete [2021-05-18T23:05:29.059Z] 85a0685a4137: Verifying Checksum [2021-05-18T23:05:29.059Z] 85a0685a4137: Download complete [2021-05-18T23:05:31.613Z] 0eba1c9be4d2: Pull complete [2021-05-18T23:05:31.879Z] 0d57e429df01: Pull complete [2021-05-18T23:05:31.879Z] 4e4be7b47b0d: Pull complete [2021-05-18T23:05:32.460Z] e1f770b5df2f: Pull complete [2021-05-18T23:05:37.794Z] 85a0685a4137: Pull complete [2021-05-18T23:05:37.794Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-18T23:05:37.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-18T23:05:37.794Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-18T23:05:37.875Z] prd-centos7-docker-4c-2g-14868 does not seem to be running inside a container [2021-05-18T23:05:37.915Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-18T23:05:38.581Z] $ docker top 77e246ec6126474fc6f722ae24d17fe5cb683eed3a94f9fbbbb83b74c17ff862 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-18T23:05:38.667Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-18T23:05:38.966Z] + set -o pipefail [2021-05-18T23:05:38.966Z] + snyk monitor '--org=edgex-jenkins' [2021-05-18T23:05:48.999Z] [2021-05-18T23:05:48.999Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2021-05-18T23:05:48.999Z] [2021-05-18T23:05:48.999Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/523ea8a7-8f47-4553-869d-65789838dfb8 [2021-05-18T23:05:48.999Z] [2021-05-18T23:05:48.999Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-18T23:05:48.999Z] [2021-05-18T23:05:48.999Z] [Pipeline] } [2021-05-18T23:05:49.015Z] $ docker stop --time=1 77e246ec6126474fc6f722ae24d17fe5cb683eed3a94f9fbbbb83b74c17ff862 [2021-05-18T23:05:50.932Z] $ docker rm -f 77e246ec6126474fc6f722ae24d17fe5cb683eed3a94f9fbbbb83b74c17ff862 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-18T23:05:51.951Z] + git log --format=format:%s -1 69c81efe40b40196065d751e2d1c999af0ecde18 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:05:52.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T23:05:52.258Z] . [Pipeline] withDockerContainer [2021-05-18T23:05:52.335Z] prd-centos7-docker-4c-2g-14868 does not seem to be running inside a container [2021-05-18T23:05:52.381Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-18T23:05:52.723Z] $ docker top 2370e8b418223cb1580bc7a6cc08a966dd9fb79deff0e57c1697373dfee4dd47 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-18T23:05:52.843Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-18T23:05:52.843Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-18T23:05:52.949Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-18T23:05:52.952Z] $ docker exec 2370e8b418223cb1580bc7a6cc08a966dd9fb79deff0e57c1697373dfee4dd47 ssh-agent [2021-05-18T23:05:53.055Z] SSH_AUTH_SOCK=/tmp/ssh-pJ7tHW1h3dhM/agent.14 [2021-05-18T23:05:53.056Z] SSH_AGENT_PID=21 [2021-05-18T23:05:53.061Z] Running ssh-add (command line suppressed) [2021-05-18T23:05:53.150Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1653048807143796684.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1653048807143796684.key) [2021-05-18T23:05:53.165Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-18T23:05:53.472Z] + git semver tag [2021-05-18T23:05:53.472Z] # -> Open(): unable to determine branch for HEAD [2021-05-18T23:05:53.472Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-18T23:05:53.472Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-18T23:05:53.472Z] # $SEMVER_REMOTE_NAME = origin [2021-05-18T23:05:53.472Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-18T23:05:53.472Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-18T23:05:53.472Z] # $SEMVER_BRANCH = master [2021-05-18T23:05:53.472Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-05-18T23:05:53.472Z] # 69c81efe40b40196065d751e2d1c999af0ecde18 HEAD [2021-05-18T23:05:53.472Z] # -> Force: false [2021-05-18T23:05:53.472Z] # 6fea279780d88cb5493e4b4cf82d62954e5eadb4 refs/tags/v1.2.2-dev.11 [Pipeline] } [2021-05-18T23:05:53.482Z] $ docker exec --env ******** --env ******** 2370e8b418223cb1580bc7a6cc08a966dd9fb79deff0e57c1697373dfee4dd47 ssh-agent -k [2021-05-18T23:05:53.583Z] unset SSH_AUTH_SOCK; [2021-05-18T23:05:53.583Z] unset SSH_AGENT_PID; [2021-05-18T23:05:53.583Z] echo Agent pid 21 killed; [2021-05-18T23:05:53.598Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-18T23:05:53.935Z] + git semver [Pipeline] } [2021-05-18T23:05:53.952Z] $ docker stop --time=1 2370e8b418223cb1580bc7a6cc08a966dd9fb79deff0e57c1697373dfee4dd47 [2021-05-18T23:05:55.148Z] $ docker rm -f 2370e8b418223cb1580bc7a6cc08a966dd9fb79deff0e57c1697373dfee4dd47 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:05:55.595Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-18T23:05:55.595Z] [2021-05-18T23:05:55.595Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:05:55.910Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-18T23:05:55.910Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-18T23:05:55.910Z] ab5ef0e58194: Pulling fs layer [2021-05-18T23:05:55.910Z] 9712f1f96733: Pulling fs layer [2021-05-18T23:05:55.910Z] 63f879dbbcfc: Pulling fs layer [2021-05-18T23:05:55.910Z] 0d9ebad4ef96: Pulling fs layer [2021-05-18T23:05:55.910Z] e9a5061849ea: Pulling fs layer [2021-05-18T23:05:55.910Z] d747dcd14b5f: Pulling fs layer [2021-05-18T23:05:55.910Z] 2de7ff778b66: Pulling fs layer [2021-05-18T23:05:55.910Z] e9a5061849ea: Waiting [2021-05-18T23:05:55.910Z] d747dcd14b5f: Waiting [2021-05-18T23:05:55.910Z] 2de7ff778b66: Waiting [2021-05-18T23:05:55.910Z] 0d9ebad4ef96: Waiting [2021-05-18T23:05:55.910Z] 9712f1f96733: Verifying Checksum [2021-05-18T23:05:55.910Z] 9712f1f96733: Download complete [2021-05-18T23:05:57.293Z] 63f879dbbcfc: Verifying Checksum [2021-05-18T23:05:57.293Z] 63f879dbbcfc: Download complete [2021-05-18T23:05:57.293Z] e9a5061849ea: Verifying Checksum [2021-05-18T23:05:57.293Z] e9a5061849ea: Download complete [2021-05-18T23:05:57.293Z] d747dcd14b5f: Verifying Checksum [2021-05-18T23:05:57.293Z] d747dcd14b5f: Download complete [2021-05-18T23:05:57.866Z] 2de7ff778b66: Verifying Checksum [2021-05-18T23:05:57.866Z] 2de7ff778b66: Download complete [2021-05-18T23:05:57.866Z] 0d9ebad4ef96: Verifying Checksum [2021-05-18T23:05:57.866Z] 0d9ebad4ef96: Download complete [2021-05-18T23:05:57.866Z] ab5ef0e58194: Verifying Checksum [2021-05-18T23:05:57.866Z] ab5ef0e58194: Download complete [2021-05-18T23:06:00.451Z] ab5ef0e58194: Pull complete [2021-05-18T23:06:00.451Z] 9712f1f96733: Pull complete [2021-05-18T23:06:01.028Z] 63f879dbbcfc: Pull complete [2021-05-18T23:06:04.371Z] 0d9ebad4ef96: Pull complete [2021-05-18T23:06:04.371Z] e9a5061849ea: Pull complete [2021-05-18T23:06:04.636Z] d747dcd14b5f: Pull complete [2021-05-18T23:06:05.593Z] 2de7ff778b66: Pull complete [2021-05-18T23:06:05.593Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-18T23:06:05.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-18T23:06:05.593Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-18T23:06:05.670Z] prd-centos7-docker-4c-2g-14868 does not seem to be running inside a container [2021-05-18T23:06:05.713Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-18T23:06:10.759Z] $ docker top 22f0fbbd0b6ae80c31c02786da7931f3bfc9cafbee44be0ea3435cdb11c8e25f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-18T23:06:10.860Z] provisioning config files... [2021-05-18T23:06:10.868Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7943343717369257468tmp [2021-05-18T23:06:10.880Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config814973982018526021tmp [2021-05-18T23:06:10.892Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1732196956059964053tmp [Pipeline] { [Pipeline] echo [2021-05-18T23:06:10.912Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:06:11.218Z] ---> sigul-configuration.sh [2021-05-18T23:06:11.218Z] gpg: directory `/root/.gnupg' created [2021-05-18T23:06:11.218Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-18T23:06:11.218Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-18T23:06:11.218Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-18T23:06:11.218Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-18T23:06:11.218Z] gpg: CAST5 encrypted data [2021-05-18T23:06:11.218Z] gpg: encrypted with 1 passphrase [2021-05-18T23:06:11.218Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-18T23:06:11.515Z] + mkdir /home/jenkins [2021-05-18T23:06:11.515Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-18T23:06:11.810Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-05-18T23:06:11.821Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:06:12.114Z] ---> sigul-install.sh [2021-05-18T23:06:16.334Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-18T23:06:16.633Z] + git tag --list [2021-05-18T23:06:16.633Z] v1.0.0 [2021-05-18T23:06:16.633Z] v1.1.0 [2021-05-18T23:06:16.633Z] v1.1.1 [2021-05-18T23:06:16.633Z] v1.1.2 [2021-05-18T23:06:16.633Z] v1.2.0 [2021-05-18T23:06:16.633Z] v1.2.1 [2021-05-18T23:06:16.633Z] v1.2.1-dev.1 [2021-05-18T23:06:16.633Z] v1.2.1-dev.2 [2021-05-18T23:06:16.633Z] v1.2.1-dev.3 [2021-05-18T23:06:16.633Z] v1.2.1-dev.4 [2021-05-18T23:06:16.633Z] v1.2.2-dev.1 [2021-05-18T23:06:16.633Z] v1.2.2-dev.10 [2021-05-18T23:06:16.633Z] v1.2.2-dev.11 [2021-05-18T23:06:16.633Z] v1.2.2-dev.2 [2021-05-18T23:06:16.633Z] v1.2.2-dev.3 [2021-05-18T23:06:16.633Z] v1.2.2-dev.4 [2021-05-18T23:06:16.633Z] v1.2.2-dev.5 [2021-05-18T23:06:16.633Z] v1.2.2-dev.6 [2021-05-18T23:06:16.633Z] v1.2.2-dev.7 [2021-05-18T23:06:16.633Z] v1.2.2-dev.8 [2021-05-18T23:06:16.633Z] v1.2.2-dev.9 [Pipeline] sh [2021-05-18T23:06:16.931Z] + lftools sign git-tag v1.2.2-dev.11 [2021-05-18T23:06:17.506Z] Signing Git tag with Sigul... [2021-05-18T23:06:17.506Z] Signing v1.2.2-dev.11 [Pipeline] echo [2021-05-18T23:06:18.088Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:06:18.393Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-18T23:06:18.402Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-18T23:06:18.432Z] $ docker stop --time=1 22f0fbbd0b6ae80c31c02786da7931f3bfc9cafbee44be0ea3435cdb11c8e25f [2021-05-18T23:06:20.059Z] $ docker rm -f 22f0fbbd0b6ae80c31c02786da7931f3bfc9cafbee44be0ea3435cdb11c8e25f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:06:20.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T23:06:20.706Z] . [Pipeline] withDockerContainer [2021-05-18T23:06:20.786Z] prd-centos7-docker-4c-2g-14868 does not seem to be running inside a container [2021-05-18T23:06:20.827Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-18T23:06:21.175Z] $ docker top 4a45212e696545782171874a7f8dfd773cbed967fdbfcf0cd8b4d402b75b27a4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-18T23:06:21.352Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-18T23:06:21.352Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-18T23:06:21.467Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-18T23:06:21.471Z] $ docker exec 4a45212e696545782171874a7f8dfd773cbed967fdbfcf0cd8b4d402b75b27a4 ssh-agent [2021-05-18T23:06:21.579Z] SSH_AUTH_SOCK=/tmp/ssh-sLR8dSFdcRQu/agent.14 [2021-05-18T23:06:21.579Z] SSH_AGENT_PID=20 [2021-05-18T23:06:21.586Z] Running ssh-add (command line suppressed) [2021-05-18T23:06:21.686Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3634573170163809542.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3634573170163809542.key) [2021-05-18T23:06:21.716Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-18T23:06:22.017Z] + git semver bump pre [2021-05-18T23:06:22.017Z] # -> Open(): unable to determine branch for HEAD [2021-05-18T23:06:22.017Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-18T23:06:22.017Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-18T23:06:22.017Z] # $SEMVER_REMOTE_NAME = origin [2021-05-18T23:06:22.017Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-18T23:06:22.017Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-18T23:06:22.017Z] # $SEMVER_BRANCH = master [2021-05-18T23:06:22.017Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-05-18T23:06:22.017Z] 1.2.2-dev.12 [Pipeline] } [2021-05-18T23:06:22.028Z] $ docker exec --env ******** --env ******** 4a45212e696545782171874a7f8dfd773cbed967fdbfcf0cd8b4d402b75b27a4 ssh-agent -k [2021-05-18T23:06:22.117Z] unset SSH_AUTH_SOCK; [2021-05-18T23:06:22.117Z] unset SSH_AGENT_PID; [2021-05-18T23:06:22.117Z] echo Agent pid 20 killed; [2021-05-18T23:06:22.132Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-18T23:06:22.468Z] + git semver [Pipeline] } [2021-05-18T23:06:22.484Z] $ docker stop --time=1 4a45212e696545782171874a7f8dfd773cbed967fdbfcf0cd8b4d402b75b27a4 [2021-05-18T23:06:23.674Z] $ docker rm -f 4a45212e696545782171874a7f8dfd773cbed967fdbfcf0cd8b4d402b75b27a4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:06:24.056Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T23:06:24.056Z] . [Pipeline] withDockerContainer [2021-05-18T23:06:24.127Z] prd-centos7-docker-4c-2g-14868 does not seem to be running inside a container [2021-05-18T23:06:24.170Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-18T23:06:24.530Z] $ docker top b8e03d3799de89674e197510fa84f134b8b3b5614046aeaec7062103d9e0cacc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-18T23:06:24.649Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-18T23:06:24.649Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-18T23:06:24.756Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-18T23:06:24.760Z] $ docker exec b8e03d3799de89674e197510fa84f134b8b3b5614046aeaec7062103d9e0cacc ssh-agent [2021-05-18T23:06:24.859Z] SSH_AUTH_SOCK=/tmp/ssh-4LH7l1vG9UWb/agent.14 [2021-05-18T23:06:24.859Z] SSH_AGENT_PID=21 [2021-05-18T23:06:24.864Z] Running ssh-add (command line suppressed) [2021-05-18T23:06:24.959Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8991559464971933205.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8991559464971933205.key) [2021-05-18T23:06:24.972Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-18T23:06:25.274Z] + git semver push [2021-05-18T23:06:25.274Z] # -> Open(): unable to determine branch for HEAD [2021-05-18T23:06:25.274Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-18T23:06:25.274Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-18T23:06:25.274Z] # $SEMVER_REMOTE_NAME = origin [2021-05-18T23:06:25.274Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-18T23:06:25.274Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-18T23:06:25.274Z] # $SEMVER_BRANCH = master [2021-05-18T23:06:25.274Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-05-18T23:06:29.493Z] $ docker exec --env ******** --env ******** b8e03d3799de89674e197510fa84f134b8b3b5614046aeaec7062103d9e0cacc ssh-agent -k [2021-05-18T23:06:29.586Z] unset SSH_AUTH_SOCK; [2021-05-18T23:06:29.587Z] unset SSH_AGENT_PID; [2021-05-18T23:06:29.587Z] echo Agent pid 21 killed; [2021-05-18T23:06:29.596Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-18T23:06:29.947Z] + git semver [Pipeline] } [2021-05-18T23:06:29.963Z] $ docker stop --time=1 b8e03d3799de89674e197510fa84f134b8b3b5614046aeaec7062103d9e0cacc [2021-05-18T23:06:31.146Z] $ docker rm -f b8e03d3799de89674e197510fa84f134b8b3b5614046aeaec7062103d9e0cacc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:06:32.251Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:06:32.824Z] ---> package-listing.sh [2021-05-18T23:06:32.824Z] ++ facter osfamily [2021-05-18T23:06:32.824Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-18T23:06:33.087Z] + OS_FAMILY=redhat [2021-05-18T23:06:33.087Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2021-05-18T23:06:33.087Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-18T23:06:33.087Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-18T23:06:33.087Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-18T23:06:33.087Z] + PACKAGES=/tmp/packages_start.txt [2021-05-18T23:06:33.087Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-05-18T23:06:33.087Z] + PACKAGES=/tmp/packages_end.txt [2021-05-18T23:06:33.087Z] + case "${OS_FAMILY}" in [2021-05-18T23:06:33.087Z] + rpm -qa [2021-05-18T23:06:33.087Z] + sort [2021-05-18T23:06:33.676Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-18T23:06:33.676Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-18T23:06:33.676Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-18T23:06:33.676Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-05-18T23:06:33.676Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2021-05-18T23:06:33.676Z] + 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-05-18T23:06:33.695Z] 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-05-18T23:06:34.057Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:06:34.357Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-18T23:06:34.357Z] [2021-05-18T23:06:34.357Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:06:34.666Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-18T23:06:34.666Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-18T23:06:34.666Z] df20fa9351a1: Pulling fs layer [2021-05-18T23:06:34.666Z] 36b3adc4ff6f: Pulling fs layer [2021-05-18T23:06:34.666Z] 8ad3a11d3b57: Pulling fs layer [2021-05-18T23:06:34.666Z] 46f8f816bc3b: Pulling fs layer [2021-05-18T23:06:34.666Z] 93b61091891f: Pulling fs layer [2021-05-18T23:06:34.666Z] 93b9cdb0e59b: Pulling fs layer [2021-05-18T23:06:34.666Z] 5e14af77c1be: Pulling fs layer [2021-05-18T23:06:34.666Z] 01666e4c0597: Pulling fs layer [2021-05-18T23:06:34.666Z] aa168da1d23b: Pulling fs layer [2021-05-18T23:06:34.666Z] 46f8f816bc3b: Waiting [2021-05-18T23:06:34.666Z] 93b61091891f: Waiting [2021-05-18T23:06:34.666Z] 93b9cdb0e59b: Waiting [2021-05-18T23:06:34.666Z] 5e14af77c1be: Waiting [2021-05-18T23:06:34.666Z] 01666e4c0597: Waiting [2021-05-18T23:06:34.666Z] aa168da1d23b: Waiting [2021-05-18T23:06:34.666Z] 36b3adc4ff6f: Verifying Checksum [2021-05-18T23:06:34.666Z] 36b3adc4ff6f: Download complete [2021-05-18T23:06:34.666Z] 46f8f816bc3b: Verifying Checksum [2021-05-18T23:06:34.666Z] 46f8f816bc3b: Download complete [2021-05-18T23:06:34.666Z] df20fa9351a1: Verifying Checksum [2021-05-18T23:06:34.666Z] df20fa9351a1: Download complete [2021-05-18T23:06:34.666Z] 93b9cdb0e59b: Verifying Checksum [2021-05-18T23:06:34.666Z] 93b9cdb0e59b: Download complete [2021-05-18T23:06:34.929Z] 5e14af77c1be: Verifying Checksum [2021-05-18T23:06:34.929Z] 5e14af77c1be: Download complete [2021-05-18T23:06:34.929Z] 01666e4c0597: Verifying Checksum [2021-05-18T23:06:34.929Z] 01666e4c0597: Download complete [2021-05-18T23:06:34.929Z] 93b61091891f: Download complete [2021-05-18T23:06:34.929Z] 8ad3a11d3b57: Verifying Checksum [2021-05-18T23:06:34.929Z] 8ad3a11d3b57: Download complete [2021-05-18T23:06:34.929Z] df20fa9351a1: Pull complete [2021-05-18T23:06:34.929Z] 36b3adc4ff6f: Pull complete [2021-05-18T23:06:35.512Z] 8ad3a11d3b57: Pull complete [2021-05-18T23:06:35.774Z] 46f8f816bc3b: Pull complete [2021-05-18T23:06:36.037Z] 93b61091891f: Pull complete [2021-05-18T23:06:36.037Z] 93b9cdb0e59b: Pull complete [2021-05-18T23:06:36.037Z] 5e14af77c1be: Pull complete [2021-05-18T23:06:36.297Z] 01666e4c0597: Pull complete [2021-05-18T23:06:36.558Z] aa168da1d23b: Verifying Checksum [2021-05-18T23:06:36.558Z] aa168da1d23b: Download complete [2021-05-18T23:06:40.774Z] aa168da1d23b: Pull complete [2021-05-18T23:06:40.774Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-18T23:06:40.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-18T23:06:40.774Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-18T23:06:40.848Z] prd-centos7-docker-4c-2g-14868 does not seem to be running inside a container [2021-05-18T23:06:40.894Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-18T23:06:42.837Z] $ docker top b21f34de8e028202fcacb548f3fc5eda1719837a4a94868db92452e4de8c4fd2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-18T23:06:43.211Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-18T23:06:43.515Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-18T23:06:43.809Z] + ls /var/log/sa-host [2021-05-18T23:06:43.809Z] + sadf -c /var/log/sa-host/sa05 [2021-05-18T23:06:43.809Z] file_magic: OK [2021-05-18T23:06:43.809Z] HZ: Using current value: 100 [2021-05-18T23:06:43.809Z] file_header: OK [2021-05-18T23:06:43.809Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-18T23:06:43.809Z] Statistics: [2021-05-18T23:06:43.809Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-18T23:06:43.809Z] File successfully converted to sysstat format version 12.2.1 [2021-05-18T23:06:43.809Z] + sadf -c /var/log/sa-host/sa18 [2021-05-18T23:06:43.809Z] file_magic: OK [2021-05-18T23:06:43.809Z] HZ: Using current value: 100 [2021-05-18T23:06:43.809Z] file_header: OK [2021-05-18T23:06:43.809Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-18T23:06:43.809Z] Statistics: [2021-05-18T23:06:43.809Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-18T23:06:43.809Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T23:06:44.001Z] provisioning config files... [2021-05-18T23:06:44.022Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4152111387576546265tmp [Pipeline] { [Pipeline] echo [2021-05-18T23:06:44.046Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:06:44.359Z] ---> create-netrc.sh [Pipeline] } [2021-05-18T23:06:44.366Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-18T23:06:44.403Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:06:44.706Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-18T23:06:44.716Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:06:45.034Z] ---> sudo-logs.sh [2021-05-18T23:06:45.034Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-18T23:06:45.065Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:06:45.379Z] ---> job-cost.sh [2021-05-18T23:06:45.379Z] lf-activate-venv: SKIPPING [2021-05-18T23:06:45.379Z] DEBUG: total: 0.18000000715255737 [2021-05-18T23:06:45.379Z] INFO: Retrieving Stack Cost... [2021-05-18T23:06:46.330Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-18T23:06:46.900Z] INFO: Archiving Costs [Pipeline] echo [2021-05-18T23:06:46.914Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:06:47.213Z] ---> logs-deploy.sh [2021-05-18T23:06:47.213Z] lf-activate-venv: SKIPPING [2021-05-18T23:06:47.213Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/44 [2021-05-18T23:06:47.213Z] INFO: archiving workspace using pattern(s): [2021-05-18T23:06:48.158Z] Archives upload complete. [2021-05-18T23:06:48.158Z] INFO: archiving logs to Nexus