Pull request #81 opened 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 99e6da9a436d818c790cb2a7860cf88a2bc87c7d+2bfdbb9be6a64d461ffb65b0ff1f908881de038e (d5f1c9b4095bab3a73c7ef42ecec880ff11ce54e) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-81/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-81/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2514 in /w/workspace/dgexfoundry_device-rest-go_PR-81 [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-81 # 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 Merging remotes/origin/master commit 2bfdbb9be6a64d461ffb65b0ff1f908881de038e into PR head commit 99e6da9a436d818c790cb2a7860cf88a2bc87c7d Merge succeeded, producing 99e6da9a436d818c790cb2a7860cf88a2bc87c7d Checking out Revision 99e6da9a436d818c790cb2a7860cf88a2bc87c7d (PR-81) > 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/81/head:refs/remotes/origin/PR-81 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 99e6da9a436d818c790cb2a7860cf88a2bc87c7d # 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 2bfdbb9be6a64d461ffb65b0ff1f908881de038e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 99e6da9a436d818c790cb2a7860cf88a2bc87c7d # timeout=10 Commit message: "fix: Add Type='vault' to [SecretStore] config" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:49:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:49:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:49:47 ========================================================= 20:49:47 EdgeX Global Pipelines Version Info 20:49:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:49:49 ------------------- 20:49:49 stable info: 20:49:49 ------------------- 20:49:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:49:49 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 20:49:49 Message: update stable to v1.0.191 20:49:50 ------------------- 20:49:50 experimental info: 20:49:50 ------------------- 20:49:50 Commited By: **** collab-it+edgex@linuxfoundation.org 20:49:50 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 20:49:50 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:49:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:49:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:49:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:49:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:49:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:49:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 20:49:50 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:49:50 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 20:49:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:49:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:49:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:49:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 20:49:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:49:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:49:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:49:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:49:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:49:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:49:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:49:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:49:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:49:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:49:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:49:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:49:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:49:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:49:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-81 [Pipeline] echo 20:49:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-81 [Pipeline] echo 20:49:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-81 [Pipeline] echo 20:49:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 99e6da9a436d818c790cb2a7860cf88a2bc87c7d [Pipeline] echo 20:49:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 99e6da9 [Pipeline] echo 20:49:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:49:52 provisioning config files... 20:49:52 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-81@tmp/config199297370352881108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:49:52 ---> docker-login.sh 20:49:52 nexus3.edgexfoundry.org:10001 20:49:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:53 Configure a credential helper to remove this warning. See 20:49:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:53 20:49:53 Login Succeeded 20:49:53 nexus3.edgexfoundry.org:10002 20:49:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:54 Configure a credential helper to remove this warning. See 20:49:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:54 20:49:54 Login Succeeded 20:49:54 nexus3.edgexfoundry.org:10003 20:49:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:54 Configure a credential helper to remove this warning. See 20:49:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:54 20:49:54 Login Succeeded 20:49:54 nexus3.edgexfoundry.org:10004 20:49:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:54 Configure a credential helper to remove this warning. See 20:49:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:54 20:49:54 Login Succeeded 20:49:54 docker.io 20:49:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:49:54 Configure a credential helper to remove this warning. See 20:49:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:49:54 20:49:54 Login Succeeded 20:49:54 ---> docker-login.sh ends [Pipeline] } 20:49:54 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:49:55 + git log --format=format:%s -1 99e6da9a436d818c790cb2a7860cf88a2bc87c7d [Pipeline] echo 20:49:55 GIT_COMMIT: 99e6da9a436d818c790cb2a7860cf88a2bc87c7d, Commit Message: fix: Add Type='vault' to [SecretStore] config [Pipeline] echo 20:49:55 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:49:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:49:56 20:49:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:49:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:49:57 latest: Pulling from edgex-devops/git-semver 20:49:57 31603596830f: Pulling fs layer 20:49:57 54011a49482f: Pulling fs layer 20:49:57 a6820b24f6d8: Pulling fs layer 20:49:57 f581987b2513: Pulling fs layer 20:49:57 f581987b2513: Waiting 20:49:57 54011a49482f: Verifying Checksum 20:49:57 54011a49482f: Download complete 20:49:57 31603596830f: Verifying Checksum 20:49:57 31603596830f: Download complete 20:49:57 a6820b24f6d8: Verifying Checksum 20:49:57 a6820b24f6d8: Download complete 20:49:57 f581987b2513: Verifying Checksum 20:49:57 f581987b2513: Download complete 20:49:57 31603596830f: Pull complete 20:49:58 54011a49482f: Pull complete 20:49:59 a6820b24f6d8: Pull complete 20:49:59 f581987b2513: Pull complete 20:49:59 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 20:49:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:49:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:49:59 prd-centos7-docker-4c-2g-2514 does not seem to be running inside a container 20:49:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-81 -v /w/workspace/dgexfoundry_device-rest-go_PR-81:/w/workspace/dgexfoundry_device-rest-go_PR-81:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-81@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:50:02 $ docker top 66654b93da82d2792a791d82695d3e4690ddc3ca4c4d86273ec780980fbf7c4f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:50:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:50:02 [ssh-agent] Looking for ssh-agent implementation... 20:50:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:50:02 $ docker exec 66654b93da82d2792a791d82695d3e4690ddc3ca4c4d86273ec780980fbf7c4f ssh-agent 20:50:03 SSH_AUTH_SOCK=/tmp/ssh-majS3ez4cxGw/agent.11 20:50:03 SSH_AGENT_PID=16 20:50:03 Running ssh-add (command line suppressed) 20:50:03 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-81@tmp/private_key_6662938713270100720.key (/w/workspace/dgexfoundry_device-rest-go_PR-81@tmp/private_key_6662938713270100720.key) 20:50:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:50:03 + git tag --points-at HEAD [Pipeline] } 20:50:03 $ docker exec --env ******** --env ******** 66654b93da82d2792a791d82695d3e4690ddc3ca4c4d86273ec780980fbf7c4f ssh-agent -k 20:50:03 unset SSH_AUTH_SOCK; 20:50:03 unset SSH_AGENT_PID; 20:50:03 echo Agent pid 16 killed; 20:50:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:50:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:50:04 [ssh-agent] Looking for ssh-agent implementation... 20:50:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:50:04 $ docker exec 66654b93da82d2792a791d82695d3e4690ddc3ca4c4d86273ec780980fbf7c4f ssh-agent 20:50:04 SSH_AUTH_SOCK=/tmp/ssh-QcI3oXeWIJVb/agent.46 20:50:04 SSH_AGENT_PID=51 20:50:04 Running ssh-add (command line suppressed) 20:50:04 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-81@tmp/private_key_7096732032411792910.key (/w/workspace/dgexfoundry_device-rest-go_PR-81@tmp/private_key_7096732032411792910.key) 20:50:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:50:05 + git semver init 20:50:05 # -> Open(): unable to determine branch for HEAD 20:50:05 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-81/.git 20:50:05 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-81 20:50:05 # $SEMVER_REMOTE_NAME = origin 20:50:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:50:05 # $SEMVER_USER_NAME = edgex-jenkins 20:50:05 # $SEMVER_BRANCH = PR-81 20:50:05 # $SEMVER_TEMP = /tmp/semver-826920834 20:50:05 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 20:50:07 # '/tmp/semver-826920834' -> '/w/workspace/dgexfoundry_device-rest-go_PR-81/.semver' 20:50:07 # -> Force: false 20:50:07 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-81/.semver [Pipeline] } 20:50:07 $ docker exec --env ******** --env ******** 66654b93da82d2792a791d82695d3e4690ddc3ca4c4d86273ec780980fbf7c4f ssh-agent -k 20:50:08 unset SSH_AUTH_SOCK; 20:50:08 unset SSH_AGENT_PID; 20:50:08 echo Agent pid 51 killed; 20:50:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:50:08 + git semver [Pipeline] } 20:50:08 $ docker stop --time=1 66654b93da82d2792a791d82695d3e4690ddc3ca4c4d86273ec780980fbf7c4f 20:50:10 $ docker rm -f 66654b93da82d2792a791d82695d3e4690ddc3ca4c4d86273ec780980fbf7c4f [Pipeline] // withDockerContainer [Pipeline] sh 20:50:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:50:11 Stashed 1 file(s) [Pipeline] echo 20:50:11 [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:50:26 Still waiting to schedule task 20:50:26 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2514’ 20:50:26 Still waiting to schedule task 20:50:26 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ is offline 20:52:20 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2515 in /w/workspace/dgexfoundry_device-rest-go_PR-81 [Pipeline] { [Pipeline] ws 20:52:20 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:52:26 using credential edgex-jenkins-ssh 20:52:26 Cloning the remote Git repository 20:52:26 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:52:26 > git init /w/workspace/device-rest-go/1 # timeout=10 20:52:26 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:52:26 > git --version # timeout=10 20:52:26 > git --version # 'git version 2.17.1' 20:52:26 using GIT_SSH to set credentials SSH Credentials for GitHub 20:52:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:52:27 Running on prd-centos7-docker-4c-2g-2517 in /w/workspace/dgexfoundry_device-rest-go_PR-81 [Pipeline] { [Pipeline] ws 20:52:27 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:52:28 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:52:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:52:28 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:52:28 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:52:28 using GIT_SSH to set credentials SSH Credentials for GitHub 20:52:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/81/head:refs/remotes/origin/PR-81 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:52:28 Merging remotes/origin/master commit 2bfdbb9be6a64d461ffb65b0ff1f908881de038e into PR head commit 99e6da9a436d818c790cb2a7860cf88a2bc87c7d 20:52:29 Merge succeeded, producing 99e6da9a436d818c790cb2a7860cf88a2bc87c7d 20:52:29 Checking out Revision 99e6da9a436d818c790cb2a7860cf88a2bc87c7d (PR-81) 20:52:28 > git config core.sparsecheckout # timeout=10 20:52:28 > git checkout -f 99e6da9a436d818c790cb2a7860cf88a2bc87c7d # timeout=10 20:52:28 > git remote # timeout=10 20:52:29 > git config --get remote.origin.url # timeout=10 20:52:29 using GIT_SSH to set credentials SSH Credentials for GitHub 20:52:29 > git merge 2bfdbb9be6a64d461ffb65b0ff1f908881de038e # timeout=10 20:52:29 > git rev-parse HEAD^{commit} # timeout=10 20:52:29 > git config core.sparsecheckout # timeout=10 20:52:29 > git checkout -f 99e6da9a436d818c790cb2a7860cf88a2bc87c7d # timeout=10 20:52:30 using credential edgex-jenkins-ssh 20:52:30 Cloning the remote Git repository 20:52:30 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:52:30 > git init /w/workspace/device-rest-go/1 # timeout=10 20:52:30 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:52:30 > git --version # timeout=10 20:52:30 > git --version # 'git version 2.24.3' 20:52:30 using GIT_SSH to set credentials SSH Credentials for GitHub 20:52:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:52:31 Merging remotes/origin/master commit 2bfdbb9be6a64d461ffb65b0ff1f908881de038e into PR head commit 99e6da9a436d818c790cb2a7860cf88a2bc87c7d 20:52:31 Merge succeeded, producing 99e6da9a436d818c790cb2a7860cf88a2bc87c7d 20:52:31 Checking out Revision 99e6da9a436d818c790cb2a7860cf88a2bc87c7d (PR-81) 20:52:31 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:52:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:52:31 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:52:31 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:52:31 using GIT_SSH to set credentials SSH Credentials for GitHub 20:52:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/81/head:refs/remotes/origin/PR-81 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:52:31 > git config core.sparsecheckout # timeout=10 20:52:31 > git checkout -f 99e6da9a436d818c790cb2a7860cf88a2bc87c7d # timeout=10 20:52:31 > git remote # timeout=10 20:52:31 > git config --get remote.origin.url # timeout=10 20:52:31 using GIT_SSH to set credentials SSH Credentials for GitHub 20:52:31 > git merge 2bfdbb9be6a64d461ffb65b0ff1f908881de038e # timeout=10 20:52:31 > git rev-parse HEAD^{commit} # timeout=10 20:52:31 > git config core.sparsecheckout # timeout=10 20:52:31 > git checkout -f 99e6da9a436d818c790cb2a7860cf88a2bc87c7d # timeout=10 20:52:33 Commit message: "fix: Add Type='vault' to [SecretStore] config" 20:52:33 > git --version # timeout=10 20:52:33 > git --version # 'git version 2.17.1' 20:52:33 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:52:35 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 20:52:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:52:35 Commit message: "fix: Add Type='vault' to [SecretStore] config" 20:52:35 > git --version # timeout=10 20:52:35 > git --version # 'git version 2.24.3' 20:52:35 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd 20:52:35 + true 20:52:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:52:36 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:52:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:52:37 + sudo service docker restart 20:52:37 + true 20:52:37 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:52:37 provisioning config files... 20:52:37 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config713089319628925615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:38 ---> docker-login.sh 20:52:38 nexus3.edgexfoundry.org:10001 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:52:39 provisioning config files... 20:52:39 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4798809792585998210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:39 ---> docker-login.sh 20:52:39 nexus3.edgexfoundry.org:10001 20:52:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:39 Configure a credential helper to remove this warning. See 20:52:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:39 20:52:39 Login Succeeded 20:52:39 nexus3.edgexfoundry.org:10002 20:52:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:39 Configure a credential helper to remove this warning. See 20:52:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:39 20:52:39 Login Succeeded 20:52:39 nexus3.edgexfoundry.org:10002 20:52:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:40 Configure a credential helper to remove this warning. See 20:52:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:40 20:52:40 Login Succeeded 20:52:40 nexus3.edgexfoundry.org:10003 20:52:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:40 Configure a credential helper to remove this warning. See 20:52:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:40 20:52:40 Login Succeeded 20:52:40 nexus3.edgexfoundry.org:10003 20:52:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:40 Configure a credential helper to remove this warning. See 20:52:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:40 20:52:40 Login Succeeded 20:52:40 nexus3.edgexfoundry.org:10004 20:52:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:40 Configure a credential helper to remove this warning. See 20:52:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:40 20:52:40 Login Succeeded 20:52:40 docker.io 20:52:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:40 Configure a credential helper to remove this warning. See 20:52:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:40 20:52:40 Login Succeeded 20:52:40 nexus3.edgexfoundry.org:10004 20:52:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:40 Configure a credential helper to remove this warning. See 20:52:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:40 20:52:40 Login Succeeded 20:52:40 ---> docker-login.sh ends [Pipeline] } 20:52:40 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 20:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] echo 20:52:41 ========================================================= 20:52:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 20:52:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:41 Configure a credential helper to remove this warning. See 20:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:41 20:52:41 Login Succeeded 20:52:41 docker.io 20:52:41 + 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:52:41 Sending build context to Docker daemon 93.18kB 20:52:41 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 20:52:41 Step 2/10 : FROM ${BASE} 20:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:41 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 20:52:41 540db60ca938: Pulling fs layer 20:52:41 adcc1eea9eea: Pulling fs layer 20:52:41 4c4ab2625f07: Pulling fs layer 20:52:41 0510c868ecb4: Pulling fs layer 20:52:41 afea3b2eda06: Pulling fs layer 20:52:41 7809a108b3ef: Pulling fs layer 20:52:41 f706445af74f: Pulling fs layer 20:52:41 0510c868ecb4: Waiting 20:52:41 7809a108b3ef: Waiting 20:52:41 afea3b2eda06: Waiting 20:52:41 f706445af74f: Waiting 20:52:41 adcc1eea9eea: Verifying Checksum 20:52:41 adcc1eea9eea: Download complete 20:52:41 4c4ab2625f07: Verifying Checksum 20:52:41 4c4ab2625f07: Download complete 20:52:41 afea3b2eda06: Verifying Checksum 20:52:41 afea3b2eda06: Download complete 20:52:41 540db60ca938: Verifying Checksum 20:52:41 540db60ca938: Download complete 20:52:41 7809a108b3ef: Download complete 20:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:41 Configure a credential helper to remove this warning. See 20:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:41 20:52:42 540db60ca938: Pull complete 20:52:42 Login Succeeded 20:52:42 ---> docker-login.sh ends [Pipeline] } 20:52:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 20:52:42 adcc1eea9eea: Pull complete [Pipeline] echo 20:52:42 ========================================================= 20:52:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 20:52:42 ========================================================= 20:52:42 4c4ab2625f07: Pull complete [Pipeline] isUnix [Pipeline] sh 20:52: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:52:42 Sending build context to Docker daemon 93.18kB 20:52:43 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 20:52:43 Step 2/10 : FROM ${BASE} 20:52:43 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:52:43 595b0fe564bb: Pulling fs layer 20:52:43 7186ed65a4f7: Pulling fs layer 20:52:43 316046926c0a: Pulling fs layer 20:52:43 4ebd0625c992: Pulling fs layer 20:52:43 207e8628e3a3: Pulling fs layer 20:52:43 c791037a9be2: Pulling fs layer 20:52:43 ffd874e62e21: Pulling fs layer 20:52:43 4ebd0625c992: Waiting 20:52:43 ffd874e62e21: Waiting 20:52:43 c791037a9be2: Waiting 20:52:43 207e8628e3a3: Waiting 20:52:43 316046926c0a: Download complete 20:52:43 7186ed65a4f7: Download complete 20:52:43 207e8628e3a3: Verifying Checksum 20:52:43 207e8628e3a3: Download complete 20:52:43 c791037a9be2: Download complete 20:52:43 595b0fe564bb: Verifying Checksum 20:52:43 595b0fe564bb: Download complete 20:52:44 595b0fe564bb: Pull complete 20:52:44 f706445af74f: Download complete 20:52:44 7186ed65a4f7: Pull complete 20:52:45 316046926c0a: Pull complete 20:52:45 ffd874e62e21: Verifying Checksum 20:52:45 ffd874e62e21: Download complete 20:52:45 0510c868ecb4: Verifying Checksum 20:52:45 0510c868ecb4: Download complete 20:52:47 4ebd0625c992: Verifying Checksum 20:52:47 4ebd0625c992: Download complete 20:52:52 0510c868ecb4: Pull complete 20:52:52 afea3b2eda06: Pull complete 20:52:52 7809a108b3ef: Pull complete 20:52:55 f706445af74f: Pull complete 20:52:55 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 20:52:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:52:55 ---> b068be0155e3 20:52:55 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:52:56 ---> Running in 3de653e86347 20:52:56 Removing intermediate container 3de653e86347 20:52:56 ---> 01feee3d146f 20:52:56 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 20:52:56 ---> Running in 8ccccf08e48f 20:52:57 Removing intermediate container 8ccccf08e48f 20:52:57 ---> 64d69a1be674 20:52:57 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:52:57 ---> Running in c10756607dad 20:52:57 Removing intermediate container c10756607dad 20:52:57 ---> a8b039f1ce8d 20:52:57 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:52:57 ---> Running in 8592b80d3ae0 20:52:57 4ebd0625c992: Pull complete 20:52:57 207e8628e3a3: Pull complete 20:52:57 c791037a9be2: Pull complete 20:52:59 Removing intermediate container 8592b80d3ae0 20:52:59 ---> a1711103f138 20:52:59 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:52:59 ---> Running in 7a56391a04b0 20:52:59 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:53:00 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:53:01 (1/9) Installing libc-dev (0.7.2-r3) 20:53:01 (2/9) Installing libsodium (1.0.18-r0) 20:53:01 (3/9) Installing pkgconf (1.7.3-r0) 20:53:01 (4/9) Installing libsodium-dev (1.0.18-r0) 20:53:01 ffd874e62e21: Pull complete 20:53:01 (5/9) Installing openssh-keygen (8.4_p1-r3) 20:53:01 (6/9) Installing libedit (20191231.3.1-r1) 20:53:01 (7/9) Installing openssh-client (8.4_p1-r3) 20:53:01 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 20:53:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:53:01 ---> cfc18b08335c 20:53:01 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:53:01 (8/9) Installing libzmq (4.3.3-r1) 20:53:01 (9/9) Installing zeromq-dev (4.3.3-r1) 20:53:01 Executing busybox-1.32.1-r6.trigger 20:53:01 OK: 154 MiB in 49 packages 20:53:02 Removing intermediate container 7a56391a04b0 20:53:02 ---> db165ba51e39 20:53:02 Step 8/10 : WORKDIR /device-rest-go 20:53:02 ---> Running in ef2c290bc890 20:53:03 Removing intermediate container ef2c290bc890 20:53:03 ---> 3bf2ff9e9f4c 20:53:03 Step 9/10 : COPY . . 20:53:03 ---> ab17f89a6d2a 20:53:03 Step 10/10 : RUN go mod download 20:53:03 ---> Running in 64a9089b086f 20:53:04 ---> Running in f9502db76d64 20:53:04 Removing intermediate container f9502db76d64 20:53:04 ---> 1fe8f835f88d 20:53:04 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 20:53:04 ---> Running in 7e7d76d2a871 20:53:05 Removing intermediate container 7e7d76d2a871 20:53:05 ---> 6ba62b630bdc 20:53:05 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:53:05 ---> Running in 38f48460ab0c 20:53:05 Removing intermediate container 38f48460ab0c 20:53:05 ---> 9e0d24f1e242 20:53:05 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:53:05 ---> Running in f0b9d4d1176f 20:53:08 Removing intermediate container f0b9d4d1176f 20:53:08 ---> ea49cb36a236 20:53:08 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:53:08 ---> Running in eb90f430af2a 20:53:09 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:53:10 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:53:11 (1/9) Installing libc-dev (0.7.2-r3) 20:53:11 (2/9) Installing libsodium (1.0.18-r0) 20:53:11 (3/9) Installing pkgconf (1.7.3-r0) 20:53:12 (4/9) Installing libsodium-dev (1.0.18-r0) 20:53:12 (5/9) Installing openssh-keygen (8.4_p1-r3) 20:53:12 (6/9) Installing libedit (20191231.3.1-r1) 20:53:12 (7/9) Installing openssh-client (8.4_p1-r3) 20:53:12 (8/9) Installing libzmq (4.3.3-r1) 20:53:12 (9/9) Installing zeromq-dev (4.3.3-r1) 20:53:12 Executing busybox-1.32.1-r6.trigger 20:53:12 OK: 144 MiB in 49 packages 20:53:14 Removing intermediate container eb90f430af2a 20:53:14 ---> 7aaced1fe0b7 20:53:14 Step 8/10 : WORKDIR /device-rest-go 20:53:14 ---> Running in 17586b762573 20:53:14 Removing intermediate container 17586b762573 20:53:14 ---> 23ce05460f05 20:53:14 Step 9/10 : COPY . . 20:53:15 ---> 11acd613d5a8 20:53:15 Step 10/10 : RUN go mod download 20:53:15 ---> Running in 29f0672ef8b3 20:53:25 Removing intermediate container 64a9089b086f 20:53:25 ---> 9b5de459e99d 20:53:25 Successfully built 9b5de459e99d 20:53:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:53:25 + docker inspect -f . ci-base-image-x86_64 20:53:25 . [Pipeline] withDockerContainer 20:53:25 prd-centos7-docker-4c-2g-2517 does not seem to be running inside a container 20:53:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-x86_64 cat 20:53:26 $ docker top 97573a6a89b46fa7bd831fdc3bdadefca34e5ac48a362b7d1f8a0121351e8266 -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:27 + go version 20:53:27 go version go1.16.3 linux/amd64 [Pipeline] } 20:53:27 $ docker stop --time=1 97573a6a89b46fa7bd831fdc3bdadefca34e5ac48a362b7d1f8a0121351e8266 20:53:28 $ docker rm -f 97573a6a89b46fa7bd831fdc3bdadefca34e5ac48a362b7d1f8a0121351e8266 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:53:29 + docker inspect -f . ci-base-image-x86_64 20:53:29 . [Pipeline] withDockerContainer 20:53:29 prd-centos7-docker-4c-2g-2517 does not seem to be running inside a container 20:53:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-x86_64 cat 20:53:30 $ docker top eaf8e8f80567e27c39519063b21e252edc7bc7c0ab67c67d80beffdb9242b437 -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:30 + go mod tidy [Pipeline] sh 20:53:31 + make test 20:53:31 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:53:32 ? github.com/edgexfoundry/device-rest-go [no test files] 20:53:42 Removing intermediate container 29f0672ef8b3 20:53:42 ---> 337987de6d04 20:53:42 Successfully built 337987de6d04 20:53:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:53:43 + docker inspect -f . ci-base-image-arm64 20:53:43 . [Pipeline] withDockerContainer 20:53:43 prd-ubuntu18.04-docker-arm64-4c-16g-2515 does not seem to be running inside a container 20:53:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat 20:53:44 $ docker top 7b0cf4faf7f3c091501abba9dce92b7df8a8d2ab36448ebc86112483ac601192 -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:45 + go version 20:53:45 go version go1.16.3 linux/arm64 [Pipeline] } 20:53:45 $ docker stop --time=1 7b0cf4faf7f3c091501abba9dce92b7df8a8d2ab36448ebc86112483ac601192 20:53:47 $ docker rm -f 7b0cf4faf7f3c091501abba9dce92b7df8a8d2ab36448ebc86112483ac601192 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:53:49 + docker inspect -f . ci-base-image-arm64 20:53:49 . [Pipeline] withDockerContainer 20:53:49 prd-ubuntu18.04-docker-arm64-4c-16g-2515 does not seem to be running inside a container 20:53:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat 20:53:50 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:53:50 $ docker top 571419a6d85f53c4f5c535f620b10761b006f8f90e28558b8eda574d617ea307 -eo pid,comm 20:53:51 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 54.0% of statements [Pipeline] { [Pipeline] sh 20:53:51 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:53:51 + go mod tidy [Pipeline] sh 20:53:53 + make test 20:53:53 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:53:54 ? github.com/edgexfoundry/device-rest-go [no test files] 20:53:59 gofmt -l . 20:53:59 [ "`gofmt -l .`" = "" ] 20:53:59 ./bin/test-go-mod-tidy.sh 20:53:59 ./bin/test-attribution-txt.sh [Pipeline] } 20:54:00 $ docker stop --time=1 eaf8e8f80567e27c39519063b21e252edc7bc7c0ab67c67d80beffdb9242b437 20:54:02 $ docker rm -f eaf8e8f80567e27c39519063b21e252edc7bc7c0ab67c67d80beffdb9242b437 [Pipeline] // withDockerContainer [Pipeline] sh 20:54:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:54:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:54:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:54:06 + ls -al . 20:54:06 total 104 20:54:06 drwxrwxr-x. 8 jenkins jenkins 4096 Apr 30 20:54 . 20:54:06 drwxrwxr-x. 4 jenkins jenkins 28 Apr 30 20:52 .. 20:54:06 -rw-rw-r--. 1 jenkins jenkins 6792 Apr 30 20:52 Attribution.txt 20:54:06 drwxrwxr-x. 2 jenkins jenkins 64 Apr 30 20:52 bin 20:54:06 drwxrwxr-x. 3 jenkins jenkins 32 Apr 30 20:52 cmd 20:54:06 -rw-r--r--. 1 jenkins jenkins 8513 Apr 30 20:53 coverage.out 20:54:06 -rw-rw-r--. 1 jenkins jenkins 1602 Apr 30 20:52 Dockerfile 20:54:06 -rw-rw-r--. 1 jenkins jenkins 1087 Apr 30 20:52 Dockerfile.build 20:54:06 -rw-rw-r--. 1 jenkins jenkins 151 Apr 30 20:52 .dockerignore 20:54:06 drwxrwxr-x. 2 jenkins jenkins 76 Apr 30 20:52 driver 20:54:06 drwxrwxr-x. 8 jenkins jenkins 179 Apr 30 20:52 .git 20:54:06 drwxrwxr-x. 2 jenkins jenkins 103 Apr 30 20:52 .github 20:54:06 -rw-rw-r--. 1 jenkins jenkins 339 Apr 30 20:52 .gitignore 20:54:06 -rw-r--r--. 1 jenkins jenkins 285 Apr 30 20:53 go.mod 20:54:06 -rw-r--r--. 1 jenkins jenkins 21331 Apr 30 20:53 go.sum 20:54:06 -rw-rw-r--. 1 jenkins jenkins 680 Apr 30 20:52 Jenkinsfile 20:54:06 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 30 20:52 LICENSE 20:54:06 -rw-rw-r--. 1 jenkins jenkins 996 Apr 30 20:52 Makefile 20:54:06 -rw-rw-r--. 1 jenkins jenkins 7667 Apr 30 20:52 README.md 20:54:06 drwxrwxr-x. 4 jenkins jenkins 71 Apr 30 20:52 snap 20:54:06 -rw-rw-r--. 1 jenkins jenkins 5 Apr 30 20:50 VERSION 20:54:06 -rw-rw-r--. 1 jenkins jenkins 713 Apr 30 20:52 version.go [Pipeline] isUnix [Pipeline] sh 20:54:06 + 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=99e6da9a436d818c790cb2a7860cf88a2bc87c7d --label arch=amd64 --label version=0.0.0 . 20:54:06 Sending build context to Docker daemon 102.9kB 20:54:06 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 20:54:06 Step 2/24 : FROM ${BASE} AS builder 20:54:06 ---> 9b5de459e99d 20:54:06 Step 3/24 : ARG MAKE='make build' 20:54:07 ---> Running in 8d2658ad23ed 20:54:07 Removing intermediate container 8d2658ad23ed 20:54:07 ---> ba49a172d029 20:54:07 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:54:07 ---> Running in 4b9e7ec1c18d 20:54:07 Removing intermediate container 4b9e7ec1c18d 20:54:07 ---> 4aa18f770bfc 20:54:07 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 20:54:07 ---> Running in a8d8c8db6543 20:54:07 Removing intermediate container a8d8c8db6543 20:54:07 ---> b9883ddc4431 20:54:07 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:54:08 ---> Running in 73a9ffea01c3 20:54:08 Removing intermediate container 73a9ffea01c3 20:54:08 ---> cdc3dcfc0c6c 20:54:08 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:54:08 ---> Running in fa7a8d618ed6 20:54:09 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:54:10 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:54:11 OK: 154 MiB in 49 packages 20:54:11 Removing intermediate container fa7a8d618ed6 20:54:11 ---> a25bd8a2cc71 20:54:11 Step 8/24 : WORKDIR /device-rest-go 20:54:11 ---> Running in a6b8a367662c 20:54:11 Removing intermediate container a6b8a367662c 20:54:11 ---> a647557a10d1 20:54:11 Step 9/24 : COPY . . 20:54:12 ---> 4ac24ab7b859 20:54:12 Step 10/24 : RUN make update 20:54:12 ---> Running in 9ac96b6be904 20:54:12 CGO_ENABLED=0 GO111MODULE=on go mod download 20:54:13 Removing intermediate container 9ac96b6be904 20:54:13 ---> 6eaf4eda82ad 20:54:13 Step 11/24 : RUN $MAKE 20:54:13 ---> Running in c796e5db48fe 20:54:13 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:54:28 Removing intermediate container c796e5db48fe 20:54:28 ---> 49836ee5c372 20:54:28 Step 12/24 : FROM alpine:3.12 20:54:28 3.12: Pulling from library/alpine 20:54:28 339de151aab4: Pulling fs layer 20:54:28 339de151aab4: Verifying Checksum 20:54:28 339de151aab4: Download complete 20:54:28 339de151aab4: Pull complete 20:54:28 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 20:54:28 Status: Downloaded newer image for alpine:3.12 20:54:28 ---> 13621d1b12d4 20:54:28 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:54:28 ---> Running in fe1a4d9e7cc3 20:54:28 Removing intermediate container fe1a4d9e7cc3 20:54:28 ---> f48c0f481c21 20:54:28 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 20:54:28 ---> Running in 641ce15cc4e7 20:54:28 Removing intermediate container 641ce15cc4e7 20:54:28 ---> 52c856f06fe7 20:54:28 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 20:54:28 ---> Running in 255d33cde139 20:54:29 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:54:29 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:54:29 (1/6) Installing dumb-init (1.2.2-r1) 20:54:29 (2/6) Installing libgcc (9.3.0-r2) 20:54:29 (3/6) Installing libsodium (1.0.18-r0) 20:54:29 (4/6) Installing libstdc++ (9.3.0-r2) 20:54:29 (5/6) Installing libzmq (4.3.3-r0) 20:54:29 (6/6) Installing zeromq (4.3.3-r0) 20:54:29 Executing busybox-1.31.1-r20.trigger 20:54:29 OK: 8 MiB in 20 packages 20:54:30 Removing intermediate container 255d33cde139 20:54:30 ---> 9d59cbd99f41 20:54:30 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 20:54:30 ---> 8d5cf148d4aa 20:54:30 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 20:54:30 ---> c97e5871c941 20:54:30 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 20:54:31 ---> b5d206c62d7f 20:54:31 Step 19/24 : EXPOSE 49986 20:54:31 ---> Running in 4a64ae7a0697 20:54:31 Removing intermediate container 4a64ae7a0697 20:54:31 ---> 9b2cf22e40f7 20:54:31 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 20:54:31 ---> Running in cc6c4c6e4393 20:54:31 Removing intermediate container cc6c4c6e4393 20:54:31 ---> 45ca03392721 20:54:31 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:54:31 ---> Running in 1ec4893ddc83 20:54:31 Removing intermediate container 1ec4893ddc83 20:54:31 ---> bec7906165cf 20:54:31 Step 22/24 : LABEL arch=amd64 20:54:31 ---> Running in ad4c4d23276e 20:54:32 Removing intermediate container ad4c4d23276e 20:54:32 ---> 8a4dd7eea81d 20:54:32 Step 23/24 : LABEL git_sha=99e6da9a436d818c790cb2a7860cf88a2bc87c7d 20:54:32 ---> Running in 79a1083776b1 20:54:32 Removing intermediate container 79a1083776b1 20:54:32 ---> 75247481952e 20:54:32 Step 24/24 : LABEL version=0.0.0 20:54:32 ---> Running in 4882753d7be1 20:54:32 Removing intermediate container 4882753d7be1 20:54:32 ---> d509dc1d1ab4 20:54:32 [Warning] One or more build-args [ARCH] were not consumed 20:54:32 Successfully built d509dc1d1ab4 20:54:32 Successfully tagged docker-device-rest-go: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:54:33 ---> job-cost.sh 20:54:33 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-lXkv 20:54:48 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:54:50 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:54:50 ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 54.0% of statements 20:54:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:55:13 gofmt -l . 20:55:13 [ "`gofmt -l .`" = "" ] 20:55:13 ./bin/test-go-mod-tidy.sh 20:55:13 ./bin/test-attribution-txt.sh [Pipeline] } 20:55:13 $ docker stop --time=1 571419a6d85f53c4f5c535f620b10761b006f8f90e28558b8eda574d617ea307 20:55:15 lf-activate-venv(): INFO: Adding /tmp/venv-lXkv/bin to PATH 20:55:15 INFO: No Stack... 20:55:15 INFO: Retrieving Pricing Info for: v1-standard-2 20:55:15 $ docker rm -f 571419a6d85f53c4f5c535f620b10761b006f8f90e28558b8eda574d617ea307 [Pipeline] // withDockerContainer [Pipeline] sh 20:55:16 INFO: Archiving Costs [Pipeline] sh 20:55:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:55:16 Warning: overwriting stash ‘coverage-report’ 20:55:16 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:55:16 + cut -d, -f6 [Pipeline] lock 20:55:16 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-81-1-stack-cost] 20:55:16 Resource [jenkins-edgexfoundry-device-rest-go-PR-81-1-stack-cost] did not exist. Created. 20:55:16 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-81-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:55:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 20:55:17 + echo total: 0.029999999329447746 [Pipeline] stage [Pipeline] { (Build) [Pipeline] stash [Pipeline] script [Pipeline] { 20:55:17 Stashed 1 file(s) [Pipeline] sh [Pipeline] } 20:55:17 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-81-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:55:17 + sudo chown -R jenkins:jenkins . [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 20:55:18 + ls -al . 20:55:18 total 132 20:55:18 drwxrwxr-x 8 jenkins jenkins 4096 Apr 30 20:55 . 20:55:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 30 20:52 .. 20:55:18 -rw-rw-r-- 1 jenkins jenkins 151 Apr 30 20:52 .dockerignore 20:55:18 drwxrwxr-x 8 jenkins jenkins 4096 Apr 30 20:52 .git 20:55:18 drwxrwxr-x 2 jenkins jenkins 4096 Apr 30 20:52 .github 20:55:18 -rw-rw-r-- 1 jenkins jenkins 339 Apr 30 20:52 .gitignore 20:55:18 -rw-rw-r-- 1 jenkins jenkins 6792 Apr 30 20:52 Attribution.txt 20:55:18 -rw-rw-r-- 1 jenkins jenkins 1602 Apr 30 20:52 Dockerfile 20:55:18 -rw-rw-r-- 1 jenkins jenkins 1087 Apr 30 20:52 Dockerfile.build 20:55:18 -rw-rw-r-- 1 jenkins jenkins 680 Apr 30 20:52 Jenkinsfile 20:55:18 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 30 20:52 LICENSE 20:55:18 -rw-rw-r-- 1 jenkins jenkins 996 Apr 30 20:52 Makefile 20:55:18 -rw-rw-r-- 1 jenkins jenkins 7667 Apr 30 20:52 README.md 20:55:18 -rw-rw-r-- 1 jenkins jenkins 5 Apr 30 20:50 VERSION 20:55:18 drwxrwxr-x 2 jenkins jenkins 4096 Apr 30 20:52 bin 20:55:18 drwxrwxr-x 3 jenkins jenkins 4096 Apr 30 20:52 cmd 20:55:18 -rw-r--r-- 1 jenkins jenkins 8513 Apr 30 20:54 coverage.out 20:55:18 drwxrwxr-x 2 jenkins jenkins 4096 Apr 30 20:52 driver 20:55:18 -rw-r--r-- 1 jenkins jenkins 285 Apr 30 20:55 go.mod 20:55:18 -rw-r--r-- 1 jenkins jenkins 21331 Apr 30 20:53 go.sum 20:55:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 30 20:52 snap 20:55:18 -rw-rw-r-- 1 jenkins jenkins 713 Apr 30 20:52 version.go [Pipeline] // stage [Pipeline] } [Pipeline] isUnix [Pipeline] sh 20:55:18 + 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=99e6da9a436d818c790cb2a7860cf88a2bc87c7d --label arch=arm64 --label version=0.0.0 . 20:55:18 Sending build context to Docker daemon 102.9kB 20:55:19 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 20:55:19 Step 2/24 : FROM ${BASE} AS builder 20:55:19 ---> 337987de6d04 20:55:19 Step 3/24 : ARG MAKE='make build' 20:55:19 ---> Running in aa183204c882 20:55:19 Removing intermediate container aa183204c882 20:55:19 ---> 2cdf4f7b972d 20:55:19 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:55:19 ---> Running in 4114df49c76a 20:55:20 Removing intermediate container 4114df49c76a 20:55:20 ---> 191af1a674e8 20:55:20 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 20:55:20 ---> Running in 1e14846a4660 20:55:21 Removing intermediate container 1e14846a4660 20:55:21 ---> 83b36f403e4a 20:55:21 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:55:21 ---> Running in 6f6a5e32e9b0 20:55:23 Removing intermediate container 6f6a5e32e9b0 20:55:23 ---> 8503fe721f86 20:55:23 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:55:23 ---> Running in 2c52471c7bfb 20:55:24 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:55:26 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:55:27 OK: 144 MiB in 49 packages 20:55:29 Removing intermediate container 2c52471c7bfb 20:55:29 ---> 3d85d49e4e61 20:55:29 Step 8/24 : WORKDIR /device-rest-go 20:55:29 ---> Running in fcc650de15bd 20:55:29 Removing intermediate container fcc650de15bd 20:55:29 ---> b606455a0772 20:55:29 Step 9/24 : COPY . . 20:55:30 ---> a9580607050b 20:55:30 Step 10/24 : RUN make update 20:55:30 ---> Running in fccbec013b38 20:55:31 CGO_ENABLED=0 GO111MODULE=on go mod download 20:55:32 Removing intermediate container fccbec013b38 20:55:32 ---> 380b0da8c493 20:55:32 Step 11/24 : RUN $MAKE 20:55:32 ---> Running in a5870131177c 20:55:33 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:56:12 Removing intermediate container a5870131177c 20:56:12 ---> 2709e685eab5 20:56:12 Step 12/24 : FROM alpine:3.12 20:56:12 3.12: Pulling from library/alpine 20:56:12 d2f70382dc9a: Pulling fs layer 20:56:12 d2f70382dc9a: Verifying Checksum 20:56:12 d2f70382dc9a: Download complete 20:56:12 d2f70382dc9a: Pull complete 20:56:12 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 20:56:12 Status: Downloaded newer image for alpine:3.12 20:56:12 ---> 9852663dfa18 20:56:12 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:56:12 ---> Running in 9d866c6b16d1 20:56:12 Removing intermediate container 9d866c6b16d1 20:56:12 ---> 7436a59a69bf 20:56:12 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 20:56:12 ---> Running in 2538c6e9b792 20:56:12 Removing intermediate container 2538c6e9b792 20:56:12 ---> 1ef9527c95ab 20:56:12 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 20:56:12 ---> Running in dfd5397acf10 20:56:13 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:56:13 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:56:13 (1/6) Installing dumb-init (1.2.2-r1) 20:56:13 (2/6) Installing libgcc (9.3.0-r2) 20:56:13 (3/6) Installing libsodium (1.0.18-r0) 20:56:13 (4/6) Installing libstdc++ (9.3.0-r2) 20:56:13 (5/6) Installing libzmq (4.3.3-r0) 20:56:13 (6/6) Installing zeromq (4.3.3-r0) 20:56:13 Executing busybox-1.31.1-r20.trigger 20:56:13 OK: 8 MiB in 20 packages 20:56:15 Removing intermediate container dfd5397acf10 20:56:15 ---> bd07a9908289 20:56:15 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 20:56:16 ---> 690e82c791e4 20:56:16 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 20:56:17 ---> 362893df0235 20:56:17 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 20:56:18 ---> 497bdd9df4e2 20:56:18 Step 19/24 : EXPOSE 49986 20:56:18 ---> Running in ff1f1196a467 20:56:18 Removing intermediate container ff1f1196a467 20:56:18 ---> 2edd5ce13897 20:56:18 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 20:56:18 ---> Running in 288ffd8115a0 20:56:19 Removing intermediate container 288ffd8115a0 20:56:19 ---> 0aef3663d290 20:56:19 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:56:19 ---> Running in 7f2af1bb32af 20:56:19 Removing intermediate container 7f2af1bb32af 20:56:19 ---> ee340430d45e 20:56:19 Step 22/24 : LABEL arch=arm64 20:56:19 ---> Running in c13f9302926c 20:56:20 Removing intermediate container c13f9302926c 20:56:20 ---> 6944b35523a7 20:56:20 Step 23/24 : LABEL git_sha=99e6da9a436d818c790cb2a7860cf88a2bc87c7d 20:56:20 ---> Running in 063013f5c05f 20:56:20 Removing intermediate container 063013f5c05f 20:56:20 ---> 89d9f413ae3b 20:56:20 Step 24/24 : LABEL version=0.0.0 20:56:21 ---> Running in ac52ef8f55ed 20:56:21 Removing intermediate container ac52ef8f55ed 20:56:21 ---> c6f090bb7740 20:56:21 [Warning] One or more build-args [ARCH] were not consumed 20:56:21 Successfully built c6f090bb7740 20:56:21 Successfully tagged docker-device-rest-go-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:56:22 ---> job-cost.sh 20:56:22 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-PcDy 20:57:01 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:58:23 lf-activate-venv(): INFO: Adding /tmp/venv-PcDy/bin to PATH 20:58:23 INFO: No Stack... 20:58:23 INFO: Retrieving Pricing Info for: lf-standard-4 20:58:23 INFO: Archiving Costs [Pipeline] sh 20:58:23 + cat /w/workspace/device-rest-go/1/archives/cost.csv+ 20:58:23 cut -d, -f6 [Pipeline] lock 20:58:24 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-81-1-stack-cost] 20:58:24 Resource [jenkins-edgexfoundry-device-rest-go-PR-81-1-stack-cost] did not exist. Created. 20:58:24 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-81-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:58:24 /w/workspace/device-rest-go/1@tmp/durable-db30a82e/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-db30a82e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:58:25 + echo total: 0.20999999344348907 [Pipeline] stash 20:58:25 Warning: overwriting stash ‘stack-cost’ 20:58:25 Stashed 1 file(s) [Pipeline] } 20:58:25 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-81-1-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:58:26 provisioning config files... 20:58:26 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-81@tmp/config3219914024579547176tmp [Pipeline] { [Pipeline] sh 20:58:26 + set +x 20:58:26 + curl -s https://codecov.io/bash 20:58:26 + bash -s -- 20:58:27 20:58:27 _____ _ 20:58:27 / ____| | | 20:58:27 | | ___ __| | ___ ___ _____ __ 20:58:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:58:27 | |___| (_) | (_| | __/ (_| (_) \ V / 20:58:27 \_____\___/ \__,_|\___|\___\___/ \_/ 20:58:27 Bash-1.0.2 20:58:27 20:58:27 20:58:27 ==> git version 2.24.3 found 20:58:27 ==> 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:58:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:58:27 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:58:27 ==> Jenkins CI detected. 20:58:27 project root: . 20:58:27 --> token set from env 20:58:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:58:27 ==> Running gcov in . (disable via -X gcov) 20:58:27 ==> Python coveragepy not found 20:58:27 ==> Searching for coverage reports in: 20:58:27 + . 20:58:27 -> Found 1 reports 20:58:27 ==> Detecting git/mercurial file structure 20:58:27 ==> Reading reports 20:58:27 + ./coverage.out bytes=8513 20:58:27 ==> Appending adjustments 20:58:27 https://docs.codecov.io/docs/fixing-reports 20:58:27 + Found adjustments 20:58:27 ==> Gzipping contents 20:58:27 4.0K /tmp/codecov.W0wao5.gz 20:58:27 ==> Uploading reports 20:58:27 url: https://codecov.io 20:58:27 query: branch=PR-81&commit=99e6da9a436d818c790cb2a7860cf88a2bc87c7d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-81%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=81&job=&cmd_args= 20:58:27 -> Pinging Codecov 20:58:27 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-81&commit=99e6da9a436d818c790cb2a7860cf88a2bc87c7d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-81%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=81&job=&cmd_args= 20:58:28 -> Uploading to 20:58:28 https://storage.googleapis.com/codecov/v4/raw/2021-04-30/4E5D53B4F1F92C436F7061BF334D961C/99e6da9a436d818c790cb2a7860cf88a2bc87c7d/bc12d056-a7a6-4263-9a99-ab2df9476ffd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210430%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210430T205827Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5fb8eecb5765980a346f79089a6524449aeb87286de958182d13a23dbc2e4651 20:58:28 % Total % Received % Xferd Average Speed Time Time Time Current 20:58:28 Dload Upload Total Spent Left Speed 20:58:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1622 0 0 100 1622 0 4232 --:--:-- --:--:-- --:--:-- 4234 20:58:28 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/99e6da9a436d818c790cb2a7860cf88a2bc87c7d [Pipeline] } 20:58:28 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:58:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:58:31 ---> package-listing.sh 20:58:31 ++ tr '[:upper:]' '[:lower:]' 20:58:31 ++ facter osfamily 20:58:31 + OS_FAMILY=redhat 20:58:31 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-81 20:58:31 + START_PACKAGES=/tmp/packages_start.txt 20:58:31 + END_PACKAGES=/tmp/packages_end.txt 20:58:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:58:31 + PACKAGES=/tmp/packages_start.txt 20:58:31 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-81 ']' 20:58:31 + PACKAGES=/tmp/packages_end.txt 20:58:31 + case "${OS_FAMILY}" in 20:58:31 + rpm -qa 20:58:31 + sort 20:58:37 + '[' -f /tmp/packages_start.txt ']' 20:58:37 + '[' -f /tmp/packages_end.txt ']' 20:58:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:58:37 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-81 ']' 20:58:37 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-81/archives/ 20:58:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-81/archives/ [Pipeline] echo 20:58:37 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-81/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:58:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:58:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:58:38 20:58:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:58:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:58:38 alpine: Pulling from edgex-lftools-log-publisher 20:58:38 df20fa9351a1: Pulling fs layer 20:58:38 36b3adc4ff6f: Pulling fs layer 20:58:38 8ad3a11d3b57: Pulling fs layer 20:58:38 46f8f816bc3b: Pulling fs layer 20:58:38 93b61091891f: Pulling fs layer 20:58:38 93b9cdb0e59b: Pulling fs layer 20:58:38 5e14af77c1be: Pulling fs layer 20:58:38 01666e4c0597: Pulling fs layer 20:58:38 aa168da1d23b: Pulling fs layer 20:58:38 46f8f816bc3b: Waiting 20:58:38 01666e4c0597: Waiting 20:58:38 93b61091891f: Waiting 20:58:38 aa168da1d23b: Waiting 20:58:38 93b9cdb0e59b: Waiting 20:58:38 5e14af77c1be: Waiting 20:58:38 36b3adc4ff6f: Verifying Checksum 20:58:38 36b3adc4ff6f: Download complete 20:58:38 46f8f816bc3b: Verifying Checksum 20:58:38 46f8f816bc3b: Download complete 20:58:38 df20fa9351a1: Verifying Checksum 20:58:38 93b9cdb0e59b: Verifying Checksum 20:58:38 93b9cdb0e59b: Download complete 20:58:38 5e14af77c1be: Verifying Checksum 20:58:38 5e14af77c1be: Download complete 20:58:38 01666e4c0597: Verifying Checksum 20:58:38 01666e4c0597: Download complete 20:58:38 93b61091891f: Verifying Checksum 20:58:38 93b61091891f: Download complete 20:58:38 df20fa9351a1: Pull complete 20:58:39 36b3adc4ff6f: Pull complete 20:58:39 8ad3a11d3b57: Verifying Checksum 20:58:39 8ad3a11d3b57: Download complete 20:58:40 8ad3a11d3b57: Pull complete 20:58:40 46f8f816bc3b: Pull complete 20:58:41 93b61091891f: Pull complete 20:58:41 93b9cdb0e59b: Pull complete 20:58:41 5e14af77c1be: Pull complete 20:58:41 01666e4c0597: Pull complete 20:58:43 aa168da1d23b: Verifying Checksum 20:58:43 aa168da1d23b: Download complete 20:58:51 aa168da1d23b: Pull complete 20:58:51 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:58:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:58:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:58:51 prd-centos7-docker-4c-2g-2514 does not seem to be running inside a container 20:58:52 $ 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-81/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-81 -v /w/workspace/dgexfoundry_device-rest-go_PR-81:/w/workspace/dgexfoundry_device-rest-go_PR-81:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-81@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-81@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:58:54 $ docker top 99babd5123e1463127163533ba4f0c59d69e64ab52f697b80195a4700d1c3f57 -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:55 + touch /tmp/pre-build-complete [Pipeline] sh 20:58:55 + mkdir -p /var/log/sa [Pipeline] sh 20:58:55 + ls /var/log/sa-host 20:58:55 + sadf -c /var/log/sa-host/sa23 20:58:55 file_magic: OK 20:58:55 HZ: Using current value: 100 20:58:55 file_header: OK 20:58:55 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:58:55 Statistics: 20:58:55 Hnuu...uuuununununu... 20:58:55 File successfully converted to sysstat format version 12.2.1 20:58:55 + sadf -c /var/log/sa-host/sa30 20:58:55 file_magic: OK 20:58:55 HZ: Using current value: 100 20:58:55 file_header: OK 20:58:55 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:58:55 Statistics: 20:58:55 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:58:55 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:56 provisioning config files... 20:58:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-81@tmp/config7358222834448453812tmp [Pipeline] { [Pipeline] echo 20:58:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:58:57 ---> create-netrc.sh [Pipeline] } 20:58:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:58:57 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:58:57 ---> python-tools-install.sh [Pipeline] echo 20:58:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:58:58 ---> sudo-logs.sh 20:58:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:58:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:58:58 ---> job-cost.sh 20:58:58 lf-activate-venv: SKIPPING 20:58:58 DEBUG: total: 0.20999999344348907 20:58:58 INFO: Retrieving Stack Cost... 20:58:59 INFO: Retrieving Pricing Info for: v1-standard-2 20:59:00 INFO: Archiving Costs [Pipeline] echo 20:59:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:59:00 ---> logs-deploy.sh 20:59:00 lf-activate-venv: SKIPPING 20:59:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-81/1 20:59:00 INFO: archiving workspace using pattern(s): 20:59:02 Archives upload complete. 20:59:02 INFO: archiving logs to Nexus