Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 4f98354a1324b6971af40554b83b1d8fb938970d 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4472 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 4f98354a1324b6971af40554b83b1d8fb938970d (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 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 Commit message: "Merge pull request #90 from lenny-intel/secure-bus" > git rev-list --no-walk f67542ccb051b13986f5f41838b922d5b9b125ad # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-11T15:15:35.375Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-11T15:15:35.474Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-11T15:15:35.508Z] ========================================================= [2021-05-11T15:15:35.508Z] EdgeX Global Pipelines Version Info [2021-05-11T15:15:35.508Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:15:39.069Z] ------------------- [2021-05-11T15:15:39.069Z] stable info: [2021-05-11T15:15:39.069Z] ------------------- [2021-05-11T15:15:39.069Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-11T15:15:39.069Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-11T15:15:39.069Z] Message: update stable to v1.0.191 [2021-05-11T15:15:40.046Z] ------------------- [2021-05-11T15:15:40.046Z] experimental info: [2021-05-11T15:15:40.046Z] ------------------- [2021-05-11T15:15:40.046Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-11T15:15:40.046Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T15:15:40.046Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-11T15:15:40.353Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-11T15:15:40.377Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-11T15:15:40.401Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-11T15:15:40.424Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-11T15:15:40.447Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-11T15:15:40.472Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-11T15:15:40.498Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-11T15:15:40.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-11T15:15:40.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-11T15:15:40.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-11T15:15:40.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-11T15:15:40.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-05-11T15:15:40.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-11T15:15:40.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-11T15:15:40.746Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T15:15:40.770Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T15:15:40.794Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T15:15:40.818Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T15:15:40.841Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-11T15:15:40.867Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-11T15:15:40.895Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-11T15:15:40.921Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-11T15:15:40.945Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-11T15:15:40.996Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-11T15:15:41.022Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-11T15:15:41.045Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-11T15:15:41.069Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-11T15:15:41.113Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-11T15:15:41.138Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-11T15:15:41.163Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f98354a1324b6971af40554b83b1d8fb938970d [Pipeline] echo [2021-05-11T15:15:41.188Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f98354 [Pipeline] echo [2021-05-11T15:15:41.213Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T15:15:41.286Z] provisioning config files... [2021-05-11T15:15:41.327Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3221655816128952971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:15:41.747Z] ---> docker-login.sh [2021-05-11T15:15:41.747Z] nexus3.edgexfoundry.org:10001 [2021-05-11T15:15:42.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:15:43.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:15:43.038Z] Configure a credential helper to remove this warning. See [2021-05-11T15:15:43.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:15:43.038Z] [2021-05-11T15:15:43.038Z] Login Succeeded [2021-05-11T15:15:43.038Z] nexus3.edgexfoundry.org:10002 [2021-05-11T15:15:43.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:15:43.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:15:43.683Z] Configure a credential helper to remove this warning. See [2021-05-11T15:15:43.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:15:43.683Z] [2021-05-11T15:15:43.683Z] Login Succeeded [2021-05-11T15:15:43.683Z] nexus3.edgexfoundry.org:10003 [2021-05-11T15:15:44.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:15:44.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:15:44.412Z] Configure a credential helper to remove this warning. See [2021-05-11T15:15:44.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:15:44.412Z] [2021-05-11T15:15:44.412Z] Login Succeeded [2021-05-11T15:15:44.412Z] nexus3.edgexfoundry.org:10004 [2021-05-11T15:15:45.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:15:45.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:15:45.086Z] Configure a credential helper to remove this warning. See [2021-05-11T15:15:45.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:15:45.086Z] [2021-05-11T15:15:45.086Z] Login Succeeded [2021-05-11T15:15:45.086Z] docker.io [2021-05-11T15:15:45.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:15:45.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:15:45.979Z] Configure a credential helper to remove this warning. See [2021-05-11T15:15:45.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:15:45.979Z] [2021-05-11T15:15:45.979Z] Login Succeeded [2021-05-11T15:15:45.979Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T15:15:46.008Z] 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-11T15:15:46.583Z] + git log --format=format:%s -1 4f98354a1324b6971af40554b83b1d8fb938970d [Pipeline] echo [2021-05-11T15:15:47.003Z] GIT_COMMIT: 4f98354a1324b6971af40554b83b1d8fb938970d, Commit Message: Merge pull request #90 from lenny-intel/secure-bus [Pipeline] echo [2021-05-11T15:15:47.024Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:15:47.700Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T15:15:47.701Z] [2021-05-11T15:15:47.701Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:15:48.262Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T15:15:48.262Z] latest: Pulling from edgex-devops/git-semver [2021-05-11T15:15:48.262Z] 31603596830f: Pulling fs layer [2021-05-11T15:15:48.262Z] 54011a49482f: Pulling fs layer [2021-05-11T15:15:48.262Z] a6820b24f6d8: Pulling fs layer [2021-05-11T15:15:48.262Z] f581987b2513: Pulling fs layer [2021-05-11T15:15:48.262Z] f581987b2513: Waiting [2021-05-11T15:15:48.262Z] 54011a49482f: Verifying Checksum [2021-05-11T15:15:48.262Z] 54011a49482f: Download complete [2021-05-11T15:15:48.609Z] 31603596830f: Verifying Checksum [2021-05-11T15:15:48.609Z] 31603596830f: Download complete [2021-05-11T15:15:49.313Z] f581987b2513: Verifying Checksum [2021-05-11T15:15:49.313Z] f581987b2513: Download complete [2021-05-11T15:15:49.972Z] a6820b24f6d8: Verifying Checksum [2021-05-11T15:15:49.972Z] a6820b24f6d8: Download complete [2021-05-11T15:15:49.972Z] 31603596830f: Pull complete [2021-05-11T15:15:50.257Z] 54011a49482f: Pull complete [2021-05-11T15:15:52.302Z] a6820b24f6d8: Pull complete [2021-05-11T15:15:52.912Z] f581987b2513: Pull complete [2021-05-11T15:15:52.912Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-11T15:15:53.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T15:15:53.187Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-11T15:15:53.948Z] prd-centos7-docker-4c-2g-4472 does not seem to be running inside a container [2021-05-11T15:15:54.144Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-11T15:15:57.490Z] $ docker top 5d86a0a98cfb70ab1e358bcd5f9f4df45714d2df30bcf5b95ba20749d0b6098b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-11T15:15:57.775Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T15:15:57.775Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T15:15:58.484Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T15:15:58.489Z] $ docker exec 5d86a0a98cfb70ab1e358bcd5f9f4df45714d2df30bcf5b95ba20749d0b6098b ssh-agent [2021-05-11T15:15:58.872Z] SSH_AUTH_SOCK=/tmp/ssh-BH4ZkobqnnSl/agent.11 [2021-05-11T15:15:58.872Z] SSH_AGENT_PID=16 [2021-05-11T15:15:58.903Z] Running ssh-add (command line suppressed) [2021-05-11T15:15:59.248Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3986595544569547885.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3986595544569547885.key) [2021-05-11T15:15:59.420Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T15:16:00.105Z] + git tag --points-at HEAD [Pipeline] } [2021-05-11T15:16:00.161Z] $ docker exec --env ******** --env ******** 5d86a0a98cfb70ab1e358bcd5f9f4df45714d2df30bcf5b95ba20749d0b6098b ssh-agent -k [2021-05-11T15:16:00.693Z] unset SSH_AUTH_SOCK; [2021-05-11T15:16:00.694Z] unset SSH_AGENT_PID; [2021-05-11T15:16:00.694Z] echo Agent pid 16 killed; [2021-05-11T15:16:00.830Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-11T15:16:00.862Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T15:16:00.863Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T15:16:01.294Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T15:16:01.301Z] $ docker exec 5d86a0a98cfb70ab1e358bcd5f9f4df45714d2df30bcf5b95ba20749d0b6098b ssh-agent [2021-05-11T15:16:02.000Z] SSH_AUTH_SOCK=/tmp/ssh-AUWjZP0lci1R/agent.44 [2021-05-11T15:16:02.000Z] SSH_AGENT_PID=49 [2021-05-11T15:16:02.026Z] Running ssh-add (command line suppressed) [2021-05-11T15:16:02.277Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3867810079646721655.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3867810079646721655.key) [2021-05-11T15:16:02.364Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T15:16:03.074Z] + git semver init [2021-05-11T15:16:03.074Z] # -> Open(): unable to determine branch for HEAD [2021-05-11T15:16:03.074Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-11T15:16:03.074Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-11T15:16:03.074Z] # $SEMVER_REMOTE_NAME = origin [2021-05-11T15:16:03.074Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-11T15:16:03.074Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-11T15:16:03.074Z] # $SEMVER_BRANCH = master [2021-05-11T15:16:03.074Z] # $SEMVER_TEMP = /tmp/semver-339204613 [2021-05-11T15:16:03.074Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-11T15:16:07.547Z] # '/tmp/semver-339204613' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2021-05-11T15:16:07.547Z] # -> Force: false [2021-05-11T15:16:07.547Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-05-11T15:16:07.637Z] $ docker exec --env ******** --env ******** 5d86a0a98cfb70ab1e358bcd5f9f4df45714d2df30bcf5b95ba20749d0b6098b ssh-agent -k [2021-05-11T15:16:08.339Z] unset SSH_AUTH_SOCK; [2021-05-11T15:16:08.350Z] unset SSH_AGENT_PID; [2021-05-11T15:16:08.350Z] echo Agent pid 49 killed; [2021-05-11T15:16:08.490Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T15:16:09.225Z] + git semver [Pipeline] } [2021-05-11T15:16:09.257Z] $ docker stop --time=1 5d86a0a98cfb70ab1e358bcd5f9f4df45714d2df30bcf5b95ba20749d0b6098b [2021-05-11T15:16:11.131Z] $ docker rm -f 5d86a0a98cfb70ab1e358bcd5f9f4df45714d2df30bcf5b95ba20749d0b6098b [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T15:16:11.879Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-11T15:16:13.169Z] Stashed 1 file(s) [Pipeline] echo [2021-05-11T15:16:13.172Z] [edgeXSemver]: initialized semver on version 1.2.2-dev.7 [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-11T15:16:28.350Z] Still waiting to schedule task [2021-05-11T15:16:28.351Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-11T15:16:28.353Z] Still waiting to schedule task [2021-05-11T15:16:28.353Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-11T15:17:54.395Z] Running on prd-centos7-docker-4c-2g-4477 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-05-11T15:17:54.430Z] Running in /w/workspace/device-rest-go/39 [Pipeline] { [Pipeline] checkout [2021-05-11T15:17:59.104Z] using credential edgex-jenkins-ssh [2021-05-11T15:17:59.121Z] Cloning the remote Git repository [2021-05-11T15:17:59.150Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T15:17:59.259Z] > git init /w/workspace/device-rest-go/39 # timeout=10 [2021-05-11T15:17:59.365Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T15:17:59.366Z] > git --version # timeout=10 [2021-05-11T15:17:59.374Z] > git --version # 'git version 2.24.3' [2021-05-11T15:17:59.375Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T15:17:59.411Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T15:18:08.711Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-11T15:18:08.719Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T15:18:08.736Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-11T15:18:08.749Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T15:18:08.750Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T15:18:08.755Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T15:18:09.199Z] Checking out Revision 4f98354a1324b6971af40554b83b1d8fb938970d (master) [2021-05-11T15:18:09.211Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T15:18:09.216Z] > git checkout -f 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 [2021-05-11T15:18:13.062Z] Commit message: "Merge pull request #90 from lenny-intel/secure-bus" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T15:18:14.296Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-11T15:18:14.648Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T15:18:15.009Z] + sudo service docker restart [2021-05-11T15:18:15.009Z] + true [2021-05-11T15:18:15.009Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T15:18:16.001Z] provisioning config files... [2021-05-11T15:18:16.033Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/39@tmp/config7948841226003335513tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:18:16.362Z] ---> docker-login.sh [2021-05-11T15:18:16.362Z] nexus3.edgexfoundry.org:10001 [2021-05-11T15:18:16.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:18:16.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:18:16.625Z] Configure a credential helper to remove this warning. See [2021-05-11T15:18:16.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:18:16.625Z] [2021-05-11T15:18:16.625Z] Login Succeeded [2021-05-11T15:18:16.625Z] nexus3.edgexfoundry.org:10002 [2021-05-11T15:18:16.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:18:16.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:18:16.892Z] Configure a credential helper to remove this warning. See [2021-05-11T15:18:16.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:18:16.892Z] [2021-05-11T15:18:16.892Z] Login Succeeded [2021-05-11T15:18:16.892Z] nexus3.edgexfoundry.org:10003 [2021-05-11T15:18:17.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:18:17.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:18:17.164Z] Configure a credential helper to remove this warning. See [2021-05-11T15:18:17.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:18:17.164Z] [2021-05-11T15:18:17.164Z] Login Succeeded [2021-05-11T15:18:17.164Z] nexus3.edgexfoundry.org:10004 [2021-05-11T15:18:17.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:18:17.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:18:17.436Z] Configure a credential helper to remove this warning. See [2021-05-11T15:18:17.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:18:17.436Z] [2021-05-11T15:18:17.436Z] Login Succeeded [2021-05-11T15:18:17.436Z] docker.io [2021-05-11T15:18:17.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:18:18.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:18:18.016Z] Configure a credential helper to remove this warning. See [2021-05-11T15:18:18.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:18:18.016Z] [2021-05-11T15:18:18.016Z] Login Succeeded [2021-05-11T15:18:18.016Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T15:18:18.027Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T15:18:18.226Z] ========================================================= [2021-05-11T15:18:18.226Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-11T15:18:18.226Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:18:18.545Z] + 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-11T15:18:18.545Z] Sending build context to Docker daemon 93.18kB [2021-05-11T15:18:18.545Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T15:18:18.545Z] Step 2/10 : FROM ${BASE} [2021-05-11T15:18:18.545Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-11T15:18:18.545Z] 540db60ca938: Pulling fs layer [2021-05-11T15:18:18.545Z] adcc1eea9eea: Pulling fs layer [2021-05-11T15:18:18.545Z] 4c4ab2625f07: Pulling fs layer [2021-05-11T15:18:18.545Z] 0510c868ecb4: Pulling fs layer [2021-05-11T15:18:18.545Z] afea3b2eda06: Pulling fs layer [2021-05-11T15:18:18.545Z] 7809a108b3ef: Pulling fs layer [2021-05-11T15:18:18.545Z] f706445af74f: Pulling fs layer [2021-05-11T15:18:18.545Z] afea3b2eda06: Waiting [2021-05-11T15:18:18.545Z] 7809a108b3ef: Waiting [2021-05-11T15:18:18.545Z] f706445af74f: Waiting [2021-05-11T15:18:18.545Z] 0510c868ecb4: Waiting [2021-05-11T15:18:18.816Z] 4c4ab2625f07: Verifying Checksum [2021-05-11T15:18:18.816Z] 4c4ab2625f07: Download complete [2021-05-11T15:18:18.816Z] adcc1eea9eea: Download complete [2021-05-11T15:18:18.816Z] afea3b2eda06: Verifying Checksum [2021-05-11T15:18:18.816Z] afea3b2eda06: Download complete [2021-05-11T15:18:18.816Z] 7809a108b3ef: Verifying Checksum [2021-05-11T15:18:18.816Z] 7809a108b3ef: Download complete [2021-05-11T15:18:18.816Z] 540db60ca938: Verifying Checksum [2021-05-11T15:18:18.816Z] 540db60ca938: Download complete [2021-05-11T15:18:19.090Z] 540db60ca938: Pull complete [2021-05-11T15:18:19.365Z] adcc1eea9eea: Pull complete [2021-05-11T15:18:19.660Z] 4c4ab2625f07: Pull complete [2021-05-11T15:18:20.641Z] f706445af74f: Verifying Checksum [2021-05-11T15:18:20.642Z] f706445af74f: Download complete [2021-05-11T15:18:21.220Z] 0510c868ecb4: Verifying Checksum [2021-05-11T15:18:21.220Z] 0510c868ecb4: Download complete [2021-05-11T15:18:29.477Z] 0510c868ecb4: Pull complete [2021-05-11T15:18:29.477Z] afea3b2eda06: Pull complete [2021-05-11T15:18:29.477Z] 7809a108b3ef: Pull complete [2021-05-11T15:18:34.807Z] f706445af74f: Pull complete [2021-05-11T15:18:34.807Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-11T15:18:34.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-11T15:18:34.807Z] ---> b068be0155e3 [2021-05-11T15:18:34.807Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T15:18:34.807Z] ---> Running in eecebbf6fe79 [2021-05-11T15:18:34.807Z] Removing intermediate container eecebbf6fe79 [2021-05-11T15:18:34.807Z] ---> 741dac18e01c [2021-05-11T15:18:34.807Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T15:18:34.807Z] ---> Running in 9316c6369ea4 [2021-05-11T15:18:34.807Z] Removing intermediate container 9316c6369ea4 [2021-05-11T15:18:34.807Z] ---> 548496338056 [2021-05-11T15:18:34.807Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-11T15:18:34.807Z] ---> Running in dd23adba2de6 [2021-05-11T15:18:35.070Z] Removing intermediate container dd23adba2de6 [2021-05-11T15:18:35.070Z] ---> e8ae0565967d [2021-05-11T15:18:35.070Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T15:18:35.070Z] ---> Running in 9aa508e8d3bf [2021-05-11T15:18:36.035Z] Removing intermediate container 9aa508e8d3bf [2021-05-11T15:18:36.035Z] ---> 1ea76cd9372a [2021-05-11T15:18:36.035Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T15:18:36.299Z] ---> Running in 0b23f8c4144e [2021-05-11T15:18:36.876Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T15:18:38.283Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T15:18:39.235Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-11T15:18:39.497Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-11T15:18:39.763Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-11T15:18:39.763Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-11T15:18:40.027Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-11T15:18:40.290Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-11T15:18:40.290Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-11T15:18:40.865Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-11T15:18:41.812Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-11T15:18:42.077Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T15:18:42.077Z] OK: 154 MiB in 49 packages [2021-05-11T15:18:43.030Z] Removing intermediate container 0b23f8c4144e [2021-05-11T15:18:43.030Z] ---> a247ae08705a [2021-05-11T15:18:43.030Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-11T15:18:43.030Z] ---> Running in 8b658b9e3b61 [2021-05-11T15:18:43.030Z] Removing intermediate container 8b658b9e3b61 [2021-05-11T15:18:43.030Z] ---> 333df065eb8e [2021-05-11T15:18:43.030Z] Step 9/10 : COPY . . [2021-05-11T15:18:43.302Z] ---> e9eba52b6308 [2021-05-11T15:18:43.302Z] Step 10/10 : RUN go mod download [2021-05-11T15:18:43.566Z] ---> Running in d85dc93ceb48 [2021-05-11T15:19:10.514Z] Removing intermediate container d85dc93ceb48 [2021-05-11T15:19:10.514Z] ---> 547a53e21170 [2021-05-11T15:19:10.514Z] Successfully built 547a53e21170 [2021-05-11T15:19:10.514Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:19:10.879Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T15:19:11.161Z] . [Pipeline] withDockerContainer [2021-05-11T15:19:11.314Z] prd-centos7-docker-4c-2g-4477 does not seem to be running inside a container [2021-05-11T15:19:11.441Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/39 -v /w/workspace/device-rest-go/39:/w/workspace/device-rest-go/39:rw,z -v /w/workspace/device-rest-go/39@tmp:/w/workspace/device-rest-go/39@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-11T15:19:12.423Z] $ docker top d5127ddd767df0fbae2333a5f97f17d7ae8208558f69cf98ecbf99d23e6d1a71 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T15:19:12.880Z] + go version [2021-05-11T15:19:12.881Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-11T15:19:12.900Z] $ docker stop --time=1 d5127ddd767df0fbae2333a5f97f17d7ae8208558f69cf98ecbf99d23e6d1a71 [2021-05-11T15:19:14.969Z] $ docker rm -f d5127ddd767df0fbae2333a5f97f17d7ae8208558f69cf98ecbf99d23e6d1a71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:19:15.632Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T15:19:15.632Z] . [Pipeline] withDockerContainer [2021-05-11T15:19:15.797Z] prd-centos7-docker-4c-2g-4477 does not seem to be running inside a container [2021-05-11T15:19:15.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/39 -v /w/workspace/device-rest-go/39:/w/workspace/device-rest-go/39:rw,z -v /w/workspace/device-rest-go/39@tmp:/w/workspace/device-rest-go/39@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-11T15:19:16.716Z] $ docker top 4a2150f604013017420c9abc14fe3932cac7084fc0376da63e11340b33040a9b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T15:19:17.230Z] + go mod tidy [Pipeline] sh [2021-05-11T15:19:18.171Z] + make test [2021-05-11T15:19:18.172Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-11T15:19:19.162Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-11T15:19:41.000Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4482 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-05-11T15:19:41.023Z] Running in /w/workspace/device-rest-go/39 [Pipeline] { [Pipeline] checkout [2021-05-11T15:19:46.546Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-11T15:19:46.547Z] ok github.com/edgexfoundry/device-rest-go/driver 0.031s coverage: 54.0% of statements [2021-05-11T15:19:46.547Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-11T15:19:46.604Z] using credential edgex-jenkins-ssh [2021-05-11T15:19:46.640Z] Cloning the remote Git repository [2021-05-11T15:19:46.688Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T15:19:46.873Z] > git init /w/workspace/device-rest-go/39 # timeout=10 [2021-05-11T15:19:47.019Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T15:19:47.020Z] > git --version # timeout=10 [2021-05-11T15:19:47.087Z] > git --version # 'git version 2.17.1' [2021-05-11T15:19:47.089Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T15:19:47.192Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T15:19:48.834Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-11T15:19:48.848Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T15:19:48.875Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-11T15:19:48.911Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T15:19:48.911Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T15:19:48.925Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T15:19:50.422Z] Checking out Revision 4f98354a1324b6971af40554b83b1d8fb938970d (master) [2021-05-11T15:19:50.442Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T15:19:50.459Z] > git checkout -f 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 [2021-05-11T15:19:54.754Z] Commit message: "Merge pull request #90 from lenny-intel/secure-bus" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T15:19:56.111Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-11T15:19:56.501Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T15:19:56.834Z] + true [2021-05-11T15:19:56.834Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T15:19:59.491Z] provisioning config files... [2021-05-11T15:19:59.542Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/39@tmp/config5244983896360404505tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:19:59.916Z] ---> docker-login.sh [2021-05-11T15:19:59.916Z] nexus3.edgexfoundry.org:10001 [2021-05-11T15:20:00.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:20:01.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:20:01.117Z] Configure a credential helper to remove this warning. See [2021-05-11T15:20:01.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:20:01.117Z] [2021-05-11T15:20:01.117Z] Login Succeeded [2021-05-11T15:20:01.117Z] nexus3.edgexfoundry.org:10002 [2021-05-11T15:20:01.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:20:01.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:20:01.674Z] Configure a credential helper to remove this warning. See [2021-05-11T15:20:01.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:20:01.674Z] [2021-05-11T15:20:01.674Z] Login Succeeded [2021-05-11T15:20:01.674Z] nexus3.edgexfoundry.org:10003 [2021-05-11T15:20:01.803Z] gofmt -l . [2021-05-11T15:20:01.803Z] [ "`gofmt -l .`" = "" ] [2021-05-11T15:20:01.803Z] ./bin/test-go-mod-tidy.sh [2021-05-11T15:20:01.803Z] ./bin/test-attribution-txt.sh [2021-05-11T15:20:01.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:20:02.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:20:02.223Z] Configure a credential helper to remove this warning. See [2021-05-11T15:20:02.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:20:02.223Z] [2021-05-11T15:20:02.223Z] Login Succeeded [2021-05-11T15:20:02.223Z] nexus3.edgexfoundry.org:10004 [Pipeline] } [2021-05-11T15:20:02.442Z] $ docker stop --time=1 4a2150f604013017420c9abc14fe3932cac7084fc0376da63e11340b33040a9b [2021-05-11T15:20:02.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:20:02.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:20:02.772Z] Configure a credential helper to remove this warning. See [2021-05-11T15:20:02.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:20:02.772Z] [2021-05-11T15:20:02.772Z] Login Succeeded [2021-05-11T15:20:02.772Z] docker.io [2021-05-11T15:20:03.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:20:03.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:20:03.642Z] Configure a credential helper to remove this warning. See [2021-05-11T15:20:03.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:20:03.642Z] [2021-05-11T15:20:03.642Z] Login Succeeded [2021-05-11T15:20:03.642Z] ---> docker-login.sh ends [2021-05-11T15:20:04.578Z] $ docker rm -f 4a2150f604013017420c9abc14fe3932cac7084fc0376da63e11340b33040a9b [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [2021-05-11T15:20:05.132Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-05-11T15:20:05.394Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] echo [2021-05-11T15:20:05.436Z] ========================================================= [2021-05-11T15:20:05.436Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-11T15:20:05.436Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:20:05.783Z] + 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-11T15:20:05.783Z] Sending build context to Docker daemon 93.18kB [2021-05-11T15:20:06.038Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [2021-05-11T15:20:06.057Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T15:20:06.057Z] Step 2/10 : FROM ${BASE} [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-11T15:20:06.333Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-11T15:20:06.333Z] 595b0fe564bb: Pulling fs layer [2021-05-11T15:20:06.333Z] 7186ed65a4f7: Pulling fs layer [2021-05-11T15:20:06.333Z] 316046926c0a: Pulling fs layer [2021-05-11T15:20:06.333Z] 4ebd0625c992: Pulling fs layer [2021-05-11T15:20:06.333Z] 207e8628e3a3: Pulling fs layer [2021-05-11T15:20:06.333Z] c791037a9be2: Pulling fs layer [2021-05-11T15:20:06.333Z] ffd874e62e21: Pulling fs layer [2021-05-11T15:20:06.333Z] 4ebd0625c992: Waiting [2021-05-11T15:20:06.333Z] 207e8628e3a3: Waiting [2021-05-11T15:20:06.333Z] c791037a9be2: Waiting [2021-05-11T15:20:06.333Z] ffd874e62e21: Waiting [2021-05-11T15:20:06.333Z] 316046926c0a: Verifying Checksum [2021-05-11T15:20:06.333Z] 316046926c0a: Download complete [2021-05-11T15:20:06.333Z] 7186ed65a4f7: Verifying Checksum [2021-05-11T15:20:06.333Z] 7186ed65a4f7: Download complete [2021-05-11T15:20:06.333Z] 207e8628e3a3: Download complete [2021-05-11T15:20:06.333Z] c791037a9be2: Verifying Checksum [2021-05-11T15:20:06.333Z] c791037a9be2: Download complete [2021-05-11T15:20:06.333Z] 595b0fe564bb: Verifying Checksum [2021-05-11T15:20:06.333Z] 595b0fe564bb: Download complete [Pipeline] sh [2021-05-11T15:20:06.946Z] 595b0fe564bb: Pull complete [2021-05-11T15:20:07.044Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T15:20:07.430Z] + ls -al . [2021-05-11T15:20:07.431Z] total 104 [2021-05-11T15:20:07.431Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 11 15:20 . [2021-05-11T15:20:07.431Z] drwxrwxr-x. 4 jenkins jenkins 30 May 11 15:17 .. [2021-05-11T15:20:07.431Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 11 15:18 Attribution.txt [2021-05-11T15:20:07.431Z] drwxrwxr-x. 2 jenkins jenkins 64 May 11 15:18 bin [2021-05-11T15:20:07.431Z] drwxrwxr-x. 3 jenkins jenkins 32 May 11 15:18 cmd [2021-05-11T15:20:07.431Z] -rw-r--r--. 1 jenkins jenkins 8513 May 11 15:19 coverage.out [2021-05-11T15:20:07.431Z] -rw-rw-r--. 1 jenkins jenkins 1602 May 11 15:18 Dockerfile [2021-05-11T15:20:07.431Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 11 15:18 Dockerfile.build [2021-05-11T15:20:07.431Z] -rw-rw-r--. 1 jenkins jenkins 151 May 11 15:18 .dockerignore [2021-05-11T15:20:07.431Z] drwxrwxr-x. 2 jenkins jenkins 76 May 11 15:18 driver [2021-05-11T15:20:07.431Z] drwxrwxr-x. 8 jenkins jenkins 162 May 11 15:18 .git [2021-05-11T15:20:07.431Z] drwxrwxr-x. 2 jenkins jenkins 103 May 11 15:18 .github [2021-05-11T15:20:07.431Z] -rw-rw-r--. 1 jenkins jenkins 339 May 11 15:18 .gitignore [2021-05-11T15:20:07.431Z] -rw-r--r--. 1 jenkins jenkins 285 May 11 15:20 go.mod [2021-05-11T15:20:07.431Z] -rw-r--r--. 1 jenkins jenkins 21278 May 11 15:19 go.sum [2021-05-11T15:20:07.431Z] -rw-rw-r--. 1 jenkins jenkins 680 May 11 15:18 Jenkinsfile [2021-05-11T15:20:07.431Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 11 15:18 LICENSE [2021-05-11T15:20:07.431Z] -rw-rw-r--. 1 jenkins jenkins 976 May 11 15:18 Makefile [2021-05-11T15:20:07.431Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 11 15:18 README.md [2021-05-11T15:20:07.431Z] drwxrwxr-x. 4 jenkins jenkins 71 May 11 15:18 snap [2021-05-11T15:20:07.431Z] -rw-rw-r--. 1 jenkins jenkins 11 May 11 15:16 VERSION [2021-05-11T15:20:07.431Z] -rw-rw-r--. 1 jenkins jenkins 713 May 11 15:18 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:20:07.551Z] 7186ed65a4f7: Pull complete [2021-05-11T15:20:07.769Z] + 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=4f98354a1324b6971af40554b83b1d8fb938970d --label arch=amd64 --label version=1.2.2-dev.7 . [2021-05-11T15:20:07.769Z] Sending build context to Docker daemon 102.9kB [2021-05-11T15:20:08.035Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T15:20:08.035Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-11T15:20:08.035Z] ---> 547a53e21170 [2021-05-11T15:20:08.035Z] Step 3/24 : ARG MAKE='make build' [2021-05-11T15:20:08.035Z] ---> Running in 17d0457e32f1 [2021-05-11T15:20:08.162Z] 316046926c0a: Pull complete [2021-05-11T15:20:08.301Z] Removing intermediate container 17d0457e32f1 [2021-05-11T15:20:08.301Z] ---> d2b7aa14e584 [2021-05-11T15:20:08.301Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T15:20:08.301Z] ---> Running in ce1849048057 [2021-05-11T15:20:08.575Z] Removing intermediate container ce1849048057 [2021-05-11T15:20:08.575Z] ---> c15c36373373 [2021-05-11T15:20:08.575Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T15:20:08.575Z] ---> Running in 94bc9c82dffc [2021-05-11T15:20:08.757Z] ffd874e62e21: Verifying Checksum [2021-05-11T15:20:08.757Z] ffd874e62e21: Download complete [2021-05-11T15:20:08.848Z] Removing intermediate container 94bc9c82dffc [2021-05-11T15:20:08.848Z] ---> 60b1aa1078d0 [2021-05-11T15:20:08.848Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T15:20:08.848Z] ---> Running in b03b579ed0f2 [2021-05-11T15:20:09.739Z] 4ebd0625c992: Verifying Checksum [2021-05-11T15:20:09.739Z] 4ebd0625c992: Download complete [2021-05-11T15:20:10.274Z] Removing intermediate container b03b579ed0f2 [2021-05-11T15:20:10.274Z] ---> 2c4f3e230e29 [2021-05-11T15:20:10.274Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T15:20:10.274Z] ---> Running in 9bc887581cc6 [2021-05-11T15:20:10.540Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T15:20:12.465Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T15:20:13.432Z] OK: 154 MiB in 49 packages [2021-05-11T15:20:14.012Z] Removing intermediate container 9bc887581cc6 [2021-05-11T15:20:14.012Z] ---> 633501e5050d [2021-05-11T15:20:14.012Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-11T15:20:14.612Z] ---> Running in 70bcd3f46a1d [2021-05-11T15:20:14.878Z] Removing intermediate container 70bcd3f46a1d [2021-05-11T15:20:14.878Z] ---> 02d0f901014d [2021-05-11T15:20:14.878Z] Step 9/24 : COPY . . [2021-05-11T15:20:15.146Z] ---> 2939ab20127b [2021-05-11T15:20:15.146Z] Step 10/24 : RUN make update [2021-05-11T15:20:15.417Z] ---> Running in b5656cbcc3b7 [2021-05-11T15:20:16.012Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-11T15:20:16.966Z] Removing intermediate container b5656cbcc3b7 [2021-05-11T15:20:16.966Z] ---> d19fa1f009b0 [2021-05-11T15:20:16.966Z] Step 11/24 : RUN $MAKE [2021-05-11T15:20:16.966Z] ---> Running in eb741ad29912 [2021-05-11T15:20:17.235Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.7" -o cmd/device-rest-go ./cmd [2021-05-11T15:20:19.905Z] 4ebd0625c992: Pull complete [2021-05-11T15:20:19.905Z] 207e8628e3a3: Pull complete [2021-05-11T15:20:20.181Z] c791037a9be2: Pull complete [2021-05-11T15:20:24.517Z] ffd874e62e21: Pull complete [2021-05-11T15:20:24.517Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-11T15:20:24.517Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-11T15:20:24.517Z] ---> cfc18b08335c [2021-05-11T15:20:24.517Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T15:20:26.493Z] ---> Running in 1aaf52e17818 [2021-05-11T15:20:27.089Z] Removing intermediate container 1aaf52e17818 [2021-05-11T15:20:27.089Z] ---> 115a7b924613 [2021-05-11T15:20:27.089Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T15:20:27.089Z] ---> Running in c821f1e8e4a1 [2021-05-11T15:20:27.686Z] Removing intermediate container c821f1e8e4a1 [2021-05-11T15:20:27.686Z] ---> b552f7cc1748 [2021-05-11T15:20:27.686Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-11T15:20:27.686Z] ---> Running in c9bfebccbe4f [2021-05-11T15:20:28.282Z] Removing intermediate container c9bfebccbe4f [2021-05-11T15:20:28.282Z] ---> 60d4a3c9b39e [2021-05-11T15:20:28.282Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T15:20:28.282Z] ---> Running in ef47eddfe8a0 [2021-05-11T15:20:30.921Z] Removing intermediate container ef47eddfe8a0 [2021-05-11T15:20:30.921Z] ---> 71c4f0c2b50a [2021-05-11T15:20:30.921Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T15:20:30.921Z] ---> Running in 5144dec90c17 [2021-05-11T15:20:31.903Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T15:20:33.331Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T15:20:34.757Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-11T15:20:34.757Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-11T15:20:34.757Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-11T15:20:35.029Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-11T15:20:35.301Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-11T15:20:35.301Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-11T15:20:35.552Z] Removing intermediate container eb741ad29912 [2021-05-11T15:20:35.552Z] ---> 68d295b7804c [2021-05-11T15:20:35.552Z] Step 12/24 : FROM alpine:3.12 [2021-05-11T15:20:35.552Z] 3.12: Pulling from library/alpine [2021-05-11T15:20:35.552Z] 339de151aab4: Pulling fs layer [2021-05-11T15:20:35.552Z] 339de151aab4: Verifying Checksum [2021-05-11T15:20:35.552Z] 339de151aab4: Download complete [2021-05-11T15:20:35.552Z] 339de151aab4: Pull complete [2021-05-11T15:20:35.552Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T15:20:35.552Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T15:20:35.552Z] ---> 13621d1b12d4 [2021-05-11T15:20:35.552Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-11T15:20:35.552Z] ---> Running in 438de1d17283 [2021-05-11T15:20:35.552Z] Removing intermediate container 438de1d17283 [2021-05-11T15:20:35.552Z] ---> 4da6153e99a1 [2021-05-11T15:20:35.553Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-11T15:20:35.553Z] ---> Running in 38e16c34f2df [2021-05-11T15:20:35.553Z] Removing intermediate container 38e16c34f2df [2021-05-11T15:20:35.553Z] ---> ac3a2b6315ed [2021-05-11T15:20:35.553Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-11T15:20:35.553Z] ---> Running in dcc78455349e [2021-05-11T15:20:35.553Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-11T15:20:35.553Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-11T15:20:35.553Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-11T15:20:35.553Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-11T15:20:35.553Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-11T15:20:35.553Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-11T15:20:35.553Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-11T15:20:35.553Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-11T15:20:35.553Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T15:20:35.553Z] OK: 8 MiB in 20 packages [2021-05-11T15:20:35.900Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-11T15:20:36.147Z] Removing intermediate container dcc78455349e [2021-05-11T15:20:36.147Z] ---> 91854ca76a33 [2021-05-11T15:20:36.147Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-11T15:20:36.739Z] ---> ec764767a3cf [2021-05-11T15:20:36.739Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-11T15:20:36.872Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-11T15:20:36.872Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-11T15:20:37.003Z] ---> ce788073aece [2021-05-11T15:20:37.003Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-11T15:20:37.151Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T15:20:37.151Z] OK: 144 MiB in 49 packages [2021-05-11T15:20:37.281Z] ---> 00a0b8675325 [2021-05-11T15:20:37.281Z] Step 19/24 : EXPOSE 49986 [2021-05-11T15:20:37.281Z] ---> Running in d680e72265c4 [2021-05-11T15:20:37.565Z] Removing intermediate container d680e72265c4 [2021-05-11T15:20:37.565Z] ---> 8bf00384996d [2021-05-11T15:20:37.565Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-11T15:20:37.858Z] ---> Running in 7f52b3863a1d [2021-05-11T15:20:37.858Z] Removing intermediate container 7f52b3863a1d [2021-05-11T15:20:37.858Z] ---> be90e0e687ec [2021-05-11T15:20:37.858Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-11T15:20:38.125Z] ---> Running in ee67dbefbe56 [2021-05-11T15:20:38.125Z] Removing intermediate container ee67dbefbe56 [2021-05-11T15:20:38.125Z] ---> d04a3662deb2 [2021-05-11T15:20:38.125Z] Step 22/24 : LABEL arch=amd64 [2021-05-11T15:20:38.391Z] ---> Running in c826142c1dba [2021-05-11T15:20:38.391Z] Removing intermediate container c826142c1dba [2021-05-11T15:20:38.391Z] ---> 4e82429f8b2c [2021-05-11T15:20:38.391Z] Step 23/24 : LABEL git_sha=4f98354a1324b6971af40554b83b1d8fb938970d [2021-05-11T15:20:38.588Z] Removing intermediate container 5144dec90c17 [2021-05-11T15:20:38.588Z] ---> 0c5cc0ffe201 [2021-05-11T15:20:38.588Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-11T15:20:38.662Z] ---> Running in baf1cdd2ac07 [2021-05-11T15:20:38.662Z] Removing intermediate container baf1cdd2ac07 [2021-05-11T15:20:38.662Z] ---> 92f90559fd45 [2021-05-11T15:20:38.662Z] Step 24/24 : LABEL version=1.2.2-dev.7 [2021-05-11T15:20:38.865Z] ---> Running in 3cd2f5bf5a63 [2021-05-11T15:20:38.934Z] ---> Running in a1de606aea84 [2021-05-11T15:20:38.934Z] Removing intermediate container a1de606aea84 [2021-05-11T15:20:38.934Z] ---> 27a9e9938bef [2021-05-11T15:20:38.934Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-11T15:20:38.934Z] Successfully built 27a9e9938bef [2021-05-11T15:20:39.196Z] 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-11T15:20:39.326Z] provisioning config files... [2021-05-11T15:20:39.386Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/39@tmp/config638295912935514191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:20:39.464Z] Removing intermediate container 3cd2f5bf5a63 [2021-05-11T15:20:39.464Z] ---> 109041d06d39 [2021-05-11T15:20:39.464Z] Step 9/10 : COPY . . [2021-05-11T15:20:39.719Z] ---> docker-login.sh [2021-05-11T15:20:39.719Z] nexus3.edgexfoundry.org:10001 [2021-05-11T15:20:39.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:20:39.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:20:39.983Z] Configure a credential helper to remove this warning. See [2021-05-11T15:20:39.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:20:39.983Z] [2021-05-11T15:20:39.983Z] Login Succeeded [2021-05-11T15:20:39.983Z] nexus3.edgexfoundry.org:10002 [2021-05-11T15:20:39.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:20:40.065Z] ---> d2e4dbee3217 [2021-05-11T15:20:40.065Z] Step 10/10 : RUN go mod download [2021-05-11T15:20:40.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:20:40.246Z] Configure a credential helper to remove this warning. See [2021-05-11T15:20:40.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:20:40.246Z] [2021-05-11T15:20:40.246Z] Login Succeeded [2021-05-11T15:20:40.246Z] nexus3.edgexfoundry.org:10003 [2021-05-11T15:20:40.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:20:40.341Z] ---> Running in c7ce6d6d1226 [2021-05-11T15:20:40.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:20:40.513Z] Configure a credential helper to remove this warning. See [2021-05-11T15:20:40.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:20:40.513Z] [2021-05-11T15:20:40.513Z] Login Succeeded [2021-05-11T15:20:40.513Z] nexus3.edgexfoundry.org:10004 [2021-05-11T15:20:40.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:20:40.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:20:40.513Z] Configure a credential helper to remove this warning. See [2021-05-11T15:20:40.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:20:40.513Z] [2021-05-11T15:20:40.513Z] Login Succeeded [2021-05-11T15:20:40.513Z] docker.io [2021-05-11T15:20:40.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:20:41.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:20:41.387Z] Configure a credential helper to remove this warning. See [2021-05-11T15:20:41.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:20:41.387Z] [2021-05-11T15:20:41.387Z] Login Succeeded [2021-05-11T15:20:41.387Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T15:20:41.400Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-11T15:20:41.473Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: [2021-05-11T15:20:41.473Z] 4f98354a1324b6971af40554b83b1d8fb938970d [2021-05-11T15:20:41.473Z] latest [2021-05-11T15:20:41.473Z] 1.2.2-dev.7 [2021-05-11T15:20:41.473Z] 4f98354a1324b6971af40554b83b1d8fb938970d-1.2.2-dev.7 [2021-05-11T15:20:41.473Z] master [2021-05-11T15:20:41.473Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:20:41.856Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:4f98354a1324b6971af40554b83b1d8fb938970d [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:20:42.172Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:4f98354a1324b6971af40554b83b1d8fb938970d [2021-05-11T15:20:42.172Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-05-11T15:20:42.172Z] 2e9cfbd5fc51: Preparing [2021-05-11T15:20:42.172Z] c47b4327b02e: Preparing [2021-05-11T15:20:42.172Z] d691504ae159: Preparing [2021-05-11T15:20:42.172Z] 0de6e51ab927: Preparing [2021-05-11T15:20:42.172Z] 32f366d666a5: Preparing [2021-05-11T15:20:42.172Z] 32f366d666a5: Layer already exists [2021-05-11T15:20:42.775Z] c47b4327b02e: Pushed [2021-05-11T15:20:42.775Z] 0de6e51ab927: Pushed [2021-05-11T15:20:42.775Z] 2e9cfbd5fc51: Pushed [2021-05-11T15:20:43.749Z] d691504ae159: Pushed [2021-05-11T15:20:44.013Z] 4f98354a1324b6971af40554b83b1d8fb938970d: digest: sha256:ca09c3ebb2165f1c3417bc29a4fcabb1727b191719fa0ba07cb10061d680ea1a size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:20:44.355Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:20:45.271Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2021-05-11T15:20:45.271Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-05-11T15:20:45.271Z] 2e9cfbd5fc51: Preparing [2021-05-11T15:20:45.271Z] c47b4327b02e: Preparing [2021-05-11T15:20:45.271Z] d691504ae159: Preparing [2021-05-11T15:20:45.271Z] 0de6e51ab927: Preparing [2021-05-11T15:20:45.271Z] 32f366d666a5: Preparing [2021-05-11T15:20:45.271Z] 2e9cfbd5fc51: Layer already exists [2021-05-11T15:20:45.271Z] 0de6e51ab927: Layer already exists [2021-05-11T15:20:45.271Z] d691504ae159: Layer already exists [2021-05-11T15:20:45.271Z] c47b4327b02e: Layer already exists [2021-05-11T15:20:45.271Z] 32f366d666a5: Layer already exists [2021-05-11T15:20:45.536Z] latest: digest: sha256:ca09c3ebb2165f1c3417bc29a4fcabb1727b191719fa0ba07cb10061d680ea1a size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:20:45.862Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.2-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:20:46.182Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.2-dev.7 [2021-05-11T15:20:46.182Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-05-11T15:20:46.182Z] 2e9cfbd5fc51: Preparing [2021-05-11T15:20:46.182Z] c47b4327b02e: Preparing [2021-05-11T15:20:46.182Z] d691504ae159: Preparing [2021-05-11T15:20:46.182Z] 0de6e51ab927: Preparing [2021-05-11T15:20:46.182Z] 32f366d666a5: Preparing [2021-05-11T15:20:46.182Z] 32f366d666a5: Layer already exists [2021-05-11T15:20:46.182Z] 2e9cfbd5fc51: Layer already exists [2021-05-11T15:20:46.182Z] c47b4327b02e: Layer already exists [2021-05-11T15:20:46.182Z] d691504ae159: Layer already exists [2021-05-11T15:20:46.182Z] 0de6e51ab927: Layer already exists [2021-05-11T15:20:46.182Z] 1.2.2-dev.7: digest: sha256:ca09c3ebb2165f1c3417bc29a4fcabb1727b191719fa0ba07cb10061d680ea1a size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:20:46.502Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:4f98354a1324b6971af40554b83b1d8fb938970d-1.2.2-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:20:46.827Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:4f98354a1324b6971af40554b83b1d8fb938970d-1.2.2-dev.7 [2021-05-11T15:20:46.827Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-05-11T15:20:46.827Z] 2e9cfbd5fc51: Preparing [2021-05-11T15:20:46.827Z] c47b4327b02e: Preparing [2021-05-11T15:20:46.827Z] d691504ae159: Preparing [2021-05-11T15:20:46.827Z] 0de6e51ab927: Preparing [2021-05-11T15:20:46.827Z] 32f366d666a5: Preparing [2021-05-11T15:20:46.827Z] 2e9cfbd5fc51: Layer already exists [2021-05-11T15:20:46.827Z] 0de6e51ab927: Layer already exists [2021-05-11T15:20:46.827Z] d691504ae159: Layer already exists [2021-05-11T15:20:46.827Z] 32f366d666a5: Layer already exists [2021-05-11T15:20:46.827Z] c47b4327b02e: Layer already exists [2021-05-11T15:20:46.827Z] 4f98354a1324b6971af40554b83b1d8fb938970d-1.2.2-dev.7: digest: sha256:ca09c3ebb2165f1c3417bc29a4fcabb1727b191719fa0ba07cb10061d680ea1a size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:20:47.172Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:20:47.485Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [2021-05-11T15:20:47.485Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-05-11T15:20:47.485Z] 2e9cfbd5fc51: Preparing [2021-05-11T15:20:47.485Z] c47b4327b02e: Preparing [2021-05-11T15:20:47.485Z] d691504ae159: Preparing [2021-05-11T15:20:47.485Z] 0de6e51ab927: Preparing [2021-05-11T15:20:47.485Z] 32f366d666a5: Preparing [2021-05-11T15:20:47.485Z] 32f366d666a5: Layer already exists [2021-05-11T15:20:47.485Z] 0de6e51ab927: Layer already exists [2021-05-11T15:20:47.485Z] c47b4327b02e: Layer already exists [2021-05-11T15:20:47.485Z] d691504ae159: Layer already exists [2021-05-11T15:20:47.485Z] 2e9cfbd5fc51: Layer already exists [2021-05-11T15:20:47.485Z] master: digest: sha256:ca09c3ebb2165f1c3417bc29a4fcabb1727b191719fa0ba07cb10061d680ea1a size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-11T15:20:47.547Z] ===================================================== [Pipeline] echo [2021-05-11T15:20:47.563Z] taggedImages: [2021-05-11T15:20:47.563Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:4f98354a1324b6971af40554b83b1d8fb938970d [2021-05-11T15:20:47.563Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2021-05-11T15:20:47.563Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.2-dev.7 [2021-05-11T15:20:47.563Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:4f98354a1324b6971af40554b83b1d8fb938970d-1.2.2-dev.7 [2021-05-11T15:20:47.563Z] - 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-11T15:20:48.037Z] ---> job-cost.sh [2021-05-11T15:20:48.037Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-nW1x [2021-05-11T15:21:07.139Z] Removing intermediate container c7ce6d6d1226 [2021-05-11T15:21:07.139Z] ---> 33f59ba252ec [2021-05-11T15:21:07.139Z] Successfully built 33f59ba252ec [2021-05-11T15:21:07.139Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:21:07.477Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T15:21:07.477Z] . [Pipeline] withDockerContainer [2021-05-11T15:21:07.745Z] prd-ubuntu18.04-docker-arm64-4c-16g-4482 does not seem to be running inside a container [2021-05-11T15:21:07.840Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/39 -v /w/workspace/device-rest-go/39:/w/workspace/device-rest-go/39:rw,z -v /w/workspace/device-rest-go/39@tmp:/w/workspace/device-rest-go/39@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 ******** ci-base-image-arm64 cat [2021-05-11T15:21:09.330Z] $ docker top 779e472afedb3671b271a6e430f7bb9a792e12c498172f7dcf1eb6f94dcf3f98 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T15:21:10.125Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T15:21:10.277Z] + go version [2021-05-11T15:21:10.277Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-11T15:21:10.314Z] $ docker stop --time=1 779e472afedb3671b271a6e430f7bb9a792e12c498172f7dcf1eb6f94dcf3f98 [2021-05-11T15:21:12.229Z] $ docker rm -f 779e472afedb3671b271a6e430f7bb9a792e12c498172f7dcf1eb6f94dcf3f98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:21:12.901Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T15:21:12.901Z] . [Pipeline] withDockerContainer [2021-05-11T15:21:13.180Z] prd-ubuntu18.04-docker-arm64-4c-16g-4482 does not seem to be running inside a container [2021-05-11T15:21:13.279Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/39 -v /w/workspace/device-rest-go/39:/w/workspace/device-rest-go/39:rw,z -v /w/workspace/device-rest-go/39@tmp:/w/workspace/device-rest-go/39@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 ******** ci-base-image-arm64 cat [2021-05-11T15:21:14.717Z] $ docker top a5582ae0f6bf2549a6f52bc5cc57620ca6d4405040a136f71da05af123dd2c87 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T15:21:15.612Z] + go mod tidy [Pipeline] sh [2021-05-11T15:21:16.906Z] + make test [2021-05-11T15:21:16.906Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-11T15:21:18.344Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-11T15:21:42.374Z] lf-activate-venv(): INFO: Adding /tmp/venv-nW1x/bin to PATH [2021-05-11T15:21:42.374Z] INFO: No Stack... [2021-05-11T15:21:42.374Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T15:21:42.374Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T15:21:42.693Z] + cat /w/workspace/device-rest-go/39/archives/cost.csv [2021-05-11T15:21:42.694Z] + cut -d, -f6 [Pipeline] lock [2021-05-11T15:21:42.787Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-39-stack-cost] [2021-05-11T15:21:42.799Z] Resource [jenkins-edgexfoundry-device-rest-go-master-39-stack-cost] did not exist. Created. [2021-05-11T15:21:42.799Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-39-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T15:21:43.134Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-11T15:21:43.324Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T15:21:43.344Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-39-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-11T15:22:15.203Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-11T15:22:15.203Z] ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 54.0% of statements [2021-05-11T15:22:15.203Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-11T15:22:42.005Z] gofmt -l . [2021-05-11T15:22:42.005Z] [ "`gofmt -l .`" = "" ] [2021-05-11T15:22:42.005Z] ./bin/test-go-mod-tidy.sh [2021-05-11T15:22:42.282Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-11T15:22:44.297Z] $ docker stop --time=1 a5582ae0f6bf2549a6f52bc5cc57620ca6d4405040a136f71da05af123dd2c87 [2021-05-11T15:22:46.366Z] $ docker rm -f a5582ae0f6bf2549a6f52bc5cc57620ca6d4405040a136f71da05af123dd2c87 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T15:22:47.188Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T15:22:47.208Z] Warning: overwriting stash ‘coverage-report’ [2021-05-11T15:22:47.929Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T15:22:48.411Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T15:22:48.742Z] + ls -al . [2021-05-11T15:22:48.742Z] total 132 [2021-05-11T15:22:48.742Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 15:22 . [2021-05-11T15:22:48.742Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 15:19 .. [2021-05-11T15:22:48.742Z] -rw-rw-r-- 1 jenkins jenkins 151 May 11 15:19 .dockerignore [2021-05-11T15:22:48.742Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 15:19 .git [2021-05-11T15:22:48.742Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 15:19 .github [2021-05-11T15:22:48.742Z] -rw-rw-r-- 1 jenkins jenkins 339 May 11 15:19 .gitignore [2021-05-11T15:22:48.742Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 11 15:19 Attribution.txt [2021-05-11T15:22:48.742Z] -rw-rw-r-- 1 jenkins jenkins 1602 May 11 15:19 Dockerfile [2021-05-11T15:22:48.742Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 11 15:19 Dockerfile.build [2021-05-11T15:22:48.742Z] -rw-rw-r-- 1 jenkins jenkins 680 May 11 15:19 Jenkinsfile [2021-05-11T15:22:48.742Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 15:19 LICENSE [2021-05-11T15:22:48.742Z] -rw-rw-r-- 1 jenkins jenkins 976 May 11 15:19 Makefile [2021-05-11T15:22:48.742Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 11 15:19 README.md [2021-05-11T15:22:48.742Z] -rw-rw-r-- 1 jenkins jenkins 11 May 11 15:16 VERSION [2021-05-11T15:22:48.742Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 15:19 bin [2021-05-11T15:22:48.742Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 15:19 cmd [2021-05-11T15:22:48.742Z] -rw-r--r-- 1 jenkins jenkins 8513 May 11 15:22 coverage.out [2021-05-11T15:22:48.742Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 15:19 driver [2021-05-11T15:22:48.742Z] -rw-r--r-- 1 jenkins jenkins 285 May 11 15:22 go.mod [2021-05-11T15:22:48.742Z] -rw-r--r-- 1 jenkins jenkins 21278 May 11 15:21 go.sum [2021-05-11T15:22:48.742Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 15:19 snap [2021-05-11T15:22:48.742Z] -rw-rw-r-- 1 jenkins jenkins 713 May 11 15:19 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:22:49.082Z] + 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=4f98354a1324b6971af40554b83b1d8fb938970d --label arch=arm64 --label version=1.2.2-dev.7 . [2021-05-11T15:22:49.082Z] Sending build context to Docker daemon 102.9kB [2021-05-11T15:22:49.356Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T15:22:49.356Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-11T15:22:49.356Z] ---> 33f59ba252ec [2021-05-11T15:22:49.356Z] Step 3/24 : ARG MAKE='make build' [2021-05-11T15:22:49.627Z] ---> Running in e1378e8f43ca [2021-05-11T15:22:49.899Z] Removing intermediate container e1378e8f43ca [2021-05-11T15:22:49.899Z] ---> bcfc547578ae [2021-05-11T15:22:49.899Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T15:22:50.173Z] ---> Running in 8b2e39042014 [2021-05-11T15:22:50.447Z] Removing intermediate container 8b2e39042014 [2021-05-11T15:22:50.447Z] ---> c2102bab64c0 [2021-05-11T15:22:50.447Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T15:22:50.718Z] ---> Running in 957f3ebeb8a5 [2021-05-11T15:22:50.990Z] Removing intermediate container 957f3ebeb8a5 [2021-05-11T15:22:50.990Z] ---> 61de4761f64e [2021-05-11T15:22:50.990Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T15:22:51.266Z] ---> Running in 2af79d722d96 [2021-05-11T15:22:53.243Z] Removing intermediate container 2af79d722d96 [2021-05-11T15:22:53.243Z] ---> 04f9f3b434bf [2021-05-11T15:22:53.243Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T15:22:53.516Z] ---> Running in a3590f46122c [2021-05-11T15:22:54.491Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T15:22:56.446Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T15:22:59.045Z] OK: 144 MiB in 49 packages [2021-05-11T15:23:00.022Z] Removing intermediate container a3590f46122c [2021-05-11T15:23:00.022Z] ---> 2d3999717883 [2021-05-11T15:23:00.022Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-11T15:23:00.022Z] ---> Running in 216f52ad14f8 [2021-05-11T15:23:00.295Z] Removing intermediate container 216f52ad14f8 [2021-05-11T15:23:00.295Z] ---> cb30dbea6a74 [2021-05-11T15:23:00.295Z] Step 9/24 : COPY . . [2021-05-11T15:23:01.280Z] ---> 7fd2f514bf69 [2021-05-11T15:23:01.280Z] Step 10/24 : RUN make update [2021-05-11T15:23:01.280Z] ---> Running in 0303641ad08f [2021-05-11T15:23:02.716Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-11T15:23:03.695Z] Removing intermediate container 0303641ad08f [2021-05-11T15:23:03.695Z] ---> 0049947ba200 [2021-05-11T15:23:03.695Z] Step 11/24 : RUN $MAKE [2021-05-11T15:23:03.695Z] ---> Running in cdbdcbcb8d86 [2021-05-11T15:23:04.677Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.7" -o cmd/device-rest-go ./cmd [2021-05-11T15:23:43.689Z] Removing intermediate container cdbdcbcb8d86 [2021-05-11T15:23:43.689Z] ---> 98c8687e34c3 [2021-05-11T15:23:43.689Z] Step 12/24 : FROM alpine:3.12 [2021-05-11T15:23:43.689Z] 3.12: Pulling from library/alpine [2021-05-11T15:23:43.689Z] d2f70382dc9a: Pulling fs layer [2021-05-11T15:23:43.689Z] d2f70382dc9a: Verifying Checksum [2021-05-11T15:23:43.689Z] d2f70382dc9a: Download complete [2021-05-11T15:23:43.689Z] d2f70382dc9a: Pull complete [2021-05-11T15:23:43.689Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T15:23:43.689Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T15:23:43.689Z] ---> 9852663dfa18 [2021-05-11T15:23:43.689Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-11T15:23:43.689Z] ---> Running in ddc6c69aaf34 [2021-05-11T15:23:43.689Z] Removing intermediate container ddc6c69aaf34 [2021-05-11T15:23:43.689Z] ---> f77e10253cc4 [2021-05-11T15:23:43.689Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-11T15:23:43.689Z] ---> Running in bb568d71b8bf [2021-05-11T15:23:43.689Z] Removing intermediate container bb568d71b8bf [2021-05-11T15:23:43.689Z] ---> ab9e8da32ca6 [2021-05-11T15:23:43.689Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-11T15:23:43.689Z] ---> Running in c2fe8a496145 [2021-05-11T15:23:43.959Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-11T15:23:44.229Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-11T15:23:44.819Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-11T15:23:44.819Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-11T15:23:44.819Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-11T15:23:44.819Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-11T15:23:44.819Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-11T15:23:44.819Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-11T15:23:44.819Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T15:23:44.819Z] OK: 8 MiB in 20 packages [2021-05-11T15:23:46.284Z] Removing intermediate container c2fe8a496145 [2021-05-11T15:23:46.284Z] ---> 36f9e68e3ebd [2021-05-11T15:23:46.284Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-11T15:23:47.255Z] ---> b556c30fcdac [2021-05-11T15:23:47.255Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-11T15:23:47.859Z] ---> fae7fddc472f [2021-05-11T15:23:47.859Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-11T15:23:48.832Z] ---> 2edb39aabf8d [2021-05-11T15:23:48.833Z] Step 19/24 : EXPOSE 49986 [2021-05-11T15:23:48.833Z] ---> Running in 21e57934520a [2021-05-11T15:23:49.102Z] Removing intermediate container 21e57934520a [2021-05-11T15:23:49.102Z] ---> a7f7637cc8ad [2021-05-11T15:23:49.102Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-11T15:23:49.377Z] ---> Running in fcf46d9f8fb7 [2021-05-11T15:23:49.650Z] Removing intermediate container fcf46d9f8fb7 [2021-05-11T15:23:49.650Z] ---> ec97920ba0f3 [2021-05-11T15:23:49.650Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-11T15:23:49.925Z] ---> Running in 80033ca4ccb0 [2021-05-11T15:23:50.199Z] Removing intermediate container 80033ca4ccb0 [2021-05-11T15:23:50.199Z] ---> e8c0d1215b9b [2021-05-11T15:23:50.199Z] Step 22/24 : LABEL arch=arm64 [2021-05-11T15:23:50.473Z] ---> Running in f23cd22491a6 [2021-05-11T15:23:51.067Z] Removing intermediate container f23cd22491a6 [2021-05-11T15:23:51.067Z] ---> 9978b37886c2 [2021-05-11T15:23:51.067Z] Step 23/24 : LABEL git_sha=4f98354a1324b6971af40554b83b1d8fb938970d [2021-05-11T15:23:51.067Z] ---> Running in 6ee3885b25c2 [2021-05-11T15:23:51.676Z] Removing intermediate container 6ee3885b25c2 [2021-05-11T15:23:51.676Z] ---> bd89227ba5f1 [2021-05-11T15:23:51.676Z] Step 24/24 : LABEL version=1.2.2-dev.7 [2021-05-11T15:23:51.676Z] ---> Running in bf8c21023283 [2021-05-11T15:23:52.268Z] Removing intermediate container bf8c21023283 [2021-05-11T15:23:52.268Z] ---> a29429f6554f [2021-05-11T15:23:52.268Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-11T15:23:52.268Z] Successfully built a29429f6554f [2021-05-11T15:23:52.268Z] 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-11T15:23:52.410Z] provisioning config files... [2021-05-11T15:23:52.479Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/39@tmp/config713044861132165044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:23:52.831Z] ---> docker-login.sh [2021-05-11T15:23:52.831Z] nexus3.edgexfoundry.org:10001 [2021-05-11T15:23:53.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:23:53.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:23:53.377Z] Configure a credential helper to remove this warning. See [2021-05-11T15:23:53.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:23:53.377Z] [2021-05-11T15:23:53.377Z] Login Succeeded [2021-05-11T15:23:53.377Z] nexus3.edgexfoundry.org:10002 [2021-05-11T15:23:53.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:23:53.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:23:53.920Z] Configure a credential helper to remove this warning. See [2021-05-11T15:23:53.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:23:53.920Z] [2021-05-11T15:23:53.920Z] Login Succeeded [2021-05-11T15:23:53.920Z] nexus3.edgexfoundry.org:10003 [2021-05-11T15:23:54.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:23:54.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:23:54.475Z] Configure a credential helper to remove this warning. See [2021-05-11T15:23:54.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:23:54.475Z] [2021-05-11T15:23:54.475Z] Login Succeeded [2021-05-11T15:23:54.475Z] nexus3.edgexfoundry.org:10004 [2021-05-11T15:23:54.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:23:55.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:23:55.024Z] Configure a credential helper to remove this warning. See [2021-05-11T15:23:55.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:23:55.024Z] [2021-05-11T15:23:55.024Z] Login Succeeded [2021-05-11T15:23:55.024Z] docker.io [2021-05-11T15:23:55.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:23:55.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:23:55.896Z] Configure a credential helper to remove this warning. See [2021-05-11T15:23:55.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:23:55.896Z] [2021-05-11T15:23:55.896Z] Login Succeeded [2021-05-11T15:23:55.896Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T15:23:55.914Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-11T15:23:55.984Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: [2021-05-11T15:23:55.984Z] 4f98354a1324b6971af40554b83b1d8fb938970d [2021-05-11T15:23:55.984Z] latest [2021-05-11T15:23:55.984Z] 1.2.2-dev.7 [2021-05-11T15:23:55.984Z] 4f98354a1324b6971af40554b83b1d8fb938970d-1.2.2-dev.7 [2021-05-11T15:23:55.984Z] master [2021-05-11T15:23:55.984Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:23:56.363Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:4f98354a1324b6971af40554b83b1d8fb938970d [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:23:56.709Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:4f98354a1324b6971af40554b83b1d8fb938970d [2021-05-11T15:23:56.709Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-05-11T15:23:56.709Z] 91a86ea648fe: Preparing [2021-05-11T15:23:56.709Z] 774c3c472357: Preparing [2021-05-11T15:23:56.709Z] 1ab12b2d24cb: Preparing [2021-05-11T15:23:56.709Z] 9dfc3292948d: Preparing [2021-05-11T15:23:56.709Z] 3fbe34a1663b: Preparing [2021-05-11T15:23:57.002Z] 3fbe34a1663b: Layer already exists [2021-05-11T15:23:57.273Z] 774c3c472357: Pushed [2021-05-11T15:23:57.273Z] 91a86ea648fe: Pushed [2021-05-11T15:23:57.542Z] 9dfc3292948d: Pushed [2021-05-11T15:23:59.507Z] 1ab12b2d24cb: Pushed [2021-05-11T15:23:59.779Z] 4f98354a1324b6971af40554b83b1d8fb938970d: digest: sha256:6cb5fd4c316d0009db5686d16e3d4501e484d1f8d348a2932e5cb43cd322b5de size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:24:00.128Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:24:00.466Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2021-05-11T15:24:00.466Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-05-11T15:24:00.466Z] 91a86ea648fe: Preparing [2021-05-11T15:24:00.466Z] 774c3c472357: Preparing [2021-05-11T15:24:00.466Z] 1ab12b2d24cb: Preparing [2021-05-11T15:24:00.466Z] 9dfc3292948d: Preparing [2021-05-11T15:24:00.466Z] 3fbe34a1663b: Preparing [2021-05-11T15:24:00.466Z] 9dfc3292948d: Layer already exists [2021-05-11T15:24:00.466Z] 3fbe34a1663b: Layer already exists [2021-05-11T15:24:00.466Z] 91a86ea648fe: Layer already exists [2021-05-11T15:24:00.466Z] 774c3c472357: Layer already exists [2021-05-11T15:24:00.736Z] 1ab12b2d24cb: Layer already exists [2021-05-11T15:24:00.736Z] latest: digest: sha256:6cb5fd4c316d0009db5686d16e3d4501e484d1f8d348a2932e5cb43cd322b5de size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:24:01.073Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.2-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:24:01.406Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.2-dev.7 [2021-05-11T15:24:01.406Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-05-11T15:24:01.406Z] 91a86ea648fe: Preparing [2021-05-11T15:24:01.406Z] 774c3c472357: Preparing [2021-05-11T15:24:01.406Z] 1ab12b2d24cb: Preparing [2021-05-11T15:24:01.406Z] 9dfc3292948d: Preparing [2021-05-11T15:24:01.406Z] 3fbe34a1663b: Preparing [2021-05-11T15:24:01.676Z] 1ab12b2d24cb: Layer already exists [2021-05-11T15:24:01.676Z] 3fbe34a1663b: Layer already exists [2021-05-11T15:24:01.676Z] 774c3c472357: Layer already exists [2021-05-11T15:24:01.676Z] 9dfc3292948d: Layer already exists [2021-05-11T15:24:01.676Z] 91a86ea648fe: Layer already exists [2021-05-11T15:24:01.677Z] 1.2.2-dev.7: digest: sha256:6cb5fd4c316d0009db5686d16e3d4501e484d1f8d348a2932e5cb43cd322b5de size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:24:02.020Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:4f98354a1324b6971af40554b83b1d8fb938970d-1.2.2-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:24:02.357Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:4f98354a1324b6971af40554b83b1d8fb938970d-1.2.2-dev.7 [2021-05-11T15:24:02.357Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-05-11T15:24:02.357Z] 91a86ea648fe: Preparing [2021-05-11T15:24:02.357Z] 774c3c472357: Preparing [2021-05-11T15:24:02.357Z] 1ab12b2d24cb: Preparing [2021-05-11T15:24:02.357Z] 9dfc3292948d: Preparing [2021-05-11T15:24:02.357Z] 3fbe34a1663b: Preparing [2021-05-11T15:24:02.357Z] 91a86ea648fe: Layer already exists [2021-05-11T15:24:02.357Z] 9dfc3292948d: Layer already exists [2021-05-11T15:24:02.357Z] 1ab12b2d24cb: Layer already exists [2021-05-11T15:24:02.357Z] 774c3c472357: Layer already exists [2021-05-11T15:24:02.630Z] 3fbe34a1663b: Layer already exists [2021-05-11T15:24:02.630Z] 4f98354a1324b6971af40554b83b1d8fb938970d-1.2.2-dev.7: digest: sha256:6cb5fd4c316d0009db5686d16e3d4501e484d1f8d348a2932e5cb43cd322b5de size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:24:02.973Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:24:03.308Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [2021-05-11T15:24:03.308Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-05-11T15:24:03.308Z] 91a86ea648fe: Preparing [2021-05-11T15:24:03.308Z] 774c3c472357: Preparing [2021-05-11T15:24:03.308Z] 1ab12b2d24cb: Preparing [2021-05-11T15:24:03.308Z] 9dfc3292948d: Preparing [2021-05-11T15:24:03.308Z] 3fbe34a1663b: Preparing [2021-05-11T15:24:03.308Z] 3fbe34a1663b: Layer already exists [2021-05-11T15:24:03.308Z] 91a86ea648fe: Layer already exists [2021-05-11T15:24:03.577Z] 774c3c472357: Layer already exists [2021-05-11T15:24:03.577Z] 9dfc3292948d: Layer already exists [2021-05-11T15:24:03.577Z] 1ab12b2d24cb: Layer already exists [2021-05-11T15:24:03.577Z] master: digest: sha256:6cb5fd4c316d0009db5686d16e3d4501e484d1f8d348a2932e5cb43cd322b5de size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-11T15:24:03.643Z] ===================================================== [Pipeline] echo [2021-05-11T15:24:03.661Z] taggedImages: [2021-05-11T15:24:03.661Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:4f98354a1324b6971af40554b83b1d8fb938970d [2021-05-11T15:24:03.661Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2021-05-11T15:24:03.661Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.2-dev.7 [2021-05-11T15:24:03.661Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:4f98354a1324b6971af40554b83b1d8fb938970d-1.2.2-dev.7 [2021-05-11T15:24:03.661Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:24:04.085Z] ---> job-cost.sh [2021-05-11T15:24:04.085Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-dQ3N [2021-05-11T15:24:43.028Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T15:26:19.897Z] lf-activate-venv(): INFO: Adding /tmp/venv-dQ3N/bin to PATH [2021-05-11T15:26:19.897Z] INFO: No Stack... [2021-05-11T15:26:19.897Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-11T15:26:19.897Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T15:26:20.239Z] + cut -d, -f6 [2021-05-11T15:26:20.239Z] + cat /w/workspace/device-rest-go/39/archives/cost.csv [Pipeline] lock [2021-05-11T15:26:20.353Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-master-39-stack-cost] [2021-05-11T15:26:20.367Z] Resource [jenkins-edgexfoundry-device-rest-go-master-39-stack-cost] did not exist. Created. [2021-05-11T15:26:20.367Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-master-39-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T15:26:20.735Z] /w/workspace/device-rest-go/39@tmp/durable-1d3d459f/script.sh: 1: /w/workspace/device-rest-go/39@tmp/durable-1d3d459f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-11T15:26:21.078Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-11T15:26:21.098Z] Warning: overwriting stash ‘stack-cost’ [2021-05-11T15:26:21.242Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T15:26:21.256Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-master-39-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-11T15:26:21.702Z] provisioning config files... [2021-05-11T15:26:21.719Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3347441052145512110tmp [Pipeline] { [Pipeline] sh [2021-05-11T15:26:22.146Z] + set +x [2021-05-11T15:26:22.146Z] + curl -s https://codecov.io/bash [2021-05-11T15:26:22.146Z] + bash -s -- [2021-05-11T15:26:22.430Z] [2021-05-11T15:26:22.430Z] _____ _ [2021-05-11T15:26:22.430Z] / ____| | | [2021-05-11T15:26:22.430Z] | | ___ __| | ___ ___ _____ __ [2021-05-11T15:26:22.430Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-11T15:26:22.430Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-11T15:26:22.430Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-11T15:26:22.430Z] Bash-1.0.2 [2021-05-11T15:26:22.430Z] [2021-05-11T15:26:22.430Z] [2021-05-11T15:26:22.430Z] ==> git version 2.24.3 found [2021-05-11T15:26:22.430Z] ==> 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-11T15:26:22.430Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-11T15:26:22.430Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-11T15:26:22.430Z] ==> Jenkins CI detected. [2021-05-11T15:26:22.430Z] project root: . [2021-05-11T15:26:22.430Z] --> token set from env [2021-05-11T15:26:22.430Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-11T15:26:22.730Z] ==> Running gcov in . (disable via -X gcov) [2021-05-11T15:26:22.730Z] ==> Python coveragepy not found [2021-05-11T15:26:22.730Z] ==> Searching for coverage reports in: [2021-05-11T15:26:22.730Z] + . [2021-05-11T15:26:22.730Z] -> Found 1 reports [2021-05-11T15:26:22.730Z] ==> Detecting git/mercurial file structure [2021-05-11T15:26:22.730Z] ==> Reading reports [2021-05-11T15:26:22.730Z] + ./coverage.out bytes=8513 [2021-05-11T15:26:22.730Z] ==> Appending adjustments [2021-05-11T15:26:22.730Z] https://docs.codecov.io/docs/fixing-reports [2021-05-11T15:26:23.053Z] + Found adjustments [2021-05-11T15:26:23.053Z] ==> Gzipping contents [2021-05-11T15:26:23.053Z] 4.0K /tmp/codecov.Y8U7Pf.gz [2021-05-11T15:26:23.053Z] ==> Uploading reports [2021-05-11T15:26:23.053Z] url: https://codecov.io [2021-05-11T15:26:23.053Z] query: branch=master&commit=4f98354a1324b6971af40554b83b1d8fb938970d&build=39&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F39%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-11T15:26:23.053Z] -> Pinging Codecov [2021-05-11T15:26:23.053Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=4f98354a1324b6971af40554b83b1d8fb938970d&build=39&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F39%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-11T15:26:23.664Z] -> Uploading to [2021-05-11T15:26:23.664Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-11/4E5D53B4F1F92C436F7061BF334D961C/4f98354a1324b6971af40554b83b1d8fb938970d/b547b1ce-df40-497c-8c5f-8fab55a752b2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T152623Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0004ef265065a8085edc9ea1d427b3eafd81f8059b83bd6aede927b429beb204 [2021-05-11T15:26:23.664Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-11T15:26:23.664Z] Dload Upload Total Spent Left Speed [2021-05-11T15:26:24.254Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3881 --:--:-- --:--:-- --:--:-- 3891 [2021-05-11T15:26:24.254Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/4f98354a1324b6971af40554b83b1d8fb938970d [Pipeline] } [2021-05-11T15:26:24.269Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-11T15:26:24.938Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-11T15:26:24.963Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:26:25.311Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-11T15:26:25.592Z] [2021-05-11T15:26:25.592Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:26:25.970Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-11T15:26:26.384Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-11T15:26:26.384Z] 188c0c94c7c5: Pulling fs layer [2021-05-11T15:26:26.384Z] 0ef7d3d256c8: Pulling fs layer [2021-05-11T15:26:26.384Z] de9db76c5a1d: Pulling fs layer [2021-05-11T15:26:26.384Z] 0eba1c9be4d2: Pulling fs layer [2021-05-11T15:26:26.384Z] 0d57e429df01: Pulling fs layer [2021-05-11T15:26:26.384Z] 4e4be7b47b0d: Pulling fs layer [2021-05-11T15:26:26.384Z] e1f770b5df2f: Pulling fs layer [2021-05-11T15:26:26.384Z] 85a0685a4137: Pulling fs layer [2021-05-11T15:26:26.384Z] 0eba1c9be4d2: Waiting [2021-05-11T15:26:26.384Z] 0d57e429df01: Waiting [2021-05-11T15:26:26.384Z] 4e4be7b47b0d: Waiting [2021-05-11T15:26:26.384Z] e1f770b5df2f: Waiting [2021-05-11T15:26:26.384Z] 85a0685a4137: Waiting [2021-05-11T15:26:26.384Z] de9db76c5a1d: Verifying Checksum [2021-05-11T15:26:26.384Z] de9db76c5a1d: Download complete [2021-05-11T15:26:26.384Z] 0ef7d3d256c8: Download complete [2021-05-11T15:26:26.384Z] 0d57e429df01: Verifying Checksum [2021-05-11T15:26:26.384Z] 0d57e429df01: Download complete [2021-05-11T15:26:26.384Z] 4e4be7b47b0d: Verifying Checksum [2021-05-11T15:26:26.384Z] 4e4be7b47b0d: Download complete [2021-05-11T15:26:26.384Z] 188c0c94c7c5: Verifying Checksum [2021-05-11T15:26:26.384Z] 188c0c94c7c5: Download complete [2021-05-11T15:26:27.296Z] 188c0c94c7c5: Pull complete [2021-05-11T15:26:28.228Z] 0ef7d3d256c8: Pull complete [2021-05-11T15:26:28.511Z] de9db76c5a1d: Pull complete [2021-05-11T15:26:28.829Z] e1f770b5df2f: Verifying Checksum [2021-05-11T15:26:28.829Z] e1f770b5df2f: Download complete [2021-05-11T15:26:35.795Z] 0eba1c9be4d2: Download complete [2021-05-11T15:26:36.082Z] 85a0685a4137: Verifying Checksum [2021-05-11T15:26:36.082Z] 85a0685a4137: Download complete [2021-05-11T15:26:55.227Z] 0eba1c9be4d2: Pull complete [2021-05-11T15:26:55.227Z] 0d57e429df01: Pull complete [2021-05-11T15:26:55.227Z] 4e4be7b47b0d: Pull complete [2021-05-11T15:26:58.529Z] e1f770b5df2f: Pull complete [2021-05-11T15:27:21.388Z] 85a0685a4137: Pull complete [2021-05-11T15:27:21.388Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-11T15:27:21.388Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-11T15:27:21.388Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-11T15:27:22.135Z] prd-centos7-docker-4c-2g-4472 does not seem to be running inside a container [2021-05-11T15:27:22.308Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-11T15:27:24.673Z] $ docker top 5c0f5992d426cddc114bde67b5177415b6073a9684f751c069ead677af1df21f -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-11T15:27:25.129Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-11T15:27:25.502Z] + set -o pipefail [2021-05-11T15:27:25.502Z] + snyk monitor '--org=edgex-jenkins' [2021-05-11T15:27:40.982Z] [2021-05-11T15:27:40.982Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2021-05-11T15:27:40.982Z] [2021-05-11T15:27:40.982Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/50a848fc-a445-4196-8a66-618954051b46 [2021-05-11T15:27:40.982Z] [2021-05-11T15:27:40.982Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-11T15:27:40.982Z] [2021-05-11T15:27:40.982Z] [Pipeline] } [2021-05-11T15:27:41.628Z] $ docker stop --time=1 5c0f5992d426cddc114bde67b5177415b6073a9684f751c069ead677af1df21f [2021-05-11T15:27:44.173Z] $ docker rm -f 5c0f5992d426cddc114bde67b5177415b6073a9684f751c069ead677af1df21f [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-11T15:27:46.264Z] + git log --format=format:%s -1 4f98354a1324b6971af40554b83b1d8fb938970d [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:27:46.700Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T15:27:46.972Z] . [Pipeline] withDockerContainer [2021-05-11T15:27:47.368Z] prd-centos7-docker-4c-2g-4472 does not seem to be running inside a container [2021-05-11T15:27:47.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-11T15:27:49.243Z] $ docker top 3ae4da29c964480ee95cea98380352fc2caa8ef2778c650dcaa345dc06c09c9d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-11T15:27:49.702Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T15:27:49.702Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T15:27:50.277Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T15:27:50.286Z] $ docker exec 3ae4da29c964480ee95cea98380352fc2caa8ef2778c650dcaa345dc06c09c9d ssh-agent [2021-05-11T15:27:50.712Z] SSH_AUTH_SOCK=/tmp/ssh-3EUYW11ERY0A/agent.12 [2021-05-11T15:27:50.712Z] SSH_AGENT_PID=17 [2021-05-11T15:27:50.725Z] Running ssh-add (command line suppressed) [2021-05-11T15:27:51.001Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2966721471309346129.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2966721471309346129.key) [2021-05-11T15:27:51.299Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T15:27:52.036Z] + git semver tag [2021-05-11T15:27:52.323Z] # -> Open(): unable to determine branch for HEAD [2021-05-11T15:27:52.323Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-11T15:27:52.323Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-11T15:27:52.323Z] # $SEMVER_REMOTE_NAME = origin [2021-05-11T15:27:52.323Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-11T15:27:52.323Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-11T15:27:52.323Z] # $SEMVER_BRANCH = master [2021-05-11T15:27:52.323Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-05-11T15:27:52.323Z] # 4f98354a1324b6971af40554b83b1d8fb938970d HEAD [2021-05-11T15:27:52.323Z] # -> Force: false [2021-05-11T15:27:52.323Z] # e2402c51146100d98a9ff231515154822a457969 refs/tags/v1.2.2-dev.7 [Pipeline] } [2021-05-11T15:27:52.355Z] $ docker exec --env ******** --env ******** 3ae4da29c964480ee95cea98380352fc2caa8ef2778c650dcaa345dc06c09c9d ssh-agent -k [2021-05-11T15:27:52.923Z] unset SSH_AUTH_SOCK; [2021-05-11T15:27:52.924Z] unset SSH_AGENT_PID; [2021-05-11T15:27:52.925Z] echo Agent pid 17 killed; [2021-05-11T15:27:53.086Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T15:27:53.561Z] + git semver [Pipeline] } [2021-05-11T15:27:53.605Z] $ docker stop --time=1 3ae4da29c964480ee95cea98380352fc2caa8ef2778c650dcaa345dc06c09c9d [2021-05-11T15:27:55.460Z] $ docker rm -f 3ae4da29c964480ee95cea98380352fc2caa8ef2778c650dcaa345dc06c09c9d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:27:56.217Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-11T15:27:56.217Z] [2021-05-11T15:27:56.217Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:27:56.620Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-11T15:27:56.886Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-11T15:27:56.886Z] ab5ef0e58194: Pulling fs layer [2021-05-11T15:27:56.886Z] 9712f1f96733: Pulling fs layer [2021-05-11T15:27:56.886Z] 63f879dbbcfc: Pulling fs layer [2021-05-11T15:27:56.886Z] 0d9ebad4ef96: Pulling fs layer [2021-05-11T15:27:56.886Z] e9a5061849ea: Pulling fs layer [2021-05-11T15:27:56.886Z] d747dcd14b5f: Pulling fs layer [2021-05-11T15:27:56.886Z] 2de7ff778b66: Pulling fs layer [2021-05-11T15:27:56.886Z] 0d9ebad4ef96: Waiting [2021-05-11T15:27:56.886Z] e9a5061849ea: Waiting [2021-05-11T15:27:56.886Z] d747dcd14b5f: Waiting [2021-05-11T15:27:56.886Z] 2de7ff778b66: Waiting [2021-05-11T15:27:56.886Z] 9712f1f96733: Verifying Checksum [2021-05-11T15:27:56.886Z] 9712f1f96733: Download complete [2021-05-11T15:28:01.298Z] 63f879dbbcfc: Download complete [2021-05-11T15:28:01.594Z] e9a5061849ea: Verifying Checksum [2021-05-11T15:28:01.594Z] e9a5061849ea: Download complete [2021-05-11T15:28:01.594Z] d747dcd14b5f: Verifying Checksum [2021-05-11T15:28:01.594Z] d747dcd14b5f: Download complete [2021-05-11T15:28:02.749Z] 0d9ebad4ef96: Verifying Checksum [2021-05-11T15:28:02.749Z] 0d9ebad4ef96: Download complete [2021-05-11T15:28:02.749Z] 2de7ff778b66: Verifying Checksum [2021-05-11T15:28:02.749Z] 2de7ff778b66: Download complete [2021-05-11T15:28:03.785Z] ab5ef0e58194: Download complete [2021-05-11T15:28:16.409Z] ab5ef0e58194: Pull complete [2021-05-11T15:28:16.409Z] 9712f1f96733: Pull complete [2021-05-11T15:28:19.149Z] 63f879dbbcfc: Pull complete [2021-05-11T15:28:37.901Z] 0d9ebad4ef96: Pull complete [2021-05-11T15:28:39.895Z] e9a5061849ea: Pull complete [2021-05-11T15:28:39.895Z] d747dcd14b5f: Pull complete [2021-05-11T15:28:44.441Z] 2de7ff778b66: Pull complete [2021-05-11T15:28:44.441Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-11T15:28:44.441Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-11T15:28:44.441Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-11T15:28:45.196Z] prd-centos7-docker-4c-2g-4472 does not seem to be running inside a container [2021-05-11T15:28:45.523Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-11T15:28:49.163Z] $ docker top bb7b81120bb6becea7c3ca29acfdc794510734d6fcb9cc5007f973d0b9661b5c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-11T15:28:49.711Z] provisioning config files... [2021-05-11T15:28:49.776Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config821845585969217303tmp [2021-05-11T15:28:49.804Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8626229559766789372tmp [2021-05-11T15:28:49.827Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8706459116432267893tmp [Pipeline] { [Pipeline] echo [2021-05-11T15:28:49.855Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:28:50.600Z] ---> sigul-configuration.sh [2021-05-11T15:28:50.600Z] gpg: directory `/root/.gnupg' created [2021-05-11T15:28:50.600Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-11T15:28:50.600Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-11T15:28:50.600Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-11T15:28:50.600Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-11T15:28:50.600Z] gpg: CAST5 encrypted data [2021-05-11T15:28:50.600Z] gpg: encrypted with 1 passphrase [2021-05-11T15:28:50.600Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-11T15:28:51.529Z] + mkdir /home/jenkins [2021-05-11T15:28:51.529Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-11T15:28:52.505Z] + 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-11T15:28:52.550Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:28:53.360Z] ---> sigul-install.sh [2021-05-11T15:29:06.007Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-11T15:29:06.691Z] + git tag --list [2021-05-11T15:29:06.691Z] v1.0.0 [2021-05-11T15:29:06.691Z] v1.1.0 [2021-05-11T15:29:06.691Z] v1.1.1 [2021-05-11T15:29:06.691Z] v1.1.2 [2021-05-11T15:29:06.691Z] v1.2.0 [2021-05-11T15:29:06.691Z] v1.2.1 [2021-05-11T15:29:06.691Z] v1.2.1-dev.1 [2021-05-11T15:29:06.691Z] v1.2.1-dev.2 [2021-05-11T15:29:06.691Z] v1.2.1-dev.3 [2021-05-11T15:29:06.691Z] v1.2.1-dev.4 [2021-05-11T15:29:06.691Z] v1.2.2-dev.1 [2021-05-11T15:29:06.691Z] v1.2.2-dev.2 [2021-05-11T15:29:06.691Z] v1.2.2-dev.3 [2021-05-11T15:29:06.691Z] v1.2.2-dev.4 [2021-05-11T15:29:06.691Z] v1.2.2-dev.5 [2021-05-11T15:29:06.691Z] v1.2.2-dev.6 [2021-05-11T15:29:06.691Z] v1.2.2-dev.7 [Pipeline] sh [2021-05-11T15:29:07.465Z] + lftools sign git-tag v1.2.2-dev.7 [2021-05-11T15:29:09.451Z] Signing Git tag with Sigul... [2021-05-11T15:29:09.451Z] Signing v1.2.2-dev.7 [Pipeline] echo [2021-05-11T15:29:10.890Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:29:11.602Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-11T15:29:11.621Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-11T15:29:11.655Z] $ docker stop --time=1 bb7b81120bb6becea7c3ca29acfdc794510734d6fcb9cc5007f973d0b9661b5c [2021-05-11T15:29:13.867Z] $ docker rm -f bb7b81120bb6becea7c3ca29acfdc794510734d6fcb9cc5007f973d0b9661b5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:29:14.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T15:29:14.926Z] . [Pipeline] withDockerContainer [2021-05-11T15:29:15.446Z] prd-centos7-docker-4c-2g-4472 does not seem to be running inside a container [2021-05-11T15:29:15.727Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-11T15:29:17.777Z] $ docker top 5f39f3dfaa377a8ed05ee0fd7d998f3e5da16104ce65bd2af3ef0d706c8834d8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-11T15:29:18.307Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T15:29:18.307Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T15:29:18.989Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T15:29:18.995Z] $ docker exec 5f39f3dfaa377a8ed05ee0fd7d998f3e5da16104ce65bd2af3ef0d706c8834d8 ssh-agent [2021-05-11T15:29:19.458Z] SSH_AUTH_SOCK=/tmp/ssh-TJPPdoTlJlT0/agent.12 [2021-05-11T15:29:19.458Z] SSH_AGENT_PID=17 [2021-05-11T15:29:19.476Z] Running ssh-add (command line suppressed) [2021-05-11T15:29:20.132Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3272771724652338052.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3272771724652338052.key) [2021-05-11T15:29:20.463Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T15:29:21.184Z] + git semver bump pre [2021-05-11T15:29:21.184Z] # -> Open(): unable to determine branch for HEAD [2021-05-11T15:29:21.184Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-11T15:29:21.184Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-11T15:29:21.184Z] # $SEMVER_REMOTE_NAME = origin [2021-05-11T15:29:21.184Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-11T15:29:21.184Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-11T15:29:21.184Z] # $SEMVER_BRANCH = master [2021-05-11T15:29:21.184Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-05-11T15:29:21.184Z] 1.2.2-dev.8 [Pipeline] } [2021-05-11T15:29:21.232Z] $ docker exec --env ******** --env ******** 5f39f3dfaa377a8ed05ee0fd7d998f3e5da16104ce65bd2af3ef0d706c8834d8 ssh-agent -k [2021-05-11T15:29:21.939Z] unset SSH_AUTH_SOCK; [2021-05-11T15:29:21.940Z] unset SSH_AGENT_PID; [2021-05-11T15:29:21.940Z] echo Agent pid 17 killed; [2021-05-11T15:29:22.343Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T15:29:23.153Z] + git semver [Pipeline] } [2021-05-11T15:29:23.192Z] $ docker stop --time=1 5f39f3dfaa377a8ed05ee0fd7d998f3e5da16104ce65bd2af3ef0d706c8834d8 [2021-05-11T15:29:25.255Z] $ docker rm -f 5f39f3dfaa377a8ed05ee0fd7d998f3e5da16104ce65bd2af3ef0d706c8834d8 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:29:26.442Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T15:29:26.719Z] . [Pipeline] withDockerContainer [2021-05-11T15:29:27.430Z] prd-centos7-docker-4c-2g-4472 does not seem to be running inside a container [2021-05-11T15:29:27.838Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-11T15:29:31.277Z] $ docker top 3169fe1610b0af02c09e4ea82f052ef54b6ff619bd9671e6c05de48c414dd8d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-11T15:29:31.680Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T15:29:31.680Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T15:29:32.632Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T15:29:32.638Z] $ docker exec 3169fe1610b0af02c09e4ea82f052ef54b6ff619bd9671e6c05de48c414dd8d4 ssh-agent [2021-05-11T15:29:33.187Z] SSH_AUTH_SOCK=/tmp/ssh-rHAsx6oV3Euz/agent.11 [2021-05-11T15:29:33.187Z] SSH_AGENT_PID=16 [2021-05-11T15:29:33.213Z] Running ssh-add (command line suppressed) [2021-05-11T15:29:34.046Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3915075207502352584.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3915075207502352584.key) [2021-05-11T15:29:34.215Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T15:29:34.946Z] + git semver push [2021-05-11T15:29:34.946Z] # -> Open(): unable to determine branch for HEAD [2021-05-11T15:29:34.946Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-05-11T15:29:34.946Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-05-11T15:29:34.946Z] # $SEMVER_REMOTE_NAME = origin [2021-05-11T15:29:34.946Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-11T15:29:34.946Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-11T15:29:34.946Z] # $SEMVER_BRANCH = master [2021-05-11T15:29:34.946Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-05-11T15:29:40.375Z] $ docker exec --env ******** --env ******** 3169fe1610b0af02c09e4ea82f052ef54b6ff619bd9671e6c05de48c414dd8d4 ssh-agent -k [2021-05-11T15:29:40.976Z] unset SSH_AUTH_SOCK; [2021-05-11T15:29:40.979Z] unset SSH_AGENT_PID; [2021-05-11T15:29:40.982Z] echo Agent pid 16 killed; [2021-05-11T15:29:41.129Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T15:29:41.881Z] + git semver [Pipeline] } [2021-05-11T15:29:41.925Z] $ docker stop --time=1 3169fe1610b0af02c09e4ea82f052ef54b6ff619bd9671e6c05de48c414dd8d4 [2021-05-11T15:29:43.798Z] $ docker rm -f 3169fe1610b0af02c09e4ea82f052ef54b6ff619bd9671e6c05de48c414dd8d4 [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-11T15:29:44.746Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:29:46.116Z] ---> package-listing.sh [2021-05-11T15:29:46.116Z] ++ facter osfamily [2021-05-11T15:29:46.116Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-11T15:29:46.405Z] + OS_FAMILY=redhat [2021-05-11T15:29:46.405Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2021-05-11T15:29:46.405Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-11T15:29:46.405Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-11T15:29:46.405Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-11T15:29:46.405Z] + PACKAGES=/tmp/packages_start.txt [2021-05-11T15:29:46.405Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-05-11T15:29:46.405Z] + PACKAGES=/tmp/packages_end.txt [2021-05-11T15:29:46.405Z] + case "${OS_FAMILY}" in [2021-05-11T15:29:46.405Z] + sort [2021-05-11T15:29:46.405Z] + rpm -qa [2021-05-11T15:29:53.099Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-11T15:29:53.099Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-11T15:29:53.099Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-11T15:29:53.099Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-05-11T15:29:53.099Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2021-05-11T15:29:53.099Z] + 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-11T15:29:53.128Z] 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-11T15:29:53.489Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:29:54.163Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T15:29:54.483Z] [2021-05-11T15:29:54.483Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:29:55.193Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T15:29:55.193Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-11T15:29:55.193Z] df20fa9351a1: Pulling fs layer [2021-05-11T15:29:55.193Z] 36b3adc4ff6f: Pulling fs layer [2021-05-11T15:29:55.193Z] 8ad3a11d3b57: Pulling fs layer [2021-05-11T15:29:55.193Z] 46f8f816bc3b: Pulling fs layer [2021-05-11T15:29:55.193Z] 93b61091891f: Pulling fs layer [2021-05-11T15:29:55.193Z] 93b9cdb0e59b: Pulling fs layer [2021-05-11T15:29:55.193Z] 5e14af77c1be: Pulling fs layer [2021-05-11T15:29:55.193Z] 01666e4c0597: Pulling fs layer [2021-05-11T15:29:55.193Z] aa168da1d23b: Pulling fs layer [2021-05-11T15:29:55.193Z] 46f8f816bc3b: Waiting [2021-05-11T15:29:55.193Z] 93b61091891f: Waiting [2021-05-11T15:29:55.193Z] 93b9cdb0e59b: Waiting [2021-05-11T15:29:55.193Z] 5e14af77c1be: Waiting [2021-05-11T15:29:55.193Z] 01666e4c0597: Waiting [2021-05-11T15:29:55.193Z] aa168da1d23b: Waiting [2021-05-11T15:29:55.193Z] 36b3adc4ff6f: Verifying Checksum [2021-05-11T15:29:55.193Z] 36b3adc4ff6f: Download complete [2021-05-11T15:29:55.578Z] 46f8f816bc3b: Verifying Checksum [2021-05-11T15:29:55.578Z] 46f8f816bc3b: Download complete [2021-05-11T15:29:56.008Z] df20fa9351a1: Verifying Checksum [2021-05-11T15:29:56.008Z] df20fa9351a1: Download complete [2021-05-11T15:29:56.008Z] 93b9cdb0e59b: Verifying Checksum [2021-05-11T15:29:56.008Z] 93b9cdb0e59b: Download complete [2021-05-11T15:29:56.008Z] 5e14af77c1be: Verifying Checksum [2021-05-11T15:29:56.008Z] 5e14af77c1be: Download complete [2021-05-11T15:29:56.008Z] 01666e4c0597: Verifying Checksum [2021-05-11T15:29:56.008Z] 01666e4c0597: Download complete [2021-05-11T15:29:56.008Z] 93b61091891f: Verifying Checksum [2021-05-11T15:29:56.008Z] 93b61091891f: Download complete [2021-05-11T15:29:57.101Z] df20fa9351a1: Pull complete [2021-05-11T15:29:57.101Z] 8ad3a11d3b57: Verifying Checksum [2021-05-11T15:29:57.101Z] 8ad3a11d3b57: Download complete [2021-05-11T15:29:57.786Z] 36b3adc4ff6f: Pull complete [2021-05-11T15:29:59.919Z] 8ad3a11d3b57: Pull complete [2021-05-11T15:30:00.271Z] 46f8f816bc3b: Pull complete [2021-05-11T15:30:00.932Z] 93b61091891f: Pull complete [2021-05-11T15:30:01.601Z] 93b9cdb0e59b: Pull complete [2021-05-11T15:30:01.961Z] 5e14af77c1be: Pull complete [2021-05-11T15:30:02.597Z] 01666e4c0597: Pull complete [2021-05-11T15:30:03.639Z] aa168da1d23b: Verifying Checksum [2021-05-11T15:30:03.639Z] aa168da1d23b: Download complete [2021-05-11T15:30:22.411Z] aa168da1d23b: Pull complete [2021-05-11T15:30:22.411Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-11T15:30:22.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T15:30:22.411Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-11T15:30:22.841Z] prd-centos7-docker-4c-2g-4472 does not seem to be running inside a container [2021-05-11T15:30:23.005Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-11T15:30:27.403Z] $ docker top 5ab34c015e75174fdc15fd51ab93e3a76b0a08c9cb363ec06a2fb46c38e8fdf4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T15:30:28.715Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-11T15:30:29.699Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-11T15:30:30.469Z] + ls /var/log/sa-host [2021-05-11T15:30:30.469Z] + sadf -c /var/log/sa-host/sa11 [2021-05-11T15:30:30.469Z] file_magic: OK [2021-05-11T15:30:30.469Z] HZ: Using current value: 100 [2021-05-11T15:30:30.469Z] file_header: OK [2021-05-11T15:30:30.469Z] 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-11T15:30:30.469Z] Statistics: [2021-05-11T15:30:30.469Z] 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... [2021-05-11T15:30:30.469Z] File successfully converted to sysstat format version 12.2.1 [2021-05-11T15:30:30.469Z] + sadf -c /var/log/sa-host/sa23 [2021-05-11T15:30:30.469Z] file_magic: OK [2021-05-11T15:30:30.469Z] HZ: Using current value: 100 [2021-05-11T15:30:30.469Z] file_header: OK [2021-05-11T15:30:30.470Z] 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-11T15:30:30.470Z] Statistics: [2021-05-11T15:30:30.470Z] Hnuu...uuuununununu... [2021-05-11T15:30:30.470Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-11T15:30:30.683Z] provisioning config files... [2021-05-11T15:30:30.735Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7743812339732654816tmp [Pipeline] { [Pipeline] echo [2021-05-11T15:30:30.767Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:30:31.174Z] ---> create-netrc.sh [Pipeline] } [2021-05-11T15:30:31.547Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-11T15:30:31.585Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:30:32.298Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-11T15:30:32.315Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:30:33.036Z] ---> sudo-logs.sh [2021-05-11T15:30:33.036Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-11T15:30:33.093Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:30:33.788Z] ---> job-cost.sh [2021-05-11T15:30:33.788Z] lf-activate-venv: SKIPPING [2021-05-11T15:30:33.788Z] DEBUG: total: 0.20999999344348907 [2021-05-11T15:30:33.788Z] INFO: Retrieving Stack Cost... [2021-05-11T15:30:35.799Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T15:30:36.882Z] INFO: Archiving Costs [Pipeline] echo [2021-05-11T15:30:36.908Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:30:38.108Z] ---> logs-deploy.sh [2021-05-11T15:30:38.108Z] lf-activate-venv: SKIPPING [2021-05-11T15:30:38.108Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/39 [2021-05-11T15:30:38.108Z] INFO: archiving workspace using pattern(s): [2021-05-11T15:30:41.701Z] Archives upload complete. [2021-05-11T15:30:41.701Z] INFO: archiving logs to Nexus