Pull request #94 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of tonyespy for edgexfoundry/device-rest-go Loading trusted files from base branch master at 4f98354a1324b6971af40554b83b1d8fb938970d rather than 629973d7627f15a7fab31412c44c0f27f8ca8ec6 Obtained Jenkinsfile from 4f98354a1324b6971af40554b83b1d8fb938970d 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 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 using credential edgex-jenkins-ssh 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-94/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 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-94/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 9d0281235b943b7ad605f650702698f9078b2862 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4571 in /w/workspace/dgexfoundry_device-rest-go_PR-94 [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-94 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit 629973d7627f15a7fab31412c44c0f27f8ca8ec6 Merge succeeded, producing 629973d7627f15a7fab31412c44c0f27f8ca8ec6 Checking out Revision 629973d7627f15a7fab31412c44c0f27f8ca8ec6 (PR-94) > git config core.sparsecheckout # timeout=10 > git checkout -f 629973d7627f15a7fab31412c44c0f27f8ca8ec6 # 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 629973d7627f15a7fab31412c44c0f27f8ca8ec6 # timeout=10 Commit message: "fix(snap): update epoch for Ireland release" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-11T18:25:10.571Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-11T18:25:10.785Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-11T18:25:10.906Z] ========================================================= [2021-05-11T18:25:10.906Z] EdgeX Global Pipelines Version Info [2021-05-11T18:25:10.906Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:25:13.060Z] ------------------- [2021-05-11T18:25:13.060Z] stable info: [2021-05-11T18:25:13.060Z] ------------------- [2021-05-11T18:25:13.060Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-11T18:25:13.060Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T18:25:13.060Z] Message: update stable to v1.0.192 [2021-05-11T18:25:13.639Z] ------------------- [2021-05-11T18:25:13.639Z] experimental info: [2021-05-11T18:25:13.639Z] ------------------- [2021-05-11T18:25:13.639Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-11T18:25:13.639Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T18:25:13.639Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-11T18:25:13.885Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-11T18:25:13.953Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-11T18:25:14.008Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-11T18:25:14.116Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-11T18:25:14.180Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-11T18:25:14.261Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-11T18:25:14.321Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-11T18:25:14.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-11T18:25:14.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-11T18:25:14.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-11T18:25:14.563Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-11T18:25:14.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-11T18:25:14.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-11T18:25:14.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-11T18:25:14.807Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T18:25:14.867Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T18:25:14.925Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T18:25:14.982Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T18:25:15.041Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-11T18:25:15.109Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-11T18:25:15.171Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-11T18:25:15.237Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-11T18:25:15.302Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-11T18:25:15.368Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-11T18:25:15.421Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-11T18:25:15.476Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-11T18:25:15.532Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-94 [Pipeline] echo [2021-05-11T18:25:15.583Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-94 [Pipeline] echo [2021-05-11T18:25:15.642Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-94 [Pipeline] echo [2021-05-11T18:25:15.694Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 629973d7627f15a7fab31412c44c0f27f8ca8ec6 [Pipeline] echo [2021-05-11T18:25:15.746Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 629973d [Pipeline] echo [2021-05-11T18:25:15.799Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T18:25:15.962Z] provisioning config files... [2021-05-11T18:25:15.997Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/config4904232111310365395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:25:16.373Z] ---> docker-login.sh [2021-05-11T18:25:16.373Z] nexus3.edgexfoundry.org:10001 [2021-05-11T18:25:16.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:25:16.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:25:16.902Z] Configure a credential helper to remove this warning. See [2021-05-11T18:25:16.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:25:16.902Z] [2021-05-11T18:25:16.902Z] Login Succeeded [2021-05-11T18:25:16.902Z] nexus3.edgexfoundry.org:10002 [2021-05-11T18:25:17.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:25:17.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:25:17.165Z] Configure a credential helper to remove this warning. See [2021-05-11T18:25:17.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:25:17.165Z] [2021-05-11T18:25:17.165Z] Login Succeeded [2021-05-11T18:25:17.165Z] nexus3.edgexfoundry.org:10003 [2021-05-11T18:25:17.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:25:17.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:25:17.429Z] Configure a credential helper to remove this warning. See [2021-05-11T18:25:17.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:25:17.429Z] [2021-05-11T18:25:17.429Z] Login Succeeded [2021-05-11T18:25:17.429Z] nexus3.edgexfoundry.org:10004 [2021-05-11T18:25:17.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:25:17.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:25:17.429Z] Configure a credential helper to remove this warning. See [2021-05-11T18:25:17.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:25:17.429Z] [2021-05-11T18:25:17.429Z] Login Succeeded [2021-05-11T18:25:17.429Z] docker.io [2021-05-11T18:25:17.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:25:17.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:25:17.956Z] Configure a credential helper to remove this warning. See [2021-05-11T18:25:17.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:25:17.956Z] [2021-05-11T18:25:17.956Z] Login Succeeded [2021-05-11T18:25:17.956Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T18:25:17.982Z] 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-11T18:25:18.696Z] + git log --format=format:%s -1 629973d7627f15a7fab31412c44c0f27f8ca8ec6 [Pipeline] echo [2021-05-11T18:25:18.793Z] GIT_COMMIT: 629973d7627f15a7fab31412c44c0f27f8ca8ec6, Commit Message: fix(snap): update epoch for Ireland release [Pipeline] echo [2021-05-11T18:25:18.831Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:25:19.436Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T18:25:19.436Z] [2021-05-11T18:25:19.436Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:25:19.804Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T18:25:19.805Z] latest: Pulling from edgex-devops/git-semver [2021-05-11T18:25:19.805Z] 31603596830f: Pulling fs layer [2021-05-11T18:25:19.805Z] 54011a49482f: Pulling fs layer [2021-05-11T18:25:19.805Z] a6820b24f6d8: Pulling fs layer [2021-05-11T18:25:19.805Z] f581987b2513: Pulling fs layer [2021-05-11T18:25:19.805Z] f581987b2513: Waiting [2021-05-11T18:25:19.805Z] 54011a49482f: Verifying Checksum [2021-05-11T18:25:19.805Z] 54011a49482f: Download complete [2021-05-11T18:25:19.805Z] 31603596830f: Verifying Checksum [2021-05-11T18:25:19.805Z] 31603596830f: Download complete [2021-05-11T18:25:20.067Z] a6820b24f6d8: Verifying Checksum [2021-05-11T18:25:20.067Z] a6820b24f6d8: Download complete [2021-05-11T18:25:20.067Z] f581987b2513: Download complete [2021-05-11T18:25:20.333Z] 31603596830f: Pull complete [2021-05-11T18:25:20.333Z] 54011a49482f: Pull complete [2021-05-11T18:25:22.368Z] a6820b24f6d8: Pull complete [2021-05-11T18:25:22.368Z] f581987b2513: Pull complete [2021-05-11T18:25:22.368Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-11T18:25:22.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T18:25:22.368Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-11T18:25:22.525Z] prd-centos7-docker-4c-2g-4571 does not seem to be running inside a container [2021-05-11T18:25:22.579Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-94 -v /w/workspace/dgexfoundry_device-rest-go_PR-94:/w/workspace/dgexfoundry_device-rest-go_PR-94:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-94@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-94@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:10004/edgex-devops/git-semver:latest cat [2021-05-11T18:25:24.332Z] $ docker top 7989b36e77d8f6d541c903bd92ac333b00a8f6ee946473ec03289cf98896e372 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-11T18:25:24.568Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T18:25:24.569Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T18:25:24.794Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T18:25:24.799Z] $ docker exec 7989b36e77d8f6d541c903bd92ac333b00a8f6ee946473ec03289cf98896e372 ssh-agent [2021-05-11T18:25:24.973Z] SSH_AUTH_SOCK=/tmp/ssh-Pq71hqnETktO/agent.11 [2021-05-11T18:25:24.973Z] SSH_AGENT_PID=16 [2021-05-11T18:25:24.984Z] Running ssh-add (command line suppressed) [2021-05-11T18:25:25.110Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/private_key_5664697642081716458.key (/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/private_key_5664697642081716458.key) [2021-05-11T18:25:25.162Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T18:25:25.513Z] + git tag --points-at HEAD [Pipeline] } [2021-05-11T18:25:25.544Z] $ docker exec --env ******** --env ******** 7989b36e77d8f6d541c903bd92ac333b00a8f6ee946473ec03289cf98896e372 ssh-agent -k [2021-05-11T18:25:25.663Z] unset SSH_AUTH_SOCK; [2021-05-11T18:25:25.663Z] unset SSH_AGENT_PID; [2021-05-11T18:25:25.663Z] echo Agent pid 16 killed; [2021-05-11T18:25:25.712Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-11T18:25:25.811Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T18:25:25.811Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T18:25:25.978Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T18:25:25.983Z] $ docker exec 7989b36e77d8f6d541c903bd92ac333b00a8f6ee946473ec03289cf98896e372 ssh-agent [2021-05-11T18:25:26.148Z] SSH_AUTH_SOCK=/tmp/ssh-VoU7miUXNN4s/agent.48 [2021-05-11T18:25:26.148Z] SSH_AGENT_PID=53 [2021-05-11T18:25:26.158Z] Running ssh-add (command line suppressed) [2021-05-11T18:25:26.284Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/private_key_1379783374602281467.key (/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/private_key_1379783374602281467.key) [2021-05-11T18:25:26.335Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T18:25:26.681Z] + git semver init [2021-05-11T18:25:26.681Z] # -> Open(): unable to determine branch for HEAD [2021-05-11T18:25:26.681Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-94/.git [2021-05-11T18:25:26.681Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-94 [2021-05-11T18:25:26.681Z] # $SEMVER_REMOTE_NAME = origin [2021-05-11T18:25:26.681Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-11T18:25:26.681Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-11T18:25:26.681Z] # $SEMVER_BRANCH = PR-94 [2021-05-11T18:25:26.681Z] # $SEMVER_TEMP = /tmp/semver-506966491 [2021-05-11T18:25:26.681Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-11T18:25:30.904Z] # '/tmp/semver-506966491' -> '/w/workspace/dgexfoundry_device-rest-go_PR-94/.semver' [2021-05-11T18:25:30.904Z] # -> Force: false [2021-05-11T18:25:30.904Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-94/.semver [Pipeline] } [2021-05-11T18:25:30.929Z] $ docker exec --env ******** --env ******** 7989b36e77d8f6d541c903bd92ac333b00a8f6ee946473ec03289cf98896e372 ssh-agent -k [2021-05-11T18:25:31.051Z] unset SSH_AUTH_SOCK; [2021-05-11T18:25:31.052Z] unset SSH_AGENT_PID; [2021-05-11T18:25:31.052Z] echo Agent pid 53 killed; [2021-05-11T18:25:31.101Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T18:25:31.547Z] + git semver [Pipeline] } [2021-05-11T18:25:31.580Z] $ docker stop --time=1 7989b36e77d8f6d541c903bd92ac333b00a8f6ee946473ec03289cf98896e372 [2021-05-11T18:25:33.005Z] $ docker rm -f 7989b36e77d8f6d541c903bd92ac333b00a8f6ee946473ec03289cf98896e372 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T18:25:33.462Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-11T18:25:33.871Z] Stashed 1 file(s) [Pipeline] echo [2021-05-11T18:25:33.893Z] [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-11T18:25:49.381Z] Still waiting to schedule task [2021-05-11T18:25:49.382Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-11T18:25:49.410Z] Still waiting to schedule task [2021-05-11T18:25:49.410Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-11T18:29:24.523Z] Running on prd-centos7-docker-4c-2g-4573 in /w/workspace/dgexfoundry_device-rest-go_PR-94 [Pipeline] { [Pipeline] ws [2021-05-11T18:29:24.585Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-11T18:29:27.886Z] using credential edgex-jenkins-ssh [2021-05-11T18:29:27.902Z] Cloning the remote Git repository [2021-05-11T18:29:27.930Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T18:29:28.012Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-11T18:29:28.081Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T18:29:28.081Z] > git --version # timeout=10 [2021-05-11T18:29:28.088Z] > git --version # 'git version 2.24.3' [2021-05-11T18:29:28.089Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T18:29:28.141Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T18:29:29.038Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-11T18:29:29.047Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T18:29:29.059Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-11T18:29:29.072Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T18:29:29.073Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T18:29:29.077Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T18:29:29.498Z] Merging remotes/origin/master commit 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit 629973d7627f15a7fab31412c44c0f27f8ca8ec6 [2021-05-11T18:29:29.598Z] Merge succeeded, producing 629973d7627f15a7fab31412c44c0f27f8ca8ec6 [2021-05-11T18:29:29.599Z] Checking out Revision 629973d7627f15a7fab31412c44c0f27f8ca8ec6 (PR-94) [2021-05-11T18:29:29.505Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T18:29:29.516Z] > git checkout -f 629973d7627f15a7fab31412c44c0f27f8ca8ec6 # timeout=10 [2021-05-11T18:29:29.554Z] > git remote # timeout=10 [2021-05-11T18:29:29.562Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T18:29:29.570Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T18:29:29.575Z] > git merge 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 [2021-05-11T18:29:29.586Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T18:29:29.600Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T18:29:29.612Z] > git checkout -f 629973d7627f15a7fab31412c44c0f27f8ca8ec6 # timeout=10 [2021-05-11T18:29:33.266Z] Commit message: "fix(snap): update epoch for Ireland release" [2021-05-11T18:29:33.295Z] > git --version # timeout=10 [2021-05-11T18:29:33.301Z] > git --version # 'git version 2.24.3' [2021-05-11T18:29:33.313Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T18:29:34.789Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-11T18:29:35.179Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T18:29:35.502Z] + sudo service docker restart [2021-05-11T18:29:35.503Z] + true [2021-05-11T18:29:35.503Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T18:29:36.554Z] provisioning config files... [2021-05-11T18:29:36.586Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5309724573284765820tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:29:36.978Z] ---> docker-login.sh [2021-05-11T18:29:36.978Z] nexus3.edgexfoundry.org:10001 [2021-05-11T18:29:37.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:29:37.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:29:37.507Z] Configure a credential helper to remove this warning. See [2021-05-11T18:29:37.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:29:37.507Z] [2021-05-11T18:29:37.507Z] Login Succeeded [2021-05-11T18:29:37.507Z] nexus3.edgexfoundry.org:10002 [2021-05-11T18:29:37.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:29:37.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:29:37.507Z] Configure a credential helper to remove this warning. See [2021-05-11T18:29:37.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:29:37.507Z] [2021-05-11T18:29:37.507Z] Login Succeeded [2021-05-11T18:29:37.507Z] nexus3.edgexfoundry.org:10003 [2021-05-11T18:29:37.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:29:37.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:29:37.773Z] Configure a credential helper to remove this warning. See [2021-05-11T18:29:37.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:29:37.773Z] [2021-05-11T18:29:37.773Z] Login Succeeded [2021-05-11T18:29:37.773Z] nexus3.edgexfoundry.org:10004 [2021-05-11T18:29:38.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:29:38.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:29:38.036Z] Configure a credential helper to remove this warning. See [2021-05-11T18:29:38.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:29:38.036Z] [2021-05-11T18:29:38.036Z] Login Succeeded [2021-05-11T18:29:38.036Z] docker.io [2021-05-11T18:29:38.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:29:38.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:29:38.301Z] Configure a credential helper to remove this warning. See [2021-05-11T18:29:38.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:29:38.301Z] [2021-05-11T18:29:38.301Z] Login Succeeded [2021-05-11T18:29:38.301Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T18:29:38.337Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T18:29:38.644Z] ========================================================= [2021-05-11T18:29:38.644Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-11T18:29:38.644Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:29:39.000Z] + 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-11T18:29:39.000Z] Sending build context to Docker daemon 92.16kB [2021-05-11T18:29:39.000Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T18:29:39.000Z] Step 2/10 : FROM ${BASE} [2021-05-11T18:29:39.265Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-11T18:29:39.265Z] 540db60ca938: Pulling fs layer [2021-05-11T18:29:39.265Z] adcc1eea9eea: Pulling fs layer [2021-05-11T18:29:39.265Z] 4c4ab2625f07: Pulling fs layer [2021-05-11T18:29:39.265Z] 0510c868ecb4: Pulling fs layer [2021-05-11T18:29:39.265Z] afea3b2eda06: Pulling fs layer [2021-05-11T18:29:39.265Z] 7809a108b3ef: Pulling fs layer [2021-05-11T18:29:39.265Z] f706445af74f: Pulling fs layer [2021-05-11T18:29:39.265Z] afea3b2eda06: Waiting [2021-05-11T18:29:39.265Z] 7809a108b3ef: Waiting [2021-05-11T18:29:39.265Z] f706445af74f: Waiting [2021-05-11T18:29:39.265Z] 0510c868ecb4: Waiting [2021-05-11T18:29:39.265Z] 4c4ab2625f07: Verifying Checksum [2021-05-11T18:29:39.265Z] 4c4ab2625f07: Download complete [2021-05-11T18:29:39.265Z] adcc1eea9eea: Verifying Checksum [2021-05-11T18:29:39.265Z] adcc1eea9eea: Download complete [2021-05-11T18:29:39.265Z] afea3b2eda06: Verifying Checksum [2021-05-11T18:29:39.265Z] afea3b2eda06: Download complete [2021-05-11T18:29:39.265Z] 7809a108b3ef: Verifying Checksum [2021-05-11T18:29:39.265Z] 7809a108b3ef: Download complete [2021-05-11T18:29:39.265Z] 540db60ca938: Verifying Checksum [2021-05-11T18:29:39.265Z] 540db60ca938: Download complete [2021-05-11T18:29:39.532Z] 540db60ca938: Pull complete [2021-05-11T18:29:39.803Z] adcc1eea9eea: Pull complete [2021-05-11T18:29:39.803Z] 4c4ab2625f07: Pull complete [2021-05-11T18:29:41.744Z] f706445af74f: Verifying Checksum [2021-05-11T18:29:41.744Z] f706445af74f: Download complete [2021-05-11T18:29:42.326Z] 0510c868ecb4: Verifying Checksum [2021-05-11T18:29:42.326Z] 0510c868ecb4: Download complete [2021-05-11T18:29:49.061Z] 0510c868ecb4: Pull complete [2021-05-11T18:29:49.335Z] afea3b2eda06: Pull complete [2021-05-11T18:29:49.622Z] 7809a108b3ef: Pull complete [2021-05-11T18:29:56.326Z] f706445af74f: Pull complete [2021-05-11T18:29:56.326Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-11T18:29:56.622Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-11T18:29:56.622Z] ---> b068be0155e3 [2021-05-11T18:29:56.622Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T18:29:56.622Z] ---> Running in 34130ed94868 [2021-05-11T18:29:56.893Z] Removing intermediate container 34130ed94868 [2021-05-11T18:29:56.893Z] ---> 8b194e844028 [2021-05-11T18:29:56.893Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T18:29:57.191Z] ---> Running in 73d1cae91a35 [2021-05-11T18:29:57.191Z] Removing intermediate container 73d1cae91a35 [2021-05-11T18:29:57.191Z] ---> ea9311613b17 [2021-05-11T18:29:57.191Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-11T18:29:57.458Z] ---> Running in 2062636349c3 [2021-05-11T18:29:57.731Z] Removing intermediate container 2062636349c3 [2021-05-11T18:29:57.731Z] ---> c47d325b159e [2021-05-11T18:29:57.731Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T18:29:57.731Z] ---> Running in 7ca1a29fd276 [2021-05-11T18:30:00.369Z] Removing intermediate container 7ca1a29fd276 [2021-05-11T18:30:00.369Z] ---> 9111df84a441 [2021-05-11T18:30:00.369Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T18:30:00.369Z] ---> Running in bff22747787f [2021-05-11T18:30:00.966Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T18:30:01.939Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T18:30:02.214Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-11T18:30:02.214Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-11T18:30:02.485Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-11T18:30:02.485Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-11T18:30:02.753Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-11T18:30:02.753Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-11T18:30:02.753Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-11T18:30:03.017Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-11T18:30:03.283Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-11T18:30:03.283Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T18:30:03.283Z] OK: 154 MiB in 49 packages [2021-05-11T18:30:04.250Z] Removing intermediate container bff22747787f [2021-05-11T18:30:04.250Z] ---> 1d035a1059ad [2021-05-11T18:30:04.250Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-11T18:30:04.533Z] ---> Running in 329cb11d3e7b [2021-05-11T18:30:04.809Z] Removing intermediate container 329cb11d3e7b [2021-05-11T18:30:04.809Z] ---> 708d9baeaf71 [2021-05-11T18:30:04.809Z] Step 9/10 : COPY . . [2021-05-11T18:30:05.081Z] ---> e98280d752f4 [2021-05-11T18:30:05.081Z] Step 10/10 : RUN go mod download [2021-05-11T18:30:05.351Z] ---> Running in ccc90e935a18 [2021-05-11T18:30:12.544Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4572 in /w/workspace/dgexfoundry_device-rest-go_PR-94 [Pipeline] { [Pipeline] ws [2021-05-11T18:30:12.608Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-11T18:30:19.180Z] using credential edgex-jenkins-ssh [2021-05-11T18:30:19.214Z] Cloning the remote Git repository [2021-05-11T18:30:19.278Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T18:30:19.390Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-11T18:30:19.480Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T18:30:19.482Z] > git --version # timeout=10 [2021-05-11T18:30:19.497Z] > git --version # 'git version 2.17.1' [2021-05-11T18:30:19.499Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T18:30:19.620Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T18:30:21.320Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-11T18:30:21.342Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T18:30:21.368Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-11T18:30:21.400Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-11T18:30:21.400Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T18:30:21.413Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T18:30:21.988Z] Merging remotes/origin/master commit 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit 629973d7627f15a7fab31412c44c0f27f8ca8ec6 [2021-05-11T18:30:22.203Z] Merge succeeded, producing 629973d7627f15a7fab31412c44c0f27f8ca8ec6 [2021-05-11T18:30:22.203Z] Checking out Revision 629973d7627f15a7fab31412c44c0f27f8ca8ec6 (PR-94) [2021-05-11T18:30:22.015Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T18:30:22.034Z] > git checkout -f 629973d7627f15a7fab31412c44c0f27f8ca8ec6 # timeout=10 [2021-05-11T18:30:22.121Z] > git remote # timeout=10 [2021-05-11T18:30:22.142Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T18:30:22.167Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T18:30:22.177Z] > git merge 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 [2021-05-11T18:30:22.198Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T18:30:22.218Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T18:30:22.235Z] > git checkout -f 629973d7627f15a7fab31412c44c0f27f8ca8ec6 # timeout=10 [2021-05-11T18:30:26.495Z] Commit message: "fix(snap): update epoch for Ireland release" [2021-05-11T18:30:26.579Z] > git --version # timeout=10 [2021-05-11T18:30:26.598Z] > git --version # 'git version 2.17.1' [2021-05-11T18:30:26.626Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T18:30:28.174Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-11T18:30:28.615Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T18:30:28.975Z] + sudo service docker restart [2021-05-11T18:30:28.975Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T18:30:31.723Z] provisioning config files... [2021-05-11T18:30:31.771Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5320432914729881234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:30:32.172Z] Removing intermediate container ccc90e935a18 [2021-05-11T18:30:32.172Z] ---> 0e99f73cf2f3 [2021-05-11T18:30:32.172Z] Successfully built 0e99f73cf2f3 [2021-05-11T18:30:32.172Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [2021-05-11T18:30:32.217Z] ---> docker-login.sh [2021-05-11T18:30:32.217Z] nexus3.edgexfoundry.org:10001 [Pipeline] sh [2021-05-11T18:30:32.540Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T18:30:32.540Z] . [Pipeline] withDockerContainer [2021-05-11T18:30:32.695Z] prd-centos7-docker-4c-2g-4573 does not seem to be running inside a container [2021-05-11T18:30:32.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-11T18:30:33.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:30:33.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:30:33.479Z] Configure a credential helper to remove this warning. See [2021-05-11T18:30:33.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:30:33.479Z] [2021-05-11T18:30:33.479Z] Login Succeeded [2021-05-11T18:30:33.479Z] nexus3.edgexfoundry.org:10002 [2021-05-11T18:30:33.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:30:33.792Z] $ docker top dd9daa868ef224a1d8b336ba639d031d8a5c85b84567e44a6791152be5359e66 -eo pid,comm [2021-05-11T18:30:34.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:30:34.052Z] Configure a credential helper to remove this warning. See [2021-05-11T18:30:34.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:30:34.052Z] [2021-05-11T18:30:34.052Z] Login Succeeded [2021-05-11T18:30:34.052Z] nexus3.edgexfoundry.org:10003 [Pipeline] { [Pipeline] sh [2021-05-11T18:30:34.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:30:34.454Z] + go version [2021-05-11T18:30:34.454Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-11T18:30:34.489Z] $ docker stop --time=1 dd9daa868ef224a1d8b336ba639d031d8a5c85b84567e44a6791152be5359e66 [2021-05-11T18:30:34.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:30:34.606Z] Configure a credential helper to remove this warning. See [2021-05-11T18:30:34.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:30:34.606Z] [2021-05-11T18:30:34.606Z] Login Succeeded [2021-05-11T18:30:34.606Z] nexus3.edgexfoundry.org:10004 [2021-05-11T18:30:34.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:30:35.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:30:35.161Z] Configure a credential helper to remove this warning. See [2021-05-11T18:30:35.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:30:35.161Z] [2021-05-11T18:30:35.435Z] Login Succeeded [2021-05-11T18:30:35.435Z] docker.io [2021-05-11T18:30:35.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T18:30:35.894Z] $ docker rm -f dd9daa868ef224a1d8b336ba639d031d8a5c85b84567e44a6791152be5359e66 [2021-05-11T18:30:35.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T18:30:35.984Z] Configure a credential helper to remove this warning. See [2021-05-11T18:30:35.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T18:30:35.984Z] [2021-05-11T18:30:35.984Z] Login Succeeded [2021-05-11T18:30:35.984Z] ---> docker-login.sh ends [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2021-05-11T18:30:36.165Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // wrap [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] unstash [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] echo [2021-05-11T18:30:36.708Z] ========================================================= [2021-05-11T18:30:36.709Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-11T18:30:36.709Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:30:36.913Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T18:30:36.913Z] . [Pipeline] withDockerContainer [2021-05-11T18:30:37.057Z] prd-centos7-docker-4c-2g-4573 does not seem to be running inside a container [2021-05-11T18:30:37.089Z] + 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-11T18:30:37.089Z] Sending build context to Docker daemon 92.16kB [2021-05-11T18:30:37.121Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-11T18:30:37.364Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T18:30:37.364Z] Step 2/10 : FROM ${BASE} [2021-05-11T18:30:37.640Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-11T18:30:37.640Z] 595b0fe564bb: Pulling fs layer [2021-05-11T18:30:37.640Z] 7186ed65a4f7: Pulling fs layer [2021-05-11T18:30:37.640Z] 316046926c0a: Pulling fs layer [2021-05-11T18:30:37.640Z] 4ebd0625c992: Pulling fs layer [2021-05-11T18:30:37.640Z] 207e8628e3a3: Pulling fs layer [2021-05-11T18:30:37.640Z] c791037a9be2: Pulling fs layer [2021-05-11T18:30:37.640Z] ffd874e62e21: Pulling fs layer [2021-05-11T18:30:37.640Z] 4ebd0625c992: Waiting [2021-05-11T18:30:37.640Z] 207e8628e3a3: Waiting [2021-05-11T18:30:37.640Z] c791037a9be2: Waiting [2021-05-11T18:30:37.640Z] ffd874e62e21: Waiting [2021-05-11T18:30:37.640Z] 316046926c0a: Verifying Checksum [2021-05-11T18:30:37.640Z] 316046926c0a: Download complete [2021-05-11T18:30:37.640Z] 7186ed65a4f7: Download complete [2021-05-11T18:30:37.640Z] 207e8628e3a3: Verifying Checksum [2021-05-11T18:30:37.640Z] 207e8628e3a3: Download complete [2021-05-11T18:30:37.640Z] c791037a9be2: Download complete [2021-05-11T18:30:37.640Z] 595b0fe564bb: Verifying Checksum [2021-05-11T18:30:37.640Z] 595b0fe564bb: Download complete [2021-05-11T18:30:37.981Z] $ docker top 9ddfcb71ff92dc11babd8a93663b68485172db66d38841e508c7a1b2a0aba9fc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T18:30:38.243Z] 595b0fe564bb: Pull complete [2021-05-11T18:30:38.542Z] + go mod tidy [2021-05-11T18:30:38.844Z] 7186ed65a4f7: Pull complete [Pipeline] sh [2021-05-11T18:30:39.453Z] 316046926c0a: Pull complete [2021-05-11T18:30:39.455Z] + make test [2021-05-11T18:30:39.455Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-11T18:30:39.727Z] ffd874e62e21: Verifying Checksum [2021-05-11T18:30:39.727Z] ffd874e62e21: Download complete [2021-05-11T18:30:40.419Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-11T18:30:40.707Z] 4ebd0625c992: Download complete [2021-05-11T18:30:50.877Z] 4ebd0625c992: Pull complete [2021-05-11T18:30:50.877Z] 207e8628e3a3: Pull complete [2021-05-11T18:30:50.877Z] c791037a9be2: Pull complete [2021-05-11T18:30:54.272Z] ffd874e62e21: Pull complete [2021-05-11T18:30:54.272Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-11T18:30:54.272Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-11T18:30:54.272Z] ---> cfc18b08335c [2021-05-11T18:30:54.272Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T18:30:57.706Z] ---> Running in 7948bd0cc232 [2021-05-11T18:30:57.706Z] Removing intermediate container 7948bd0cc232 [2021-05-11T18:30:57.706Z] ---> 5ac51b0ab62d [2021-05-11T18:30:57.706Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T18:30:57.980Z] ---> Running in 1f789b108b0f [2021-05-11T18:30:58.254Z] Removing intermediate container 1f789b108b0f [2021-05-11T18:30:58.254Z] ---> e5846db71a39 [2021-05-11T18:30:58.254Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-11T18:30:58.534Z] ---> Running in b51483912d50 [2021-05-11T18:30:58.809Z] Removing intermediate container b51483912d50 [2021-05-11T18:30:58.809Z] ---> 956277427f4a [2021-05-11T18:30:58.809Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T18:30:59.086Z] ---> Running in d229d8f1f76f [2021-05-11T18:31:01.715Z] Removing intermediate container d229d8f1f76f [2021-05-11T18:31:01.715Z] ---> 43723822ebbb [2021-05-11T18:31:01.715Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T18:31:01.715Z] ---> Running in 4c18027fa2e3 [2021-05-11T18:31:02.666Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-11T18:31:02.700Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T18:31:03.658Z] ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 54.0% of statements [2021-05-11T18:31:03.676Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T18:31:03.925Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-11T18:31:04.653Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-11T18:31:04.653Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-11T18:31:04.653Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-11T18:31:04.926Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-11T18:31:04.926Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-11T18:31:05.202Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-11T18:31:05.202Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-11T18:31:05.475Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-11T18:31:05.749Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-11T18:31:05.749Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T18:31:05.749Z] OK: 144 MiB in 49 packages [2021-05-11T18:31:07.717Z] Removing intermediate container 4c18027fa2e3 [2021-05-11T18:31:07.717Z] ---> f65e7235392a [2021-05-11T18:31:07.717Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-11T18:31:07.717Z] ---> Running in 9ab715436a06 [2021-05-11T18:31:07.990Z] Removing intermediate container 9ab715436a06 [2021-05-11T18:31:07.990Z] ---> 0b36d3f96401 [2021-05-11T18:31:07.990Z] Step 9/10 : COPY . . [2021-05-11T18:31:08.976Z] ---> 10e8a0c10f42 [2021-05-11T18:31:08.976Z] Step 10/10 : RUN go mod download [2021-05-11T18:31:08.976Z] ---> Running in 1a4e88b116af [2021-05-11T18:31:23.091Z] gofmt -l . [2021-05-11T18:31:23.091Z] [ "`gofmt -l .`" = "" ] [2021-05-11T18:31:23.091Z] ./bin/test-go-mod-tidy.sh [2021-05-11T18:31:23.091Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-11T18:31:23.148Z] $ docker stop --time=1 9ddfcb71ff92dc11babd8a93663b68485172db66d38841e508c7a1b2a0aba9fc [2021-05-11T18:31:25.333Z] $ docker rm -f 9ddfcb71ff92dc11babd8a93663b68485172db66d38841e508c7a1b2a0aba9fc [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T18:31:26.097Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T18:31:26.801Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-11T18:31:28.030Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T18:31:28.439Z] + ls -al . [2021-05-11T18:31:28.439Z] total 104 [2021-05-11T18:31:28.439Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 11 18:31 . [2021-05-11T18:31:28.439Z] drwxrwxr-x. 4 jenkins jenkins 28 May 11 18:29 .. [2021-05-11T18:31:28.439Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 11 18:29 Attribution.txt [2021-05-11T18:31:28.439Z] drwxrwxr-x. 2 jenkins jenkins 64 May 11 18:29 bin [2021-05-11T18:31:28.439Z] drwxrwxr-x. 3 jenkins jenkins 32 May 11 18:29 cmd [2021-05-11T18:31:28.439Z] -rw-r--r--. 1 jenkins jenkins 8513 May 11 18:31 coverage.out [2021-05-11T18:31:28.439Z] -rw-rw-r--. 1 jenkins jenkins 1602 May 11 18:29 Dockerfile [2021-05-11T18:31:28.439Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 11 18:29 Dockerfile.build [2021-05-11T18:31:28.439Z] -rw-rw-r--. 1 jenkins jenkins 151 May 11 18:29 .dockerignore [2021-05-11T18:31:28.439Z] drwxrwxr-x. 2 jenkins jenkins 76 May 11 18:29 driver [2021-05-11T18:31:28.439Z] drwxrwxr-x. 8 jenkins jenkins 179 May 11 18:29 .git [2021-05-11T18:31:28.439Z] drwxrwxr-x. 2 jenkins jenkins 103 May 11 18:29 .github [2021-05-11T18:31:28.439Z] -rw-rw-r--. 1 jenkins jenkins 339 May 11 18:29 .gitignore [2021-05-11T18:31:28.439Z] -rw-r--r--. 1 jenkins jenkins 285 May 11 18:31 go.mod [2021-05-11T18:31:28.439Z] -rw-r--r--. 1 jenkins jenkins 21011 May 11 18:30 go.sum [2021-05-11T18:31:28.439Z] -rw-rw-r--. 1 jenkins jenkins 680 May 11 18:29 Jenkinsfile [2021-05-11T18:31:28.439Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 11 18:29 LICENSE [2021-05-11T18:31:28.439Z] -rw-rw-r--. 1 jenkins jenkins 976 May 11 18:29 Makefile [2021-05-11T18:31:28.439Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 11 18:29 README.md [2021-05-11T18:31:28.439Z] drwxrwxr-x. 4 jenkins jenkins 71 May 11 18:29 snap [2021-05-11T18:31:28.439Z] -rw-rw-r--. 1 jenkins jenkins 5 May 11 18:25 VERSION [2021-05-11T18:31:28.439Z] -rw-rw-r--. 1 jenkins jenkins 713 May 11 18:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:31:28.847Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=629973d7627f15a7fab31412c44c0f27f8ca8ec6 --label arch=amd64 --label version=0.0.0 . [2021-05-11T18:31:29.161Z] Sending build context to Docker daemon 101.9kB [2021-05-11T18:31:29.161Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T18:31:29.161Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-11T18:31:29.161Z] ---> 0e99f73cf2f3 [2021-05-11T18:31:29.161Z] Step 3/24 : ARG MAKE='make build' [2021-05-11T18:31:29.458Z] ---> Running in 0e5e7d162026 [2021-05-11T18:31:29.725Z] Removing intermediate container 0e5e7d162026 [2021-05-11T18:31:29.725Z] ---> 40bc43487834 [2021-05-11T18:31:29.725Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T18:31:29.725Z] ---> Running in 07f77e4d57be [2021-05-11T18:31:29.999Z] Removing intermediate container 07f77e4d57be [2021-05-11T18:31:29.999Z] ---> 0f21ec32541e [2021-05-11T18:31:29.999Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T18:31:30.266Z] ---> Running in 2ef0dc8de58c [2021-05-11T18:31:30.533Z] Removing intermediate container 2ef0dc8de58c [2021-05-11T18:31:30.533Z] ---> e97e720185d8 [2021-05-11T18:31:30.533Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T18:31:30.533Z] ---> Running in 6bb44b9d44c5 [2021-05-11T18:31:32.558Z] Removing intermediate container 6bb44b9d44c5 [2021-05-11T18:31:32.558Z] ---> 8ddf7f39a802 [2021-05-11T18:31:32.558Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T18:31:32.558Z] ---> Running in 584a4274a062 [2021-05-11T18:31:33.630Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T18:31:34.628Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T18:31:35.800Z] Removing intermediate container 1a4e88b116af [2021-05-11T18:31:35.800Z] ---> 7f8311eb0b0a [2021-05-11T18:31:35.800Z] Successfully built 7f8311eb0b0a [2021-05-11T18:31:35.800Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:31:36.107Z] OK: 154 MiB in 49 packages [2021-05-11T18:31:36.191Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T18:31:36.191Z] . [Pipeline] withDockerContainer [2021-05-11T18:31:36.489Z] prd-ubuntu18.04-docker-arm64-4c-16g-4572 does not seem to be running inside a container [2021-05-11T18:31:36.596Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-11T18:31:36.697Z] Removing intermediate container 584a4274a062 [2021-05-11T18:31:36.698Z] ---> 83f8dae914c0 [2021-05-11T18:31:36.698Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-11T18:31:36.969Z] ---> Running in c8cc737a5594 [2021-05-11T18:31:37.238Z] Removing intermediate container c8cc737a5594 [2021-05-11T18:31:37.238Z] ---> 91bbc8a30adb [2021-05-11T18:31:37.238Z] Step 9/24 : COPY . . [2021-05-11T18:31:37.506Z] ---> 24ab1f0edeac [2021-05-11T18:31:37.506Z] Step 10/24 : RUN make update [2021-05-11T18:31:37.784Z] ---> Running in 208f529797c9 [2021-05-11T18:31:38.241Z] $ docker top 0051ecdb6aeb148832583e065cb852c72a8f668bcec382af79935f38adf80eda -eo pid,comm [2021-05-11T18:31:38.370Z] CGO_ENABLED=0 GO111MODULE=on go mod download [Pipeline] { [Pipeline] sh [2021-05-11T18:31:38.982Z] Removing intermediate container 208f529797c9 [2021-05-11T18:31:38.982Z] ---> 55fad2d3ef52 [2021-05-11T18:31:38.982Z] Step 11/24 : RUN $MAKE [2021-05-11T18:31:38.982Z] ---> Running in c4ca230c0686 [2021-05-11T18:31:39.356Z] + go version [2021-05-11T18:31:39.357Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-11T18:31:39.430Z] $ docker stop --time=1 0051ecdb6aeb148832583e065cb852c72a8f668bcec382af79935f38adf80eda [2021-05-11T18:31:39.978Z] 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-11T18:31:41.448Z] $ docker rm -f 0051ecdb6aeb148832583e065cb852c72a8f668bcec382af79935f38adf80eda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:31:42.455Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T18:31:42.455Z] . [Pipeline] withDockerContainer [2021-05-11T18:31:42.757Z] prd-ubuntu18.04-docker-arm64-4c-16g-4572 does not seem to be running inside a container [2021-05-11T18:31:42.874Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-11T18:31:44.497Z] $ docker top ed86d8dea9ba4b0e8733e5415f2b7f8ae84ef7cafeea3fec46ddc06548bcd05b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T18:31:45.530Z] + go mod tidy [Pipeline] sh [2021-05-11T18:31:46.827Z] + make test [2021-05-11T18:31:46.827Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-11T18:31:48.274Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-11T18:32:07.133Z] Removing intermediate container c4ca230c0686 [2021-05-11T18:32:07.133Z] ---> bd7542f588eb [2021-05-11T18:32:07.133Z] Step 12/24 : FROM alpine:3.12 [2021-05-11T18:32:07.133Z] 3.12: Pulling from library/alpine [2021-05-11T18:32:07.133Z] 339de151aab4: Pulling fs layer [2021-05-11T18:32:07.133Z] 339de151aab4: Verifying Checksum [2021-05-11T18:32:07.133Z] 339de151aab4: Download complete [2021-05-11T18:32:07.133Z] 339de151aab4: Pull complete [2021-05-11T18:32:07.133Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T18:32:07.133Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T18:32:07.133Z] ---> 13621d1b12d4 [2021-05-11T18:32:07.133Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-11T18:32:07.133Z] ---> Running in 9922cfa1da53 [2021-05-11T18:32:07.133Z] Removing intermediate container 9922cfa1da53 [2021-05-11T18:32:07.133Z] ---> 6cc1ee20eaf0 [2021-05-11T18:32:07.133Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-11T18:32:07.133Z] ---> Running in cfda8d83c46d [2021-05-11T18:32:07.133Z] Removing intermediate container cfda8d83c46d [2021-05-11T18:32:07.133Z] ---> 0c9258c11a0b [2021-05-11T18:32:07.133Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-11T18:32:07.133Z] ---> Running in cca839925d7b [2021-05-11T18:32:07.133Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-11T18:32:07.133Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-11T18:32:07.403Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-11T18:32:07.403Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-11T18:32:07.403Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-11T18:32:07.403Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-11T18:32:07.403Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-11T18:32:07.403Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-11T18:32:07.404Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T18:32:07.404Z] OK: 8 MiB in 20 packages [2021-05-11T18:32:08.415Z] Removing intermediate container cca839925d7b [2021-05-11T18:32:08.415Z] ---> 3fdf492af8ec [2021-05-11T18:32:08.415Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-11T18:32:09.392Z] ---> 1b479808c511 [2021-05-11T18:32:09.392Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-11T18:32:09.666Z] ---> 07025797a0c0 [2021-05-11T18:32:09.666Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-11T18:32:10.253Z] ---> c8cffe0c4cdc [2021-05-11T18:32:10.253Z] Step 19/24 : EXPOSE 49986 [2021-05-11T18:32:10.253Z] ---> Running in bce541f18145 [2021-05-11T18:32:10.518Z] Removing intermediate container bce541f18145 [2021-05-11T18:32:10.518Z] ---> 596c453b1c8f [2021-05-11T18:32:10.518Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-11T18:32:10.518Z] ---> Running in ef8ed949e41d [2021-05-11T18:32:10.789Z] Removing intermediate container ef8ed949e41d [2021-05-11T18:32:10.789Z] ---> b64c5602434c [2021-05-11T18:32:10.789Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-11T18:32:10.789Z] ---> Running in 3be41d9acf0f [2021-05-11T18:32:11.054Z] Removing intermediate container 3be41d9acf0f [2021-05-11T18:32:11.054Z] ---> f259a943a5ad [2021-05-11T18:32:11.054Z] Step 22/24 : LABEL arch=amd64 [2021-05-11T18:32:11.054Z] ---> Running in bd295029763a [2021-05-11T18:32:11.326Z] Removing intermediate container bd295029763a [2021-05-11T18:32:11.326Z] ---> e523691c0f68 [2021-05-11T18:32:11.326Z] Step 23/24 : LABEL git_sha=629973d7627f15a7fab31412c44c0f27f8ca8ec6 [2021-05-11T18:32:11.326Z] ---> Running in e8c2de6d2e26 [2021-05-11T18:32:11.599Z] Removing intermediate container e8c2de6d2e26 [2021-05-11T18:32:11.599Z] ---> 8918de2102b2 [2021-05-11T18:32:11.599Z] Step 24/24 : LABEL version=0.0.0 [2021-05-11T18:32:11.599Z] ---> Running in 576f601bb71c [2021-05-11T18:32:12.565Z] Removing intermediate container 576f601bb71c [2021-05-11T18:32:12.565Z] ---> b4ce5213b01f [2021-05-11T18:32:12.565Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-11T18:32:12.565Z] Successfully built b4ce5213b01f [2021-05-11T18:32:12.565Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:32:14.529Z] ---> job-cost.sh [2021-05-11T18:32:14.529Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mnxZ [2021-05-11T18:32:36.592Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T18:32:44.891Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-11T18:32:44.891Z] ok github.com/edgexfoundry/device-rest-go/driver 0.037s coverage: 54.0% of statements [2021-05-11T18:32:44.891Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-11T18:33:08.896Z] lf-activate-venv(): INFO: Adding /tmp/venv-mnxZ/bin to PATH [2021-05-11T18:33:08.896Z] INFO: No Stack... [2021-05-11T18:33:09.161Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T18:33:10.123Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T18:33:10.492Z] + cut -d, -f6 [2021-05-11T18:33:10.492Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2021-05-11T18:33:10.655Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-94-1-stack-cost] [2021-05-11T18:33:10.661Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-94-1-stack-cost] did not exist. Created. [2021-05-11T18:33:10.661Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-94-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T18:33:11.162Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-11T18:33:11.333Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T18:33:11.354Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-94-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-05-11T18:33:11.731Z] gofmt -l . [2021-05-11T18:33:11.731Z] [ "`gofmt -l .`" = "" ] [2021-05-11T18:33:11.731Z] ./bin/test-go-mod-tidy.sh [2021-05-11T18:33:11.731Z] ./bin/test-attribution-txt.sh [Pipeline] // stage [Pipeline] } [Pipeline] } [2021-05-11T18:33:11.903Z] $ docker stop --time=1 ed86d8dea9ba4b0e8733e5415f2b7f8ae84ef7cafeea3fec46ddc06548bcd05b [2021-05-11T18:33:13.971Z] $ docker rm -f ed86d8dea9ba4b0e8733e5415f2b7f8ae84ef7cafeea3fec46ddc06548bcd05b [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T18:33:14.837Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T18:33:14.884Z] Warning: overwriting stash ‘coverage-report’ [2021-05-11T18:33:15.770Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T18:33:16.429Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T18:33:16.817Z] + ls -al . [2021-05-11T18:33:16.817Z] total 132 [2021-05-11T18:33:16.817Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 18:33 . [2021-05-11T18:33:16.817Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 18:30 .. [2021-05-11T18:33:16.817Z] -rw-rw-r-- 1 jenkins jenkins 151 May 11 18:30 .dockerignore [2021-05-11T18:33:16.817Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 18:30 .git [2021-05-11T18:33:16.817Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 18:30 .github [2021-05-11T18:33:16.817Z] -rw-rw-r-- 1 jenkins jenkins 339 May 11 18:30 .gitignore [2021-05-11T18:33:16.817Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 11 18:30 Attribution.txt [2021-05-11T18:33:16.817Z] -rw-rw-r-- 1 jenkins jenkins 1602 May 11 18:30 Dockerfile [2021-05-11T18:33:16.817Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 11 18:30 Dockerfile.build [2021-05-11T18:33:16.817Z] -rw-rw-r-- 1 jenkins jenkins 680 May 11 18:30 Jenkinsfile [2021-05-11T18:33:16.817Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 18:30 LICENSE [2021-05-11T18:33:16.817Z] -rw-rw-r-- 1 jenkins jenkins 976 May 11 18:30 Makefile [2021-05-11T18:33:16.817Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 11 18:30 README.md [2021-05-11T18:33:16.817Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 18:25 VERSION [2021-05-11T18:33:16.817Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 18:30 bin [2021-05-11T18:33:16.817Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 18:30 cmd [2021-05-11T18:33:16.817Z] -rw-r--r-- 1 jenkins jenkins 8513 May 11 18:32 coverage.out [2021-05-11T18:33:16.817Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 18:30 driver [2021-05-11T18:33:16.817Z] -rw-r--r-- 1 jenkins jenkins 285 May 11 18:33 go.mod [2021-05-11T18:33:16.817Z] -rw-r--r-- 1 jenkins jenkins 21011 May 11 18:31 go.sum [2021-05-11T18:33:16.817Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 18:30 snap [2021-05-11T18:33:16.817Z] -rw-rw-r-- 1 jenkins jenkins 713 May 11 18:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:33:17.266Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=629973d7627f15a7fab31412c44c0f27f8ca8ec6 --label arch=arm64 --label version=0.0.0 . [2021-05-11T18:33:17.266Z] Sending build context to Docker daemon 101.9kB [2021-05-11T18:33:17.572Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-05-11T18:33:17.572Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-11T18:33:17.572Z] ---> 7f8311eb0b0a [2021-05-11T18:33:17.572Z] Step 3/24 : ARG MAKE='make build' [2021-05-11T18:33:17.854Z] ---> Running in 72b61fdea9cb [2021-05-11T18:33:18.456Z] Removing intermediate container 72b61fdea9cb [2021-05-11T18:33:18.456Z] ---> bcd506cb5e53 [2021-05-11T18:33:18.456Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-11T18:33:18.456Z] ---> Running in 924e4dae2243 [2021-05-11T18:33:18.726Z] Removing intermediate container 924e4dae2243 [2021-05-11T18:33:18.726Z] ---> b82f50cc27ef [2021-05-11T18:33:18.726Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-11T18:33:18.996Z] ---> Running in 1be3dd11ff7e [2021-05-11T18:33:19.267Z] Removing intermediate container 1be3dd11ff7e [2021-05-11T18:33:19.267Z] ---> 7bd7d347345b [2021-05-11T18:33:19.268Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T18:33:19.540Z] ---> Running in fff7c37f0e37 [2021-05-11T18:33:21.517Z] Removing intermediate container fff7c37f0e37 [2021-05-11T18:33:21.517Z] ---> 55ff690f50e2 [2021-05-11T18:33:21.517Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-11T18:33:21.517Z] ---> Running in c58cc6f317fc [2021-05-11T18:33:22.961Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T18:33:23.557Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T18:33:24.533Z] OK: 144 MiB in 49 packages [2021-05-11T18:33:25.515Z] Removing intermediate container c58cc6f317fc [2021-05-11T18:33:25.515Z] ---> 43c900200707 [2021-05-11T18:33:25.515Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-11T18:33:25.789Z] ---> Running in 3515b39ef6e2 [2021-05-11T18:33:26.382Z] Removing intermediate container 3515b39ef6e2 [2021-05-11T18:33:26.382Z] ---> c4342ad6be68 [2021-05-11T18:33:26.382Z] Step 9/24 : COPY . . [2021-05-11T18:33:26.987Z] ---> 1b0332c0cf5e [2021-05-11T18:33:26.987Z] Step 10/24 : RUN make update [2021-05-11T18:33:27.260Z] ---> Running in cc2a59b6f205 [2021-05-11T18:33:28.237Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-11T18:33:29.674Z] Removing intermediate container cc2a59b6f205 [2021-05-11T18:33:29.674Z] ---> ffe3639f5164 [2021-05-11T18:33:29.674Z] Step 11/24 : RUN $MAKE [2021-05-11T18:33:29.674Z] ---> Running in 167bcf90a311 [2021-05-11T18:33:30.655Z] 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-11T18:34:09.697Z] Removing intermediate container 167bcf90a311 [2021-05-11T18:34:09.697Z] ---> fa7fd5730a81 [2021-05-11T18:34:09.697Z] Step 12/24 : FROM alpine:3.12 [2021-05-11T18:34:09.697Z] 3.12: Pulling from library/alpine [2021-05-11T18:34:09.697Z] d2f70382dc9a: Pulling fs layer [2021-05-11T18:34:09.697Z] d2f70382dc9a: Verifying Checksum [2021-05-11T18:34:09.697Z] d2f70382dc9a: Download complete [2021-05-11T18:34:09.697Z] d2f70382dc9a: Pull complete [2021-05-11T18:34:09.697Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T18:34:09.697Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T18:34:09.697Z] ---> 9852663dfa18 [2021-05-11T18:34:09.697Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-11T18:34:09.697Z] ---> Running in 3b3044a8f5ce [2021-05-11T18:34:09.697Z] Removing intermediate container 3b3044a8f5ce [2021-05-11T18:34:09.697Z] ---> 38ae49829b72 [2021-05-11T18:34:09.697Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-11T18:34:09.697Z] ---> Running in f31b0041d6e7 [2021-05-11T18:34:09.697Z] Removing intermediate container f31b0041d6e7 [2021-05-11T18:34:09.697Z] ---> c9f156a0679a [2021-05-11T18:34:09.697Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-11T18:34:09.697Z] ---> Running in 2a029abc662d [2021-05-11T18:34:09.697Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-11T18:34:09.697Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-11T18:34:10.292Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-11T18:34:10.292Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-11T18:34:10.292Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-11T18:34:10.292Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-11T18:34:10.292Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-11T18:34:10.292Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-11T18:34:10.292Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T18:34:10.292Z] OK: 8 MiB in 20 packages [2021-05-11T18:34:11.732Z] Removing intermediate container 2a029abc662d [2021-05-11T18:34:11.732Z] ---> c68106074775 [2021-05-11T18:34:11.732Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-11T18:34:12.710Z] ---> 0a74fb68604a [2021-05-11T18:34:12.710Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-11T18:34:13.690Z] ---> e1330294e9d2 [2021-05-11T18:34:13.690Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-11T18:34:14.288Z] ---> 786173ad3c96 [2021-05-11T18:34:14.288Z] Step 19/24 : EXPOSE 49986 [2021-05-11T18:34:14.288Z] ---> Running in 7932ff2409c3 [2021-05-11T18:34:14.886Z] Removing intermediate container 7932ff2409c3 [2021-05-11T18:34:14.886Z] ---> 5020aaf55d39 [2021-05-11T18:34:14.886Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-11T18:34:14.886Z] ---> Running in 1ae737c1b25c [2021-05-11T18:34:15.480Z] Removing intermediate container 1ae737c1b25c [2021-05-11T18:34:15.480Z] ---> 850f02e0db28 [2021-05-11T18:34:15.480Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-11T18:34:15.480Z] ---> Running in d271106280cc [2021-05-11T18:34:16.083Z] Removing intermediate container d271106280cc [2021-05-11T18:34:16.083Z] ---> 25cec7b7ecf9 [2021-05-11T18:34:16.083Z] Step 22/24 : LABEL arch=arm64 [2021-05-11T18:34:16.083Z] ---> Running in dbac9ea72953 [2021-05-11T18:34:16.678Z] Removing intermediate container dbac9ea72953 [2021-05-11T18:34:16.678Z] ---> 566f039de56b [2021-05-11T18:34:16.678Z] Step 23/24 : LABEL git_sha=629973d7627f15a7fab31412c44c0f27f8ca8ec6 [2021-05-11T18:34:16.678Z] ---> Running in c6d4051c12de [2021-05-11T18:34:17.278Z] Removing intermediate container c6d4051c12de [2021-05-11T18:34:17.278Z] ---> d13ec8484df9 [2021-05-11T18:34:17.278Z] Step 24/24 : LABEL version=0.0.0 [2021-05-11T18:34:17.278Z] ---> Running in 9b236a40672b [2021-05-11T18:34:17.552Z] Removing intermediate container 9b236a40672b [2021-05-11T18:34:17.552Z] ---> 81ff5ada2e43 [2021-05-11T18:34:17.552Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-11T18:34:17.824Z] Successfully built 81ff5ada2e43 [2021-05-11T18:34:17.824Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:34:18.564Z] ---> job-cost.sh [2021-05-11T18:34:18.564Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6ZIB [2021-05-11T18:34:57.526Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T18:36:19.268Z] lf-activate-venv(): INFO: Adding /tmp/venv-6ZIB/bin to PATH [2021-05-11T18:36:19.268Z] INFO: No Stack... [2021-05-11T18:36:21.267Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-11T18:36:21.541Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T18:36:21.902Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-05-11T18:36:21.902Z] + cut -d, -f6 [Pipeline] lock [2021-05-11T18:36:22.047Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-94-1-stack-cost] [2021-05-11T18:36:22.054Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-94-1-stack-cost] did not exist. Created. [2021-05-11T18:36:22.054Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-94-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T18:36:22.515Z] /w/workspace/device-rest-go/1@tmp/durable-9ca3fad9/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-9ca3fad9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-11T18:36:22.892Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-11T18:36:22.934Z] Warning: overwriting stash ‘stack-cost’ [2021-05-11T18:36:23.081Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T18:36:23.105Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-94-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-11T18:36:23.947Z] provisioning config files... [2021-05-11T18:36:23.958Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/config5945067630217529532tmp [Pipeline] { [Pipeline] sh [2021-05-11T18:36:24.326Z] + set +x [2021-05-11T18:36:24.326Z] + curl -s https://codecov.io/bash [2021-05-11T18:36:24.326Z] + bash -s -- [2021-05-11T18:36:24.594Z] [2021-05-11T18:36:24.594Z] _____ _ [2021-05-11T18:36:24.594Z] / ____| | | [2021-05-11T18:36:24.594Z] | | ___ __| | ___ ___ _____ __ [2021-05-11T18:36:24.594Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-11T18:36:24.594Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-11T18:36:24.594Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-11T18:36:24.594Z] Bash-1.0.2 [2021-05-11T18:36:24.594Z] [2021-05-11T18:36:24.594Z] [2021-05-11T18:36:24.594Z] ==> git version 2.24.3 found [2021-05-11T18:36:24.594Z] ==> 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-11T18:36:24.594Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-11T18:36:24.594Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-11T18:36:24.594Z] ==> Jenkins CI detected. [2021-05-11T18:36:24.594Z] project root: . [2021-05-11T18:36:24.594Z] --> token set from env [2021-05-11T18:36:24.594Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-11T18:36:24.594Z] ==> Running gcov in . (disable via -X gcov) [2021-05-11T18:36:24.594Z] ==> Python coveragepy not found [2021-05-11T18:36:24.594Z] ==> Searching for coverage reports in: [2021-05-11T18:36:24.594Z] + . [2021-05-11T18:36:24.594Z] -> Found 1 reports [2021-05-11T18:36:24.594Z] ==> Detecting git/mercurial file structure [2021-05-11T18:36:24.594Z] ==> Reading reports [2021-05-11T18:36:24.594Z] + ./coverage.out bytes=8513 [2021-05-11T18:36:24.594Z] ==> Appending adjustments [2021-05-11T18:36:24.594Z] https://docs.codecov.io/docs/fixing-reports [2021-05-11T18:36:24.861Z] + Found adjustments [2021-05-11T18:36:24.861Z] ==> Gzipping contents [2021-05-11T18:36:24.861Z] 4.0K /tmp/codecov.lnpsNQ.gz [2021-05-11T18:36:24.861Z] ==> Uploading reports [2021-05-11T18:36:24.861Z] url: https://codecov.io [2021-05-11T18:36:24.861Z] query: branch=PR-94&commit=629973d7627f15a7fab31412c44c0f27f8ca8ec6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-94%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=94&job=&cmd_args= [2021-05-11T18:36:24.861Z] -> Pinging Codecov [2021-05-11T18:36:24.861Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-94&commit=629973d7627f15a7fab31412c44c0f27f8ca8ec6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-94%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=94&job=&cmd_args= [2021-05-11T18:36:25.438Z] -> Uploading to [2021-05-11T18:36:25.438Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-11/4E5D53B4F1F92C436F7061BF334D961C/629973d7627f15a7fab31412c44c0f27f8ca8ec6/c471980d-e067-470e-9bf9-fe682bcddb74.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T183625Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=75460b43b2afe11c01cc6fa241701f3d75c39574ac3ab819e2294203c418248c [2021-05-11T18:36:25.438Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-11T18:36:25.438Z] Dload Upload Total Spent Left Speed [2021-05-11T18:36:26.018Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3466 --:--:-- --:--:-- --:--:-- 3464 100 1611 0 0 100 1611 0 3465 --:--:-- --:--:-- --:--:-- 3464 [2021-05-11T18:36:26.018Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/629973d7627f15a7fab31412c44c0f27f8ca8ec6 [Pipeline] } [2021-05-11T18:36:26.046Z] 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-11T18:36:27.893Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:36:28.588Z] ---> package-listing.sh [2021-05-11T18:36:28.588Z] ++ facter osfamily [2021-05-11T18:36:28.588Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-11T18:36:28.588Z] + OS_FAMILY=redhat [2021-05-11T18:36:28.588Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-94 [2021-05-11T18:36:28.588Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-11T18:36:28.588Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-11T18:36:28.588Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-11T18:36:28.588Z] + PACKAGES=/tmp/packages_start.txt [2021-05-11T18:36:28.588Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-94 ']' [2021-05-11T18:36:28.588Z] + PACKAGES=/tmp/packages_end.txt [2021-05-11T18:36:28.588Z] + case "${OS_FAMILY}" in [2021-05-11T18:36:28.588Z] + rpm -qa [2021-05-11T18:36:28.588Z] + sort [2021-05-11T18:36:33.977Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-11T18:36:33.977Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-11T18:36:33.977Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-11T18:36:33.977Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-94 ']' [2021-05-11T18:36:33.977Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-94/archives/ [2021-05-11T18:36:33.977Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-94/archives/ [Pipeline] echo [2021-05-11T18:36:34.019Z] 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-94/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-11T18:36:34.333Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:36:34.692Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T18:36:34.692Z] [2021-05-11T18:36:34.692Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-11T18:36:35.097Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T18:36:35.097Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-11T18:36:35.097Z] df20fa9351a1: Pulling fs layer [2021-05-11T18:36:35.097Z] 36b3adc4ff6f: Pulling fs layer [2021-05-11T18:36:35.097Z] 8ad3a11d3b57: Pulling fs layer [2021-05-11T18:36:35.097Z] 46f8f816bc3b: Pulling fs layer [2021-05-11T18:36:35.097Z] 93b61091891f: Pulling fs layer [2021-05-11T18:36:35.097Z] 93b9cdb0e59b: Pulling fs layer [2021-05-11T18:36:35.097Z] 5e14af77c1be: Pulling fs layer [2021-05-11T18:36:35.097Z] 01666e4c0597: Pulling fs layer [2021-05-11T18:36:35.097Z] aa168da1d23b: Pulling fs layer [2021-05-11T18:36:35.097Z] 93b9cdb0e59b: Waiting [2021-05-11T18:36:35.097Z] 46f8f816bc3b: Waiting [2021-05-11T18:36:35.097Z] 93b61091891f: Waiting [2021-05-11T18:36:35.097Z] 5e14af77c1be: Waiting [2021-05-11T18:36:35.097Z] 01666e4c0597: Waiting [2021-05-11T18:36:35.097Z] aa168da1d23b: Waiting [2021-05-11T18:36:35.097Z] 36b3adc4ff6f: Download complete [2021-05-11T18:36:35.097Z] 46f8f816bc3b: Verifying Checksum [2021-05-11T18:36:35.097Z] 46f8f816bc3b: Download complete [2021-05-11T18:36:35.097Z] df20fa9351a1: Verifying Checksum [2021-05-11T18:36:35.097Z] df20fa9351a1: Download complete [2021-05-11T18:36:35.364Z] 93b9cdb0e59b: Verifying Checksum [2021-05-11T18:36:35.364Z] 93b9cdb0e59b: Download complete [2021-05-11T18:36:35.364Z] 5e14af77c1be: Verifying Checksum [2021-05-11T18:36:35.364Z] 5e14af77c1be: Download complete [2021-05-11T18:36:35.364Z] 93b61091891f: Download complete [2021-05-11T18:36:35.364Z] 01666e4c0597: Verifying Checksum [2021-05-11T18:36:35.364Z] 01666e4c0597: Download complete [2021-05-11T18:36:35.635Z] df20fa9351a1: Pull complete [2021-05-11T18:36:35.906Z] 8ad3a11d3b57: Verifying Checksum [2021-05-11T18:36:35.906Z] 8ad3a11d3b57: Download complete [2021-05-11T18:36:35.906Z] 36b3adc4ff6f: Pull complete [2021-05-11T18:36:36.870Z] 8ad3a11d3b57: Pull complete [2021-05-11T18:36:37.446Z] 46f8f816bc3b: Pull complete [2021-05-11T18:36:37.446Z] aa168da1d23b: Verifying Checksum [2021-05-11T18:36:37.446Z] aa168da1d23b: Download complete [2021-05-11T18:36:37.709Z] 93b61091891f: Pull complete [2021-05-11T18:36:37.971Z] 93b9cdb0e59b: Pull complete [2021-05-11T18:36:37.971Z] 5e14af77c1be: Pull complete [2021-05-11T18:36:37.971Z] 01666e4c0597: Pull complete [2021-05-11T18:36:46.165Z] aa168da1d23b: Pull complete [2021-05-11T18:36:46.166Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-11T18:36:46.166Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T18:36:46.166Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-11T18:36:46.324Z] prd-centos7-docker-4c-2g-4571 does not seem to be running inside a container [2021-05-11T18:36:46.375Z] $ 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-94/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-94 -v /w/workspace/dgexfoundry_device-rest-go_PR-94:/w/workspace/dgexfoundry_device-rest-go_PR-94:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-94@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-94@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-11T18:36:49.696Z] $ docker top 6a87bb0ffa95c1e1bd0dcca69f7f5565ab5027b5c53bb3c0f1118542a2158517 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T18:36:50.216Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-11T18:36:50.564Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-11T18:36:50.896Z] + ls /var/log/sa-host [2021-05-11T18:36:50.896Z] + sadf -c /var/log/sa-host/sa11 [2021-05-11T18:36:50.896Z] file_magic: OK [2021-05-11T18:36:50.896Z] HZ: Using current value: 100 [2021-05-11T18:36:50.896Z] file_header: OK [2021-05-11T18:36:50.896Z] 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-11T18:36:50.896Z] Statistics: [2021-05-11T18:36:50.896Z] HRHnuu...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-11T18:36:50.896Z] File successfully converted to sysstat format version 12.2.1 [2021-05-11T18:36:50.896Z] + sadf -c /var/log/sa-host/sa23 [2021-05-11T18:36:50.896Z] file_magic: OK [2021-05-11T18:36:50.896Z] HZ: Using current value: 100 [2021-05-11T18:36:50.896Z] file_header: OK [2021-05-11T18:36:50.896Z] 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-11T18:36:50.896Z] Statistics: [2021-05-11T18:36:50.896Z] Hnuu...uuuununununu... [2021-05-11T18:36:50.896Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-11T18:36:51.134Z] provisioning config files... [2021-05-11T18:36:51.149Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-94@tmp/config4117458772695553781tmp [Pipeline] { [Pipeline] echo [2021-05-11T18:36:51.219Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:36:51.552Z] ---> create-netrc.sh [Pipeline] } [2021-05-11T18:36:51.578Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-11T18:36:51.682Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:36:52.019Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-11T18:36:52.049Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:36:52.384Z] ---> sudo-logs.sh [2021-05-11T18:36:52.384Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-11T18:36:52.477Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:36:52.822Z] ---> job-cost.sh [2021-05-11T18:36:52.822Z] lf-activate-venv: SKIPPING [2021-05-11T18:36:52.822Z] DEBUG: total: 0.20999999344348907 [2021-05-11T18:36:52.822Z] INFO: Retrieving Stack Cost... [2021-05-11T18:36:54.214Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T18:36:54.478Z] INFO: Archiving Costs [Pipeline] echo [2021-05-11T18:36:54.532Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T18:36:54.910Z] ---> logs-deploy.sh [2021-05-11T18:36:54.910Z] lf-activate-venv: SKIPPING [2021-05-11T18:36:54.910Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-94/1 [2021-05-11T18:36:54.910Z] INFO: archiving workspace using pattern(s): [2021-05-11T18:36:56.837Z] Archives upload complete. [2021-05-11T18:36:56.837Z] INFO: archiving logs to Nexus