Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b 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-ssh1897600310441825298.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-ssh2584502430399519037.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-ssh6071360846886080921.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-ssh7583988411336488016.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-ssh7192250388928127434.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-941 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_master # timeout=10 Avoid second fetch Checking out Revision 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b (master) 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-ssh8966202062123825272.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 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b # timeout=10 Commit message: "Merge pull request #108 from siggiskulason/snap-fix-service-name" > git rev-list --no-walk a0a7eec39b0c4269a0e577821221e71b45f7e5c7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-28T22:15:54.161Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-28T22:15:54.246Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-28T22:15:54.276Z] ========================================================= [2021-05-28T22:15:54.276Z] EdgeX Global Pipelines Version Info [2021-05-28T22:15:54.276Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-28T22:15:55.657Z] ------------------- [2021-05-28T22:15:55.657Z] stable info: [2021-05-28T22:15:55.657Z] ------------------- [2021-05-28T22:15:55.657Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-28T22:15:55.657Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-28T22:15:55.657Z] Message: update stable to v1.0.192 [2021-05-28T22:15:56.246Z] ------------------- [2021-05-28T22:15:56.246Z] experimental info: [2021-05-28T22:15:56.246Z] ------------------- [2021-05-28T22:15:56.246Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-28T22:15:56.246Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-28T22:15:56.246Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-28T22:15:56.364Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-28T22:15:59.590Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-28T22:15:59.639Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-28T22:15:59.667Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-28T22:15:59.696Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-28T22:15:59.724Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-28T22:15:59.752Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-28T22:15:59.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-28T22:15:59.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-28T22:15:59.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-28T22:15:59.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-28T22:15:59.903Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-28T22:15:59.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-28T22:15:59.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-28T22:15:59.977Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-28T22:16:00.001Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-28T22:16:00.026Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-28T22:16:00.050Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-28T22:16:00.076Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-28T22:16:00.109Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-28T22:16:00.134Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-28T22:16:00.158Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-28T22:16:00.183Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-28T22:16:00.209Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-28T22:16:00.236Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-28T22:16:00.261Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-28T22:16:00.319Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-28T22:16:00.343Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-28T22:16:00.367Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-28T22:16:00.390Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b [Pipeline] echo [2021-05-28T22:16:00.413Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 405bc14 [Pipeline] echo [2021-05-28T22:16:00.437Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-28T22:16:00.525Z] provisioning config files... [2021-05-28T22:16:00.542Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1649400280106922450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-28T22:16:00.858Z] ---> docker-login.sh [2021-05-28T22:16:00.858Z] nexus3.edgexfoundry.org:10001 [2021-05-28T22:16:00.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:16:01.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:16:01.133Z] Configure a credential helper to remove this warning. See [2021-05-28T22:16:01.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:16:01.133Z] [2021-05-28T22:16:01.133Z] Login Succeeded [2021-05-28T22:16:01.133Z] nexus3.edgexfoundry.org:10002 [2021-05-28T22:16:01.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:16:01.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:16:01.133Z] Configure a credential helper to remove this warning. See [2021-05-28T22:16:01.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:16:01.133Z] [2021-05-28T22:16:01.133Z] Login Succeeded [2021-05-28T22:16:01.133Z] nexus3.edgexfoundry.org:10003 [2021-05-28T22:16:01.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:16:01.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:16:01.403Z] Configure a credential helper to remove this warning. See [2021-05-28T22:16:01.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:16:01.403Z] [2021-05-28T22:16:01.403Z] Login Succeeded [2021-05-28T22:16:01.403Z] nexus3.edgexfoundry.org:10004 [2021-05-28T22:16:01.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:16:01.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:16:01.403Z] Configure a credential helper to remove this warning. See [2021-05-28T22:16:01.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:16:01.403Z] [2021-05-28T22:16:01.403Z] Login Succeeded [2021-05-28T22:16:01.403Z] docker.io [2021-05-28T22:16:01.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:16:01.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:16:01.928Z] Configure a credential helper to remove this warning. See [2021-05-28T22:16:01.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:16:01.929Z] [2021-05-28T22:16:01.929Z] Login Succeeded [2021-05-28T22:16:01.929Z] ---> docker-login.sh ends [Pipeline] } [2021-05-28T22:16:01.936Z] 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-28T22:16:02.397Z] + git log --format=format:%s -1 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b [Pipeline] echo [2021-05-28T22:16:02.444Z] GIT_COMMIT: 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b, Commit Message: Merge pull request #108 from siggiskulason/snap-fix-service-name [Pipeline] echo [2021-05-28T22:16:02.466Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:16:03.548Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-28T22:16:03.549Z] [2021-05-28T22:16:03.549Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:16:03.860Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-28T22:16:03.860Z] latest: Pulling from edgex-devops/git-semver [2021-05-28T22:16:03.860Z] 31603596830f: Pulling fs layer [2021-05-28T22:16:03.860Z] 54011a49482f: Pulling fs layer [2021-05-28T22:16:03.860Z] a6820b24f6d8: Pulling fs layer [2021-05-28T22:16:03.860Z] f581987b2513: Pulling fs layer [2021-05-28T22:16:03.860Z] f581987b2513: Waiting [2021-05-28T22:16:04.121Z] 54011a49482f: Download complete [2021-05-28T22:16:04.121Z] 31603596830f: Verifying Checksum [2021-05-28T22:16:04.121Z] 31603596830f: Download complete [2021-05-28T22:16:04.383Z] f581987b2513: Verifying Checksum [2021-05-28T22:16:04.383Z] f581987b2513: Download complete [2021-05-28T22:16:04.383Z] a6820b24f6d8: Verifying Checksum [2021-05-28T22:16:04.383Z] a6820b24f6d8: Download complete [2021-05-28T22:16:04.383Z] 31603596830f: Pull complete [2021-05-28T22:16:04.383Z] 54011a49482f: Pull complete [2021-05-28T22:16:04.964Z] a6820b24f6d8: Pull complete [2021-05-28T22:16:05.225Z] f581987b2513: Pull complete [2021-05-28T22:16:05.225Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-28T22:16:05.225Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-28T22:16:05.225Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-28T22:16:05.312Z] prd-centos7-docker-4c-2g-941 does not seem to be running inside a container [2021-05-28T22:16:05.352Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-28T22:16:06.193Z] $ docker top d67bc9a476ac0f2903366c20cb3b8c477273e1d01c708edd3a3b549b4a028d1b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-28T22:16:06.320Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-28T22:16:06.320Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-28T22:16:06.451Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-28T22:16:06.451Z] $ docker exec d67bc9a476ac0f2903366c20cb3b8c477273e1d01c708edd3a3b549b4a028d1b ssh-agent [2021-05-28T22:16:06.561Z] SSH_AUTH_SOCK=/tmp/ssh-tyZmepjC9cje/agent.13 [2021-05-28T22:16:06.562Z] SSH_AGENT_PID=20 [2021-05-28T22:16:06.573Z] Running ssh-add (command line suppressed) [2021-05-28T22:16:06.671Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3299980164444873914.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3299980164444873914.key) [2021-05-28T22:16:06.689Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-28T22:16:06.993Z] + git tag --points-at HEAD [Pipeline] } [2021-05-28T22:16:07.004Z] $ docker exec --env ******** --env ******** d67bc9a476ac0f2903366c20cb3b8c477273e1d01c708edd3a3b549b4a028d1b ssh-agent -k [2021-05-28T22:16:07.095Z] unset SSH_AUTH_SOCK; [2021-05-28T22:16:07.095Z] unset SSH_AGENT_PID; [2021-05-28T22:16:07.095Z] echo Agent pid 20 killed; [2021-05-28T22:16:07.115Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-28T22:16:07.153Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-28T22:16:07.153Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-28T22:16:07.260Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-28T22:16:07.259Z] $ docker exec d67bc9a476ac0f2903366c20cb3b8c477273e1d01c708edd3a3b549b4a028d1b ssh-agent [2021-05-28T22:16:07.371Z] SSH_AUTH_SOCK=/tmp/ssh-E8ZCXRjfWzBr/agent.55 [2021-05-28T22:16:07.371Z] SSH_AGENT_PID=61 [2021-05-28T22:16:07.376Z] Running ssh-add (command line suppressed) [2021-05-28T22:16:07.470Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7011161758327920943.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7011161758327920943.key) [2021-05-28T22:16:07.488Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-28T22:16:07.789Z] + git semver init [2021-05-28T22:16:07.789Z] # -> Open(): unable to determine branch for HEAD [2021-05-28T22:16:07.789Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-28T22:16:07.789Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-28T22:16:07.789Z] # $SEMVER_REMOTE_NAME = origin [2021-05-28T22:16:07.789Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-28T22:16:07.789Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-28T22:16:07.789Z] # $SEMVER_BRANCH = master [2021-05-28T22:16:07.789Z] # $SEMVER_TEMP = /tmp/semver-942375809 [2021-05-28T22:16:07.789Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-28T22:16:08.777Z] # '/tmp/semver-942375809' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2021-05-28T22:16:08.777Z] # -> Force: false [2021-05-28T22:16:08.777Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-05-28T22:16:08.787Z] $ docker exec --env ******** --env ******** d67bc9a476ac0f2903366c20cb3b8c477273e1d01c708edd3a3b549b4a028d1b ssh-agent -k [2021-05-28T22:16:08.883Z] unset SSH_AUTH_SOCK; [2021-05-28T22:16:08.884Z] unset SSH_AGENT_PID; [2021-05-28T22:16:08.884Z] echo Agent pid 61 killed; [2021-05-28T22:16:08.899Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-28T22:16:09.243Z] + git semver [Pipeline] } [2021-05-28T22:16:09.255Z] $ docker stop --time=1 d67bc9a476ac0f2903366c20cb3b8c477273e1d01c708edd3a3b549b4a028d1b [2021-05-28T22:16:10.573Z] $ docker rm -f d67bc9a476ac0f2903366c20cb3b8c477273e1d01c708edd3a3b549b4a028d1b [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-28T22:16:10.942Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-28T22:16:11.211Z] Stashed 1 file(s) [Pipeline] echo [2021-05-28T22:16:11.214Z] [edgeXSemver]: initialized semver on version 1.2.2-dev.14 [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-28T22:16:26.401Z] Still waiting to schedule task [2021-05-28T22:16:26.402Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-28T22:16:26.404Z] Still waiting to schedule task [2021-05-28T22:16:26.404Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-28T22:19:07.350Z] Running on prd-centos7-docker-4c-2g-944 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-05-28T22:19:07.375Z] Running in /w/workspace/device-rest-go/47 [Pipeline] { [Pipeline] checkout [2021-05-28T22:19:07.486Z] The recommended git tool is: git [2021-05-28T22:19:09.808Z] using credential edgex-jenkins-ssh [2021-05-28T22:19:09.822Z] Cloning the remote Git repository [2021-05-28T22:19:09.031Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-28T22:19:10.839Z] Avoid second fetch [2021-05-28T22:19:10.840Z] Checking out Revision 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b (master) [2021-05-28T22:19:09.101Z] > git init /w/workspace/device-rest-go/47 # timeout=10 [2021-05-28T22:19:09.140Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-28T22:19:09.141Z] > git --version # timeout=10 [2021-05-28T22:19:09.154Z] > git --version # 'git version 2.24.4' [2021-05-28T22:19:09.155Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-28T22:19:09.187Z] [INFO] Currently running in a labeled security context [2021-05-28T22:19:09.187Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-28T22:19:09.187Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/47@tmp/jenkins-gitclient-ssh7678063805828810270.key [2021-05-28T22:19:09.225Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-28T22:19:10.018Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-28T22:19:10.028Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-28T22:19:10.049Z] > git config core.sparsecheckout # timeout=10 [2021-05-28T22:19:10.059Z] > git checkout -f 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b # timeout=10 [2021-05-28T22:19:14.255Z] Commit message: "Merge pull request #108 from siggiskulason/snap-fix-service-name" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-28T22:19:14.901Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-943 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-05-28T22:19:15.151Z] Running in /w/workspace/device-rest-go/47 [Pipeline] { [Pipeline] checkout [2021-05-28T22:19:15.348Z] The recommended git tool is: git [2021-05-28T22:19:15.410Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-28T22:19:15.734Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-28T22:19:16.046Z] + true [2021-05-28T22:19:16.046Z] + sudo service docker restart [2021-05-28T22:19:16.046Z] Redirecting to /bin/systemctl restart docker.service [2021-05-28T22:19:20.739Z] using credential edgex-jenkins-ssh [2021-05-28T22:19:20.755Z] Cloning the remote Git repository [2021-05-28T22:19:20.810Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-28T22:19:20.969Z] > git init /w/workspace/device-rest-go/47 # timeout=10 [2021-05-28T22:19:21.120Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-28T22:19:21.122Z] > git --version # timeout=10 [2021-05-28T22:19:21.148Z] > git --version # 'git version 2.17.1' [2021-05-28T22:19:21.150Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-28T22:19:21.232Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-28T22:19:22.758Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-28T22:19:22.792Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-28T22:19:22.801Z] Avoid second fetch [2021-05-28T22:19:22.802Z] Checking out Revision 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b (master) [2021-05-28T22:19:22.828Z] > git config core.sparsecheckout # timeout=10 [2021-05-28T22:19:22.840Z] > git checkout -f 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b # timeout=10 [2021-05-28T22:19:27.039Z] Commit message: "Merge pull request #108 from siggiskulason/snap-fix-service-name" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-28T22:19:28.271Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-28T22:19:28.717Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-28T22:19:29.055Z] + true [2021-05-28T22:19:29.055Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-28T22:19:34.216Z] provisioning config files... [2021-05-28T22:19:34.232Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/47@tmp/config7629906221011636163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-28T22:19:34.554Z] ---> docker-login.sh [2021-05-28T22:19:34.554Z] nexus3.edgexfoundry.org:10001 [2021-05-28T22:19:34.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:19:34.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:19:34.815Z] Configure a credential helper to remove this warning. See [2021-05-28T22:19:34.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:19:34.815Z] [2021-05-28T22:19:34.815Z] Login Succeeded [2021-05-28T22:19:34.815Z] nexus3.edgexfoundry.org:10002 [2021-05-28T22:19:34.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:19:34.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:19:34.815Z] Configure a credential helper to remove this warning. See [2021-05-28T22:19:34.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:19:34.816Z] [2021-05-28T22:19:34.816Z] Login Succeeded [2021-05-28T22:19:34.816Z] nexus3.edgexfoundry.org:10003 [2021-05-28T22:19:34.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:19:35.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:19:35.076Z] Configure a credential helper to remove this warning. See [2021-05-28T22:19:35.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:19:35.076Z] [2021-05-28T22:19:35.076Z] Login Succeeded [2021-05-28T22:19:35.076Z] nexus3.edgexfoundry.org:10004 [2021-05-28T22:19:35.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:19:35.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:19:35.076Z] Configure a credential helper to remove this warning. See [2021-05-28T22:19:35.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:19:35.076Z] [2021-05-28T22:19:35.076Z] Login Succeeded [2021-05-28T22:19:35.076Z] docker.io [2021-05-28T22:19:35.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:19:35.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:19:35.647Z] Configure a credential helper to remove this warning. See [2021-05-28T22:19:35.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:19:35.647Z] [2021-05-28T22:19:35.647Z] Login Succeeded [2021-05-28T22:19:35.647Z] ---> docker-login.sh ends [Pipeline] } [2021-05-28T22:19:35.655Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-28T22:19:35.835Z] ========================================================= [2021-05-28T22:19:35.835Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-28T22:19:35.835Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:19:36.182Z] + 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-28T22:19:36.182Z] Sending build context to Docker daemon 92.16kB [2021-05-28T22:19:36.182Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-28T22:19:36.182Z] Step 2/10 : FROM ${BASE} [2021-05-28T22:19:36.182Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-28T22:19:36.182Z] 540db60ca938: Pulling fs layer [2021-05-28T22:19:36.182Z] adcc1eea9eea: Pulling fs layer [2021-05-28T22:19:36.182Z] 4c4ab2625f07: Pulling fs layer [2021-05-28T22:19:36.182Z] 0510c868ecb4: Pulling fs layer [2021-05-28T22:19:36.182Z] afea3b2eda06: Pulling fs layer [2021-05-28T22:19:36.182Z] 7809a108b3ef: Pulling fs layer [2021-05-28T22:19:36.182Z] f706445af74f: Pulling fs layer [2021-05-28T22:19:36.182Z] 0510c868ecb4: Waiting [2021-05-28T22:19:36.182Z] afea3b2eda06: Waiting [2021-05-28T22:19:36.182Z] 7809a108b3ef: Waiting [2021-05-28T22:19:36.182Z] f706445af74f: Waiting [2021-05-28T22:19:36.182Z] 4c4ab2625f07: Verifying Checksum [2021-05-28T22:19:36.182Z] 4c4ab2625f07: Download complete [2021-05-28T22:19:36.182Z] adcc1eea9eea: Verifying Checksum [2021-05-28T22:19:36.182Z] adcc1eea9eea: Download complete [2021-05-28T22:19:36.182Z] afea3b2eda06: Verifying Checksum [2021-05-28T22:19:36.182Z] afea3b2eda06: Download complete [2021-05-28T22:19:36.182Z] 7809a108b3ef: Verifying Checksum [2021-05-28T22:19:36.182Z] 7809a108b3ef: Download complete [2021-05-28T22:19:36.442Z] 540db60ca938: Verifying Checksum [2021-05-28T22:19:36.442Z] 540db60ca938: Download complete [2021-05-28T22:19:36.442Z] 540db60ca938: Pull complete [2021-05-28T22:19:36.704Z] adcc1eea9eea: Pull complete [2021-05-28T22:19:36.965Z] 4c4ab2625f07: Pull complete [2021-05-28T22:19:38.355Z] f706445af74f: Verifying Checksum [2021-05-28T22:19:38.355Z] f706445af74f: Download complete [2021-05-28T22:19:38.355Z] 0510c868ecb4: Verifying Checksum [2021-05-28T22:19:38.355Z] 0510c868ecb4: Download complete [2021-05-28T22:19:41.706Z] 0510c868ecb4: Pull complete [2021-05-28T22:19:41.968Z] afea3b2eda06: Pull complete [2021-05-28T22:19:41.968Z] 7809a108b3ef: Pull complete [2021-05-28T22:19:43.362Z] f706445af74f: Pull complete [2021-05-28T22:19:43.362Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-28T22:19:43.362Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-28T22:19:43.362Z] ---> b068be0155e3 [2021-05-28T22:19:43.362Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-28T22:19:46.687Z] ---> Running in 948ea7ce4d21 [2021-05-28T22:19:46.687Z] Removing intermediate container 948ea7ce4d21 [2021-05-28T22:19:46.687Z] ---> 976b0eed9969 [2021-05-28T22:19:46.687Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-28T22:19:46.687Z] ---> Running in 73a225c7ac8c [2021-05-28T22:19:46.950Z] Removing intermediate container 73a225c7ac8c [2021-05-28T22:19:46.950Z] ---> 08609fa38c93 [2021-05-28T22:19:46.950Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-28T22:19:46.950Z] ---> Running in c480ddde02ac [2021-05-28T22:19:47.214Z] Removing intermediate container c480ddde02ac [2021-05-28T22:19:47.214Z] ---> f3b19ee4266d [2021-05-28T22:19:47.214Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-28T22:19:47.214Z] ---> Running in 8289ac243af1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-28T22:19:47.444Z] provisioning config files... [2021-05-28T22:19:47.470Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/47@tmp/config7313541880309404192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-28T22:19:47.785Z] Removing intermediate container 8289ac243af1 [2021-05-28T22:19:47.785Z] ---> 61c4dac4b3e6 [2021-05-28T22:19:47.785Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-28T22:19:47.785Z] ---> Running in b90499835870 [2021-05-28T22:19:47.844Z] ---> docker-login.sh [2021-05-28T22:19:47.844Z] nexus3.edgexfoundry.org:10001 [2021-05-28T22:19:48.049Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-28T22:19:48.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:19:49.001Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-28T22:19:49.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:19:49.059Z] Configure a credential helper to remove this warning. See [2021-05-28T22:19:49.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:19:49.059Z] [2021-05-28T22:19:49.059Z] Login Succeeded [2021-05-28T22:19:49.059Z] nexus3.edgexfoundry.org:10002 [2021-05-28T22:19:49.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:19:49.574Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-28T22:19:49.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:19:49.607Z] Configure a credential helper to remove this warning. See [2021-05-28T22:19:49.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:19:49.607Z] [2021-05-28T22:19:49.607Z] Login Succeeded [2021-05-28T22:19:49.607Z] nexus3.edgexfoundry.org:10003 [2021-05-28T22:19:49.837Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-28T22:19:49.837Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-28T22:19:49.837Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-28T22:19:49.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:19:49.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:19:49.880Z] Configure a credential helper to remove this warning. See [2021-05-28T22:19:49.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:19:49.880Z] [2021-05-28T22:19:49.880Z] Login Succeeded [2021-05-28T22:19:49.880Z] nexus3.edgexfoundry.org:10004 [2021-05-28T22:19:50.100Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-28T22:19:50.100Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-28T22:19:50.100Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-28T22:19:50.362Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-28T22:19:50.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:19:50.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:19:50.482Z] Configure a credential helper to remove this warning. See [2021-05-28T22:19:50.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:19:50.482Z] [2021-05-28T22:19:50.482Z] Login Succeeded [2021-05-28T22:19:50.482Z] docker.io [2021-05-28T22:19:50.626Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-28T22:19:50.626Z] Executing busybox-1.32.1-r6.trigger [2021-05-28T22:19:50.626Z] OK: 154 MiB in 49 packages [2021-05-28T22:19:51.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:19:51.201Z] Removing intermediate container b90499835870 [2021-05-28T22:19:51.201Z] ---> f7062715ebc4 [2021-05-28T22:19:51.201Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-28T22:19:51.201Z] ---> Running in 94d4bd0dab81 [2021-05-28T22:19:51.201Z] Removing intermediate container 94d4bd0dab81 [2021-05-28T22:19:51.201Z] ---> d41cb4d5abad [2021-05-28T22:19:51.201Z] Step 9/10 : COPY . . [2021-05-28T22:19:51.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:19:51.351Z] Configure a credential helper to remove this warning. See [2021-05-28T22:19:51.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:19:51.351Z] [2021-05-28T22:19:51.351Z] Login Succeeded [2021-05-28T22:19:51.351Z] ---> docker-login.sh ends [Pipeline] } [2021-05-28T22:19:51.369Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-05-28T22:19:51.464Z] ---> f41d0178d3dd [2021-05-28T22:19:51.464Z] Step 10/10 : RUN go mod download [2021-05-28T22:19:51.464Z] ---> Running in df9cfa6769bb [Pipeline] echo [2021-05-28T22:19:51.678Z] ========================================================= [2021-05-28T22:19:51.678Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-28T22:19:51.678Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:19:52.022Z] + 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-28T22:19:52.022Z] Sending build context to Docker daemon 92.16kB [2021-05-28T22:19:52.294Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-28T22:19:52.294Z] Step 2/10 : FROM ${BASE} [2021-05-28T22:19:52.576Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-28T22:19:52.576Z] 595b0fe564bb: Pulling fs layer [2021-05-28T22:19:52.576Z] 7186ed65a4f7: Pulling fs layer [2021-05-28T22:19:52.576Z] 316046926c0a: Pulling fs layer [2021-05-28T22:19:52.576Z] 4ebd0625c992: Pulling fs layer [2021-05-28T22:19:52.576Z] 207e8628e3a3: Pulling fs layer [2021-05-28T22:19:52.576Z] c791037a9be2: Pulling fs layer [2021-05-28T22:19:52.576Z] ffd874e62e21: Pulling fs layer [2021-05-28T22:19:52.576Z] 207e8628e3a3: Waiting [2021-05-28T22:19:52.576Z] c791037a9be2: Waiting [2021-05-28T22:19:52.576Z] 4ebd0625c992: Waiting [2021-05-28T22:19:52.576Z] ffd874e62e21: Waiting [2021-05-28T22:19:52.576Z] 316046926c0a: Download complete [2021-05-28T22:19:52.576Z] 7186ed65a4f7: Verifying Checksum [2021-05-28T22:19:52.576Z] 7186ed65a4f7: Download complete [2021-05-28T22:19:52.576Z] 207e8628e3a3: Verifying Checksum [2021-05-28T22:19:52.576Z] 207e8628e3a3: Download complete [2021-05-28T22:19:52.576Z] c791037a9be2: Verifying Checksum [2021-05-28T22:19:52.576Z] c791037a9be2: Download complete [2021-05-28T22:19:52.576Z] 595b0fe564bb: Verifying Checksum [2021-05-28T22:19:52.857Z] 595b0fe564bb: Download complete [2021-05-28T22:19:53.458Z] 595b0fe564bb: Pull complete [2021-05-28T22:19:54.079Z] 7186ed65a4f7: Pull complete [2021-05-28T22:19:54.356Z] ffd874e62e21: Verifying Checksum [2021-05-28T22:19:54.356Z] ffd874e62e21: Download complete [2021-05-28T22:19:54.634Z] 316046926c0a: Pull complete [2021-05-28T22:19:55.619Z] 4ebd0625c992: Verifying Checksum [2021-05-28T22:19:55.619Z] 4ebd0625c992: Download complete [2021-05-28T22:20:03.745Z] Removing intermediate container df9cfa6769bb [2021-05-28T22:20:03.745Z] ---> c063830bc1e2 [2021-05-28T22:20:03.745Z] Successfully built c063830bc1e2 [2021-05-28T22:20:03.745Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:20:04.066Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-28T22:20:04.066Z] . [Pipeline] withDockerContainer [2021-05-28T22:20:04.159Z] prd-centos7-docker-4c-2g-944 does not seem to be running inside a container [2021-05-28T22:20:04.210Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/47 -v /w/workspace/device-rest-go/47:/w/workspace/device-rest-go/47:rw,z -v /w/workspace/device-rest-go/47@tmp:/w/workspace/device-rest-go/47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-28T22:20:04.588Z] $ docker top 9d6046b6033a6ad9b46ba2f4cd681f51ca8931218a8aeeaafd4239e8c8fc4f3f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-28T22:20:04.977Z] + go version [2021-05-28T22:20:04.977Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-28T22:20:04.986Z] $ docker stop --time=1 9d6046b6033a6ad9b46ba2f4cd681f51ca8931218a8aeeaafd4239e8c8fc4f3f [2021-05-28T22:20:06.189Z] $ docker rm -f 9d6046b6033a6ad9b46ba2f4cd681f51ca8931218a8aeeaafd4239e8c8fc4f3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:20:06.685Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-28T22:20:06.685Z] . [Pipeline] withDockerContainer [2021-05-28T22:20:06.772Z] prd-centos7-docker-4c-2g-944 does not seem to be running inside a container [2021-05-28T22:20:06.816Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/47 -v /w/workspace/device-rest-go/47:/w/workspace/device-rest-go/47:rw,z -v /w/workspace/device-rest-go/47@tmp:/w/workspace/device-rest-go/47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-28T22:20:07.221Z] $ docker top 8d51ec52c5febfb22b2d93627c24f56f1e32e75d1120f7d59e7cb6be9e3e4971 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-28T22:20:07.628Z] + go mod tidy [Pipeline] sh [2021-05-28T22:20:08.030Z] 4ebd0625c992: Pull complete [2021-05-28T22:20:08.030Z] 207e8628e3a3: Pull complete [2021-05-28T22:20:08.030Z] c791037a9be2: Pull complete [2021-05-28T22:20:08.199Z] + make test [2021-05-28T22:20:08.199Z] go mod tidy [2021-05-28T22:20:08.465Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-28T22:20:08.730Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-28T22:20:10.660Z] ffd874e62e21: Pull complete [2021-05-28T22:20:10.932Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-28T22:20:10.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-28T22:20:10.932Z] ---> cfc18b08335c [2021-05-28T22:20:10.932Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-28T22:20:12.923Z] ---> Running in 3e081c1a18bc [2021-05-28T22:20:13.198Z] Removing intermediate container 3e081c1a18bc [2021-05-28T22:20:13.198Z] ---> 28d7ccf4bbee [2021-05-28T22:20:13.198Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-28T22:20:13.472Z] ---> Running in fa7b090f4c85 [2021-05-28T22:20:13.752Z] Removing intermediate container fa7b090f4c85 [2021-05-28T22:20:13.752Z] ---> e7c8f4d6aca4 [2021-05-28T22:20:13.752Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-28T22:20:14.028Z] ---> Running in b4f33af78d02 [2021-05-28T22:20:14.302Z] Removing intermediate container b4f33af78d02 [2021-05-28T22:20:14.302Z] ---> 502923b742b0 [2021-05-28T22:20:14.302Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-28T22:20:14.582Z] ---> Running in 8db10899a61d [2021-05-28T22:20:17.218Z] Removing intermediate container 8db10899a61d [2021-05-28T22:20:17.218Z] ---> f653c2b3015d [2021-05-28T22:20:17.218Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-28T22:20:17.218Z] ---> Running in c22f852df754 [2021-05-28T22:20:18.203Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-28T22:20:19.179Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-28T22:20:20.150Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-28T22:20:20.150Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-28T22:20:20.150Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-28T22:20:20.150Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-28T22:20:20.423Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-28T22:20:20.423Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-28T22:20:20.700Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-28T22:20:20.975Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-28T22:20:20.975Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-28T22:20:20.975Z] Executing busybox-1.32.1-r6.trigger [2021-05-28T22:20:21.253Z] OK: 144 MiB in 49 packages [2021-05-28T22:20:22.694Z] Removing intermediate container c22f852df754 [2021-05-28T22:20:22.694Z] ---> 21916fb027cb [2021-05-28T22:20:22.694Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-28T22:20:22.694Z] ---> Running in 7ea35757e7d3 [2021-05-28T22:20:23.292Z] Removing intermediate container 7ea35757e7d3 [2021-05-28T22:20:23.292Z] ---> d464294ba804 [2021-05-28T22:20:23.292Z] Step 9/10 : COPY . . [2021-05-28T22:20:23.901Z] ---> 7e0714c7e44b [2021-05-28T22:20:23.901Z] Step 10/10 : RUN go mod download [2021-05-28T22:20:24.195Z] ---> Running in d9c5b8300b85 [2021-05-28T22:20:26.979Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-28T22:20:26.979Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 54.0% of statements [2021-05-28T22:20:26.979Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-28T22:20:33.624Z] gofmt -l . [2021-05-28T22:20:33.624Z] [ "`gofmt -l .`" = "" ] [2021-05-28T22:20:33.624Z] ./bin/test-go-mod-tidy.sh [2021-05-28T22:20:33.624Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-28T22:20:33.895Z] $ docker stop --time=1 8d51ec52c5febfb22b2d93627c24f56f1e32e75d1120f7d59e7cb6be9e3e4971 [2021-05-28T22:20:35.285Z] $ docker rm -f 8d51ec52c5febfb22b2d93627c24f56f1e32e75d1120f7d59e7cb6be9e3e4971 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-28T22:20:35.721Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-28T22:20:35.911Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-28T22:20:38.512Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-28T22:20:38.806Z] + ls -al . [2021-05-28T22:20:38.806Z] total 104 [2021-05-28T22:20:38.806Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 28 22:20 . [2021-05-28T22:20:38.806Z] drwxrwxr-x. 4 jenkins jenkins 30 May 28 22:19 .. [2021-05-28T22:20:38.806Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 28 22:19 Attribution.txt [2021-05-28T22:20:38.806Z] drwxrwxr-x. 2 jenkins jenkins 64 May 28 22:19 bin [2021-05-28T22:20:38.806Z] drwxrwxr-x. 3 jenkins jenkins 32 May 28 22:19 cmd [2021-05-28T22:20:38.806Z] -rw-r--r--. 1 jenkins jenkins 8513 May 28 22:20 coverage.out [2021-05-28T22:20:38.806Z] -rw-rw-r--. 1 jenkins jenkins 1615 May 28 22:19 Dockerfile [2021-05-28T22:20:38.806Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 28 22:19 Dockerfile.build [2021-05-28T22:20:38.806Z] -rw-rw-r--. 1 jenkins jenkins 151 May 28 22:19 .dockerignore [2021-05-28T22:20:38.806Z] drwxrwxr-x. 2 jenkins jenkins 76 May 28 22:19 driver [2021-05-28T22:20:38.806Z] drwxrwxr-x. 8 jenkins jenkins 162 May 28 22:19 .git [2021-05-28T22:20:38.806Z] drwxrwxr-x. 2 jenkins jenkins 103 May 28 22:19 .github [2021-05-28T22:20:38.806Z] -rw-rw-r--. 1 jenkins jenkins 336 May 28 22:19 .gitignore [2021-05-28T22:20:38.806Z] -rw-r--r--. 1 jenkins jenkins 285 May 28 22:20 go.mod [2021-05-28T22:20:38.806Z] -rw-r--r--. 1 jenkins jenkins 21177 May 28 22:20 go.sum [2021-05-28T22:20:38.806Z] -rw-rw-r--. 1 jenkins jenkins 680 May 28 22:19 Jenkinsfile [2021-05-28T22:20:38.806Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 28 22:19 LICENSE [2021-05-28T22:20:38.806Z] -rw-rw-r--. 1 jenkins jenkins 996 May 28 22:19 Makefile [2021-05-28T22:20:38.806Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 28 22:19 README.md [2021-05-28T22:20:38.806Z] drwxrwxr-x. 4 jenkins jenkins 71 May 28 22:19 snap [2021-05-28T22:20:38.806Z] -rw-rw-r--. 1 jenkins jenkins 12 May 28 22:16 VERSION [2021-05-28T22:20:38.806Z] -rw-rw-r--. 1 jenkins jenkins 713 May 28 22:19 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:20:39.109Z] + 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=405bc14ac6f45c2dca7c5fb451b6f8197ce2523b --label arch=amd64 --label version=1.2.2-dev.14 . [2021-05-28T22:20:39.109Z] Sending build context to Docker daemon 101.9kB [2021-05-28T22:20:39.109Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-28T22:20:39.109Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-28T22:20:39.109Z] ---> c063830bc1e2 [2021-05-28T22:20:39.109Z] Step 3/25 : ARG MAKE='make build' [2021-05-28T22:20:39.109Z] ---> Running in aaafe1265b58 [2021-05-28T22:20:39.109Z] Removing intermediate container aaafe1265b58 [2021-05-28T22:20:39.109Z] ---> 8b007589d334 [2021-05-28T22:20:39.109Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-28T22:20:39.109Z] ---> Running in 73a0ee13a76f [2021-05-28T22:20:39.370Z] Removing intermediate container 73a0ee13a76f [2021-05-28T22:20:39.370Z] ---> 8a2b0e31114f [2021-05-28T22:20:39.370Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-28T22:20:39.370Z] ---> Running in c37d10fd5b24 [2021-05-28T22:20:39.370Z] Removing intermediate container c37d10fd5b24 [2021-05-28T22:20:39.370Z] ---> 1d81a703e3c7 [2021-05-28T22:20:39.370Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-28T22:20:39.370Z] ---> Running in 0ebea9b6a0c5 [2021-05-28T22:20:39.950Z] Removing intermediate container 0ebea9b6a0c5 [2021-05-28T22:20:39.951Z] ---> cfbc4201f883 [2021-05-28T22:20:39.951Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-28T22:20:39.951Z] ---> Running in 80027978203a [2021-05-28T22:20:40.213Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-28T22:20:41.160Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-28T22:20:41.426Z] OK: 154 MiB in 49 packages [2021-05-28T22:20:41.693Z] Removing intermediate container 80027978203a [2021-05-28T22:20:41.693Z] ---> 7d30ba3ddda0 [2021-05-28T22:20:41.693Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-28T22:20:41.693Z] ---> Running in cc515ca585f1 [2021-05-28T22:20:41.954Z] Removing intermediate container cc515ca585f1 [2021-05-28T22:20:41.954Z] ---> 5e40589df5f1 [2021-05-28T22:20:41.954Z] Step 9/25 : COPY . . [2021-05-28T22:20:41.954Z] ---> 244e227e4f06 [2021-05-28T22:20:41.954Z] Step 10/25 : RUN go mod tidy [2021-05-28T22:20:41.954Z] ---> Running in 2dce3d75cd32 [2021-05-28T22:20:42.907Z] Removing intermediate container 2dce3d75cd32 [2021-05-28T22:20:42.907Z] ---> 7eb8954fd95d [2021-05-28T22:20:42.907Z] Step 11/25 : RUN make update [2021-05-28T22:20:42.907Z] ---> Running in edfe1d565e73 [2021-05-28T22:20:42.907Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-28T22:20:43.169Z] Removing intermediate container edfe1d565e73 [2021-05-28T22:20:43.169Z] ---> 021846c99ae7 [2021-05-28T22:20:43.169Z] Step 12/25 : RUN $MAKE [2021-05-28T22:20:43.430Z] ---> Running in fe8dcacdaecc [2021-05-28T22:20:43.698Z] go mod tidy [2021-05-28T22:20:43.698Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.14" -o cmd/device-rest ./cmd [2021-05-28T22:20:51.088Z] Removing intermediate container d9c5b8300b85 [2021-05-28T22:20:51.088Z] ---> 231bee79a2db [2021-05-28T22:20:51.088Z] Successfully built 231bee79a2db [2021-05-28T22:20:51.088Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:20:51.434Z] + docker inspect -f . ci-base-image-arm64 [2021-05-28T22:20:51.434Z] . [Pipeline] withDockerContainer [2021-05-28T22:20:51.656Z] prd-ubuntu18.04-docker-arm64-4c-16g-943 does not seem to be running inside a container [2021-05-28T22:20:51.739Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/47 -v /w/workspace/device-rest-go/47:/w/workspace/device-rest-go/47:rw,z -v /w/workspace/device-rest-go/47@tmp:/w/workspace/device-rest-go/47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-28T22:20:53.310Z] $ docker top ab73164f87633580de3d461f88449018ee13ee6876711d16d329bab679d3dbc4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-28T22:20:54.248Z] + go version [2021-05-28T22:20:54.248Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-28T22:20:54.272Z] $ docker stop --time=1 ab73164f87633580de3d461f88449018ee13ee6876711d16d329bab679d3dbc4 [2021-05-28T22:20:56.028Z] Removing intermediate container fe8dcacdaecc [2021-05-28T22:20:56.029Z] ---> 05076f5a3adc [2021-05-28T22:20:56.029Z] Step 13/25 : FROM alpine:3.12 [2021-05-28T22:20:56.029Z] 3.12: Pulling from library/alpine [2021-05-28T22:20:56.029Z] 339de151aab4: Pulling fs layer [2021-05-28T22:20:56.029Z] 339de151aab4: Verifying Checksum [2021-05-28T22:20:56.029Z] 339de151aab4: Download complete [2021-05-28T22:20:56.029Z] 339de151aab4: Pull complete [2021-05-28T22:20:56.029Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-28T22:20:56.029Z] Status: Downloaded newer image for alpine:3.12 [2021-05-28T22:20:56.029Z] ---> 13621d1b12d4 [2021-05-28T22:20:56.029Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-28T22:20:56.029Z] ---> Running in 39b427770a0c [2021-05-28T22:20:56.029Z] Removing intermediate container 39b427770a0c [2021-05-28T22:20:56.029Z] ---> 25a57deb285a [2021-05-28T22:20:56.029Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-28T22:20:56.029Z] ---> Running in 11cf129c6018 [2021-05-28T22:20:56.029Z] Removing intermediate container 11cf129c6018 [2021-05-28T22:20:56.029Z] ---> ff856a69db3c [2021-05-28T22:20:56.029Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-28T22:20:56.029Z] ---> Running in b3bf13062b53 [2021-05-28T22:20:56.029Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-28T22:20:56.078Z] $ docker rm -f ab73164f87633580de3d461f88449018ee13ee6876711d16d329bab679d3dbc4 [2021-05-28T22:20:56.290Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-28T22:20:56.290Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-28T22:20:56.290Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-28T22:20:56.290Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-28T22:20:56.290Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-28T22:20:56.290Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-28T22:20:56.290Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-28T22:20:56.290Z] Executing busybox-1.31.1-r20.trigger [2021-05-28T22:20:56.290Z] OK: 8 MiB in 20 packages [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:20:56.551Z] Removing intermediate container b3bf13062b53 [2021-05-28T22:20:56.551Z] ---> 3a8b6a0109fb [2021-05-28T22:20:56.551Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-28T22:20:56.763Z] + docker inspect -f . ci-base-image-arm64 [2021-05-28T22:20:56.763Z] . [Pipeline] withDockerContainer [2021-05-28T22:20:56.812Z] ---> ea0a2a0254fd [2021-05-28T22:20:56.812Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-28T22:20:57.023Z] prd-ubuntu18.04-docker-arm64-4c-16g-943 does not seem to be running inside a container [2021-05-28T22:20:57.074Z] ---> 0c857e3c369a [2021-05-28T22:20:57.074Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-28T22:20:57.109Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/47 -v /w/workspace/device-rest-go/47:/w/workspace/device-rest-go/47:rw,z -v /w/workspace/device-rest-go/47@tmp:/w/workspace/device-rest-go/47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-28T22:20:57.338Z] ---> 76b1fa36995c [2021-05-28T22:20:57.338Z] Step 20/25 : EXPOSE 59986 [2021-05-28T22:20:57.338Z] ---> Running in 4e777561e9a1 [2021-05-28T22:20:57.338Z] Removing intermediate container 4e777561e9a1 [2021-05-28T22:20:57.338Z] ---> cbb50b7346e9 [2021-05-28T22:20:57.338Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-28T22:20:57.338Z] ---> Running in 90ac95fae8a3 [2021-05-28T22:20:57.604Z] Removing intermediate container 90ac95fae8a3 [2021-05-28T22:20:57.604Z] ---> cdc71fb1a89d [2021-05-28T22:20:57.604Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-28T22:20:57.604Z] ---> Running in 3782bf5f57b6 [2021-05-28T22:20:57.604Z] Removing intermediate container 3782bf5f57b6 [2021-05-28T22:20:57.604Z] ---> 1ae6acd1b013 [2021-05-28T22:20:57.604Z] Step 23/25 : LABEL arch=amd64 [2021-05-28T22:20:57.604Z] ---> Running in b3056da1f903 [2021-05-28T22:20:57.604Z] Removing intermediate container b3056da1f903 [2021-05-28T22:20:57.604Z] ---> 405de9d17112 [2021-05-28T22:20:57.604Z] Step 24/25 : LABEL git_sha=405bc14ac6f45c2dca7c5fb451b6f8197ce2523b [2021-05-28T22:20:57.604Z] ---> Running in 2b170501734a [2021-05-28T22:20:57.865Z] Removing intermediate container 2b170501734a [2021-05-28T22:20:57.865Z] ---> aea12d5d7b1b [2021-05-28T22:20:57.865Z] Step 25/25 : LABEL version=1.2.2-dev.14 [2021-05-28T22:20:57.865Z] ---> Running in 88dc1948885e [2021-05-28T22:20:57.865Z] Removing intermediate container 88dc1948885e [2021-05-28T22:20:57.865Z] ---> 9115c5e7cef9 [2021-05-28T22:20:57.865Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-28T22:20:57.865Z] Successfully built 9115c5e7cef9 [2021-05-28T22:20:57.865Z] Successfully tagged device-rest:latest [2021-05-28T22:20:58.732Z] $ docker top b0627a07c42c6ebc48c998b2e634c8c2abd862f9c770a92f8332e6065cacd80a -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-28T22:20:59.233Z] provisioning config files... [2021-05-28T22:20:59.248Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/47@tmp/config7747049095920708154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-28T22:20:59.565Z] ---> docker-login.sh [2021-05-28T22:20:59.566Z] nexus3.edgexfoundry.org:10001 [2021-05-28T22:20:59.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:20:59.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:20:59.566Z] Configure a credential helper to remove this warning. See [2021-05-28T22:20:59.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:20:59.566Z] [2021-05-28T22:20:59.566Z] Login Succeeded [2021-05-28T22:20:59.566Z] nexus3.edgexfoundry.org:10002 [2021-05-28T22:20:59.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:20:59.682Z] + go mod tidy [2021-05-28T22:20:59.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:20:59.826Z] Configure a credential helper to remove this warning. See [2021-05-28T22:20:59.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:20:59.826Z] [2021-05-28T22:20:59.826Z] Login Succeeded [2021-05-28T22:20:59.826Z] nexus3.edgexfoundry.org:10003 [2021-05-28T22:20:59.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:20:59.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:20:59.826Z] Configure a credential helper to remove this warning. See [2021-05-28T22:20:59.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:20:59.826Z] [2021-05-28T22:20:59.826Z] Login Succeeded [2021-05-28T22:20:59.826Z] nexus3.edgexfoundry.org:10004 [2021-05-28T22:21:00.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:21:00.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:21:00.090Z] Configure a credential helper to remove this warning. See [2021-05-28T22:21:00.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:21:00.090Z] [2021-05-28T22:21:00.090Z] Login Succeeded [2021-05-28T22:21:00.090Z] docker.io [2021-05-28T22:21:00.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh [2021-05-28T22:21:00.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:21:00.350Z] Configure a credential helper to remove this warning. See [2021-05-28T22:21:00.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:21:00.350Z] [2021-05-28T22:21:00.350Z] Login Succeeded [2021-05-28T22:21:00.350Z] ---> docker-login.sh ends [Pipeline] } [2021-05-28T22:21:00.364Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-28T22:21:00.479Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-05-28T22:21:00.479Z] 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b [2021-05-28T22:21:00.479Z] latest [2021-05-28T22:21:00.479Z] 1.2.2-dev.14 [2021-05-28T22:21:00.479Z] 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b-1.2.2-dev.14 [2021-05-28T22:21:00.479Z] master [2021-05-28T22:21:00.479Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:21:00.880Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:21:00.946Z] + make test [2021-05-28T22:21:00.946Z] go mod tidy [2021-05-28T22:21:01.189Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b [2021-05-28T22:21:01.189Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-28T22:21:01.189Z] 5952d1a8fda8: Preparing [2021-05-28T22:21:01.189Z] d439f38254a1: Preparing [2021-05-28T22:21:01.189Z] 0ae7cc581c38: Preparing [2021-05-28T22:21:01.189Z] 8307a70540d6: Preparing [2021-05-28T22:21:01.189Z] 32f366d666a5: Preparing [2021-05-28T22:21:01.189Z] 32f366d666a5: Layer already exists [2021-05-28T22:21:01.452Z] d439f38254a1: Pushed [2021-05-28T22:21:01.452Z] 5952d1a8fda8: Pushed [2021-05-28T22:21:01.452Z] 8307a70540d6: Pushed [2021-05-28T22:21:01.543Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-28T22:21:02.399Z] 0ae7cc581c38: Pushed [2021-05-28T22:21:02.661Z] 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b: digest: sha256:59d81bec613742dae650a5f2de918a69839718f88f55c87b78a068efe5850263 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:21:02.973Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:21:03.278Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-05-28T22:21:03.278Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-28T22:21:03.278Z] 5952d1a8fda8: Preparing [2021-05-28T22:21:03.278Z] d439f38254a1: Preparing [2021-05-28T22:21:03.278Z] 0ae7cc581c38: Preparing [2021-05-28T22:21:03.278Z] 8307a70540d6: Preparing [2021-05-28T22:21:03.278Z] 32f366d666a5: Preparing [2021-05-28T22:21:03.278Z] 0ae7cc581c38: Layer already exists [2021-05-28T22:21:03.278Z] 32f366d666a5: Layer already exists [2021-05-28T22:21:03.278Z] 5952d1a8fda8: Layer already exists [2021-05-28T22:21:03.278Z] 8307a70540d6: Layer already exists [2021-05-28T22:21:03.278Z] d439f38254a1: Layer already exists [2021-05-28T22:21:03.278Z] latest: digest: sha256:59d81bec613742dae650a5f2de918a69839718f88f55c87b78a068efe5850263 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:21:03.592Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.14 [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:21:03.900Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.14 [2021-05-28T22:21:03.900Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-28T22:21:03.900Z] 5952d1a8fda8: Preparing [2021-05-28T22:21:03.900Z] d439f38254a1: Preparing [2021-05-28T22:21:03.900Z] 0ae7cc581c38: Preparing [2021-05-28T22:21:03.900Z] 8307a70540d6: Preparing [2021-05-28T22:21:03.900Z] 32f366d666a5: Preparing [2021-05-28T22:21:03.900Z] d439f38254a1: Layer already exists [2021-05-28T22:21:03.900Z] 8307a70540d6: Layer already exists [2021-05-28T22:21:03.900Z] 5952d1a8fda8: Layer already exists [2021-05-28T22:21:03.900Z] 32f366d666a5: Layer already exists [2021-05-28T22:21:03.900Z] 0ae7cc581c38: Layer already exists [2021-05-28T22:21:03.900Z] 1.2.2-dev.14: digest: sha256:59d81bec613742dae650a5f2de918a69839718f88f55c87b78a068efe5850263 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:21:04.180Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-28T22:21:04.234Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b-1.2.2-dev.14 [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:21:04.557Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b-1.2.2-dev.14 [2021-05-28T22:21:04.558Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-28T22:21:04.558Z] 5952d1a8fda8: Preparing [2021-05-28T22:21:04.558Z] d439f38254a1: Preparing [2021-05-28T22:21:04.558Z] 0ae7cc581c38: Preparing [2021-05-28T22:21:04.558Z] 8307a70540d6: Preparing [2021-05-28T22:21:04.558Z] 32f366d666a5: Preparing [2021-05-28T22:21:04.558Z] d439f38254a1: Layer already exists [2021-05-28T22:21:04.558Z] 0ae7cc581c38: Layer already exists [2021-05-28T22:21:04.558Z] 8307a70540d6: Layer already exists [2021-05-28T22:21:04.558Z] 5952d1a8fda8: Layer already exists [2021-05-28T22:21:04.558Z] 32f366d666a5: Layer already exists [2021-05-28T22:21:04.558Z] 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b-1.2.2-dev.14: digest: sha256:59d81bec613742dae650a5f2de918a69839718f88f55c87b78a068efe5850263 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:21:04.866Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:master [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:21:05.165Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:master [2021-05-28T22:21:05.165Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-05-28T22:21:05.165Z] 5952d1a8fda8: Preparing [2021-05-28T22:21:05.165Z] d439f38254a1: Preparing [2021-05-28T22:21:05.165Z] 0ae7cc581c38: Preparing [2021-05-28T22:21:05.165Z] 8307a70540d6: Preparing [2021-05-28T22:21:05.165Z] 32f366d666a5: Preparing [2021-05-28T22:21:05.165Z] 8307a70540d6: Layer already exists [2021-05-28T22:21:05.165Z] 0ae7cc581c38: Layer already exists [2021-05-28T22:21:05.165Z] d439f38254a1: Layer already exists [2021-05-28T22:21:05.165Z] 5952d1a8fda8: Layer already exists [2021-05-28T22:21:05.165Z] 32f366d666a5: Layer already exists [2021-05-28T22:21:05.165Z] master: digest: sha256:59d81bec613742dae650a5f2de918a69839718f88f55c87b78a068efe5850263 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-28T22:21:05.225Z] ===================================================== [Pipeline] echo [2021-05-28T22:21:05.242Z] taggedImages: [2021-05-28T22:21:05.242Z] - nexus3.edgexfoundry.org:10004/device-rest:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b [2021-05-28T22:21:05.242Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-05-28T22:21:05.242Z] - nexus3.edgexfoundry.org:10004/device-rest:1.2.2-dev.14 [2021-05-28T22:21:05.242Z] - nexus3.edgexfoundry.org:10004/device-rest:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b-1.2.2-dev.14 [2021-05-28T22:21:05.242Z] - 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-28T22:21:05.894Z] ---> job-cost.sh [2021-05-28T22:21:05.894Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-f7mp [2021-05-28T22:21:15.955Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-28T22:21:28.248Z] lf-activate-venv(): INFO: Adding /tmp/venv-f7mp/bin to PATH [2021-05-28T22:21:28.248Z] INFO: No Stack... [2021-05-28T22:21:28.248Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-28T22:21:28.509Z] INFO: Archiving Costs [Pipeline] sh [2021-05-28T22:21:28.807Z] + cut -d, -f6 [2021-05-28T22:21:28.807Z] + cat /w/workspace/device-rest-go/47/archives/cost.csv [Pipeline] lock [2021-05-28T22:21:28.836Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-47-stack-cost] [2021-05-28T22:21:28.858Z] Resource [jenkins-edgexfoundry-device-rest-go-master-47-stack-cost] did not exist. Created. [2021-05-28T22:21:28.858Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-28T22:21:29.188Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-28T22:21:29.259Z] Stashed 1 file(s) [Pipeline] } [2021-05-28T22:21:29.271Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-47-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-28T22:22:00.970Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-28T22:22:00.970Z] ok github.com/edgexfoundry/device-rest-go/driver 0.044s coverage: 54.0% of statements [2021-05-28T22:22:00.970Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-28T22:22:23.187Z] gofmt -l . [2021-05-28T22:22:23.187Z] [ "`gofmt -l .`" = "" ] [2021-05-28T22:22:23.187Z] ./bin/test-go-mod-tidy.sh [2021-05-28T22:22:23.187Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-28T22:22:23.212Z] $ docker stop --time=1 b0627a07c42c6ebc48c998b2e634c8c2abd862f9c770a92f8332e6065cacd80a [2021-05-28T22:22:25.324Z] $ docker rm -f b0627a07c42c6ebc48c998b2e634c8c2abd862f9c770a92f8332e6065cacd80a [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-28T22:22:26.144Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-28T22:22:26.175Z] Warning: overwriting stash ‘coverage-report’ [2021-05-28T22:22:26.660Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-28T22:22:27.157Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-28T22:22:27.492Z] + ls -al . [2021-05-28T22:22:27.492Z] total 132 [2021-05-28T22:22:27.492Z] drwxrwxr-x 8 jenkins jenkins 4096 May 28 22:22 . [2021-05-28T22:22:27.492Z] drwxrwxr-x 4 jenkins jenkins 4096 May 28 22:19 .. [2021-05-28T22:22:27.492Z] -rw-rw-r-- 1 jenkins jenkins 151 May 28 22:19 .dockerignore [2021-05-28T22:22:27.492Z] drwxrwxr-x 8 jenkins jenkins 4096 May 28 22:19 .git [2021-05-28T22:22:27.492Z] drwxrwxr-x 2 jenkins jenkins 4096 May 28 22:19 .github [2021-05-28T22:22:27.492Z] -rw-rw-r-- 1 jenkins jenkins 336 May 28 22:19 .gitignore [2021-05-28T22:22:27.492Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 28 22:19 Attribution.txt [2021-05-28T22:22:27.492Z] -rw-rw-r-- 1 jenkins jenkins 1615 May 28 22:19 Dockerfile [2021-05-28T22:22:27.492Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 28 22:19 Dockerfile.build [2021-05-28T22:22:27.492Z] -rw-rw-r-- 1 jenkins jenkins 680 May 28 22:19 Jenkinsfile [2021-05-28T22:22:27.492Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 28 22:19 LICENSE [2021-05-28T22:22:27.492Z] -rw-rw-r-- 1 jenkins jenkins 996 May 28 22:19 Makefile [2021-05-28T22:22:27.492Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 28 22:19 README.md [2021-05-28T22:22:27.492Z] -rw-rw-r-- 1 jenkins jenkins 12 May 28 22:16 VERSION [2021-05-28T22:22:27.492Z] drwxrwxr-x 2 jenkins jenkins 4096 May 28 22:19 bin [2021-05-28T22:22:27.492Z] drwxrwxr-x 3 jenkins jenkins 4096 May 28 22:19 cmd [2021-05-28T22:22:27.492Z] -rw-r--r-- 1 jenkins jenkins 8513 May 28 22:21 coverage.out [2021-05-28T22:22:27.492Z] drwxrwxr-x 2 jenkins jenkins 4096 May 28 22:19 driver [2021-05-28T22:22:27.492Z] -rw-r--r-- 1 jenkins jenkins 285 May 28 22:22 go.mod [2021-05-28T22:22:27.492Z] -rw-r--r-- 1 jenkins jenkins 21177 May 28 22:21 go.sum [2021-05-28T22:22:27.492Z] drwxrwxr-x 4 jenkins jenkins 4096 May 28 22:19 snap [2021-05-28T22:22:27.492Z] -rw-rw-r-- 1 jenkins jenkins 713 May 28 22:19 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:22:27.846Z] + 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=405bc14ac6f45c2dca7c5fb451b6f8197ce2523b --label arch=arm64 --label version=1.2.2-dev.14 . [2021-05-28T22:22:27.847Z] Sending build context to Docker daemon 101.9kB [2021-05-28T22:22:28.120Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-28T22:22:28.120Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-28T22:22:28.120Z] ---> 231bee79a2db [2021-05-28T22:22:28.120Z] Step 3/25 : ARG MAKE='make build' [2021-05-28T22:22:28.392Z] ---> Running in 410904e63602 [2021-05-28T22:22:28.989Z] Removing intermediate container 410904e63602 [2021-05-28T22:22:28.989Z] ---> 29dd3ff482b3 [2021-05-28T22:22:28.989Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-28T22:22:28.989Z] ---> Running in c2cd43589cfe [2021-05-28T22:22:29.585Z] Removing intermediate container c2cd43589cfe [2021-05-28T22:22:29.586Z] ---> 14a24d40812a [2021-05-28T22:22:29.586Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-28T22:22:29.586Z] ---> Running in 33b0ba424ac0 [2021-05-28T22:22:30.181Z] Removing intermediate container 33b0ba424ac0 [2021-05-28T22:22:30.182Z] ---> 9e98b59a7d66 [2021-05-28T22:22:30.182Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-28T22:22:30.458Z] ---> Running in d2d5bbe3804b [2021-05-28T22:22:32.442Z] Removing intermediate container d2d5bbe3804b [2021-05-28T22:22:32.442Z] ---> d71e392d1a8e [2021-05-28T22:22:32.442Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-28T22:22:32.715Z] ---> Running in c6e47fbc9dd9 [2021-05-28T22:22:33.693Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-28T22:22:34.671Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-28T22:22:35.666Z] OK: 144 MiB in 49 packages [2021-05-28T22:22:36.647Z] Removing intermediate container c6e47fbc9dd9 [2021-05-28T22:22:36.648Z] ---> 72ea1a03f19a [2021-05-28T22:22:36.648Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-28T22:22:36.648Z] ---> Running in 4499f2a3e12e [2021-05-28T22:22:37.251Z] Removing intermediate container 4499f2a3e12e [2021-05-28T22:22:37.251Z] ---> 7451bbe542ec [2021-05-28T22:22:37.251Z] Step 9/25 : COPY . . [2021-05-28T22:22:38.233Z] ---> c16f1672da5f [2021-05-28T22:22:38.233Z] Step 10/25 : RUN go mod tidy [2021-05-28T22:22:38.233Z] ---> Running in 194246d3e40d [2021-05-28T22:22:40.851Z] Removing intermediate container 194246d3e40d [2021-05-28T22:22:40.851Z] ---> c337e1ff9054 [2021-05-28T22:22:40.851Z] Step 11/25 : RUN make update [2021-05-28T22:22:40.851Z] ---> Running in d584020fd1e6 [2021-05-28T22:22:42.290Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-28T22:22:43.280Z] Removing intermediate container d584020fd1e6 [2021-05-28T22:22:43.280Z] ---> 7c15f4b7980e [2021-05-28T22:22:43.280Z] Step 12/25 : RUN $MAKE [2021-05-28T22:22:43.557Z] ---> Running in f22e9b5353cf [2021-05-28T22:22:44.542Z] go mod tidy [2021-05-28T22:22:45.142Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.14" -o cmd/device-rest ./cmd [2021-05-28T22:23:24.181Z] Removing intermediate container f22e9b5353cf [2021-05-28T22:23:24.181Z] ---> 475d2b4312d0 [2021-05-28T22:23:24.181Z] Step 13/25 : FROM alpine:3.12 [2021-05-28T22:23:24.181Z] 3.12: Pulling from library/alpine [2021-05-28T22:23:24.181Z] d2f70382dc9a: Pulling fs layer [2021-05-28T22:23:24.181Z] d2f70382dc9a: Verifying Checksum [2021-05-28T22:23:24.181Z] d2f70382dc9a: Download complete [2021-05-28T22:23:24.181Z] d2f70382dc9a: Pull complete [2021-05-28T22:23:24.181Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-28T22:23:24.181Z] Status: Downloaded newer image for alpine:3.12 [2021-05-28T22:23:24.181Z] ---> 9852663dfa18 [2021-05-28T22:23:24.181Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-28T22:23:24.181Z] ---> Running in 558f8f11337f [2021-05-28T22:23:24.181Z] Removing intermediate container 558f8f11337f [2021-05-28T22:23:24.181Z] ---> 62d062fe9a7a [2021-05-28T22:23:24.181Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-28T22:23:24.182Z] ---> Running in a1c44e320287 [2021-05-28T22:23:24.182Z] Removing intermediate container a1c44e320287 [2021-05-28T22:23:24.182Z] ---> 37c7fa156c92 [2021-05-28T22:23:24.182Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-28T22:23:24.182Z] ---> Running in 9bfb9c4fffbf [2021-05-28T22:23:24.182Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-28T22:23:24.451Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-28T22:23:25.042Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-28T22:23:25.042Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-28T22:23:25.042Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-28T22:23:25.042Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-28T22:23:25.042Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-28T22:23:25.042Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-28T22:23:25.042Z] Executing busybox-1.31.1-r20.trigger [2021-05-28T22:23:25.042Z] OK: 8 MiB in 20 packages [2021-05-28T22:23:26.014Z] Removing intermediate container 9bfb9c4fffbf [2021-05-28T22:23:26.014Z] ---> 2464348612cf [2021-05-28T22:23:26.014Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-28T22:23:27.478Z] ---> ba3bd69418f9 [2021-05-28T22:23:27.478Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-28T22:23:28.074Z] ---> 30ba8b55112a [2021-05-28T22:23:28.074Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-28T22:23:28.673Z] ---> 38c0b27d75ae [2021-05-28T22:23:28.673Z] Step 20/25 : EXPOSE 59986 [2021-05-28T22:23:28.948Z] ---> Running in 64a2f0f90f48 [2021-05-28T22:23:29.545Z] Removing intermediate container 64a2f0f90f48 [2021-05-28T22:23:29.545Z] ---> 04df15a69d03 [2021-05-28T22:23:29.545Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-28T22:23:29.545Z] ---> Running in c04292ad105f [2021-05-28T22:23:30.138Z] Removing intermediate container c04292ad105f [2021-05-28T22:23:30.138Z] ---> 8c83a5854e36 [2021-05-28T22:23:30.138Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-28T22:23:30.138Z] ---> Running in 7c15a0dda70e [2021-05-28T22:23:30.734Z] Removing intermediate container 7c15a0dda70e [2021-05-28T22:23:30.734Z] ---> a4a6e1dae684 [2021-05-28T22:23:30.734Z] Step 23/25 : LABEL arch=arm64 [2021-05-28T22:23:30.734Z] ---> Running in 8c12d58dcf50 [2021-05-28T22:23:31.331Z] Removing intermediate container 8c12d58dcf50 [2021-05-28T22:23:31.331Z] ---> 264e13381de8 [2021-05-28T22:23:31.331Z] Step 24/25 : LABEL git_sha=405bc14ac6f45c2dca7c5fb451b6f8197ce2523b [2021-05-28T22:23:31.331Z] ---> Running in 4d353a1a3d6a [2021-05-28T22:23:31.927Z] Removing intermediate container 4d353a1a3d6a [2021-05-28T22:23:31.927Z] ---> 58fd09355914 [2021-05-28T22:23:31.927Z] Step 25/25 : LABEL version=1.2.2-dev.14 [2021-05-28T22:23:32.200Z] ---> Running in 7637389ee7e4 [2021-05-28T22:23:32.473Z] Removing intermediate container 7637389ee7e4 [2021-05-28T22:23:32.473Z] ---> 490b1f0b18e4 [2021-05-28T22:23:32.473Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-28T22:23:32.473Z] Successfully built 490b1f0b18e4 [2021-05-28T22:23:32.473Z] 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-28T22:23:32.905Z] provisioning config files... [2021-05-28T22:23:32.928Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/47@tmp/config596121875380739190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-28T22:23:33.293Z] ---> docker-login.sh [2021-05-28T22:23:33.293Z] nexus3.edgexfoundry.org:10001 [2021-05-28T22:23:33.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:23:33.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:23:33.837Z] Configure a credential helper to remove this warning. See [2021-05-28T22:23:33.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:23:33.838Z] [2021-05-28T22:23:33.838Z] Login Succeeded [2021-05-28T22:23:33.838Z] nexus3.edgexfoundry.org:10002 [2021-05-28T22:23:34.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:23:34.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:23:34.388Z] Configure a credential helper to remove this warning. See [2021-05-28T22:23:34.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:23:34.388Z] [2021-05-28T22:23:34.388Z] Login Succeeded [2021-05-28T22:23:34.388Z] nexus3.edgexfoundry.org:10003 [2021-05-28T22:23:34.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:23:34.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:23:34.936Z] Configure a credential helper to remove this warning. See [2021-05-28T22:23:34.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:23:34.936Z] [2021-05-28T22:23:34.936Z] Login Succeeded [2021-05-28T22:23:34.936Z] nexus3.edgexfoundry.org:10004 [2021-05-28T22:23:35.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:23:35.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:23:35.481Z] Configure a credential helper to remove this warning. See [2021-05-28T22:23:35.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:23:35.481Z] [2021-05-28T22:23:35.481Z] Login Succeeded [2021-05-28T22:23:35.481Z] docker.io [2021-05-28T22:23:35.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-28T22:23:36.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-28T22:23:36.350Z] Configure a credential helper to remove this warning. See [2021-05-28T22:23:36.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-28T22:23:36.350Z] [2021-05-28T22:23:36.350Z] Login Succeeded [2021-05-28T22:23:36.350Z] ---> docker-login.sh ends [Pipeline] } [2021-05-28T22:23:36.366Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-28T22:23:36.443Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-05-28T22:23:36.443Z] 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b [2021-05-28T22:23:36.443Z] latest [2021-05-28T22:23:36.443Z] 1.2.2-dev.14 [2021-05-28T22:23:36.443Z] 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b-1.2.2-dev.14 [2021-05-28T22:23:36.443Z] master [2021-05-28T22:23:36.443Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:23:36.827Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:23:37.177Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b [2021-05-28T22:23:37.178Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-28T22:23:37.178Z] 83cdbeb95c03: Preparing [2021-05-28T22:23:37.178Z] a98c1bfe8eee: Preparing [2021-05-28T22:23:37.178Z] 458c0062bc70: Preparing [2021-05-28T22:23:37.178Z] df96670f2b7f: Preparing [2021-05-28T22:23:37.178Z] 3fbe34a1663b: Preparing [2021-05-28T22:23:37.453Z] 3fbe34a1663b: Layer already exists [2021-05-28T22:23:37.453Z] 83cdbeb95c03: Pushed [2021-05-28T22:23:37.453Z] a98c1bfe8eee: Pushed [2021-05-28T22:23:38.047Z] df96670f2b7f: Pushed [2021-05-28T22:23:40.653Z] 458c0062bc70: Pushed [2021-05-28T22:23:40.653Z] 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b: digest: sha256:605218df2523be2f9cb1ac52898b56a0337b4f46451323d30fc82bc5549f3eba size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:23:41.002Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:23:41.342Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-05-28T22:23:41.343Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-28T22:23:41.343Z] 83cdbeb95c03: Preparing [2021-05-28T22:23:41.343Z] a98c1bfe8eee: Preparing [2021-05-28T22:23:41.343Z] 458c0062bc70: Preparing [2021-05-28T22:23:41.343Z] df96670f2b7f: Preparing [2021-05-28T22:23:41.343Z] 3fbe34a1663b: Preparing [2021-05-28T22:23:41.343Z] df96670f2b7f: Layer already exists [2021-05-28T22:23:41.343Z] 3fbe34a1663b: Layer already exists [2021-05-28T22:23:41.612Z] 458c0062bc70: Layer already exists [2021-05-28T22:23:41.612Z] a98c1bfe8eee: Layer already exists [2021-05-28T22:23:41.612Z] 83cdbeb95c03: Layer already exists [2021-05-28T22:23:41.612Z] latest: digest: sha256:605218df2523be2f9cb1ac52898b56a0337b4f46451323d30fc82bc5549f3eba size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:23:41.953Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.14 [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:23:42.292Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.14 [2021-05-28T22:23:42.292Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-28T22:23:42.292Z] 83cdbeb95c03: Preparing [2021-05-28T22:23:42.292Z] a98c1bfe8eee: Preparing [2021-05-28T22:23:42.292Z] 458c0062bc70: Preparing [2021-05-28T22:23:42.292Z] df96670f2b7f: Preparing [2021-05-28T22:23:42.292Z] 3fbe34a1663b: Preparing [2021-05-28T22:23:42.292Z] df96670f2b7f: Layer already exists [2021-05-28T22:23:42.292Z] 3fbe34a1663b: Layer already exists [2021-05-28T22:23:42.292Z] a98c1bfe8eee: Layer already exists [2021-05-28T22:23:42.292Z] 458c0062bc70: Layer already exists [2021-05-28T22:23:42.292Z] 83cdbeb95c03: Layer already exists [2021-05-28T22:23:42.562Z] 1.2.2-dev.14: digest: sha256:605218df2523be2f9cb1ac52898b56a0337b4f46451323d30fc82bc5549f3eba size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:23:42.912Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b-1.2.2-dev.14 [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:23:43.251Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b-1.2.2-dev.14 [2021-05-28T22:23:43.251Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-28T22:23:43.251Z] 83cdbeb95c03: Preparing [2021-05-28T22:23:43.251Z] a98c1bfe8eee: Preparing [2021-05-28T22:23:43.251Z] 458c0062bc70: Preparing [2021-05-28T22:23:43.251Z] df96670f2b7f: Preparing [2021-05-28T22:23:43.251Z] 3fbe34a1663b: Preparing [2021-05-28T22:23:43.251Z] 458c0062bc70: Layer already exists [2021-05-28T22:23:43.251Z] 83cdbeb95c03: Layer already exists [2021-05-28T22:23:43.251Z] a98c1bfe8eee: Layer already exists [2021-05-28T22:23:43.251Z] 3fbe34a1663b: Layer already exists [2021-05-28T22:23:43.251Z] df96670f2b7f: Layer already exists [2021-05-28T22:23:43.525Z] 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b-1.2.2-dev.14: digest: sha256:605218df2523be2f9cb1ac52898b56a0337b4f46451323d30fc82bc5549f3eba size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:23:43.877Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:23:44.220Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:master [2021-05-28T22:23:44.220Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-05-28T22:23:44.220Z] 83cdbeb95c03: Preparing [2021-05-28T22:23:44.220Z] a98c1bfe8eee: Preparing [2021-05-28T22:23:44.220Z] 458c0062bc70: Preparing [2021-05-28T22:23:44.220Z] df96670f2b7f: Preparing [2021-05-28T22:23:44.220Z] 3fbe34a1663b: Preparing [2021-05-28T22:23:44.220Z] 458c0062bc70: Layer already exists [2021-05-28T22:23:44.220Z] df96670f2b7f: Layer already exists [2021-05-28T22:23:44.220Z] 3fbe34a1663b: Layer already exists [2021-05-28T22:23:44.220Z] 83cdbeb95c03: Layer already exists [2021-05-28T22:23:44.220Z] a98c1bfe8eee: Layer already exists [2021-05-28T22:23:44.492Z] master: digest: sha256:605218df2523be2f9cb1ac52898b56a0337b4f46451323d30fc82bc5549f3eba size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-28T22:23:44.561Z] ===================================================== [Pipeline] echo [2021-05-28T22:23:44.577Z] taggedImages: [2021-05-28T22:23:44.577Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b [2021-05-28T22:23:44.577Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-05-28T22:23:44.577Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:1.2.2-dev.14 [2021-05-28T22:23:44.577Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:405bc14ac6f45c2dca7c5fb451b6f8197ce2523b-1.2.2-dev.14 [2021-05-28T22:23:44.577Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-28T22:23:44.995Z] ---> job-cost.sh [2021-05-28T22:23:44.996Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Dnoa [2021-05-28T22:24:23.972Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-28T22:25:45.771Z] lf-activate-venv(): INFO: Adding /tmp/venv-Dnoa/bin to PATH [2021-05-28T22:25:45.771Z] INFO: No Stack... [2021-05-28T22:25:46.044Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-28T22:25:46.316Z] INFO: Archiving Costs [Pipeline] sh [2021-05-28T22:25:46.657Z] + + catcut /w/workspace/device-rest-go/47/archives/cost.csv -d, [2021-05-28T22:25:46.658Z] -f6 [Pipeline] lock [2021-05-28T22:25:46.716Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-47-stack-cost] [2021-05-28T22:25:46.727Z] Resource [jenkins-edgexfoundry-device-rest-go-master-47-stack-cost] did not exist. Created. [2021-05-28T22:25:46.727Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-28T22:25:47.099Z] /w/workspace/device-rest-go/47@tmp/durable-993cd4d9/script.sh: 1: /w/workspace/device-rest-go/47@tmp/durable-993cd4d9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-28T22:25:47.444Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-28T22:25:47.478Z] Warning: overwriting stash ‘stack-cost’ [2021-05-28T22:25:47.632Z] Stashed 1 file(s) [Pipeline] } [2021-05-28T22:25:47.647Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-47-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-28T22:25:48.179Z] provisioning config files... [2021-05-28T22:25:48.195Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config6800139339979347607tmp [Pipeline] { [Pipeline] sh [2021-05-28T22:25:48.513Z] + set +x [2021-05-28T22:25:48.513Z] + bash -s -- [2021-05-28T22:25:48.513Z] + curl -s https://codecov.io/bash [2021-05-28T22:25:48.513Z] [2021-05-28T22:25:48.513Z] _____ _ [2021-05-28T22:25:48.513Z] / ____| | | [2021-05-28T22:25:48.513Z] | | ___ __| | ___ ___ _____ __ [2021-05-28T22:25:48.513Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-28T22:25:48.513Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-28T22:25:48.513Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-28T22:25:48.513Z] Bash-1.0.3 [2021-05-28T22:25:48.513Z] [2021-05-28T22:25:48.513Z] [2021-05-28T22:25:48.513Z] ==> git version 2.24.4 found [2021-05-28T22:25:48.513Z] ==> 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-28T22:25:48.513Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-28T22:25:48.513Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-28T22:25:48.513Z] ==> Jenkins CI detected. [2021-05-28T22:25:48.513Z] project root: . [2021-05-28T22:25:48.513Z] --> token set from env [2021-05-28T22:25:48.513Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-28T22:25:48.775Z] ==> Running gcov in . (disable via -X gcov) [2021-05-28T22:25:48.776Z] ==> Python coveragepy not found [2021-05-28T22:25:48.776Z] ==> Searching for coverage reports in: [2021-05-28T22:25:48.776Z] + . [2021-05-28T22:25:48.776Z] -> Found 1 reports [2021-05-28T22:25:48.776Z] ==> Detecting git/mercurial file structure [2021-05-28T22:25:48.776Z] ==> Reading reports [2021-05-28T22:25:48.776Z] + ./coverage.out bytes=8513 [2021-05-28T22:25:48.776Z] ==> Appending adjustments [2021-05-28T22:25:48.776Z] https://docs.codecov.io/docs/fixing-reports [2021-05-28T22:25:48.776Z] + Found adjustments [2021-05-28T22:25:48.776Z] ==> Gzipping contents [2021-05-28T22:25:48.776Z] 4.0K /tmp/codecov.QRhgo2.gz [2021-05-28T22:25:48.776Z] ==> Uploading reports [2021-05-28T22:25:48.776Z] url: https://codecov.io [2021-05-28T22:25:48.776Z] query: branch=master&commit=405bc14ac6f45c2dca7c5fb451b6f8197ce2523b&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F47%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-28T22:25:48.776Z] -> Pinging Codecov [2021-05-28T22:25:48.776Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=405bc14ac6f45c2dca7c5fb451b6f8197ce2523b&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F47%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-28T22:25:49.352Z] -> Uploading to [2021-05-28T22:25:49.352Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-28/4E5D53B4F1F92C436F7061BF334D961C/405bc14ac6f45c2dca7c5fb451b6f8197ce2523b/85c20d05-fc1e-48cf-ac93-627410bb31ed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210528%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210528T222549Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2c2b18ad4f341ff82e7fe4b0e090f8cbfdd5aa30454ff9eeade517c98f0c554f [2021-05-28T22:25:49.352Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-28T22:25:49.352Z] Dload Upload Total Spent Left Speed [2021-05-28T22:25:49.613Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 4370 --:--:-- --:--:-- --:--:-- 4377 [2021-05-28T22:25:49.613Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/405bc14ac6f45c2dca7c5fb451b6f8197ce2523b [Pipeline] } [2021-05-28T22:25:49.624Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-28T22:25:50.296Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-28T22:25:50.317Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:25:50.628Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-28T22:25:50.628Z] [2021-05-28T22:25:50.628Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:25:50.948Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-28T22:25:50.948Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-28T22:25:50.948Z] 188c0c94c7c5: Pulling fs layer [2021-05-28T22:25:50.948Z] 0ef7d3d256c8: Pulling fs layer [2021-05-28T22:25:50.948Z] de9db76c5a1d: Pulling fs layer [2021-05-28T22:25:50.948Z] 0eba1c9be4d2: Pulling fs layer [2021-05-28T22:25:50.948Z] 0d57e429df01: Pulling fs layer [2021-05-28T22:25:50.948Z] 4e4be7b47b0d: Pulling fs layer [2021-05-28T22:25:50.948Z] e1f770b5df2f: Pulling fs layer [2021-05-28T22:25:50.948Z] 85a0685a4137: Pulling fs layer [2021-05-28T22:25:50.948Z] 0d57e429df01: Waiting [2021-05-28T22:25:50.948Z] 4e4be7b47b0d: Waiting [2021-05-28T22:25:50.948Z] e1f770b5df2f: Waiting [2021-05-28T22:25:50.948Z] 85a0685a4137: Waiting [2021-05-28T22:25:50.948Z] 0eba1c9be4d2: Waiting [2021-05-28T22:25:50.948Z] de9db76c5a1d: Verifying Checksum [2021-05-28T22:25:50.948Z] de9db76c5a1d: Download complete [2021-05-28T22:25:50.948Z] 0ef7d3d256c8: Verifying Checksum [2021-05-28T22:25:50.948Z] 0ef7d3d256c8: Download complete [2021-05-28T22:25:50.948Z] 0d57e429df01: Verifying Checksum [2021-05-28T22:25:50.948Z] 0d57e429df01: Download complete [2021-05-28T22:25:51.212Z] 188c0c94c7c5: Verifying Checksum [2021-05-28T22:25:51.212Z] 188c0c94c7c5: Download complete [2021-05-28T22:25:51.212Z] 4e4be7b47b0d: Verifying Checksum [2021-05-28T22:25:51.212Z] 4e4be7b47b0d: Download complete [2021-05-28T22:25:51.212Z] 188c0c94c7c5: Pull complete [2021-05-28T22:25:51.474Z] 0ef7d3d256c8: Pull complete [2021-05-28T22:25:51.475Z] de9db76c5a1d: Pull complete [2021-05-28T22:25:52.416Z] e1f770b5df2f: Verifying Checksum [2021-05-28T22:25:52.416Z] e1f770b5df2f: Download complete [2021-05-28T22:25:54.339Z] 0eba1c9be4d2: Verifying Checksum [2021-05-28T22:25:54.339Z] 0eba1c9be4d2: Download complete [2021-05-28T22:25:54.604Z] 85a0685a4137: Verifying Checksum [2021-05-28T22:25:54.604Z] 85a0685a4137: Download complete [2021-05-28T22:25:57.182Z] 0eba1c9be4d2: Pull complete [2021-05-28T22:25:57.182Z] 0d57e429df01: Pull complete [2021-05-28T22:25:57.182Z] 4e4be7b47b0d: Pull complete [2021-05-28T22:25:57.767Z] e1f770b5df2f: Pull complete [2021-05-28T22:26:01.099Z] 85a0685a4137: Pull complete [2021-05-28T22:26:01.099Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-28T22:26:01.099Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-28T22:26:01.099Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-28T22:26:01.178Z] prd-centos7-docker-4c-2g-941 does not seem to be running inside a container [2021-05-28T22:26:01.222Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-28T22:26:03.365Z] $ docker top 40aac4d084d012e92d869a093651474433d2ed66857e1c2b59445a81f8cc7c97 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-28T22:26:03.467Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-28T22:26:03.761Z] + set -o pipefail [2021-05-28T22:26:03.761Z] + snyk monitor '--org=edgex-jenkins' [2021-05-28T22:26:35.891Z] [2021-05-28T22:26:35.891Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2021-05-28T22:26:35.891Z] [2021-05-28T22:26:35.891Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/f67699b1-a645-4747-8e6a-ad47b9e19269 [2021-05-28T22:26:35.891Z] [2021-05-28T22:26:35.891Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-28T22:26:35.891Z] [2021-05-28T22:26:35.891Z] [Pipeline] } [2021-05-28T22:26:35.899Z] $ docker stop --time=1 40aac4d084d012e92d869a093651474433d2ed66857e1c2b59445a81f8cc7c97 [2021-05-28T22:26:37.968Z] $ docker rm -f 40aac4d084d012e92d869a093651474433d2ed66857e1c2b59445a81f8cc7c97 [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-28T22:26:38.806Z] + git log --format=format:%s -1 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:26:39.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-28T22:26:39.124Z] . [Pipeline] withDockerContainer [2021-05-28T22:26:39.202Z] prd-centos7-docker-4c-2g-941 does not seem to be running inside a container [2021-05-28T22:26:39.246Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-28T22:26:39.600Z] $ docker top 7504a635539e1aab47ac58a4d93037990f8e5e997e3f97f343e55a2df5101135 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-28T22:26:39.748Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-28T22:26:39.748Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-28T22:26:39.868Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-28T22:26:39.867Z] $ docker exec 7504a635539e1aab47ac58a4d93037990f8e5e997e3f97f343e55a2df5101135 ssh-agent [2021-05-28T22:26:39.967Z] SSH_AUTH_SOCK=/tmp/ssh-E5fs1EshUgQo/agent.14 [2021-05-28T22:26:39.967Z] SSH_AGENT_PID=20 [2021-05-28T22:26:39.973Z] Running ssh-add (command line suppressed) [2021-05-28T22:26:40.065Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3492526710995016879.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3492526710995016879.key) [2021-05-28T22:26:40.083Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-28T22:26:40.388Z] + git semver tag [2021-05-28T22:26:40.389Z] # -> Open(): unable to determine branch for HEAD [2021-05-28T22:26:40.389Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-28T22:26:40.389Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-28T22:26:40.389Z] # $SEMVER_REMOTE_NAME = origin [2021-05-28T22:26:40.389Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-28T22:26:40.389Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-28T22:26:40.389Z] # $SEMVER_BRANCH = master [2021-05-28T22:26:40.389Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-05-28T22:26:40.389Z] # 405bc14ac6f45c2dca7c5fb451b6f8197ce2523b HEAD [2021-05-28T22:26:40.389Z] # -> Force: false [2021-05-28T22:26:40.389Z] # 3a903505b6507595f2072e626e3b4a26b1e265b1 refs/tags/v1.2.2-dev.14 [Pipeline] } [2021-05-28T22:26:40.396Z] $ docker exec --env ******** --env ******** 7504a635539e1aab47ac58a4d93037990f8e5e997e3f97f343e55a2df5101135 ssh-agent -k [2021-05-28T22:26:40.498Z] unset SSH_AUTH_SOCK; [2021-05-28T22:26:40.498Z] unset SSH_AGENT_PID; [2021-05-28T22:26:40.498Z] echo Agent pid 20 killed; [2021-05-28T22:26:40.514Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-28T22:26:40.860Z] + git semver [Pipeline] } [2021-05-28T22:26:40.871Z] $ docker stop --time=1 7504a635539e1aab47ac58a4d93037990f8e5e997e3f97f343e55a2df5101135 [2021-05-28T22:26:42.060Z] $ docker rm -f 7504a635539e1aab47ac58a4d93037990f8e5e997e3f97f343e55a2df5101135 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:26:42.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-28T22:26:42.579Z] [2021-05-28T22:26:42.579Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:26:42.899Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-28T22:26:42.899Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-28T22:26:42.899Z] ab5ef0e58194: Pulling fs layer [2021-05-28T22:26:42.899Z] 9712f1f96733: Pulling fs layer [2021-05-28T22:26:42.899Z] 63f879dbbcfc: Pulling fs layer [2021-05-28T22:26:42.899Z] 0d9ebad4ef96: Pulling fs layer [2021-05-28T22:26:42.899Z] e9a5061849ea: Pulling fs layer [2021-05-28T22:26:42.899Z] d747dcd14b5f: Pulling fs layer [2021-05-28T22:26:42.899Z] 2de7ff778b66: Pulling fs layer [2021-05-28T22:26:42.899Z] 0d9ebad4ef96: Waiting [2021-05-28T22:26:42.899Z] e9a5061849ea: Waiting [2021-05-28T22:26:42.899Z] d747dcd14b5f: Waiting [2021-05-28T22:26:42.899Z] 2de7ff778b66: Waiting [2021-05-28T22:26:42.899Z] 9712f1f96733: Verifying Checksum [2021-05-28T22:26:42.899Z] 9712f1f96733: Download complete [2021-05-28T22:26:44.284Z] 63f879dbbcfc: Verifying Checksum [2021-05-28T22:26:44.284Z] 63f879dbbcfc: Download complete [2021-05-28T22:26:44.284Z] e9a5061849ea: Verifying Checksum [2021-05-28T22:26:44.284Z] e9a5061849ea: Download complete [2021-05-28T22:26:44.284Z] d747dcd14b5f: Verifying Checksum [2021-05-28T22:26:44.284Z] d747dcd14b5f: Download complete [2021-05-28T22:26:44.546Z] 2de7ff778b66: Verifying Checksum [2021-05-28T22:26:44.546Z] 2de7ff778b66: Download complete [2021-05-28T22:26:44.807Z] 0d9ebad4ef96: Verifying Checksum [2021-05-28T22:26:44.807Z] 0d9ebad4ef96: Download complete [2021-05-28T22:26:45.069Z] ab5ef0e58194: Verifying Checksum [2021-05-28T22:26:45.069Z] ab5ef0e58194: Download complete [2021-05-28T22:26:47.645Z] ab5ef0e58194: Pull complete [2021-05-28T22:26:47.645Z] 9712f1f96733: Pull complete [2021-05-28T22:26:48.226Z] 63f879dbbcfc: Pull complete [2021-05-28T22:26:51.585Z] 0d9ebad4ef96: Pull complete [2021-05-28T22:26:51.850Z] e9a5061849ea: Pull complete [2021-05-28T22:26:51.850Z] d747dcd14b5f: Pull complete [2021-05-28T22:26:52.801Z] 2de7ff778b66: Pull complete [2021-05-28T22:26:52.801Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-28T22:26:52.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-28T22:26:52.801Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-28T22:26:52.885Z] prd-centos7-docker-4c-2g-941 does not seem to be running inside a container [2021-05-28T22:26:52.923Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-28T22:26:57.750Z] $ docker top 0c05f375f8cf3f8d0dc28a446cb43ac002497213af23d1a3f4a1579c2bf0057a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-28T22:26:57.893Z] provisioning config files... [2021-05-28T22:26:57.902Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5351426451042348948tmp [2021-05-28T22:26:57.914Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4690149299753581193tmp [2021-05-28T22:26:57.925Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2050106463605183941tmp [Pipeline] { [Pipeline] echo [2021-05-28T22:26:57.946Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-28T22:26:58.240Z] ---> sigul-configuration.sh [2021-05-28T22:26:58.240Z] gpg: directory `/root/.gnupg' created [2021-05-28T22:26:58.240Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-28T22:26:58.240Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-28T22:26:58.240Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-28T22:26:58.240Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-28T22:26:58.240Z] gpg: CAST5 encrypted data [2021-05-28T22:26:58.240Z] gpg: encrypted with 1 passphrase [2021-05-28T22:26:58.240Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-28T22:26:58.533Z] + mkdir /home/jenkins [2021-05-28T22:26:58.533Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-28T22:26:58.830Z] + 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-28T22:26:58.841Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-28T22:26:59.134Z] ---> sigul-install.sh [2021-05-28T22:27:04.426Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-28T22:27:04.722Z] + git tag --list [2021-05-28T22:27:04.722Z] v1.0.0 [2021-05-28T22:27:04.722Z] v1.1.0 [2021-05-28T22:27:04.722Z] v1.1.1 [2021-05-28T22:27:04.722Z] v1.1.2 [2021-05-28T22:27:04.722Z] v1.2.0 [2021-05-28T22:27:04.722Z] v1.2.1 [2021-05-28T22:27:04.722Z] v1.2.1-dev.1 [2021-05-28T22:27:04.722Z] v1.2.1-dev.2 [2021-05-28T22:27:04.722Z] v1.2.1-dev.3 [2021-05-28T22:27:04.722Z] v1.2.1-dev.4 [2021-05-28T22:27:04.722Z] v1.2.2-dev.1 [2021-05-28T22:27:04.722Z] v1.2.2-dev.10 [2021-05-28T22:27:04.722Z] v1.2.2-dev.11 [2021-05-28T22:27:04.722Z] v1.2.2-dev.12 [2021-05-28T22:27:04.722Z] v1.2.2-dev.13 [2021-05-28T22:27:04.722Z] v1.2.2-dev.14 [2021-05-28T22:27:04.722Z] v1.2.2-dev.2 [2021-05-28T22:27:04.722Z] v1.2.2-dev.3 [2021-05-28T22:27:04.722Z] v1.2.2-dev.4 [2021-05-28T22:27:04.722Z] v1.2.2-dev.5 [2021-05-28T22:27:04.722Z] v1.2.2-dev.6 [2021-05-28T22:27:04.722Z] v1.2.2-dev.7 [2021-05-28T22:27:04.722Z] v1.2.2-dev.8 [2021-05-28T22:27:04.722Z] v1.2.2-dev.9 [Pipeline] sh [2021-05-28T22:27:05.018Z] + lftools sign git-tag v1.2.2-dev.14 [2021-05-28T22:27:05.591Z] Signing Git tag with Sigul... [2021-05-28T22:27:05.591Z] Signing v1.2.2-dev.14 [Pipeline] echo [2021-05-28T22:27:06.315Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-28T22:27:06.752Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-28T22:27:06.874Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-28T22:27:06.909Z] $ docker stop --time=1 0c05f375f8cf3f8d0dc28a446cb43ac002497213af23d1a3f4a1579c2bf0057a [2021-05-28T22:27:08.373Z] $ docker rm -f 0c05f375f8cf3f8d0dc28a446cb43ac002497213af23d1a3f4a1579c2bf0057a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:27:08.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-28T22:27:08.869Z] . [Pipeline] withDockerContainer [2021-05-28T22:27:08.940Z] prd-centos7-docker-4c-2g-941 does not seem to be running inside a container [2021-05-28T22:27:08.978Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-28T22:27:09.362Z] $ docker top ae46f41363b2985c422d5cbfe250ff75c456f6583a5c759a96beb5060ac21fb0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-28T22:27:09.529Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-28T22:27:09.529Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-28T22:27:09.640Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-28T22:27:09.639Z] $ docker exec ae46f41363b2985c422d5cbfe250ff75c456f6583a5c759a96beb5060ac21fb0 ssh-agent [2021-05-28T22:27:09.754Z] SSH_AUTH_SOCK=/tmp/ssh-OCoe6S6vuQC2/agent.13 [2021-05-28T22:27:09.754Z] SSH_AGENT_PID=20 [2021-05-28T22:27:09.760Z] Running ssh-add (command line suppressed) [2021-05-28T22:27:09.853Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3733629896257404478.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3733629896257404478.key) [2021-05-28T22:27:09.873Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-28T22:27:10.175Z] + git semver bump pre [2021-05-28T22:27:10.175Z] # -> Open(): unable to determine branch for HEAD [2021-05-28T22:27:10.176Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-28T22:27:10.176Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-28T22:27:10.176Z] # $SEMVER_REMOTE_NAME = origin [2021-05-28T22:27:10.176Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-28T22:27:10.176Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-28T22:27:10.176Z] # $SEMVER_BRANCH = master [2021-05-28T22:27:10.176Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-05-28T22:27:10.176Z] 1.2.2-dev.15 [Pipeline] } [2021-05-28T22:27:10.182Z] $ docker exec --env ******** --env ******** ae46f41363b2985c422d5cbfe250ff75c456f6583a5c759a96beb5060ac21fb0 ssh-agent -k [2021-05-28T22:27:10.280Z] unset SSH_AUTH_SOCK; [2021-05-28T22:27:10.280Z] unset SSH_AGENT_PID; [2021-05-28T22:27:10.280Z] echo Agent pid 20 killed; [2021-05-28T22:27:10.296Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-28T22:27:10.642Z] + git semver [Pipeline] } [2021-05-28T22:27:10.653Z] $ docker stop --time=1 ae46f41363b2985c422d5cbfe250ff75c456f6583a5c759a96beb5060ac21fb0 [2021-05-28T22:27:11.861Z] $ docker rm -f ae46f41363b2985c422d5cbfe250ff75c456f6583a5c759a96beb5060ac21fb0 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:27:12.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-28T22:27:12.258Z] . [Pipeline] withDockerContainer [2021-05-28T22:27:12.333Z] prd-centos7-docker-4c-2g-941 does not seem to be running inside a container [2021-05-28T22:27:12.379Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-28T22:27:12.735Z] $ docker top f177c15d98188c76f2a1ddf8cc8d382f610fec32f1a45f080b16e6a87b8ad7a2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-28T22:27:12.870Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-28T22:27:12.870Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-28T22:27:12.982Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-28T22:27:12.981Z] $ docker exec f177c15d98188c76f2a1ddf8cc8d382f610fec32f1a45f080b16e6a87b8ad7a2 ssh-agent [2021-05-28T22:27:13.095Z] SSH_AUTH_SOCK=/tmp/ssh-XtOb1xhJoSKY/agent.13 [2021-05-28T22:27:13.095Z] SSH_AGENT_PID=19 [2021-05-28T22:27:13.100Z] Running ssh-add (command line suppressed) [2021-05-28T22:27:13.197Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2528762601181296086.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2528762601181296086.key) [2021-05-28T22:27:13.216Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-28T22:27:13.518Z] + git semver push [2021-05-28T22:27:13.518Z] # -> Open(): unable to determine branch for HEAD [2021-05-28T22:27:13.518Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-28T22:27:13.518Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-28T22:27:13.518Z] # $SEMVER_REMOTE_NAME = origin [2021-05-28T22:27:13.518Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-28T22:27:13.518Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-28T22:27:13.518Z] # $SEMVER_BRANCH = master [2021-05-28T22:27:13.518Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-05-28T22:27:17.731Z] $ docker exec --env ******** --env ******** f177c15d98188c76f2a1ddf8cc8d382f610fec32f1a45f080b16e6a87b8ad7a2 ssh-agent -k [2021-05-28T22:27:17.829Z] unset SSH_AUTH_SOCK; [2021-05-28T22:27:17.830Z] unset SSH_AGENT_PID; [2021-05-28T22:27:17.830Z] echo Agent pid 19 killed; [2021-05-28T22:27:17.846Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-28T22:27:18.188Z] + git semver [Pipeline] } [2021-05-28T22:27:18.200Z] $ docker stop --time=1 f177c15d98188c76f2a1ddf8cc8d382f610fec32f1a45f080b16e6a87b8ad7a2 [2021-05-28T22:27:19.384Z] $ docker rm -f f177c15d98188c76f2a1ddf8cc8d382f610fec32f1a45f080b16e6a87b8ad7a2 [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-28T22:27:20.081Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-28T22:27:20.645Z] ---> package-listing.sh [2021-05-28T22:27:20.645Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-28T22:27:20.645Z] ++ facter osfamily [2021-05-28T22:27:20.940Z] + OS_FAMILY=redhat [2021-05-28T22:27:20.940Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2021-05-28T22:27:20.940Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-28T22:27:20.940Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-28T22:27:20.940Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-28T22:27:20.940Z] + PACKAGES=/tmp/packages_start.txt [2021-05-28T22:27:20.940Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-05-28T22:27:20.940Z] + PACKAGES=/tmp/packages_end.txt [2021-05-28T22:27:20.940Z] + case "${OS_FAMILY}" in [2021-05-28T22:27:20.940Z] + rpm -qa [2021-05-28T22:27:20.940Z] + sort [2021-05-28T22:27:21.512Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-28T22:27:21.512Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-28T22:27:21.512Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-28T22:27:21.512Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-05-28T22:27:21.512Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2021-05-28T22:27:21.512Z] + 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-28T22:27:21.524Z] 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-28T22:27:21.813Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:27:22.376Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-28T22:27:22.376Z] [2021-05-28T22:27:22.376Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-28T22:27:22.691Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-28T22:27:22.691Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-28T22:27:22.691Z] df20fa9351a1: Pulling fs layer [2021-05-28T22:27:22.691Z] 36b3adc4ff6f: Pulling fs layer [2021-05-28T22:27:22.691Z] 8ad3a11d3b57: Pulling fs layer [2021-05-28T22:27:22.691Z] 46f8f816bc3b: Pulling fs layer [2021-05-28T22:27:22.691Z] 93b61091891f: Pulling fs layer [2021-05-28T22:27:22.691Z] 93b9cdb0e59b: Pulling fs layer [2021-05-28T22:27:22.691Z] 5e14af77c1be: Pulling fs layer [2021-05-28T22:27:22.691Z] 01666e4c0597: Pulling fs layer [2021-05-28T22:27:22.691Z] aa168da1d23b: Pulling fs layer [2021-05-28T22:27:22.691Z] 46f8f816bc3b: Waiting [2021-05-28T22:27:22.691Z] 93b61091891f: Waiting [2021-05-28T22:27:22.691Z] 93b9cdb0e59b: Waiting [2021-05-28T22:27:22.691Z] 5e14af77c1be: Waiting [2021-05-28T22:27:22.691Z] 01666e4c0597: Waiting [2021-05-28T22:27:22.691Z] aa168da1d23b: Waiting [2021-05-28T22:27:22.691Z] 36b3adc4ff6f: Verifying Checksum [2021-05-28T22:27:22.691Z] 36b3adc4ff6f: Download complete [2021-05-28T22:27:22.691Z] 46f8f816bc3b: Verifying Checksum [2021-05-28T22:27:22.691Z] 46f8f816bc3b: Download complete [2021-05-28T22:27:22.691Z] df20fa9351a1: Verifying Checksum [2021-05-28T22:27:22.691Z] df20fa9351a1: Download complete [2021-05-28T22:27:22.691Z] 93b61091891f: Verifying Checksum [2021-05-28T22:27:22.691Z] 93b61091891f: Download complete [2021-05-28T22:27:22.950Z] 5e14af77c1be: Verifying Checksum [2021-05-28T22:27:22.950Z] 5e14af77c1be: Download complete [2021-05-28T22:27:22.950Z] 93b9cdb0e59b: Verifying Checksum [2021-05-28T22:27:22.950Z] 93b9cdb0e59b: Download complete [2021-05-28T22:27:22.950Z] 01666e4c0597: Verifying Checksum [2021-05-28T22:27:22.950Z] 01666e4c0597: Download complete [2021-05-28T22:27:22.950Z] df20fa9351a1: Pull complete [2021-05-28T22:27:22.950Z] 36b3adc4ff6f: Pull complete [2021-05-28T22:27:23.211Z] 8ad3a11d3b57: Verifying Checksum [2021-05-28T22:27:23.211Z] 8ad3a11d3b57: Download complete [2021-05-28T22:27:23.793Z] 8ad3a11d3b57: Pull complete [2021-05-28T22:27:23.793Z] 46f8f816bc3b: Pull complete [2021-05-28T22:27:24.057Z] 93b61091891f: Pull complete [2021-05-28T22:27:24.318Z] 93b9cdb0e59b: Pull complete [2021-05-28T22:27:24.318Z] 5e14af77c1be: Pull complete [2021-05-28T22:27:24.318Z] 01666e4c0597: Pull complete [2021-05-28T22:27:24.890Z] aa168da1d23b: Verifying Checksum [2021-05-28T22:27:24.890Z] aa168da1d23b: Download complete [2021-05-28T22:27:29.142Z] aa168da1d23b: Pull complete [2021-05-28T22:27:29.142Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-28T22:27:29.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-28T22:27:29.142Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-28T22:27:29.211Z] prd-centos7-docker-4c-2g-941 does not seem to be running inside a container [2021-05-28T22:27:29.248Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-28T22:27:31.074Z] $ docker top 5b0f8595789064b4ecd4497fe51b700bf7b5a561ea87f8c6b6a808558b49d3ea -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-28T22:27:31.465Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-28T22:27:31.757Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-28T22:27:32.050Z] + ls /var/log/sa-host [2021-05-28T22:27:32.050Z] + sadf -c /var/log/sa-host/sa05 [2021-05-28T22:27:32.050Z] file_magic: OK [2021-05-28T22:27:32.050Z] HZ: Using current value: 100 [2021-05-28T22:27:32.050Z] file_header: OK [2021-05-28T22:27:32.050Z] 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-28T22:27:32.050Z] Statistics: [2021-05-28T22:27:32.050Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-28T22:27:32.050Z] File successfully converted to sysstat format version 12.2.1 [2021-05-28T22:27:32.050Z] + sadf -c /var/log/sa-host/sa28 [2021-05-28T22:27:32.050Z] file_magic: OK [2021-05-28T22:27:32.050Z] HZ: Using current value: 100 [2021-05-28T22:27:32.050Z] file_header: OK [2021-05-28T22:27:32.050Z] 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-28T22:27:32.050Z] Statistics: [2021-05-28T22:27:32.050Z] 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-28T22:27:32.050Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-28T22:27:32.233Z] provisioning config files... [2021-05-28T22:27:32.245Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config644311898761816249tmp [Pipeline] { [Pipeline] echo [2021-05-28T22:27:32.266Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-28T22:27:32.554Z] ---> create-netrc.sh [Pipeline] } [2021-05-28T22:27:32.563Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-28T22:27:32.590Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-28T22:27:32.896Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-28T22:27:32.907Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-28T22:27:33.216Z] ---> sudo-logs.sh [2021-05-28T22:27:33.217Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-28T22:27:33.247Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-28T22:27:33.542Z] ---> job-cost.sh [2021-05-28T22:27:33.542Z] lf-activate-venv: SKIPPING [2021-05-28T22:27:33.542Z] DEBUG: total: 0.18000000715255737 [2021-05-28T22:27:33.542Z] INFO: Retrieving Stack Cost... [2021-05-28T22:27:34.929Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-28T22:27:35.503Z] INFO: Archiving Costs [Pipeline] echo [2021-05-28T22:27:35.517Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-28T22:27:35.811Z] ---> logs-deploy.sh [2021-05-28T22:27:35.811Z] lf-activate-venv: SKIPPING [2021-05-28T22:27:35.811Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/47 [2021-05-28T22:27:35.811Z] INFO: archiving workspace using pattern(s): [2021-05-28T22:27:36.755Z] Archives upload complete. [2021-05-28T22:27:36.755Z] INFO: archiving logs to Nexus