Pull request #96 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from e49a06c3c66a55c70ec67bdc5be023fc399b112a+196bef76aa0a3d89dc26ac944eff062c8405d7e3 (5cbe14d27fc74dfa68adcd85907ee8cdbf3ab659) 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > 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: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4844 in /w/workspace/dgexfoundry_device-rest-go_PR-96 [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/dgexfoundry_device-rest-go_PR-96 # 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 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/pull/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 196bef76aa0a3d89dc26ac944eff062c8405d7e3 into PR head commit e49a06c3c66a55c70ec67bdc5be023fc399b112a Merge succeeded, producing e49a06c3c66a55c70ec67bdc5be023fc399b112a Checking out Revision e49a06c3c66a55c70ec67bdc5be023fc399b112a (PR-96) > git config core.sparsecheckout # timeout=10 > git checkout -f e49a06c3c66a55c70ec67bdc5be023fc399b112a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 196bef76aa0a3d89dc26ac944eff062c8405d7e3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e49a06c3c66a55c70ec67bdc5be023fc399b112a # timeout=10 Commit message: "refactor: Secure Messagebus Rework" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:23:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:23:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:23:09 ========================================================= 20:23:09 EdgeX Global Pipelines Version Info 20:23:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 14363d849f4049583840bd0deab993d7e0e00cc5 # timeout=10 20:23:12 ------------------- 20:23:12 stable info: 20:23:12 ------------------- 20:23:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:23:12 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 20:23:12 Message: update stable to v1.0.192 20:23:13 ------------------- 20:23:13 experimental info: 20:23:13 ------------------- 20:23:13 Commited By: **** collab-it+edgex@linuxfoundation.org 20:23:13 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 20:23:13 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-96 [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-96 [Pipeline] echo 20:23:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-96 [Pipeline] echo 20:23:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e49a06c3c66a55c70ec67bdc5be023fc399b112a [Pipeline] echo 20:23:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e49a06c [Pipeline] echo 20:23:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:23:14 provisioning config files... 20:23:14 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-96@tmp/config7240437975603271745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:23:14 ---> docker-login.sh 20:23:14 nexus3.edgexfoundry.org:10001 20:23:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:16 Configure a credential helper to remove this warning. See 20:23:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:16 20:23:16 Login Succeeded 20:23:16 nexus3.edgexfoundry.org:10002 20:23:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:17 Configure a credential helper to remove this warning. See 20:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:17 20:23:17 Login Succeeded 20:23:17 nexus3.edgexfoundry.org:10003 20:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:17 Configure a credential helper to remove this warning. See 20:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:17 20:23:17 Login Succeeded 20:23:17 nexus3.edgexfoundry.org:10004 20:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:17 Configure a credential helper to remove this warning. See 20:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:17 20:23:17 Login Succeeded 20:23:17 docker.io 20:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:18 Configure a credential helper to remove this warning. See 20:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:18 20:23:18 Login Succeeded 20:23:18 ---> docker-login.sh ends [Pipeline] } 20:23:18 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 20:23:18 + git log --format=format:%s -1 e49a06c3c66a55c70ec67bdc5be023fc399b112a [Pipeline] echo 20:23:19 GIT_COMMIT: e49a06c3c66a55c70ec67bdc5be023fc399b112a, Commit Message: refactor: Secure Messagebus Rework [Pipeline] echo 20:23:19 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:23:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:23:19 20:23:19 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:23:20 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:23:20 latest: Pulling from edgex-devops/git-semver 20:23:20 31603596830f: Pulling fs layer 20:23:20 54011a49482f: Pulling fs layer 20:23:20 a6820b24f6d8: Pulling fs layer 20:23:20 f581987b2513: Pulling fs layer 20:23:20 f581987b2513: Waiting 20:23:20 54011a49482f: Verifying Checksum 20:23:20 54011a49482f: Download complete 20:23:20 31603596830f: Verifying Checksum 20:23:20 31603596830f: Download complete 20:23:20 f581987b2513: Verifying Checksum 20:23:20 f581987b2513: Download complete 20:23:20 a6820b24f6d8: Verifying Checksum 20:23:20 a6820b24f6d8: Download complete 20:23:21 31603596830f: Pull complete 20:23:21 54011a49482f: Pull complete 20:23:23 a6820b24f6d8: Pull complete 20:23:24 f581987b2513: Pull complete 20:23:24 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 20:23:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:23:24 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:23:24 prd-centos7-docker-4c-2g-4844 does not seem to be running inside a container 20:23:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-96 -v /w/workspace/dgexfoundry_device-rest-go_PR-96:/w/workspace/dgexfoundry_device-rest-go_PR-96:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-96@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-96@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:23:27 $ docker top 4a09135c94cd826059f3c1923af94fd74f69033a307ba53c2cb782104fbf88fd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:23:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:23:28 [ssh-agent] Looking for ssh-agent implementation... 20:23:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:23:29 $ docker exec 4a09135c94cd826059f3c1923af94fd74f69033a307ba53c2cb782104fbf88fd ssh-agent 20:23:30 SSH_AUTH_SOCK=/tmp/ssh-J7SY34stsEnx/agent.11 20:23:30 SSH_AGENT_PID=16 20:23:30 Running ssh-add (command line suppressed) 20:23:30 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-96@tmp/private_key_5960498825575734846.key (/w/workspace/dgexfoundry_device-rest-go_PR-96@tmp/private_key_5960498825575734846.key) 20:23:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:23:30 + git tag --points-at HEAD [Pipeline] } 20:23:30 $ docker exec --env ******** --env ******** 4a09135c94cd826059f3c1923af94fd74f69033a307ba53c2cb782104fbf88fd ssh-agent -k 20:23:31 unset SSH_AUTH_SOCK; 20:23:31 unset SSH_AGENT_PID; 20:23:31 echo Agent pid 16 killed; 20:23:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:23:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:23:31 [ssh-agent] Looking for ssh-agent implementation... 20:23:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:23:31 $ docker exec 4a09135c94cd826059f3c1923af94fd74f69033a307ba53c2cb782104fbf88fd ssh-agent 20:23:31 SSH_AUTH_SOCK=/tmp/ssh-YNg90DGM79fr/agent.45 20:23:31 SSH_AGENT_PID=50 20:23:31 Running ssh-add (command line suppressed) 20:23:32 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-96@tmp/private_key_2784252380630962579.key (/w/workspace/dgexfoundry_device-rest-go_PR-96@tmp/private_key_2784252380630962579.key) 20:23:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:23:32 + git semver init 20:23:32 # -> Open(): unable to determine branch for HEAD 20:23:32 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-96/.git 20:23:32 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-96 20:23:32 # $SEMVER_REMOTE_NAME = origin 20:23:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:23:32 # $SEMVER_USER_NAME = edgex-jenkins 20:23:32 # $SEMVER_BRANCH = PR-96 20:23:32 # $SEMVER_TEMP = /tmp/semver-415386548 20:23:32 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 20:23:33 # '/tmp/semver-415386548' -> '/w/workspace/dgexfoundry_device-rest-go_PR-96/.semver' 20:23:33 # -> Force: false 20:23:33 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-96/.semver [Pipeline] } 20:23:34 $ docker exec --env ******** --env ******** 4a09135c94cd826059f3c1923af94fd74f69033a307ba53c2cb782104fbf88fd ssh-agent -k 20:23:34 unset SSH_AUTH_SOCK; 20:23:34 unset SSH_AGENT_PID; 20:23:34 echo Agent pid 50 killed; 20:23:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:23:34 + git semver [Pipeline] } 20:23:34 $ docker stop --time=1 4a09135c94cd826059f3c1923af94fd74f69033a307ba53c2cb782104fbf88fd 20:23:36 $ docker rm -f 4a09135c94cd826059f3c1923af94fd74f69033a307ba53c2cb782104fbf88fd [Pipeline] // withDockerContainer [Pipeline] sh 20:23:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:23:37 Stashed 1 file(s) [Pipeline] echo 20:23:37 [edgeXSemver]: initialized semver on version 0.0.0 [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 20:23:53 Still waiting to schedule task 20:23:53 ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4800’ is offline; ‘prd-centos7-docker-4c-2g-4802’ is offline; ‘prd-centos7-docker-4c-2g-4807’ is offline; ‘prd-centos7-docker-4c-2g-4808’ is offline; ‘prd-centos7-docker-4c-2g-4810’ is offline; ‘prd-centos7-docker-4c-2g-4813’ is offline; ‘prd-centos7-docker-4c-2g-4814’ is offline; ‘prd-centos7-docker-4c-2g-4815’ is offline; ‘prd-centos7-docker-4c-2g-4821’ is offline; ‘prd-centos7-docker-4c-2g-4831’ is offline; ‘prd-centos7-docker-4c-2g-4850’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-4834’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-4836’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-4839’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-4840’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4818’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4819’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4823’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4824’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4825’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4828’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4832’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4833’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4849’ doesn’t have label ‘centos7-docker-4c-2g’ 20:23:53 Still waiting to schedule task 20:23:53 ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4800’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4802’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4807’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4808’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4810’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4813’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4814’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4815’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4821’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4831’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4850’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-8c-8g-4834’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-8c-8g-4836’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-8c-8g-4839’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-8c-8g-4840’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4818’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4819’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4823’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4824’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4825’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4828’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4832’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4833’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4849’ is offline 20:29:06 Running on prd-centos7-docker-4c-2g-4857 in /w/workspace/dgexfoundry_device-rest-go_PR-96 [Pipeline] { [Pipeline] ws 20:29:06 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 20:29:16 using credential edgex-jenkins-ssh 20:29:16 Cloning the remote Git repository 20:29:16 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:29:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4853 in /w/workspace/dgexfoundry_device-rest-go_PR-96 [Pipeline] { [Pipeline] ws 20:29:17 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 20:29:16 > git init /w/workspace/device-rest-go/2 # timeout=10 20:29:17 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:29:17 > git --version # timeout=10 20:29:17 > git --version # 'git version 2.24.3' 20:29:17 using GIT_SSH to set credentials SSH Credentials for GitHub 20:29:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:29:18 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:29:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:29:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:29:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:29:19 using GIT_SSH to set credentials SSH Credentials for GitHub 20:29:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:29:19 Merging remotes/origin/master commit 196bef76aa0a3d89dc26ac944eff062c8405d7e3 into PR head commit e49a06c3c66a55c70ec67bdc5be023fc399b112a 20:29:20 Merge succeeded, producing e49a06c3c66a55c70ec67bdc5be023fc399b112a 20:29:20 Checking out Revision e49a06c3c66a55c70ec67bdc5be023fc399b112a (PR-96) 20:29:19 > git config core.sparsecheckout # timeout=10 20:29:19 > git checkout -f e49a06c3c66a55c70ec67bdc5be023fc399b112a # timeout=10 20:29:19 > git remote # timeout=10 20:29:19 > git config --get remote.origin.url # timeout=10 20:29:19 using GIT_SSH to set credentials SSH Credentials for GitHub 20:29:19 > git merge 196bef76aa0a3d89dc26ac944eff062c8405d7e3 # timeout=10 20:29:20 > git rev-parse HEAD^{commit} # timeout=10 20:29:20 > git config core.sparsecheckout # timeout=10 20:29:20 > git checkout -f e49a06c3c66a55c70ec67bdc5be023fc399b112a # timeout=10 20:29:24 using credential edgex-jenkins-ssh 20:29:24 Cloning the remote Git repository 20:29:24 Commit message: "refactor: Secure Messagebus Rework" 20:29:24 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:29:24 > git init /w/workspace/device-rest-go/2 # timeout=10 20:29:24 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:29:24 > git --version # timeout=10 20:29:24 > git --version # 'git version 2.17.1' 20:29:24 using GIT_SSH to set credentials SSH Credentials for GitHub [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:29:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:29:26 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:29:27 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:29:27 + sudo service docker restart 20:29:27 + true 20:29:27 Redirecting to /bin/systemctl restart docker.service 20:29:27 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:29:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:29:27 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:29:28 Merging remotes/origin/master commit 196bef76aa0a3d89dc26ac944eff062c8405d7e3 into PR head commit e49a06c3c66a55c70ec67bdc5be023fc399b112a 20:29:28 Merge succeeded, producing e49a06c3c66a55c70ec67bdc5be023fc399b112a 20:29:28 Checking out Revision e49a06c3c66a55c70ec67bdc5be023fc399b112a (PR-96) 20:29:27 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:29:27 using GIT_SSH to set credentials SSH Credentials for GitHub 20:29:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:29:28 > git config core.sparsecheckout # timeout=10 20:29:28 > git checkout -f e49a06c3c66a55c70ec67bdc5be023fc399b112a # timeout=10 20:29:28 > git remote # timeout=10 20:29:28 > git config --get remote.origin.url # timeout=10 20:29:28 using GIT_SSH to set credentials SSH Credentials for GitHub 20:29:28 > git merge 196bef76aa0a3d89dc26ac944eff062c8405d7e3 # timeout=10 20:29:28 > git rev-parse HEAD^{commit} # timeout=10 20:29:28 > git config core.sparsecheckout # timeout=10 20:29:28 > git checkout -f e49a06c3c66a55c70ec67bdc5be023fc399b112a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:29:29 provisioning config files... 20:29:29 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config202706054495144330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:30 ---> docker-login.sh 20:29:30 nexus3.edgexfoundry.org:10001 20:29:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:30 Configure a credential helper to remove this warning. See 20:29:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:30 20:29:30 Login Succeeded 20:29:30 nexus3.edgexfoundry.org:10002 20:29:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:31 Configure a credential helper to remove this warning. See 20:29:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:31 20:29:31 Login Succeeded 20:29:31 nexus3.edgexfoundry.org:10003 20:29:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:32 Configure a credential helper to remove this warning. See 20:29:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:32 20:29:32 Login Succeeded 20:29:32 nexus3.edgexfoundry.org:10004 20:29:32 Commit message: "refactor: Secure Messagebus Rework" 20:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:33 Configure a credential helper to remove this warning. See 20:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:33 20:29:33 Login Succeeded 20:29:33 docker.io [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:33 Configure a credential helper to remove this warning. See 20:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:33 20:29:33 Login Succeeded 20:29:33 ---> docker-login.sh ends [Pipeline] } 20:29:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 20:29:34 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [Pipeline] echo 20:29:34 ========================================================= 20:29:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 20:29:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:29:34 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:29:35 + 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 . 20:29:35 Sending build context to Docker daemon 92.16kB 20:29:35 + true 20:29:35 + sudo service docker restart 20:29:35 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 20:29:35 Step 2/10 : FROM ${BASE} 20:29:35 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 20:29:35 540db60ca938: Pulling fs layer 20:29:35 adcc1eea9eea: Pulling fs layer 20:29:35 4c4ab2625f07: Pulling fs layer 20:29:35 0510c868ecb4: Pulling fs layer 20:29:35 afea3b2eda06: Pulling fs layer 20:29:35 7809a108b3ef: Pulling fs layer 20:29:35 f706445af74f: Pulling fs layer 20:29:35 afea3b2eda06: Waiting 20:29:35 7809a108b3ef: Waiting 20:29:35 f706445af74f: Waiting 20:29:35 0510c868ecb4: Waiting 20:29:35 4c4ab2625f07: Verifying Checksum 20:29:35 4c4ab2625f07: Download complete 20:29:35 adcc1eea9eea: Verifying Checksum 20:29:35 adcc1eea9eea: Download complete 20:29:36 7809a108b3ef: Verifying Checksum 20:29:36 7809a108b3ef: Download complete 20:29:36 540db60ca938: Verifying Checksum 20:29:36 540db60ca938: Download complete 20:29:37 540db60ca938: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:29:37 provisioning config files... 20:29:37 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config6120862009500409790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:37 ---> docker-login.sh 20:29:37 nexus3.edgexfoundry.org:10001 20:29:37 adcc1eea9eea: Pull complete 20:29:38 4c4ab2625f07: Pull complete 20:29:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:40 Configure a credential helper to remove this warning. See 20:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:40 20:29:40 Login Succeeded 20:29:40 nexus3.edgexfoundry.org:10002 20:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:40 Configure a credential helper to remove this warning. See 20:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:40 20:29:40 Login Succeeded 20:29:40 nexus3.edgexfoundry.org:10003 20:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:40 Configure a credential helper to remove this warning. See 20:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:40 20:29:40 Login Succeeded 20:29:40 nexus3.edgexfoundry.org:10004 20:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:41 Configure a credential helper to remove this warning. See 20:29:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:41 20:29:41 Login Succeeded 20:29:41 docker.io 20:29:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:42 Configure a credential helper to remove this warning. See 20:29:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:42 20:29:42 Login Succeeded 20:29:42 ---> docker-login.sh ends [Pipeline] } 20:29:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 20:29:42 f706445af74f: Verifying Checksum 20:29:42 f706445af74f: Download complete [Pipeline] echo 20:29:42 ========================================================= 20:29:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 20:29:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:29:42 + 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 . 20:29:42 Sending build context to Docker daemon 92.16kB 20:29:43 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 20:29:43 Step 2/10 : FROM ${BASE} 20:29:43 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:29:43 595b0fe564bb: Pulling fs layer 20:29:43 7186ed65a4f7: Pulling fs layer 20:29:43 316046926c0a: Pulling fs layer 20:29:43 4ebd0625c992: Pulling fs layer 20:29:43 207e8628e3a3: Pulling fs layer 20:29:43 c791037a9be2: Pulling fs layer 20:29:43 ffd874e62e21: Pulling fs layer 20:29:43 c791037a9be2: Waiting 20:29:43 4ebd0625c992: Waiting 20:29:43 207e8628e3a3: Waiting 20:29:43 ffd874e62e21: Waiting 20:29:43 316046926c0a: Download complete 20:29:43 7186ed65a4f7: Verifying Checksum 20:29:43 7186ed65a4f7: Download complete 20:29:43 207e8628e3a3: Verifying Checksum 20:29:43 207e8628e3a3: Download complete 20:29:43 c791037a9be2: Download complete 20:29:43 595b0fe564bb: Verifying Checksum 20:29:43 595b0fe564bb: Download complete 20:29:44 595b0fe564bb: Pull complete 20:29:44 7186ed65a4f7: Pull complete 20:29:44 316046926c0a: Pull complete 20:29:45 ffd874e62e21: Verifying Checksum 20:29:45 ffd874e62e21: Download complete 20:29:45 0510c868ecb4: Verifying Checksum 20:29:45 0510c868ecb4: Download complete 20:29:47 4ebd0625c992: Verifying Checksum 20:29:47 4ebd0625c992: Download complete 20:29:56 0510c868ecb4: Pull complete 20:29:56 afea3b2eda06: Pull complete 20:29:56 7809a108b3ef: Pull complete 20:29:57 4ebd0625c992: Pull complete 20:29:58 207e8628e3a3: Pull complete 20:29:58 c791037a9be2: Pull complete 20:30:02 ffd874e62e21: Pull complete 20:30:02 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 20:30:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:30:02 ---> cfc18b08335c 20:30:02 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:30:02 f706445af74f: Pull complete 20:30:02 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 20:30:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:30:02 ---> b068be0155e3 20:30:02 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:30:03 ---> Running in af6d409b93ab 20:30:03 Removing intermediate container af6d409b93ab 20:30:03 ---> 5d01345148ea 20:30:03 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 20:30:03 ---> Running in ced46f963fc6 20:30:04 Removing intermediate container ced46f963fc6 20:30:04 ---> 70cec340d236 20:30:04 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:30:04 ---> Running in 32d669ee92f1 20:30:04 Removing intermediate container 32d669ee92f1 20:30:04 ---> 1807f24ae7ac 20:30:04 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:30:04 ---> Running in ae634fa0695c 20:30:06 Removing intermediate container ae634fa0695c 20:30:06 ---> cbe7162b7bd2 20:30:06 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:30:06 ---> Running in 2c6baf1c8499 20:30:06 Removing intermediate container 2c6baf1c8499 20:30:06 ---> 60112b65cf5f 20:30:06 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 20:30:06 ---> Running in b81c1aaeeff1 20:30:06 ---> Running in 6bf36b2231b7 20:30:06 Removing intermediate container b81c1aaeeff1 20:30:06 ---> b541e87bc373 20:30:06 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:30:07 ---> Running in 26afb0c95b4d 20:30:07 Removing intermediate container 26afb0c95b4d 20:30:07 ---> 3b34b7032c2a 20:30:07 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:30:07 ---> Running in 7bd2136534d2 20:30:07 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:30:08 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:30:09 (1/9) Installing libc-dev (0.7.2-r3) 20:30:09 (2/9) Installing libsodium (1.0.18-r0) 20:30:09 (3/9) Installing pkgconf (1.7.3-r0) 20:30:10 (4/9) Installing libsodium-dev (1.0.18-r0) 20:30:10 (5/9) Installing openssh-keygen (8.4_p1-r3) 20:30:10 Removing intermediate container 7bd2136534d2 20:30:10 ---> c15c0425cfe3 20:30:10 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:30:10 ---> Running in ba37fe2c82c1 20:30:10 (6/9) Installing libedit (20191231.3.1-r1) 20:30:10 (7/9) Installing openssh-client (8.4_p1-r3) 20:30:11 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:30:12 (8/9) Installing libzmq (4.3.3-r1) 20:30:12 (9/9) Installing zeromq-dev (4.3.3-r1) 20:30:12 Executing busybox-1.32.1-r6.trigger 20:30:12 OK: 154 MiB in 49 packages 20:30:12 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:30:13 (1/9) Installing libc-dev (0.7.2-r3) 20:30:13 (2/9) Installing libsodium (1.0.18-r0) 20:30:13 (3/9) Installing pkgconf (1.7.3-r0) 20:30:13 Removing intermediate container 6bf36b2231b7 20:30:13 ---> b418f6c78b5a 20:30:13 Step 8/10 : WORKDIR /device-rest-go 20:30:13 ---> Running in 8af3ff8dde96 20:30:14 (4/9) Installing libsodium-dev (1.0.18-r0) 20:30:14 (5/9) Installing openssh-keygen (8.4_p1-r3) 20:30:14 Removing intermediate container 8af3ff8dde96 20:30:14 ---> 60458b3420fb 20:30:14 Step 9/10 : COPY . . 20:30:14 (6/9) Installing libedit (20191231.3.1-r1) 20:30:14 (7/9) Installing openssh-client (8.4_p1-r3) 20:30:14 ---> 57aa0ea146b5 20:30:14 Step 10/10 : RUN go mod download 20:30:14 ---> Running in d27b9f97c100 20:30:17 (8/9) Installing libzmq (4.3.3-r1) 20:30:17 (9/9) Installing zeromq-dev (4.3.3-r1) 20:30:17 Executing busybox-1.32.1-r6.trigger 20:30:17 OK: 144 MiB in 49 packages 20:30:18 Removing intermediate container ba37fe2c82c1 20:30:18 ---> eca6eabbdaf5 20:30:18 Step 8/10 : WORKDIR /device-rest-go 20:30:18 ---> Running in f1c233e01c00 20:30:19 Removing intermediate container f1c233e01c00 20:30:19 ---> e3c13c252944 20:30:19 Step 9/10 : COPY . . 20:30:20 ---> 835984115892 20:30:20 Step 10/10 : RUN go mod download 20:30:20 ---> Running in 699b2c79ab64 20:30:46 Removing intermediate container 699b2c79ab64 20:30:46 ---> 706444a84087 20:30:46 Successfully built 706444a84087 20:30:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:30:47 + docker inspect -f . ci-base-image-arm64 20:30:47 . [Pipeline] withDockerContainer 20:30:47 prd-ubuntu18.04-docker-arm64-4c-16g-4853 does not seem to be running inside a container 20:30:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:30:49 $ docker top 429ef59e0d218fa09b834c2cc8fc76ac90a9ac6768cdbc5be0d5ffc544a64814 -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:50 + go version 20:30:50 go version go1.16.3 linux/arm64 [Pipeline] } 20:30:50 $ docker stop --time=1 429ef59e0d218fa09b834c2cc8fc76ac90a9ac6768cdbc5be0d5ffc544a64814 20:30:52 $ docker rm -f 429ef59e0d218fa09b834c2cc8fc76ac90a9ac6768cdbc5be0d5ffc544a64814 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:30:53 + docker inspect -f . ci-base-image-arm64 20:30:53 . [Pipeline] withDockerContainer 20:30:53 prd-ubuntu18.04-docker-arm64-4c-16g-4853 does not seem to be running inside a container 20:30:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:30:54 Removing intermediate container d27b9f97c100 20:30:54 ---> d40490b45a67 20:30:54 Successfully built d40490b45a67 20:30:54 Successfully tagged ci-base-image-x86_64:latest 20:30:55 $ docker top f36507745864d4dea6182fa1681214aea88a38d341f49cdd98905d9061683822 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 20:30:56 + docker inspect -f . ci-base-image-x86_64 20:30:56 + go mod tidy 20:30:57 . [Pipeline] withDockerContainer 20:30:57 prd-centos7-docker-4c-2g-4857 does not seem to be running inside a container 20:30:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:31:00 $ docker top e615762ea2d920cfc7cd5d7f099972416d6a933fd565b75a2ab2f2eaa62a58ec -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 20:31:01 + make test 20:31:01 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:31:01 + go version 20:31:01 go version go1.16.3 linux/amd64 [Pipeline] } 20:31:01 $ docker stop --time=1 e615762ea2d920cfc7cd5d7f099972416d6a933fd565b75a2ab2f2eaa62a58ec 20:31:02 ? github.com/edgexfoundry/device-rest-go [no test files] 20:31:03 $ docker rm -f e615762ea2d920cfc7cd5d7f099972416d6a933fd565b75a2ab2f2eaa62a58ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:31:04 + docker inspect -f . ci-base-image-x86_64 20:31:04 . [Pipeline] withDockerContainer 20:31:05 prd-centos7-docker-4c-2g-4857 does not seem to be running inside a container 20:31:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:31:07 $ docker top 5131ee1acd9dbf44c300eba37a1b0fee6454a5fd684225ad56f36f8661ee6ea8 -eo pid,comm [Pipeline] { [Pipeline] sh 20:31:07 + go mod tidy [Pipeline] sh 20:31:10 + make test 20:31:10 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:31:12 ? github.com/edgexfoundry/device-rest-go [no test files] 20:31:45 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:31:45 ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 54.0% of statements 20:31:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:32:07 gofmt -l . 20:32:07 [ "`gofmt -l .`" = "" ] 20:32:07 ./bin/test-go-mod-tidy.sh 20:32:07 ./bin/test-attribution-txt.sh [Pipeline] } 20:32:09 $ docker stop --time=1 5131ee1acd9dbf44c300eba37a1b0fee6454a5fd684225ad56f36f8661ee6ea8 20:32:10 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:32:10 ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 54.0% of statements 20:32:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:32:12 $ docker rm -f 5131ee1acd9dbf44c300eba37a1b0fee6454a5fd684225ad56f36f8661ee6ea8 [Pipeline] // withDockerContainer [Pipeline] sh 20:32:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:32:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:32:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:32:16 + ls -al . 20:32:16 total 104 20:32:16 drwxrwxr-x. 8 jenkins jenkins 4096 May 12 20:32 . 20:32:16 drwxrwxr-x. 4 jenkins jenkins 28 May 12 20:29 .. 20:32:16 -rw-rw-r--. 1 jenkins jenkins 6792 May 12 20:29 Attribution.txt 20:32:16 drwxrwxr-x. 2 jenkins jenkins 64 May 12 20:29 bin 20:32:16 drwxrwxr-x. 3 jenkins jenkins 32 May 12 20:29 cmd 20:32:16 -rw-r--r--. 1 jenkins jenkins 8513 May 12 20:31 coverage.out 20:32:16 -rw-rw-r--. 1 jenkins jenkins 1602 May 12 20:29 Dockerfile 20:32:16 -rw-rw-r--. 1 jenkins jenkins 1087 May 12 20:29 Dockerfile.build 20:32:16 -rw-rw-r--. 1 jenkins jenkins 151 May 12 20:29 .dockerignore 20:32:16 drwxrwxr-x. 2 jenkins jenkins 76 May 12 20:29 driver 20:32:16 drwxrwxr-x. 8 jenkins jenkins 179 May 12 20:29 .git 20:32:16 drwxrwxr-x. 2 jenkins jenkins 103 May 12 20:29 .github 20:32:16 -rw-rw-r--. 1 jenkins jenkins 339 May 12 20:29 .gitignore 20:32:16 -rw-r--r--. 1 jenkins jenkins 285 May 12 20:32 go.mod 20:32:16 -rw-r--r--. 1 jenkins jenkins 20782 May 12 20:31 go.sum 20:32:16 -rw-rw-r--. 1 jenkins jenkins 680 May 12 20:29 Jenkinsfile 20:32:16 -rw-rw-r--. 1 jenkins jenkins 11340 May 12 20:29 LICENSE 20:32:16 -rw-rw-r--. 1 jenkins jenkins 989 May 12 20:29 Makefile 20:32:16 -rw-rw-r--. 1 jenkins jenkins 7667 May 12 20:29 README.md 20:32:16 drwxrwxr-x. 4 jenkins jenkins 71 May 12 20:29 snap 20:32:16 -rw-rw-r--. 1 jenkins jenkins 5 May 12 20:23 VERSION 20:32:16 -rw-rw-r--. 1 jenkins jenkins 713 May 12 20:29 version.go [Pipeline] isUnix [Pipeline] sh 20:32:17 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=e49a06c3c66a55c70ec67bdc5be023fc399b112a --label arch=amd64 --label version=0.0.0 . 20:32:17 Sending build context to Docker daemon 101.9kB 20:32:17 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 20:32:17 Step 2/24 : FROM ${BASE} AS builder 20:32:17 ---> d40490b45a67 20:32:17 Step 3/24 : ARG MAKE='make build' 20:32:18 ---> Running in 471752b13763 20:32:18 Removing intermediate container 471752b13763 20:32:18 ---> 84415c05162a 20:32:18 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:32:18 ---> Running in e5791cee140b 20:32:18 Removing intermediate container e5791cee140b 20:32:18 ---> 412d959193dc 20:32:18 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 20:32:18 ---> Running in 2b190a26b081 20:32:19 Removing intermediate container 2b190a26b081 20:32:19 ---> 55afb2c27f4c 20:32:19 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:32:19 ---> Running in 8e705377ede0 20:32:22 Removing intermediate container 8e705377ede0 20:32:22 ---> a05da8adbb96 20:32:22 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:32:22 ---> Running in 3ab4945500d7 20:32:24 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:32:24 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:32:25 OK: 154 MiB in 49 packages 20:32:26 Removing intermediate container 3ab4945500d7 20:32:26 ---> 26bb4f2d07bd 20:32:26 Step 8/24 : WORKDIR /device-rest-go 20:32:26 ---> Running in 652fac7ba1db 20:32:26 Removing intermediate container 652fac7ba1db 20:32:26 ---> fa3ee6f09fe2 20:32:26 Step 9/24 : COPY . . 20:32:26 ---> 9abd192ddfbe 20:32:26 Step 10/24 : RUN make update 20:32:27 ---> Running in 4b0cb7d977bd 20:32:28 CGO_ENABLED=0 GO111MODULE=on go mod download 20:32:29 Removing intermediate container 4b0cb7d977bd 20:32:29 ---> 00b986f8ab4b 20:32:29 Step 11/24 : RUN $MAKE 20:32:29 ---> Running in 2cb5503900d0 20:32:30 go mod tidy 20:32:30 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 20:32:33 gofmt -l . 20:32:33 [ "`gofmt -l .`" = "" ] 20:32:33 ./bin/test-go-mod-tidy.sh 20:32:33 ./bin/test-attribution-txt.sh [Pipeline] } 20:32:35 $ docker stop --time=1 f36507745864d4dea6182fa1681214aea88a38d341f49cdd98905d9061683822 20:32:37 $ docker rm -f f36507745864d4dea6182fa1681214aea88a38d341f49cdd98905d9061683822 [Pipeline] // withDockerContainer [Pipeline] sh 20:32:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:32:38 Warning: overwriting stash ‘coverage-report’ 20:32:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:32:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:32:40 + ls -al . 20:32:40 total 132 20:32:40 drwxrwxr-x 8 jenkins jenkins 4096 May 12 20:32 . 20:32:40 drwxrwxr-x 4 jenkins jenkins 4096 May 12 20:29 .. 20:32:40 -rw-rw-r-- 1 jenkins jenkins 151 May 12 20:29 .dockerignore 20:32:40 drwxrwxr-x 8 jenkins jenkins 4096 May 12 20:29 .git 20:32:40 drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:29 .github 20:32:40 -rw-rw-r-- 1 jenkins jenkins 339 May 12 20:29 .gitignore 20:32:40 -rw-rw-r-- 1 jenkins jenkins 6792 May 12 20:29 Attribution.txt 20:32:40 -rw-rw-r-- 1 jenkins jenkins 1602 May 12 20:29 Dockerfile 20:32:40 -rw-rw-r-- 1 jenkins jenkins 1087 May 12 20:29 Dockerfile.build 20:32:40 -rw-rw-r-- 1 jenkins jenkins 680 May 12 20:29 Jenkinsfile 20:32:40 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 20:29 LICENSE 20:32:40 -rw-rw-r-- 1 jenkins jenkins 989 May 12 20:29 Makefile 20:32:40 -rw-rw-r-- 1 jenkins jenkins 7667 May 12 20:29 README.md 20:32:40 -rw-rw-r-- 1 jenkins jenkins 5 May 12 20:23 VERSION 20:32:40 drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:29 bin 20:32:40 drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:29 cmd 20:32:40 -rw-r--r-- 1 jenkins jenkins 8513 May 12 20:32 coverage.out 20:32:40 drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:29 driver 20:32:40 -rw-r--r-- 1 jenkins jenkins 285 May 12 20:32 go.mod 20:32:40 -rw-r--r-- 1 jenkins jenkins 20782 May 12 20:30 go.sum 20:32:40 drwxrwxr-x 4 jenkins jenkins 4096 May 12 20:29 snap 20:32:40 -rw-rw-r-- 1 jenkins jenkins 713 May 12 20:29 version.go [Pipeline] isUnix [Pipeline] sh 20:32:40 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e49a06c3c66a55c70ec67bdc5be023fc399b112a --label arch=arm64 --label version=0.0.0 . 20:32:40 Sending build context to Docker daemon 101.9kB 20:32:41 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 20:32:41 Step 2/24 : FROM ${BASE} AS builder 20:32:41 ---> 706444a84087 20:32:41 Step 3/24 : ARG MAKE='make build' 20:32:41 ---> Running in 50d4a5fd1588 20:32:41 Removing intermediate container 50d4a5fd1588 20:32:41 ---> 9126eb49c319 20:32:41 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:32:41 ---> Running in 12ee3187bb29 20:32:42 Removing intermediate container 12ee3187bb29 20:32:42 ---> bb6135e3bad9 20:32:42 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 20:32:42 ---> Running in 6a00f6b181b2 20:32:43 Removing intermediate container 6a00f6b181b2 20:32:43 ---> 02dda06a5625 20:32:43 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:32:43 ---> Running in c61fd9f0bebb 20:32:45 Removing intermediate container c61fd9f0bebb 20:32:45 ---> bb313694b692 20:32:45 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:32:45 ---> Running in 201aa362639e 20:32:47 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:32:48 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:32:49 OK: 144 MiB in 49 packages 20:32:49 Removing intermediate container 201aa362639e 20:32:49 ---> 298d0f9f22d2 20:32:49 Step 8/24 : WORKDIR /device-rest-go 20:32:50 ---> Running in ecb408aa2553 20:32:50 Removing intermediate container ecb408aa2553 20:32:50 ---> e13335d2cec8 20:32:50 Step 9/24 : COPY . . 20:32:51 ---> 9db4dbf7b972 20:32:51 Step 10/24 : RUN make update 20:32:51 ---> Running in a39bb8d514fd 20:32:53 Removing intermediate container 2cb5503900d0 20:32:53 ---> 5f62fb4087e7 20:32:53 Step 12/24 : FROM alpine:3.12 20:32:53 3.12: Pulling from library/alpine 20:32:53 339de151aab4: Pulling fs layer 20:32:53 339de151aab4: Download complete 20:32:53 339de151aab4: Pull complete 20:32:53 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 20:32:53 Status: Downloaded newer image for alpine:3.12 20:32:53 ---> 13621d1b12d4 20:32:53 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:32:53 ---> Running in 84d509a2d728 20:32:53 CGO_ENABLED=0 GO111MODULE=on go mod download 20:32:53 Removing intermediate container 84d509a2d728 20:32:53 ---> 4c0749184a15 20:32:53 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 20:32:53 ---> Running in e43c827ddf08 20:32:54 Removing intermediate container e43c827ddf08 20:32:54 ---> 41f27194b098 20:32:54 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 20:32:54 ---> Running in 542c587c4960 20:32:54 Removing intermediate container a39bb8d514fd 20:32:54 ---> e9144cb9f3d5 20:32:54 Step 11/24 : RUN $MAKE 20:32:54 ---> Running in d88451d98c89 20:32:55 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:32:55 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:32:55 (1/6) Installing dumb-init (1.2.2-r1) 20:32:55 (2/6) Installing libgcc (9.3.0-r2) 20:32:55 (3/6) Installing libsodium (1.0.18-r0) 20:32:55 (4/6) Installing libstdc++ (9.3.0-r2) 20:32:55 (5/6) Installing libzmq (4.3.3-r0) 20:32:55 (6/6) Installing zeromq (4.3.3-r0) 20:32:55 Executing busybox-1.31.1-r20.trigger 20:32:55 OK: 8 MiB in 20 packages 20:32:56 go mod tidy 20:32:56 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 20:32:56 Removing intermediate container 542c587c4960 20:32:56 ---> 6ded210b617a 20:32:56 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 20:32:57 ---> d0506fb0f783 20:32:57 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 20:32:57 ---> 28f801e6e5a4 20:32:57 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 20:32:58 ---> 4690be035603 20:32:58 Step 19/24 : EXPOSE 49986 20:32:58 ---> Running in 0d4664b0c9b6 20:32:59 Removing intermediate container 0d4664b0c9b6 20:32:59 ---> 82bc3b74191b 20:32:59 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 20:32:59 ---> Running in 223b59224b0f 20:32:59 Removing intermediate container 223b59224b0f 20:32:59 ---> 04b34bcf0c40 20:32:59 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:32:59 ---> Running in 891ba94f3c50 20:32:59 Removing intermediate container 891ba94f3c50 20:32:59 ---> 9ff297a429bc 20:32:59 Step 22/24 : LABEL arch=amd64 20:33:00 ---> Running in 3a07637d1932 20:33:00 Removing intermediate container 3a07637d1932 20:33:00 ---> 21b2d2b15036 20:33:00 Step 23/24 : LABEL git_sha=e49a06c3c66a55c70ec67bdc5be023fc399b112a 20:33:00 ---> Running in 257f5e10a76e 20:33:01 Removing intermediate container 257f5e10a76e 20:33:01 ---> fd09b37056e4 20:33:01 Step 24/24 : LABEL version=0.0.0 20:33:01 ---> Running in 8edc0640401f 20:33:02 Removing intermediate container 8edc0640401f 20:33:02 ---> 2341cae8f0b1 20:33:02 [Warning] One or more build-args [ARCH] were not consumed 20:33:02 Successfully built 2341cae8f0b1 20:33:02 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 20:33:03 ---> job-cost.sh 20:33:03 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ToV2 20:33:30 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:33:43 Removing intermediate container d88451d98c89 20:33:43 ---> 917cce1445c2 20:33:43 Step 12/24 : FROM alpine:3.12 20:33:43 3.12: Pulling from library/alpine 20:33:43 d2f70382dc9a: Pulling fs layer 20:33:43 d2f70382dc9a: Download complete 20:33:43 d2f70382dc9a: Pull complete 20:33:43 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 20:33:43 Status: Downloaded newer image for alpine:3.12 20:33:43 ---> 9852663dfa18 20:33:43 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:33:43 ---> Running in 4cde84888408 20:33:43 Removing intermediate container 4cde84888408 20:33:43 ---> cbb4b5cc39ed 20:33:43 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 20:33:43 ---> Running in 3be3dbeeb96f 20:33:43 Removing intermediate container 3be3dbeeb96f 20:33:43 ---> e9e015eb5a00 20:33:43 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 20:33:43 ---> Running in db689a8e91b1 20:33:43 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:33:43 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:33:43 (1/6) Installing dumb-init (1.2.2-r1) 20:33:43 (2/6) Installing libgcc (9.3.0-r2) 20:33:43 (3/6) Installing libsodium (1.0.18-r0) 20:33:43 (4/6) Installing libstdc++ (9.3.0-r2) 20:33:43 (5/6) Installing libzmq (4.3.3-r0) 20:33:43 (6/6) Installing zeromq (4.3.3-r0) 20:33:43 Executing busybox-1.31.1-r20.trigger 20:33:43 OK: 8 MiB in 20 packages 20:33:43 Removing intermediate container db689a8e91b1 20:33:43 ---> a1e524049135 20:33:43 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 20:33:43 ---> c51499cf1e24 20:33:43 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 20:33:44 ---> d5a4b9df8ef2 20:33:44 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 20:33:45 ---> fc4e5293fc06 20:33:45 Step 19/24 : EXPOSE 49986 20:33:45 ---> Running in 472b896b121f 20:33:46 Removing intermediate container 472b896b121f 20:33:46 ---> d3f1a18543d0 20:33:46 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 20:33:46 ---> Running in 4e7ef0f62e54 20:33:46 Removing intermediate container 4e7ef0f62e54 20:33:46 ---> efb842c29714 20:33:46 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:33:46 ---> Running in 5a1e843d687f 20:33:47 Removing intermediate container 5a1e843d687f 20:33:47 ---> 54dd9d35c854 20:33:47 Step 22/24 : LABEL arch=arm64 20:33:47 ---> Running in f6b350294e3a 20:33:47 Removing intermediate container f6b350294e3a 20:33:47 ---> 072bed3a93d5 20:33:47 Step 23/24 : LABEL git_sha=e49a06c3c66a55c70ec67bdc5be023fc399b112a 20:33:47 ---> Running in 2f8f80679875 20:33:48 Removing intermediate container 2f8f80679875 20:33:48 ---> d0bda1e4a2aa 20:33:48 Step 24/24 : LABEL version=0.0.0 20:33:48 ---> Running in ee42e8529b17 20:33:49 Removing intermediate container ee42e8529b17 20:33:49 ---> 5723fc4c14e9 20:33:49 [Warning] One or more build-args [ARCH] were not consumed 20:33:49 Successfully built 5723fc4c14e9 20:33:49 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 20:33:49 ---> job-cost.sh 20:33:49 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-uEcA 20:34:10 lf-activate-venv(): INFO: Adding /tmp/venv-ToV2/bin to PATH 20:34:10 INFO: No Stack... 20:34:10 INFO: Retrieving Pricing Info for: v1-standard-2 20:34:10 INFO: Archiving Costs [Pipeline] sh 20:34:10 + cat /w/workspace/device-rest-go/2/archives/cost.csv 20:34:10 + cut -d, -f6 [Pipeline] lock 20:34:11 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-96-2-stack-cost] 20:34:11 Resource [jenkins-edgexfoundry-device-rest-go-PR-96-2-stack-cost] did not exist. Created. 20:34:11 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-96-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:34:11 + echo total: 0.029999999329447746 [Pipeline] stash 20:34:11 Stashed 1 file(s) [Pipeline] } 20:34:11 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-96-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:34:46 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:36:37 lf-activate-venv(): INFO: Adding /tmp/venv-uEcA/bin to PATH 20:36:37 INFO: No Stack... 20:36:39 INFO: Retrieving Pricing Info for: lf-standard-4 20:36:40 INFO: Archiving Costs [Pipeline] sh 20:36:40 + + cat /w/workspace/device-rest-go/2/archives/cost.csv 20:36:40 cut -d, -f6 [Pipeline] lock 20:36:40 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-96-2-stack-cost] 20:36:41 Resource [jenkins-edgexfoundry-device-rest-go-PR-96-2-stack-cost] did not exist. Created. 20:36:41 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-96-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:36:41 /w/workspace/device-rest-go/2@tmp/durable-f01ae43c/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-f01ae43c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:36:41 + echo total: 0.20999999344348907 [Pipeline] stash 20:36:41 Warning: overwriting stash ‘stack-cost’ 20:36:41 Stashed 1 file(s) [Pipeline] } 20:36:41 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-96-2-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 20:36:42 provisioning config files... 20:36:42 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-96@tmp/config7796544419027051598tmp [Pipeline] { [Pipeline] sh 20:36:42 + set +x 20:36:42 + curl -s https://codecov.io/bash 20:36:42 + bash -s -- 20:36:43 20:36:43 _____ _ 20:36:43 / ____| | | 20:36:43 | | ___ __| | ___ ___ _____ __ 20:36:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:36:43 | |___| (_) | (_| | __/ (_| (_) \ V / 20:36:43 \_____\___/ \__,_|\___|\___\___/ \_/ 20:36:43 Bash-1.0.2 20:36:43 20:36:43 20:36:43 ==> git version 2.24.3 found 20:36:43 ==> 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 20:36:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:36:43 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:36:43 ==> Jenkins CI detected. 20:36:43 project root: . 20:36:43 --> token set from env 20:36:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:36:43 ==> Running gcov in . (disable via -X gcov) 20:36:43 ==> Python coveragepy not found 20:36:43 ==> Searching for coverage reports in: 20:36:43 + . 20:36:43 -> Found 1 reports 20:36:43 ==> Detecting git/mercurial file structure 20:36:43 ==> Reading reports 20:36:43 + ./coverage.out bytes=8513 20:36:43 ==> Appending adjustments 20:36:43 https://docs.codecov.io/docs/fixing-reports 20:36:43 + Found adjustments 20:36:43 ==> Gzipping contents 20:36:43 4.0K /tmp/codecov.Ffhl49.gz 20:36:43 ==> Uploading reports 20:36:43 url: https://codecov.io 20:36:43 query: branch=PR-96&commit=e49a06c3c66a55c70ec67bdc5be023fc399b112a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-96%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=96&job=&cmd_args= 20:36:43 -> Pinging Codecov 20:36:43 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-96&commit=e49a06c3c66a55c70ec67bdc5be023fc399b112a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-96%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=96&job=&cmd_args= 20:36:43 -> Uploading to 20:36:43 https://storage.googleapis.com/codecov/v4/raw/2021-05-12/4E5D53B4F1F92C436F7061BF334D961C/e49a06c3c66a55c70ec67bdc5be023fc399b112a/db008be6-469c-412d-9a70-f287261af071.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210512T203643Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6002d16d84be37fe23bb7423ee4141f69655b62bc78ff6253c432b9c1313fa78 20:36:43 % Total % Received % Xferd Average Speed Time Time Time Current 20:36:43 Dload Upload Total Spent Left Speed 20:36:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3114 --:--:-- --:--:-- --:--:-- 3122 20:36:44 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/e49a06c3c66a55c70ec67bdc5be023fc399b112a [Pipeline] } 20:36:44 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 20:36:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:36:46 ---> package-listing.sh 20:36:46 ++ facter osfamily 20:36:46 ++ tr '[:upper:]' '[:lower:]' 20:36:46 + OS_FAMILY=redhat 20:36:46 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-96 20:36:46 + START_PACKAGES=/tmp/packages_start.txt 20:36:46 + END_PACKAGES=/tmp/packages_end.txt 20:36:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:36:46 + PACKAGES=/tmp/packages_start.txt 20:36:46 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-96 ']' 20:36:46 + PACKAGES=/tmp/packages_end.txt 20:36:46 + case "${OS_FAMILY}" in 20:36:46 + rpm -qa 20:36:46 + sort 20:36:54 + '[' -f /tmp/packages_start.txt ']' 20:36:54 + '[' -f /tmp/packages_end.txt ']' 20:36:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:36:54 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-96 ']' 20:36:54 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-96/archives/ 20:36:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-96/archives/ [Pipeline] echo 20:36:54 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/dgexfoundry_device-rest-go_PR-96/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:36:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:36:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:36:56 20:36:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:36:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:36:56 alpine: Pulling from edgex-lftools-log-publisher 20:36:56 df20fa9351a1: Pulling fs layer 20:36:56 36b3adc4ff6f: Pulling fs layer 20:36:56 8ad3a11d3b57: Pulling fs layer 20:36:56 46f8f816bc3b: Pulling fs layer 20:36:56 93b61091891f: Pulling fs layer 20:36:56 93b9cdb0e59b: Pulling fs layer 20:36:56 5e14af77c1be: Pulling fs layer 20:36:56 46f8f816bc3b: Waiting 20:36:56 01666e4c0597: Pulling fs layer 20:36:56 93b61091891f: Waiting 20:36:56 aa168da1d23b: Pulling fs layer 20:36:56 93b9cdb0e59b: Waiting 20:36:56 5e14af77c1be: Waiting 20:36:56 01666e4c0597: Waiting 20:36:56 aa168da1d23b: Waiting 20:36:56 36b3adc4ff6f: Verifying Checksum 20:36:56 36b3adc4ff6f: Download complete 20:36:56 46f8f816bc3b: Verifying Checksum 20:36:56 46f8f816bc3b: Download complete 20:36:56 df20fa9351a1: Verifying Checksum 20:36:56 df20fa9351a1: Download complete 20:36:56 93b9cdb0e59b: Download complete 20:36:56 5e14af77c1be: Verifying Checksum 20:36:56 5e14af77c1be: Download complete 20:36:56 93b61091891f: Verifying Checksum 20:36:56 93b61091891f: Download complete 20:36:57 01666e4c0597: Verifying Checksum 20:36:57 01666e4c0597: Download complete 20:36:57 df20fa9351a1: Pull complete 20:36:57 8ad3a11d3b57: Verifying Checksum 20:36:57 8ad3a11d3b57: Download complete 20:36:58 36b3adc4ff6f: Pull complete 20:37:00 8ad3a11d3b57: Pull complete 20:37:00 46f8f816bc3b: Pull complete 20:37:02 93b61091891f: Pull complete 20:37:02 93b9cdb0e59b: Pull complete 20:37:02 5e14af77c1be: Pull complete 20:37:03 aa168da1d23b: Verifying Checksum 20:37:03 aa168da1d23b: Download complete 20:37:03 01666e4c0597: Pull complete 20:37:15 aa168da1d23b: Pull complete 20:37:15 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:37:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:37:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:37:15 prd-centos7-docker-4c-2g-4844 does not seem to be running inside a container 20:37:15 $ 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/dgexfoundry_device-rest-go_PR-96/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-rest-go_PR-96 -v /w/workspace/dgexfoundry_device-rest-go_PR-96:/w/workspace/dgexfoundry_device-rest-go_PR-96:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-96@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-96@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:37:20 $ docker top f5086090af7e5c0f71e732323ffc83757d9335060b4760fd7362cd269fa468f2 -eo pid,comm [Pipeline] { [Pipeline] sh 20:37:21 + touch /tmp/pre-build-complete [Pipeline] sh 20:37:21 + mkdir -p /var/log/sa [Pipeline] sh 20:37:21 + ls /var/log/sa-host 20:37:21 + sadf -c /var/log/sa-host/sa12 20:37:21 file_magic: OK 20:37:21 HZ: Using current value: 100 20:37:21 file_header: OK 20:37:21 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 20:37:21 Statistics: 20:37:21 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... 20:37:21 File successfully converted to sysstat format version 12.2.1 20:37:21 + sadf -c /var/log/sa-host/sa23 20:37:21 file_magic: OK 20:37:21 HZ: Using current value: 100 20:37:21 file_header: OK 20:37:21 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 20:37:21 Statistics: 20:37:21 Hnuu...uuuununununu... 20:37:21 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:37:22 provisioning config files... 20:37:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-96@tmp/config2762509689572331485tmp [Pipeline] { [Pipeline] echo 20:37:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:37:22 ---> create-netrc.sh [Pipeline] } 20:37:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:37:22 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:37:22 ---> python-tools-install.sh [Pipeline] echo 20:37:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:37:23 ---> sudo-logs.sh 20:37:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:37:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:37:23 ---> job-cost.sh 20:37:23 lf-activate-venv: SKIPPING 20:37:23 DEBUG: total: 0.20999999344348907 20:37:23 INFO: Retrieving Stack Cost... 20:37:25 INFO: Retrieving Pricing Info for: v1-standard-2 20:37:25 INFO: Archiving Costs [Pipeline] echo 20:37:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:37:25 ---> logs-deploy.sh 20:37:25 lf-activate-venv: SKIPPING 20:37:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-96/2 20:37:25 INFO: archiving workspace using pattern(s): 20:37:28 Archives upload complete. 20:37:28 INFO: archiving logs to Nexus