Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a0a7eec39b0c4269a0e577821221e71b45f7e5c7 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-ssh4633208644421094099.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-ssh5953214802629690172.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-ssh7762128584452383959.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-ssh5299264340748744988.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-ssh1040338828974568826.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-363 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 Avoid second fetch Checking out Revision a0a7eec39b0c4269a0e577821221e71b45f7e5c7 (master) 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-ssh54300108327588587.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 a0a7eec39b0c4269a0e577821221e71b45f7e5c7 # timeout=10 Commit message: "Merge pull request #107 from lenny-intel/service-info" > git rev-list --no-walk 03359c08c1b66a89f278bd3fc862a1cc531bead5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-26T03:52:05.221Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-26T03:52:05.357Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-26T03:52:05.391Z] ========================================================= [2021-05-26T03:52:05.391Z] EdgeX Global Pipelines Version Info [2021-05-26T03:52:05.391Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-26T03:52:06.845Z] ------------------- [2021-05-26T03:52:06.845Z] stable info: [2021-05-26T03:52:06.845Z] ------------------- [2021-05-26T03:52:06.845Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-26T03:52:06.845Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-26T03:52:06.845Z] Message: update stable to v1.0.192 [2021-05-26T03:52:07.427Z] ------------------- [2021-05-26T03:52:07.427Z] experimental info: [2021-05-26T03:52:07.427Z] ------------------- [2021-05-26T03:52:07.427Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-26T03:52:07.427Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-26T03:52:07.427Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-26T03:52:07.546Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-26T03:52:07.571Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-26T03:52:07.594Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-26T03:52:07.617Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-26T03:52:07.641Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-26T03:52:07.665Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-26T03:52:07.690Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-26T03:52:07.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-26T03:52:07.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-26T03:52:07.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-26T03:52:07.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-26T03:52:07.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-26T03:52:07.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-26T03:52:07.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-26T03:52:07.902Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-26T03:52:07.929Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-26T03:52:07.954Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-26T03:52:07.977Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-26T03:52:08.000Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-26T03:52:08.023Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-26T03:52:08.046Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-26T03:52:08.069Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-26T03:52:08.091Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-26T03:52:08.115Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-26T03:52:08.138Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-26T03:52:08.161Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-26T03:52:08.184Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-26T03:52:08.206Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-26T03:52:08.230Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-26T03:52:08.254Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a0a7eec39b0c4269a0e577821221e71b45f7e5c7 [Pipeline] echo [2021-05-26T03:52:08.282Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a0a7eec [Pipeline] echo [2021-05-26T03:52:08.307Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T03:52:08.383Z] provisioning config files... [2021-05-26T03:52:08.404Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1273806488709320261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T03:52:08.721Z] ---> docker-login.sh [2021-05-26T03:52:08.722Z] nexus3.edgexfoundry.org:10001 [2021-05-26T03:52:08.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:52:08.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:52:08.984Z] Configure a credential helper to remove this warning. See [2021-05-26T03:52:08.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:52:08.984Z] [2021-05-26T03:52:08.984Z] Login Succeeded [2021-05-26T03:52:08.984Z] nexus3.edgexfoundry.org:10002 [2021-05-26T03:52:08.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:52:09.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:52:09.244Z] Configure a credential helper to remove this warning. See [2021-05-26T03:52:09.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:52:09.244Z] [2021-05-26T03:52:09.244Z] Login Succeeded [2021-05-26T03:52:09.244Z] nexus3.edgexfoundry.org:10003 [2021-05-26T03:52:09.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:52:09.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:52:09.244Z] Configure a credential helper to remove this warning. See [2021-05-26T03:52:09.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:52:09.244Z] [2021-05-26T03:52:09.244Z] Login Succeeded [2021-05-26T03:52:09.244Z] nexus3.edgexfoundry.org:10004 [2021-05-26T03:52:09.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:52:09.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:52:09.505Z] Configure a credential helper to remove this warning. See [2021-05-26T03:52:09.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:52:09.505Z] [2021-05-26T03:52:09.505Z] Login Succeeded [2021-05-26T03:52:09.505Z] docker.io [2021-05-26T03:52:09.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:52:09.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:52:09.767Z] Configure a credential helper to remove this warning. See [2021-05-26T03:52:09.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:52:09.767Z] [2021-05-26T03:52:09.767Z] Login Succeeded [2021-05-26T03:52:09.767Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T03:52:09.775Z] 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-26T03:52:10.220Z] + git log --format=format:%s -1 a0a7eec39b0c4269a0e577821221e71b45f7e5c7 [Pipeline] echo [2021-05-26T03:52:10.256Z] GIT_COMMIT: a0a7eec39b0c4269a0e577821221e71b45f7e5c7, Commit Message: Merge pull request #107 from lenny-intel/service-info [Pipeline] echo [2021-05-26T03:52:10.270Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:52:10.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T03:52:10.857Z] [2021-05-26T03:52:10.857Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:52:11.175Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T03:52:11.175Z] latest: Pulling from edgex-devops/git-semver [2021-05-26T03:52:11.175Z] 31603596830f: Pulling fs layer [2021-05-26T03:52:11.175Z] 54011a49482f: Pulling fs layer [2021-05-26T03:52:11.175Z] a6820b24f6d8: Pulling fs layer [2021-05-26T03:52:11.175Z] f581987b2513: Pulling fs layer [2021-05-26T03:52:11.175Z] f581987b2513: Waiting [2021-05-26T03:52:11.175Z] 54011a49482f: Verifying Checksum [2021-05-26T03:52:11.175Z] 54011a49482f: Download complete [2021-05-26T03:52:11.435Z] 31603596830f: Verifying Checksum [2021-05-26T03:52:11.435Z] 31603596830f: Download complete [2021-05-26T03:52:11.435Z] f581987b2513: Verifying Checksum [2021-05-26T03:52:11.435Z] f581987b2513: Download complete [2021-05-26T03:52:11.435Z] a6820b24f6d8: Verifying Checksum [2021-05-26T03:52:11.435Z] a6820b24f6d8: Download complete [2021-05-26T03:52:11.435Z] 31603596830f: Pull complete [2021-05-26T03:52:11.695Z] 54011a49482f: Pull complete [2021-05-26T03:52:12.270Z] a6820b24f6d8: Pull complete [2021-05-26T03:52:12.536Z] f581987b2513: Pull complete [2021-05-26T03:52:12.536Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-26T03:52:12.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T03:52:12.536Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-26T03:52:12.617Z] prd-centos7-docker-4c-2g-363 does not seem to be running inside a container [2021-05-26T03:52:12.676Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-26T03:52:15.551Z] $ docker top 6da9aaab580ce51611045b70719f222f4359ad1bcf441b925e2646cd8104afc5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-26T03:52:15.687Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T03:52:15.687Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T03:52:15.800Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T03:52:15.799Z] $ docker exec 6da9aaab580ce51611045b70719f222f4359ad1bcf441b925e2646cd8104afc5 ssh-agent [2021-05-26T03:52:15.900Z] SSH_AUTH_SOCK=/tmp/ssh-9R5KSPlxLeeJ/agent.13 [2021-05-26T03:52:15.900Z] SSH_AGENT_PID=19 [2021-05-26T03:52:15.907Z] Running ssh-add (command line suppressed) [2021-05-26T03:52:16.006Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2880546139187948426.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2880546139187948426.key) [2021-05-26T03:52:16.025Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T03:52:16.337Z] + git tag --points-at HEAD [Pipeline] } [2021-05-26T03:52:16.350Z] $ docker exec --env ******** --env ******** 6da9aaab580ce51611045b70719f222f4359ad1bcf441b925e2646cd8104afc5 ssh-agent -k [2021-05-26T03:52:16.447Z] unset SSH_AUTH_SOCK; [2021-05-26T03:52:16.447Z] unset SSH_AGENT_PID; [2021-05-26T03:52:16.447Z] echo Agent pid 19 killed; [2021-05-26T03:52:16.463Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-26T03:52:16.512Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T03:52:16.512Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T03:52:16.626Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T03:52:16.626Z] $ docker exec 6da9aaab580ce51611045b70719f222f4359ad1bcf441b925e2646cd8104afc5 ssh-agent [2021-05-26T03:52:16.732Z] SSH_AUTH_SOCK=/tmp/ssh-SUo5klGOCYNX/agent.53 [2021-05-26T03:52:16.732Z] SSH_AGENT_PID=60 [2021-05-26T03:52:16.737Z] Running ssh-add (command line suppressed) [2021-05-26T03:52:16.825Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6949876667382727946.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6949876667382727946.key) [2021-05-26T03:52:16.843Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T03:52:17.148Z] + git semver init [2021-05-26T03:52:17.148Z] # -> Open(): unable to determine branch for HEAD [2021-05-26T03:52:17.148Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-26T03:52:17.148Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-26T03:52:17.148Z] # $SEMVER_REMOTE_NAME = origin [2021-05-26T03:52:17.148Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-26T03:52:17.148Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-26T03:52:17.148Z] # $SEMVER_BRANCH = master [2021-05-26T03:52:17.148Z] # $SEMVER_TEMP = /tmp/semver-467856927 [2021-05-26T03:52:17.148Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-26T03:52:18.105Z] # '/tmp/semver-467856927' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2021-05-26T03:52:18.105Z] # -> Force: false [2021-05-26T03:52:18.105Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-05-26T03:52:18.374Z] $ docker exec --env ******** --env ******** 6da9aaab580ce51611045b70719f222f4359ad1bcf441b925e2646cd8104afc5 ssh-agent -k [2021-05-26T03:52:18.475Z] unset SSH_AUTH_SOCK; [2021-05-26T03:52:18.475Z] unset SSH_AGENT_PID; [2021-05-26T03:52:18.475Z] echo Agent pid 60 killed; [2021-05-26T03:52:18.492Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-26T03:52:18.831Z] + git semver [Pipeline] } [2021-05-26T03:52:18.843Z] $ docker stop --time=1 6da9aaab580ce51611045b70719f222f4359ad1bcf441b925e2646cd8104afc5 [2021-05-26T03:52:20.622Z] $ docker rm -f 6da9aaab580ce51611045b70719f222f4359ad1bcf441b925e2646cd8104afc5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T03:52:21.017Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-26T03:52:21.294Z] Stashed 1 file(s) [Pipeline] echo [2021-05-26T03:52:21.297Z] [edgeXSemver]: initialized semver on version 1.2.2-dev.13 [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-26T03:52:36.480Z] Still waiting to schedule task [2021-05-26T03:52:36.480Z] ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-26T03:52:36.480Z] ‘prd-centos7-docker-4c-2g-309’ is offline [2021-05-26T03:52:36.481Z] ‘prd-centos7-docker-4c-2g-360’ is offline [2021-05-26T03:52:36.481Z] ‘prd-centos7-docker-4c-2g-361’ is offline [2021-05-26T03:52:36.481Z] ‘prd-centos7-docker-4c-2g-364’ is offline [2021-05-26T03:52:36.481Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-354’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-26T03:52:36.483Z] Still waiting to schedule task [2021-05-26T03:52:36.483Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-26T03:54:03.535Z] Running on prd-centos7-docker-4c-2g-365 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-05-26T03:54:03.556Z] Running in /w/workspace/device-rest-go/46 [Pipeline] { [Pipeline] checkout [2021-05-26T03:54:03.664Z] The recommended git tool is: git [2021-05-26T03:54:06.139Z] using credential edgex-jenkins-ssh [2021-05-26T03:54:06.153Z] Cloning the remote Git repository [2021-05-26T03:54:05.908Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-26T03:54:05.981Z] > git init /w/workspace/device-rest-go/46 # timeout=10 [2021-05-26T03:54:06.021Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-26T03:54:06.022Z] > git --version # timeout=10 [2021-05-26T03:54:06.034Z] > git --version # 'git version 2.24.4' [2021-05-26T03:54:06.034Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T03:54:06.061Z] [INFO] Currently running in a labeled security context [2021-05-26T03:54:06.061Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-26T03:54:06.062Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/46@tmp/jenkins-gitclient-ssh2651237440141364953.key [2021-05-26T03:54:06.097Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T03:54:07.280Z] Avoid second fetch [2021-05-26T03:54:07.281Z] Checking out Revision a0a7eec39b0c4269a0e577821221e71b45f7e5c7 (master) [2021-05-26T03:54:07.068Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-26T03:54:07.091Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T03:54:07.115Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T03:54:07.125Z] > git checkout -f a0a7eec39b0c4269a0e577821221e71b45f7e5c7 # timeout=10 [2021-05-26T03:54:10.851Z] Commit message: "Merge pull request #107 from lenny-intel/service-info" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T03:54:11.931Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-26T03:54:12.262Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-26T03:54:12.573Z] + true [2021-05-26T03:54:12.573Z] + sudo service docker restart [2021-05-26T03:54:12.573Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T03:54:30.757Z] provisioning config files... [2021-05-26T03:54:30.774Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/46@tmp/config3104218995550740252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T03:54:31.108Z] ---> docker-login.sh [2021-05-26T03:54:31.108Z] nexus3.edgexfoundry.org:10001 [2021-05-26T03:54:31.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:54:31.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:54:31.371Z] Configure a credential helper to remove this warning. See [2021-05-26T03:54:31.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:54:31.371Z] [2021-05-26T03:54:31.371Z] Login Succeeded [2021-05-26T03:54:31.371Z] nexus3.edgexfoundry.org:10002 [2021-05-26T03:54:31.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:54:31.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:54:31.634Z] Configure a credential helper to remove this warning. See [2021-05-26T03:54:31.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:54:31.634Z] [2021-05-26T03:54:31.634Z] Login Succeeded [2021-05-26T03:54:31.634Z] nexus3.edgexfoundry.org:10003 [2021-05-26T03:54:31.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:54:31.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:54:31.898Z] Configure a credential helper to remove this warning. See [2021-05-26T03:54:31.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:54:31.898Z] [2021-05-26T03:54:31.898Z] Login Succeeded [2021-05-26T03:54:31.898Z] nexus3.edgexfoundry.org:10004 [2021-05-26T03:54:31.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:54:31.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:54:31.898Z] Configure a credential helper to remove this warning. See [2021-05-26T03:54:31.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:54:31.898Z] [2021-05-26T03:54:31.898Z] Login Succeeded [2021-05-26T03:54:31.898Z] docker.io [2021-05-26T03:54:32.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:54:32.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:54:32.423Z] Configure a credential helper to remove this warning. See [2021-05-26T03:54:32.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:54:32.423Z] [2021-05-26T03:54:32.423Z] Login Succeeded [2021-05-26T03:54:32.423Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T03:54:32.432Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-26T03:54:32.615Z] ========================================================= [2021-05-26T03:54:32.615Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-26T03:54:32.615Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:54:32.925Z] + 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-26T03:54:32.925Z] Sending build context to Docker daemon 92.16kB [2021-05-26T03:54:32.925Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T03:54:32.925Z] Step 2/10 : FROM ${BASE} [2021-05-26T03:54:33.195Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-26T03:54:33.195Z] 540db60ca938: Pulling fs layer [2021-05-26T03:54:33.195Z] adcc1eea9eea: Pulling fs layer [2021-05-26T03:54:33.195Z] 4c4ab2625f07: Pulling fs layer [2021-05-26T03:54:33.195Z] 0510c868ecb4: Pulling fs layer [2021-05-26T03:54:33.195Z] afea3b2eda06: Pulling fs layer [2021-05-26T03:54:33.195Z] 7809a108b3ef: Pulling fs layer [2021-05-26T03:54:33.195Z] f706445af74f: Pulling fs layer [2021-05-26T03:54:33.195Z] afea3b2eda06: Waiting [2021-05-26T03:54:33.195Z] 7809a108b3ef: Waiting [2021-05-26T03:54:33.195Z] f706445af74f: Waiting [2021-05-26T03:54:33.195Z] 0510c868ecb4: Waiting [2021-05-26T03:54:33.195Z] 4c4ab2625f07: Verifying Checksum [2021-05-26T03:54:33.195Z] 4c4ab2625f07: Download complete [2021-05-26T03:54:33.458Z] adcc1eea9eea: Verifying Checksum [2021-05-26T03:54:33.458Z] adcc1eea9eea: Download complete [2021-05-26T03:54:33.458Z] afea3b2eda06: Verifying Checksum [2021-05-26T03:54:33.458Z] afea3b2eda06: Download complete [2021-05-26T03:54:33.459Z] 540db60ca938: Verifying Checksum [2021-05-26T03:54:33.459Z] 540db60ca938: Download complete [2021-05-26T03:54:33.459Z] 7809a108b3ef: Verifying Checksum [2021-05-26T03:54:33.459Z] 7809a108b3ef: Download complete [2021-05-26T03:54:33.725Z] 540db60ca938: Pull complete [2021-05-26T03:54:34.305Z] adcc1eea9eea: Pull complete [2021-05-26T03:54:34.566Z] 4c4ab2625f07: Pull complete [2021-05-26T03:54:35.143Z] f706445af74f: Verifying Checksum [2021-05-26T03:54:35.143Z] f706445af74f: Download complete [2021-05-26T03:54:35.722Z] 0510c868ecb4: Verifying Checksum [2021-05-26T03:54:35.722Z] 0510c868ecb4: Download complete [2021-05-26T03:54:39.989Z] 0510c868ecb4: Pull complete [2021-05-26T03:54:39.989Z] afea3b2eda06: Pull complete [2021-05-26T03:54:39.989Z] 7809a108b3ef: Pull complete [2021-05-26T03:54:41.402Z] f706445af74f: Pull complete [2021-05-26T03:54:41.402Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-26T03:54:41.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-26T03:54:41.402Z] ---> b068be0155e3 [2021-05-26T03:54:41.402Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T03:54:45.636Z] ---> Running in 8e6a25fcdc37 [2021-05-26T03:54:45.636Z] Removing intermediate container 8e6a25fcdc37 [2021-05-26T03:54:45.636Z] ---> db0594a00cf6 [2021-05-26T03:54:45.636Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T03:54:45.636Z] ---> Running in 0afe5f5c2048 [2021-05-26T03:54:45.636Z] Removing intermediate container 0afe5f5c2048 [2021-05-26T03:54:45.636Z] ---> 36294b80e0fc [2021-05-26T03:54:45.636Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-26T03:54:45.897Z] ---> Running in 700d2d0ceeb5 [2021-05-26T03:54:45.897Z] Removing intermediate container 700d2d0ceeb5 [2021-05-26T03:54:45.897Z] ---> 9805fd81e7e8 [2021-05-26T03:54:45.897Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T03:54:45.897Z] ---> Running in ceea0fcfafb1 [2021-05-26T03:54:46.475Z] Removing intermediate container ceea0fcfafb1 [2021-05-26T03:54:46.475Z] ---> 9b6dbe503ab3 [2021-05-26T03:54:46.475Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T03:54:46.475Z] ---> Running in 444e6edff65e [2021-05-26T03:54:47.057Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-26T03:54:47.628Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-26T03:54:48.202Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-26T03:54:48.202Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-26T03:54:48.464Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-26T03:54:48.464Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-26T03:54:48.464Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-26T03:54:48.729Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-26T03:54:48.729Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-26T03:54:48.991Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-26T03:54:49.256Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-26T03:54:49.256Z] Executing busybox-1.32.1-r6.trigger [2021-05-26T03:54:49.256Z] OK: 154 MiB in 49 packages [2021-05-26T03:54:49.833Z] Removing intermediate container 444e6edff65e [2021-05-26T03:54:49.833Z] ---> 9f2b8aea0723 [2021-05-26T03:54:49.833Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-26T03:54:49.833Z] ---> Running in 7c46b15944a5 [2021-05-26T03:54:50.095Z] Removing intermediate container 7c46b15944a5 [2021-05-26T03:54:50.095Z] ---> 196322b24a2d [2021-05-26T03:54:50.095Z] Step 9/10 : COPY . . [2021-05-26T03:54:50.358Z] ---> 56fc1e482cb8 [2021-05-26T03:54:50.358Z] Step 10/10 : RUN go mod download [2021-05-26T03:54:50.358Z] ---> Running in f5aadba066e3 [2021-05-26T03:55:08.551Z] Removing intermediate container f5aadba066e3 [2021-05-26T03:55:08.551Z] ---> 094ced036224 [2021-05-26T03:55:08.551Z] Successfully built 094ced036224 [2021-05-26T03:55:08.551Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:55:08.862Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-26T03:55:08.863Z] . [Pipeline] withDockerContainer [2021-05-26T03:55:08.951Z] prd-centos7-docker-4c-2g-365 does not seem to be running inside a container [2021-05-26T03:55:08.993Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/46 -v /w/workspace/device-rest-go/46:/w/workspace/device-rest-go/46:rw,z -v /w/workspace/device-rest-go/46@tmp:/w/workspace/device-rest-go/46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-26T03:55:10.165Z] $ docker top 951dab02aacae6dac4a634b2dfc262fc95342b998348128138fca82716fced25 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T03:55:10.562Z] + go version [2021-05-26T03:55:10.562Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-26T03:55:10.571Z] $ docker stop --time=1 951dab02aacae6dac4a634b2dfc262fc95342b998348128138fca82716fced25 [2021-05-26T03:55:11.989Z] $ docker rm -f 951dab02aacae6dac4a634b2dfc262fc95342b998348128138fca82716fced25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:55:12.460Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-26T03:55:12.460Z] . [Pipeline] withDockerContainer [2021-05-26T03:55:12.543Z] prd-centos7-docker-4c-2g-365 does not seem to be running inside a container [2021-05-26T03:55:12.589Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/46 -v /w/workspace/device-rest-go/46:/w/workspace/device-rest-go/46:rw,z -v /w/workspace/device-rest-go/46@tmp:/w/workspace/device-rest-go/46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-26T03:55:13.380Z] $ docker top 8e2839cf563f4d4757d9719652970aab32ee711bdc85305e8c86eed72c2432c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T03:55:13.786Z] + go mod tidy [Pipeline] sh [2021-05-26T03:55:14.357Z] + make test [2021-05-26T03:55:14.357Z] go mod tidy [2021-05-26T03:55:14.623Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-26T03:55:14.888Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-26T03:55:25.303Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-366 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-05-26T03:55:25.321Z] Running in /w/workspace/device-rest-go/46 [Pipeline] { [Pipeline] checkout [2021-05-26T03:55:25.614Z] The recommended git tool is: git [2021-05-26T03:55:31.399Z] using credential edgex-jenkins-ssh [2021-05-26T03:55:31.418Z] Cloning the remote Git repository [2021-05-26T03:55:31.540Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-26T03:55:31.847Z] > git init /w/workspace/device-rest-go/46 # timeout=10 [2021-05-26T03:55:31.949Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-26T03:55:31.951Z] > git --version # timeout=10 [2021-05-26T03:55:31.992Z] > git --version # 'git version 2.17.1' [2021-05-26T03:55:31.994Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T03:55:32.112Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T03:55:33.163Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-26T03:55:33.163Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 54.0% of statements [2021-05-26T03:55:33.163Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-26T03:55:34.477Z] Avoid second fetch [2021-05-26T03:55:34.478Z] Checking out Revision a0a7eec39b0c4269a0e577821221e71b45f7e5c7 (master) [2021-05-26T03:55:34.431Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-26T03:55:34.454Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T03:55:34.503Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T03:55:34.518Z] > git checkout -f a0a7eec39b0c4269a0e577821221e71b45f7e5c7 # timeout=10 [2021-05-26T03:55:38.912Z] Commit message: "Merge pull request #107 from lenny-intel/service-info" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T03:55:40.225Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-26T03:55:40.731Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-26T03:55:41.085Z] + + sudotrue service [2021-05-26T03:55:41.085Z] docker restart [2021-05-26T03:55:41.356Z] gofmt -l . [2021-05-26T03:55:41.356Z] [ "`gofmt -l .`" = "" ] [2021-05-26T03:55:41.356Z] ./bin/test-go-mod-tidy.sh [2021-05-26T03:55:41.356Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-26T03:55:41.660Z] $ docker stop --time=1 8e2839cf563f4d4757d9719652970aab32ee711bdc85305e8c86eed72c2432c0 [2021-05-26T03:55:43.407Z] $ docker rm -f 8e2839cf563f4d4757d9719652970aab32ee711bdc85305e8c86eed72c2432c0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T03:55:43.847Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-26T03:55:44.035Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-26T03:55:46.631Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-26T03:55:46.930Z] + ls -al . [2021-05-26T03:55:46.930Z] total 104 [2021-05-26T03:55:46.930Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 26 03:55 . [2021-05-26T03:55:46.930Z] drwxrwxr-x. 4 jenkins jenkins 30 May 26 03:54 .. [2021-05-26T03:55:46.930Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 26 03:54 Attribution.txt [2021-05-26T03:55:46.930Z] drwxrwxr-x. 2 jenkins jenkins 64 May 26 03:54 bin [2021-05-26T03:55:46.930Z] drwxrwxr-x. 3 jenkins jenkins 32 May 26 03:54 cmd [2021-05-26T03:55:46.930Z] -rw-r--r--. 1 jenkins jenkins 8513 May 26 03:55 coverage.out [2021-05-26T03:55:46.930Z] -rw-rw-r--. 1 jenkins jenkins 1615 May 26 03:54 Dockerfile [2021-05-26T03:55:46.930Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 26 03:54 Dockerfile.build [2021-05-26T03:55:46.930Z] -rw-rw-r--. 1 jenkins jenkins 151 May 26 03:54 .dockerignore [2021-05-26T03:55:46.930Z] drwxrwxr-x. 2 jenkins jenkins 76 May 26 03:54 driver [2021-05-26T03:55:46.930Z] drwxrwxr-x. 8 jenkins jenkins 162 May 26 03:54 .git [2021-05-26T03:55:46.930Z] drwxrwxr-x. 2 jenkins jenkins 103 May 26 03:54 .github [2021-05-26T03:55:46.930Z] -rw-rw-r--. 1 jenkins jenkins 336 May 26 03:54 .gitignore [2021-05-26T03:55:46.930Z] -rw-r--r--. 1 jenkins jenkins 285 May 26 03:55 go.mod [2021-05-26T03:55:46.930Z] -rw-r--r--. 1 jenkins jenkins 21177 May 26 03:55 go.sum [2021-05-26T03:55:46.930Z] -rw-rw-r--. 1 jenkins jenkins 680 May 26 03:54 Jenkinsfile [2021-05-26T03:55:46.930Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 26 03:54 LICENSE [2021-05-26T03:55:46.930Z] -rw-rw-r--. 1 jenkins jenkins 996 May 26 03:54 Makefile [2021-05-26T03:55:46.930Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 26 03:54 README.md [2021-05-26T03:55:46.930Z] drwxrwxr-x. 4 jenkins jenkins 71 May 26 03:54 snap [2021-05-26T03:55:46.930Z] -rw-rw-r--. 1 jenkins jenkins 12 May 26 03:52 VERSION [2021-05-26T03:55:46.930Z] -rw-rw-r--. 1 jenkins jenkins 713 May 26 03:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:55:47.240Z] + 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=a0a7eec39b0c4269a0e577821221e71b45f7e5c7 --label arch=amd64 --label version=1.2.2-dev.13 . [2021-05-26T03:55:47.240Z] Sending build context to Docker daemon 101.9kB [2021-05-26T03:55:47.240Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T03:55:47.240Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-26T03:55:47.240Z] ---> 094ced036224 [2021-05-26T03:55:47.240Z] Step 3/25 : ARG MAKE='make build' [2021-05-26T03:55:47.240Z] ---> Running in d4ff4056be2b [2021-05-26T03:55:47.503Z] Removing intermediate container d4ff4056be2b [2021-05-26T03:55:47.503Z] ---> 97e553ae96ef [2021-05-26T03:55:47.503Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T03:55:47.503Z] ---> Running in a8f1b6982b0c [2021-05-26T03:55:47.503Z] Removing intermediate container a8f1b6982b0c [2021-05-26T03:55:47.503Z] ---> 3c90d4c4a4a2 [2021-05-26T03:55:47.503Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T03:55:47.503Z] ---> Running in b00be1e265e5 [2021-05-26T03:55:47.768Z] Removing intermediate container b00be1e265e5 [2021-05-26T03:55:47.768Z] ---> e19f99ce17d8 [2021-05-26T03:55:47.768Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T03:55:47.768Z] ---> Running in 6a2dec3f00ef [2021-05-26T03:55:48.355Z] Removing intermediate container 6a2dec3f00ef [2021-05-26T03:55:48.355Z] ---> 22f10d1ffb96 [2021-05-26T03:55:48.355Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T03:55:48.355Z] ---> Running in 29ff2e83a9dc [2021-05-26T03:55:48.620Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-26T03:55:49.568Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-26T03:55:50.513Z] OK: 154 MiB in 49 packages [2021-05-26T03:55:50.779Z] Removing intermediate container 29ff2e83a9dc [2021-05-26T03:55:50.779Z] ---> 5e64dbf0bff1 [2021-05-26T03:55:50.779Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-26T03:55:50.779Z] ---> Running in ed04daea2d59 [2021-05-26T03:55:50.779Z] Removing intermediate container ed04daea2d59 [2021-05-26T03:55:50.779Z] ---> 40d631d4e3ea [2021-05-26T03:55:50.779Z] Step 9/25 : COPY . . [2021-05-26T03:55:51.046Z] ---> 67f6bd0986c1 [2021-05-26T03:55:51.046Z] Step 10/25 : RUN go mod tidy [2021-05-26T03:55:51.046Z] ---> Running in fe5ced9cb36a [2021-05-26T03:55:51.995Z] Removing intermediate container fe5ced9cb36a [2021-05-26T03:55:51.995Z] ---> e137fe103ce7 [2021-05-26T03:55:51.995Z] Step 11/25 : RUN make update [2021-05-26T03:55:51.995Z] ---> Running in f01f9ef9c0df [2021-05-26T03:55:52.266Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-26T03:55:52.534Z] Removing intermediate container f01f9ef9c0df [2021-05-26T03:55:52.534Z] ---> 55f237b02b00 [2021-05-26T03:55:52.534Z] Step 12/25 : RUN $MAKE [2021-05-26T03:55:52.534Z] ---> Running in 1994b7b51df4 [2021-05-26T03:55:52.803Z] go mod tidy [2021-05-26T03:55:53.075Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.13" -o cmd/device-rest ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T03:55:59.439Z] provisioning config files... [2021-05-26T03:55:59.464Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/46@tmp/config8923771610645049710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T03:55:59.853Z] ---> docker-login.sh [2021-05-26T03:55:59.853Z] nexus3.edgexfoundry.org:10001 [2021-05-26T03:56:00.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:56:01.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:56:01.048Z] Configure a credential helper to remove this warning. See [2021-05-26T03:56:01.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:56:01.048Z] [2021-05-26T03:56:01.048Z] Login Succeeded [2021-05-26T03:56:01.048Z] nexus3.edgexfoundry.org:10002 [2021-05-26T03:56:01.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:56:01.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:56:01.601Z] Configure a credential helper to remove this warning. See [2021-05-26T03:56:01.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:56:01.601Z] [2021-05-26T03:56:01.601Z] Login Succeeded [2021-05-26T03:56:01.601Z] nexus3.edgexfoundry.org:10003 [2021-05-26T03:56:02.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:56:02.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:56:02.200Z] Configure a credential helper to remove this warning. See [2021-05-26T03:56:02.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:56:02.200Z] [2021-05-26T03:56:02.200Z] Login Succeeded [2021-05-26T03:56:02.200Z] nexus3.edgexfoundry.org:10004 [2021-05-26T03:56:02.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:56:02.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:56:02.799Z] Configure a credential helper to remove this warning. See [2021-05-26T03:56:02.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:56:02.799Z] [2021-05-26T03:56:02.799Z] Login Succeeded [2021-05-26T03:56:02.799Z] docker.io [2021-05-26T03:56:03.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:56:03.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:56:03.673Z] Configure a credential helper to remove this warning. See [2021-05-26T03:56:03.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:56:03.673Z] [2021-05-26T03:56:03.673Z] Login Succeeded [2021-05-26T03:56:03.673Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T03:56:03.689Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-26T03:56:04.001Z] ========================================================= [2021-05-26T03:56:04.002Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-26T03:56:04.002Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:56:04.348Z] + 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-26T03:56:04.348Z] Sending build context to Docker daemon 92.16kB [2021-05-26T03:56:04.622Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T03:56:04.622Z] Step 2/10 : FROM ${BASE} [2021-05-26T03:56:04.905Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-26T03:56:04.905Z] 595b0fe564bb: Pulling fs layer [2021-05-26T03:56:04.905Z] 7186ed65a4f7: Pulling fs layer [2021-05-26T03:56:04.905Z] 316046926c0a: Pulling fs layer [2021-05-26T03:56:04.905Z] 4ebd0625c992: Pulling fs layer [2021-05-26T03:56:04.905Z] 207e8628e3a3: Pulling fs layer [2021-05-26T03:56:04.905Z] c791037a9be2: Pulling fs layer [2021-05-26T03:56:04.905Z] ffd874e62e21: Pulling fs layer [2021-05-26T03:56:04.905Z] 207e8628e3a3: Waiting [2021-05-26T03:56:04.905Z] c791037a9be2: Waiting [2021-05-26T03:56:04.905Z] ffd874e62e21: Waiting [2021-05-26T03:56:04.905Z] 4ebd0625c992: Waiting [2021-05-26T03:56:04.905Z] 316046926c0a: Download complete [2021-05-26T03:56:04.905Z] 7186ed65a4f7: Verifying Checksum [2021-05-26T03:56:04.905Z] 7186ed65a4f7: Download complete [2021-05-26T03:56:04.905Z] 207e8628e3a3: Verifying Checksum [2021-05-26T03:56:04.905Z] 207e8628e3a3: Download complete [2021-05-26T03:56:04.905Z] c791037a9be2: Download complete [2021-05-26T03:56:05.186Z] 595b0fe564bb: Verifying Checksum [2021-05-26T03:56:05.186Z] 595b0fe564bb: Download complete [2021-05-26T03:56:05.783Z] 595b0fe564bb: Pull complete [2021-05-26T03:56:06.388Z] 7186ed65a4f7: Pull complete [2021-05-26T03:56:06.675Z] 316046926c0a: Pull complete [2021-05-26T03:56:07.666Z] ffd874e62e21: Verifying Checksum [2021-05-26T03:56:08.083Z] Removing intermediate container 1994b7b51df4 [2021-05-26T03:56:08.083Z] ---> 824123e88a3b [2021-05-26T03:56:08.083Z] Step 13/25 : FROM alpine:3.12 [2021-05-26T03:56:08.083Z] 3.12: Pulling from library/alpine [2021-05-26T03:56:08.083Z] 339de151aab4: Pulling fs layer [2021-05-26T03:56:08.083Z] 339de151aab4: Verifying Checksum [2021-05-26T03:56:08.083Z] 339de151aab4: Download complete [2021-05-26T03:56:08.083Z] 339de151aab4: Pull complete [2021-05-26T03:56:08.083Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-26T03:56:08.083Z] Status: Downloaded newer image for alpine:3.12 [2021-05-26T03:56:08.083Z] ---> 13621d1b12d4 [2021-05-26T03:56:08.083Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-26T03:56:08.083Z] ---> Running in 7cdb76a8e78b [2021-05-26T03:56:08.348Z] Removing intermediate container 7cdb76a8e78b [2021-05-26T03:56:08.348Z] ---> 4e4637b80e96 [2021-05-26T03:56:08.348Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-26T03:56:08.348Z] ---> Running in 019f75d39937 [2021-05-26T03:56:08.348Z] Removing intermediate container 019f75d39937 [2021-05-26T03:56:08.348Z] ---> 4daf25ad2702 [2021-05-26T03:56:08.348Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-26T03:56:08.348Z] ---> Running in 87000cf43f41 [2021-05-26T03:56:08.928Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-26T03:56:08.928Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-26T03:56:09.114Z] 4ebd0625c992: Verifying Checksum [2021-05-26T03:56:09.114Z] 4ebd0625c992: Download complete [2021-05-26T03:56:09.191Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-26T03:56:09.191Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-26T03:56:09.191Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-26T03:56:09.191Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-26T03:56:09.191Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-26T03:56:09.191Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-26T03:56:09.191Z] Executing busybox-1.31.1-r20.trigger [2021-05-26T03:56:09.191Z] OK: 8 MiB in 20 packages [2021-05-26T03:56:09.459Z] Removing intermediate container 87000cf43f41 [2021-05-26T03:56:09.459Z] ---> 4d46dc84b2b9 [2021-05-26T03:56:09.459Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-26T03:56:10.039Z] ---> 904295bee731 [2021-05-26T03:56:10.039Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-26T03:56:10.039Z] ---> 4be7f51c2b01 [2021-05-26T03:56:10.039Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-26T03:56:10.304Z] ---> 22515b44113a [2021-05-26T03:56:10.304Z] Step 20/25 : EXPOSE 59986 [2021-05-26T03:56:10.304Z] ---> Running in 30b793775ce6 [2021-05-26T03:56:10.645Z] Removing intermediate container 30b793775ce6 [2021-05-26T03:56:10.645Z] ---> cae4f006b575 [2021-05-26T03:56:10.645Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-26T03:56:10.645Z] ---> Running in 2d8a31428480 [2021-05-26T03:56:10.645Z] Removing intermediate container 2d8a31428480 [2021-05-26T03:56:10.645Z] ---> 587e794323b8 [2021-05-26T03:56:10.645Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-26T03:56:10.645Z] ---> Running in 1e15dcaeaf78 [2021-05-26T03:56:10.645Z] Removing intermediate container 1e15dcaeaf78 [2021-05-26T03:56:10.645Z] ---> f5ebfaeef963 [2021-05-26T03:56:10.645Z] Step 23/25 : LABEL arch=amd64 [2021-05-26T03:56:10.955Z] ---> Running in 2cda26adc064 [2021-05-26T03:56:10.955Z] Removing intermediate container 2cda26adc064 [2021-05-26T03:56:10.955Z] ---> f34d324700a6 [2021-05-26T03:56:10.955Z] Step 24/25 : LABEL git_sha=a0a7eec39b0c4269a0e577821221e71b45f7e5c7 [2021-05-26T03:56:10.955Z] ---> Running in 9cab8ea4fcf4 [2021-05-26T03:56:10.955Z] Removing intermediate container 9cab8ea4fcf4 [2021-05-26T03:56:10.955Z] ---> 177ae5b8782f [2021-05-26T03:56:10.955Z] Step 25/25 : LABEL version=1.2.2-dev.13 [2021-05-26T03:56:10.955Z] ---> Running in 37d3871cfb8a [2021-05-26T03:56:11.217Z] Removing intermediate container 37d3871cfb8a [2021-05-26T03:56:11.217Z] ---> 5a9bc0da19d7 [2021-05-26T03:56:11.217Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-26T03:56:11.217Z] Successfully built 5a9bc0da19d7 [2021-05-26T03:56:11.217Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T03:56:11.397Z] provisioning config files... [2021-05-26T03:56:11.409Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/46@tmp/config2604650133360895017tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T03:56:11.775Z] ---> docker-login.sh [2021-05-26T03:56:11.775Z] nexus3.edgexfoundry.org:10001 [2021-05-26T03:56:11.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:56:11.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:56:11.775Z] Configure a credential helper to remove this warning. See [2021-05-26T03:56:11.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:56:11.775Z] [2021-05-26T03:56:11.775Z] Login Succeeded [2021-05-26T03:56:11.775Z] nexus3.edgexfoundry.org:10002 [2021-05-26T03:56:12.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:56:12.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:56:12.037Z] Configure a credential helper to remove this warning. See [2021-05-26T03:56:12.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:56:12.037Z] [2021-05-26T03:56:12.037Z] Login Succeeded [2021-05-26T03:56:12.037Z] nexus3.edgexfoundry.org:10003 [2021-05-26T03:56:12.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:56:12.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:56:12.037Z] Configure a credential helper to remove this warning. See [2021-05-26T03:56:12.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:56:12.037Z] [2021-05-26T03:56:12.037Z] Login Succeeded [2021-05-26T03:56:12.037Z] nexus3.edgexfoundry.org:10004 [2021-05-26T03:56:12.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:56:12.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:56:12.299Z] Configure a credential helper to remove this warning. See [2021-05-26T03:56:12.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:56:12.299Z] [2021-05-26T03:56:12.299Z] Login Succeeded [2021-05-26T03:56:12.299Z] docker.io [2021-05-26T03:56:12.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:56:12.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:56:12.561Z] Configure a credential helper to remove this warning. See [2021-05-26T03:56:12.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:56:12.561Z] [2021-05-26T03:56:12.561Z] Login Succeeded [2021-05-26T03:56:12.561Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T03:56:12.569Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-26T03:56:12.643Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-05-26T03:56:12.643Z] a0a7eec39b0c4269a0e577821221e71b45f7e5c7 [2021-05-26T03:56:12.643Z] latest [2021-05-26T03:56:12.643Z] 1.2.2-dev.13 [2021-05-26T03:56:12.643Z] a0a7eec39b0c4269a0e577821221e71b45f7e5c7-1.2.2-dev.13 [2021-05-26T03:56:12.643Z] master [2021-05-26T03:56:12.643Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:56:12.998Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a0a7eec39b0c4269a0e577821221e71b45f7e5c7 [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:56:13.299Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:a0a7eec39b0c4269a0e577821221e71b45f7e5c7 [2021-05-26T03:56:13.299Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-26T03:56:13.299Z] f2d9b26f3a3b: Preparing [2021-05-26T03:56:13.299Z] 6604a25d0ff7: Preparing [2021-05-26T03:56:13.299Z] 875599fec8e8: Preparing [2021-05-26T03:56:13.299Z] 11801a715f9c: Preparing [2021-05-26T03:56:13.299Z] 32f366d666a5: Preparing [2021-05-26T03:56:13.299Z] 32f366d666a5: Layer already exists [2021-05-26T03:56:13.566Z] 6604a25d0ff7: Pushed [2021-05-26T03:56:13.566Z] f2d9b26f3a3b: Pushed [2021-05-26T03:56:13.566Z] 11801a715f9c: Pushed [2021-05-26T03:56:14.956Z] 875599fec8e8: Pushed [2021-05-26T03:56:15.218Z] a0a7eec39b0c4269a0e577821221e71b45f7e5c7: digest: sha256:6acb777c3c306cfec2f9891eb8342072accbc2ccacb0ab8948e920304b80ed04 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:56:15.521Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:56:15.818Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-05-26T03:56:15.818Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-26T03:56:15.818Z] f2d9b26f3a3b: Preparing [2021-05-26T03:56:15.818Z] 6604a25d0ff7: Preparing [2021-05-26T03:56:15.818Z] 875599fec8e8: Preparing [2021-05-26T03:56:15.818Z] 11801a715f9c: Preparing [2021-05-26T03:56:15.818Z] 32f366d666a5: Preparing [2021-05-26T03:56:15.818Z] 11801a715f9c: Layer already exists [2021-05-26T03:56:15.818Z] 6604a25d0ff7: Layer already exists [2021-05-26T03:56:15.818Z] 875599fec8e8: Layer already exists [2021-05-26T03:56:15.818Z] f2d9b26f3a3b: Layer already exists [2021-05-26T03:56:15.818Z] 32f366d666a5: Layer already exists [2021-05-26T03:56:15.818Z] latest: digest: sha256:6acb777c3c306cfec2f9891eb8342072accbc2ccacb0ab8948e920304b80ed04 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:56:16.125Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.13 [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:56:16.421Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.13 [2021-05-26T03:56:16.421Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-26T03:56:16.421Z] f2d9b26f3a3b: Preparing [2021-05-26T03:56:16.421Z] 6604a25d0ff7: Preparing [2021-05-26T03:56:16.421Z] 875599fec8e8: Preparing [2021-05-26T03:56:16.421Z] 11801a715f9c: Preparing [2021-05-26T03:56:16.421Z] 32f366d666a5: Preparing [2021-05-26T03:56:16.421Z] 875599fec8e8: Layer already exists [2021-05-26T03:56:16.421Z] f2d9b26f3a3b: Layer already exists [2021-05-26T03:56:16.421Z] 11801a715f9c: Layer already exists [2021-05-26T03:56:16.421Z] 32f366d666a5: Layer already exists [2021-05-26T03:56:16.421Z] 6604a25d0ff7: Layer already exists [2021-05-26T03:56:16.421Z] 1.2.2-dev.13: digest: sha256:6acb777c3c306cfec2f9891eb8342072accbc2ccacb0ab8948e920304b80ed04 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:56:16.729Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a0a7eec39b0c4269a0e577821221e71b45f7e5c7-1.2.2-dev.13 [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:56:17.039Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:a0a7eec39b0c4269a0e577821221e71b45f7e5c7-1.2.2-dev.13 [2021-05-26T03:56:17.039Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-26T03:56:17.039Z] f2d9b26f3a3b: Preparing [2021-05-26T03:56:17.039Z] 6604a25d0ff7: Preparing [2021-05-26T03:56:17.039Z] 875599fec8e8: Preparing [2021-05-26T03:56:17.039Z] 11801a715f9c: Preparing [2021-05-26T03:56:17.039Z] 32f366d666a5: Preparing [2021-05-26T03:56:17.039Z] 11801a715f9c: Layer already exists [2021-05-26T03:56:17.039Z] f2d9b26f3a3b: Layer already exists [2021-05-26T03:56:17.039Z] 875599fec8e8: Layer already exists [2021-05-26T03:56:17.039Z] 32f366d666a5: Layer already exists [2021-05-26T03:56:17.039Z] 6604a25d0ff7: Layer already exists [2021-05-26T03:56:17.039Z] a0a7eec39b0c4269a0e577821221e71b45f7e5c7-1.2.2-dev.13: digest: sha256:6acb777c3c306cfec2f9891eb8342072accbc2ccacb0ab8948e920304b80ed04 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:56:17.344Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:56:17.640Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:master [2021-05-26T03:56:17.640Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-26T03:56:17.640Z] f2d9b26f3a3b: Preparing [2021-05-26T03:56:17.640Z] 6604a25d0ff7: Preparing [2021-05-26T03:56:17.640Z] 875599fec8e8: Preparing [2021-05-26T03:56:17.640Z] 11801a715f9c: Preparing [2021-05-26T03:56:17.640Z] 32f366d666a5: Preparing [2021-05-26T03:56:17.640Z] 11801a715f9c: Layer already exists [2021-05-26T03:56:17.640Z] f2d9b26f3a3b: Layer already exists [2021-05-26T03:56:17.640Z] 875599fec8e8: Layer already exists [2021-05-26T03:56:17.640Z] 6604a25d0ff7: Layer already exists [2021-05-26T03:56:17.640Z] 32f366d666a5: Layer already exists [2021-05-26T03:56:17.640Z] master: digest: sha256:6acb777c3c306cfec2f9891eb8342072accbc2ccacb0ab8948e920304b80ed04 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-26T03:56:17.702Z] ===================================================== [Pipeline] echo [2021-05-26T03:56:17.722Z] taggedImages: [2021-05-26T03:56:17.722Z] - nexus3.edgexfoundry.org:10004/device-rest:a0a7eec39b0c4269a0e577821221e71b45f7e5c7 [2021-05-26T03:56:17.722Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-05-26T03:56:17.722Z] - nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.13 [2021-05-26T03:56:17.722Z] - nexus3.edgexfoundry.org:10004/device-rest:a0a7eec39b0c4269a0e577821221e71b45f7e5c7-1.2.2-dev.13 [2021-05-26T03:56:17.722Z] - 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-26T03:56:18.192Z] ---> job-cost.sh [2021-05-26T03:56:18.192Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-nMg4 [2021-05-26T03:56:21.621Z] 4ebd0625c992: Pull complete [2021-05-26T03:56:21.621Z] 207e8628e3a3: Pull complete [2021-05-26T03:56:21.621Z] c791037a9be2: Pull complete [2021-05-26T03:56:24.240Z] ffd874e62e21: Pull complete [2021-05-26T03:56:24.240Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-26T03:56:24.240Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-26T03:56:24.240Z] ---> cfc18b08335c [2021-05-26T03:56:24.240Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T03:56:26.224Z] ---> Running in 356ee62d4e3e [2021-05-26T03:56:26.499Z] Removing intermediate container 356ee62d4e3e [2021-05-26T03:56:26.499Z] ---> 2280508070f3 [2021-05-26T03:56:26.499Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T03:56:26.499Z] ---> Running in 2c1c68049efd [2021-05-26T03:56:27.112Z] Removing intermediate container 2c1c68049efd [2021-05-26T03:56:27.112Z] ---> 8e383d374786 [2021-05-26T03:56:27.112Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-26T03:56:27.112Z] ---> Running in 8273d1943643 [2021-05-26T03:56:27.713Z] Removing intermediate container 8273d1943643 [2021-05-26T03:56:27.713Z] ---> 1739cac8d5d6 [2021-05-26T03:56:27.713Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T03:56:27.713Z] ---> Running in fd276bb2225f [2021-05-26T03:56:28.218Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-26T03:56:30.334Z] Removing intermediate container fd276bb2225f [2021-05-26T03:56:30.334Z] ---> 1adb34abdb79 [2021-05-26T03:56:30.334Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T03:56:30.334Z] ---> Running in a15d695e1d19 [2021-05-26T03:56:31.313Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-26T03:56:32.311Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-26T03:56:33.286Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-26T03:56:33.286Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-26T03:56:33.286Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-26T03:56:33.287Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-26T03:56:33.558Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-26T03:56:33.558Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-26T03:56:33.558Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-26T03:56:33.835Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-26T03:56:33.835Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-26T03:56:34.122Z] Executing busybox-1.32.1-r6.trigger [2021-05-26T03:56:34.122Z] OK: 144 MiB in 49 packages [2021-05-26T03:56:35.558Z] Removing intermediate container a15d695e1d19 [2021-05-26T03:56:35.558Z] ---> a6096470bc99 [2021-05-26T03:56:35.558Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-26T03:56:35.558Z] ---> Running in d8c96b921092 [2021-05-26T03:56:36.156Z] Removing intermediate container d8c96b921092 [2021-05-26T03:56:36.156Z] ---> d3f24a4b1138 [2021-05-26T03:56:36.156Z] Step 9/10 : COPY . . [2021-05-26T03:56:36.754Z] ---> 5c15a295bc31 [2021-05-26T03:56:36.754Z] Step 10/10 : RUN go mod download [2021-05-26T03:56:37.028Z] ---> Running in c8a01caf2c71 [2021-05-26T03:56:43.180Z] lf-activate-venv(): INFO: Adding /tmp/venv-nMg4/bin to PATH [2021-05-26T03:56:43.181Z] INFO: No Stack... [2021-05-26T03:56:43.181Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-26T03:56:43.181Z] INFO: Archiving Costs [Pipeline] sh [2021-05-26T03:56:43.483Z] + cat /w/workspace/device-rest-go/46/archives/cost.csv [2021-05-26T03:56:43.483Z] + cut -d, -f6 [Pipeline] lock [2021-05-26T03:56:43.516Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-46-stack-cost] [2021-05-26T03:56:43.530Z] Resource [jenkins-edgexfoundry-device-rest-go-master-46-stack-cost] did not exist. Created. [2021-05-26T03:56:43.530Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-26T03:56:43.856Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-26T03:56:43.938Z] Stashed 1 file(s) [Pipeline] } [2021-05-26T03:56:43.951Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-46-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-26T03:57:03.826Z] Removing intermediate container c8a01caf2c71 [2021-05-26T03:57:03.827Z] ---> 83137c7335d4 [2021-05-26T03:57:03.827Z] Successfully built 83137c7335d4 [2021-05-26T03:57:03.827Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:57:04.169Z] + docker inspect -f . ci-base-image-arm64 [2021-05-26T03:57:04.169Z] . [Pipeline] withDockerContainer [2021-05-26T03:57:04.596Z] prd-ubuntu18.04-docker-arm64-4c-16g-366 does not seem to be running inside a container [2021-05-26T03:57:04.723Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/46 -v /w/workspace/device-rest-go/46:/w/workspace/device-rest-go/46:rw,z -v /w/workspace/device-rest-go/46@tmp:/w/workspace/device-rest-go/46@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-26T03:57:06.541Z] $ docker top 81fc0405d62f6ab38068f0b950b1c0da96984c5a6434b0e9ccc72f623c76a99f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T03:57:07.580Z] + go version [2021-05-26T03:57:07.580Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-26T03:57:07.602Z] $ docker stop --time=1 81fc0405d62f6ab38068f0b950b1c0da96984c5a6434b0e9ccc72f623c76a99f [2021-05-26T03:57:09.422Z] $ docker rm -f 81fc0405d62f6ab38068f0b950b1c0da96984c5a6434b0e9ccc72f623c76a99f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:57:10.100Z] + docker inspect -f . ci-base-image-arm64 [2021-05-26T03:57:10.100Z] . [Pipeline] withDockerContainer [2021-05-26T03:57:10.324Z] prd-ubuntu18.04-docker-arm64-4c-16g-366 does not seem to be running inside a container [2021-05-26T03:57:10.399Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/46 -v /w/workspace/device-rest-go/46:/w/workspace/device-rest-go/46:rw,z -v /w/workspace/device-rest-go/46@tmp:/w/workspace/device-rest-go/46@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-26T03:57:11.970Z] $ docker top 7793d07ad728d9f5825807a3d9ee7e96e059eb623a0e985ab3dcf56598a55137 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T03:57:12.901Z] + go mod tidy [Pipeline] sh [2021-05-26T03:57:14.174Z] + make test [2021-05-26T03:57:14.174Z] go mod tidy [2021-05-26T03:57:14.777Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-26T03:57:15.760Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-26T03:58:14.194Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-26T03:58:14.194Z] ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 54.0% of statements [2021-05-26T03:58:14.194Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-26T03:58:36.547Z] gofmt -l . [2021-05-26T03:58:36.547Z] [ "`gofmt -l .`" = "" ] [2021-05-26T03:58:36.547Z] ./bin/test-go-mod-tidy.sh [2021-05-26T03:58:36.547Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-26T03:58:37.541Z] $ docker stop --time=1 7793d07ad728d9f5825807a3d9ee7e96e059eb623a0e985ab3dcf56598a55137 [2021-05-26T03:58:39.535Z] $ docker rm -f 7793d07ad728d9f5825807a3d9ee7e96e059eb623a0e985ab3dcf56598a55137 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T03:58:40.359Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-26T03:58:40.391Z] Warning: overwriting stash ‘coverage-report’ [2021-05-26T03:58:40.856Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T03:58:41.286Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-26T03:58:41.627Z] + ls -al . [2021-05-26T03:58:41.627Z] total 132 [2021-05-26T03:58:41.627Z] drwxrwxr-x 8 jenkins jenkins 4096 May 26 03:58 . [2021-05-26T03:58:41.627Z] drwxrwxr-x 4 jenkins jenkins 4096 May 26 03:55 .. [2021-05-26T03:58:41.627Z] -rw-rw-r-- 1 jenkins jenkins 151 May 26 03:55 .dockerignore [2021-05-26T03:58:41.627Z] drwxrwxr-x 8 jenkins jenkins 4096 May 26 03:55 .git [2021-05-26T03:58:41.627Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 03:55 .github [2021-05-26T03:58:41.627Z] -rw-rw-r-- 1 jenkins jenkins 336 May 26 03:55 .gitignore [2021-05-26T03:58:41.627Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 26 03:55 Attribution.txt [2021-05-26T03:58:41.627Z] -rw-rw-r-- 1 jenkins jenkins 1615 May 26 03:55 Dockerfile [2021-05-26T03:58:41.627Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 26 03:55 Dockerfile.build [2021-05-26T03:58:41.627Z] -rw-rw-r-- 1 jenkins jenkins 680 May 26 03:55 Jenkinsfile [2021-05-26T03:58:41.627Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 26 03:55 LICENSE [2021-05-26T03:58:41.627Z] -rw-rw-r-- 1 jenkins jenkins 996 May 26 03:55 Makefile [2021-05-26T03:58:41.627Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 26 03:55 README.md [2021-05-26T03:58:41.627Z] -rw-rw-r-- 1 jenkins jenkins 12 May 26 03:52 VERSION [2021-05-26T03:58:41.627Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 03:55 bin [2021-05-26T03:58:41.627Z] drwxrwxr-x 3 jenkins jenkins 4096 May 26 03:55 cmd [2021-05-26T03:58:41.627Z] -rw-r--r-- 1 jenkins jenkins 8513 May 26 03:58 coverage.out [2021-05-26T03:58:41.627Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 03:55 driver [2021-05-26T03:58:41.627Z] -rw-r--r-- 1 jenkins jenkins 285 May 26 03:58 go.mod [2021-05-26T03:58:41.627Z] -rw-r--r-- 1 jenkins jenkins 21177 May 26 03:57 go.sum [2021-05-26T03:58:41.627Z] drwxrwxr-x 4 jenkins jenkins 4096 May 26 03:55 snap [2021-05-26T03:58:41.627Z] -rw-rw-r-- 1 jenkins jenkins 713 May 26 03:55 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:58:41.977Z] + 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=a0a7eec39b0c4269a0e577821221e71b45f7e5c7 --label arch=arm64 --label version=1.2.2-dev.13 . [2021-05-26T03:58:41.977Z] Sending build context to Docker daemon 101.9kB [2021-05-26T03:58:42.250Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T03:58:42.250Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-26T03:58:42.250Z] ---> 83137c7335d4 [2021-05-26T03:58:42.250Z] Step 3/25 : ARG MAKE='make build' [2021-05-26T03:58:42.847Z] ---> Running in 2565cfbcd451 [2021-05-26T03:58:43.441Z] Removing intermediate container 2565cfbcd451 [2021-05-26T03:58:43.441Z] ---> 8d6896e1446d [2021-05-26T03:58:43.441Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T03:58:43.717Z] ---> Running in d872e82a8cf0 [2021-05-26T03:58:44.694Z] Removing intermediate container d872e82a8cf0 [2021-05-26T03:58:44.694Z] ---> 72e411c5632a [2021-05-26T03:58:44.694Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T03:58:44.969Z] ---> Running in 919cfc48de00 [2021-05-26T03:58:45.563Z] Removing intermediate container 919cfc48de00 [2021-05-26T03:58:45.563Z] ---> 8eda16a913c7 [2021-05-26T03:58:45.563Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T03:58:46.157Z] ---> Running in 04bbe39ddb7d [2021-05-26T03:58:48.781Z] Removing intermediate container 04bbe39ddb7d [2021-05-26T03:58:48.781Z] ---> 85220801ba41 [2021-05-26T03:58:48.781Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T03:58:48.781Z] ---> Running in 6517e41a1558 [2021-05-26T03:58:50.217Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-26T03:58:51.189Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-26T03:58:52.167Z] OK: 144 MiB in 49 packages [2021-05-26T03:58:53.141Z] Removing intermediate container 6517e41a1558 [2021-05-26T03:58:53.141Z] ---> fcd23e44e95a [2021-05-26T03:58:53.141Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-26T03:58:53.413Z] ---> Running in dde35a962a16 [2021-05-26T03:58:54.393Z] Removing intermediate container dde35a962a16 [2021-05-26T03:58:54.393Z] ---> 2b028c904eb9 [2021-05-26T03:58:54.393Z] Step 9/25 : COPY . . [2021-05-26T03:58:55.371Z] ---> 800edd22035e [2021-05-26T03:58:55.371Z] Step 10/25 : RUN go mod tidy [2021-05-26T03:58:55.371Z] ---> Running in 8c4b37764878 [2021-05-26T03:58:58.750Z] Removing intermediate container 8c4b37764878 [2021-05-26T03:58:58.750Z] ---> 629c9113faed [2021-05-26T03:58:58.750Z] Step 11/25 : RUN make update [2021-05-26T03:58:58.750Z] ---> Running in fec398f7f126 [2021-05-26T03:58:59.739Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-26T03:59:01.169Z] Removing intermediate container fec398f7f126 [2021-05-26T03:59:01.169Z] ---> 4484bb3e076d [2021-05-26T03:59:01.169Z] Step 12/25 : RUN $MAKE [2021-05-26T03:59:01.169Z] ---> Running in b9eda117660e [2021-05-26T03:59:02.604Z] go mod tidy [2021-05-26T03:59:02.885Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.13" -o cmd/device-rest ./cmd [2021-05-26T03:59:41.925Z] Removing intermediate container b9eda117660e [2021-05-26T03:59:41.925Z] ---> 4c1f5e540107 [2021-05-26T03:59:41.925Z] Step 13/25 : FROM alpine:3.12 [2021-05-26T03:59:41.925Z] 3.12: Pulling from library/alpine [2021-05-26T03:59:41.925Z] d2f70382dc9a: Pulling fs layer [2021-05-26T03:59:41.925Z] d2f70382dc9a: Verifying Checksum [2021-05-26T03:59:41.925Z] d2f70382dc9a: Download complete [2021-05-26T03:59:41.925Z] d2f70382dc9a: Pull complete [2021-05-26T03:59:41.925Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-26T03:59:41.925Z] Status: Downloaded newer image for alpine:3.12 [2021-05-26T03:59:41.925Z] ---> 9852663dfa18 [2021-05-26T03:59:41.925Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-26T03:59:41.925Z] ---> Running in 0b8d60a49c4a [2021-05-26T03:59:41.925Z] Removing intermediate container 0b8d60a49c4a [2021-05-26T03:59:41.925Z] ---> a784656febcc [2021-05-26T03:59:41.925Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-26T03:59:41.925Z] ---> Running in 183234731e2b [2021-05-26T03:59:41.925Z] Removing intermediate container 183234731e2b [2021-05-26T03:59:41.925Z] ---> f395002ca70b [2021-05-26T03:59:41.925Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-26T03:59:41.925Z] ---> Running in a8b9b5506373 [2021-05-26T03:59:41.925Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-26T03:59:41.925Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-26T03:59:42.199Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-26T03:59:42.199Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-26T03:59:42.199Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-26T03:59:42.199Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-26T03:59:42.473Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-26T03:59:42.473Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-26T03:59:42.473Z] Executing busybox-1.31.1-r20.trigger [2021-05-26T03:59:42.473Z] OK: 8 MiB in 20 packages [2021-05-26T03:59:43.457Z] Removing intermediate container a8b9b5506373 [2021-05-26T03:59:43.457Z] ---> 94348fc54fec [2021-05-26T03:59:43.457Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-26T03:59:44.891Z] ---> 0db0a780e0a2 [2021-05-26T03:59:44.891Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-26T03:59:45.488Z] ---> 9b2925ec9646 [2021-05-26T03:59:45.488Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-26T03:59:46.471Z] ---> 981ae44562c4 [2021-05-26T03:59:46.471Z] Step 20/25 : EXPOSE 59986 [2021-05-26T03:59:46.471Z] ---> Running in 662b97a0a019 [2021-05-26T03:59:47.065Z] Removing intermediate container 662b97a0a019 [2021-05-26T03:59:47.065Z] ---> 3165071faf5c [2021-05-26T03:59:47.065Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-26T03:59:47.065Z] ---> Running in 13e9a2df6d6b [2021-05-26T03:59:47.659Z] Removing intermediate container 13e9a2df6d6b [2021-05-26T03:59:47.659Z] ---> cb79d762d9a0 [2021-05-26T03:59:47.659Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-26T03:59:47.659Z] ---> Running in c9249c3a231b [2021-05-26T03:59:48.253Z] Removing intermediate container c9249c3a231b [2021-05-26T03:59:48.253Z] ---> 31af9be5229f [2021-05-26T03:59:48.253Z] Step 23/25 : LABEL arch=arm64 [2021-05-26T03:59:48.253Z] ---> Running in 973c53957db1 [2021-05-26T03:59:48.845Z] Removing intermediate container 973c53957db1 [2021-05-26T03:59:48.845Z] ---> 0173f96193fb [2021-05-26T03:59:48.845Z] Step 24/25 : LABEL git_sha=a0a7eec39b0c4269a0e577821221e71b45f7e5c7 [2021-05-26T03:59:49.117Z] ---> Running in d4617ba10003 [2021-05-26T03:59:49.388Z] Removing intermediate container d4617ba10003 [2021-05-26T03:59:49.388Z] ---> 223ad306a201 [2021-05-26T03:59:49.388Z] Step 25/25 : LABEL version=1.2.2-dev.13 [2021-05-26T03:59:49.661Z] ---> Running in 7b3865ae33ec [2021-05-26T03:59:50.252Z] Removing intermediate container 7b3865ae33ec [2021-05-26T03:59:50.252Z] ---> 2320885ec423 [2021-05-26T03:59:50.252Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-26T03:59:50.252Z] Successfully built 2320885ec423 [2021-05-26T03:59:50.252Z] 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-26T03:59:50.404Z] provisioning config files... [2021-05-26T03:59:50.423Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/46@tmp/config5968096690210050569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T03:59:50.784Z] ---> docker-login.sh [2021-05-26T03:59:50.785Z] nexus3.edgexfoundry.org:10001 [2021-05-26T03:59:51.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:59:51.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:59:51.331Z] Configure a credential helper to remove this warning. See [2021-05-26T03:59:51.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:59:51.331Z] [2021-05-26T03:59:51.331Z] Login Succeeded [2021-05-26T03:59:51.331Z] nexus3.edgexfoundry.org:10002 [2021-05-26T03:59:51.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:59:51.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:59:51.878Z] Configure a credential helper to remove this warning. See [2021-05-26T03:59:51.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:59:51.878Z] [2021-05-26T03:59:51.878Z] Login Succeeded [2021-05-26T03:59:51.878Z] nexus3.edgexfoundry.org:10003 [2021-05-26T03:59:52.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:59:52.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:59:52.429Z] Configure a credential helper to remove this warning. See [2021-05-26T03:59:52.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:59:52.429Z] [2021-05-26T03:59:52.429Z] Login Succeeded [2021-05-26T03:59:52.429Z] nexus3.edgexfoundry.org:10004 [2021-05-26T03:59:52.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:59:52.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:59:52.980Z] Configure a credential helper to remove this warning. See [2021-05-26T03:59:52.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:59:52.980Z] [2021-05-26T03:59:52.980Z] Login Succeeded [2021-05-26T03:59:52.980Z] docker.io [2021-05-26T03:59:53.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T03:59:53.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T03:59:53.532Z] Configure a credential helper to remove this warning. See [2021-05-26T03:59:53.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T03:59:53.532Z] [2021-05-26T03:59:53.532Z] Login Succeeded [2021-05-26T03:59:53.532Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T03:59:53.550Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-26T03:59:53.624Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-05-26T03:59:53.624Z] a0a7eec39b0c4269a0e577821221e71b45f7e5c7 [2021-05-26T03:59:53.624Z] latest [2021-05-26T03:59:53.624Z] 1.2.2-dev.13 [2021-05-26T03:59:53.624Z] a0a7eec39b0c4269a0e577821221e71b45f7e5c7-1.2.2-dev.13 [2021-05-26T03:59:53.624Z] master [2021-05-26T03:59:53.624Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:59:54.014Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a0a7eec39b0c4269a0e577821221e71b45f7e5c7 [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:59:54.394Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a0a7eec39b0c4269a0e577821221e71b45f7e5c7 [2021-05-26T03:59:54.394Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-26T03:59:54.394Z] 0d127c8a3fa3: Preparing [2021-05-26T03:59:54.394Z] 41b08212d342: Preparing [2021-05-26T03:59:54.394Z] 7b63f750f57d: Preparing [2021-05-26T03:59:54.394Z] 4bfde8ce2752: Preparing [2021-05-26T03:59:54.394Z] 3fbe34a1663b: Preparing [2021-05-26T03:59:54.688Z] 3fbe34a1663b: Layer already exists [2021-05-26T03:59:54.688Z] 0d127c8a3fa3: Pushed [2021-05-26T03:59:54.688Z] 41b08212d342: Pushed [2021-05-26T03:59:55.283Z] 4bfde8ce2752: Pushed [2021-05-26T03:59:57.250Z] 7b63f750f57d: Pushed [2021-05-26T03:59:57.520Z] a0a7eec39b0c4269a0e577821221e71b45f7e5c7: digest: sha256:d068a1618bb1ab0e276c454d2ed0af15dee78547c1c10aa7e088dd0df08ba2ca size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:59:57.871Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:59:58.215Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-05-26T03:59:58.215Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-26T03:59:58.215Z] 0d127c8a3fa3: Preparing [2021-05-26T03:59:58.215Z] 41b08212d342: Preparing [2021-05-26T03:59:58.215Z] 7b63f750f57d: Preparing [2021-05-26T03:59:58.215Z] 4bfde8ce2752: Preparing [2021-05-26T03:59:58.215Z] 3fbe34a1663b: Preparing [2021-05-26T03:59:58.215Z] 7b63f750f57d: Layer already exists [2021-05-26T03:59:58.215Z] 4bfde8ce2752: Layer already exists [2021-05-26T03:59:58.215Z] 0d127c8a3fa3: Layer already exists [2021-05-26T03:59:58.215Z] 3fbe34a1663b: Layer already exists [2021-05-26T03:59:58.215Z] 41b08212d342: Layer already exists [2021-05-26T03:59:58.484Z] latest: digest: sha256:d068a1618bb1ab0e276c454d2ed0af15dee78547c1c10aa7e088dd0df08ba2ca size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:59:58.830Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.13 [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:59:59.169Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.13 [2021-05-26T03:59:59.170Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-26T03:59:59.170Z] 0d127c8a3fa3: Preparing [2021-05-26T03:59:59.170Z] 41b08212d342: Preparing [2021-05-26T03:59:59.170Z] 7b63f750f57d: Preparing [2021-05-26T03:59:59.170Z] 4bfde8ce2752: Preparing [2021-05-26T03:59:59.170Z] 3fbe34a1663b: Preparing [2021-05-26T03:59:59.170Z] 7b63f750f57d: Layer already exists [2021-05-26T03:59:59.170Z] 0d127c8a3fa3: Layer already exists [2021-05-26T03:59:59.170Z] 41b08212d342: Layer already exists [2021-05-26T03:59:59.170Z] 4bfde8ce2752: Layer already exists [2021-05-26T03:59:59.170Z] 3fbe34a1663b: Layer already exists [2021-05-26T03:59:59.440Z] 1.2.2-dev.13: digest: sha256:d068a1618bb1ab0e276c454d2ed0af15dee78547c1c10aa7e088dd0df08ba2ca size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T03:59:59.783Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a0a7eec39b0c4269a0e577821221e71b45f7e5c7-1.2.2-dev.13 [Pipeline] isUnix [Pipeline] sh [2021-05-26T04:00:00.128Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a0a7eec39b0c4269a0e577821221e71b45f7e5c7-1.2.2-dev.13 [2021-05-26T04:00:00.129Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-26T04:00:00.129Z] 0d127c8a3fa3: Preparing [2021-05-26T04:00:00.129Z] 41b08212d342: Preparing [2021-05-26T04:00:00.129Z] 7b63f750f57d: Preparing [2021-05-26T04:00:00.129Z] 4bfde8ce2752: Preparing [2021-05-26T04:00:00.129Z] 3fbe34a1663b: Preparing [2021-05-26T04:00:00.129Z] 41b08212d342: Layer already exists [2021-05-26T04:00:00.129Z] 3fbe34a1663b: Layer already exists [2021-05-26T04:00:00.129Z] 4bfde8ce2752: Layer already exists [2021-05-26T04:00:00.129Z] 0d127c8a3fa3: Layer already exists [2021-05-26T04:00:00.129Z] 7b63f750f57d: Layer already exists [2021-05-26T04:00:00.399Z] a0a7eec39b0c4269a0e577821221e71b45f7e5c7-1.2.2-dev.13: digest: sha256:d068a1618bb1ab0e276c454d2ed0af15dee78547c1c10aa7e088dd0df08ba2ca size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T04:00:00.745Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-26T04:00:01.085Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:master [2021-05-26T04:00:01.085Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-26T04:00:01.085Z] 0d127c8a3fa3: Preparing [2021-05-26T04:00:01.085Z] 41b08212d342: Preparing [2021-05-26T04:00:01.085Z] 7b63f750f57d: Preparing [2021-05-26T04:00:01.085Z] 4bfde8ce2752: Preparing [2021-05-26T04:00:01.085Z] 3fbe34a1663b: Preparing [2021-05-26T04:00:01.085Z] 3fbe34a1663b: Layer already exists [2021-05-26T04:00:01.085Z] 7b63f750f57d: Layer already exists [2021-05-26T04:00:01.085Z] 4bfde8ce2752: Layer already exists [2021-05-26T04:00:01.085Z] 0d127c8a3fa3: Layer already exists [2021-05-26T04:00:01.355Z] 41b08212d342: Layer already exists [2021-05-26T04:00:01.355Z] master: digest: sha256:d068a1618bb1ab0e276c454d2ed0af15dee78547c1c10aa7e088dd0df08ba2ca size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-26T04:00:01.422Z] ===================================================== [Pipeline] echo [2021-05-26T04:00:01.439Z] taggedImages: [2021-05-26T04:00:01.440Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:a0a7eec39b0c4269a0e577821221e71b45f7e5c7 [2021-05-26T04:00:01.440Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-05-26T04:00:01.440Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.13 [2021-05-26T04:00:01.440Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:a0a7eec39b0c4269a0e577821221e71b45f7e5c7-1.2.2-dev.13 [2021-05-26T04:00:01.440Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-26T04:00:01.826Z] ---> job-cost.sh [2021-05-26T04:00:01.826Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-b44Z [2021-05-26T04:00:40.801Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-26T04:02:02.569Z] lf-activate-venv(): INFO: Adding /tmp/venv-b44Z/bin to PATH [2021-05-26T04:02:02.569Z] INFO: No Stack... [2021-05-26T04:02:02.569Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-26T04:02:02.569Z] INFO: Archiving Costs [Pipeline] sh [2021-05-26T04:02:02.917Z] + cat /w/workspace/device-rest-go/46/archives/cost.csv [2021-05-26T04:02:02.918Z] + cut -d, -f6 [Pipeline] lock [2021-05-26T04:02:02.982Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-46-stack-cost] [2021-05-26T04:02:02.992Z] Resource [jenkins-edgexfoundry-device-rest-go-master-46-stack-cost] did not exist. Created. [2021-05-26T04:02:02.992Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-26T04:02:03.381Z] /w/workspace/device-rest-go/46@tmp/durable-7b1f1322/script.sh: 1: /w/workspace/device-rest-go/46@tmp/durable-7b1f1322/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-26T04:02:03.728Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-26T04:02:03.758Z] Warning: overwriting stash ‘stack-cost’ [2021-05-26T04:02:03.913Z] Stashed 1 file(s) [Pipeline] } [2021-05-26T04:02:03.924Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-46-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-26T04:02:04.467Z] provisioning config files... [2021-05-26T04:02:04.476Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8102064500598286551tmp [Pipeline] { [Pipeline] sh [2021-05-26T04:02:04.792Z] + set +x [2021-05-26T04:02:04.792Z] + curl -s https://codecov.io/bash [2021-05-26T04:02:04.792Z] + bash -s -- [2021-05-26T04:02:04.792Z] [2021-05-26T04:02:04.792Z] _____ _ [2021-05-26T04:02:04.792Z] / ____| | | [2021-05-26T04:02:04.792Z] | | ___ __| | ___ ___ _____ __ [2021-05-26T04:02:04.792Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-26T04:02:04.792Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-26T04:02:04.792Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-26T04:02:04.792Z] Bash-1.0.3 [2021-05-26T04:02:04.792Z] [2021-05-26T04:02:04.792Z] [2021-05-26T04:02:04.792Z] ==> git version 2.24.4 found [2021-05-26T04:02:04.792Z] ==> 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-26T04:02:04.792Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-26T04:02:04.792Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-26T04:02:04.792Z] ==> Jenkins CI detected. [2021-05-26T04:02:04.792Z] project root: . [2021-05-26T04:02:04.792Z] --> token set from env [2021-05-26T04:02:04.792Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-26T04:02:04.792Z] ==> Running gcov in . (disable via -X gcov) [2021-05-26T04:02:04.792Z] ==> Python coveragepy not found [2021-05-26T04:02:04.792Z] ==> Searching for coverage reports in: [2021-05-26T04:02:04.792Z] + . [2021-05-26T04:02:05.114Z] -> Found 1 reports [2021-05-26T04:02:05.114Z] ==> Detecting git/mercurial file structure [2021-05-26T04:02:05.114Z] ==> Reading reports [2021-05-26T04:02:05.114Z] + ./coverage.out bytes=8513 [2021-05-26T04:02:05.114Z] ==> Appending adjustments [2021-05-26T04:02:05.114Z] https://docs.codecov.io/docs/fixing-reports [2021-05-26T04:02:05.114Z] + Found adjustments [2021-05-26T04:02:05.114Z] ==> Gzipping contents [2021-05-26T04:02:05.114Z] 4.0K /tmp/codecov.27aVei.gz [2021-05-26T04:02:05.114Z] ==> Uploading reports [2021-05-26T04:02:05.114Z] url: https://codecov.io [2021-05-26T04:02:05.114Z] query: branch=master&commit=a0a7eec39b0c4269a0e577821221e71b45f7e5c7&build=46&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F46%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-26T04:02:05.114Z] -> Pinging Codecov [2021-05-26T04:02:05.114Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=a0a7eec39b0c4269a0e577821221e71b45f7e5c7&build=46&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F46%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-26T04:02:05.441Z] -> Uploading to [2021-05-26T04:02:05.441Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-26/4E5D53B4F1F92C436F7061BF334D961C/a0a7eec39b0c4269a0e577821221e71b45f7e5c7/ee3474be-d07d-410d-aac7-cbf1c4032a4a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210526%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210526T040205Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=520b93e03a99cb126873f4ee85a64afcaf680497eea1518f8b17784dcc0cd156 [2021-05-26T04:02:05.441Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-26T04:02:05.441Z] Dload Upload Total Spent Left Speed [2021-05-26T04:02:06.013Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3474 --:--:-- --:--:-- --:--:-- 3471 [2021-05-26T04:02:06.013Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/a0a7eec39b0c4269a0e577821221e71b45f7e5c7 [Pipeline] } [2021-05-26T04:02:06.022Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-26T04:02:06.695Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-26T04:02:06.715Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T04:02:07.027Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-26T04:02:07.027Z] [2021-05-26T04:02:07.027Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-26T04:02:07.346Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-26T04:02:07.346Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-26T04:02:07.346Z] 188c0c94c7c5: Pulling fs layer [2021-05-26T04:02:07.346Z] 0ef7d3d256c8: Pulling fs layer [2021-05-26T04:02:07.346Z] de9db76c5a1d: Pulling fs layer [2021-05-26T04:02:07.346Z] 0eba1c9be4d2: Pulling fs layer [2021-05-26T04:02:07.346Z] 0d57e429df01: Pulling fs layer [2021-05-26T04:02:07.346Z] 4e4be7b47b0d: Pulling fs layer [2021-05-26T04:02:07.346Z] e1f770b5df2f: Pulling fs layer [2021-05-26T04:02:07.346Z] 85a0685a4137: Pulling fs layer [2021-05-26T04:02:07.346Z] 0eba1c9be4d2: Waiting [2021-05-26T04:02:07.346Z] 0d57e429df01: Waiting [2021-05-26T04:02:07.346Z] 4e4be7b47b0d: Waiting [2021-05-26T04:02:07.346Z] e1f770b5df2f: Waiting [2021-05-26T04:02:07.346Z] 85a0685a4137: Waiting [2021-05-26T04:02:07.346Z] de9db76c5a1d: Verifying Checksum [2021-05-26T04:02:07.346Z] de9db76c5a1d: Download complete [2021-05-26T04:02:07.346Z] 0ef7d3d256c8: Verifying Checksum [2021-05-26T04:02:07.346Z] 0ef7d3d256c8: Download complete [2021-05-26T04:02:07.346Z] 0d57e429df01: Verifying Checksum [2021-05-26T04:02:07.346Z] 0d57e429df01: Download complete [2021-05-26T04:02:07.346Z] 4e4be7b47b0d: Verifying Checksum [2021-05-26T04:02:07.346Z] 4e4be7b47b0d: Download complete [2021-05-26T04:02:07.610Z] 188c0c94c7c5: Verifying Checksum [2021-05-26T04:02:07.610Z] 188c0c94c7c5: Download complete [2021-05-26T04:02:07.610Z] 188c0c94c7c5: Pull complete [2021-05-26T04:02:07.872Z] 0ef7d3d256c8: Pull complete [2021-05-26T04:02:07.872Z] de9db76c5a1d: Pull complete [2021-05-26T04:02:08.820Z] e1f770b5df2f: Verifying Checksum [2021-05-26T04:02:08.820Z] e1f770b5df2f: Download complete [2021-05-26T04:02:10.737Z] 0eba1c9be4d2: Verifying Checksum [2021-05-26T04:02:10.737Z] 0eba1c9be4d2: Download complete [2021-05-26T04:02:11.003Z] 85a0685a4137: Verifying Checksum [2021-05-26T04:02:11.003Z] 85a0685a4137: Download complete [2021-05-26T04:02:14.322Z] 0eba1c9be4d2: Pull complete [2021-05-26T04:02:14.323Z] 0d57e429df01: Pull complete [2021-05-26T04:02:14.323Z] 4e4be7b47b0d: Pull complete [2021-05-26T04:02:14.589Z] e1f770b5df2f: Pull complete [2021-05-26T04:02:17.936Z] 85a0685a4137: Pull complete [2021-05-26T04:02:17.936Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-26T04:02:17.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-26T04:02:17.936Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-26T04:02:18.021Z] prd-centos7-docker-4c-2g-363 does not seem to be running inside a container [2021-05-26T04:02:18.066Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-26T04:02:20.770Z] $ docker top 3dec18741482aa4f5a59165193cde134f73dbf19f2a9950318c2d53ad11c3b0e -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-26T04:02:20.866Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-26T04:02:21.167Z] + set -o pipefail [2021-05-26T04:02:21.167Z] + snyk monitor '--org=edgex-jenkins' [2021-05-26T04:02:47.760Z] [2021-05-26T04:02:47.760Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2021-05-26T04:02:47.760Z] [2021-05-26T04:02:47.760Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/b6dc14db-c3ee-4929-80c1-3cc5cb5fc246 [2021-05-26T04:02:47.760Z] [2021-05-26T04:02:47.760Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-26T04:02:47.760Z] [2021-05-26T04:02:47.760Z] [Pipeline] } [2021-05-26T04:02:47.769Z] $ docker stop --time=1 3dec18741482aa4f5a59165193cde134f73dbf19f2a9950318c2d53ad11c3b0e [2021-05-26T04:02:49.556Z] $ docker rm -f 3dec18741482aa4f5a59165193cde134f73dbf19f2a9950318c2d53ad11c3b0e [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-26T04:02:50.416Z] + git log --format=format:%s -1 a0a7eec39b0c4269a0e577821221e71b45f7e5c7 [Pipeline] isUnix [Pipeline] sh [2021-05-26T04:02:50.722Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T04:02:50.722Z] . [Pipeline] withDockerContainer [2021-05-26T04:02:50.796Z] prd-centos7-docker-4c-2g-363 does not seem to be running inside a container [2021-05-26T04:02:50.829Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-26T04:02:51.170Z] $ docker top 0bbaeeaed7e76dec39e1b09723dfc50a436a50a11334b80249afdebf37246b3e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-26T04:02:51.325Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T04:02:51.325Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T04:02:51.435Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T04:02:51.434Z] $ docker exec 0bbaeeaed7e76dec39e1b09723dfc50a436a50a11334b80249afdebf37246b3e ssh-agent [2021-05-26T04:02:51.549Z] SSH_AUTH_SOCK=/tmp/ssh-8jDEiC8laJLe/agent.12 [2021-05-26T04:02:51.549Z] SSH_AGENT_PID=19 [2021-05-26T04:02:51.554Z] Running ssh-add (command line suppressed) [2021-05-26T04:02:51.657Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7679962947614725142.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7679962947614725142.key) [2021-05-26T04:02:51.675Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T04:02:51.976Z] + git semver tag [2021-05-26T04:02:51.977Z] # -> Open(): unable to determine branch for HEAD [2021-05-26T04:02:51.977Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-26T04:02:51.977Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-26T04:02:51.977Z] # $SEMVER_REMOTE_NAME = origin [2021-05-26T04:02:51.977Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-26T04:02:51.977Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-26T04:02:51.977Z] # $SEMVER_BRANCH = master [2021-05-26T04:02:51.977Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-05-26T04:02:51.977Z] # a0a7eec39b0c4269a0e577821221e71b45f7e5c7 HEAD [2021-05-26T04:02:51.977Z] # -> Force: false [2021-05-26T04:02:51.977Z] # 89a11a07cfc770ba0e4c74b95ced00baa74fa302 refs/tags/v1.2.2-dev.13 [Pipeline] } [2021-05-26T04:02:51.983Z] $ docker exec --env ******** --env ******** 0bbaeeaed7e76dec39e1b09723dfc50a436a50a11334b80249afdebf37246b3e ssh-agent -k [2021-05-26T04:02:52.082Z] unset SSH_AUTH_SOCK; [2021-05-26T04:02:52.082Z] unset SSH_AGENT_PID; [2021-05-26T04:02:52.082Z] echo Agent pid 19 killed; [2021-05-26T04:02:52.101Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-26T04:02:52.447Z] + git semver [Pipeline] } [2021-05-26T04:02:52.457Z] $ docker stop --time=1 0bbaeeaed7e76dec39e1b09723dfc50a436a50a11334b80249afdebf37246b3e [2021-05-26T04:02:53.644Z] $ docker rm -f 0bbaeeaed7e76dec39e1b09723dfc50a436a50a11334b80249afdebf37246b3e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-26T04:02:54.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-26T04:02:54.224Z] [2021-05-26T04:02:54.224Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-26T04:02:54.541Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-26T04:02:54.541Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-26T04:02:54.541Z] ab5ef0e58194: Pulling fs layer [2021-05-26T04:02:54.541Z] 9712f1f96733: Pulling fs layer [2021-05-26T04:02:54.541Z] 63f879dbbcfc: Pulling fs layer [2021-05-26T04:02:54.541Z] 0d9ebad4ef96: Pulling fs layer [2021-05-26T04:02:54.541Z] e9a5061849ea: Pulling fs layer [2021-05-26T04:02:54.541Z] d747dcd14b5f: Pulling fs layer [2021-05-26T04:02:54.541Z] 2de7ff778b66: Pulling fs layer [2021-05-26T04:02:54.541Z] 0d9ebad4ef96: Waiting [2021-05-26T04:02:54.541Z] e9a5061849ea: Waiting [2021-05-26T04:02:54.541Z] d747dcd14b5f: Waiting [2021-05-26T04:02:54.541Z] 2de7ff778b66: Waiting [2021-05-26T04:02:54.541Z] 9712f1f96733: Download complete [2021-05-26T04:02:56.458Z] 63f879dbbcfc: Verifying Checksum [2021-05-26T04:02:56.458Z] 63f879dbbcfc: Download complete [2021-05-26T04:02:56.458Z] e9a5061849ea: Verifying Checksum [2021-05-26T04:02:56.458Z] e9a5061849ea: Download complete [2021-05-26T04:02:56.458Z] d747dcd14b5f: Verifying Checksum [2021-05-26T04:02:56.458Z] d747dcd14b5f: Download complete [2021-05-26T04:02:56.718Z] 2de7ff778b66: Verifying Checksum [2021-05-26T04:02:56.718Z] 2de7ff778b66: Download complete [2021-05-26T04:02:57.294Z] 0d9ebad4ef96: Verifying Checksum [2021-05-26T04:02:57.294Z] 0d9ebad4ef96: Download complete [2021-05-26T04:02:57.294Z] ab5ef0e58194: Verifying Checksum [2021-05-26T04:02:57.294Z] ab5ef0e58194: Download complete [2021-05-26T04:02:59.854Z] ab5ef0e58194: Pull complete [2021-05-26T04:02:59.854Z] 9712f1f96733: Pull complete [2021-05-26T04:03:00.429Z] 63f879dbbcfc: Pull complete [2021-05-26T04:03:03.777Z] 0d9ebad4ef96: Pull complete [2021-05-26T04:03:04.039Z] e9a5061849ea: Pull complete [2021-05-26T04:03:04.039Z] d747dcd14b5f: Pull complete [2021-05-26T04:03:04.989Z] 2de7ff778b66: Pull complete [2021-05-26T04:03:04.989Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-26T04:03:04.989Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-26T04:03:04.989Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-26T04:03:05.066Z] prd-centos7-docker-4c-2g-363 does not seem to be running inside a container [2021-05-26T04:03:05.100Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-26T04:03:08.382Z] $ docker top 0f0545a8fcc6116bb113e70c0bd730b75fc22c3ce2f6a4e799a47ced87c407ae -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-26T04:03:08.500Z] provisioning config files... [2021-05-26T04:03:08.509Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8483766607233348924tmp [2021-05-26T04:03:08.520Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4130602824173546348tmp [2021-05-26T04:03:08.531Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4154953331752956252tmp [Pipeline] { [Pipeline] echo [2021-05-26T04:03:08.551Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T04:03:08.847Z] ---> sigul-configuration.sh [2021-05-26T04:03:08.847Z] gpg: directory `/root/.gnupg' created [2021-05-26T04:03:08.847Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-26T04:03:08.847Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-26T04:03:08.847Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-26T04:03:08.847Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-26T04:03:08.847Z] gpg: CAST5 encrypted data [2021-05-26T04:03:08.847Z] gpg: encrypted with 1 passphrase [2021-05-26T04:03:08.847Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-26T04:03:09.141Z] + mkdir /home/jenkins [2021-05-26T04:03:09.142Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-26T04:03:09.438Z] + 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-26T04:03:09.448Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T04:03:09.984Z] ---> sigul-install.sh [2021-05-26T04:03:14.220Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-26T04:03:14.516Z] + git tag --list [2021-05-26T04:03:14.516Z] v1.0.0 [2021-05-26T04:03:14.516Z] v1.1.0 [2021-05-26T04:03:14.516Z] v1.1.1 [2021-05-26T04:03:14.516Z] v1.1.2 [2021-05-26T04:03:14.516Z] v1.2.0 [2021-05-26T04:03:14.516Z] v1.2.1 [2021-05-26T04:03:14.516Z] v1.2.1-dev.1 [2021-05-26T04:03:14.516Z] v1.2.1-dev.2 [2021-05-26T04:03:14.516Z] v1.2.1-dev.3 [2021-05-26T04:03:14.516Z] v1.2.1-dev.4 [2021-05-26T04:03:14.516Z] v1.2.2-dev.1 [2021-05-26T04:03:14.516Z] v1.2.2-dev.10 [2021-05-26T04:03:14.516Z] v1.2.2-dev.11 [2021-05-26T04:03:14.516Z] v1.2.2-dev.12 [2021-05-26T04:03:14.516Z] v1.2.2-dev.13 [2021-05-26T04:03:14.516Z] v1.2.2-dev.2 [2021-05-26T04:03:14.516Z] v1.2.2-dev.3 [2021-05-26T04:03:14.516Z] v1.2.2-dev.4 [2021-05-26T04:03:14.516Z] v1.2.2-dev.5 [2021-05-26T04:03:14.516Z] v1.2.2-dev.6 [2021-05-26T04:03:14.516Z] v1.2.2-dev.7 [2021-05-26T04:03:14.516Z] v1.2.2-dev.8 [2021-05-26T04:03:14.516Z] v1.2.2-dev.9 [Pipeline] sh [2021-05-26T04:03:14.840Z] + lftools sign git-tag v1.2.2-dev.13 [2021-05-26T04:03:15.412Z] Signing Git tag with Sigul... [2021-05-26T04:03:15.412Z] Signing v1.2.2-dev.13 [Pipeline] echo [2021-05-26T04:03:16.368Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T04:03:16.669Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-26T04:03:16.681Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-26T04:03:16.707Z] $ docker stop --time=1 0f0545a8fcc6116bb113e70c0bd730b75fc22c3ce2f6a4e799a47ced87c407ae [2021-05-26T04:03:18.173Z] $ docker rm -f 0f0545a8fcc6116bb113e70c0bd730b75fc22c3ce2f6a4e799a47ced87c407ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-26T04:03:18.685Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T04:03:18.685Z] . [Pipeline] withDockerContainer [2021-05-26T04:03:18.792Z] prd-centos7-docker-4c-2g-363 does not seem to be running inside a container [2021-05-26T04:03:18.828Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-26T04:03:19.267Z] $ docker top 35ac3fea19a338803a6dcbdf56df454035ed159b9d1d55c631ccb9abddd2d7e9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-26T04:03:19.397Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T04:03:19.397Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T04:03:19.514Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T04:03:19.512Z] $ docker exec 35ac3fea19a338803a6dcbdf56df454035ed159b9d1d55c631ccb9abddd2d7e9 ssh-agent [2021-05-26T04:03:19.627Z] SSH_AUTH_SOCK=/tmp/ssh-KTVXhiEV1K5p/agent.14 [2021-05-26T04:03:19.627Z] SSH_AGENT_PID=20 [2021-05-26T04:03:19.632Z] Running ssh-add (command line suppressed) [2021-05-26T04:03:19.733Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2082670522072268437.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2082670522072268437.key) [2021-05-26T04:03:19.749Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T04:03:20.046Z] + git semver bump pre [2021-05-26T04:03:20.047Z] # -> Open(): unable to determine branch for HEAD [2021-05-26T04:03:20.047Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-26T04:03:20.047Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-26T04:03:20.047Z] # $SEMVER_REMOTE_NAME = origin [2021-05-26T04:03:20.047Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-26T04:03:20.047Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-26T04:03:20.047Z] # $SEMVER_BRANCH = master [2021-05-26T04:03:20.047Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-05-26T04:03:20.047Z] 1.2.2-dev.14 [Pipeline] } [2021-05-26T04:03:20.053Z] $ docker exec --env ******** --env ******** 35ac3fea19a338803a6dcbdf56df454035ed159b9d1d55c631ccb9abddd2d7e9 ssh-agent -k [2021-05-26T04:03:20.151Z] unset SSH_AUTH_SOCK; [2021-05-26T04:03:20.151Z] unset SSH_AGENT_PID; [2021-05-26T04:03:20.151Z] echo Agent pid 20 killed; [2021-05-26T04:03:20.165Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-26T04:03:20.517Z] + git semver [Pipeline] } [2021-05-26T04:03:20.526Z] $ docker stop --time=1 35ac3fea19a338803a6dcbdf56df454035ed159b9d1d55c631ccb9abddd2d7e9 [2021-05-26T04:03:21.744Z] $ docker rm -f 35ac3fea19a338803a6dcbdf56df454035ed159b9d1d55c631ccb9abddd2d7e9 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-26T04:03:22.137Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T04:03:22.137Z] . [Pipeline] withDockerContainer [2021-05-26T04:03:22.209Z] prd-centos7-docker-4c-2g-363 does not seem to be running inside a container [2021-05-26T04:03:22.242Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-26T04:03:22.579Z] $ docker top e2e08e7fcba4a020ae11669d5524abbb34f03ce6097c24ff3c6237ae8b22b0ce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-26T04:03:22.710Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T04:03:22.710Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T04:03:22.822Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T04:03:22.821Z] $ docker exec e2e08e7fcba4a020ae11669d5524abbb34f03ce6097c24ff3c6237ae8b22b0ce ssh-agent [2021-05-26T04:03:22.937Z] SSH_AUTH_SOCK=/tmp/ssh-UvUp6I9ticjb/agent.13 [2021-05-26T04:03:22.937Z] SSH_AGENT_PID=20 [2021-05-26T04:03:22.943Z] Running ssh-add (command line suppressed) [2021-05-26T04:03:23.036Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_199335095975859521.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_199335095975859521.key) [2021-05-26T04:03:23.064Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T04:03:23.361Z] + git semver push [2021-05-26T04:03:23.361Z] # -> Open(): unable to determine branch for HEAD [2021-05-26T04:03:23.361Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-26T04:03:23.361Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-26T04:03:23.361Z] # $SEMVER_REMOTE_NAME = origin [2021-05-26T04:03:23.361Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-26T04:03:23.361Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-26T04:03:23.361Z] # $SEMVER_BRANCH = master [2021-05-26T04:03:23.361Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-05-26T04:03:27.570Z] $ docker exec --env ******** --env ******** e2e08e7fcba4a020ae11669d5524abbb34f03ce6097c24ff3c6237ae8b22b0ce ssh-agent -k [2021-05-26T04:03:27.670Z] unset SSH_AUTH_SOCK; [2021-05-26T04:03:27.670Z] unset SSH_AGENT_PID; [2021-05-26T04:03:27.670Z] echo Agent pid 20 killed; [2021-05-26T04:03:27.685Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-26T04:03:28.027Z] + git semver [Pipeline] } [2021-05-26T04:03:28.038Z] $ docker stop --time=1 e2e08e7fcba4a020ae11669d5524abbb34f03ce6097c24ff3c6237ae8b22b0ce [2021-05-26T04:03:29.229Z] $ docker rm -f e2e08e7fcba4a020ae11669d5524abbb34f03ce6097c24ff3c6237ae8b22b0ce [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-26T04:03:29.895Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T04:03:30.458Z] ---> package-listing.sh [2021-05-26T04:03:30.458Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-26T04:03:30.458Z] ++ facter osfamily [2021-05-26T04:03:30.719Z] + OS_FAMILY=redhat [2021-05-26T04:03:30.719Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2021-05-26T04:03:30.719Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-26T04:03:30.719Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-26T04:03:30.719Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-26T04:03:30.719Z] + PACKAGES=/tmp/packages_start.txt [2021-05-26T04:03:30.719Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-05-26T04:03:30.719Z] + PACKAGES=/tmp/packages_end.txt [2021-05-26T04:03:30.719Z] + case "${OS_FAMILY}" in [2021-05-26T04:03:30.719Z] + sort [2021-05-26T04:03:30.719Z] + rpm -qa [2021-05-26T04:03:31.289Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-26T04:03:31.289Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-26T04:03:31.289Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-26T04:03:31.289Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-05-26T04:03:31.289Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2021-05-26T04:03:31.289Z] + 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-26T04:03:31.301Z] 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-26T04:03:31.595Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-26T04:03:32.175Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T04:03:32.175Z] [2021-05-26T04:03:32.175Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-26T04:03:32.486Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T04:03:32.486Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-26T04:03:32.486Z] df20fa9351a1: Pulling fs layer [2021-05-26T04:03:32.486Z] 36b3adc4ff6f: Pulling fs layer [2021-05-26T04:03:32.486Z] 8ad3a11d3b57: Pulling fs layer [2021-05-26T04:03:32.486Z] 46f8f816bc3b: Pulling fs layer [2021-05-26T04:03:32.486Z] 93b61091891f: Pulling fs layer [2021-05-26T04:03:32.486Z] 93b9cdb0e59b: Pulling fs layer [2021-05-26T04:03:32.486Z] 5e14af77c1be: Pulling fs layer [2021-05-26T04:03:32.486Z] 01666e4c0597: Pulling fs layer [2021-05-26T04:03:32.486Z] aa168da1d23b: Pulling fs layer [2021-05-26T04:03:32.486Z] 93b9cdb0e59b: Waiting [2021-05-26T04:03:32.486Z] 5e14af77c1be: Waiting [2021-05-26T04:03:32.486Z] 01666e4c0597: Waiting [2021-05-26T04:03:32.486Z] aa168da1d23b: Waiting [2021-05-26T04:03:32.486Z] 46f8f816bc3b: Waiting [2021-05-26T04:03:32.486Z] 93b61091891f: Waiting [2021-05-26T04:03:32.486Z] 36b3adc4ff6f: Download complete [2021-05-26T04:03:32.486Z] 46f8f816bc3b: Verifying Checksum [2021-05-26T04:03:32.486Z] 46f8f816bc3b: Download complete [2021-05-26T04:03:32.749Z] df20fa9351a1: Verifying Checksum [2021-05-26T04:03:32.749Z] df20fa9351a1: Download complete [2021-05-26T04:03:32.749Z] 93b9cdb0e59b: Verifying Checksum [2021-05-26T04:03:32.749Z] 93b9cdb0e59b: Download complete [2021-05-26T04:03:32.749Z] 93b61091891f: Verifying Checksum [2021-05-26T04:03:32.749Z] 93b61091891f: Download complete [2021-05-26T04:03:32.749Z] 5e14af77c1be: Verifying Checksum [2021-05-26T04:03:32.749Z] 5e14af77c1be: Download complete [2021-05-26T04:03:32.749Z] 01666e4c0597: Verifying Checksum [2021-05-26T04:03:32.749Z] 01666e4c0597: Download complete [2021-05-26T04:03:32.749Z] df20fa9351a1: Pull complete [2021-05-26T04:03:33.018Z] 36b3adc4ff6f: Pull complete [2021-05-26T04:03:33.018Z] 8ad3a11d3b57: Verifying Checksum [2021-05-26T04:03:33.018Z] 8ad3a11d3b57: Download complete [2021-05-26T04:03:33.679Z] 8ad3a11d3b57: Pull complete [2021-05-26T04:03:33.679Z] 46f8f816bc3b: Pull complete [2021-05-26T04:03:34.048Z] 93b61091891f: Pull complete [2021-05-26T04:03:34.048Z] 93b9cdb0e59b: Pull complete [2021-05-26T04:03:34.048Z] 5e14af77c1be: Pull complete [2021-05-26T04:03:34.048Z] 01666e4c0597: Pull complete [2021-05-26T04:03:35.004Z] aa168da1d23b: Verifying Checksum [2021-05-26T04:03:35.004Z] aa168da1d23b: Download complete [2021-05-26T04:03:39.237Z] aa168da1d23b: Pull complete [2021-05-26T04:03:39.237Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-26T04:03:39.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T04:03:39.237Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-26T04:03:39.315Z] prd-centos7-docker-4c-2g-363 does not seem to be running inside a container [2021-05-26T04:03:39.348Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-26T04:03:41.563Z] $ docker top 70f0019c3395e91e7aaf6569d44e4b8521b554b567e2a8764b1dee940f17b736 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T04:03:41.956Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-26T04:03:42.252Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-26T04:03:42.546Z] + ls /var/log/sa-host [2021-05-26T04:03:42.547Z] + sadf -c /var/log/sa-host/sa05 [2021-05-26T04:03:42.547Z] file_magic: OK [2021-05-26T04:03:42.547Z] HZ: Using current value: 100 [2021-05-26T04:03:42.547Z] file_header: OK [2021-05-26T04:03:42.547Z] 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-26T04:03:42.547Z] Statistics: [2021-05-26T04:03:42.547Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-26T04:03:42.547Z] File successfully converted to sysstat format version 12.2.1 [2021-05-26T04:03:42.547Z] + sadf -c /var/log/sa-host/sa26 [2021-05-26T04:03:42.547Z] file_magic: OK [2021-05-26T04:03:42.547Z] HZ: Using current value: 100 [2021-05-26T04:03:42.547Z] file_header: OK [2021-05-26T04:03:42.547Z] 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-26T04:03:42.547Z] Statistics: [2021-05-26T04:03:42.547Z] 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-26T04:03:42.547Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T04:03:42.700Z] provisioning config files... [2021-05-26T04:03:42.712Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4684998564211051415tmp [Pipeline] { [Pipeline] echo [2021-05-26T04:03:42.732Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T04:03:43.075Z] ---> create-netrc.sh [Pipeline] } [2021-05-26T04:03:43.084Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-26T04:03:43.111Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T04:03:43.413Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-26T04:03:43.423Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T04:03:43.715Z] ---> sudo-logs.sh [2021-05-26T04:03:43.715Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-26T04:03:43.741Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T04:03:44.032Z] ---> job-cost.sh [2021-05-26T04:03:44.032Z] lf-activate-venv: SKIPPING [2021-05-26T04:03:44.032Z] DEBUG: total: 0.18000000715255737 [2021-05-26T04:03:44.032Z] INFO: Retrieving Stack Cost... [2021-05-26T04:03:45.418Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-26T04:03:45.679Z] INFO: Archiving Costs [Pipeline] echo [2021-05-26T04:03:45.692Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T04:03:45.984Z] ---> logs-deploy.sh [2021-05-26T04:03:45.985Z] lf-activate-venv: SKIPPING [2021-05-26T04:03:45.985Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/46 [2021-05-26T04:03:45.985Z] INFO: archiving workspace using pattern(s): [2021-05-26T04:03:46.928Z] Archives upload complete. [2021-05-26T04:03:46.928Z] INFO: archiving logs to Nexus [2021-05-26T04:03:47.500Z] ---> uname -a: [2021-05-26T04:03:47.500Z] Linux prd-centos7-docker-4c-2g-363.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux [2021-05-26T04:03:47.500Z] [2021-05-26T04:03:47.500Z]