Pull request #92 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 75f49688efec1912c312743df3f39e9b386dbea7+4f98354a1324b6971af40554b83b1d8fb938970d (ac7aacf226d902e62a69e8a4a525bb63c085c290) 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-92/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-92/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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4481 in /w/workspace/dgexfoundry_device-rest-go_PR-92 [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-92 # 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 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit 75f49688efec1912c312743df3f39e9b386dbea7 Merge succeeded, producing 75f49688efec1912c312743df3f39e9b386dbea7 Checking out Revision 75f49688efec1912c312743df3f39e9b386dbea7 (PR-92) > 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/92/head:refs/remotes/origin/PR-92 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75f49688efec1912c312743df3f39e9b386dbea7 # 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 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75f49688efec1912c312743df3f39e9b386dbea7 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" 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 [2021-05-11T15:19:09.625Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-11T15:19:09.839Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-11T15:19:10.000Z] ========================================================= [2021-05-11T15:19:10.000Z] EdgeX Global Pipelines Version Info [2021-05-11T15:19:10.000Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:19:12.621Z] ------------------- [2021-05-11T15:19:12.621Z] stable info: [2021-05-11T15:19:12.621Z] ------------------- [2021-05-11T15:19:12.621Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-11T15:19:12.621Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-11T15:19:12.621Z] Message: update stable to v1.0.191 [2021-05-11T15:19:13.572Z] ------------------- [2021-05-11T15:19:13.572Z] experimental info: [2021-05-11T15:19:13.572Z] ------------------- [2021-05-11T15:19:13.572Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-11T15:19:13.573Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T15:19:13.573Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-11T15:19:13.799Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-11T15:19:13.854Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-11T15:19:13.912Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-11T15:19:13.968Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-11T15:19:14.025Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-11T15:19:14.084Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-11T15:19:14.147Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-11T15:19:14.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-11T15:19:14.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-11T15:19:14.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-11T15:19:14.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-11T15:19:14.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-05-11T15:19:14.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-11T15:19:14.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-11T15:19:14.652Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T15:19:14.711Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T15:19:14.768Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T15:19:14.824Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T15:19:14.883Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-11T15:19:14.939Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-11T15:19:15.022Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-11T15:19:15.076Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-11T15:19:15.128Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-11T15:19:15.184Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-11T15:19:15.251Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-11T15:19:15.303Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-11T15:19:15.360Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-92 [Pipeline] echo [2021-05-11T15:19:15.417Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-92 [Pipeline] echo [2021-05-11T15:19:15.470Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-92 [Pipeline] echo [2021-05-11T15:19:15.522Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75f49688efec1912c312743df3f39e9b386dbea7 [Pipeline] echo [2021-05-11T15:19:15.590Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 75f4968 [Pipeline] echo [2021-05-11T15:19:15.654Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T15:19:15.802Z] provisioning config files... [2021-05-11T15:19:15.845Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-92@tmp/config7474030230209367625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:19:16.230Z] ---> docker-login.sh [2021-05-11T15:19:16.230Z] nexus3.edgexfoundry.org:10001 [2021-05-11T15:19:16.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:19:16.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:19:16.757Z] Configure a credential helper to remove this warning. See [2021-05-11T15:19:16.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:19:16.757Z] [2021-05-11T15:19:16.757Z] Login Succeeded [2021-05-11T15:19:16.757Z] nexus3.edgexfoundry.org:10002 [2021-05-11T15:19:16.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:19:16.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:19:16.757Z] Configure a credential helper to remove this warning. See [2021-05-11T15:19:16.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:19:16.757Z] [2021-05-11T15:19:16.757Z] Login Succeeded [2021-05-11T15:19:16.757Z] nexus3.edgexfoundry.org:10003 [2021-05-11T15:19:17.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:19:17.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:19:17.021Z] Configure a credential helper to remove this warning. See [2021-05-11T15:19:17.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:19:17.021Z] [2021-05-11T15:19:17.021Z] Login Succeeded [2021-05-11T15:19:17.021Z] nexus3.edgexfoundry.org:10004 [2021-05-11T15:19:17.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:19:17.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:19:17.284Z] Configure a credential helper to remove this warning. See [2021-05-11T15:19:17.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:19:17.284Z] [2021-05-11T15:19:17.284Z] Login Succeeded [2021-05-11T15:19:17.284Z] docker.io [2021-05-11T15:19:17.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:19:17.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:19:17.857Z] Configure a credential helper to remove this warning. See [2021-05-11T15:19:17.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:19:17.857Z] [2021-05-11T15:19:17.857Z] Login Succeeded [2021-05-11T15:19:17.857Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T15:19:17.883Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T15:19:18.585Z] + git log --format=format:%s -1 75f49688efec1912c312743df3f39e9b386dbea7 [Pipeline] echo [2021-05-11T15:19:18.677Z] GIT_COMMIT: 75f49688efec1912c312743df3f39e9b386dbea7, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-05-11T15:19:18.719Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:19:19.346Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T15:19:19.346Z] [2021-05-11T15:19:19.346Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:19:19.703Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T15:19:19.703Z] latest: Pulling from edgex-devops/git-semver [2021-05-11T15:19:19.703Z] 31603596830f: Pulling fs layer [2021-05-11T15:19:19.703Z] 54011a49482f: Pulling fs layer [2021-05-11T15:19:19.703Z] a6820b24f6d8: Pulling fs layer [2021-05-11T15:19:19.703Z] f581987b2513: Pulling fs layer [2021-05-11T15:19:19.703Z] f581987b2513: Waiting [2021-05-11T15:19:19.703Z] 54011a49482f: Verifying Checksum [2021-05-11T15:19:19.703Z] 54011a49482f: Download complete [2021-05-11T15:19:19.703Z] 31603596830f: Download complete [2021-05-11T15:19:19.981Z] f581987b2513: Verifying Checksum [2021-05-11T15:19:19.981Z] f581987b2513: Download complete [2021-05-11T15:19:19.981Z] a6820b24f6d8: Verifying Checksum [2021-05-11T15:19:19.981Z] a6820b24f6d8: Download complete [2021-05-11T15:19:20.246Z] 31603596830f: Pull complete [2021-05-11T15:19:20.246Z] 54011a49482f: Pull complete [2021-05-11T15:19:21.206Z] a6820b24f6d8: Pull complete [2021-05-11T15:19:21.469Z] f581987b2513: Pull complete [2021-05-11T15:19:21.469Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-11T15:19:21.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T15:19:21.469Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-11T15:19:21.595Z] prd-centos7-docker-4c-2g-4481 does not seem to be running inside a container [2021-05-11T15:19:21.648Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-92 -v /w/workspace/dgexfoundry_device-rest-go_PR-92:/w/workspace/dgexfoundry_device-rest-go_PR-92:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-92@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-92@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-11T15:19:23.537Z] $ docker top 9e80f3e212049cf188eba47c628a5d540cb506ba6be2d89ceb124c05b75f23fb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-11T15:19:23.781Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T15:19:23.781Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T15:19:24.000Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T15:19:24.006Z] $ docker exec 9e80f3e212049cf188eba47c628a5d540cb506ba6be2d89ceb124c05b75f23fb ssh-agent [2021-05-11T15:19:24.186Z] SSH_AUTH_SOCK=/tmp/ssh-P5NtHtvZdwk0/agent.12 [2021-05-11T15:19:24.186Z] SSH_AGENT_PID=17 [2021-05-11T15:19:24.196Z] Running ssh-add (command line suppressed) [2021-05-11T15:19:24.318Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-92@tmp/private_key_1428081586665122404.key (/w/workspace/dgexfoundry_device-rest-go_PR-92@tmp/private_key_1428081586665122404.key) [2021-05-11T15:19:24.369Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T15:19:24.719Z] + git tag --points-at HEAD [Pipeline] } [2021-05-11T15:19:24.748Z] $ docker exec --env ******** --env ******** 9e80f3e212049cf188eba47c628a5d540cb506ba6be2d89ceb124c05b75f23fb ssh-agent -k [2021-05-11T15:19:24.859Z] unset SSH_AUTH_SOCK; [2021-05-11T15:19:24.859Z] unset SSH_AGENT_PID; [2021-05-11T15:19:24.859Z] echo Agent pid 17 killed; [2021-05-11T15:19:24.911Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-11T15:19:25.026Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T15:19:25.026Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T15:19:25.186Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T15:19:25.192Z] $ docker exec 9e80f3e212049cf188eba47c628a5d540cb506ba6be2d89ceb124c05b75f23fb ssh-agent [2021-05-11T15:19:25.352Z] SSH_AUTH_SOCK=/tmp/ssh-kJm8CfisEA9g/agent.45 [2021-05-11T15:19:25.352Z] SSH_AGENT_PID=51 [2021-05-11T15:19:25.358Z] Running ssh-add (command line suppressed) [2021-05-11T15:19:25.480Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-92@tmp/private_key_2229568349711135456.key (/w/workspace/dgexfoundry_device-rest-go_PR-92@tmp/private_key_2229568349711135456.key) [2021-05-11T15:19:25.529Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T15:19:25.882Z] + git semver init [2021-05-11T15:19:25.882Z] # -> Open(): unable to determine branch for HEAD [2021-05-11T15:19:25.882Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-92/.git [2021-05-11T15:19:25.882Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-92 [2021-05-11T15:19:25.882Z] # $SEMVER_REMOTE_NAME = origin [2021-05-11T15:19:25.882Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-11T15:19:25.882Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-11T15:19:25.882Z] # $SEMVER_BRANCH = PR-92 [2021-05-11T15:19:25.882Z] # $SEMVER_TEMP = /tmp/semver-584116729 [2021-05-11T15:19:25.882Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-11T15:19:27.281Z] # '/tmp/semver-584116729' -> '/w/workspace/dgexfoundry_device-rest-go_PR-92/.semver' [2021-05-11T15:19:27.281Z] # -> Force: false [2021-05-11T15:19:27.281Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-92/.semver [Pipeline] } [2021-05-11T15:19:27.311Z] $ docker exec --env ******** --env ******** 9e80f3e212049cf188eba47c628a5d540cb506ba6be2d89ceb124c05b75f23fb ssh-agent -k [2021-05-11T15:19:27.436Z] unset SSH_AUTH_SOCK; [2021-05-11T15:19:27.436Z] unset SSH_AGENT_PID; [2021-05-11T15:19:27.436Z] echo Agent pid 51 killed; [2021-05-11T15:19:27.489Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T15:19:27.940Z] + git semver [Pipeline] } [2021-05-11T15:19:27.972Z] $ docker stop --time=1 9e80f3e212049cf188eba47c628a5d540cb506ba6be2d89ceb124c05b75f23fb [2021-05-11T15:19:29.394Z] $ docker rm -f 9e80f3e212049cf188eba47c628a5d540cb506ba6be2d89ceb124c05b75f23fb [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T15:19:29.873Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-11T15:19:30.229Z] Stashed 1 file(s) [Pipeline] echo [2021-05-11T15:19:30.252Z] [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 [2021-05-11T15:19:45.746Z] Still waiting to schedule task [2021-05-11T15:19:45.746Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-11T15:19:45.775Z] Still waiting to schedule task [2021-05-11T15:19:45.775Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-11T15:23:42.048Z] Running on prd-centos7-docker-4c-2g-4485 in /w/workspace/dgexfoundry_device-rest-go_PR-92 [Pipeline] { [Pipeline] ws [2021-05-11T15:23:42.104Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-11T15:23:48.484Z] using credential edgex-jenkins-ssh [2021-05-11T15:23:48.500Z] Cloning the remote Git repository [2021-05-11T15:23:48.549Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T15:23:48.664Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-11T15:23:48.790Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T15:23:48.790Z] > git --version # timeout=10 [2021-05-11T15:23:48.814Z] > git --version # 'git version 2.24.3' [2021-05-11T15:23:48.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T15:23:48.997Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T15:23:50.087Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-11T15:23:50.096Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T15:23:50.108Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-11T15:23:50.121Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T15:23:50.122Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T15:23:50.128Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/92/head:refs/remotes/origin/PR-92 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T15:23:50.512Z] Merging remotes/origin/master commit 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit 75f49688efec1912c312743df3f39e9b386dbea7 [2021-05-11T15:23:50.741Z] Merge succeeded, producing 75f49688efec1912c312743df3f39e9b386dbea7 [2021-05-11T15:23:50.741Z] Checking out Revision 75f49688efec1912c312743df3f39e9b386dbea7 (PR-92) [2021-05-11T15:23:50.521Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T15:23:50.561Z] > git checkout -f 75f49688efec1912c312743df3f39e9b386dbea7 # timeout=10 [2021-05-11T15:23:50.638Z] > git remote # timeout=10 [2021-05-11T15:23:50.666Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T15:23:50.689Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T15:23:50.696Z] > git merge 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 [2021-05-11T15:23:50.729Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T15:23:50.745Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T15:23:50.765Z] > git checkout -f 75f49688efec1912c312743df3f39e9b386dbea7 # timeout=10 [2021-05-11T15:23:55.252Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-11T15:23:55.311Z] > git --version # timeout=10 [2021-05-11T15:23:55.337Z] > git --version # 'git version 2.24.3' [2021-05-11T15:23:55.490Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T15:23:57.332Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-11T15:23:57.823Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T15:23:58.208Z] + sudo service docker restart [2021-05-11T15:23:58.208Z] + true [2021-05-11T15:23:58.208Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T15:23:59.751Z] provisioning config files... [2021-05-11T15:23:59.786Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2952398890319532757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:24:00.212Z] ---> docker-login.sh [2021-05-11T15:24:00.213Z] nexus3.edgexfoundry.org:10001 [2021-05-11T15:24:00.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:24:00.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:24:00.851Z] Configure a credential helper to remove this warning. See [2021-05-11T15:24:00.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:24:00.851Z] [2021-05-11T15:24:00.851Z] Login Succeeded [2021-05-11T15:24:00.851Z] nexus3.edgexfoundry.org:10002 [2021-05-11T15:24:01.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:24:01.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:24:01.444Z] Configure a credential helper to remove this warning. See [2021-05-11T15:24:01.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:24:01.444Z] [2021-05-11T15:24:01.444Z] Login Succeeded [2021-05-11T15:24:01.444Z] nexus3.edgexfoundry.org:10003 [2021-05-11T15:24:01.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:24:01.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:24:01.729Z] Configure a credential helper to remove this warning. See [2021-05-11T15:24:01.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:24:01.729Z] [2021-05-11T15:24:01.729Z] Login Succeeded [2021-05-11T15:24:01.729Z] nexus3.edgexfoundry.org:10004 [2021-05-11T15:24:02.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:24:02.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:24:02.009Z] Configure a credential helper to remove this warning. See [2021-05-11T15:24:02.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:24:02.009Z] [2021-05-11T15:24:02.009Z] Login Succeeded [2021-05-11T15:24:02.009Z] docker.io [2021-05-11T15:24:02.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:24:02.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:24:02.934Z] Configure a credential helper to remove this warning. See [2021-05-11T15:24:02.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:24:02.934Z] [2021-05-11T15:24:02.934Z] Login Succeeded [2021-05-11T15:24:02.934Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T15:24:02.999Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T15:24:03.537Z] ========================================================= [2021-05-11T15:24:03.537Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-11T15:24:03.537Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:24:03.981Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-11T15:24:03.981Z] Sending build context to Docker daemon 93.18kB [2021-05-11T15:24:03.981Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T15:24:03.981Z] Step 2/10 : FROM ${BASE} [2021-05-11T15:24:04.266Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-11T15:24:04.266Z] 540db60ca938: Pulling fs layer [2021-05-11T15:24:04.266Z] adcc1eea9eea: Pulling fs layer [2021-05-11T15:24:04.266Z] 4c4ab2625f07: Pulling fs layer [2021-05-11T15:24:04.266Z] 0510c868ecb4: Pulling fs layer [2021-05-11T15:24:04.266Z] afea3b2eda06: Pulling fs layer [2021-05-11T15:24:04.266Z] 7809a108b3ef: Pulling fs layer [2021-05-11T15:24:04.266Z] f706445af74f: Pulling fs layer [2021-05-11T15:24:04.266Z] afea3b2eda06: Waiting [2021-05-11T15:24:04.266Z] 7809a108b3ef: Waiting [2021-05-11T15:24:04.266Z] f706445af74f: Waiting [2021-05-11T15:24:04.266Z] 0510c868ecb4: Waiting [2021-05-11T15:24:04.266Z] 4c4ab2625f07: Verifying Checksum [2021-05-11T15:24:04.266Z] 4c4ab2625f07: Download complete [2021-05-11T15:24:04.266Z] adcc1eea9eea: Verifying Checksum [2021-05-11T15:24:04.266Z] adcc1eea9eea: Download complete [2021-05-11T15:24:04.266Z] afea3b2eda06: Verifying Checksum [2021-05-11T15:24:04.266Z] afea3b2eda06: Download complete [2021-05-11T15:24:04.266Z] 7809a108b3ef: Verifying Checksum [2021-05-11T15:24:04.266Z] 7809a108b3ef: Download complete [2021-05-11T15:24:04.572Z] 540db60ca938: Verifying Checksum [2021-05-11T15:24:04.572Z] 540db60ca938: Download complete [2021-05-11T15:24:05.691Z] 540db60ca938: Pull complete [2021-05-11T15:24:05.984Z] adcc1eea9eea: Pull complete [2021-05-11T15:24:05.985Z] 4c4ab2625f07: Pull complete [2021-05-11T15:24:09.460Z] f706445af74f: Verifying Checksum [2021-05-11T15:24:09.460Z] f706445af74f: Download complete [2021-05-11T15:24:09.761Z] 0510c868ecb4: Verifying Checksum [2021-05-11T15:24:09.761Z] 0510c868ecb4: Download complete [2021-05-11T15:24:20.114Z] 0510c868ecb4: Pull complete [2021-05-11T15:24:20.114Z] afea3b2eda06: Pull complete [2021-05-11T15:24:20.114Z] 7809a108b3ef: Pull complete [2021-05-11T15:24:25.529Z] f706445af74f: Pull complete [2021-05-11T15:24:25.529Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-11T15:24:25.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-11T15:24:25.529Z] ---> b068be0155e3 [2021-05-11T15:24:25.529Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T15:24:25.529Z] ---> Running in ce73313710a6 [2021-05-11T15:24:25.529Z] Removing intermediate container ce73313710a6 [2021-05-11T15:24:25.529Z] ---> 13e8c2f900c2 [2021-05-11T15:24:25.529Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T15:24:25.529Z] ---> Running in 4d4a57fbfad8 [2021-05-11T15:24:25.529Z] Removing intermediate container 4d4a57fbfad8 [2021-05-11T15:24:25.529Z] ---> fbffb635300b [2021-05-11T15:24:25.529Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-11T15:24:25.529Z] ---> Running in f2d1716ecb97 [2021-05-11T15:24:25.808Z] Removing intermediate container f2d1716ecb97 [2021-05-11T15:24:25.808Z] ---> 14e3d0108d86 [2021-05-11T15:24:25.808Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T15:24:26.078Z] ---> Running in 4a236e8fb4df [2021-05-11T15:24:28.081Z] Removing intermediate container 4a236e8fb4df [2021-05-11T15:24:28.081Z] ---> 40e52dfb8afb [2021-05-11T15:24:28.081Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T15:24:28.081Z] ---> Running in 6fedf765ace5 [2021-05-11T15:24:28.662Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T15:24:30.619Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T15:24:31.212Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-11T15:24:31.478Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-11T15:24:31.742Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-11T15:24:31.742Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-11T15:24:32.007Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-11T15:24:32.278Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-11T15:24:32.278Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-11T15:24:32.862Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-11T15:24:33.814Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-11T15:24:34.079Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T15:24:34.079Z] OK: 154 MiB in 49 packages [2021-05-11T15:24:35.037Z] Removing intermediate container 6fedf765ace5 [2021-05-11T15:24:35.037Z] ---> b2b810f088ab [2021-05-11T15:24:35.037Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-11T15:24:35.037Z] ---> Running in cce16285c34a [2021-05-11T15:24:35.301Z] Removing intermediate container cce16285c34a [2021-05-11T15:24:35.301Z] ---> 1304520ecd30 [2021-05-11T15:24:35.301Z] Step 9/10 : COPY . . [2021-05-11T15:24:35.568Z] ---> 8a44926deb6f [2021-05-11T15:24:35.568Z] Step 10/10 : RUN go mod download [2021-05-11T15:24:35.568Z] ---> Running in a38a4d104923 [2021-05-11T15:25:07.907Z] Removing intermediate container a38a4d104923 [2021-05-11T15:25:07.907Z] ---> d92f419a4cf9 [2021-05-11T15:25:07.907Z] Successfully built d92f419a4cf9 [2021-05-11T15:25:07.907Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:25:08.297Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T15:25:08.560Z] . [Pipeline] withDockerContainer [2021-05-11T15:25:08.732Z] prd-centos7-docker-4c-2g-4485 does not seem to be running inside a container [2021-05-11T15:25:08.795Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-11T15:25:09.841Z] $ docker top 52f65cde9ad3560a02a7deb4f2feaf114887a6d151a07b29da9e3eb459a6b30b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T15:25:10.425Z] + go version [2021-05-11T15:25:10.425Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-11T15:25:10.467Z] $ docker stop --time=1 52f65cde9ad3560a02a7deb4f2feaf114887a6d151a07b29da9e3eb459a6b30b [2021-05-11T15:25:11.879Z] $ docker rm -f 52f65cde9ad3560a02a7deb4f2feaf114887a6d151a07b29da9e3eb459a6b30b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:25:12.824Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T15:25:12.825Z] . [Pipeline] withDockerContainer [2021-05-11T15:25:13.033Z] prd-centos7-docker-4c-2g-4485 does not seem to be running inside a container [2021-05-11T15:25:13.149Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-11T15:25:14.331Z] $ docker top 7ca074a7f1d0fe7d642a6a8d037bc8f5ea32bd6c175ca80c96b2bf3652bdaf36 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T15:25:15.303Z] + go mod tidy [Pipeline] sh [2021-05-11T15:25:16.396Z] + make test [2021-05-11T15:25:16.396Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-11T15:25:17.406Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-11T15:25:40.899Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4487 in /w/workspace/dgexfoundry_device-rest-go_PR-92 [Pipeline] { [Pipeline] ws [2021-05-11T15:25:40.959Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-11T15:25:45.567Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-11T15:25:45.567Z] ok github.com/edgexfoundry/device-rest-go/driver 0.032s coverage: 54.0% of statements [2021-05-11T15:25:45.567Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-11T15:25:46.496Z] using credential edgex-jenkins-ssh [2021-05-11T15:25:46.528Z] Cloning the remote Git repository [2021-05-11T15:25:46.642Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T15:25:46.877Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-11T15:25:46.976Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T15:25:46.977Z] > git --version # timeout=10 [2021-05-11T15:25:47.001Z] > git --version # 'git version 2.17.1' [2021-05-11T15:25:47.002Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T15:25:47.050Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T15:25:49.281Z] Merging remotes/origin/master commit 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit 75f49688efec1912c312743df3f39e9b386dbea7 [2021-05-11T15:25:49.470Z] Merge succeeded, producing 75f49688efec1912c312743df3f39e9b386dbea7 [2021-05-11T15:25:49.471Z] Checking out Revision 75f49688efec1912c312743df3f39e9b386dbea7 (PR-92) [2021-05-11T15:25:48.731Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-11T15:25:48.751Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T15:25:48.792Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-11T15:25:48.825Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T15:25:48.825Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T15:25:48.845Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/92/head:refs/remotes/origin/PR-92 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T15:25:49.300Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T15:25:49.314Z] > git checkout -f 75f49688efec1912c312743df3f39e9b386dbea7 # timeout=10 [2021-05-11T15:25:49.388Z] > git remote # timeout=10 [2021-05-11T15:25:49.405Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T15:25:49.418Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T15:25:49.428Z] > git merge 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 [2021-05-11T15:25:49.454Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T15:25:49.475Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T15:25:49.486Z] > git checkout -f 75f49688efec1912c312743df3f39e9b386dbea7 # timeout=10 [2021-05-11T15:25:53.634Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-11T15:25:53.691Z] > git --version # timeout=10 [2021-05-11T15:25:53.707Z] > git --version # 'git version 2.17.1' [2021-05-11T15:25:53.724Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T15:25:55.329Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-11T15:25:55.787Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T15:25:56.142Z] + + sudotrue service [2021-05-11T15:25:56.142Z] docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T15:25:58.898Z] provisioning config files... [2021-05-11T15:25:58.940Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config343834375952147453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:25:59.367Z] ---> docker-login.sh [2021-05-11T15:25:59.367Z] nexus3.edgexfoundry.org:10001 [2021-05-11T15:26:00.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:26:00.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:26:00.636Z] Configure a credential helper to remove this warning. See [2021-05-11T15:26:00.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:26:00.636Z] [2021-05-11T15:26:00.636Z] Login Succeeded [2021-05-11T15:26:00.636Z] nexus3.edgexfoundry.org:10002 [2021-05-11T15:26:00.745Z] gofmt -l . [2021-05-11T15:26:00.745Z] [ "`gofmt -l .`" = "" ] [2021-05-11T15:26:00.745Z] ./bin/test-go-mod-tidy.sh [2021-05-11T15:26:00.745Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-11T15:26:00.825Z] $ docker stop --time=1 7ca074a7f1d0fe7d642a6a8d037bc8f5ea32bd6c175ca80c96b2bf3652bdaf36 [2021-05-11T15:26:00.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:26:01.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:26:01.186Z] Configure a credential helper to remove this warning. See [2021-05-11T15:26:01.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:26:01.186Z] [2021-05-11T15:26:01.186Z] Login Succeeded [2021-05-11T15:26:01.186Z] nexus3.edgexfoundry.org:10003 [2021-05-11T15:26:01.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:26:01.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:26:01.460Z] Configure a credential helper to remove this warning. See [2021-05-11T15:26:01.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:26:01.460Z] [2021-05-11T15:26:01.460Z] Login Succeeded [2021-05-11T15:26:01.738Z] nexus3.edgexfoundry.org:10004 [2021-05-11T15:26:02.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:26:02.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:26:02.015Z] Configure a credential helper to remove this warning. See [2021-05-11T15:26:02.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:26:02.015Z] [2021-05-11T15:26:02.015Z] Login Succeeded [2021-05-11T15:26:02.015Z] docker.io [2021-05-11T15:26:02.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T15:26:02.852Z] $ docker rm -f 7ca074a7f1d0fe7d642a6a8d037bc8f5ea32bd6c175ca80c96b2bf3652bdaf36 [2021-05-11T15:26:02.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T15:26:02.896Z] Configure a credential helper to remove this warning. See [2021-05-11T15:26:02.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T15:26:02.896Z] [2021-05-11T15:26:02.896Z] Login Succeeded [2021-05-11T15:26:02.896Z] ---> docker-login.sh ends [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [2021-05-11T15:26:03.317Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-05-11T15:26:03.567Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] echo [2021-05-11T15:26:03.727Z] ========================================================= [2021-05-11T15:26:03.727Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-11T15:26:03.727Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:26:04.112Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-11T15:26:04.112Z] Sending build context to Docker daemon 93.18kB [2021-05-11T15:26:04.367Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T15:26:04.387Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T15:26:04.387Z] Step 2/10 : FROM ${BASE} [2021-05-11T15:26:04.387Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-11T15:26:04.387Z] 595b0fe564bb: Pulling fs layer [2021-05-11T15:26:04.387Z] 7186ed65a4f7: Pulling fs layer [2021-05-11T15:26:04.387Z] 316046926c0a: Pulling fs layer [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-11T15:26:04.662Z] 4ebd0625c992: Pulling fs layer [2021-05-11T15:26:04.662Z] 207e8628e3a3: Pulling fs layer [2021-05-11T15:26:04.662Z] c791037a9be2: Pulling fs layer [2021-05-11T15:26:04.662Z] ffd874e62e21: Pulling fs layer [2021-05-11T15:26:04.662Z] 4ebd0625c992: Waiting [2021-05-11T15:26:04.662Z] 207e8628e3a3: Waiting [2021-05-11T15:26:04.662Z] ffd874e62e21: Waiting [2021-05-11T15:26:04.662Z] c791037a9be2: Waiting [2021-05-11T15:26:04.662Z] 316046926c0a: Verifying Checksum [2021-05-11T15:26:04.662Z] 316046926c0a: Download complete [2021-05-11T15:26:04.662Z] 7186ed65a4f7: Download complete [2021-05-11T15:26:04.662Z] 207e8628e3a3: Verifying Checksum [2021-05-11T15:26:04.662Z] c791037a9be2: Verifying Checksum [2021-05-11T15:26:04.662Z] 595b0fe564bb: Verifying Checksum [2021-05-11T15:26:04.662Z] 595b0fe564bb: Download complete [2021-05-11T15:26:05.267Z] 595b0fe564bb: Pull complete [Pipeline] sh [2021-05-11T15:26:05.878Z] 7186ed65a4f7: Pull complete [2021-05-11T15:26:05.933Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T15:26:06.156Z] 316046926c0a: Pull complete [2021-05-11T15:26:06.278Z] + ls -al . [2021-05-11T15:26:06.278Z] total 104 [2021-05-11T15:26:06.278Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 11 15:25 . [2021-05-11T15:26:06.278Z] drwxrwxr-x. 4 jenkins jenkins 28 May 11 15:23 .. [2021-05-11T15:26:06.278Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 11 15:23 Attribution.txt [2021-05-11T15:26:06.278Z] drwxrwxr-x. 2 jenkins jenkins 64 May 11 15:23 bin [2021-05-11T15:26:06.278Z] drwxrwxr-x. 3 jenkins jenkins 32 May 11 15:23 cmd [2021-05-11T15:26:06.278Z] -rw-r--r--. 1 jenkins jenkins 8513 May 11 15:25 coverage.out [2021-05-11T15:26:06.278Z] -rw-rw-r--. 1 jenkins jenkins 1602 May 11 15:23 Dockerfile [2021-05-11T15:26:06.278Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 11 15:23 Dockerfile.build [2021-05-11T15:26:06.278Z] -rw-rw-r--. 1 jenkins jenkins 151 May 11 15:23 .dockerignore [2021-05-11T15:26:06.278Z] drwxrwxr-x. 2 jenkins jenkins 76 May 11 15:23 driver [2021-05-11T15:26:06.278Z] drwxrwxr-x. 8 jenkins jenkins 179 May 11 15:23 .git [2021-05-11T15:26:06.278Z] drwxrwxr-x. 2 jenkins jenkins 103 May 11 15:23 .github [2021-05-11T15:26:06.278Z] -rw-rw-r--. 1 jenkins jenkins 339 May 11 15:23 .gitignore [2021-05-11T15:26:06.278Z] -rw-r--r--. 1 jenkins jenkins 285 May 11 15:25 go.mod [2021-05-11T15:26:06.278Z] -rw-r--r--. 1 jenkins jenkins 21396 May 11 15:25 go.sum [2021-05-11T15:26:06.278Z] -rw-rw-r--. 1 jenkins jenkins 680 May 11 15:23 Jenkinsfile [2021-05-11T15:26:06.278Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 11 15:23 LICENSE [2021-05-11T15:26:06.278Z] -rw-rw-r--. 1 jenkins jenkins 976 May 11 15:23 Makefile [2021-05-11T15:26:06.278Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 11 15:23 README.md [2021-05-11T15:26:06.278Z] drwxrwxr-x. 4 jenkins jenkins 71 May 11 15:23 snap [2021-05-11T15:26:06.278Z] -rw-rw-r--. 1 jenkins jenkins 5 May 11 15:19 VERSION [2021-05-11T15:26:06.278Z] -rw-rw-r--. 1 jenkins jenkins 713 May 11 15:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:26:06.671Z] + 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=75f49688efec1912c312743df3f39e9b386dbea7 --label arch=amd64 --label version=0.0.0 . [2021-05-11T15:26:06.671Z] Sending build context to Docker daemon 102.9kB [2021-05-11T15:26:06.755Z] ffd874e62e21: Verifying Checksum [2021-05-11T15:26:06.755Z] ffd874e62e21: Download complete [2021-05-11T15:26:06.947Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T15:26:06.947Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-11T15:26:06.947Z] ---> d92f419a4cf9 [2021-05-11T15:26:06.947Z] Step 3/24 : ARG MAKE='make build' [2021-05-11T15:26:07.212Z] ---> Running in 3e1de343a045 [2021-05-11T15:26:07.212Z] Removing intermediate container 3e1de343a045 [2021-05-11T15:26:07.212Z] ---> 975aa1f66f9d [2021-05-11T15:26:07.212Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T15:26:07.212Z] ---> Running in 5a1a979e8743 [2021-05-11T15:26:07.477Z] Removing intermediate container 5a1a979e8743 [2021-05-11T15:26:07.477Z] ---> 576417aed3ab [2021-05-11T15:26:07.477Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T15:26:07.477Z] ---> Running in 9a9e6515e862 [2021-05-11T15:26:07.758Z] Removing intermediate container 9a9e6515e862 [2021-05-11T15:26:07.758Z] ---> 1e68ae13339d [2021-05-11T15:26:07.758Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T15:26:07.758Z] ---> Running in e1be3f92051f [2021-05-11T15:26:08.191Z] 4ebd0625c992: Download complete [2021-05-11T15:26:09.200Z] Removing intermediate container e1be3f92051f [2021-05-11T15:26:09.200Z] ---> 0054cc10a9b1 [2021-05-11T15:26:09.201Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T15:26:09.201Z] ---> Running in 1cd3c9fbd597 [2021-05-11T15:26:09.786Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T15:26:12.415Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T15:26:15.002Z] OK: 154 MiB in 49 packages [2021-05-11T15:26:15.594Z] Removing intermediate container 1cd3c9fbd597 [2021-05-11T15:26:15.594Z] ---> 6b949f97e6df [2021-05-11T15:26:15.594Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-11T15:26:15.594Z] ---> Running in 215520db0745 [2021-05-11T15:26:15.594Z] Removing intermediate container 215520db0745 [2021-05-11T15:26:15.594Z] ---> 5484fcb36f8f [2021-05-11T15:26:15.594Z] Step 9/24 : COPY . . [2021-05-11T15:26:16.177Z] ---> 12bcaeab5a2a [2021-05-11T15:26:16.177Z] Step 10/24 : RUN make update [2021-05-11T15:26:16.177Z] ---> Running in 7ac61c87c44a [2021-05-11T15:26:16.754Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-11T15:26:17.033Z] Removing intermediate container 7ac61c87c44a [2021-05-11T15:26:17.034Z] ---> 2ec7a483f416 [2021-05-11T15:26:17.034Z] Step 11/24 : RUN $MAKE [2021-05-11T15:26:17.304Z] ---> Running in 6fd63d4cb035 [2021-05-11T15:26:17.897Z] 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 [2021-05-11T15:26:18.364Z] 4ebd0625c992: Pull complete [2021-05-11T15:26:18.364Z] 207e8628e3a3: Pull complete [2021-05-11T15:26:18.364Z] c791037a9be2: Pull complete [2021-05-11T15:26:21.778Z] ffd874e62e21: Pull complete [2021-05-11T15:26:21.778Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-11T15:26:21.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-11T15:26:21.778Z] ---> cfc18b08335c [2021-05-11T15:26:21.778Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T15:26:24.395Z] ---> Running in 0c4a6e1ffbdc [2021-05-11T15:26:24.994Z] Removing intermediate container 0c4a6e1ffbdc [2021-05-11T15:26:24.994Z] ---> ee7e2d735958 [2021-05-11T15:26:24.994Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T15:26:24.994Z] ---> Running in 6f2f1762908e [2021-05-11T15:26:25.266Z] Removing intermediate container 6f2f1762908e [2021-05-11T15:26:25.266Z] ---> 7dcc9c50d7b8 [2021-05-11T15:26:25.266Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-11T15:26:25.540Z] ---> Running in 3426a9e8fbaa [2021-05-11T15:26:25.814Z] Removing intermediate container 3426a9e8fbaa [2021-05-11T15:26:25.814Z] ---> ef241106b030 [2021-05-11T15:26:25.814Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T15:26:26.088Z] ---> Running in 4a8876f8b913 [2021-05-11T15:26:28.087Z] Removing intermediate container 4a8876f8b913 [2021-05-11T15:26:28.087Z] ---> 48d532507d6c [2021-05-11T15:26:28.087Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T15:26:28.368Z] ---> Running in ef387b6a6723 [2021-05-11T15:26:29.353Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T15:26:31.961Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T15:26:33.387Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-11T15:26:33.387Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-11T15:26:33.387Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-11T15:26:33.657Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-11T15:26:33.929Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-11T15:26:34.201Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-11T15:26:34.201Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-11T15:26:35.629Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-11T15:26:36.268Z] Removing intermediate container 6fd63d4cb035 [2021-05-11T15:26:36.268Z] ---> 96636c34fdf3 [2021-05-11T15:26:36.268Z] Step 12/24 : FROM alpine:3.12 [2021-05-11T15:26:36.268Z] 3.12: Pulling from library/alpine [2021-05-11T15:26:36.268Z] 339de151aab4: Pulling fs layer [2021-05-11T15:26:36.268Z] 339de151aab4: Download complete [2021-05-11T15:26:36.268Z] 339de151aab4: Pull complete [2021-05-11T15:26:36.268Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T15:26:36.268Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T15:26:36.268Z] ---> 13621d1b12d4 [2021-05-11T15:26:36.268Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-11T15:26:36.268Z] ---> Running in ebf21a64ea66 [2021-05-11T15:26:36.268Z] Removing intermediate container ebf21a64ea66 [2021-05-11T15:26:36.268Z] ---> 772c7909932a [2021-05-11T15:26:36.268Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-11T15:26:36.268Z] ---> Running in 75c9b9346ad7 [2021-05-11T15:26:36.268Z] Removing intermediate container 75c9b9346ad7 [2021-05-11T15:26:36.268Z] ---> 5bb22b4c4165 [2021-05-11T15:26:36.268Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-11T15:26:36.268Z] ---> Running in 5c3ea3bfccf7 [2021-05-11T15:26:36.268Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-11T15:26:36.268Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-11T15:26:36.268Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-11T15:26:36.268Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-11T15:26:36.268Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-11T15:26:36.268Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-11T15:26:36.268Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-11T15:26:36.268Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-11T15:26:36.268Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T15:26:36.543Z] OK: 8 MiB in 20 packages [2021-05-11T15:26:37.059Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-11T15:26:37.125Z] Removing intermediate container 5c3ea3bfccf7 [2021-05-11T15:26:37.125Z] ---> 77246fe339e8 [2021-05-11T15:26:37.125Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-11T15:26:37.334Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T15:26:37.334Z] OK: 144 MiB in 49 packages [2021-05-11T15:26:37.706Z] ---> 4f2b238cc4a1 [2021-05-11T15:26:37.706Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-11T15:26:37.706Z] ---> 1874ff26564a [2021-05-11T15:26:37.706Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-11T15:26:37.974Z] ---> fc7b57c147e5 [2021-05-11T15:26:37.974Z] Step 19/24 : EXPOSE 49986 [2021-05-11T15:26:38.240Z] ---> Running in 4402da961b91 [2021-05-11T15:26:38.240Z] Removing intermediate container 4402da961b91 [2021-05-11T15:26:38.240Z] ---> c66a414cc30e [2021-05-11T15:26:38.240Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-11T15:26:38.508Z] ---> Running in 5f6d57a9433b [2021-05-11T15:26:38.508Z] Removing intermediate container 5f6d57a9433b [2021-05-11T15:26:38.508Z] ---> 6d427f3ee540 [2021-05-11T15:26:38.508Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-11T15:26:38.508Z] ---> Running in b887d1656b1b [2021-05-11T15:26:38.774Z] Removing intermediate container ef387b6a6723 [2021-05-11T15:26:38.774Z] ---> 1bbf4bf88510 [2021-05-11T15:26:38.774Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-11T15:26:38.779Z] Removing intermediate container b887d1656b1b [2021-05-11T15:26:38.779Z] ---> 1f065c8bef80 [2021-05-11T15:26:38.779Z] Step 22/24 : LABEL arch=amd64 [2021-05-11T15:26:38.779Z] ---> Running in 7112948b846a [2021-05-11T15:26:39.046Z] Removing intermediate container 7112948b846a [2021-05-11T15:26:39.046Z] ---> 077d56ad61f6 [2021-05-11T15:26:39.046Z] Step 23/24 : LABEL git_sha=75f49688efec1912c312743df3f39e9b386dbea7 [2021-05-11T15:26:39.046Z] ---> Running in b587b72c72a4 [2021-05-11T15:26:39.048Z] ---> Running in 2062b590e278 [2021-05-11T15:26:39.317Z] Removing intermediate container b587b72c72a4 [2021-05-11T15:26:39.317Z] ---> c6091cfe9631 [2021-05-11T15:26:39.317Z] Step 24/24 : LABEL version=0.0.0 [2021-05-11T15:26:39.317Z] ---> Running in 30671b67a922 [2021-05-11T15:26:39.592Z] Removing intermediate container 30671b67a922 [2021-05-11T15:26:39.592Z] ---> d62f3cb3b4e1 [2021-05-11T15:26:39.592Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-11T15:26:39.592Z] Successfully built d62f3cb3b4e1 [2021-05-11T15:26:39.592Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [2021-05-11T15:26:39.664Z] Removing intermediate container 2062b590e278 [2021-05-11T15:26:39.664Z] ---> 10df8861c58f [2021-05-11T15:26:39.664Z] Step 9/10 : COPY . . [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 [2021-05-11T15:26:40.264Z] ---> ba52b3e2cc82 [2021-05-11T15:26:40.264Z] Step 10/10 : RUN go mod download [2021-05-11T15:26:40.543Z] ---> Running in 58eae7e053df [2021-05-11T15:26:40.557Z] ---> job-cost.sh [2021-05-11T15:26:40.557Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-C1dc [2021-05-11T15:26:58.778Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T15:27:07.371Z] Removing intermediate container 58eae7e053df [2021-05-11T15:27:07.371Z] ---> 77657eef911a [2021-05-11T15:27:07.371Z] Successfully built 77657eef911a [2021-05-11T15:27:07.371Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:27:07.764Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T15:27:07.764Z] . [Pipeline] withDockerContainer [2021-05-11T15:27:08.024Z] prd-ubuntu18.04-docker-arm64-4c-16g-4487 does not seem to be running inside a container [2021-05-11T15:27:08.115Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-11T15:27:09.587Z] $ docker top 71bc0a25cd5ea65ceb51746d562d9379f24399bd5d2ae8c492f97c15b7259fc8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T15:27:10.597Z] + go version [2021-05-11T15:27:10.597Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-11T15:27:10.634Z] $ docker stop --time=1 71bc0a25cd5ea65ceb51746d562d9379f24399bd5d2ae8c492f97c15b7259fc8 [2021-05-11T15:27:12.485Z] $ docker rm -f 71bc0a25cd5ea65ceb51746d562d9379f24399bd5d2ae8c492f97c15b7259fc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:27:13.467Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T15:27:13.467Z] . [Pipeline] withDockerContainer [2021-05-11T15:27:13.721Z] prd-ubuntu18.04-docker-arm64-4c-16g-4487 does not seem to be running inside a container [2021-05-11T15:27:13.799Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-11T15:27:15.288Z] $ docker top 8f3cc06d46be7c38d8bb7eb5502d6f077a3d892a09a16e6c51ca37af0b043c9a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T15:27:16.285Z] + go mod tidy [Pipeline] sh [2021-05-11T15:27:17.664Z] + make test [2021-05-11T15:27:17.664Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-11T15:27:19.148Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-11T15:27:37.983Z] lf-activate-venv(): INFO: Adding /tmp/venv-C1dc/bin to PATH [2021-05-11T15:27:37.983Z] INFO: No Stack... [2021-05-11T15:27:37.983Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T15:27:37.983Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T15:27:38.347Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-05-11T15:27:38.347Z] + cut -d, -f6 [Pipeline] lock [2021-05-11T15:27:38.516Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-92-1-stack-cost] [2021-05-11T15:27:38.522Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-92-1-stack-cost] did not exist. Created. [2021-05-11T15:27:38.522Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-92-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T15:27:38.952Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-11T15:27:39.157Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T15:27:39.180Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-92-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-11T15:28:15.733Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-11T15:28:15.733Z] ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 54.0% of statements [2021-05-11T15:28:15.733Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-11T15:28:37.978Z] gofmt -l . [2021-05-11T15:28:37.978Z] [ "`gofmt -l .`" = "" ] [2021-05-11T15:28:37.978Z] ./bin/test-go-mod-tidy.sh [2021-05-11T15:28:37.978Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-11T15:28:39.442Z] $ docker stop --time=1 8f3cc06d46be7c38d8bb7eb5502d6f077a3d892a09a16e6c51ca37af0b043c9a [2021-05-11T15:28:41.473Z] $ docker rm -f 8f3cc06d46be7c38d8bb7eb5502d6f077a3d892a09a16e6c51ca37af0b043c9a [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T15:28:42.424Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T15:28:42.467Z] Warning: overwriting stash ‘coverage-report’ [2021-05-11T15:28:42.958Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T15:28:43.598Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T15:28:43.950Z] + ls -al . [2021-05-11T15:28:43.950Z] total 132 [2021-05-11T15:28:43.950Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 15:28 . [2021-05-11T15:28:43.950Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 15:25 .. [2021-05-11T15:28:43.950Z] -rw-rw-r-- 1 jenkins jenkins 151 May 11 15:25 .dockerignore [2021-05-11T15:28:43.950Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 15:25 .git [2021-05-11T15:28:43.950Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 15:25 .github [2021-05-11T15:28:43.950Z] -rw-rw-r-- 1 jenkins jenkins 339 May 11 15:25 .gitignore [2021-05-11T15:28:43.950Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 11 15:25 Attribution.txt [2021-05-11T15:28:43.950Z] -rw-rw-r-- 1 jenkins jenkins 1602 May 11 15:25 Dockerfile [2021-05-11T15:28:43.950Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 11 15:25 Dockerfile.build [2021-05-11T15:28:43.950Z] -rw-rw-r-- 1 jenkins jenkins 680 May 11 15:25 Jenkinsfile [2021-05-11T15:28:43.950Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 15:25 LICENSE [2021-05-11T15:28:43.950Z] -rw-rw-r-- 1 jenkins jenkins 976 May 11 15:25 Makefile [2021-05-11T15:28:43.950Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 11 15:25 README.md [2021-05-11T15:28:43.950Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 15:19 VERSION [2021-05-11T15:28:43.950Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 15:25 bin [2021-05-11T15:28:43.950Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 15:25 cmd [2021-05-11T15:28:43.950Z] -rw-r--r-- 1 jenkins jenkins 8513 May 11 15:28 coverage.out [2021-05-11T15:28:43.950Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 15:25 driver [2021-05-11T15:28:43.950Z] -rw-r--r-- 1 jenkins jenkins 285 May 11 15:28 go.mod [2021-05-11T15:28:43.950Z] -rw-r--r-- 1 jenkins jenkins 21396 May 11 15:27 go.sum [2021-05-11T15:28:43.950Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 15:25 snap [2021-05-11T15:28:43.950Z] -rw-rw-r-- 1 jenkins jenkins 713 May 11 15:25 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:28:44.329Z] + 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=75f49688efec1912c312743df3f39e9b386dbea7 --label arch=arm64 --label version=0.0.0 . [2021-05-11T15:28:44.329Z] Sending build context to Docker daemon 102.9kB [2021-05-11T15:28:44.603Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T15:28:44.603Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-11T15:28:44.603Z] ---> 77657eef911a [2021-05-11T15:28:44.603Z] Step 3/24 : ARG MAKE='make build' [2021-05-11T15:28:44.877Z] ---> Running in e59417b34c0f [2021-05-11T15:28:45.472Z] Removing intermediate container e59417b34c0f [2021-05-11T15:28:45.472Z] ---> 7579a35cd1ba [2021-05-11T15:28:45.472Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T15:28:45.472Z] ---> Running in 962157a885ec [2021-05-11T15:28:46.070Z] Removing intermediate container 962157a885ec [2021-05-11T15:28:46.070Z] ---> 3987db41b20b [2021-05-11T15:28:46.070Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T15:28:46.070Z] ---> Running in 4d547616dd7a [2021-05-11T15:28:46.664Z] Removing intermediate container 4d547616dd7a [2021-05-11T15:28:46.664Z] ---> ea50c63cc3f9 [2021-05-11T15:28:46.664Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T15:28:46.664Z] ---> Running in 3cc286a896ba [2021-05-11T15:28:49.283Z] Removing intermediate container 3cc286a896ba [2021-05-11T15:28:49.283Z] ---> 2a40e3f37d60 [2021-05-11T15:28:49.283Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T15:28:49.283Z] ---> Running in 5632134d9ff0 [2021-05-11T15:28:50.265Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T15:28:52.233Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T15:28:53.208Z] OK: 144 MiB in 49 packages [2021-05-11T15:28:54.651Z] Removing intermediate container 5632134d9ff0 [2021-05-11T15:28:54.651Z] ---> 028e7e500a35 [2021-05-11T15:28:54.651Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-11T15:28:54.651Z] ---> Running in 2e93199dab1b [2021-05-11T15:28:54.937Z] Removing intermediate container 2e93199dab1b [2021-05-11T15:28:54.937Z] ---> f222115aece5 [2021-05-11T15:28:54.937Z] Step 9/24 : COPY . . [2021-05-11T15:28:55.914Z] ---> 329a31498f21 [2021-05-11T15:28:55.914Z] Step 10/24 : RUN make update [2021-05-11T15:28:55.914Z] ---> Running in 35f30d4df5b8 [2021-05-11T15:28:56.892Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-11T15:28:58.326Z] Removing intermediate container 35f30d4df5b8 [2021-05-11T15:28:58.326Z] ---> 1468db91f3a5 [2021-05-11T15:28:58.326Z] Step 11/24 : RUN $MAKE [2021-05-11T15:28:58.326Z] ---> Running in 21b62b5358a8 [2021-05-11T15:28:59.308Z] 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 [2021-05-11T15:29:38.325Z] Removing intermediate container 21b62b5358a8 [2021-05-11T15:29:38.325Z] ---> 7bd7e55b247d [2021-05-11T15:29:38.325Z] Step 12/24 : FROM alpine:3.12 [2021-05-11T15:29:38.325Z] 3.12: Pulling from library/alpine [2021-05-11T15:29:38.325Z] d2f70382dc9a: Pulling fs layer [2021-05-11T15:29:38.325Z] d2f70382dc9a: Download complete [2021-05-11T15:29:38.325Z] d2f70382dc9a: Pull complete [2021-05-11T15:29:38.325Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T15:29:38.325Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T15:29:38.325Z] ---> 9852663dfa18 [2021-05-11T15:29:38.325Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-11T15:29:38.325Z] ---> Running in 2f29f8f1db9c [2021-05-11T15:29:38.325Z] Removing intermediate container 2f29f8f1db9c [2021-05-11T15:29:38.325Z] ---> f48fc6559ad0 [2021-05-11T15:29:38.325Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-11T15:29:38.325Z] ---> Running in fc97d4865b69 [2021-05-11T15:29:38.325Z] Removing intermediate container fc97d4865b69 [2021-05-11T15:29:38.325Z] ---> 6cffe25973b8 [2021-05-11T15:29:38.325Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-11T15:29:38.325Z] ---> Running in ee1148f5eded [2021-05-11T15:29:38.920Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-11T15:29:38.920Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-11T15:29:39.513Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-11T15:29:39.513Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-11T15:29:39.513Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-11T15:29:39.513Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-11T15:29:39.513Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-11T15:29:39.789Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-11T15:29:39.789Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T15:29:39.789Z] OK: 8 MiB in 20 packages [2021-05-11T15:29:41.223Z] Removing intermediate container ee1148f5eded [2021-05-11T15:29:41.223Z] ---> a17e4a4caa68 [2021-05-11T15:29:41.223Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-11T15:29:42.201Z] ---> f36acb0641ad [2021-05-11T15:29:42.201Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-11T15:29:42.799Z] ---> 695839931b48 [2021-05-11T15:29:42.799Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-11T15:29:43.777Z] ---> 1013e52e4148 [2021-05-11T15:29:43.777Z] Step 19/24 : EXPOSE 49986 [2021-05-11T15:29:43.777Z] ---> Running in 413bb134dc12 [2021-05-11T15:29:44.391Z] Removing intermediate container 413bb134dc12 [2021-05-11T15:29:44.391Z] ---> e2e055d06ac5 [2021-05-11T15:29:44.391Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-11T15:29:44.391Z] ---> Running in cc3979324736 [2021-05-11T15:29:44.985Z] Removing intermediate container cc3979324736 [2021-05-11T15:29:44.985Z] ---> c602a4c3575f [2021-05-11T15:29:44.985Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-11T15:29:44.985Z] ---> Running in c4280950915a [2021-05-11T15:29:45.578Z] Removing intermediate container c4280950915a [2021-05-11T15:29:45.578Z] ---> fad09ef0c482 [2021-05-11T15:29:45.578Z] Step 22/24 : LABEL arch=arm64 [2021-05-11T15:29:45.578Z] ---> Running in d824cead75d4 [2021-05-11T15:29:46.175Z] Removing intermediate container d824cead75d4 [2021-05-11T15:29:46.175Z] ---> a8327676c3fd [2021-05-11T15:29:46.175Z] Step 23/24 : LABEL git_sha=75f49688efec1912c312743df3f39e9b386dbea7 [2021-05-11T15:29:46.175Z] ---> Running in 46d6d6e18474 [2021-05-11T15:29:46.450Z] Removing intermediate container 46d6d6e18474 [2021-05-11T15:29:46.450Z] ---> d2b4625d6b09 [2021-05-11T15:29:46.450Z] Step 24/24 : LABEL version=0.0.0 [2021-05-11T15:29:46.723Z] ---> Running in a3637e44c624 [2021-05-11T15:29:47.320Z] Removing intermediate container a3637e44c624 [2021-05-11T15:29:47.320Z] ---> 6043b7d4bf8f [2021-05-11T15:29:47.320Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-11T15:29:47.320Z] Successfully built 6043b7d4bf8f [2021-05-11T15:29:47.320Z] 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 [2021-05-11T15:29:48.067Z] ---> job-cost.sh [2021-05-11T15:29:48.067Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-eB0C [2021-05-11T15:30:27.047Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T15:31:48.773Z] lf-activate-venv(): INFO: Adding /tmp/venv-eB0C/bin to PATH [2021-05-11T15:31:48.773Z] INFO: No Stack... [2021-05-11T15:31:48.773Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-11T15:31:48.773Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T15:31:49.163Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-05-11T15:31:49.164Z] + cut -d, -f6 [Pipeline] lock [2021-05-11T15:31:49.307Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-92-1-stack-cost] [2021-05-11T15:31:49.314Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-92-1-stack-cost] did not exist. Created. [2021-05-11T15:31:49.315Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-92-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T15:31:49.797Z] /w/workspace/device-rest-go/1@tmp/durable-7b439f35/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-7b439f35/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-11T15:31:50.190Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-11T15:31:50.234Z] Warning: overwriting stash ‘stack-cost’ [2021-05-11T15:31:50.381Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T15:31:50.403Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-92-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 [2021-05-11T15:31:51.375Z] provisioning config files... [2021-05-11T15:31:51.387Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-92@tmp/config7229610156436975342tmp [Pipeline] { [Pipeline] sh [2021-05-11T15:31:51.751Z] + set +x [2021-05-11T15:31:51.752Z] + curl -s https://codecov.io/bash [2021-05-11T15:31:51.752Z] + bash -s -- [2021-05-11T15:31:52.014Z] [2021-05-11T15:31:52.014Z] _____ _ [2021-05-11T15:31:52.014Z] / ____| | | [2021-05-11T15:31:52.014Z] | | ___ __| | ___ ___ _____ __ [2021-05-11T15:31:52.014Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-11T15:31:52.014Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-11T15:31:52.014Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-11T15:31:52.014Z] Bash-1.0.2 [2021-05-11T15:31:52.014Z] [2021-05-11T15:31:52.014Z] [2021-05-11T15:31:52.014Z] ==> git version 2.24.3 found [2021-05-11T15:31:52.014Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-11T15:31:52.014Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-11T15:31:52.014Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-11T15:31:52.014Z] ==> Jenkins CI detected. [2021-05-11T15:31:52.014Z] project root: . [2021-05-11T15:31:52.014Z] --> token set from env [2021-05-11T15:31:52.014Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-11T15:31:52.014Z] ==> Running gcov in . (disable via -X gcov) [2021-05-11T15:31:52.014Z] ==> Python coveragepy not found [2021-05-11T15:31:52.014Z] ==> Searching for coverage reports in: [2021-05-11T15:31:52.014Z] + . [2021-05-11T15:31:52.014Z] -> Found 1 reports [2021-05-11T15:31:52.014Z] ==> Detecting git/mercurial file structure [2021-05-11T15:31:52.014Z] ==> Reading reports [2021-05-11T15:31:52.014Z] + ./coverage.out bytes=8513 [2021-05-11T15:31:52.014Z] ==> Appending adjustments [2021-05-11T15:31:52.014Z] https://docs.codecov.io/docs/fixing-reports [2021-05-11T15:31:52.014Z] + Found adjustments [2021-05-11T15:31:52.014Z] ==> Gzipping contents [2021-05-11T15:31:52.014Z] 4.0K /tmp/codecov.Fr9lQP.gz [2021-05-11T15:31:52.014Z] ==> Uploading reports [2021-05-11T15:31:52.014Z] url: https://codecov.io [2021-05-11T15:31:52.014Z] query: branch=PR-92&commit=75f49688efec1912c312743df3f39e9b386dbea7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-92%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=92&job=&cmd_args= [2021-05-11T15:31:52.014Z] -> Pinging Codecov [2021-05-11T15:31:52.014Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-92&commit=75f49688efec1912c312743df3f39e9b386dbea7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-92%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=92&job=&cmd_args= [2021-05-11T15:31:53.412Z] -> Uploading to [2021-05-11T15:31:53.412Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-11/4E5D53B4F1F92C436F7061BF334D961C/75f49688efec1912c312743df3f39e9b386dbea7/72b0822a-64d7-456e-b6cc-5a068d8ad26f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T153153Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=66dcad03cabe6486e63432a089d3fb6f812789fd543ba7dcd90ea8f1ec7a68c3 [2021-05-11T15:31:53.412Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-11T15:31:53.412Z] Dload Upload Total Spent Left Speed [2021-05-11T15:31:53.675Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1622 0 0 100 1622 0 3963 --:--:-- --:--:-- --:--:-- 3975 [2021-05-11T15:31:53.675Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/75f49688efec1912c312743df3f39e9b386dbea7 [Pipeline] } [2021-05-11T15:31:53.732Z] 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 [2021-05-11T15:31:55.553Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:31:55.896Z] ---> package-listing.sh [2021-05-11T15:31:55.896Z] ++ facter osfamily [2021-05-11T15:31:55.896Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-11T15:31:55.896Z] + OS_FAMILY=redhat [2021-05-11T15:31:55.896Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-92 [2021-05-11T15:31:55.896Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-11T15:31:55.896Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-11T15:31:55.896Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-11T15:31:55.896Z] + PACKAGES=/tmp/packages_start.txt [2021-05-11T15:31:55.896Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-92 ']' [2021-05-11T15:31:55.896Z] + PACKAGES=/tmp/packages_end.txt [2021-05-11T15:31:55.896Z] + case "${OS_FAMILY}" in [2021-05-11T15:31:55.896Z] + rpm -qa [2021-05-11T15:31:55.896Z] + sort [2021-05-11T15:32:01.215Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-11T15:32:01.215Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-11T15:32:01.215Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-11T15:32:01.215Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-92 ']' [2021-05-11T15:32:01.215Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-92/archives/ [2021-05-11T15:32:01.215Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-92/archives/ [Pipeline] echo [2021-05-11T15:32:01.281Z] 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-92/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-11T15:32:01.596Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:32:01.948Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T15:32:01.948Z] [2021-05-11T15:32:01.948Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-11T15:32:02.324Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T15:32:02.324Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-11T15:32:02.324Z] df20fa9351a1: Pulling fs layer [2021-05-11T15:32:02.324Z] 36b3adc4ff6f: Pulling fs layer [2021-05-11T15:32:02.324Z] 8ad3a11d3b57: Pulling fs layer [2021-05-11T15:32:02.324Z] 46f8f816bc3b: Pulling fs layer [2021-05-11T15:32:02.324Z] 93b61091891f: Pulling fs layer [2021-05-11T15:32:02.324Z] 93b9cdb0e59b: Pulling fs layer [2021-05-11T15:32:02.324Z] 5e14af77c1be: Pulling fs layer [2021-05-11T15:32:02.324Z] 01666e4c0597: Pulling fs layer [2021-05-11T15:32:02.324Z] aa168da1d23b: Pulling fs layer [2021-05-11T15:32:02.324Z] 93b9cdb0e59b: Waiting [2021-05-11T15:32:02.324Z] 5e14af77c1be: Waiting [2021-05-11T15:32:02.324Z] 01666e4c0597: Waiting [2021-05-11T15:32:02.324Z] aa168da1d23b: Waiting [2021-05-11T15:32:02.324Z] 46f8f816bc3b: Waiting [2021-05-11T15:32:02.324Z] 93b61091891f: Waiting [2021-05-11T15:32:02.324Z] 36b3adc4ff6f: Verifying Checksum [2021-05-11T15:32:02.324Z] 36b3adc4ff6f: Download complete [2021-05-11T15:32:02.324Z] 46f8f816bc3b: Verifying Checksum [2021-05-11T15:32:02.324Z] 46f8f816bc3b: Download complete [2021-05-11T15:32:02.589Z] df20fa9351a1: Verifying Checksum [2021-05-11T15:32:02.589Z] df20fa9351a1: Download complete [2021-05-11T15:32:02.589Z] 93b9cdb0e59b: Verifying Checksum [2021-05-11T15:32:02.589Z] 93b9cdb0e59b: Download complete [2021-05-11T15:32:02.589Z] 93b61091891f: Verifying Checksum [2021-05-11T15:32:02.589Z] 93b61091891f: Download complete [2021-05-11T15:32:02.589Z] 5e14af77c1be: Verifying Checksum [2021-05-11T15:32:02.589Z] 5e14af77c1be: Download complete [2021-05-11T15:32:02.589Z] 01666e4c0597: Verifying Checksum [2021-05-11T15:32:02.589Z] 01666e4c0597: Download complete [2021-05-11T15:32:02.589Z] 8ad3a11d3b57: Verifying Checksum [2021-05-11T15:32:02.589Z] 8ad3a11d3b57: Download complete [2021-05-11T15:32:02.850Z] df20fa9351a1: Pull complete [2021-05-11T15:32:03.115Z] 36b3adc4ff6f: Pull complete [2021-05-11T15:32:04.070Z] 8ad3a11d3b57: Pull complete [2021-05-11T15:32:04.645Z] aa168da1d23b: Verifying Checksum [2021-05-11T15:32:04.645Z] aa168da1d23b: Download complete [2021-05-11T15:32:05.222Z] 46f8f816bc3b: Pull complete [2021-05-11T15:32:05.485Z] 93b61091891f: Pull complete [2021-05-11T15:32:05.485Z] 93b9cdb0e59b: Pull complete [2021-05-11T15:32:05.753Z] 5e14af77c1be: Pull complete [2021-05-11T15:32:05.753Z] 01666e4c0597: Pull complete [2021-05-11T15:32:12.403Z] aa168da1d23b: Pull complete [2021-05-11T15:32:12.403Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-11T15:32:12.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T15:32:12.403Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-11T15:32:12.639Z] prd-centos7-docker-4c-2g-4481 does not seem to be running inside a container [2021-05-11T15:32:12.688Z] $ 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-92/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-92 -v /w/workspace/dgexfoundry_device-rest-go_PR-92:/w/workspace/dgexfoundry_device-rest-go_PR-92:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-92@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-92@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-11T15:32:16.525Z] $ docker top 4f4b7b8f349920227c67e5207ea55219e4d7b2ef1fc2531a3b40502fc1523fee -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T15:32:17.064Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-11T15:32:17.386Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-11T15:32:17.710Z] + ls /var/log/sa-host [2021-05-11T15:32:17.710Z] + sadf -c /var/log/sa-host/sa11 [2021-05-11T15:32:17.710Z] file_magic: OK [2021-05-11T15:32:17.710Z] HZ: Using current value: 100 [2021-05-11T15:32:17.710Z] file_header: OK [2021-05-11T15:32:17.710Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-11T15:32:17.710Z] Statistics: [2021-05-11T15:32:17.710Z] 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... [2021-05-11T15:32:17.710Z] File successfully converted to sysstat format version 12.2.1 [2021-05-11T15:32:17.710Z] + sadf -c /var/log/sa-host/sa23 [2021-05-11T15:32:17.710Z] file_magic: OK [2021-05-11T15:32:17.710Z] HZ: Using current value: 100 [2021-05-11T15:32:17.710Z] file_header: OK [2021-05-11T15:32:17.710Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-11T15:32:17.710Z] Statistics: [2021-05-11T15:32:17.710Z] Hnuu...uuuununununu... [2021-05-11T15:32:17.710Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-11T15:32:17.985Z] provisioning config files... [2021-05-11T15:32:18.008Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-92@tmp/config4707336474016349094tmp [Pipeline] { [Pipeline] echo [2021-05-11T15:32:18.065Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:32:18.410Z] ---> create-netrc.sh [Pipeline] } [2021-05-11T15:32:18.436Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-11T15:32:18.513Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:32:18.852Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-11T15:32:18.886Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:32:19.223Z] ---> sudo-logs.sh [2021-05-11T15:32:19.223Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-11T15:32:19.312Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:32:19.651Z] ---> job-cost.sh [2021-05-11T15:32:19.651Z] lf-activate-venv: SKIPPING [2021-05-11T15:32:19.651Z] DEBUG: total: 0.20999999344348907 [2021-05-11T15:32:19.651Z] INFO: Retrieving Stack Cost... [2021-05-11T15:32:21.044Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T15:32:21.621Z] INFO: Archiving Costs [Pipeline] echo [2021-05-11T15:32:21.658Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T15:32:22.008Z] ---> logs-deploy.sh [2021-05-11T15:32:22.008Z] lf-activate-venv: SKIPPING [2021-05-11T15:32:22.008Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-92/1 [2021-05-11T15:32:22.008Z] INFO: archiving workspace using pattern(s): [2021-05-11T15:32:23.934Z] Archives upload complete. [2021-05-11T15:32:23.935Z] INFO: archiving logs to Nexus