Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f67542ccb051b13986f5f41838b922d5b9b125ad 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > 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: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3798’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3799 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Checking out Revision f67542ccb051b13986f5f41838b922d5b9b125ad (master) Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f67542ccb051b13986f5f41838b922d5b9b125ad # timeout=10 Commit message: "Merge pull request #86 from ernestojeda/rename-makefile-images" > git rev-list --no-walk b2078d70396c9de247bd59d3b559c7f9e74995c9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-09T10:51:54.877Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-09T10:51:54.974Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-09T10:51:55.004Z] ========================================================= [2021-05-09T10:51:55.004Z] EdgeX Global Pipelines Version Info [2021-05-09T10:51:55.004Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-09T10:51:57.970Z] ------------------- [2021-05-09T10:51:57.971Z] stable info: [2021-05-09T10:51:57.971Z] ------------------- [2021-05-09T10:51:57.971Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-09T10:51:57.971Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-09T10:51:57.971Z] Message: update stable to v1.0.191 [2021-05-09T10:51:58.949Z] ------------------- [2021-05-09T10:51:58.949Z] experimental info: [2021-05-09T10:51:58.949Z] ------------------- [2021-05-09T10:51:58.949Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-09T10:51:58.949Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-09T10:51:58.949Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-09T10:51:59.224Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-09T10:51:59.248Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-09T10:51:59.271Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-09T10:51:59.293Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-09T10:51:59.316Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-09T10:51:59.357Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-09T10:51:59.380Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-09T10:51:59.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-09T10:51:59.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-09T10:51:59.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-09T10:51:59.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-09T10:51:59.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-05-09T10:51:59.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-09T10:51:59.562Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-09T10:51:59.586Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-09T10:51:59.609Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-09T10:51:59.634Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-09T10:51:59.675Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-09T10:51:59.698Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-09T10:51:59.723Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-09T10:51:59.747Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-09T10:51:59.770Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-09T10:51:59.793Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-09T10:51:59.816Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-09T10:51:59.839Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-09T10:51:59.877Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-09T10:51:59.900Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-09T10:51:59.923Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-09T10:51:59.947Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-09T10:51:59.970Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f67542ccb051b13986f5f41838b922d5b9b125ad [Pipeline] echo [2021-05-09T10:51:59.993Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f67542c [Pipeline] echo [2021-05-09T10:52:00.047Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T10:52:00.118Z] provisioning config files... [2021-05-09T10:52:00.154Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config6870987800066189339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T10:52:00.561Z] ---> docker-login.sh [2021-05-09T10:52:00.561Z] nexus3.edgexfoundry.org:10001 [2021-05-09T10:52:01.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:52:01.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:52:01.660Z] Configure a credential helper to remove this warning. See [2021-05-09T10:52:01.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:52:01.660Z] [2021-05-09T10:52:01.660Z] Login Succeeded [2021-05-09T10:52:01.660Z] nexus3.edgexfoundry.org:10002 [2021-05-09T10:52:02.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:52:02.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:52:02.340Z] Configure a credential helper to remove this warning. See [2021-05-09T10:52:02.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:52:02.340Z] [2021-05-09T10:52:02.340Z] Login Succeeded [2021-05-09T10:52:02.340Z] nexus3.edgexfoundry.org:10003 [2021-05-09T10:52:02.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:52:02.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:52:02.933Z] Configure a credential helper to remove this warning. See [2021-05-09T10:52:02.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:52:02.933Z] [2021-05-09T10:52:02.933Z] Login Succeeded [2021-05-09T10:52:02.933Z] nexus3.edgexfoundry.org:10004 [2021-05-09T10:52:03.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:52:03.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:52:03.498Z] Configure a credential helper to remove this warning. See [2021-05-09T10:52:03.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:52:03.498Z] [2021-05-09T10:52:03.498Z] Login Succeeded [2021-05-09T10:52:03.498Z] docker.io [2021-05-09T10:52:03.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:52:04.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:52:04.418Z] Configure a credential helper to remove this warning. See [2021-05-09T10:52:04.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:52:04.418Z] [2021-05-09T10:52:04.418Z] Login Succeeded [2021-05-09T10:52:04.418Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T10:52:04.484Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-09T10:52:05.007Z] + git log --format=format:%s -1 f67542ccb051b13986f5f41838b922d5b9b125ad [Pipeline] echo [2021-05-09T10:52:05.196Z] GIT_COMMIT: f67542ccb051b13986f5f41838b922d5b9b125ad, Commit Message: Merge pull request #86 from ernestojeda/rename-makefile-images [Pipeline] echo [2021-05-09T10:52:05.212Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:52:05.906Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T10:52:05.906Z] [2021-05-09T10:52:05.906Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:52:06.452Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T10:52:06.452Z] latest: Pulling from edgex-devops/git-semver [2021-05-09T10:52:06.452Z] 31603596830f: Pulling fs layer [2021-05-09T10:52:06.452Z] 54011a49482f: Pulling fs layer [2021-05-09T10:52:06.452Z] a6820b24f6d8: Pulling fs layer [2021-05-09T10:52:06.452Z] f581987b2513: Pulling fs layer [2021-05-09T10:52:06.452Z] f581987b2513: Waiting [2021-05-09T10:52:06.453Z] 54011a49482f: Verifying Checksum [2021-05-09T10:52:06.453Z] 54011a49482f: Download complete [2021-05-09T10:52:06.762Z] 31603596830f: Verifying Checksum [2021-05-09T10:52:06.762Z] 31603596830f: Download complete [2021-05-09T10:52:07.104Z] f581987b2513: Verifying Checksum [2021-05-09T10:52:07.104Z] f581987b2513: Download complete [2021-05-09T10:52:07.104Z] a6820b24f6d8: Verifying Checksum [2021-05-09T10:52:07.104Z] a6820b24f6d8: Download complete [2021-05-09T10:52:08.117Z] 31603596830f: Pull complete [2021-05-09T10:52:08.851Z] 54011a49482f: Pull complete [2021-05-09T10:52:11.042Z] a6820b24f6d8: Pull complete [2021-05-09T10:52:12.085Z] f581987b2513: Pull complete [2021-05-09T10:52:12.085Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-09T10:52:12.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T10:52:12.085Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-09T10:52:12.505Z] prd-centos7-docker-4c-2g-3799 does not seem to be running inside a container [2021-05-09T10:52:12.619Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-09T10:52:15.726Z] $ docker top dc97a4f8b5e4051673c663b7a8f0f271c75826eed6540f771cdefc966a0b636d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-09T10:52:16.355Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T10:52:16.355Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T10:52:17.051Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T10:52:17.053Z] $ docker exec dc97a4f8b5e4051673c663b7a8f0f271c75826eed6540f771cdefc966a0b636d ssh-agent [2021-05-09T10:52:17.842Z] SSH_AUTH_SOCK=/tmp/ssh-8lOYrYLo3Qt0/agent.12 [2021-05-09T10:52:17.842Z] SSH_AGENT_PID=17 [2021-05-09T10:52:17.881Z] Running ssh-add (command line suppressed) [2021-05-09T10:52:18.523Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8561417275965263343.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8561417275965263343.key) [2021-05-09T10:52:18.730Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T10:52:19.470Z] + git tag --points-at HEAD [Pipeline] } [2021-05-09T10:52:19.829Z] $ docker exec --env ******** --env ******** dc97a4f8b5e4051673c663b7a8f0f271c75826eed6540f771cdefc966a0b636d ssh-agent -k [2021-05-09T10:52:20.093Z] unset SSH_AUTH_SOCK; [2021-05-09T10:52:20.093Z] unset SSH_AGENT_PID; [2021-05-09T10:52:20.093Z] echo Agent pid 17 killed; [2021-05-09T10:52:20.177Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-09T10:52:20.225Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T10:52:20.225Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T10:52:20.687Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T10:52:20.689Z] $ docker exec dc97a4f8b5e4051673c663b7a8f0f271c75826eed6540f771cdefc966a0b636d ssh-agent [2021-05-09T10:52:21.421Z] SSH_AUTH_SOCK=/tmp/ssh-9OcyKcKNeU9g/agent.46 [2021-05-09T10:52:21.421Z] SSH_AGENT_PID=51 [2021-05-09T10:52:21.439Z] Running ssh-add (command line suppressed) [2021-05-09T10:52:22.000Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8083561565686846446.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8083561565686846446.key) [2021-05-09T10:52:22.616Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T10:52:23.290Z] + git semver init [2021-05-09T10:52:23.290Z] # -> Open(): unable to determine branch for HEAD [2021-05-09T10:52:23.290Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-09T10:52:23.290Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-09T10:52:23.290Z] # $SEMVER_REMOTE_NAME = origin [2021-05-09T10:52:23.290Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-09T10:52:23.290Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-09T10:52:23.290Z] # $SEMVER_BRANCH = master [2021-05-09T10:52:23.290Z] # $SEMVER_TEMP = /tmp/semver-636725044 [2021-05-09T10:52:23.290Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-09T10:52:25.465Z] # '/tmp/semver-636725044' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2021-05-09T10:52:25.465Z] # -> Force: false [2021-05-09T10:52:25.465Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-05-09T10:52:25.497Z] $ docker exec --env ******** --env ******** dc97a4f8b5e4051673c663b7a8f0f271c75826eed6540f771cdefc966a0b636d ssh-agent -k [2021-05-09T10:52:25.957Z] unset SSH_AUTH_SOCK; [2021-05-09T10:52:25.957Z] unset SSH_AGENT_PID; [2021-05-09T10:52:25.958Z] echo Agent pid 51 killed; [2021-05-09T10:52:26.242Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-09T10:52:26.952Z] + git semver [Pipeline] } [2021-05-09T10:52:26.986Z] $ docker stop --time=1 dc97a4f8b5e4051673c663b7a8f0f271c75826eed6540f771cdefc966a0b636d [2021-05-09T10:52:29.348Z] $ docker rm -f dc97a4f8b5e4051673c663b7a8f0f271c75826eed6540f771cdefc966a0b636d [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-09T10:52:30.144Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-09T10:52:31.332Z] Stashed 1 file(s) [Pipeline] echo [2021-05-09T10:52:31.336Z] [edgeXSemver]: initialized semver on version 1.2.2-dev.6 [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-09T10:52:46.528Z] Still waiting to schedule task [2021-05-09T10:52:46.528Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-09T10:52:46.531Z] Still waiting to schedule task [2021-05-09T10:52:46.531Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-09T10:53:52.854Z] Running on prd-centos7-docker-4c-2g-3808 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-05-09T10:53:52.873Z] Running in /w/workspace/device-rest-go/38 [Pipeline] { [Pipeline] checkout [2021-05-09T10:53:59.192Z] using credential edgex-jenkins-ssh [2021-05-09T10:53:59.218Z] Cloning the remote Git repository [2021-05-09T10:53:59.266Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-09T10:53:59.354Z] > git init /w/workspace/device-rest-go/38 # timeout=10 [2021-05-09T10:53:59.447Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-09T10:53:59.448Z] > git --version # timeout=10 [2021-05-09T10:53:59.458Z] > git --version # 'git version 2.24.3' [2021-05-09T10:53:59.459Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T10:53:59.510Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T10:54:01.156Z] Checking out Revision f67542ccb051b13986f5f41838b922d5b9b125ad (master) [2021-05-09T10:54:00.568Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-09T10:54:00.583Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T10:54:00.617Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-09T10:54:00.649Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-09T10:54:00.649Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T10:54:00.655Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-09T10:54:01.176Z] > git config core.sparsecheckout # timeout=10 [2021-05-09T10:54:01.183Z] > git checkout -f f67542ccb051b13986f5f41838b922d5b9b125ad # timeout=10 [2021-05-09T10:54:05.181Z] Commit message: "Merge pull request #86 from ernestojeda/rename-makefile-images" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-09T10:54:06.340Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-09T10:54:06.732Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-09T10:54:07.068Z] + sudo service docker restart [2021-05-09T10:54:07.068Z] + true [2021-05-09T10:54:07.068Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T10:54:08.503Z] provisioning config files... [2021-05-09T10:54:08.535Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/38@tmp/config7432049926896522918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T10:54:08.871Z] ---> docker-login.sh [2021-05-09T10:54:08.871Z] nexus3.edgexfoundry.org:10001 [2021-05-09T10:54:09.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:54:09.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:54:09.406Z] Configure a credential helper to remove this warning. See [2021-05-09T10:54:09.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:54:09.406Z] [2021-05-09T10:54:09.406Z] Login Succeeded [2021-05-09T10:54:09.406Z] nexus3.edgexfoundry.org:10002 [2021-05-09T10:54:09.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:54:09.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:54:09.693Z] Configure a credential helper to remove this warning. See [2021-05-09T10:54:09.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:54:09.693Z] [2021-05-09T10:54:09.693Z] Login Succeeded [2021-05-09T10:54:09.693Z] nexus3.edgexfoundry.org:10003 [2021-05-09T10:54:09.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:54:09.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:54:09.962Z] Configure a credential helper to remove this warning. See [2021-05-09T10:54:09.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:54:09.962Z] [2021-05-09T10:54:09.962Z] Login Succeeded [2021-05-09T10:54:09.962Z] nexus3.edgexfoundry.org:10004 [2021-05-09T10:54:09.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:54:09.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:54:09.962Z] Configure a credential helper to remove this warning. See [2021-05-09T10:54:09.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:54:09.962Z] [2021-05-09T10:54:09.962Z] Login Succeeded [2021-05-09T10:54:09.962Z] docker.io [2021-05-09T10:54:10.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:54:10.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:54:10.491Z] Configure a credential helper to remove this warning. See [2021-05-09T10:54:10.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:54:10.491Z] [2021-05-09T10:54:10.491Z] Login Succeeded [2021-05-09T10:54:10.491Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T10:54:10.507Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-09T10:54:10.720Z] ========================================================= [2021-05-09T10:54:10.721Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-09T10:54:10.721Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:54:11.041Z] + 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-09T10:54:11.041Z] Sending build context to Docker daemon 93.18kB [2021-05-09T10:54:11.308Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-09T10:54:11.308Z] Step 2/10 : FROM ${BASE} [2021-05-09T10:54:11.308Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-09T10:54:11.308Z] 540db60ca938: Pulling fs layer [2021-05-09T10:54:11.308Z] adcc1eea9eea: Pulling fs layer [2021-05-09T10:54:11.308Z] 4c4ab2625f07: Pulling fs layer [2021-05-09T10:54:11.308Z] 0510c868ecb4: Pulling fs layer [2021-05-09T10:54:11.308Z] afea3b2eda06: Pulling fs layer [2021-05-09T10:54:11.308Z] 7809a108b3ef: Pulling fs layer [2021-05-09T10:54:11.308Z] f706445af74f: Pulling fs layer [2021-05-09T10:54:11.308Z] 0510c868ecb4: Waiting [2021-05-09T10:54:11.308Z] f706445af74f: Waiting [2021-05-09T10:54:11.308Z] afea3b2eda06: Waiting [2021-05-09T10:54:11.308Z] 7809a108b3ef: Waiting [2021-05-09T10:54:11.308Z] 4c4ab2625f07: Verifying Checksum [2021-05-09T10:54:11.308Z] 4c4ab2625f07: Download complete [2021-05-09T10:54:11.308Z] adcc1eea9eea: Download complete [2021-05-09T10:54:11.308Z] afea3b2eda06: Verifying Checksum [2021-05-09T10:54:11.308Z] afea3b2eda06: Download complete [2021-05-09T10:54:11.308Z] 7809a108b3ef: Verifying Checksum [2021-05-09T10:54:11.308Z] 7809a108b3ef: Download complete [2021-05-09T10:54:11.905Z] 540db60ca938: Verifying Checksum [2021-05-09T10:54:11.905Z] 540db60ca938: Download complete [2021-05-09T10:54:12.502Z] 540db60ca938: Pull complete [2021-05-09T10:54:12.767Z] adcc1eea9eea: Pull complete [2021-05-09T10:54:12.767Z] 4c4ab2625f07: Pull complete [2021-05-09T10:54:15.397Z] f706445af74f: Verifying Checksum [2021-05-09T10:54:15.397Z] f706445af74f: Download complete [2021-05-09T10:54:15.397Z] 0510c868ecb4: Verifying Checksum [2021-05-09T10:54:15.397Z] 0510c868ecb4: Download complete [2021-05-09T10:54:23.714Z] 0510c868ecb4: Pull complete [2021-05-09T10:54:24.013Z] afea3b2eda06: Pull complete [2021-05-09T10:54:24.013Z] 7809a108b3ef: Pull complete [2021-05-09T10:54:29.428Z] f706445af74f: Pull complete [2021-05-09T10:54:29.428Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-09T10:54:29.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-09T10:54:29.428Z] ---> b068be0155e3 [2021-05-09T10:54:29.428Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-09T10:54:30.017Z] ---> Running in 2567286e37b5 [2021-05-09T10:54:30.293Z] Removing intermediate container 2567286e37b5 [2021-05-09T10:54:30.293Z] ---> 3305a5fda42f [2021-05-09T10:54:30.293Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-09T10:54:30.573Z] ---> Running in 6a169241d5c0 [2021-05-09T10:54:30.573Z] Removing intermediate container 6a169241d5c0 [2021-05-09T10:54:30.573Z] ---> 0e9038480ce9 [2021-05-09T10:54:30.573Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-09T10:54:30.839Z] ---> Running in 49ab0bc65ddc [2021-05-09T10:54:30.839Z] Removing intermediate container 49ab0bc65ddc [2021-05-09T10:54:30.839Z] ---> 3d2b7168c085 [2021-05-09T10:54:30.839Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T10:54:31.103Z] ---> Running in 0c7463b0b06a [2021-05-09T10:54:33.150Z] Removing intermediate container 0c7463b0b06a [2021-05-09T10:54:33.151Z] ---> 3bdb21ea059d [2021-05-09T10:54:33.151Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-09T10:54:33.151Z] ---> Running in d68d00294650 [2021-05-09T10:54:34.122Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-09T10:54:37.515Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-09T10:54:41.821Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-09T10:54:41.821Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-09T10:54:42.096Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-09T10:54:42.365Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-09T10:54:42.365Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-09T10:54:43.333Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-09T10:54:43.605Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-09T10:54:46.995Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-09T10:54:47.578Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-09T10:54:47.578Z] Executing busybox-1.32.1-r6.trigger [2021-05-09T10:54:47.578Z] OK: 154 MiB in 49 packages [2021-05-09T10:54:48.556Z] Removing intermediate container d68d00294650 [2021-05-09T10:54:48.556Z] ---> 41972ce674f7 [2021-05-09T10:54:48.556Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-09T10:54:48.556Z] ---> Running in a67b2e36f6c2 [2021-05-09T10:54:48.820Z] Removing intermediate container a67b2e36f6c2 [2021-05-09T10:54:48.820Z] ---> 1fe226ef9937 [2021-05-09T10:54:48.820Z] Step 9/10 : COPY . . [2021-05-09T10:54:49.083Z] ---> 518a5b5d51da [2021-05-09T10:54:49.083Z] Step 10/10 : RUN go mod download [2021-05-09T10:54:49.083Z] ---> Running in 66dfcc87f295 [2021-05-09T10:55:15.943Z] Removing intermediate container 66dfcc87f295 [2021-05-09T10:55:15.943Z] ---> 858885260572 [2021-05-09T10:55:15.943Z] Successfully built 858885260572 [2021-05-09T10:55:15.943Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:55:16.288Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-09T10:55:16.288Z] . [Pipeline] withDockerContainer [2021-05-09T10:55:16.446Z] prd-centos7-docker-4c-2g-3808 does not seem to be running inside a container [2021-05-09T10:55:16.521Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/38 -v /w/workspace/device-rest-go/38:/w/workspace/device-rest-go/38:rw,z -v /w/workspace/device-rest-go/38@tmp:/w/workspace/device-rest-go/38@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 ******** ci-base-image-x86_64 cat [2021-05-09T10:55:17.538Z] $ docker top 0aa5161e86478c069f8cce84a3060040de5d724cae6b5e5b863f68196302811a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T10:55:18.069Z] + go version [2021-05-09T10:55:18.069Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-09T10:55:18.120Z] $ docker stop --time=1 0aa5161e86478c069f8cce84a3060040de5d724cae6b5e5b863f68196302811a [2021-05-09T10:55:19.697Z] $ docker rm -f 0aa5161e86478c069f8cce84a3060040de5d724cae6b5e5b863f68196302811a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:55:20.295Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-09T10:55:20.295Z] . [Pipeline] withDockerContainer [2021-05-09T10:55:21.736Z] prd-centos7-docker-4c-2g-3808 does not seem to be running inside a container [2021-05-09T10:55:22.130Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/38 -v /w/workspace/device-rest-go/38:/w/workspace/device-rest-go/38:rw,z -v /w/workspace/device-rest-go/38@tmp:/w/workspace/device-rest-go/38@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 ******** ci-base-image-x86_64 cat [2021-05-09T10:55:23.573Z] $ docker top 7b86d1047ebdc8bfef714251b887556a7cd57e1c93d0d8f05de231ba2e01352a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T10:55:24.143Z] + go mod tidy [Pipeline] sh [2021-05-09T10:55:25.482Z] + make test [2021-05-09T10:55:25.482Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-09T10:55:26.918Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-09T10:55:53.952Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-09T10:55:54.549Z] ok github.com/edgexfoundry/device-rest-go/driver 0.025s coverage: 54.0% of statements [2021-05-09T10:55:54.831Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-09T10:56:07.349Z] gofmt -l . [2021-05-09T10:56:07.349Z] [ "`gofmt -l .`" = "" ] [2021-05-09T10:56:07.349Z] ./bin/test-go-mod-tidy.sh [2021-05-09T10:56:07.611Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-09T10:56:08.592Z] $ docker stop --time=1 7b86d1047ebdc8bfef714251b887556a7cd57e1c93d0d8f05de231ba2e01352a [2021-05-09T10:56:10.699Z] $ docker rm -f 7b86d1047ebdc8bfef714251b887556a7cd57e1c93d0d8f05de231ba2e01352a [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-09T10:56:11.495Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-09T10:56:12.287Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-09T10:56:13.327Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-09T10:56:13.735Z] + ls -al . [2021-05-09T10:56:13.736Z] total 104 [2021-05-09T10:56:13.736Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 9 10:56 . [2021-05-09T10:56:13.736Z] drwxrwxr-x. 4 jenkins jenkins 30 May 9 10:53 .. [2021-05-09T10:56:13.736Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 9 10:54 Attribution.txt [2021-05-09T10:56:13.736Z] drwxrwxr-x. 2 jenkins jenkins 64 May 9 10:54 bin [2021-05-09T10:56:13.736Z] drwxrwxr-x. 3 jenkins jenkins 32 May 9 10:54 cmd [2021-05-09T10:56:13.736Z] -rw-r--r--. 1 jenkins jenkins 8513 May 9 10:55 coverage.out [2021-05-09T10:56:13.736Z] -rw-rw-r--. 1 jenkins jenkins 1602 May 9 10:54 Dockerfile [2021-05-09T10:56:13.736Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 9 10:54 Dockerfile.build [2021-05-09T10:56:13.736Z] -rw-rw-r--. 1 jenkins jenkins 151 May 9 10:54 .dockerignore [2021-05-09T10:56:13.736Z] drwxrwxr-x. 2 jenkins jenkins 76 May 9 10:54 driver [2021-05-09T10:56:13.736Z] drwxrwxr-x. 8 jenkins jenkins 162 May 9 10:54 .git [2021-05-09T10:56:13.736Z] drwxrwxr-x. 2 jenkins jenkins 103 May 9 10:54 .github [2021-05-09T10:56:13.736Z] -rw-rw-r--. 1 jenkins jenkins 339 May 9 10:54 .gitignore [2021-05-09T10:56:13.736Z] -rw-r--r--. 1 jenkins jenkins 285 May 9 10:56 go.mod [2021-05-09T10:56:13.736Z] -rw-r--r--. 1 jenkins jenkins 21331 May 9 10:55 go.sum [2021-05-09T10:56:13.736Z] -rw-rw-r--. 1 jenkins jenkins 680 May 9 10:54 Jenkinsfile [2021-05-09T10:56:13.736Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 9 10:54 LICENSE [2021-05-09T10:56:13.736Z] -rw-rw-r--. 1 jenkins jenkins 976 May 9 10:54 Makefile [2021-05-09T10:56:13.736Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 9 10:54 README.md [2021-05-09T10:56:13.736Z] drwxrwxr-x. 4 jenkins jenkins 71 May 9 10:54 snap [2021-05-09T10:56:13.736Z] -rw-rw-r--. 1 jenkins jenkins 11 May 9 10:52 VERSION [2021-05-09T10:56:13.736Z] -rw-rw-r--. 1 jenkins jenkins 713 May 9 10:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:56:14.126Z] + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=f67542ccb051b13986f5f41838b922d5b9b125ad --label arch=amd64 --label version=1.2.2-dev.6 . [2021-05-09T10:56:14.126Z] Sending build context to Docker daemon 102.9kB [2021-05-09T10:56:14.398Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-05-09T10:56:14.398Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-09T10:56:14.398Z] ---> 858885260572 [2021-05-09T10:56:14.398Z] Step 3/24 : ARG MAKE='make build' [2021-05-09T10:56:14.685Z] ---> Running in 65fd968c0c72 [2021-05-09T10:56:14.685Z] Removing intermediate container 65fd968c0c72 [2021-05-09T10:56:14.685Z] ---> 18a9038c2fef [2021-05-09T10:56:14.685Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-09T10:56:14.685Z] ---> Running in 265906c9d42e [2021-05-09T10:56:14.954Z] Removing intermediate container 265906c9d42e [2021-05-09T10:56:14.954Z] ---> 4e0d60b84c6c [2021-05-09T10:56:14.954Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-09T10:56:14.954Z] ---> Running in c4bd34b5d8b2 [2021-05-09T10:56:15.243Z] Removing intermediate container c4bd34b5d8b2 [2021-05-09T10:56:15.243Z] ---> 1e7064e971f7 [2021-05-09T10:56:15.243Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T10:56:15.243Z] ---> Running in 917746faedde [2021-05-09T10:56:16.683Z] Removing intermediate container 917746faedde [2021-05-09T10:56:16.683Z] ---> fea6ece93764 [2021-05-09T10:56:16.683Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-09T10:56:16.975Z] ---> Running in 27a5d2929af3 [2021-05-09T10:56:17.983Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-09T10:56:19.389Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-09T10:56:20.820Z] OK: 154 MiB in 49 packages [2021-05-09T10:56:21.444Z] Removing intermediate container 27a5d2929af3 [2021-05-09T10:56:21.444Z] ---> 7fcc847164ab [2021-05-09T10:56:21.444Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-09T10:56:21.444Z] ---> Running in fb8ac8c97997 [2021-05-09T10:56:21.726Z] Removing intermediate container fb8ac8c97997 [2021-05-09T10:56:21.726Z] ---> 269dc2ef46fa [2021-05-09T10:56:21.726Z] Step 9/24 : COPY . . [2021-05-09T10:56:22.000Z] ---> 90e127c7c64a [2021-05-09T10:56:22.000Z] Step 10/24 : RUN make update [2021-05-09T10:56:22.267Z] ---> Running in af7157647a03 [2021-05-09T10:56:22.855Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-09T10:56:23.443Z] Removing intermediate container af7157647a03 [2021-05-09T10:56:23.443Z] ---> 75f381fc3bee [2021-05-09T10:56:23.443Z] Step 11/24 : RUN $MAKE [2021-05-09T10:56:23.443Z] ---> Running in 457170f307d0 [2021-05-09T10:56:24.030Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.6" -o cmd/device-rest-go ./cmd [2021-05-09T10:56:37.252Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3815 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-05-09T10:56:37.270Z] Running in /w/workspace/device-rest-go/38 [Pipeline] { [Pipeline] checkout [2021-05-09T10:56:43.690Z] using credential edgex-jenkins-ssh [2021-05-09T10:56:43.718Z] Cloning the remote Git repository [2021-05-09T10:56:43.784Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-09T10:56:43.906Z] > git init /w/workspace/device-rest-go/38 # timeout=10 [2021-05-09T10:56:44.007Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-09T10:56:44.008Z] > git --version # timeout=10 [2021-05-09T10:56:44.029Z] > git --version # 'git version 2.17.1' [2021-05-09T10:56:44.032Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T10:56:44.130Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T10:56:46.416Z] Removing intermediate container 457170f307d0 [2021-05-09T10:56:46.416Z] ---> 0dac880b6b0b [2021-05-09T10:56:46.416Z] Step 12/24 : FROM alpine:3.12 [2021-05-09T10:56:46.416Z] 3.12: Pulling from library/alpine [2021-05-09T10:56:46.416Z] 339de151aab4: Pulling fs layer [2021-05-09T10:56:46.416Z] 339de151aab4: Verifying Checksum [2021-05-09T10:56:46.416Z] 339de151aab4: Download complete [2021-05-09T10:56:46.416Z] 339de151aab4: Pull complete [2021-05-09T10:56:46.416Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-09T10:56:46.416Z] Status: Downloaded newer image for alpine:3.12 [2021-05-09T10:56:46.416Z] ---> 13621d1b12d4 [2021-05-09T10:56:46.416Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-09T10:56:46.416Z] ---> Running in aa8a5b4a0998 [2021-05-09T10:56:46.416Z] Removing intermediate container aa8a5b4a0998 [2021-05-09T10:56:46.416Z] ---> fa77119b792e [2021-05-09T10:56:46.416Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-09T10:56:46.416Z] ---> Running in 93a9cf27d7b1 [2021-05-09T10:56:46.416Z] Removing intermediate container 93a9cf27d7b1 [2021-05-09T10:56:46.416Z] ---> 9c0f073af87c [2021-05-09T10:56:46.416Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-09T10:56:46.416Z] ---> Running in 02e35dba9b82 [2021-05-09T10:56:46.416Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-09T10:56:46.416Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-09T10:56:45.945Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-09T10:56:45.977Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T10:56:46.008Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-09T10:56:46.046Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-09T10:56:46.047Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T10:56:46.061Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-09T10:56:46.521Z] Checking out Revision f67542ccb051b13986f5f41838b922d5b9b125ad (master) [2021-05-09T10:56:46.688Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-09T10:56:46.688Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-09T10:56:46.688Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-09T10:56:46.688Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-09T10:56:46.688Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-09T10:56:46.688Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-09T10:56:46.688Z] Executing busybox-1.31.1-r20.trigger [2021-05-09T10:56:46.688Z] OK: 8 MiB in 20 packages [2021-05-09T10:56:47.691Z] Removing intermediate container 02e35dba9b82 [2021-05-09T10:56:47.691Z] ---> 9db8ade376ca [2021-05-09T10:56:47.691Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-09T10:56:46.551Z] > git config core.sparsecheckout # timeout=10 [2021-05-09T10:56:46.574Z] > git checkout -f f67542ccb051b13986f5f41838b922d5b9b125ad # timeout=10 [2021-05-09T10:56:48.285Z] ---> e26a683795f6 [2021-05-09T10:56:48.285Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-09T10:56:48.548Z] ---> 21a4d3fd838a [2021-05-09T10:56:48.548Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-09T10:56:48.822Z] ---> bb5d929e1140 [2021-05-09T10:56:48.822Z] Step 19/24 : EXPOSE 49986 [2021-05-09T10:56:49.092Z] ---> Running in f4c85c5c6f5c [2021-05-09T10:56:49.092Z] Removing intermediate container f4c85c5c6f5c [2021-05-09T10:56:49.092Z] ---> 944868bd8772 [2021-05-09T10:56:49.092Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-09T10:56:49.356Z] ---> Running in 78772ea43f11 [2021-05-09T10:56:49.356Z] Removing intermediate container 78772ea43f11 [2021-05-09T10:56:49.356Z] ---> 5b933733ec58 [2021-05-09T10:56:49.356Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-09T10:56:49.621Z] ---> Running in 4226d4235fda [2021-05-09T10:56:49.621Z] Removing intermediate container 4226d4235fda [2021-05-09T10:56:49.621Z] ---> b20787052a9b [2021-05-09T10:56:49.621Z] Step 22/24 : LABEL arch=amd64 [2021-05-09T10:56:49.884Z] ---> Running in 5726d4f47481 [2021-05-09T10:56:49.884Z] Removing intermediate container 5726d4f47481 [2021-05-09T10:56:49.884Z] ---> 8ed6eedcbe70 [2021-05-09T10:56:49.884Z] Step 23/24 : LABEL git_sha=f67542ccb051b13986f5f41838b922d5b9b125ad [2021-05-09T10:56:50.150Z] ---> Running in cd297036dd0f [2021-05-09T10:56:50.150Z] Removing intermediate container cd297036dd0f [2021-05-09T10:56:50.150Z] ---> 4048bc55c259 [2021-05-09T10:56:50.150Z] Step 24/24 : LABEL version=1.2.2-dev.6 [2021-05-09T10:56:50.426Z] ---> Running in 744171e9934f [2021-05-09T10:56:50.736Z] Removing intermediate container 744171e9934f [2021-05-09T10:56:50.736Z] ---> 1db9a37a27c7 [2021-05-09T10:56:50.736Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-09T10:56:50.736Z] Successfully built 1db9a37a27c7 [2021-05-09T10:56:50.736Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T10:56:50.875Z] provisioning config files... [2021-05-09T10:56:50.906Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/38@tmp/config3800855298114130628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T10:56:51.033Z] Commit message: "Merge pull request #86 from ernestojeda/rename-makefile-images" [2021-05-09T10:56:51.313Z] ---> docker-login.sh [2021-05-09T10:56:51.313Z] nexus3.edgexfoundry.org:10001 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-09T10:56:51.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:56:51.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:56:51.592Z] Configure a credential helper to remove this warning. See [2021-05-09T10:56:51.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:56:51.592Z] [2021-05-09T10:56:51.592Z] Login Succeeded [2021-05-09T10:56:51.592Z] nexus3.edgexfoundry.org:10002 [2021-05-09T10:56:51.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:56:51.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:56:51.871Z] Configure a credential helper to remove this warning. See [2021-05-09T10:56:51.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:56:51.871Z] [2021-05-09T10:56:51.871Z] Login Succeeded [2021-05-09T10:56:51.871Z] nexus3.edgexfoundry.org:10003 [2021-05-09T10:56:52.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:56:52.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:56:52.151Z] Configure a credential helper to remove this warning. See [2021-05-09T10:56:52.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:56:52.151Z] [2021-05-09T10:56:52.151Z] Login Succeeded [2021-05-09T10:56:52.151Z] nexus3.edgexfoundry.org:10004 [2021-05-09T10:56:52.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:56:52.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:56:52.434Z] Configure a credential helper to remove this warning. See [2021-05-09T10:56:52.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:56:52.434Z] [2021-05-09T10:56:52.434Z] Login Succeeded [2021-05-09T10:56:52.434Z] docker.io [2021-05-09T10:56:52.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:56:52.771Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-09T10:56:52.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:56:52.975Z] Configure a credential helper to remove this warning. See [2021-05-09T10:56:52.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:56:52.975Z] [2021-05-09T10:56:52.975Z] Login Succeeded [2021-05-09T10:56:52.975Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T10:56:52.998Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-09T10:56:53.065Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: [2021-05-09T10:56:53.065Z] f67542ccb051b13986f5f41838b922d5b9b125ad [2021-05-09T10:56:53.065Z] latest [2021-05-09T10:56:53.065Z] 1.2.2-dev.6 [2021-05-09T10:56:53.065Z] f67542ccb051b13986f5f41838b922d5b9b125ad-1.2.2-dev.6 [2021-05-09T10:56:53.065Z] master [2021-05-09T10:56:53.065Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:56:53.191Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-09T10:56:53.425Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:f67542ccb051b13986f5f41838b922d5b9b125ad [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:56:53.540Z] + sudo service docker restart [2021-05-09T10:56:53.540Z] + true [2021-05-09T10:56:53.739Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:f67542ccb051b13986f5f41838b922d5b9b125ad [2021-05-09T10:56:53.739Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-05-09T10:56:53.739Z] 19d6c39dd07d: Preparing [2021-05-09T10:56:53.739Z] dbe94d83d951: Preparing [2021-05-09T10:56:53.739Z] ffd97a568a64: Preparing [2021-05-09T10:56:53.739Z] 2aa60f857b43: Preparing [2021-05-09T10:56:53.739Z] 32f366d666a5: Preparing [2021-05-09T10:56:53.739Z] 32f366d666a5: Layer already exists [2021-05-09T10:56:53.739Z] dbe94d83d951: Pushed [2021-05-09T10:56:54.008Z] 19d6c39dd07d: Pushed [2021-05-09T10:56:54.008Z] 2aa60f857b43: Pushed [2021-05-09T10:56:55.411Z] ffd97a568a64: Pushed [2021-05-09T10:56:55.411Z] f67542ccb051b13986f5f41838b922d5b9b125ad: digest: sha256:12400647e21771bb0da736f05f063eb52bd5049d78a0812515e76a8a9878514e size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:56:55.737Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:56:56.064Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2021-05-09T10:56:56.065Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-05-09T10:56:56.065Z] 19d6c39dd07d: Preparing [2021-05-09T10:56:56.065Z] dbe94d83d951: Preparing [2021-05-09T10:56:56.065Z] ffd97a568a64: Preparing [2021-05-09T10:56:56.065Z] 2aa60f857b43: Preparing [2021-05-09T10:56:56.065Z] 32f366d666a5: Preparing [2021-05-09T10:56:56.065Z] 2aa60f857b43: Layer already exists [2021-05-09T10:56:56.065Z] 32f366d666a5: Layer already exists [2021-05-09T10:56:56.065Z] 19d6c39dd07d: Layer already exists [2021-05-09T10:56:56.065Z] dbe94d83d951: Layer already exists [2021-05-09T10:56:56.065Z] ffd97a568a64: Layer already exists [2021-05-09T10:56:56.065Z] latest: digest: sha256:12400647e21771bb0da736f05f063eb52bd5049d78a0812515e76a8a9878514e size: 1365 [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T10:56:56.231Z] provisioning config files... [2021-05-09T10:56:56.281Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/38@tmp/config2706875306139428071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T10:56:56.383Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.2-dev.6 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:56:56.688Z] ---> docker-login.sh [2021-05-09T10:56:56.688Z] nexus3.edgexfoundry.org:10001 [2021-05-09T10:56:56.730Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.2-dev.6 [2021-05-09T10:56:56.730Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-05-09T10:56:56.730Z] 19d6c39dd07d: Preparing [2021-05-09T10:56:56.730Z] dbe94d83d951: Preparing [2021-05-09T10:56:56.730Z] ffd97a568a64: Preparing [2021-05-09T10:56:56.730Z] 2aa60f857b43: Preparing [2021-05-09T10:56:56.730Z] 32f366d666a5: Preparing [2021-05-09T10:56:56.730Z] 32f366d666a5: Layer already exists [2021-05-09T10:56:56.730Z] dbe94d83d951: Layer already exists [2021-05-09T10:56:56.730Z] 2aa60f857b43: Layer already exists [2021-05-09T10:56:56.730Z] 19d6c39dd07d: Layer already exists [2021-05-09T10:56:56.730Z] ffd97a568a64: Layer already exists [2021-05-09T10:56:56.730Z] 1.2.2-dev.6: digest: sha256:12400647e21771bb0da736f05f063eb52bd5049d78a0812515e76a8a9878514e size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:56:57.168Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:f67542ccb051b13986f5f41838b922d5b9b125ad-1.2.2-dev.6 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:56:57.563Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:f67542ccb051b13986f5f41838b922d5b9b125ad-1.2.2-dev.6 [2021-05-09T10:56:57.563Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-05-09T10:56:57.563Z] 19d6c39dd07d: Preparing [2021-05-09T10:56:57.563Z] dbe94d83d951: Preparing [2021-05-09T10:56:57.563Z] ffd97a568a64: Preparing [2021-05-09T10:56:57.563Z] 2aa60f857b43: Preparing [2021-05-09T10:56:57.563Z] 32f366d666a5: Preparing [2021-05-09T10:56:57.563Z] dbe94d83d951: Layer already exists [2021-05-09T10:56:57.563Z] 32f366d666a5: Layer already exists [2021-05-09T10:56:57.563Z] 2aa60f857b43: Layer already exists [2021-05-09T10:56:57.563Z] ffd97a568a64: Layer already exists [2021-05-09T10:56:57.563Z] 19d6c39dd07d: Layer already exists [2021-05-09T10:56:57.563Z] f67542ccb051b13986f5f41838b922d5b9b125ad-1.2.2-dev.6: digest: sha256:12400647e21771bb0da736f05f063eb52bd5049d78a0812515e76a8a9878514e size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:56:57.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:56:57.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:56:57.980Z] Configure a credential helper to remove this warning. See [2021-05-09T10:56:57.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:56:57.980Z] [2021-05-09T10:56:57.980Z] Login Succeeded [2021-05-09T10:56:57.980Z] nexus3.edgexfoundry.org:10002 [2021-05-09T10:56:58.019Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:56:58.345Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [2021-05-09T10:56:58.345Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-05-09T10:56:58.345Z] 19d6c39dd07d: Preparing [2021-05-09T10:56:58.345Z] dbe94d83d951: Preparing [2021-05-09T10:56:58.345Z] ffd97a568a64: Preparing [2021-05-09T10:56:58.345Z] 2aa60f857b43: Preparing [2021-05-09T10:56:58.345Z] 32f366d666a5: Preparing [2021-05-09T10:56:58.345Z] 19d6c39dd07d: Layer already exists [2021-05-09T10:56:58.345Z] dbe94d83d951: Layer already exists [2021-05-09T10:56:58.345Z] 32f366d666a5: Layer already exists [2021-05-09T10:56:58.345Z] 2aa60f857b43: Layer already exists [2021-05-09T10:56:58.345Z] ffd97a568a64: Layer already exists [2021-05-09T10:56:58.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:56:58.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:56:58.588Z] Configure a credential helper to remove this warning. See [2021-05-09T10:56:58.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:56:58.588Z] [2021-05-09T10:56:58.588Z] Login Succeeded [2021-05-09T10:56:58.588Z] nexus3.edgexfoundry.org:10003 [2021-05-09T10:56:58.635Z] master: digest: sha256:12400647e21771bb0da736f05f063eb52bd5049d78a0812515e76a8a9878514e size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-09T10:56:58.704Z] ===================================================== [Pipeline] echo [2021-05-09T10:56:58.723Z] taggedImages: [2021-05-09T10:56:58.723Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:f67542ccb051b13986f5f41838b922d5b9b125ad [2021-05-09T10:56:58.723Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2021-05-09T10:56:58.723Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.2-dev.6 [2021-05-09T10:56:58.723Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:f67542ccb051b13986f5f41838b922d5b9b125ad-1.2.2-dev.6 [2021-05-09T10:56:58.723Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go: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-09T10:56:59.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:56:59.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:56:59.197Z] Configure a credential helper to remove this warning. See [2021-05-09T10:56:59.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:56:59.197Z] [2021-05-09T10:56:59.197Z] Login Succeeded [2021-05-09T10:56:59.197Z] nexus3.edgexfoundry.org:10004 [2021-05-09T10:56:59.258Z] ---> job-cost.sh [2021-05-09T10:56:59.258Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cslE [2021-05-09T10:56:59.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:56:59.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:56:59.804Z] Configure a credential helper to remove this warning. See [2021-05-09T10:56:59.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:56:59.804Z] [2021-05-09T10:56:59.804Z] Login Succeeded [2021-05-09T10:56:59.804Z] docker.io [2021-05-09T10:57:00.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:57:00.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:57:00.748Z] Configure a credential helper to remove this warning. See [2021-05-09T10:57:00.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:57:00.748Z] [2021-05-09T10:57:00.748Z] Login Succeeded [2021-05-09T10:57:00.748Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T10:57:00.767Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-09T10:57:01.127Z] ========================================================= [2021-05-09T10:57:01.127Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-09T10:57:01.127Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:57:01.484Z] + 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-09T10:57:01.484Z] Sending build context to Docker daemon 93.18kB [2021-05-09T10:57:02.094Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-09T10:57:02.094Z] Step 2/10 : FROM ${BASE} [2021-05-09T10:57:02.094Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-09T10:57:02.094Z] 595b0fe564bb: Pulling fs layer [2021-05-09T10:57:02.094Z] 7186ed65a4f7: Pulling fs layer [2021-05-09T10:57:02.094Z] 316046926c0a: Pulling fs layer [2021-05-09T10:57:02.094Z] 4ebd0625c992: Pulling fs layer [2021-05-09T10:57:02.094Z] 207e8628e3a3: Pulling fs layer [2021-05-09T10:57:02.094Z] c791037a9be2: Pulling fs layer [2021-05-09T10:57:02.094Z] ffd874e62e21: Pulling fs layer [2021-05-09T10:57:02.094Z] 207e8628e3a3: Waiting [2021-05-09T10:57:02.094Z] c791037a9be2: Waiting [2021-05-09T10:57:02.094Z] ffd874e62e21: Waiting [2021-05-09T10:57:02.094Z] 4ebd0625c992: Waiting [2021-05-09T10:57:02.094Z] 316046926c0a: Verifying Checksum [2021-05-09T10:57:02.094Z] 316046926c0a: Download complete [2021-05-09T10:57:02.094Z] 7186ed65a4f7: Verifying Checksum [2021-05-09T10:57:02.094Z] 7186ed65a4f7: Download complete [2021-05-09T10:57:02.094Z] 207e8628e3a3: Download complete [2021-05-09T10:57:02.094Z] c791037a9be2: Verifying Checksum [2021-05-09T10:57:02.094Z] c791037a9be2: Download complete [2021-05-09T10:57:02.094Z] 595b0fe564bb: Verifying Checksum [2021-05-09T10:57:02.094Z] 595b0fe564bb: Download complete [2021-05-09T10:57:03.098Z] 595b0fe564bb: Pull complete [2021-05-09T10:57:03.711Z] 7186ed65a4f7: Pull complete [2021-05-09T10:57:04.310Z] 316046926c0a: Pull complete [2021-05-09T10:57:04.586Z] ffd874e62e21: Verifying Checksum [2021-05-09T10:57:04.586Z] ffd874e62e21: Download complete [2021-05-09T10:57:06.572Z] 4ebd0625c992: Download complete [2021-05-09T10:57:16.744Z] 4ebd0625c992: Pull complete [2021-05-09T10:57:16.744Z] 207e8628e3a3: Pull complete [2021-05-09T10:57:17.347Z] c791037a9be2: Pull complete [2021-05-09T10:57:17.431Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-09T10:57:20.756Z] ffd874e62e21: Pull complete [2021-05-09T10:57:20.756Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-09T10:57:20.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-09T10:57:20.756Z] ---> cfc18b08335c [2021-05-09T10:57:20.756Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-09T10:57:24.197Z] ---> Running in ef37a90db943 [2021-05-09T10:57:24.474Z] Removing intermediate container ef37a90db943 [2021-05-09T10:57:24.474Z] ---> d19556fe859e [2021-05-09T10:57:24.474Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-09T10:57:24.760Z] ---> Running in 2a764cddf2fd [2021-05-09T10:57:25.366Z] Removing intermediate container 2a764cddf2fd [2021-05-09T10:57:25.366Z] ---> f716ba0a34ee [2021-05-09T10:57:25.366Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-09T10:57:25.366Z] ---> Running in 0f652e48b80f [2021-05-09T10:57:25.987Z] Removing intermediate container 0f652e48b80f [2021-05-09T10:57:25.987Z] ---> 051627fbf782 [2021-05-09T10:57:25.987Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T10:57:25.987Z] ---> Running in bb307510d062 [2021-05-09T10:57:28.629Z] Removing intermediate container bb307510d062 [2021-05-09T10:57:28.629Z] ---> ba06d7877941 [2021-05-09T10:57:28.629Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-09T10:57:28.905Z] ---> Running in 38c0828905ab [2021-05-09T10:57:30.354Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-09T10:57:32.337Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-09T10:57:33.775Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-09T10:57:33.776Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-09T10:57:33.776Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-09T10:57:34.050Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-09T10:57:34.324Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-09T10:57:34.598Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-09T10:57:34.598Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-09T10:57:36.037Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-09T10:57:36.037Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-09T10:57:36.311Z] Executing busybox-1.32.1-r6.trigger [2021-05-09T10:57:36.312Z] OK: 144 MiB in 49 packages [2021-05-09T10:57:38.302Z] Removing intermediate container 38c0828905ab [2021-05-09T10:57:38.302Z] ---> b1569e9ffea1 [2021-05-09T10:57:38.302Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-09T10:57:38.302Z] ---> Running in 3270e885c90c [2021-05-09T10:57:38.912Z] Removing intermediate container 3270e885c90c [2021-05-09T10:57:38.912Z] ---> 743df16cff80 [2021-05-09T10:57:38.912Z] Step 9/10 : COPY . . [2021-05-09T10:57:39.911Z] ---> 8e313c1e9de9 [2021-05-09T10:57:39.911Z] Step 10/10 : RUN go mod download [2021-05-09T10:57:39.911Z] ---> Running in 023d40011ce1 [2021-05-09T10:57:56.403Z] lf-activate-venv(): INFO: Adding /tmp/venv-cslE/bin to PATH [2021-05-09T10:57:56.404Z] INFO: No Stack... [2021-05-09T10:57:56.404Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-09T10:57:56.404Z] INFO: Archiving Costs [Pipeline] sh [2021-05-09T10:57:56.821Z] + cat /w/workspace/device-rest-go/38/archives/cost.csv [2021-05-09T10:57:56.821Z] + cut -d, -f6 [Pipeline] lock [2021-05-09T10:57:57.117Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-38-stack-cost] [2021-05-09T10:57:57.126Z] Resource [jenkins-edgexfoundry-device-rest-go-master-38-stack-cost] did not exist. Created. [2021-05-09T10:57:57.127Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-38-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-09T10:57:57.506Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-09T10:57:57.705Z] Stashed 1 file(s) [Pipeline] } [2021-05-09T10:57:57.718Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-38-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-09T10:58:12.325Z] Removing intermediate container 023d40011ce1 [2021-05-09T10:58:12.325Z] ---> 23c048ed08e3 [2021-05-09T10:58:12.325Z] Successfully built 23c048ed08e3 [2021-05-09T10:58:12.325Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:58:12.672Z] + docker inspect -f . ci-base-image-arm64 [2021-05-09T10:58:12.673Z] . [Pipeline] withDockerContainer [2021-05-09T10:58:12.928Z] prd-ubuntu18.04-docker-arm64-4c-16g-3815 does not seem to be running inside a container [2021-05-09T10:58:13.024Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/38 -v /w/workspace/device-rest-go/38:/w/workspace/device-rest-go/38:rw,z -v /w/workspace/device-rest-go/38@tmp:/w/workspace/device-rest-go/38@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 ******** ci-base-image-arm64 cat [2021-05-09T10:58:14.558Z] $ docker top bebcbc05c416d5686026bb4a518b1989ad0241a941f0e57754145c006b471e50 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T10:58:15.516Z] + go version [2021-05-09T10:58:15.516Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-09T10:58:15.542Z] $ docker stop --time=1 bebcbc05c416d5686026bb4a518b1989ad0241a941f0e57754145c006b471e50 [2021-05-09T10:58:17.482Z] $ docker rm -f bebcbc05c416d5686026bb4a518b1989ad0241a941f0e57754145c006b471e50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:58:18.236Z] + docker inspect -f . ci-base-image-arm64 [2021-05-09T10:58:18.236Z] . [Pipeline] withDockerContainer [2021-05-09T10:58:18.533Z] prd-ubuntu18.04-docker-arm64-4c-16g-3815 does not seem to be running inside a container [2021-05-09T10:58:18.637Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/38 -v /w/workspace/device-rest-go/38:/w/workspace/device-rest-go/38:rw,z -v /w/workspace/device-rest-go/38@tmp:/w/workspace/device-rest-go/38@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 ******** ci-base-image-arm64 cat [2021-05-09T10:58:20.124Z] $ docker top f394aaef1c6fc87e56c7e52418218a9d38b23d967a69c65c5a0ddb77622c95a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T10:58:21.052Z] + go mod tidy [Pipeline] sh [2021-05-09T10:58:22.311Z] + make test [2021-05-09T10:58:22.311Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-09T10:58:23.757Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-09T10:59:31.890Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-09T10:59:31.890Z] ok github.com/edgexfoundry/device-rest-go/driver 0.047s coverage: 54.0% of statements [2021-05-09T10:59:31.890Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-09T10:59:54.085Z] gofmt -l . [2021-05-09T10:59:54.085Z] [ "`gofmt -l .`" = "" ] [2021-05-09T10:59:54.085Z] ./bin/test-go-mod-tidy.sh [2021-05-09T10:59:54.085Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-09T10:59:54.706Z] $ docker stop --time=1 f394aaef1c6fc87e56c7e52418218a9d38b23d967a69c65c5a0ddb77622c95a9 [2021-05-09T10:59:56.733Z] $ docker rm -f f394aaef1c6fc87e56c7e52418218a9d38b23d967a69c65c5a0ddb77622c95a9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-09T10:59:57.563Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-09T10:59:57.596Z] Warning: overwriting stash ‘coverage-report’ [2021-05-09T10:59:58.369Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-09T10:59:58.829Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-09T10:59:59.172Z] + ls -al . [2021-05-09T10:59:59.172Z] total 132 [2021-05-09T10:59:59.172Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 10:59 . [2021-05-09T10:59:59.172Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 10:56 .. [2021-05-09T10:59:59.172Z] -rw-rw-r-- 1 jenkins jenkins 151 May 9 10:56 .dockerignore [2021-05-09T10:59:59.172Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 10:56 .git [2021-05-09T10:59:59.172Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:56 .github [2021-05-09T10:59:59.172Z] -rw-rw-r-- 1 jenkins jenkins 339 May 9 10:56 .gitignore [2021-05-09T10:59:59.172Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 9 10:56 Attribution.txt [2021-05-09T10:59:59.172Z] -rw-rw-r-- 1 jenkins jenkins 1602 May 9 10:56 Dockerfile [2021-05-09T10:59:59.172Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 9 10:56 Dockerfile.build [2021-05-09T10:59:59.172Z] -rw-rw-r-- 1 jenkins jenkins 680 May 9 10:56 Jenkinsfile [2021-05-09T10:59:59.172Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 9 10:56 LICENSE [2021-05-09T10:59:59.172Z] -rw-rw-r-- 1 jenkins jenkins 976 May 9 10:56 Makefile [2021-05-09T10:59:59.172Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 9 10:56 README.md [2021-05-09T10:59:59.172Z] -rw-rw-r-- 1 jenkins jenkins 11 May 9 10:52 VERSION [2021-05-09T10:59:59.172Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:56 bin [2021-05-09T10:59:59.172Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:56 cmd [2021-05-09T10:59:59.172Z] -rw-r--r-- 1 jenkins jenkins 8513 May 9 10:59 coverage.out [2021-05-09T10:59:59.172Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:56 driver [2021-05-09T10:59:59.172Z] -rw-r--r-- 1 jenkins jenkins 285 May 9 10:59 go.mod [2021-05-09T10:59:59.172Z] -rw-r--r-- 1 jenkins jenkins 21331 May 9 10:58 go.sum [2021-05-09T10:59:59.172Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 10:56 snap [2021-05-09T10:59:59.172Z] -rw-rw-r-- 1 jenkins jenkins 713 May 9 10:56 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:59:59.527Z] + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f67542ccb051b13986f5f41838b922d5b9b125ad --label arch=arm64 --label version=1.2.2-dev.6 . [2021-05-09T10:59:59.527Z] Sending build context to Docker daemon 102.9kB [2021-05-09T10:59:59.802Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-05-09T10:59:59.802Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-09T10:59:59.802Z] ---> 23c048ed08e3 [2021-05-09T10:59:59.802Z] Step 3/24 : ARG MAKE='make build' [2021-05-09T11:00:00.077Z] ---> Running in 3aa4934e5449 [2021-05-09T11:00:00.673Z] Removing intermediate container 3aa4934e5449 [2021-05-09T11:00:00.673Z] ---> 0c644cbe4423 [2021-05-09T11:00:00.673Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-09T11:00:00.673Z] ---> Running in b65eedebbe38 [2021-05-09T11:00:00.944Z] Removing intermediate container b65eedebbe38 [2021-05-09T11:00:00.944Z] ---> 3bf51d680554 [2021-05-09T11:00:00.944Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-09T11:00:01.219Z] ---> Running in cef6fd723440 [2021-05-09T11:00:01.492Z] Removing intermediate container cef6fd723440 [2021-05-09T11:00:01.492Z] ---> 239972819785 [2021-05-09T11:00:01.492Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T11:00:01.771Z] ---> Running in 9ff4832d8328 [2021-05-09T11:00:03.750Z] Removing intermediate container 9ff4832d8328 [2021-05-09T11:00:03.750Z] ---> e84be7cb9ed8 [2021-05-09T11:00:03.750Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-09T11:00:04.347Z] ---> Running in 4cdc62124f65 [2021-05-09T11:00:05.333Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-09T11:00:07.301Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-09T11:00:08.726Z] OK: 144 MiB in 49 packages [2021-05-09T11:00:10.162Z] Removing intermediate container 4cdc62124f65 [2021-05-09T11:00:10.162Z] ---> 96955de8487a [2021-05-09T11:00:10.162Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-09T11:00:10.162Z] ---> Running in ca221217b267 [2021-05-09T11:00:10.439Z] Removing intermediate container ca221217b267 [2021-05-09T11:00:10.439Z] ---> cbfbe7af40e7 [2021-05-09T11:00:10.439Z] Step 9/24 : COPY . . [2021-05-09T11:00:11.420Z] ---> 31c50848b66a [2021-05-09T11:00:11.420Z] Step 10/24 : RUN make update [2021-05-09T11:00:11.420Z] ---> Running in d2581159010d [2021-05-09T11:00:12.402Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-09T11:00:13.840Z] Removing intermediate container d2581159010d [2021-05-09T11:00:13.840Z] ---> 11a55b1f00b7 [2021-05-09T11:00:13.840Z] Step 11/24 : RUN $MAKE [2021-05-09T11:00:13.840Z] ---> Running in 08f1ad8aea09 [2021-05-09T11:00:14.814Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.6" -o cmd/device-rest-go ./cmd [2021-05-09T11:00:53.848Z] Removing intermediate container 08f1ad8aea09 [2021-05-09T11:00:53.848Z] ---> eff487429b40 [2021-05-09T11:00:53.848Z] Step 12/24 : FROM alpine:3.12 [2021-05-09T11:00:53.848Z] 3.12: Pulling from library/alpine [2021-05-09T11:00:53.848Z] d2f70382dc9a: Pulling fs layer [2021-05-09T11:00:53.848Z] d2f70382dc9a: Download complete [2021-05-09T11:00:53.848Z] d2f70382dc9a: Pull complete [2021-05-09T11:00:53.848Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-09T11:00:53.848Z] Status: Downloaded newer image for alpine:3.12 [2021-05-09T11:00:53.848Z] ---> 9852663dfa18 [2021-05-09T11:00:53.848Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-09T11:00:53.848Z] ---> Running in d55cfd3b6f8a [2021-05-09T11:00:53.848Z] Removing intermediate container d55cfd3b6f8a [2021-05-09T11:00:53.848Z] ---> 8c89c44f3943 [2021-05-09T11:00:53.848Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-09T11:00:53.848Z] ---> Running in eb0afda3f104 [2021-05-09T11:00:53.848Z] Removing intermediate container eb0afda3f104 [2021-05-09T11:00:53.848Z] ---> b0c4588ff6f3 [2021-05-09T11:00:53.848Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-09T11:00:53.848Z] ---> Running in a246696a264b [2021-05-09T11:00:54.838Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-09T11:00:55.113Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-09T11:00:55.710Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-09T11:00:55.711Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-09T11:00:55.711Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-09T11:00:55.711Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-09T11:00:55.711Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-09T11:00:55.711Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-09T11:00:55.711Z] Executing busybox-1.31.1-r20.trigger [2021-05-09T11:00:55.711Z] OK: 8 MiB in 20 packages [2021-05-09T11:00:57.146Z] Removing intermediate container a246696a264b [2021-05-09T11:00:57.146Z] ---> c9fb305a3360 [2021-05-09T11:00:57.146Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-09T11:00:58.583Z] ---> 38a80d208a51 [2021-05-09T11:00:58.583Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-09T11:00:59.185Z] ---> 2ea0bffff67d [2021-05-09T11:00:59.185Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-09T11:01:00.180Z] ---> d17e3b3eea06 [2021-05-09T11:01:00.180Z] Step 19/24 : EXPOSE 49986 [2021-05-09T11:01:00.180Z] ---> Running in 5f9d6096d37c [2021-05-09T11:01:00.774Z] Removing intermediate container 5f9d6096d37c [2021-05-09T11:01:00.774Z] ---> a2a40afaebcb [2021-05-09T11:01:00.774Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-09T11:01:00.774Z] ---> Running in 6b94d51362f1 [2021-05-09T11:01:01.370Z] Removing intermediate container 6b94d51362f1 [2021-05-09T11:01:01.370Z] ---> 56bb852a9580 [2021-05-09T11:01:01.370Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-09T11:01:01.370Z] ---> Running in b64aa8e5b51f [2021-05-09T11:01:01.967Z] Removing intermediate container b64aa8e5b51f [2021-05-09T11:01:01.967Z] ---> 86a0b65f43ed [2021-05-09T11:01:01.967Z] Step 22/24 : LABEL arch=arm64 [2021-05-09T11:01:01.967Z] ---> Running in 637945be3f76 [2021-05-09T11:01:02.563Z] Removing intermediate container 637945be3f76 [2021-05-09T11:01:02.563Z] ---> f1ffc640e2c1 [2021-05-09T11:01:02.563Z] Step 23/24 : LABEL git_sha=f67542ccb051b13986f5f41838b922d5b9b125ad [2021-05-09T11:01:02.838Z] ---> Running in 3e5ced58700a [2021-05-09T11:01:03.110Z] Removing intermediate container 3e5ced58700a [2021-05-09T11:01:03.110Z] ---> bf1ce25584af [2021-05-09T11:01:03.110Z] Step 24/24 : LABEL version=1.2.2-dev.6 [2021-05-09T11:01:03.384Z] ---> Running in 02cf219b8210 [2021-05-09T11:01:03.979Z] Removing intermediate container 02cf219b8210 [2021-05-09T11:01:03.979Z] ---> 3e5e05702737 [2021-05-09T11:01:03.979Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-09T11:01:03.979Z] Successfully built 3e5e05702737 [2021-05-09T11:01:03.979Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T11:01:04.135Z] provisioning config files... [2021-05-09T11:01:04.176Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/38@tmp/config7803196611636256181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:01:04.549Z] ---> docker-login.sh [2021-05-09T11:01:04.549Z] nexus3.edgexfoundry.org:10001 [2021-05-09T11:01:04.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:01:05.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:01:05.097Z] Configure a credential helper to remove this warning. See [2021-05-09T11:01:05.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:01:05.097Z] [2021-05-09T11:01:05.097Z] Login Succeeded [2021-05-09T11:01:05.097Z] nexus3.edgexfoundry.org:10002 [2021-05-09T11:01:05.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:01:05.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:01:05.641Z] Configure a credential helper to remove this warning. See [2021-05-09T11:01:05.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:01:05.641Z] [2021-05-09T11:01:05.641Z] Login Succeeded [2021-05-09T11:01:05.641Z] nexus3.edgexfoundry.org:10003 [2021-05-09T11:01:06.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:01:06.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:01:06.242Z] Configure a credential helper to remove this warning. See [2021-05-09T11:01:06.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:01:06.242Z] [2021-05-09T11:01:06.242Z] Login Succeeded [2021-05-09T11:01:06.242Z] nexus3.edgexfoundry.org:10004 [2021-05-09T11:01:06.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:01:06.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:01:06.844Z] Configure a credential helper to remove this warning. See [2021-05-09T11:01:06.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:01:06.844Z] [2021-05-09T11:01:06.844Z] Login Succeeded [2021-05-09T11:01:06.844Z] docker.io [2021-05-09T11:01:07.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:01:07.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:01:07.714Z] Configure a credential helper to remove this warning. See [2021-05-09T11:01:07.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:01:07.714Z] [2021-05-09T11:01:07.714Z] Login Succeeded [2021-05-09T11:01:07.714Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T11:01:07.732Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-09T11:01:07.817Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: [2021-05-09T11:01:07.817Z] f67542ccb051b13986f5f41838b922d5b9b125ad [2021-05-09T11:01:07.817Z] latest [2021-05-09T11:01:07.817Z] 1.2.2-dev.6 [2021-05-09T11:01:07.817Z] f67542ccb051b13986f5f41838b922d5b9b125ad-1.2.2-dev.6 [2021-05-09T11:01:07.817Z] master [2021-05-09T11:01:07.817Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:01:08.216Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:f67542ccb051b13986f5f41838b922d5b9b125ad [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:01:08.570Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:f67542ccb051b13986f5f41838b922d5b9b125ad [2021-05-09T11:01:08.570Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-05-09T11:01:08.570Z] 240d1a361651: Preparing [2021-05-09T11:01:08.570Z] 00584f2cd4f5: Preparing [2021-05-09T11:01:08.570Z] 772704cbf70d: Preparing [2021-05-09T11:01:08.570Z] 39a1b458ec22: Preparing [2021-05-09T11:01:08.570Z] 3fbe34a1663b: Preparing [2021-05-09T11:01:08.842Z] 3fbe34a1663b: Layer already exists [2021-05-09T11:01:08.842Z] 00584f2cd4f5: Pushed [2021-05-09T11:01:08.842Z] 240d1a361651: Pushed [2021-05-09T11:01:09.438Z] 39a1b458ec22: Pushed [2021-05-09T11:01:12.049Z] 772704cbf70d: Pushed [2021-05-09T11:01:12.049Z] f67542ccb051b13986f5f41838b922d5b9b125ad: digest: sha256:4dd403eea62e3a17ec1264d39bad4a0851dbb52c4038f90461e4eb1eea430c20 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:01:12.400Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:01:12.741Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2021-05-09T11:01:12.741Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-05-09T11:01:12.741Z] 240d1a361651: Preparing [2021-05-09T11:01:12.741Z] 00584f2cd4f5: Preparing [2021-05-09T11:01:12.741Z] 772704cbf70d: Preparing [2021-05-09T11:01:12.741Z] 39a1b458ec22: Preparing [2021-05-09T11:01:12.741Z] 3fbe34a1663b: Preparing [2021-05-09T11:01:13.013Z] 3fbe34a1663b: Layer already exists [2021-05-09T11:01:13.013Z] 39a1b458ec22: Layer already exists [2021-05-09T11:01:13.013Z] 00584f2cd4f5: Layer already exists [2021-05-09T11:01:13.013Z] 240d1a361651: Layer already exists [2021-05-09T11:01:13.013Z] 772704cbf70d: Layer already exists [2021-05-09T11:01:13.013Z] latest: digest: sha256:4dd403eea62e3a17ec1264d39bad4a0851dbb52c4038f90461e4eb1eea430c20 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:01:13.356Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.2-dev.6 [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:01:13.693Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.2-dev.6 [2021-05-09T11:01:13.693Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-05-09T11:01:13.693Z] 240d1a361651: Preparing [2021-05-09T11:01:13.693Z] 00584f2cd4f5: Preparing [2021-05-09T11:01:13.693Z] 772704cbf70d: Preparing [2021-05-09T11:01:13.693Z] 39a1b458ec22: Preparing [2021-05-09T11:01:13.693Z] 3fbe34a1663b: Preparing [2021-05-09T11:01:13.693Z] 3fbe34a1663b: Layer already exists [2021-05-09T11:01:13.693Z] 00584f2cd4f5: Layer already exists [2021-05-09T11:01:13.693Z] 772704cbf70d: Layer already exists [2021-05-09T11:01:13.693Z] 240d1a361651: Layer already exists [2021-05-09T11:01:13.693Z] 39a1b458ec22: Layer already exists [2021-05-09T11:01:13.967Z] 1.2.2-dev.6: digest: sha256:4dd403eea62e3a17ec1264d39bad4a0851dbb52c4038f90461e4eb1eea430c20 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:01:14.317Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:f67542ccb051b13986f5f41838b922d5b9b125ad-1.2.2-dev.6 [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:01:14.663Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:f67542ccb051b13986f5f41838b922d5b9b125ad-1.2.2-dev.6 [2021-05-09T11:01:14.663Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-05-09T11:01:14.663Z] 240d1a361651: Preparing [2021-05-09T11:01:14.663Z] 00584f2cd4f5: Preparing [2021-05-09T11:01:14.663Z] 772704cbf70d: Preparing [2021-05-09T11:01:14.663Z] 39a1b458ec22: Preparing [2021-05-09T11:01:14.663Z] 3fbe34a1663b: Preparing [2021-05-09T11:01:14.663Z] 39a1b458ec22: Layer already exists [2021-05-09T11:01:14.663Z] 3fbe34a1663b: Layer already exists [2021-05-09T11:01:14.663Z] 00584f2cd4f5: Layer already exists [2021-05-09T11:01:14.663Z] 240d1a361651: Layer already exists [2021-05-09T11:01:14.663Z] 772704cbf70d: Layer already exists [2021-05-09T11:01:14.935Z] f67542ccb051b13986f5f41838b922d5b9b125ad-1.2.2-dev.6: digest: sha256:4dd403eea62e3a17ec1264d39bad4a0851dbb52c4038f90461e4eb1eea430c20 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:01:15.281Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:01:15.624Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [2021-05-09T11:01:15.624Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-05-09T11:01:15.624Z] 240d1a361651: Preparing [2021-05-09T11:01:15.624Z] 00584f2cd4f5: Preparing [2021-05-09T11:01:15.624Z] 772704cbf70d: Preparing [2021-05-09T11:01:15.624Z] 39a1b458ec22: Preparing [2021-05-09T11:01:15.624Z] 3fbe34a1663b: Preparing [2021-05-09T11:01:15.624Z] 240d1a361651: Layer already exists [2021-05-09T11:01:15.624Z] 39a1b458ec22: Layer already exists [2021-05-09T11:01:15.624Z] 3fbe34a1663b: Layer already exists [2021-05-09T11:01:15.624Z] 772704cbf70d: Layer already exists [2021-05-09T11:01:15.625Z] 00584f2cd4f5: Layer already exists [2021-05-09T11:01:15.896Z] master: digest: sha256:4dd403eea62e3a17ec1264d39bad4a0851dbb52c4038f90461e4eb1eea430c20 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-09T11:01:15.971Z] ===================================================== [Pipeline] echo [2021-05-09T11:01:15.989Z] taggedImages: [2021-05-09T11:01:15.989Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:f67542ccb051b13986f5f41838b922d5b9b125ad [2021-05-09T11:01:15.989Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2021-05-09T11:01:15.989Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.2-dev.6 [2021-05-09T11:01:15.989Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:f67542ccb051b13986f5f41838b922d5b9b125ad-1.2.2-dev.6 [2021-05-09T11:01:15.989Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:01:16.393Z] ---> job-cost.sh [2021-05-09T11:01:16.393Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-34LQ [2021-05-09T11:02:03.343Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-09T11:03:40.086Z] lf-activate-venv(): INFO: Adding /tmp/venv-34LQ/bin to PATH [2021-05-09T11:03:40.086Z] INFO: No Stack... [2021-05-09T11:03:40.086Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-09T11:03:40.086Z] INFO: Archiving Costs [Pipeline] sh [2021-05-09T11:03:40.460Z] + cat /w/workspace/device-rest-go/38/archives/cost.csv [2021-05-09T11:03:40.460Z] + cut -d, -f6 [Pipeline] lock [2021-05-09T11:03:40.650Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-38-stack-cost] [2021-05-09T11:03:40.662Z] Resource [jenkins-edgexfoundry-device-rest-go-master-38-stack-cost] did not exist. Created. [2021-05-09T11:03:40.662Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-38-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-09T11:03:41.112Z] /w/workspace/device-rest-go/38@tmp/durable-c4ae5461/script.sh: 1: /w/workspace/device-rest-go/38@tmp/durable-c4ae5461/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-09T11:03:41.518Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-09T11:03:41.554Z] Warning: overwriting stash ‘stack-cost’ [2021-05-09T11:03:41.773Z] Stashed 1 file(s) [Pipeline] } [2021-05-09T11:03:41.790Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-38-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] wrap [2021-05-09T11:03:42.285Z] provisioning config files... [2021-05-09T11:03:42.312Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8074348211299473944tmp [Pipeline] { [Pipeline] sh [2021-05-09T11:03:43.461Z] + set +x [2021-05-09T11:03:43.461Z] + bash -s -- [2021-05-09T11:03:43.461Z] + curl -s https://codecov.io/bash [2021-05-09T11:03:43.461Z] [2021-05-09T11:03:43.462Z] _____ _ [2021-05-09T11:03:43.462Z] / ____| | | [2021-05-09T11:03:43.462Z] | | ___ __| | ___ ___ _____ __ [2021-05-09T11:03:43.462Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-09T11:03:43.462Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-09T11:03:43.462Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-09T11:03:43.462Z] Bash-1.0.2 [2021-05-09T11:03:43.462Z] [2021-05-09T11:03:43.462Z] [2021-05-09T11:03:43.462Z] ==> git version 2.24.3 found [2021-05-09T11:03:43.462Z] ==> 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-09T11:03:43.462Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-09T11:03:43.462Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-09T11:03:43.462Z] ==> Jenkins CI detected. [2021-05-09T11:03:43.462Z] project root: . [2021-05-09T11:03:43.462Z] --> token set from env [2021-05-09T11:03:43.462Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-09T11:03:43.462Z] ==> Running gcov in . (disable via -X gcov) [2021-05-09T11:03:43.462Z] ==> Python coveragepy not found [2021-05-09T11:03:43.462Z] ==> Searching for coverage reports in: [2021-05-09T11:03:43.462Z] + . [2021-05-09T11:03:43.462Z] -> Found 1 reports [2021-05-09T11:03:43.462Z] ==> Detecting git/mercurial file structure [2021-05-09T11:03:43.462Z] ==> Reading reports [2021-05-09T11:03:43.933Z] + ./coverage.out bytes=8513 [2021-05-09T11:03:43.933Z] ==> Appending adjustments [2021-05-09T11:03:43.933Z] https://docs.codecov.io/docs/fixing-reports [2021-05-09T11:03:43.933Z] + Found adjustments [2021-05-09T11:03:43.933Z] ==> Gzipping contents [2021-05-09T11:03:44.245Z] 4.0K /tmp/codecov.HqDhQc.gz [2021-05-09T11:03:44.245Z] ==> Uploading reports [2021-05-09T11:03:44.245Z] url: https://codecov.io [2021-05-09T11:03:44.245Z] query: branch=master&commit=f67542ccb051b13986f5f41838b922d5b9b125ad&build=38&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F38%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-09T11:03:44.245Z] -> Pinging Codecov [2021-05-09T11:03:44.245Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=f67542ccb051b13986f5f41838b922d5b9b125ad&build=38&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F38%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-09T11:03:44.858Z] -> Uploading to [2021-05-09T11:03:44.858Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-09/4E5D53B4F1F92C436F7061BF334D961C/f67542ccb051b13986f5f41838b922d5b9b125ad/eb679836-f494-4ce3-98bc-2e9a69f09c32.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210509T110344Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ac023e86a0bf7553285e6177f49574e58f2998cdabe34bcd2972a18729f3b6c9 [2021-05-09T11:03:44.858Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-09T11:03:44.858Z] Dload Upload Total Spent Left Speed [2021-05-09T11:03:45.153Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 2917 --:--:-- --:--:-- --:--:-- 2918 [2021-05-09T11:03:45.179Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/f67542ccb051b13986f5f41838b922d5b9b125ad [Pipeline] } [2021-05-09T11:03:45.180Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-09T11:03:45.422Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-09T11:03:45.453Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:03:45.878Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-09T11:03:46.938Z] [2021-05-09T11:03:46.938Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:03:47.417Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-09T11:03:47.417Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-09T11:03:47.417Z] 188c0c94c7c5: Pulling fs layer [2021-05-09T11:03:47.417Z] 0ef7d3d256c8: Pulling fs layer [2021-05-09T11:03:47.417Z] de9db76c5a1d: Pulling fs layer [2021-05-09T11:03:47.417Z] 0eba1c9be4d2: Pulling fs layer [2021-05-09T11:03:47.417Z] 0d57e429df01: Pulling fs layer [2021-05-09T11:03:47.417Z] 4e4be7b47b0d: Pulling fs layer [2021-05-09T11:03:47.417Z] e1f770b5df2f: Pulling fs layer [2021-05-09T11:03:47.417Z] 85a0685a4137: Pulling fs layer [2021-05-09T11:03:47.417Z] 0d57e429df01: Waiting [2021-05-09T11:03:47.417Z] 4e4be7b47b0d: Waiting [2021-05-09T11:03:47.417Z] e1f770b5df2f: Waiting [2021-05-09T11:03:47.417Z] 0eba1c9be4d2: Waiting [2021-05-09T11:03:47.417Z] 85a0685a4137: Waiting [2021-05-09T11:03:47.774Z] de9db76c5a1d: Verifying Checksum [2021-05-09T11:03:47.774Z] de9db76c5a1d: Download complete [2021-05-09T11:03:47.774Z] 0ef7d3d256c8: Verifying Checksum [2021-05-09T11:03:47.774Z] 0ef7d3d256c8: Download complete [2021-05-09T11:03:47.774Z] 0d57e429df01: Verifying Checksum [2021-05-09T11:03:47.774Z] 0d57e429df01: Download complete [2021-05-09T11:03:48.163Z] 4e4be7b47b0d: Verifying Checksum [2021-05-09T11:03:48.163Z] 4e4be7b47b0d: Download complete [2021-05-09T11:03:48.764Z] 188c0c94c7c5: Verifying Checksum [2021-05-09T11:03:48.764Z] 188c0c94c7c5: Download complete [2021-05-09T11:03:49.972Z] 188c0c94c7c5: Pull complete [2021-05-09T11:03:50.606Z] 0ef7d3d256c8: Pull complete [2021-05-09T11:03:51.334Z] de9db76c5a1d: Pull complete [2021-05-09T11:03:51.683Z] e1f770b5df2f: Verifying Checksum [2021-05-09T11:03:51.683Z] e1f770b5df2f: Download complete [2021-05-09T11:03:58.667Z] 0eba1c9be4d2: Verifying Checksum [2021-05-09T11:03:58.668Z] 0eba1c9be4d2: Download complete [2021-05-09T11:04:00.939Z] 85a0685a4137: Verifying Checksum [2021-05-09T11:04:00.939Z] 85a0685a4137: Download complete [2021-05-09T11:04:14.611Z] 0eba1c9be4d2: Pull complete [2021-05-09T11:04:14.611Z] 0d57e429df01: Pull complete [2021-05-09T11:04:14.895Z] 4e4be7b47b0d: Pull complete [2021-05-09T11:04:18.722Z] e1f770b5df2f: Pull complete [2021-05-09T11:04:34.254Z] 85a0685a4137: Pull complete [2021-05-09T11:04:34.254Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-09T11:04:34.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-09T11:04:34.254Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-09T11:04:34.638Z] prd-centos7-docker-4c-2g-3799 does not seem to be running inside a container [2021-05-09T11:04:34.763Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-09T11:04:36.204Z] $ docker top a0cdb7658a574c568982b27c4bb759515695d109cb60bfe83c8defda8713a844 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-09T11:04:36.504Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-09T11:04:36.883Z] + set -o pipefail [2021-05-09T11:04:36.883Z] + snyk monitor '--org=edgex-jenkins' [2021-05-09T11:04:55.597Z] [2021-05-09T11:04:55.597Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2021-05-09T11:04:55.597Z] [2021-05-09T11:04:55.597Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/73602f33-95bf-4e1b-8a27-67854894e64d [2021-05-09T11:04:55.597Z] [2021-05-09T11:04:55.597Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-09T11:04:55.597Z] [2021-05-09T11:04:55.597Z] [Pipeline] } [2021-05-09T11:04:55.617Z] $ docker stop --time=1 a0cdb7658a574c568982b27c4bb759515695d109cb60bfe83c8defda8713a844 [2021-05-09T11:04:57.869Z] $ docker rm -f a0cdb7658a574c568982b27c4bb759515695d109cb60bfe83c8defda8713a844 [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-09T11:04:59.824Z] + git log --format=format:%s -1 f67542ccb051b13986f5f41838b922d5b9b125ad [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:05:00.208Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T11:05:00.208Z] . [Pipeline] withDockerContainer [2021-05-09T11:05:00.450Z] prd-centos7-docker-4c-2g-3799 does not seem to be running inside a container [2021-05-09T11:05:00.719Z] $ 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-09T11:05:02.854Z] $ docker top a9699b7af05348965e1ea13882855a3ad61b88ef0eff134d6921277f3daf9783 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-09T11:05:03.545Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T11:05:03.545Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T11:05:04.124Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T11:05:04.129Z] $ docker exec a9699b7af05348965e1ea13882855a3ad61b88ef0eff134d6921277f3daf9783 ssh-agent [2021-05-09T11:05:04.605Z] SSH_AUTH_SOCK=/tmp/ssh-9Lvs4UGfe1P3/agent.11 [2021-05-09T11:05:04.605Z] SSH_AGENT_PID=16 [2021-05-09T11:05:04.649Z] Running ssh-add (command line suppressed) [2021-05-09T11:05:05.262Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3259295989748117669.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3259295989748117669.key) [2021-05-09T11:05:05.704Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T11:05:06.501Z] + git semver tag [2021-05-09T11:05:06.501Z] # -> Open(): unable to determine branch for HEAD [2021-05-09T11:05:06.501Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-09T11:05:06.501Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-09T11:05:06.501Z] # $SEMVER_REMOTE_NAME = origin [2021-05-09T11:05:06.501Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-09T11:05:06.501Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-09T11:05:06.501Z] # $SEMVER_BRANCH = master [2021-05-09T11:05:06.501Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-05-09T11:05:06.501Z] # f67542ccb051b13986f5f41838b922d5b9b125ad HEAD [2021-05-09T11:05:06.501Z] # -> Force: false [2021-05-09T11:05:06.501Z] # fe9471822dfbfa9c28dce1644654656340a11a28 refs/tags/v1.2.2-dev.6 [Pipeline] } [2021-05-09T11:05:06.646Z] $ docker exec --env ******** --env ******** a9699b7af05348965e1ea13882855a3ad61b88ef0eff134d6921277f3daf9783 ssh-agent -k [2021-05-09T11:05:06.938Z] unset SSH_AUTH_SOCK; [2021-05-09T11:05:06.938Z] unset SSH_AGENT_PID; [2021-05-09T11:05:06.938Z] echo Agent pid 16 killed; [2021-05-09T11:05:07.121Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-09T11:05:07.958Z] + git semver [Pipeline] } [2021-05-09T11:05:08.019Z] $ docker stop --time=1 a9699b7af05348965e1ea13882855a3ad61b88ef0eff134d6921277f3daf9783 [2021-05-09T11:05:09.994Z] $ docker rm -f a9699b7af05348965e1ea13882855a3ad61b88ef0eff134d6921277f3daf9783 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:05:10.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-09T11:05:10.713Z] [2021-05-09T11:05:10.713Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:05:11.078Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-09T11:05:11.078Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-09T11:05:11.078Z] ab5ef0e58194: Pulling fs layer [2021-05-09T11:05:11.078Z] 9712f1f96733: Pulling fs layer [2021-05-09T11:05:11.078Z] 63f879dbbcfc: Pulling fs layer [2021-05-09T11:05:11.078Z] 0d9ebad4ef96: Pulling fs layer [2021-05-09T11:05:11.078Z] e9a5061849ea: Pulling fs layer [2021-05-09T11:05:11.078Z] d747dcd14b5f: Pulling fs layer [2021-05-09T11:05:11.078Z] 2de7ff778b66: Pulling fs layer [2021-05-09T11:05:11.078Z] 0d9ebad4ef96: Waiting [2021-05-09T11:05:11.078Z] e9a5061849ea: Waiting [2021-05-09T11:05:11.078Z] d747dcd14b5f: Waiting [2021-05-09T11:05:11.078Z] 2de7ff778b66: Waiting [2021-05-09T11:05:11.392Z] 9712f1f96733: Verifying Checksum [2021-05-09T11:05:11.392Z] 9712f1f96733: Download complete [2021-05-09T11:05:20.966Z] 63f879dbbcfc: Verifying Checksum [2021-05-09T11:05:20.966Z] 63f879dbbcfc: Download complete [2021-05-09T11:05:21.701Z] e9a5061849ea: Verifying Checksum [2021-05-09T11:05:21.701Z] e9a5061849ea: Download complete [2021-05-09T11:05:21.701Z] d747dcd14b5f: Verifying Checksum [2021-05-09T11:05:21.701Z] d747dcd14b5f: Download complete [2021-05-09T11:05:25.584Z] 0d9ebad4ef96: Verifying Checksum [2021-05-09T11:05:25.584Z] 0d9ebad4ef96: Download complete [2021-05-09T11:05:27.138Z] 2de7ff778b66: Verifying Checksum [2021-05-09T11:05:27.138Z] 2de7ff778b66: Download complete [2021-05-09T11:05:27.811Z] ab5ef0e58194: Verifying Checksum [2021-05-09T11:05:27.811Z] ab5ef0e58194: Download complete [2021-05-09T11:05:43.631Z] ab5ef0e58194: Pull complete [2021-05-09T11:05:43.631Z] 9712f1f96733: Pull complete [2021-05-09T11:05:49.244Z] 63f879dbbcfc: Pull complete [2021-05-09T11:06:08.116Z] 0d9ebad4ef96: Pull complete [2021-05-09T11:06:08.710Z] e9a5061849ea: Pull complete [2021-05-09T11:06:09.377Z] d747dcd14b5f: Pull complete [2021-05-09T11:06:13.825Z] 2de7ff778b66: Pull complete [2021-05-09T11:06:13.825Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-09T11:06:13.825Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-09T11:06:13.825Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-09T11:06:14.251Z] prd-centos7-docker-4c-2g-3799 does not seem to be running inside a container [2021-05-09T11:06:14.854Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-09T11:06:18.677Z] $ docker top b96b6fe2b0259f6da120502616dc78a985e2999b37fc6aa6ae452681209f6d2c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-09T11:06:19.084Z] provisioning config files... [2021-05-09T11:06:19.095Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8412071739642220998tmp [2021-05-09T11:06:19.114Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8625247171828952495tmp [2021-05-09T11:06:19.133Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2068610586237613197tmp [Pipeline] { [Pipeline] echo [2021-05-09T11:06:19.160Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:06:19.499Z] ---> sigul-configuration.sh [2021-05-09T11:06:19.499Z] gpg: directory `/root/.gnupg' created [2021-05-09T11:06:19.499Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-09T11:06:19.499Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-09T11:06:19.499Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-09T11:06:19.499Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-09T11:06:19.499Z] gpg: CAST5 encrypted data [2021-05-09T11:06:19.779Z] gpg: encrypted with 1 passphrase [2021-05-09T11:06:19.779Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-09T11:06:20.121Z] + mkdir /home/jenkins [2021-05-09T11:06:20.122Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-09T11:06:20.536Z] + 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-09T11:06:20.561Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:06:21.057Z] ---> sigul-install.sh [2021-05-09T11:06:31.357Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-09T11:06:32.023Z] + git tag --list [2021-05-09T11:06:32.023Z] v1.0.0 [2021-05-09T11:06:32.023Z] v1.1.0 [2021-05-09T11:06:32.023Z] v1.1.1 [2021-05-09T11:06:32.023Z] v1.1.2 [2021-05-09T11:06:32.024Z] v1.2.0 [2021-05-09T11:06:32.024Z] v1.2.1 [2021-05-09T11:06:32.024Z] v1.2.1-dev.1 [2021-05-09T11:06:32.024Z] v1.2.1-dev.2 [2021-05-09T11:06:32.024Z] v1.2.1-dev.3 [2021-05-09T11:06:32.024Z] v1.2.1-dev.4 [2021-05-09T11:06:32.024Z] v1.2.2-dev.1 [2021-05-09T11:06:32.024Z] v1.2.2-dev.2 [2021-05-09T11:06:32.024Z] v1.2.2-dev.3 [2021-05-09T11:06:32.024Z] v1.2.2-dev.4 [2021-05-09T11:06:32.024Z] v1.2.2-dev.5 [2021-05-09T11:06:32.024Z] v1.2.2-dev.6 [Pipeline] sh [2021-05-09T11:06:32.352Z] + lftools sign git-tag v1.2.2-dev.6 [2021-05-09T11:06:34.964Z] Signing Git tag with Sigul... [2021-05-09T11:06:34.964Z] Signing v1.2.2-dev.6 [Pipeline] echo [2021-05-09T11:06:35.979Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:06:37.074Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-09T11:06:37.099Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-09T11:06:37.158Z] $ docker stop --time=1 b96b6fe2b0259f6da120502616dc78a985e2999b37fc6aa6ae452681209f6d2c [2021-05-09T11:06:39.485Z] $ docker rm -f b96b6fe2b0259f6da120502616dc78a985e2999b37fc6aa6ae452681209f6d2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:06:40.339Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T11:06:40.339Z] . [Pipeline] withDockerContainer [2021-05-09T11:06:40.613Z] prd-centos7-docker-4c-2g-3799 does not seem to be running inside a container [2021-05-09T11:06:40.725Z] $ 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-09T11:06:43.026Z] $ docker top ca5c02561f430e76bc1e98c42fb42037c959f95ce8d8c85d98b4e1ebd8bfa18f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-09T11:06:43.472Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T11:06:43.472Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T11:06:44.168Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T11:06:44.173Z] $ docker exec ca5c02561f430e76bc1e98c42fb42037c959f95ce8d8c85d98b4e1ebd8bfa18f ssh-agent [2021-05-09T11:06:45.019Z] SSH_AUTH_SOCK=/tmp/ssh-VyLTeJZQ9Moi/agent.12 [2021-05-09T11:06:45.019Z] SSH_AGENT_PID=17 [2021-05-09T11:06:45.037Z] Running ssh-add (command line suppressed) [2021-05-09T11:06:45.855Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6703676008701477840.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6703676008701477840.key) [2021-05-09T11:06:46.048Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T11:06:46.850Z] + git semver bump pre [2021-05-09T11:06:46.850Z] # -> Open(): unable to determine branch for HEAD [2021-05-09T11:06:46.850Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-09T11:06:46.850Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-09T11:06:46.850Z] # $SEMVER_REMOTE_NAME = origin [2021-05-09T11:06:46.850Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-09T11:06:46.850Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-09T11:06:46.850Z] # $SEMVER_BRANCH = master [2021-05-09T11:06:46.850Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-05-09T11:06:46.850Z] 1.2.2-dev.7 [Pipeline] } [2021-05-09T11:06:46.942Z] $ docker exec --env ******** --env ******** ca5c02561f430e76bc1e98c42fb42037c959f95ce8d8c85d98b4e1ebd8bfa18f ssh-agent -k [2021-05-09T11:06:47.454Z] unset SSH_AUTH_SOCK; [2021-05-09T11:06:47.455Z] unset SSH_AGENT_PID; [2021-05-09T11:06:47.455Z] echo Agent pid 17 killed; [2021-05-09T11:06:47.552Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-09T11:06:47.986Z] + git semver [Pipeline] } [2021-05-09T11:06:48.290Z] $ docker stop --time=1 ca5c02561f430e76bc1e98c42fb42037c959f95ce8d8c85d98b4e1ebd8bfa18f [2021-05-09T11:06:50.013Z] $ docker rm -f ca5c02561f430e76bc1e98c42fb42037c959f95ce8d8c85d98b4e1ebd8bfa18f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:06:50.656Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T11:06:50.656Z] . [Pipeline] withDockerContainer [2021-05-09T11:06:50.935Z] prd-centos7-docker-4c-2g-3799 does not seem to be running inside a container [2021-05-09T11:06:51.041Z] $ 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-09T11:06:52.124Z] $ docker top cafd130a4ad505a4df15a18a77f33933a9220fd35a7bdb5035cd3b4f36e1aa6b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-09T11:06:52.468Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T11:06:52.468Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T11:06:53.124Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T11:06:53.139Z] $ docker exec cafd130a4ad505a4df15a18a77f33933a9220fd35a7bdb5035cd3b4f36e1aa6b ssh-agent [2021-05-09T11:06:53.483Z] SSH_AUTH_SOCK=/tmp/ssh-UMGYwyxIzkTK/agent.11 [2021-05-09T11:06:53.483Z] SSH_AGENT_PID=17 [2021-05-09T11:06:53.496Z] Running ssh-add (command line suppressed) [2021-05-09T11:06:53.804Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_544195436711021202.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_544195436711021202.key) [2021-05-09T11:06:53.989Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T11:06:54.692Z] + git semver push [2021-05-09T11:06:54.693Z] # -> Open(): unable to determine branch for HEAD [2021-05-09T11:06:54.693Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-09T11:06:54.693Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-09T11:06:54.693Z] # $SEMVER_REMOTE_NAME = origin [2021-05-09T11:06:54.693Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-09T11:06:54.693Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-09T11:06:54.693Z] # $SEMVER_BRANCH = master [2021-05-09T11:06:54.693Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-05-09T11:06:59.033Z] $ docker exec --env ******** --env ******** cafd130a4ad505a4df15a18a77f33933a9220fd35a7bdb5035cd3b4f36e1aa6b ssh-agent -k [2021-05-09T11:06:59.389Z] unset SSH_AUTH_SOCK; [2021-05-09T11:06:59.402Z] unset SSH_AGENT_PID; [2021-05-09T11:06:59.402Z] echo Agent pid 17 killed; [2021-05-09T11:06:59.599Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-09T11:06:59.978Z] + git semver [Pipeline] } [2021-05-09T11:07:00.282Z] $ docker stop --time=1 cafd130a4ad505a4df15a18a77f33933a9220fd35a7bdb5035cd3b4f36e1aa6b [2021-05-09T11:07:01.977Z] $ docker rm -f cafd130a4ad505a4df15a18a77f33933a9220fd35a7bdb5035cd3b4f36e1aa6b [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-09T11:07:03.423Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:07:04.355Z] ---> package-listing.sh [2021-05-09T11:07:04.355Z] ++ facter osfamily [2021-05-09T11:07:04.355Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-09T11:07:04.636Z] + OS_FAMILY=redhat [2021-05-09T11:07:04.636Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2021-05-09T11:07:04.636Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-09T11:07:04.636Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-09T11:07:04.636Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-09T11:07:04.636Z] + PACKAGES=/tmp/packages_start.txt [2021-05-09T11:07:04.636Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-05-09T11:07:04.636Z] + PACKAGES=/tmp/packages_end.txt [2021-05-09T11:07:04.636Z] + case "${OS_FAMILY}" in [2021-05-09T11:07:04.637Z] + rpm -qa [2021-05-09T11:07:04.637Z] + sort [2021-05-09T11:07:11.608Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-09T11:07:11.608Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-09T11:07:11.608Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-09T11:07:11.608Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-05-09T11:07:11.608Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2021-05-09T11:07:11.608Z] + 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-09T11:07:11.665Z] 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-09T11:07:12.008Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:07:12.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-09T11:07:12.613Z] [2021-05-09T11:07:12.613Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:07:12.982Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-09T11:07:12.982Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-09T11:07:12.982Z] df20fa9351a1: Pulling fs layer [2021-05-09T11:07:12.982Z] 36b3adc4ff6f: Pulling fs layer [2021-05-09T11:07:12.982Z] 8ad3a11d3b57: Pulling fs layer [2021-05-09T11:07:12.982Z] 46f8f816bc3b: Pulling fs layer [2021-05-09T11:07:12.982Z] 93b61091891f: Pulling fs layer [2021-05-09T11:07:12.982Z] 93b9cdb0e59b: Pulling fs layer [2021-05-09T11:07:12.982Z] 5e14af77c1be: Pulling fs layer [2021-05-09T11:07:12.982Z] 01666e4c0597: Pulling fs layer [2021-05-09T11:07:12.982Z] aa168da1d23b: Pulling fs layer [2021-05-09T11:07:12.982Z] 93b61091891f: Waiting [2021-05-09T11:07:12.982Z] 93b9cdb0e59b: Waiting [2021-05-09T11:07:12.982Z] 5e14af77c1be: Waiting [2021-05-09T11:07:12.982Z] 01666e4c0597: Waiting [2021-05-09T11:07:12.982Z] 46f8f816bc3b: Waiting [2021-05-09T11:07:12.982Z] aa168da1d23b: Waiting [2021-05-09T11:07:12.982Z] 36b3adc4ff6f: Download complete [2021-05-09T11:07:13.324Z] 46f8f816bc3b: Verifying Checksum [2021-05-09T11:07:13.324Z] 46f8f816bc3b: Download complete [2021-05-09T11:07:13.324Z] df20fa9351a1: Verifying Checksum [2021-05-09T11:07:13.324Z] df20fa9351a1: Download complete [2021-05-09T11:07:13.324Z] 93b9cdb0e59b: Verifying Checksum [2021-05-09T11:07:13.324Z] 93b9cdb0e59b: Download complete [2021-05-09T11:07:13.622Z] 93b61091891f: Verifying Checksum [2021-05-09T11:07:13.622Z] 93b61091891f: Download complete [2021-05-09T11:07:13.622Z] 5e14af77c1be: Verifying Checksum [2021-05-09T11:07:13.622Z] 5e14af77c1be: Download complete [2021-05-09T11:07:13.622Z] 01666e4c0597: Verifying Checksum [2021-05-09T11:07:13.622Z] 01666e4c0597: Download complete [2021-05-09T11:07:13.950Z] 8ad3a11d3b57: Verifying Checksum [2021-05-09T11:07:13.950Z] 8ad3a11d3b57: Download complete [2021-05-09T11:07:14.235Z] df20fa9351a1: Pull complete [2021-05-09T11:07:14.528Z] 36b3adc4ff6f: Pull complete [2021-05-09T11:07:16.571Z] 8ad3a11d3b57: Pull complete [2021-05-09T11:07:16.571Z] 46f8f816bc3b: Pull complete [2021-05-09T11:07:18.208Z] 93b61091891f: Pull complete [2021-05-09T11:07:18.533Z] 93b9cdb0e59b: Pull complete [2021-05-09T11:07:18.879Z] 5e14af77c1be: Pull complete [2021-05-09T11:07:19.188Z] 01666e4c0597: Pull complete [2021-05-09T11:07:21.474Z] aa168da1d23b: Verifying Checksum [2021-05-09T11:07:21.474Z] aa168da1d23b: Download complete [2021-05-09T11:07:40.137Z] aa168da1d23b: Pull complete [2021-05-09T11:07:40.137Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-09T11:07:40.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-09T11:07:40.138Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-09T11:07:40.553Z] prd-centos7-docker-4c-2g-3799 does not seem to be running inside a container [2021-05-09T11:07:40.672Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-09T11:07:44.304Z] $ docker top 095475e454cc69631a1b8eb1db4810fdfe2595db113917256125f3e7c6b4115d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T11:07:45.324Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-09T11:07:46.052Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-09T11:07:46.439Z] + ls /var/log/sa-host [2021-05-09T11:07:46.439Z] + sadf -c /var/log/sa-host/sa09 [2021-05-09T11:07:46.439Z] file_magic: OK [2021-05-09T11:07:46.439Z] HZ: Using current value: 100 [2021-05-09T11:07:46.439Z] file_header: OK [2021-05-09T11:07:46.439Z] 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-09T11:07:46.439Z] Statistics: [2021-05-09T11:07:46.439Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...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-09T11:07:46.439Z] File successfully converted to sysstat format version 12.2.1 [2021-05-09T11:07:46.439Z] + sadf -c /var/log/sa-host/sa23 [2021-05-09T11:07:46.439Z] file_magic: OK [2021-05-09T11:07:46.439Z] HZ: Using current value: 100 [2021-05-09T11:07:46.439Z] file_header: OK [2021-05-09T11:07:46.439Z] 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-09T11:07:46.439Z] Statistics: [2021-05-09T11:07:46.439Z] Hnuu...uuuununununu... [2021-05-09T11:07:46.439Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-09T11:07:46.621Z] provisioning config files... [2021-05-09T11:07:46.640Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8720827785257533420tmp [Pipeline] { [Pipeline] echo [2021-05-09T11:07:46.671Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:07:47.337Z] ---> create-netrc.sh [Pipeline] } [2021-05-09T11:07:47.350Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-09T11:07:47.378Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:07:47.728Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-09T11:07:47.743Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:07:48.465Z] ---> sudo-logs.sh [2021-05-09T11:07:48.465Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-09T11:07:48.544Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:07:49.357Z] ---> job-cost.sh [2021-05-09T11:07:49.657Z] lf-activate-venv: SKIPPING [2021-05-09T11:07:49.657Z] DEBUG: total: 0.20999999344348907 [2021-05-09T11:07:49.657Z] INFO: Retrieving Stack Cost... [2021-05-09T11:07:51.089Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-09T11:07:51.714Z] INFO: Archiving Costs [Pipeline] echo [2021-05-09T11:07:51.737Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:07:52.406Z] ---> logs-deploy.sh [2021-05-09T11:07:52.406Z] lf-activate-venv: SKIPPING [2021-05-09T11:07:52.406Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/38 [2021-05-09T11:07:52.407Z] INFO: archiving workspace using pattern(s): [2021-05-09T11:07:55.028Z] Archives upload complete. [2021-05-09T11:07:55.028Z] INFO: archiving logs to Nexus