Pull request #79 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 hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 34dfda6b43d3ba6c1623e303afab23b574419b8f+8e1e7cb95d5530821e601db4473f34bcb708dd90 (c0f59e3212624a485fe2a3a130950bbfdd6b094b) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-79/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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-79/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1526 in /w/workspace/dgexfoundry_device-rest-go_PR-79 [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-79 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 8e1e7cb95d5530821e601db4473f34bcb708dd90 into PR head commit 34dfda6b43d3ba6c1623e303afab23b574419b8f Merge succeeded, producing 34dfda6b43d3ba6c1623e303afab23b574419b8f Checking out Revision 34dfda6b43d3ba6c1623e303afab23b574419b8f (PR-79) > 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/79/head:refs/remotes/origin/PR-79 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 34dfda6b43d3ba6c1623e303afab23b574419b8f # 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 8e1e7cb95d5530821e601db4473f34bcb708dd90 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 34dfda6b43d3ba6c1623e303afab23b574419b8f # timeout=10 Commit message: "build: update build files for v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-23T05:48:53.146Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-23T05:48:53.380Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-23T05:48:53.502Z] ========================================================= [2021-04-23T05:48:53.502Z] EdgeX Global Pipelines Version Info [2021-04-23T05:48:53.502Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-23T05:48:55.173Z] ------------------- [2021-04-23T05:48:55.173Z] stable info: [2021-04-23T05:48:55.173Z] ------------------- [2021-04-23T05:48:55.173Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-23T05:48:55.173Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-23T05:48:55.173Z] Message: update stable to v1.0.186 [2021-04-23T05:48:56.121Z] ------------------- [2021-04-23T05:48:56.121Z] experimental info: [2021-04-23T05:48:56.121Z] ------------------- [2021-04-23T05:48:56.121Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-23T05:48:56.121Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-23T05:48:56.121Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-23T05:48:56.346Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-04-23T05:48:56.431Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-04-23T05:48:56.507Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-23T05:48:56.576Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-23T05:48:56.635Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-23T05:48:56.693Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-23T05:48:56.763Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-23T05:48:56.828Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-23T05:48:56.890Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-23T05:48:56.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-23T05:48:57.009Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-23T05:48:57.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-04-23T05:48:57.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-23T05:48:57.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-23T05:48:57.244Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-23T05:48:57.315Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-23T05:48:57.374Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-23T05:48:57.432Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-23T05:48:57.490Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-23T05:48:57.550Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-23T05:48:57.601Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-04-23T05:48:57.657Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-04-23T05:48:57.716Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-23T05:48:57.775Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-23T05:48:57.835Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-23T05:48:57.895Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-23T05:48:57.953Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-79 [Pipeline] echo [2021-04-23T05:48:58.010Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-79 [Pipeline] echo [2021-04-23T05:48:58.087Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-79 [Pipeline] echo [2021-04-23T05:48:58.147Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 34dfda6b43d3ba6c1623e303afab23b574419b8f [Pipeline] echo [2021-04-23T05:48:58.209Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 34dfda6 [Pipeline] echo [2021-04-23T05:48:58.284Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-23T05:48:58.437Z] provisioning config files... [2021-04-23T05:48:58.467Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/config5432884500631768540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-23T05:48:58.843Z] ---> docker-login.sh [2021-04-23T05:48:58.843Z] nexus3.edgexfoundry.org:10001 [2021-04-23T05:48:59.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-23T05:48:59.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-23T05:48:59.371Z] Configure a credential helper to remove this warning. See [2021-04-23T05:48:59.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-23T05:48:59.371Z] [2021-04-23T05:48:59.371Z] Login Succeeded [2021-04-23T05:48:59.371Z] nexus3.edgexfoundry.org:10002 [2021-04-23T05:48:59.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-23T05:48:59.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-23T05:48:59.371Z] Configure a credential helper to remove this warning. See [2021-04-23T05:48:59.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-23T05:48:59.371Z] [2021-04-23T05:48:59.371Z] Login Succeeded [2021-04-23T05:48:59.371Z] nexus3.edgexfoundry.org:10003 [2021-04-23T05:48:59.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-23T05:48:59.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-23T05:48:59.633Z] Configure a credential helper to remove this warning. See [2021-04-23T05:48:59.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-23T05:48:59.633Z] [2021-04-23T05:48:59.633Z] Login Succeeded [2021-04-23T05:48:59.633Z] nexus3.edgexfoundry.org:10004 [2021-04-23T05:48:59.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-23T05:48:59.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-23T05:48:59.895Z] Configure a credential helper to remove this warning. See [2021-04-23T05:48:59.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-23T05:48:59.895Z] [2021-04-23T05:48:59.895Z] Login Succeeded [2021-04-23T05:48:59.895Z] docker.io [2021-04-23T05:48:59.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-23T05:49:00.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-23T05:49:00.473Z] Configure a credential helper to remove this warning. See [2021-04-23T05:49:00.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-23T05:49:00.473Z] [2021-04-23T05:49:00.473Z] Login Succeeded [2021-04-23T05:49:00.473Z] ---> docker-login.sh ends [Pipeline] } [2021-04-23T05:49:00.498Z] 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-04-23T05:49:01.210Z] + git log --format=format:%s -1 34dfda6b43d3ba6c1623e303afab23b574419b8f [Pipeline] echo [2021-04-23T05:49:01.308Z] GIT_COMMIT: 34dfda6b43d3ba6c1623e303afab23b574419b8f, Commit Message: build: update build files for v2 [Pipeline] echo [2021-04-23T05:49:01.344Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-23T05:49:02.356Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-23T05:49:02.356Z] [2021-04-23T05:49:02.356Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-23T05:49:02.722Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-23T05:49:02.722Z] latest: Pulling from edgex-devops/git-semver [2021-04-23T05:49:02.722Z] 31603596830f: Pulling fs layer [2021-04-23T05:49:02.722Z] 2a8b12db71e7: Pulling fs layer [2021-04-23T05:49:02.722Z] 6ca5941a6612: Pulling fs layer [2021-04-23T05:49:02.722Z] ecc8261a40a4: Pulling fs layer [2021-04-23T05:49:02.722Z] ecc8261a40a4: Waiting [2021-04-23T05:49:02.722Z] 2a8b12db71e7: Verifying Checksum [2021-04-23T05:49:02.722Z] 2a8b12db71e7: Download complete [2021-04-23T05:49:02.722Z] 31603596830f: Verifying Checksum [2021-04-23T05:49:02.722Z] 31603596830f: Download complete [2021-04-23T05:49:03.005Z] ecc8261a40a4: Download complete [2021-04-23T05:49:03.005Z] 6ca5941a6612: Verifying Checksum [2021-04-23T05:49:03.005Z] 6ca5941a6612: Download complete [2021-04-23T05:49:03.268Z] 31603596830f: Pull complete [2021-04-23T05:49:03.268Z] 2a8b12db71e7: Pull complete [2021-04-23T05:49:04.241Z] 6ca5941a6612: Pull complete [2021-04-23T05:49:04.504Z] ecc8261a40a4: Pull complete [2021-04-23T05:49:04.770Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-23T05:49:04.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-23T05:49:04.770Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-23T05:49:04.967Z] prd-centos7-docker-4c-2g-1526 does not seem to be running inside a container [2021-04-23T05:49:05.029Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-79 -v /w/workspace/dgexfoundry_device-rest-go_PR-79:/w/workspace/dgexfoundry_device-rest-go_PR-79:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-79@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-23T05:49:07.599Z] $ docker top b67b4282191aece3b4c03094b10a127ddbacfbd980a4a3a19a8e0403aff5e633 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-23T05:49:07.883Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-23T05:49:07.883Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-23T05:49:08.141Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-23T05:49:08.145Z] $ docker exec b67b4282191aece3b4c03094b10a127ddbacfbd980a4a3a19a8e0403aff5e633 ssh-agent [2021-04-23T05:49:08.358Z] SSH_AUTH_SOCK=/tmp/ssh-hOXD7aldCtgF/agent.11 [2021-04-23T05:49:08.358Z] SSH_AGENT_PID=16 [2021-04-23T05:49:08.373Z] Running ssh-add (command line suppressed) [2021-04-23T05:49:08.507Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/private_key_493403353303232712.key (/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/private_key_493403353303232712.key) [2021-04-23T05:49:08.562Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-23T05:49:08.909Z] + git tag --points-at HEAD [Pipeline] } [2021-04-23T05:49:08.937Z] $ docker exec --env ******** --env ******** b67b4282191aece3b4c03094b10a127ddbacfbd980a4a3a19a8e0403aff5e633 ssh-agent -k [2021-04-23T05:49:09.069Z] unset SSH_AUTH_SOCK; [2021-04-23T05:49:09.070Z] unset SSH_AGENT_PID; [2021-04-23T05:49:09.070Z] echo Agent pid 16 killed; [2021-04-23T05:49:09.125Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-23T05:49:09.218Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-23T05:49:09.218Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-23T05:49:09.421Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-23T05:49:09.426Z] $ docker exec b67b4282191aece3b4c03094b10a127ddbacfbd980a4a3a19a8e0403aff5e633 ssh-agent [2021-04-23T05:49:09.600Z] SSH_AUTH_SOCK=/tmp/ssh-HilKGwyEydNE/agent.46 [2021-04-23T05:49:09.600Z] SSH_AGENT_PID=52 [2021-04-23T05:49:09.608Z] Running ssh-add (command line suppressed) [2021-04-23T05:49:09.777Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/private_key_3466430308314487189.key (/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/private_key_3466430308314487189.key) [2021-04-23T05:49:09.840Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-23T05:49:10.188Z] + git semver init [2021-04-23T05:49:10.188Z] # -> Open(): unable to determine branch for HEAD [2021-04-23T05:49:10.188Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-79/.git [2021-04-23T05:49:10.188Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-79 [2021-04-23T05:49:10.188Z] # $SEMVER_REMOTE_NAME = origin [2021-04-23T05:49:10.188Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-23T05:49:10.188Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-23T05:49:10.188Z] # $SEMVER_BRANCH = PR-79 [2021-04-23T05:49:10.188Z] # $SEMVER_TEMP = /tmp/semver-269974277 [2021-04-23T05:49:10.188Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-04-23T05:49:11.587Z] # '/tmp/semver-269974277' -> '/w/workspace/dgexfoundry_device-rest-go_PR-79/.semver' [2021-04-23T05:49:11.587Z] # -> Force: false [2021-04-23T05:49:11.587Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-79/.semver [Pipeline] } [2021-04-23T05:49:11.610Z] $ docker exec --env ******** --env ******** b67b4282191aece3b4c03094b10a127ddbacfbd980a4a3a19a8e0403aff5e633 ssh-agent -k [2021-04-23T05:49:11.729Z] unset SSH_AUTH_SOCK; [2021-04-23T05:49:11.730Z] unset SSH_AGENT_PID; [2021-04-23T05:49:11.730Z] echo Agent pid 52 killed; [2021-04-23T05:49:11.777Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-23T05:49:12.234Z] + git semver [Pipeline] } [2021-04-23T05:49:12.265Z] $ docker stop --time=1 b67b4282191aece3b4c03094b10a127ddbacfbd980a4a3a19a8e0403aff5e633 [2021-04-23T05:49:13.672Z] $ docker rm -f b67b4282191aece3b4c03094b10a127ddbacfbd980a4a3a19a8e0403aff5e633 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-23T05:49:14.145Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-23T05:49:14.543Z] Stashed 1 file(s) [Pipeline] echo [2021-04-23T05:49:14.569Z] [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-04-23T05:49:30.050Z] Still waiting to schedule task [2021-04-23T05:49:30.050Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1526’ [2021-04-23T05:49:30.080Z] Still waiting to schedule task [2021-04-23T05:49:30.080Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-23T05:51:20.466Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1527 in /w/workspace/dgexfoundry_device-rest-go_PR-79 [Pipeline] { [Pipeline] ws [2021-04-23T05:51:20.529Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-04-23T05:51:25.906Z] using credential edgex-jenkins-ssh [2021-04-23T05:51:25.926Z] Cloning the remote Git repository [2021-04-23T05:51:26.017Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-04-23T05:51:26.132Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-04-23T05:51:26.200Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-23T05:51:26.201Z] > git --version # timeout=10 [2021-04-23T05:51:26.214Z] > git --version # 'git version 2.17.1' [2021-04-23T05:51:26.215Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-23T05:51:26.298Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-23T05:51:27.813Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-23T05:51:27.831Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-23T05:51:27.856Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-23T05:51:27.893Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-23T05:51:27.894Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-23T05:51:27.914Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/79/head:refs/remotes/origin/PR-79 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-23T05:51:28.450Z] Merging remotes/origin/master commit 8e1e7cb95d5530821e601db4473f34bcb708dd90 into PR head commit 34dfda6b43d3ba6c1623e303afab23b574419b8f [2021-04-23T05:51:28.643Z] Merge succeeded, producing 34dfda6b43d3ba6c1623e303afab23b574419b8f [2021-04-23T05:51:28.644Z] Checking out Revision 34dfda6b43d3ba6c1623e303afab23b574419b8f (PR-79) [2021-04-23T05:51:28.473Z] > git config core.sparsecheckout # timeout=10 [2021-04-23T05:51:28.492Z] > git checkout -f 34dfda6b43d3ba6c1623e303afab23b574419b8f # timeout=10 [2021-04-23T05:51:28.569Z] > git remote # timeout=10 [2021-04-23T05:51:28.586Z] > git config --get remote.origin.url # timeout=10 [2021-04-23T05:51:28.601Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-23T05:51:28.612Z] > git merge 8e1e7cb95d5530821e601db4473f34bcb708dd90 # timeout=10 [2021-04-23T05:51:28.631Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-23T05:51:28.653Z] > git config core.sparsecheckout # timeout=10 [2021-04-23T05:51:28.674Z] > git checkout -f 34dfda6b43d3ba6c1623e303afab23b574419b8f # timeout=10 [2021-04-23T05:51:32.892Z] Commit message: "build: update build files for v2" [2021-04-23T05:51:32.958Z] > git --version # timeout=10 [2021-04-23T05:51:32.971Z] > git --version # 'git version 2.17.1' [2021-04-23T05:51:32.990Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-23T05:51:34.775Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-23T05:51:35.201Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-23T05:51:35.555Z] + + sudo servicetrue docker [2021-04-23T05:51:35.555Z] restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-23T05:51:38.294Z] provisioning config files... [2021-04-23T05:51:38.339Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config6619295227641676554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-23T05:51:38.765Z] ---> docker-login.sh [2021-04-23T05:51:38.765Z] nexus3.edgexfoundry.org:10001 [2021-04-23T05:51:39.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-23T05:51:40.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-23T05:51:40.032Z] Configure a credential helper to remove this warning. See [2021-04-23T05:51:40.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-23T05:51:40.032Z] [2021-04-23T05:51:40.032Z] Login Succeeded [2021-04-23T05:51:40.032Z] nexus3.edgexfoundry.org:10002 [2021-04-23T05:51:40.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-23T05:51:40.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-23T05:51:40.584Z] Configure a credential helper to remove this warning. See [2021-04-23T05:51:40.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-23T05:51:40.584Z] [2021-04-23T05:51:40.584Z] Login Succeeded [2021-04-23T05:51:40.584Z] nexus3.edgexfoundry.org:10003 [2021-04-23T05:51:40.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-23T05:51:41.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-23T05:51:41.132Z] Configure a credential helper to remove this warning. See [2021-04-23T05:51:41.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-23T05:51:41.132Z] [2021-04-23T05:51:41.132Z] Login Succeeded [2021-04-23T05:51:41.132Z] nexus3.edgexfoundry.org:10004 [2021-04-23T05:51:41.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-23T05:51:41.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-23T05:51:41.681Z] Configure a credential helper to remove this warning. See [2021-04-23T05:51:41.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-23T05:51:41.681Z] [2021-04-23T05:51:41.681Z] Login Succeeded [2021-04-23T05:51:41.681Z] docker.io [2021-04-23T05:51:41.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-23T05:51:42.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-23T05:51:42.245Z] Configure a credential helper to remove this warning. See [2021-04-23T05:51:42.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-23T05:51:42.245Z] [2021-04-23T05:51:42.245Z] Login Succeeded [2021-04-23T05:51:42.245Z] ---> docker-login.sh ends [Pipeline] } [2021-04-23T05:51:42.276Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-23T05:51:42.706Z] ========================================================= [2021-04-23T05:51:42.706Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-23T05:51:42.706Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-23T05:51:43.094Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-23T05:51:43.094Z] Sending build context to Docker daemon 93.18kB [2021-04-23T05:51:43.369Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-04-23T05:51:43.369Z] Step 2/10 : FROM ${BASE} [2021-04-23T05:51:43.641Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-23T05:51:43.642Z] 5f621e34cdf4: Pulling fs layer [2021-04-23T05:51:43.642Z] a4357932f1b6: Pulling fs layer [2021-04-23T05:51:43.642Z] 18c013af1878: Pulling fs layer [2021-04-23T05:51:43.642Z] 00ac8860ef70: Pulling fs layer [2021-04-23T05:51:43.642Z] 63d7cb157983: Pulling fs layer [2021-04-23T05:51:43.642Z] b116817d02f9: Pulling fs layer [2021-04-23T05:51:43.642Z] 745a02a5169b: Pulling fs layer [2021-04-23T05:51:43.642Z] b116817d02f9: Waiting [2021-04-23T05:51:43.642Z] 745a02a5169b: Waiting [2021-04-23T05:51:43.642Z] 00ac8860ef70: Waiting [2021-04-23T05:51:43.642Z] 63d7cb157983: Waiting [2021-04-23T05:51:43.642Z] 18c013af1878: Verifying Checksum [2021-04-23T05:51:43.642Z] 18c013af1878: Download complete [2021-04-23T05:51:43.642Z] a4357932f1b6: Verifying Checksum [2021-04-23T05:51:43.642Z] a4357932f1b6: Download complete [2021-04-23T05:51:43.642Z] 63d7cb157983: Verifying Checksum [2021-04-23T05:51:43.642Z] 63d7cb157983: Download complete [2021-04-23T05:51:43.642Z] b116817d02f9: Download complete [2021-04-23T05:51:43.642Z] 5f621e34cdf4: Verifying Checksum [2021-04-23T05:51:43.642Z] 5f621e34cdf4: Download complete [2021-04-23T05:51:44.250Z] 5f621e34cdf4: Pull complete [2021-04-23T05:51:44.861Z] a4357932f1b6: Pull complete [2021-04-23T05:51:45.156Z] 18c013af1878: Pull complete [2021-04-23T05:51:46.135Z] 745a02a5169b: Verifying Checksum [2021-04-23T05:51:46.135Z] 745a02a5169b: Download complete [2021-04-23T05:51:47.568Z] 00ac8860ef70: Verifying Checksum [2021-04-23T05:51:47.568Z] 00ac8860ef70: Download complete [2021-04-23T05:51:57.738Z] 00ac8860ef70: Pull complete [2021-04-23T05:51:57.738Z] 63d7cb157983: Pull complete [2021-04-23T05:51:58.012Z] b116817d02f9: Pull complete [2021-04-23T05:52:02.336Z] 745a02a5169b: Pull complete [2021-04-23T05:52:02.336Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-23T05:52:02.336Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-23T05:52:02.336Z] ---> b7e6874047d6 [2021-04-23T05:52:02.336Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-23T05:52:04.953Z] ---> Running in 123dfa3a188e [2021-04-23T05:52:04.953Z] Removing intermediate container 123dfa3a188e [2021-04-23T05:52:04.953Z] ---> 37847d2bdc25 [2021-04-23T05:52:04.953Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-04-23T05:52:05.226Z] ---> Running in 89727767a26f [2021-04-23T05:52:05.500Z] Removing intermediate container 89727767a26f [2021-04-23T05:52:05.500Z] ---> c586634b8890 [2021-04-23T05:52:05.500Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-23T05:52:05.774Z] ---> Running in 0ad556a20d62 [2021-04-23T05:52:06.049Z] Removing intermediate container 0ad556a20d62 [2021-04-23T05:52:06.049Z] ---> 3cdd12910f38 [2021-04-23T05:52:06.049Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-23T05:52:06.326Z] ---> Running in b050067d014e [2021-04-23T05:52:08.968Z] Removing intermediate container b050067d014e [2021-04-23T05:52:08.968Z] ---> 74fc25214f4f [2021-04-23T05:52:08.968Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-23T05:52:08.968Z] ---> Running in e10ea41c84d2 [2021-04-23T05:52:09.950Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-23T05:52:10.545Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-23T05:52:11.520Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-04-23T05:52:11.520Z] (2/9) Installing libsodium (1.0.18-r0) [2021-04-23T05:52:11.520Z] (3/9) Installing pkgconf (1.7.2-r0) [2021-04-23T05:52:11.520Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-04-23T05:52:11.792Z] (5/9) Installing openssh-keygen (8.3_p1-r2) [2021-04-23T05:52:11.792Z] (6/9) Installing libedit (20191231.3.1-r0) [2021-04-23T05:52:12.066Z] (7/9) Installing openssh-client (8.3_p1-r2) [2021-04-23T05:52:12.342Z] (8/9) Installing libzmq (4.3.3-r0) [2021-04-23T05:52:12.342Z] (9/9) Installing zeromq-dev (4.3.3-r0) [2021-04-23T05:52:12.617Z] Executing busybox-1.31.1-r19.trigger [2021-04-23T05:52:12.617Z] OK: 148 MiB in 48 packages [2021-04-23T05:52:14.055Z] Removing intermediate container e10ea41c84d2 [2021-04-23T05:52:14.055Z] ---> 33749ce0fb77 [2021-04-23T05:52:14.055Z] Step 8/10 : WORKDIR /device-rest-go [2021-04-23T05:52:14.055Z] ---> Running in 8383fe0e2e6a [2021-04-23T05:52:14.669Z] Removing intermediate container 8383fe0e2e6a [2021-04-23T05:52:14.669Z] ---> f38157b6b930 [2021-04-23T05:52:14.669Z] Step 9/10 : COPY . . [2021-04-23T05:52:15.273Z] ---> ed5940c7fe08 [2021-04-23T05:52:15.273Z] Step 10/10 : RUN go mod download [2021-04-23T05:52:15.547Z] ---> Running in 55f081debea1 [2021-04-23T05:52:42.353Z] Removing intermediate container 55f081debea1 [2021-04-23T05:52:42.353Z] ---> 56879f7d11ea [2021-04-23T05:52:42.353Z] Successfully built 56879f7d11ea [2021-04-23T05:52:42.353Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-23T05:52:42.775Z] + docker inspect -f . ci-base-image-arm64 [2021-04-23T05:52:42.775Z] . [Pipeline] withDockerContainer [2021-04-23T05:52:43.073Z] prd-ubuntu18.04-docker-arm64-4c-16g-1527 does not seem to be running inside a container [2021-04-23T05:52:43.126Z] Running on prd-centos7-docker-4c-2g-1528 in /w/workspace/dgexfoundry_device-rest-go_PR-79 [2021-04-23T05:52:43.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-23T05:52:44.709Z] $ docker top 7edcca444de04531694d8c04cb7c3be150e86b5c7e89528a6e8e8a7628d9dfae -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws [2021-04-23T05:52:45.210Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-04-23T05:52:45.767Z] + go version [2021-04-23T05:52:45.767Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-23T05:52:45.808Z] $ docker stop --time=1 7edcca444de04531694d8c04cb7c3be150e86b5c7e89528a6e8e8a7628d9dfae [2021-04-23T05:52:47.725Z] $ docker rm -f 7edcca444de04531694d8c04cb7c3be150e86b5c7e89528a6e8e8a7628d9dfae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-23T05:52:48.673Z] + docker inspect -f . ci-base-image-arm64 [2021-04-23T05:52:48.673Z] . [Pipeline] withDockerContainer [2021-04-23T05:52:48.985Z] prd-ubuntu18.04-docker-arm64-4c-16g-1527 does not seem to be running inside a container [2021-04-23T05:52:49.070Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-23T05:52:50.508Z] $ docker top ff5e4b360d6c28d6a826c2bedae016eded1b8e8187b89778946089da7b2b3316 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-23T05:52:51.463Z] + make test [2021-04-23T05:52:51.464Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-04-23T05:52:52.896Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-04-23T05:52:54.559Z] using credential edgex-jenkins-ssh [2021-04-23T05:52:54.575Z] Cloning the remote Git repository [2021-04-23T05:52:54.605Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-04-23T05:52:54.690Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-04-23T05:52:55.065Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-23T05:52:55.065Z] > git --version # timeout=10 [2021-04-23T05:52:55.119Z] > git --version # 'git version 2.24.3' [2021-04-23T05:52:55.120Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-23T05:52:55.199Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-23T05:52:57.010Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-23T05:52:57.023Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-23T05:52:57.036Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-23T05:52:57.066Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-23T05:52:57.067Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-23T05:52:57.075Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/79/head:refs/remotes/origin/PR-79 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-23T05:52:57.511Z] Merging remotes/origin/master commit 8e1e7cb95d5530821e601db4473f34bcb708dd90 into PR head commit 34dfda6b43d3ba6c1623e303afab23b574419b8f [2021-04-23T05:52:57.677Z] Merge succeeded, producing 34dfda6b43d3ba6c1623e303afab23b574419b8f [2021-04-23T05:52:57.677Z] Checking out Revision 34dfda6b43d3ba6c1623e303afab23b574419b8f (PR-79) [2021-04-23T05:52:57.524Z] > git config core.sparsecheckout # timeout=10 [2021-04-23T05:52:57.537Z] > git checkout -f 34dfda6b43d3ba6c1623e303afab23b574419b8f # timeout=10 [2021-04-23T05:52:57.634Z] > git remote # timeout=10 [2021-04-23T05:52:57.643Z] > git config --get remote.origin.url # timeout=10 [2021-04-23T05:52:57.652Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-23T05:52:57.657Z] > git merge 8e1e7cb95d5530821e601db4473f34bcb708dd90 # timeout=10 [2021-04-23T05:52:57.670Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-23T05:52:57.682Z] > git config core.sparsecheckout # timeout=10 [2021-04-23T05:52:57.691Z] > git checkout -f 34dfda6b43d3ba6c1623e303afab23b574419b8f # timeout=10 [2021-04-23T05:53:02.444Z] Commit message: "build: update build files for v2" [2021-04-23T05:53:02.564Z] > git --version # timeout=10 [2021-04-23T05:53:02.576Z] > git --version # 'git version 2.24.3' [2021-04-23T05:53:02.586Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-23T05:53:04.394Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-23T05:53:04.763Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-23T05:53:05.094Z] + sudo service docker restart [2021-04-23T05:53:05.094Z] + true [2021-04-23T05:53:05.094Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-23T05:53:07.216Z] provisioning config files... [2021-04-23T05:53:07.264Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2367931722135457593tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-23T05:53:07.809Z] ---> docker-login.sh [2021-04-23T05:53:07.809Z] nexus3.edgexfoundry.org:10001 [2021-04-23T05:53:08.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-23T05:53:09.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-23T05:53:09.160Z] Configure a credential helper to remove this warning. See [2021-04-23T05:53:09.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-23T05:53:09.160Z] [2021-04-23T05:53:09.160Z] Login Succeeded [2021-04-23T05:53:09.160Z] nexus3.edgexfoundry.org:10002 [2021-04-23T05:53:09.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-23T05:53:09.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-23T05:53:09.788Z] Configure a credential helper to remove this warning. See [2021-04-23T05:53:09.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-23T05:53:09.788Z] [2021-04-23T05:53:09.788Z] Login Succeeded [2021-04-23T05:53:10.092Z] nexus3.edgexfoundry.org:10003 [2021-04-23T05:53:10.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-23T05:53:10.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-23T05:53:10.366Z] Configure a credential helper to remove this warning. See [2021-04-23T05:53:10.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-23T05:53:10.366Z] [2021-04-23T05:53:10.366Z] Login Succeeded [2021-04-23T05:53:10.366Z] nexus3.edgexfoundry.org:10004 [2021-04-23T05:53:11.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-23T05:53:11.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-23T05:53:11.450Z] Configure a credential helper to remove this warning. See [2021-04-23T05:53:11.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-23T05:53:11.450Z] [2021-04-23T05:53:11.450Z] Login Succeeded [2021-04-23T05:53:11.450Z] docker.io [2021-04-23T05:53:11.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-23T05:53:12.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-23T05:53:12.063Z] Configure a credential helper to remove this warning. See [2021-04-23T05:53:12.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-23T05:53:12.063Z] [2021-04-23T05:53:12.063Z] Login Succeeded [2021-04-23T05:53:12.063Z] ---> docker-login.sh ends [Pipeline] } [2021-04-23T05:53:12.091Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-23T05:53:12.497Z] ========================================================= [2021-04-23T05:53:12.497Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-23T05:53:12.497Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-23T05:53:12.879Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-23T05:53:12.879Z] Sending build context to Docker daemon 93.18kB [2021-04-23T05:53:13.146Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-04-23T05:53:13.146Z] Step 2/10 : FROM ${BASE} [2021-04-23T05:53:13.146Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-23T05:53:13.146Z] 188c0c94c7c5: Pulling fs layer [2021-04-23T05:53:13.146Z] 0ef7d3d256c8: Pulling fs layer [2021-04-23T05:53:13.146Z] de9db76c5a1d: Pulling fs layer [2021-04-23T05:53:13.146Z] bca2f99d35d6: Pulling fs layer [2021-04-23T05:53:13.146Z] 93359f2a8cfa: Pulling fs layer [2021-04-23T05:53:13.146Z] 7c6f9722023f: Pulling fs layer [2021-04-23T05:53:13.146Z] a35cf1a2eb13: Pulling fs layer [2021-04-23T05:53:13.146Z] bca2f99d35d6: Waiting [2021-04-23T05:53:13.146Z] 93359f2a8cfa: Waiting [2021-04-23T05:53:13.146Z] 7c6f9722023f: Waiting [2021-04-23T05:53:13.146Z] a35cf1a2eb13: Waiting [2021-04-23T05:53:13.146Z] de9db76c5a1d: Verifying Checksum [2021-04-23T05:53:13.146Z] de9db76c5a1d: Download complete [2021-04-23T05:53:13.146Z] 0ef7d3d256c8: Download complete [2021-04-23T05:53:13.146Z] 93359f2a8cfa: Download complete [2021-04-23T05:53:13.146Z] 188c0c94c7c5: Verifying Checksum [2021-04-23T05:53:13.146Z] 7c6f9722023f: Verifying Checksum [2021-04-23T05:53:13.146Z] 7c6f9722023f: Download complete [2021-04-23T05:53:13.729Z] 188c0c94c7c5: Pull complete [2021-04-23T05:53:13.729Z] 0ef7d3d256c8: Pull complete [2021-04-23T05:53:13.995Z] de9db76c5a1d: Pull complete [2021-04-23T05:53:15.967Z] a35cf1a2eb13: Verifying Checksum [2021-04-23T05:53:15.967Z] a35cf1a2eb13: Download complete [2021-04-23T05:53:16.553Z] bca2f99d35d6: Verifying Checksum [2021-04-23T05:53:16.553Z] bca2f99d35d6: Download complete [2021-04-23T05:53:29.210Z] bca2f99d35d6: Pull complete [2021-04-23T05:53:29.210Z] 93359f2a8cfa: Pull complete [2021-04-23T05:53:29.210Z] 7c6f9722023f: Pull complete [2021-04-23T05:53:35.957Z] a35cf1a2eb13: Pull complete [2021-04-23T05:53:35.957Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-23T05:53:35.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-23T05:53:35.957Z] ---> a62c8e92a672 [2021-04-23T05:53:35.957Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-23T05:53:35.957Z] ---> Running in 6e00a459d2b6 [2021-04-23T05:53:35.957Z] Removing intermediate container 6e00a459d2b6 [2021-04-23T05:53:35.957Z] ---> c25df661ae3e [2021-04-23T05:53:35.957Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-04-23T05:53:36.544Z] ---> Running in 45d3e3f2f360 [2021-04-23T05:53:36.821Z] Removing intermediate container 45d3e3f2f360 [2021-04-23T05:53:36.821Z] ---> 99ac2b110edd [2021-04-23T05:53:36.821Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-23T05:53:36.821Z] ---> Running in 915ef8671cc0 [2021-04-23T05:53:37.489Z] Removing intermediate container 915ef8671cc0 [2021-04-23T05:53:37.489Z] ---> d0c0353f8fe7 [2021-04-23T05:53:37.489Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-23T05:53:37.489Z] ---> Running in d838249a833f [2021-04-23T05:53:39.499Z] Removing intermediate container d838249a833f [2021-04-23T05:53:39.499Z] ---> 09cec10a6221 [2021-04-23T05:53:39.499Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-23T05:53:39.859Z] ---> Running in 929f2076b413 [2021-04-23T05:53:39.947Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-04-23T05:53:39.947Z] ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 54.0% of statements [2021-04-23T05:53:39.947Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-23T05:53:40.875Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-23T05:53:41.458Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-23T05:53:41.728Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-04-23T05:53:41.728Z] (2/9) Installing libsodium (1.0.18-r0) [2021-04-23T05:53:41.999Z] (3/9) Installing pkgconf (1.7.2-r0) [2021-04-23T05:53:41.999Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-04-23T05:53:41.999Z] (5/9) Installing openssh-keygen (8.3_p1-r2) [2021-04-23T05:53:42.293Z] (6/9) Installing libedit (20191231.3.1-r0) [2021-04-23T05:53:42.293Z] (7/9) Installing openssh-client (8.3_p1-r2) [2021-04-23T05:53:42.579Z] (8/9) Installing libzmq (4.3.3-r0) [2021-04-23T05:53:43.073Z] (9/9) Installing zeromq-dev (4.3.3-r0) [2021-04-23T05:53:43.073Z] Executing busybox-1.31.1-r19.trigger [2021-04-23T05:53:43.073Z] OK: 171 MiB in 48 packages [2021-04-23T05:53:44.294Z] Removing intermediate container 929f2076b413 [2021-04-23T05:53:44.294Z] ---> 9d94f47202ea [2021-04-23T05:53:44.294Z] Step 8/10 : WORKDIR /device-rest-go [2021-04-23T05:53:44.294Z] ---> Running in 38abe99a954c [2021-04-23T05:53:44.561Z] Removing intermediate container 38abe99a954c [2021-04-23T05:53:44.561Z] ---> 9a8c73ffdbfd [2021-04-23T05:53:44.561Z] Step 9/10 : COPY . . [2021-04-23T05:53:44.850Z] ---> 6640e374ffca [2021-04-23T05:53:44.850Z] Step 10/10 : RUN go mod download [2021-04-23T05:53:44.850Z] ---> Running in 68bff750863e [2021-04-23T05:53:46.707Z] gofmt -l . [2021-04-23T05:53:46.707Z] [ "`gofmt -l .`" = "" ] [2021-04-23T05:53:46.707Z] ./bin/test-go-mod-tidy.sh [2021-04-23T05:53:47.314Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-04-23T05:53:48.790Z] $ docker stop --time=1 ff5e4b360d6c28d6a826c2bedae016eded1b8e8187b89778946089da7b2b3316 [2021-04-23T05:53:51.026Z] $ docker rm -f ff5e4b360d6c28d6a826c2bedae016eded1b8e8187b89778946089da7b2b3316 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-23T05:53:51.951Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-23T05:53:52.796Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-23T05:53:55.570Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-23T05:53:55.944Z] + ls -al . [2021-04-23T05:53:55.944Z] total 132 [2021-04-23T05:53:55.944Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 23 05:53 . [2021-04-23T05:53:55.944Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 23 05:51 .. [2021-04-23T05:53:55.944Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 23 05:51 .dockerignore [2021-04-23T05:53:55.944Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 23 05:51 .git [2021-04-23T05:53:55.944Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 23 05:51 .github [2021-04-23T05:53:55.944Z] -rw-rw-r-- 1 jenkins jenkins 339 Apr 23 05:51 .gitignore [2021-04-23T05:53:55.944Z] -rw-rw-r-- 1 jenkins jenkins 6792 Apr 23 05:51 Attribution.txt [2021-04-23T05:53:55.944Z] -rw-rw-r-- 1 jenkins jenkins 1602 Apr 23 05:51 Dockerfile [2021-04-23T05:53:55.944Z] -rw-rw-r-- 1 jenkins jenkins 1087 Apr 23 05:51 Dockerfile.build [2021-04-23T05:53:55.944Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 23 05:51 Jenkinsfile [2021-04-23T05:53:55.944Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 23 05:51 LICENSE [2021-04-23T05:53:55.944Z] -rw-rw-r-- 1 jenkins jenkins 996 Apr 23 05:51 Makefile [2021-04-23T05:53:55.944Z] -rw-rw-r-- 1 jenkins jenkins 7667 Apr 23 05:51 README.md [2021-04-23T05:53:55.944Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 23 05:49 VERSION [2021-04-23T05:53:55.944Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 23 05:51 bin [2021-04-23T05:53:55.944Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 23 05:51 cmd [2021-04-23T05:53:55.944Z] -rw-r--r-- 1 jenkins jenkins 8513 Apr 23 05:53 coverage.out [2021-04-23T05:53:55.944Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 23 05:51 driver [2021-04-23T05:53:55.944Z] -rw-r--r-- 1 jenkins jenkins 285 Apr 23 05:53 go.mod [2021-04-23T05:53:55.944Z] -rw-r--r-- 1 jenkins jenkins 21331 Apr 23 05:53 go.sum [2021-04-23T05:53:55.944Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 23 05:51 snap [2021-04-23T05:53:55.944Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 23 05:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-23T05:53:56.358Z] + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=34dfda6b43d3ba6c1623e303afab23b574419b8f --label arch=arm64 --label version=0.0.0 . [2021-04-23T05:53:56.358Z] Sending build context to Docker daemon 102.9kB [2021-04-23T05:53:56.661Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-04-23T05:53:56.661Z] Step 2/24 : FROM ${BASE} AS builder [2021-04-23T05:53:56.661Z] ---> 56879f7d11ea [2021-04-23T05:53:56.661Z] Step 3/24 : ARG MAKE='make build' [2021-04-23T05:53:56.955Z] ---> Running in 7cd4f9e6e12f [2021-04-23T05:53:57.551Z] Removing intermediate container 7cd4f9e6e12f [2021-04-23T05:53:57.551Z] ---> 69c79416e989 [2021-04-23T05:53:57.551Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-23T05:53:57.551Z] ---> Running in ae8377105b94 [2021-04-23T05:53:58.146Z] Removing intermediate container ae8377105b94 [2021-04-23T05:53:58.146Z] ---> 044df720502a [2021-04-23T05:53:58.146Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-04-23T05:53:58.146Z] ---> Running in 007b536c46ce [2021-04-23T05:53:58.740Z] Removing intermediate container 007b536c46ce [2021-04-23T05:53:58.740Z] ---> 378efc866046 [2021-04-23T05:53:58.740Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-23T05:53:58.740Z] ---> Running in 32f640f1b095 [2021-04-23T05:54:01.357Z] Removing intermediate container 32f640f1b095 [2021-04-23T05:54:01.357Z] ---> e5283fd48d44 [2021-04-23T05:54:01.357Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-23T05:54:01.357Z] ---> Running in aa1eb020fded [2021-04-23T05:54:02.356Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-23T05:54:02.950Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-23T05:54:03.930Z] OK: 148 MiB in 48 packages [2021-04-23T05:54:04.922Z] Removing intermediate container aa1eb020fded [2021-04-23T05:54:04.922Z] ---> 8078561b1e7f [2021-04-23T05:54:04.922Z] Step 8/24 : WORKDIR /device-rest-go [2021-04-23T05:54:05.197Z] ---> Running in d3f1a686b1e0 [2021-04-23T05:54:05.794Z] Removing intermediate container d3f1a686b1e0 [2021-04-23T05:54:05.794Z] ---> 0c98baecc874 [2021-04-23T05:54:05.794Z] Step 9/24 : COPY . . [2021-04-23T05:54:06.403Z] ---> 17598e4db7f7 [2021-04-23T05:54:06.403Z] Step 10/24 : RUN make update [2021-04-23T05:54:06.678Z] ---> Running in 962722ac3b92 [2021-04-23T05:54:07.658Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-04-23T05:54:09.096Z] Removing intermediate container 962722ac3b92 [2021-04-23T05:54:09.096Z] ---> 284b1621b395 [2021-04-23T05:54:09.096Z] Step 11/24 : RUN $MAKE [2021-04-23T05:54:09.096Z] ---> Running in ad85266acc5d [2021-04-23T05:54:10.085Z] 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-04-23T05:54:17.436Z] Removing intermediate container 68bff750863e [2021-04-23T05:54:17.436Z] ---> fa570888d1c7 [2021-04-23T05:54:17.436Z] Successfully built fa570888d1c7 [2021-04-23T05:54:17.436Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-23T05:54:17.812Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-23T05:54:18.079Z] . [Pipeline] withDockerContainer [2021-04-23T05:54:18.237Z] prd-centos7-docker-4c-2g-1528 does not seem to be running inside a container [2021-04-23T05:54:18.324Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-23T05:54:19.522Z] $ docker top b94ebca912965c4223e1429672bffcc24081907747c5d91b3f7c41c1262a1399 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-23T05:54:20.155Z] + go version [2021-04-23T05:54:20.155Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-23T05:54:20.225Z] $ docker stop --time=1 b94ebca912965c4223e1429672bffcc24081907747c5d91b3f7c41c1262a1399 [2021-04-23T05:54:21.697Z] $ docker rm -f b94ebca912965c4223e1429672bffcc24081907747c5d91b3f7c41c1262a1399 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-23T05:54:22.638Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-23T05:54:22.638Z] . [Pipeline] withDockerContainer [2021-04-23T05:54:22.783Z] prd-centos7-docker-4c-2g-1528 does not seem to be running inside a container [2021-04-23T05:54:22.856Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-23T05:54:23.976Z] $ docker top 95bfc4f62de2cdf47a6e55f4adc77f3ac0e8688bee46da4951af16f5fbbe691b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-23T05:54:24.475Z] + make test [2021-04-23T05:54:24.475Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-04-23T05:54:26.523Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-04-23T05:54:49.109Z] Removing intermediate container ad85266acc5d [2021-04-23T05:54:49.109Z] ---> 90fff9cfa548 [2021-04-23T05:54:49.109Z] Step 12/24 : FROM alpine:3.12 [2021-04-23T05:54:49.109Z] 3.12: Pulling from library/alpine [2021-04-23T05:54:49.109Z] d2f70382dc9a: Pulling fs layer [2021-04-23T05:54:49.109Z] d2f70382dc9a: Verifying Checksum [2021-04-23T05:54:49.109Z] d2f70382dc9a: Download complete [2021-04-23T05:54:49.109Z] d2f70382dc9a: Pull complete [2021-04-23T05:54:49.109Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-23T05:54:49.109Z] Status: Downloaded newer image for alpine:3.12 [2021-04-23T05:54:49.109Z] ---> 9852663dfa18 [2021-04-23T05:54:49.109Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-23T05:54:49.109Z] ---> Running in 43a4f93ae798 [2021-04-23T05:54:49.109Z] Removing intermediate container 43a4f93ae798 [2021-04-23T05:54:49.109Z] ---> 9ba63ccb83d8 [2021-04-23T05:54:49.109Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-04-23T05:54:49.109Z] ---> Running in 8ab2026ceecc [2021-04-23T05:54:49.109Z] Removing intermediate container 8ab2026ceecc [2021-04-23T05:54:49.109Z] ---> ca5fe5a15c38 [2021-04-23T05:54:49.109Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-23T05:54:49.109Z] ---> Running in 64d9921597c4 [2021-04-23T05:54:49.709Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-23T05:54:49.983Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-23T05:54:50.257Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-23T05:54:50.532Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-23T05:54:50.532Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-23T05:54:50.532Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-23T05:54:50.532Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-23T05:54:50.532Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-23T05:54:50.532Z] Executing busybox-1.31.1-r20.trigger [2021-04-23T05:54:50.532Z] OK: 8 MiB in 20 packages [2021-04-23T05:54:51.967Z] Removing intermediate container 64d9921597c4 [2021-04-23T05:54:51.967Z] ---> cf2e2a81a007 [2021-04-23T05:54:51.967Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-04-23T05:54:53.398Z] ---> a462f27a6d8f [2021-04-23T05:54:53.398Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-04-23T05:54:53.607Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-04-23T05:54:53.607Z] ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 54.0% of statements [2021-04-23T05:54:53.607Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-23T05:54:53.990Z] ---> f73f98d4f2e7 [2021-04-23T05:54:53.990Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-04-23T05:54:54.586Z] ---> 5020d6686e9d [2021-04-23T05:54:54.586Z] Step 19/24 : EXPOSE 49986 [2021-04-23T05:54:54.858Z] ---> Running in 623f7a6913f8 [2021-04-23T05:54:55.452Z] Removing intermediate container 623f7a6913f8 [2021-04-23T05:54:55.452Z] ---> 4e836f807efb [2021-04-23T05:54:55.452Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-04-23T05:54:55.452Z] ---> Running in a8b55f7967a4 [2021-04-23T05:54:56.046Z] Removing intermediate container a8b55f7967a4 [2021-04-23T05:54:56.046Z] ---> 086c1997c18e [2021-04-23T05:54:56.046Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-04-23T05:54:56.046Z] ---> Running in e9c79c542dee [2021-04-23T05:54:56.638Z] Removing intermediate container e9c79c542dee [2021-04-23T05:54:56.638Z] ---> 062af54a1a07 [2021-04-23T05:54:56.638Z] Step 22/24 : LABEL arch=arm64 [2021-04-23T05:54:56.638Z] ---> Running in 894f693d9753 [2021-04-23T05:54:56.911Z] Removing intermediate container 894f693d9753 [2021-04-23T05:54:56.911Z] ---> 9ec95668a54a [2021-04-23T05:54:56.911Z] Step 23/24 : LABEL git_sha=34dfda6b43d3ba6c1623e303afab23b574419b8f [2021-04-23T05:54:57.188Z] ---> Running in eb25b99ff91e [2021-04-23T05:54:57.784Z] Removing intermediate container eb25b99ff91e [2021-04-23T05:54:57.784Z] ---> 287354e9ca9e [2021-04-23T05:54:57.784Z] Step 24/24 : LABEL version=0.0.0 [2021-04-23T05:54:57.784Z] ---> Running in ec650dd5f605 [2021-04-23T05:54:58.377Z] Removing intermediate container ec650dd5f605 [2021-04-23T05:54:58.377Z] ---> f3895520040c [2021-04-23T05:54:58.377Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-23T05:54:58.377Z] Successfully built f3895520040c [2021-04-23T05:54:58.377Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-23T05:54:59.152Z] gofmt -l . [2021-04-23T05:54:59.152Z] [ "`gofmt -l .`" = "" ] [2021-04-23T05:54:59.152Z] ./bin/test-go-mod-tidy.sh [2021-04-23T05:54:59.278Z] ---> job-cost.sh [2021-04-23T05:54:59.278Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tn9H [2021-04-23T05:55:00.590Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-04-23T05:55:01.206Z] $ docker stop --time=1 95bfc4f62de2cdf47a6e55f4adc77f3ac0e8688bee46da4951af16f5fbbe691b [2021-04-23T05:55:02.992Z] $ docker rm -f 95bfc4f62de2cdf47a6e55f4adc77f3ac0e8688bee46da4951af16f5fbbe691b [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-23T05:55:03.677Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-23T05:55:03.727Z] Warning: overwriting stash ‘coverage-report’ [2021-04-23T05:55:04.640Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-23T05:55:05.228Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-23T05:55:05.572Z] + ls -al . [2021-04-23T05:55:05.572Z] total 104 [2021-04-23T05:55:05.572Z] drwxrwxr-x. 8 jenkins jenkins 4096 Apr 23 05:55 . [2021-04-23T05:55:05.572Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 23 05:52 .. [2021-04-23T05:55:05.572Z] -rw-rw-r--. 1 jenkins jenkins 6792 Apr 23 05:52 Attribution.txt [2021-04-23T05:55:05.572Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 23 05:52 bin [2021-04-23T05:55:05.572Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 23 05:52 cmd [2021-04-23T05:55:05.572Z] -rw-r--r--. 1 jenkins jenkins 8513 Apr 23 05:54 coverage.out [2021-04-23T05:55:05.572Z] -rw-rw-r--. 1 jenkins jenkins 1602 Apr 23 05:52 Dockerfile [2021-04-23T05:55:05.572Z] -rw-rw-r--. 1 jenkins jenkins 1087 Apr 23 05:52 Dockerfile.build [2021-04-23T05:55:05.572Z] -rw-rw-r--. 1 jenkins jenkins 151 Apr 23 05:52 .dockerignore [2021-04-23T05:55:05.572Z] drwxrwxr-x. 2 jenkins jenkins 76 Apr 23 05:52 driver [2021-04-23T05:55:05.572Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 23 05:53 .git [2021-04-23T05:55:05.572Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 23 05:52 .github [2021-04-23T05:55:05.572Z] -rw-rw-r--. 1 jenkins jenkins 339 Apr 23 05:52 .gitignore [2021-04-23T05:55:05.572Z] -rw-r--r--. 1 jenkins jenkins 285 Apr 23 05:54 go.mod [2021-04-23T05:55:05.572Z] -rw-r--r--. 1 jenkins jenkins 21331 Apr 23 05:55 go.sum [2021-04-23T05:55:05.572Z] -rw-rw-r--. 1 jenkins jenkins 680 Apr 23 05:52 Jenkinsfile [2021-04-23T05:55:05.572Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 23 05:52 LICENSE [2021-04-23T05:55:05.573Z] -rw-rw-r--. 1 jenkins jenkins 996 Apr 23 05:52 Makefile [2021-04-23T05:55:05.573Z] -rw-rw-r--. 1 jenkins jenkins 7667 Apr 23 05:52 README.md [2021-04-23T05:55:05.573Z] drwxrwxr-x. 4 jenkins jenkins 71 Apr 23 05:52 snap [2021-04-23T05:55:05.573Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 23 05:49 VERSION [2021-04-23T05:55:05.573Z] -rw-rw-r--. 1 jenkins jenkins 713 Apr 23 05:52 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-23T05:55:05.931Z] + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=34dfda6b43d3ba6c1623e303afab23b574419b8f --label arch=amd64 --label version=0.0.0 . [2021-04-23T05:55:05.931Z] Sending build context to Docker daemon 102.9kB [2021-04-23T05:55:06.196Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-04-23T05:55:06.196Z] Step 2/24 : FROM ${BASE} AS builder [2021-04-23T05:55:06.196Z] ---> fa570888d1c7 [2021-04-23T05:55:06.196Z] Step 3/24 : ARG MAKE='make build' [2021-04-23T05:55:06.461Z] ---> Running in 9c9c943aaed5 [2021-04-23T05:55:06.731Z] Removing intermediate container 9c9c943aaed5 [2021-04-23T05:55:06.731Z] ---> 35fd9746ce92 [2021-04-23T05:55:06.731Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-23T05:55:06.731Z] ---> Running in adfaa64c0105 [2021-04-23T05:55:07.012Z] Removing intermediate container adfaa64c0105 [2021-04-23T05:55:07.013Z] ---> 1515ca93b812 [2021-04-23T05:55:07.013Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-04-23T05:55:07.013Z] ---> Running in fb418df343ba [2021-04-23T05:55:07.282Z] Removing intermediate container fb418df343ba [2021-04-23T05:55:07.282Z] ---> 97e82e440497 [2021-04-23T05:55:07.282Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-23T05:55:07.569Z] ---> Running in da8c77f86155 [2021-04-23T05:55:09.598Z] Removing intermediate container da8c77f86155 [2021-04-23T05:55:09.598Z] ---> 31fcf66bffda [2021-04-23T05:55:09.598Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-23T05:55:09.598Z] ---> Running in f3e6736942bf [2021-04-23T05:55:10.623Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-23T05:55:11.212Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-23T05:55:11.821Z] OK: 171 MiB in 48 packages [2021-04-23T05:55:12.408Z] Removing intermediate container f3e6736942bf [2021-04-23T05:55:12.408Z] ---> 4a31e884ad27 [2021-04-23T05:55:12.408Z] Step 8/24 : WORKDIR /device-rest-go [2021-04-23T05:55:12.408Z] ---> Running in d29c6437334d [2021-04-23T05:55:12.691Z] Removing intermediate container d29c6437334d [2021-04-23T05:55:12.691Z] ---> fd8bb3983c34 [2021-04-23T05:55:12.691Z] Step 9/24 : COPY . . [2021-04-23T05:55:13.336Z] ---> c36b193b7cda [2021-04-23T05:55:13.336Z] Step 10/24 : RUN make update [2021-04-23T05:55:13.336Z] ---> Running in a3386a392c91 [2021-04-23T05:55:14.419Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-04-23T05:55:16.049Z] Removing intermediate container a3386a392c91 [2021-04-23T05:55:16.049Z] ---> 291cfb9ab02a [2021-04-23T05:55:16.049Z] Step 11/24 : RUN $MAKE [2021-04-23T05:55:16.049Z] ---> Running in 47761b3467a3 [2021-04-23T05:55:16.683Z] 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-04-23T05:55:38.248Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-23T05:55:43.789Z] Removing intermediate container 47761b3467a3 [2021-04-23T05:55:43.789Z] ---> d7254fdef7be [2021-04-23T05:55:43.789Z] Step 12/24 : FROM alpine:3.12 [2021-04-23T05:55:43.789Z] 3.12: Pulling from library/alpine [2021-04-23T05:55:43.789Z] 339de151aab4: Pulling fs layer [2021-04-23T05:55:43.789Z] 339de151aab4: Verifying Checksum [2021-04-23T05:55:43.789Z] 339de151aab4: Download complete [2021-04-23T05:55:43.789Z] 339de151aab4: Pull complete [2021-04-23T05:55:43.789Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-23T05:55:43.789Z] Status: Downloaded newer image for alpine:3.12 [2021-04-23T05:55:43.789Z] ---> 13621d1b12d4 [2021-04-23T05:55:43.789Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-23T05:55:43.789Z] ---> Running in e734d0648600 [2021-04-23T05:55:43.789Z] Removing intermediate container e734d0648600 [2021-04-23T05:55:43.789Z] ---> 80d0dbf4b8e7 [2021-04-23T05:55:43.789Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-04-23T05:55:43.789Z] ---> Running in f0ae3254bc67 [2021-04-23T05:55:43.789Z] Removing intermediate container f0ae3254bc67 [2021-04-23T05:55:43.789Z] ---> 108f6d4564b2 [2021-04-23T05:55:43.789Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-23T05:55:43.789Z] ---> Running in f7fe8b240d73 [2021-04-23T05:55:43.789Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-23T05:55:43.789Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-23T05:55:43.789Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-23T05:55:43.789Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-23T05:55:43.789Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-23T05:55:43.789Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-23T05:55:43.789Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-23T05:55:43.789Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-23T05:55:43.789Z] Executing busybox-1.31.1-r20.trigger [2021-04-23T05:55:43.789Z] OK: 8 MiB in 20 packages [2021-04-23T05:55:43.789Z] Removing intermediate container f7fe8b240d73 [2021-04-23T05:55:43.789Z] ---> 582ece54daaa [2021-04-23T05:55:43.789Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-04-23T05:55:44.817Z] ---> 3eb529f5d0a6 [2021-04-23T05:55:44.817Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-04-23T05:55:45.412Z] ---> 04635200bcec [2021-04-23T05:55:45.412Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-04-23T05:55:46.026Z] ---> 36455acc96ca [2021-04-23T05:55:46.026Z] Step 19/24 : EXPOSE 49986 [2021-04-23T05:55:46.026Z] ---> Running in b7f894aef299 [2021-04-23T05:55:46.343Z] Removing intermediate container b7f894aef299 [2021-04-23T05:55:46.343Z] ---> 1b2978d967fb [2021-04-23T05:55:46.343Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-04-23T05:55:46.615Z] ---> Running in c222ad3cf70c [2021-04-23T05:55:46.880Z] Removing intermediate container c222ad3cf70c [2021-04-23T05:55:46.880Z] ---> 2cc3548d774c [2021-04-23T05:55:46.880Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-04-23T05:55:46.880Z] ---> Running in 712f390d0d47 [2021-04-23T05:55:47.147Z] Removing intermediate container 712f390d0d47 [2021-04-23T05:55:47.147Z] ---> fcd776ca65ab [2021-04-23T05:55:47.147Z] Step 22/24 : LABEL arch=amd64 [2021-04-23T05:55:47.459Z] ---> Running in c9881ee92766 [2021-04-23T05:55:48.304Z] Removing intermediate container c9881ee92766 [2021-04-23T05:55:48.304Z] ---> 4d289ac76d7c [2021-04-23T05:55:48.304Z] Step 23/24 : LABEL git_sha=34dfda6b43d3ba6c1623e303afab23b574419b8f [2021-04-23T05:55:48.304Z] ---> Running in 727ee85ae84a [2021-04-23T05:55:48.575Z] Removing intermediate container 727ee85ae84a [2021-04-23T05:55:48.575Z] ---> f23ff3ebaf1d [2021-04-23T05:55:48.575Z] Step 24/24 : LABEL version=0.0.0 [2021-04-23T05:55:48.575Z] ---> Running in 3ccbe70ff3e7 [2021-04-23T05:55:49.207Z] Removing intermediate container 3ccbe70ff3e7 [2021-04-23T05:55:49.207Z] ---> 811393f9f815 [2021-04-23T05:55:49.207Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-23T05:55:49.207Z] Successfully built 811393f9f815 [2021-04-23T05:55:49.207Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-23T05:55:50.015Z] ---> job-cost.sh [2021-04-23T05:55:50.015Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-l7ga [2021-04-23T05:56:16.935Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-23T05:56:56.172Z] lf-activate-venv(): INFO: Adding /tmp/venv-l7ga/bin to PATH [2021-04-23T05:56:56.172Z] INFO: No Stack... [2021-04-23T05:56:56.172Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-23T05:56:56.933Z] INFO: Archiving Costs [Pipeline] sh [2021-04-23T05:56:57.321Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-04-23T05:56:57.321Z] + cut -d, -f6 [Pipeline] lock [2021-04-23T05:56:57.475Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-79-1-stack-cost] [2021-04-23T05:56:57.482Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-79-1-stack-cost] did not exist. Created. [2021-04-23T05:56:57.483Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-79-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-23T05:56:57.924Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-23T05:56:58.079Z] Stashed 1 file(s) [Pipeline] } [2021-04-23T05:56:58.099Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-79-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-23T05:57:14.997Z] lf-activate-venv(): INFO: Adding /tmp/venv-tn9H/bin to PATH [2021-04-23T05:57:14.997Z] INFO: No Stack... [2021-04-23T05:57:14.997Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-23T05:57:14.997Z] INFO: Archiving Costs [Pipeline] sh [2021-04-23T05:57:15.360Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-04-23T05:57:15.360Z] + cut -d, -f6 [Pipeline] lock [2021-04-23T05:57:15.503Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-79-1-stack-cost] [2021-04-23T05:57:15.527Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-79-1-stack-cost] did not exist. Created. [2021-04-23T05:57:15.527Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-79-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-23T05:57:15.967Z] /w/workspace/device-rest-go/1@tmp/durable-337b83d8/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-337b83d8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-23T05:57:16.340Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-23T05:57:16.385Z] Warning: overwriting stash ‘stack-cost’ [2021-04-23T05:57:16.529Z] Stashed 1 file(s) [Pipeline] } [2021-04-23T05:57:16.553Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-79-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-04-23T05:57:17.590Z] provisioning config files... [2021-04-23T05:57:17.600Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/config4528025197456183012tmp [Pipeline] { [Pipeline] sh [2021-04-23T05:57:18.006Z] + set +x [2021-04-23T05:57:18.006Z] + curl -s https://codecov.io/bash [2021-04-23T05:57:18.006Z] + bash -s -- [2021-04-23T05:57:18.273Z] [2021-04-23T05:57:18.273Z] _____ _ [2021-04-23T05:57:18.273Z] / ____| | | [2021-04-23T05:57:18.273Z] | | ___ __| | ___ ___ _____ __ [2021-04-23T05:57:18.273Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-23T05:57:18.273Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-23T05:57:18.273Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-23T05:57:18.273Z] Bash-1.0.2 [2021-04-23T05:57:18.273Z] [2021-04-23T05:57:18.273Z] [2021-04-23T05:57:18.273Z] ==> git version 2.24.3 found [2021-04-23T05:57:18.273Z] ==> 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-04-23T05:57:18.273Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-23T05:57:18.273Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-23T05:57:18.273Z] ==> Jenkins CI detected. [2021-04-23T05:57:18.273Z] project root: . [2021-04-23T05:57:18.273Z] --> token set from env [2021-04-23T05:57:18.273Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-23T05:57:18.273Z] ==> Running gcov in . (disable via -X gcov) [2021-04-23T05:57:18.273Z] ==> Python coveragepy not found [2021-04-23T05:57:18.273Z] ==> Searching for coverage reports in: [2021-04-23T05:57:18.273Z] + . [2021-04-23T05:57:18.273Z] -> Found 1 reports [2021-04-23T05:57:18.273Z] ==> Detecting git/mercurial file structure [2021-04-23T05:57:18.273Z] ==> Reading reports [2021-04-23T05:57:18.273Z] + ./coverage.out bytes=8513 [2021-04-23T05:57:18.273Z] ==> Appending adjustments [2021-04-23T05:57:18.273Z] https://docs.codecov.io/docs/fixing-reports [2021-04-23T05:57:18.535Z] + Found adjustments [2021-04-23T05:57:18.535Z] ==> Gzipping contents [2021-04-23T05:57:18.535Z] 4.0K /tmp/codecov.zbXNHH.gz [2021-04-23T05:57:18.535Z] ==> Uploading reports [2021-04-23T05:57:18.535Z] url: https://codecov.io [2021-04-23T05:57:18.535Z] query: branch=PR-79&commit=34dfda6b43d3ba6c1623e303afab23b574419b8f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-79%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=79&job=&cmd_args= [2021-04-23T05:57:18.535Z] -> Pinging Codecov [2021-04-23T05:57:18.535Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-79&commit=34dfda6b43d3ba6c1623e303afab23b574419b8f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-79%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=79&job=&cmd_args= [2021-04-23T05:57:19.110Z] -> Uploading to [2021-04-23T05:57:19.110Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-23/4E5D53B4F1F92C436F7061BF334D961C/34dfda6b43d3ba6c1623e303afab23b574419b8f/161392e1-20bb-4bbe-8e6d-e630a432786a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210423%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210423T055718Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=87c36f4c01a757c167e93497fd7d7ab4fd4c78027dfd9b04e189832f85e03647 [2021-04-23T05:57:19.110Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-23T05:57:19.110Z] Dload Upload Total Spent Left Speed [2021-04-23T05:57:19.687Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 2788 --:--:-- --:--:-- --:--:-- 2792 [2021-04-23T05:57:19.687Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/34dfda6b43d3ba6c1623e303afab23b574419b8f [Pipeline] } [2021-04-23T05:57:19.741Z] 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-04-23T05:57:21.695Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-23T05:57:22.304Z] ---> package-listing.sh [2021-04-23T05:57:22.304Z] ++ facter osfamily [2021-04-23T05:57:22.304Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-23T05:57:22.304Z] + OS_FAMILY=redhat [2021-04-23T05:57:22.304Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-79 [2021-04-23T05:57:22.304Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-23T05:57:22.304Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-23T05:57:22.304Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-23T05:57:22.304Z] + PACKAGES=/tmp/packages_start.txt [2021-04-23T05:57:22.304Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-79 ']' [2021-04-23T05:57:22.304Z] + PACKAGES=/tmp/packages_end.txt [2021-04-23T05:57:22.304Z] + case "${OS_FAMILY}" in [2021-04-23T05:57:22.304Z] + rpm -qa [2021-04-23T05:57:22.304Z] + sort [2021-04-23T05:57:27.726Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-23T05:57:27.726Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-23T05:57:27.726Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-23T05:57:27.726Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-79 ']' [2021-04-23T05:57:27.726Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-79/archives/ [2021-04-23T05:57:27.726Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-79/archives/ [Pipeline] echo [2021-04-23T05:57:27.769Z] 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-79/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-23T05:57:28.080Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-23T05:57:28.417Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-23T05:57:28.417Z] [2021-04-23T05:57:28.417Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-23T05:57:28.776Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-23T05:57:28.776Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-23T05:57:28.776Z] df20fa9351a1: Pulling fs layer [2021-04-23T05:57:28.776Z] 36b3adc4ff6f: Pulling fs layer [2021-04-23T05:57:28.776Z] 8ad3a11d3b57: Pulling fs layer [2021-04-23T05:57:28.776Z] 46f8f816bc3b: Pulling fs layer [2021-04-23T05:57:28.776Z] 93b61091891f: Pulling fs layer [2021-04-23T05:57:28.776Z] 93b9cdb0e59b: Pulling fs layer [2021-04-23T05:57:28.776Z] 5e14af77c1be: Pulling fs layer [2021-04-23T05:57:28.776Z] 01666e4c0597: Pulling fs layer [2021-04-23T05:57:28.776Z] aa168da1d23b: Pulling fs layer [2021-04-23T05:57:28.776Z] 46f8f816bc3b: Waiting [2021-04-23T05:57:28.776Z] 93b61091891f: Waiting [2021-04-23T05:57:28.776Z] 5e14af77c1be: Waiting [2021-04-23T05:57:28.776Z] 01666e4c0597: Waiting [2021-04-23T05:57:28.776Z] aa168da1d23b: Waiting [2021-04-23T05:57:28.776Z] 93b9cdb0e59b: Waiting [2021-04-23T05:57:28.776Z] 36b3adc4ff6f: Verifying Checksum [2021-04-23T05:57:28.776Z] 36b3adc4ff6f: Download complete [2021-04-23T05:57:28.776Z] 46f8f816bc3b: Verifying Checksum [2021-04-23T05:57:28.776Z] 46f8f816bc3b: Download complete [2021-04-23T05:57:28.776Z] df20fa9351a1: Verifying Checksum [2021-04-23T05:57:28.776Z] df20fa9351a1: Download complete [2021-04-23T05:57:28.776Z] 93b9cdb0e59b: Verifying Checksum [2021-04-23T05:57:28.776Z] 93b9cdb0e59b: Download complete [2021-04-23T05:57:29.052Z] 5e14af77c1be: Verifying Checksum [2021-04-23T05:57:29.052Z] 5e14af77c1be: Download complete [2021-04-23T05:57:29.052Z] 93b61091891f: Verifying Checksum [2021-04-23T05:57:29.052Z] 93b61091891f: Download complete [2021-04-23T05:57:29.052Z] 01666e4c0597: Verifying Checksum [2021-04-23T05:57:29.052Z] 01666e4c0597: Download complete [2021-04-23T05:57:29.322Z] df20fa9351a1: Pull complete [2021-04-23T05:57:29.322Z] 8ad3a11d3b57: Verifying Checksum [2021-04-23T05:57:29.322Z] 8ad3a11d3b57: Download complete [2021-04-23T05:57:29.591Z] 36b3adc4ff6f: Pull complete [2021-04-23T05:57:30.577Z] 8ad3a11d3b57: Pull complete [2021-04-23T05:57:30.577Z] 46f8f816bc3b: Pull complete [2021-04-23T05:57:31.556Z] 93b61091891f: Pull complete [2021-04-23T05:57:31.556Z] 93b9cdb0e59b: Pull complete [2021-04-23T05:57:31.556Z] aa168da1d23b: Verifying Checksum [2021-04-23T05:57:31.556Z] aa168da1d23b: Download complete [2021-04-23T05:57:31.556Z] 5e14af77c1be: Pull complete [2021-04-23T05:57:31.827Z] 01666e4c0597: Pull complete [2021-04-23T05:57:40.018Z] aa168da1d23b: Pull complete [2021-04-23T05:57:40.018Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-23T05:57:40.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-23T05:57:40.018Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-23T05:57:40.209Z] prd-centos7-docker-4c-2g-1526 does not seem to be running inside a container [2021-04-23T05:57:40.260Z] $ 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-79/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-79 -v /w/workspace/dgexfoundry_device-rest-go_PR-79:/w/workspace/dgexfoundry_device-rest-go_PR-79:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-79@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-23T05:57:43.380Z] $ docker top 529409051a5970073e21aece66b930b7e4ddebd9ca924ed2c8c9d1b90d144ad4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-23T05:57:43.837Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-23T05:57:44.158Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-23T05:57:44.500Z] + ls /var/log/sa-host [2021-04-23T05:57:44.500Z] + sadf -c /var/log/sa-host/sa23 [2021-04-23T05:57:44.500Z] file_magic: OK [2021-04-23T05:57:44.500Z] HZ: Using current value: 100 [2021-04-23T05:57:44.500Z] file_header: OK [2021-04-23T05:57:44.500Z] 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-04-23T05:57:44.500Z] Statistics: [2021-04-23T05:57:44.500Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-23T05:57:44.500Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-23T05:57:44.763Z] provisioning config files... [2021-04-23T05:57:44.781Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/config4114056861890057340tmp [Pipeline] { [Pipeline] echo [2021-04-23T05:57:44.853Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-23T05:57:45.193Z] ---> create-netrc.sh [Pipeline] } [2021-04-23T05:57:45.220Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-23T05:57:45.306Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-23T05:57:45.648Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-23T05:57:45.681Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-23T05:57:46.022Z] ---> sudo-logs.sh [2021-04-23T05:57:46.022Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-23T05:57:46.110Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-23T05:57:46.451Z] ---> job-cost.sh [2021-04-23T05:57:46.451Z] lf-activate-venv: SKIPPING [2021-04-23T05:57:46.451Z] DEBUG: total: 0.20999999344348907 [2021-04-23T05:57:46.451Z] INFO: Retrieving Stack Cost... [2021-04-23T05:57:47.850Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-23T05:57:48.426Z] INFO: Archiving Costs [Pipeline] echo [2021-04-23T05:57:48.469Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-23T05:57:48.820Z] ---> logs-deploy.sh [2021-04-23T05:57:48.820Z] lf-activate-venv: SKIPPING [2021-04-23T05:57:48.820Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-79/1 [2021-04-23T05:57:48.820Z] INFO: archiving workspace using pattern(s): [2021-04-23T05:57:50.744Z] Archives upload complete. [2021-04-23T05:57:50.744Z] INFO: archiving logs to Nexus