Pull request #79 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from a01389db03e73741bef670245b5833c1ca7b1b8a+8e1e7cb95d5530821e601db4473f34bcb708dd90 (3b7a5f3b03e3c133f168d1930da047b30e20dbd4) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-1683 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 > 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 Merging remotes/origin/master commit 8e1e7cb95d5530821e601db4473f34bcb708dd90 into PR head commit a01389db03e73741bef670245b5833c1ca7b1b8a Merge succeeded, producing a01389db03e73741bef670245b5833c1ca7b1b8a Checking out Revision a01389db03e73741bef670245b5833c1ca7b1b8a (PR-79) > git config core.sparsecheckout # timeout=10 > git checkout -f a01389db03e73741bef670245b5833c1ca7b1b8a # 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 a01389db03e73741bef670245b5833c1ca7b1b8a # timeout=10 Commit message: "build: update build files for v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-26T01:20:39.494Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-26T01:20:39.594Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-26T01:20:39.622Z] ========================================================= [2021-04-26T01:20:39.622Z] EdgeX Global Pipelines Version Info [2021-04-26T01:20:39.622Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 34dfda6b43d3ba6c1623e303afab23b574419b8f # timeout=10 [2021-04-26T01:20:41.181Z] ------------------- [2021-04-26T01:20:41.181Z] stable info: [2021-04-26T01:20:41.181Z] ------------------- [2021-04-26T01:20:41.181Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-26T01:20:41.181Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-26T01:20:41.181Z] Message: update stable to v1.0.186 [2021-04-26T01:20:42.140Z] ------------------- [2021-04-26T01:20:42.140Z] experimental info: [2021-04-26T01:20:42.140Z] ------------------- [2021-04-26T01:20:42.140Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-26T01:20:42.140Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-26T01:20:42.140Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-26T01:20:42.270Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-04-26T01:20:42.294Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-04-26T01:20:42.318Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-26T01:20:42.342Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-26T01:20:42.365Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-26T01:20:42.389Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-26T01:20:42.413Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-26T01:20:42.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-26T01:20:42.466Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-26T01:20:42.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-26T01:20:42.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-26T01:20:42.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-04-26T01:20:42.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-26T01:20:42.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-26T01:20:42.642Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-26T01:20:42.671Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-26T01:20:42.697Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T01:20:42.724Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T01:20:42.748Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-26T01:20:42.794Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-26T01:20:42.823Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-04-26T01:20:42.852Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-04-26T01:20:42.877Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-26T01:20:42.902Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-26T01:20:42.930Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-26T01:20:42.955Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-26T01:20:42.980Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-79 [Pipeline] echo [2021-04-26T01:20:43.005Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-79 [Pipeline] echo [2021-04-26T01:20:43.030Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-79 [Pipeline] echo [2021-04-26T01:20:43.076Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a01389db03e73741bef670245b5833c1ca7b1b8a [Pipeline] echo [2021-04-26T01:20:43.104Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a01389d [Pipeline] echo [2021-04-26T01:20:43.132Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-26T01:20:43.218Z] provisioning config files... [2021-04-26T01:20:43.273Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/config7746278225838384373tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-26T01:20:43.594Z] ---> docker-login.sh [2021-04-26T01:20:43.594Z] nexus3.edgexfoundry.org:10001 [2021-04-26T01:20:43.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T01:20:44.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T01:20:44.121Z] Configure a credential helper to remove this warning. See [2021-04-26T01:20:44.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T01:20:44.121Z] [2021-04-26T01:20:44.121Z] Login Succeeded [2021-04-26T01:20:44.121Z] nexus3.edgexfoundry.org:10002 [2021-04-26T01:20:44.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T01:20:44.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T01:20:44.384Z] Configure a credential helper to remove this warning. See [2021-04-26T01:20:44.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T01:20:44.384Z] [2021-04-26T01:20:44.384Z] Login Succeeded [2021-04-26T01:20:44.384Z] nexus3.edgexfoundry.org:10003 [2021-04-26T01:20:44.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T01:20:44.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T01:20:44.384Z] Configure a credential helper to remove this warning. See [2021-04-26T01:20:44.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T01:20:44.384Z] [2021-04-26T01:20:44.384Z] Login Succeeded [2021-04-26T01:20:44.384Z] nexus3.edgexfoundry.org:10004 [2021-04-26T01:20:44.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T01:20:44.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T01:20:44.645Z] Configure a credential helper to remove this warning. See [2021-04-26T01:20:44.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T01:20:44.645Z] [2021-04-26T01:20:44.645Z] Login Succeeded [2021-04-26T01:20:44.645Z] docker.io [2021-04-26T01:20:44.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T01:20:45.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T01:20:45.171Z] Configure a credential helper to remove this warning. See [2021-04-26T01:20:45.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T01:20:45.171Z] [2021-04-26T01:20:45.171Z] Login Succeeded [2021-04-26T01:20:45.171Z] ---> docker-login.sh ends [Pipeline] } [2021-04-26T01:20:45.180Z] 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-26T01:20:45.655Z] + git log --format=format:%s -1 a01389db03e73741bef670245b5833c1ca7b1b8a [Pipeline] echo [2021-04-26T01:20:45.745Z] GIT_COMMIT: a01389db03e73741bef670245b5833c1ca7b1b8a, Commit Message: build: update build files for v2 [Pipeline] echo [2021-04-26T01:20:45.760Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-26T01:20:46.698Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T01:20:46.698Z] [2021-04-26T01:20:46.698Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T01:20:47.018Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T01:20:47.018Z] latest: Pulling from edgex-devops/git-semver [2021-04-26T01:20:47.018Z] 31603596830f: Pulling fs layer [2021-04-26T01:20:47.018Z] 2a8b12db71e7: Pulling fs layer [2021-04-26T01:20:47.018Z] 6ca5941a6612: Pulling fs layer [2021-04-26T01:20:47.018Z] ecc8261a40a4: Pulling fs layer [2021-04-26T01:20:47.018Z] ecc8261a40a4: Waiting [2021-04-26T01:20:47.018Z] 2a8b12db71e7: Verifying Checksum [2021-04-26T01:20:47.018Z] 2a8b12db71e7: Download complete [2021-04-26T01:20:47.018Z] 31603596830f: Download complete [2021-04-26T01:20:47.282Z] 6ca5941a6612: Download complete [2021-04-26T01:20:47.547Z] ecc8261a40a4: Verifying Checksum [2021-04-26T01:20:47.547Z] ecc8261a40a4: Download complete [2021-04-26T01:20:47.547Z] 31603596830f: Pull complete [2021-04-26T01:20:47.810Z] 2a8b12db71e7: Pull complete [2021-04-26T01:20:48.763Z] 6ca5941a6612: Pull complete [2021-04-26T01:20:49.030Z] ecc8261a40a4: Pull complete [2021-04-26T01:20:49.030Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-26T01:20:49.030Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T01:20:49.030Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-26T01:20:49.146Z] prd-centos7-docker-4c-2g-1683 does not seem to be running inside a container [2021-04-26T01:20:49.200Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-26T01:20:51.449Z] $ docker top fed611ea4ddc227adf503adf8bd9c5d25b4453d245c35f98214a7b40565cdf91 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-26T01:20:51.590Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-26T01:20:51.590Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-26T01:20:51.822Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-26T01:20:51.830Z] $ docker exec fed611ea4ddc227adf503adf8bd9c5d25b4453d245c35f98214a7b40565cdf91 ssh-agent [2021-04-26T01:20:52.000Z] SSH_AUTH_SOCK=/tmp/ssh-Yzc2kPCW07wV/agent.11 [2021-04-26T01:20:52.000Z] SSH_AGENT_PID=16 [2021-04-26T01:20:52.010Z] Running ssh-add (command line suppressed) [2021-04-26T01:20:52.133Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/private_key_7034336946623235083.key (/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/private_key_7034336946623235083.key) [2021-04-26T01:20:52.188Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-26T01:20:52.505Z] + git tag --points-at HEAD [Pipeline] } [2021-04-26T01:20:52.532Z] $ docker exec --env ******** --env ******** fed611ea4ddc227adf503adf8bd9c5d25b4453d245c35f98214a7b40565cdf91 ssh-agent -k [2021-04-26T01:20:52.659Z] unset SSH_AUTH_SOCK; [2021-04-26T01:20:52.659Z] unset SSH_AGENT_PID; [2021-04-26T01:20:52.659Z] echo Agent pid 16 killed; [2021-04-26T01:20:52.711Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-26T01:20:52.748Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-26T01:20:52.749Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-26T01:20:52.973Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-26T01:20:52.981Z] $ docker exec fed611ea4ddc227adf503adf8bd9c5d25b4453d245c35f98214a7b40565cdf91 ssh-agent [2021-04-26T01:20:53.197Z] SSH_AUTH_SOCK=/tmp/ssh-v7JIhejfIgUG/agent.45 [2021-04-26T01:20:53.197Z] SSH_AGENT_PID=52 [2021-04-26T01:20:53.205Z] Running ssh-add (command line suppressed) [2021-04-26T01:20:53.378Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/private_key_6937816680826348097.key (/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/private_key_6937816680826348097.key) [2021-04-26T01:20:53.430Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-26T01:20:53.743Z] + git semver init [2021-04-26T01:20:53.743Z] # -> Open(): unable to determine branch for HEAD [2021-04-26T01:20:53.743Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-79/.git [2021-04-26T01:20:53.743Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-79 [2021-04-26T01:20:53.743Z] # $SEMVER_REMOTE_NAME = origin [2021-04-26T01:20:53.743Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-26T01:20:53.743Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-26T01:20:53.743Z] # $SEMVER_BRANCH = PR-79 [2021-04-26T01:20:53.743Z] # $SEMVER_TEMP = /tmp/semver-795234755 [2021-04-26T01:20:53.743Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-04-26T01:20:55.140Z] # '/tmp/semver-795234755' -> '/w/workspace/dgexfoundry_device-rest-go_PR-79/.semver' [2021-04-26T01:20:55.140Z] # -> Force: false [2021-04-26T01:20:55.140Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-79/.semver [Pipeline] } [2021-04-26T01:20:55.157Z] $ docker exec --env ******** --env ******** fed611ea4ddc227adf503adf8bd9c5d25b4453d245c35f98214a7b40565cdf91 ssh-agent -k [2021-04-26T01:20:55.284Z] unset SSH_AUTH_SOCK; [2021-04-26T01:20:55.284Z] unset SSH_AGENT_PID; [2021-04-26T01:20:55.284Z] echo Agent pid 52 killed; [2021-04-26T01:20:55.336Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-26T01:20:55.682Z] + git semver [Pipeline] } [2021-04-26T01:20:55.717Z] $ docker stop --time=1 fed611ea4ddc227adf503adf8bd9c5d25b4453d245c35f98214a7b40565cdf91 [2021-04-26T01:20:57.314Z] $ docker rm -f fed611ea4ddc227adf503adf8bd9c5d25b4453d245c35f98214a7b40565cdf91 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T01:20:57.753Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-26T01:20:58.273Z] Stashed 1 file(s) [Pipeline] echo [2021-04-26T01:20:58.279Z] [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-26T01:21:13.550Z] Still waiting to schedule task [2021-04-26T01:21:13.550Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1683’ [2021-04-26T01:21:13.553Z] Still waiting to schedule task [2021-04-26T01:21:13.553Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-26T01:23:04.194Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1684 in /w/workspace/dgexfoundry_device-rest-go_PR-79 [Pipeline] { [Pipeline] ws [2021-04-26T01:23:04.215Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-04-26T01:23:09.874Z] using credential edgex-jenkins-ssh [2021-04-26T01:23:09.896Z] Cloning the remote Git repository [2021-04-26T01:23:09.946Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-04-26T01:23:10.076Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-04-26T01:23:10.163Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-26T01:23:10.164Z] > git --version # timeout=10 [2021-04-26T01:23:10.185Z] > git --version # 'git version 2.17.1' [2021-04-26T01:23:10.187Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T01:23:10.253Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T01:23:12.449Z] Merging remotes/origin/master commit 8e1e7cb95d5530821e601db4473f34bcb708dd90 into PR head commit a01389db03e73741bef670245b5833c1ca7b1b8a [2021-04-26T01:23:12.645Z] Merge succeeded, producing a01389db03e73741bef670245b5833c1ca7b1b8a [2021-04-26T01:23:12.645Z] Checking out Revision a01389db03e73741bef670245b5833c1ca7b1b8a (PR-79) [2021-04-26T01:23:11.832Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-26T01:23:11.851Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T01:23:11.877Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-26T01:23:11.910Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-26T01:23:11.910Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T01:23:11.923Z] > 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-26T01:23:12.463Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T01:23:12.481Z] > git checkout -f a01389db03e73741bef670245b5833c1ca7b1b8a # timeout=10 [2021-04-26T01:23:12.558Z] > git remote # timeout=10 [2021-04-26T01:23:12.574Z] > git config --get remote.origin.url # timeout=10 [2021-04-26T01:23:12.587Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T01:23:12.597Z] > git merge 8e1e7cb95d5530821e601db4473f34bcb708dd90 # timeout=10 [2021-04-26T01:23:12.628Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-26T01:23:12.647Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T01:23:12.658Z] > git checkout -f a01389db03e73741bef670245b5833c1ca7b1b8a # timeout=10 [2021-04-26T01:23:16.776Z] Commit message: "build: update build files for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T01:23:18.346Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-26T01:23:18.779Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-26T01:23:19.123Z] + true [2021-04-26T01:23:19.123Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-26T01:23:21.136Z] provisioning config files... [2021-04-26T01:23:21.185Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config7114510441576202646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-26T01:23:21.556Z] ---> docker-login.sh [2021-04-26T01:23:21.556Z] nexus3.edgexfoundry.org:10001 [2021-04-26T01:23:22.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T01:23:22.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T01:23:22.823Z] Configure a credential helper to remove this warning. See [2021-04-26T01:23:22.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T01:23:22.823Z] [2021-04-26T01:23:22.823Z] Login Succeeded [2021-04-26T01:23:22.823Z] nexus3.edgexfoundry.org:10002 [2021-04-26T01:23:23.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T01:23:23.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T01:23:23.436Z] Configure a credential helper to remove this warning. See [2021-04-26T01:23:23.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T01:23:23.436Z] [2021-04-26T01:23:23.436Z] Login Succeeded [2021-04-26T01:23:23.436Z] nexus3.edgexfoundry.org:10003 [2021-04-26T01:23:24.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T01:23:24.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T01:23:24.034Z] Configure a credential helper to remove this warning. See [2021-04-26T01:23:24.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T01:23:24.034Z] [2021-04-26T01:23:24.034Z] Login Succeeded [2021-04-26T01:23:24.034Z] nexus3.edgexfoundry.org:10004 [2021-04-26T01:23:24.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T01:23:24.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T01:23:24.585Z] Configure a credential helper to remove this warning. See [2021-04-26T01:23:24.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T01:23:24.585Z] [2021-04-26T01:23:24.585Z] Login Succeeded [2021-04-26T01:23:24.585Z] docker.io [2021-04-26T01:23:24.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T01:23:25.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T01:23:25.133Z] Configure a credential helper to remove this warning. See [2021-04-26T01:23:25.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T01:23:25.133Z] [2021-04-26T01:23:25.133Z] Login Succeeded [2021-04-26T01:23:25.133Z] ---> docker-login.sh ends [Pipeline] } [2021-04-26T01:23:25.151Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-26T01:23:25.457Z] ========================================================= [2021-04-26T01:23:25.457Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-26T01:23:25.457Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-26T01:23:25.804Z] + 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-26T01:23:25.804Z] Sending build context to Docker daemon 93.18kB [2021-04-26T01:23:26.626Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T01:23:26.626Z] Step 2/10 : FROM ${BASE} [2021-04-26T01:23:26.902Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-26T01:23:26.902Z] 5f621e34cdf4: Pulling fs layer [2021-04-26T01:23:26.902Z] a4357932f1b6: Pulling fs layer [2021-04-26T01:23:26.902Z] 18c013af1878: Pulling fs layer [2021-04-26T01:23:26.902Z] 00ac8860ef70: Pulling fs layer [2021-04-26T01:23:26.902Z] 63d7cb157983: Pulling fs layer [2021-04-26T01:23:26.902Z] b116817d02f9: Pulling fs layer [2021-04-26T01:23:26.902Z] 745a02a5169b: Pulling fs layer [2021-04-26T01:23:26.902Z] 00ac8860ef70: Waiting [2021-04-26T01:23:26.902Z] 63d7cb157983: Waiting [2021-04-26T01:23:26.902Z] b116817d02f9: Waiting [2021-04-26T01:23:26.902Z] 745a02a5169b: Waiting [2021-04-26T01:23:26.902Z] 18c013af1878: Verifying Checksum [2021-04-26T01:23:26.902Z] 18c013af1878: Download complete [2021-04-26T01:23:26.902Z] a4357932f1b6: Verifying Checksum [2021-04-26T01:23:26.902Z] a4357932f1b6: Download complete [2021-04-26T01:23:26.902Z] 63d7cb157983: Verifying Checksum [2021-04-26T01:23:26.902Z] 63d7cb157983: Download complete [2021-04-26T01:23:26.902Z] 5f621e34cdf4: Verifying Checksum [2021-04-26T01:23:26.902Z] 5f621e34cdf4: Download complete [2021-04-26T01:23:26.902Z] b116817d02f9: Verifying Checksum [2021-04-26T01:23:26.902Z] b116817d02f9: Download complete [2021-04-26T01:23:27.500Z] 5f621e34cdf4: Pull complete [2021-04-26T01:23:28.098Z] a4357932f1b6: Pull complete [2021-04-26T01:23:28.371Z] 18c013af1878: Pull complete [2021-04-26T01:23:29.809Z] 745a02a5169b: Verifying Checksum [2021-04-26T01:23:29.810Z] 745a02a5169b: Download complete [2021-04-26T01:23:30.803Z] 00ac8860ef70: Verifying Checksum [2021-04-26T01:23:30.803Z] 00ac8860ef70: Download complete [2021-04-26T01:23:40.962Z] 00ac8860ef70: Pull complete [2021-04-26T01:23:40.962Z] 63d7cb157983: Pull complete [2021-04-26T01:23:41.235Z] b116817d02f9: Pull complete [2021-04-26T01:23:45.083Z] Running on prd-centos7-docker-4c-2g-1685 in /w/workspace/dgexfoundry_device-rest-go_PR-79 [Pipeline] { [Pipeline] ws [2021-04-26T01:23:45.103Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-04-26T01:23:45.559Z] 745a02a5169b: Pull complete [2021-04-26T01:23:45.559Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-26T01:23:45.559Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-26T01:23:45.559Z] ---> b7e6874047d6 [2021-04-26T01:23:45.559Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-26T01:23:47.691Z] using credential edgex-jenkins-ssh [2021-04-26T01:23:47.706Z] Cloning the remote Git repository [2021-04-26T01:23:48.211Z] ---> Running in 8ae086b5d968 [2021-04-26T01:23:47.467Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-04-26T01:23:47.540Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-04-26T01:23:47.603Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-26T01:23:47.603Z] > git --version # timeout=10 [2021-04-26T01:23:47.611Z] > git --version # 'git version 2.24.3' [2021-04-26T01:23:47.612Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T01:23:47.651Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T01:23:48.486Z] Removing intermediate container 8ae086b5d968 [2021-04-26T01:23:48.486Z] ---> 69671949cf51 [2021-04-26T01:23:48.486Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-04-26T01:23:48.486Z] ---> Running in b368cf3b6666 [2021-04-26T01:23:49.082Z] Removing intermediate container b368cf3b6666 [2021-04-26T01:23:49.082Z] ---> 08776e17f6ea [2021-04-26T01:23:49.082Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-26T01:23:49.201Z] Merging remotes/origin/master commit 8e1e7cb95d5530821e601db4473f34bcb708dd90 into PR head commit a01389db03e73741bef670245b5833c1ca7b1b8a [2021-04-26T01:23:49.272Z] Merge succeeded, producing a01389db03e73741bef670245b5833c1ca7b1b8a [2021-04-26T01:23:49.273Z] Checking out Revision a01389db03e73741bef670245b5833c1ca7b1b8a (PR-79) [2021-04-26T01:23:49.359Z] ---> Running in e454471365be [2021-04-26T01:23:48.576Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-26T01:23:48.588Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T01:23:48.600Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-26T01:23:48.613Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-26T01:23:48.614Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T01:23:48.619Z] > 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-26T01:23:49.072Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T01:23:49.076Z] > git checkout -f a01389db03e73741bef670245b5833c1ca7b1b8a # timeout=10 [2021-04-26T01:23:49.111Z] > git remote # timeout=10 [2021-04-26T01:23:49.116Z] > git config --get remote.origin.url # timeout=10 [2021-04-26T01:23:49.122Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T01:23:49.125Z] > git merge 8e1e7cb95d5530821e601db4473f34bcb708dd90 # timeout=10 [2021-04-26T01:23:49.135Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-26T01:23:49.144Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T01:23:49.149Z] > git checkout -f a01389db03e73741bef670245b5833c1ca7b1b8a # timeout=10 [2021-04-26T01:23:49.638Z] Removing intermediate container e454471365be [2021-04-26T01:23:49.639Z] ---> 4811398e52b7 [2021-04-26T01:23:49.639Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T01:23:49.911Z] ---> Running in cb4776aa1ec0 [2021-04-26T01:23:52.566Z] Removing intermediate container cb4776aa1ec0 [2021-04-26T01:23:52.566Z] ---> a084d593d188 [2021-04-26T01:23:52.566Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-26T01:23:52.566Z] ---> Running in cb267cfefa9d [2021-04-26T01:23:52.730Z] Commit message: "build: update build files for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T01:23:53.542Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-26T01:23:53.920Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-26T01:23:54.244Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-26T01:23:54.511Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-26T01:23:54.543Z] + sudo service docker restart [2021-04-26T01:23:54.543Z] + true [2021-04-26T01:23:54.543Z] Redirecting to /bin/systemctl restart docker.service [2021-04-26T01:23:55.100Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-04-26T01:23:55.370Z] (2/9) Installing libsodium (1.0.18-r0) [2021-04-26T01:23:55.370Z] (3/9) Installing pkgconf (1.7.2-r0) [2021-04-26T01:23:55.370Z] (4/9) Installing libsodium-dev (1.0.18-r0) [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-26T01:23:55.519Z] provisioning config files... [2021-04-26T01:23:55.549Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config3370323712900429394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-26T01:23:55.640Z] (5/9) Installing openssh-keygen (8.3_p1-r2) [2021-04-26T01:23:55.640Z] (6/9) Installing libedit (20191231.3.1-r0) [2021-04-26T01:23:55.640Z] (7/9) Installing openssh-client (8.3_p1-r2) [2021-04-26T01:23:55.875Z] ---> docker-login.sh [2021-04-26T01:23:55.875Z] nexus3.edgexfoundry.org:10001 [2021-04-26T01:23:56.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T01:23:56.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T01:23:56.140Z] Configure a credential helper to remove this warning. See [2021-04-26T01:23:56.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T01:23:56.140Z] [2021-04-26T01:23:56.140Z] Login Succeeded [2021-04-26T01:23:56.140Z] nexus3.edgexfoundry.org:10002 [2021-04-26T01:23:56.232Z] (8/9) Installing libzmq (4.3.3-r0) [2021-04-26T01:23:56.232Z] (9/9) Installing zeromq-dev (4.3.3-r0) [2021-04-26T01:23:56.232Z] Executing busybox-1.31.1-r19.trigger [2021-04-26T01:23:56.232Z] OK: 148 MiB in 48 packages [2021-04-26T01:23:56.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T01:23:56.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T01:23:56.402Z] Configure a credential helper to remove this warning. See [2021-04-26T01:23:56.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T01:23:56.402Z] [2021-04-26T01:23:56.402Z] Login Succeeded [2021-04-26T01:23:56.402Z] nexus3.edgexfoundry.org:10003 [2021-04-26T01:23:56.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T01:23:56.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T01:23:56.664Z] Configure a credential helper to remove this warning. See [2021-04-26T01:23:56.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T01:23:56.664Z] [2021-04-26T01:23:56.664Z] Login Succeeded [2021-04-26T01:23:56.664Z] nexus3.edgexfoundry.org:10004 [2021-04-26T01:23:56.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T01:23:56.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T01:23:56.927Z] Configure a credential helper to remove this warning. See [2021-04-26T01:23:56.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T01:23:56.927Z] [2021-04-26T01:23:56.927Z] Login Succeeded [2021-04-26T01:23:56.927Z] docker.io [2021-04-26T01:23:56.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T01:23:57.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T01:23:57.190Z] Configure a credential helper to remove this warning. See [2021-04-26T01:23:57.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T01:23:57.190Z] [2021-04-26T01:23:57.190Z] Login Succeeded [2021-04-26T01:23:57.190Z] ---> docker-login.sh ends [Pipeline] } [2021-04-26T01:23:57.200Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-26T01:23:57.386Z] ========================================================= [2021-04-26T01:23:57.387Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-26T01:23:57.387Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-26T01:23:57.666Z] Removing intermediate container cb267cfefa9d [2021-04-26T01:23:57.666Z] ---> 2f4a485bd6bd [2021-04-26T01:23:57.666Z] Step 8/10 : WORKDIR /device-rest-go [2021-04-26T01:23:57.698Z] + 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-26T01:23:57.698Z] Sending build context to Docker daemon 93.18kB [2021-04-26T01:23:57.698Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T01:23:57.698Z] Step 2/10 : FROM ${BASE} [2021-04-26T01:23:57.698Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-26T01:23:57.698Z] 188c0c94c7c5: Pulling fs layer [2021-04-26T01:23:57.698Z] 0ef7d3d256c8: Pulling fs layer [2021-04-26T01:23:57.698Z] de9db76c5a1d: Pulling fs layer [2021-04-26T01:23:57.698Z] bca2f99d35d6: Pulling fs layer [2021-04-26T01:23:57.698Z] 93359f2a8cfa: Pulling fs layer [2021-04-26T01:23:57.698Z] 7c6f9722023f: Pulling fs layer [2021-04-26T01:23:57.698Z] a35cf1a2eb13: Pulling fs layer [2021-04-26T01:23:57.698Z] 93359f2a8cfa: Waiting [2021-04-26T01:23:57.698Z] a35cf1a2eb13: Waiting [2021-04-26T01:23:57.698Z] 7c6f9722023f: Waiting [2021-04-26T01:23:57.698Z] bca2f99d35d6: Waiting [2021-04-26T01:23:57.936Z] ---> Running in 71baea249b84 [2021-04-26T01:23:57.964Z] de9db76c5a1d: Verifying Checksum [2021-04-26T01:23:57.964Z] de9db76c5a1d: Download complete [2021-04-26T01:23:57.964Z] 0ef7d3d256c8: Download complete [2021-04-26T01:23:57.964Z] 93359f2a8cfa: Verifying Checksum [2021-04-26T01:23:57.964Z] 93359f2a8cfa: Download complete [2021-04-26T01:23:57.964Z] 7c6f9722023f: Verifying Checksum [2021-04-26T01:23:57.964Z] 7c6f9722023f: Download complete [2021-04-26T01:23:57.964Z] 188c0c94c7c5: Verifying Checksum [2021-04-26T01:23:57.964Z] 188c0c94c7c5: Download complete [2021-04-26T01:23:58.241Z] 188c0c94c7c5: Pull complete [2021-04-26T01:23:58.504Z] 0ef7d3d256c8: Pull complete [2021-04-26T01:23:58.504Z] de9db76c5a1d: Pull complete [2021-04-26T01:23:58.527Z] Removing intermediate container 71baea249b84 [2021-04-26T01:23:58.527Z] ---> 102991b5dbb8 [2021-04-26T01:23:58.527Z] Step 9/10 : COPY . . [2021-04-26T01:23:59.125Z] ---> 906136ae1671 [2021-04-26T01:23:59.125Z] Step 10/10 : RUN go mod download [2021-04-26T01:23:59.399Z] ---> Running in 71c3f4a685dd [2021-04-26T01:23:59.452Z] a35cf1a2eb13: Verifying Checksum [2021-04-26T01:23:59.452Z] a35cf1a2eb13: Download complete [2021-04-26T01:24:00.035Z] bca2f99d35d6: Verifying Checksum [2021-04-26T01:24:00.035Z] bca2f99d35d6: Download complete [2021-04-26T01:24:05.383Z] bca2f99d35d6: Pull complete [2021-04-26T01:24:05.383Z] 93359f2a8cfa: Pull complete [2021-04-26T01:24:05.383Z] 7c6f9722023f: Pull complete [2021-04-26T01:24:10.721Z] a35cf1a2eb13: Pull complete [2021-04-26T01:24:11.298Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-26T01:24:11.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-26T01:24:11.298Z] ---> a62c8e92a672 [2021-04-26T01:24:11.298Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-26T01:24:11.563Z] ---> Running in 81328ad7dc8b [2021-04-26T01:24:11.826Z] Removing intermediate container 81328ad7dc8b [2021-04-26T01:24:11.826Z] ---> 34b80d76dd58 [2021-04-26T01:24:11.826Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-04-26T01:24:11.826Z] ---> Running in d2e3e49db74d [2021-04-26T01:24:12.089Z] Removing intermediate container d2e3e49db74d [2021-04-26T01:24:12.089Z] ---> e9f8e6a5106b [2021-04-26T01:24:12.089Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-26T01:24:12.089Z] ---> Running in 71cb207544ee [2021-04-26T01:24:12.089Z] Removing intermediate container 71cb207544ee [2021-04-26T01:24:12.089Z] ---> fb19786317fc [2021-04-26T01:24:12.089Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T01:24:12.353Z] ---> Running in 40da848a7ef3 [2021-04-26T01:24:13.305Z] Removing intermediate container 40da848a7ef3 [2021-04-26T01:24:13.305Z] ---> e307831d7817 [2021-04-26T01:24:13.305Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-26T01:24:13.305Z] ---> Running in c14853d9e129 [2021-04-26T01:24:13.878Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-26T01:24:14.452Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T01:24:14.715Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-04-26T01:24:14.976Z] (2/9) Installing libsodium (1.0.18-r0) [2021-04-26T01:24:14.976Z] (3/9) Installing pkgconf (1.7.2-r0) [2021-04-26T01:24:14.976Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-04-26T01:24:15.238Z] (5/9) Installing openssh-keygen (8.3_p1-r2) [2021-04-26T01:24:15.238Z] (6/9) Installing libedit (20191231.3.1-r0) [2021-04-26T01:24:15.238Z] (7/9) Installing openssh-client (8.3_p1-r2) [2021-04-26T01:24:15.500Z] (8/9) Installing libzmq (4.3.3-r0) [2021-04-26T01:24:15.761Z] (9/9) Installing zeromq-dev (4.3.3-r0) [2021-04-26T01:24:15.761Z] Executing busybox-1.31.1-r19.trigger [2021-04-26T01:24:15.761Z] OK: 171 MiB in 48 packages [2021-04-26T01:24:16.335Z] Removing intermediate container c14853d9e129 [2021-04-26T01:24:16.335Z] ---> 48bcc1fc79ba [2021-04-26T01:24:16.335Z] Step 8/10 : WORKDIR /device-rest-go [2021-04-26T01:24:16.597Z] ---> Running in 639b706cc0e1 [2021-04-26T01:24:16.597Z] Removing intermediate container 639b706cc0e1 [2021-04-26T01:24:16.597Z] ---> d8ae44c88193 [2021-04-26T01:24:16.597Z] Step 9/10 : COPY . . [2021-04-26T01:24:16.862Z] ---> 0527c01b132d [2021-04-26T01:24:16.862Z] Step 10/10 : RUN go mod download [2021-04-26T01:24:16.862Z] ---> Running in 19b4e284cfa3 [2021-04-26T01:24:31.729Z] Removing intermediate container 71c3f4a685dd [2021-04-26T01:24:31.729Z] ---> 5adf526b04e4 [2021-04-26T01:24:31.729Z] Successfully built 5adf526b04e4 [2021-04-26T01:24:31.729Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T01:24:32.069Z] + docker inspect -f . ci-base-image-arm64 [2021-04-26T01:24:32.069Z] . [Pipeline] withDockerContainer [2021-04-26T01:24:32.310Z] prd-ubuntu18.04-docker-arm64-4c-16g-1684 does not seem to be running inside a container [2021-04-26T01:24:32.394Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-26T01:24:34.096Z] $ docker top 7669314bf03d5306699300b1a54a9344882961da88f919ae4873b06b6a51cac5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T01:24:35.007Z] + go version [2021-04-26T01:24:35.007Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-26T01:24:35.032Z] $ docker stop --time=1 7669314bf03d5306699300b1a54a9344882961da88f919ae4873b06b6a51cac5 [2021-04-26T01:24:36.968Z] $ docker rm -f 7669314bf03d5306699300b1a54a9344882961da88f919ae4873b06b6a51cac5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-26T01:24:37.670Z] + docker inspect -f . ci-base-image-arm64 [2021-04-26T01:24:37.670Z] . [Pipeline] withDockerContainer [2021-04-26T01:24:37.899Z] prd-ubuntu18.04-docker-arm64-4c-16g-1684 does not seem to be running inside a container [2021-04-26T01:24:37.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-26T01:24:38.896Z] Removing intermediate container 19b4e284cfa3 [2021-04-26T01:24:38.896Z] ---> b1ca19771305 [2021-04-26T01:24:38.896Z] Successfully built b1ca19771305 [2021-04-26T01:24:38.896Z] Successfully tagged ci-base-image-x86_64:latest [2021-04-26T01:24:39.465Z] $ docker top 7f1d2267da936618eaa0d0cf3d7e20fb7d35bd36c31e3b6dc180c0b6938598c3 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-04-26T01:24:40.121Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-26T01:24:40.121Z] . [Pipeline] withDockerContainer [2021-04-26T01:24:40.245Z] prd-centos7-docker-4c-2g-1685 does not seem to be running inside a container [2021-04-26T01:24:40.298Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-26T01:24:40.389Z] + make test [2021-04-26T01:24:40.389Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-04-26T01:24:41.820Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-04-26T01:24:41.886Z] $ docker top eb1338a44e3e5d0d2d2cdb9454583c7b5fc597eb33ce61d359056ba88dd4a0fd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T01:24:42.298Z] + go version [2021-04-26T01:24:42.298Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-26T01:24:42.315Z] $ docker stop --time=1 eb1338a44e3e5d0d2d2cdb9454583c7b5fc597eb33ce61d359056ba88dd4a0fd [2021-04-26T01:24:43.663Z] $ docker rm -f eb1338a44e3e5d0d2d2cdb9454583c7b5fc597eb33ce61d359056ba88dd4a0fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-26T01:24:44.181Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-26T01:24:44.181Z] . [Pipeline] withDockerContainer [2021-04-26T01:24:44.288Z] prd-centos7-docker-4c-2g-1685 does not seem to be running inside a container [2021-04-26T01:24:44.340Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-26T01:24:45.020Z] $ docker top a45935549d8ceb27bb29bede72c74311e612a8a82bf0ff262e725a362f7c3fdc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T01:24:45.419Z] + make test [2021-04-26T01:24:45.420Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-04-26T01:24:46.392Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-04-26T01:25:01.645Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-04-26T01:25:01.907Z] ok github.com/edgexfoundry/device-rest-go/driver 0.021s coverage: 54.0% of statements [2021-04-26T01:25:02.173Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-26T01:25:05.543Z] gofmt -l . [2021-04-26T01:25:05.543Z] [ "`gofmt -l .`" = "" ] [2021-04-26T01:25:05.543Z] ./bin/test-go-mod-tidy.sh [2021-04-26T01:25:05.809Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-04-26T01:25:06.413Z] $ docker stop --time=1 a45935549d8ceb27bb29bede72c74311e612a8a82bf0ff262e725a362f7c3fdc [2021-04-26T01:25:08.046Z] $ docker rm -f a45935549d8ceb27bb29bede72c74311e612a8a82bf0ff262e725a362f7c3fdc [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T01:25:08.577Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-26T01:25:09.011Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-26T01:25:11.521Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-26T01:25:11.822Z] + ls -al . [2021-04-26T01:25:11.822Z] total 104 [2021-04-26T01:25:11.822Z] drwxrwxr-x. 8 jenkins jenkins 4096 Apr 26 01:25 . [2021-04-26T01:25:11.822Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 26 01:23 .. [2021-04-26T01:25:11.822Z] -rw-rw-r--. 1 jenkins jenkins 6792 Apr 26 01:23 Attribution.txt [2021-04-26T01:25:11.822Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 26 01:23 bin [2021-04-26T01:25:11.822Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 26 01:23 cmd [2021-04-26T01:25:11.822Z] -rw-r--r--. 1 jenkins jenkins 8513 Apr 26 01:25 coverage.out [2021-04-26T01:25:11.822Z] -rw-rw-r--. 1 jenkins jenkins 1602 Apr 26 01:23 Dockerfile [2021-04-26T01:25:11.822Z] -rw-rw-r--. 1 jenkins jenkins 1087 Apr 26 01:23 Dockerfile.build [2021-04-26T01:25:11.822Z] -rw-rw-r--. 1 jenkins jenkins 151 Apr 26 01:23 .dockerignore [2021-04-26T01:25:11.822Z] drwxrwxr-x. 2 jenkins jenkins 76 Apr 26 01:23 driver [2021-04-26T01:25:11.822Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 26 01:23 .git [2021-04-26T01:25:11.822Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 26 01:23 .github [2021-04-26T01:25:11.822Z] -rw-rw-r--. 1 jenkins jenkins 339 Apr 26 01:23 .gitignore [2021-04-26T01:25:11.822Z] -rw-r--r--. 1 jenkins jenkins 285 Apr 26 01:25 go.mod [2021-04-26T01:25:11.822Z] -rw-r--r--. 1 jenkins jenkins 21331 Apr 26 01:25 go.sum [2021-04-26T01:25:11.822Z] -rw-rw-r--. 1 jenkins jenkins 680 Apr 26 01:23 Jenkinsfile [2021-04-26T01:25:11.822Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 26 01:23 LICENSE [2021-04-26T01:25:11.822Z] -rw-rw-r--. 1 jenkins jenkins 996 Apr 26 01:23 Makefile [2021-04-26T01:25:11.822Z] -rw-rw-r--. 1 jenkins jenkins 7667 Apr 26 01:23 README.md [2021-04-26T01:25:11.822Z] drwxrwxr-x. 4 jenkins jenkins 71 Apr 26 01:23 snap [2021-04-26T01:25:11.822Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 26 01:20 VERSION [2021-04-26T01:25:11.822Z] -rw-rw-r--. 1 jenkins jenkins 713 Apr 26 01:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-26T01:25:12.133Z] + 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=a01389db03e73741bef670245b5833c1ca7b1b8a --label arch=amd64 --label version=0.0.0 . [2021-04-26T01:25:12.133Z] Sending build context to Docker daemon 102.9kB [2021-04-26T01:25:12.133Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T01:25:12.133Z] Step 2/24 : FROM ${BASE} AS builder [2021-04-26T01:25:12.133Z] ---> b1ca19771305 [2021-04-26T01:25:12.133Z] Step 3/24 : ARG MAKE='make build' [2021-04-26T01:25:12.398Z] ---> Running in ce5c81d2690a [2021-04-26T01:25:12.398Z] Removing intermediate container ce5c81d2690a [2021-04-26T01:25:12.398Z] ---> 49516f7eeb67 [2021-04-26T01:25:12.398Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-26T01:25:12.662Z] ---> Running in b2b0fd755857 [2021-04-26T01:25:12.662Z] Removing intermediate container b2b0fd755857 [2021-04-26T01:25:12.662Z] ---> e6d3e29700ee [2021-04-26T01:25:12.662Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-04-26T01:25:12.662Z] ---> Running in 44418aee51b0 [2021-04-26T01:25:12.925Z] Removing intermediate container 44418aee51b0 [2021-04-26T01:25:12.925Z] ---> 07fa6d0e9779 [2021-04-26T01:25:12.925Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T01:25:12.925Z] ---> Running in 8e1f886e684b [2021-04-26T01:25:13.879Z] Removing intermediate container 8e1f886e684b [2021-04-26T01:25:13.879Z] ---> ce79b092f1d7 [2021-04-26T01:25:13.879Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-26T01:25:13.879Z] ---> Running in 10758e266241 [2021-04-26T01:25:14.459Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-26T01:25:15.034Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T01:25:15.608Z] OK: 171 MiB in 48 packages [2021-04-26T01:25:15.871Z] Removing intermediate container 10758e266241 [2021-04-26T01:25:15.871Z] ---> cea9f7765fba [2021-04-26T01:25:15.871Z] Step 8/24 : WORKDIR /device-rest-go [2021-04-26T01:25:15.871Z] ---> Running in 2e4a9bc37b1b [2021-04-26T01:25:16.135Z] Removing intermediate container 2e4a9bc37b1b [2021-04-26T01:25:16.135Z] ---> cc7d9b5d6a41 [2021-04-26T01:25:16.135Z] Step 9/24 : COPY . . [2021-04-26T01:25:16.398Z] ---> 1bc61caadaa5 [2021-04-26T01:25:16.398Z] Step 10/24 : RUN make update [2021-04-26T01:25:16.398Z] ---> Running in 65061ceb7bc6 [2021-04-26T01:25:16.976Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-04-26T01:25:17.572Z] Removing intermediate container 65061ceb7bc6 [2021-04-26T01:25:17.572Z] ---> 7b14a9e5f816 [2021-04-26T01:25:17.572Z] Step 11/24 : RUN $MAKE [2021-04-26T01:25:17.572Z] ---> Running in 008d93c7107a [2021-04-26T01:25:18.162Z] 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-26T01:25:28.857Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-04-26T01:25:28.857Z] ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 54.0% of statements [2021-04-26T01:25:28.857Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-26T01:25:30.567Z] Removing intermediate container 008d93c7107a [2021-04-26T01:25:30.567Z] ---> d6bec764e5ac [2021-04-26T01:25:30.567Z] Step 12/24 : FROM alpine:3.12 [2021-04-26T01:25:30.567Z] 3.12: Pulling from library/alpine [2021-04-26T01:25:30.829Z] 339de151aab4: Pulling fs layer [2021-04-26T01:25:30.829Z] 339de151aab4: Verifying Checksum [2021-04-26T01:25:30.829Z] 339de151aab4: Download complete [2021-04-26T01:25:31.092Z] 339de151aab4: Pull complete [2021-04-26T01:25:31.092Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-26T01:25:31.092Z] Status: Downloaded newer image for alpine:3.12 [2021-04-26T01:25:31.092Z] ---> 13621d1b12d4 [2021-04-26T01:25:31.092Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-26T01:25:31.356Z] ---> Running in 2d78c4edbadc [2021-04-26T01:25:31.621Z] Removing intermediate container 2d78c4edbadc [2021-04-26T01:25:31.621Z] ---> b42f2da5699f [2021-04-26T01:25:31.621Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-04-26T01:25:31.621Z] ---> Running in 2581ca4c8c34 [2021-04-26T01:25:31.621Z] Removing intermediate container 2581ca4c8c34 [2021-04-26T01:25:31.621Z] ---> 892686d7e011 [2021-04-26T01:25:31.621Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-26T01:25:31.890Z] ---> Running in 6e4eac1f3ae0 [2021-04-26T01:25:32.153Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-26T01:25:32.415Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T01:25:32.415Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-26T01:25:32.415Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-26T01:25:32.415Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-26T01:25:32.415Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-26T01:25:32.415Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-26T01:25:32.415Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-26T01:25:32.415Z] Executing busybox-1.31.1-r20.trigger [2021-04-26T01:25:32.686Z] OK: 8 MiB in 20 packages [2021-04-26T01:25:32.949Z] Removing intermediate container 6e4eac1f3ae0 [2021-04-26T01:25:32.949Z] ---> f9be600c5e99 [2021-04-26T01:25:32.949Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-04-26T01:25:33.532Z] ---> f66bd44ea18a [2021-04-26T01:25:33.532Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-04-26T01:25:34.112Z] ---> 3f025db3702f [2021-04-26T01:25:34.112Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-04-26T01:25:34.112Z] ---> a4a250072038 [2021-04-26T01:25:34.112Z] Step 19/24 : EXPOSE 49986 [2021-04-26T01:25:34.385Z] ---> Running in b784be563036 [2021-04-26T01:25:34.386Z] Removing intermediate container b784be563036 [2021-04-26T01:25:34.386Z] ---> 1e8be4af6761 [2021-04-26T01:25:34.386Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-04-26T01:25:34.386Z] ---> Running in 7cb6b90579d7 [2021-04-26T01:25:34.649Z] Removing intermediate container 7cb6b90579d7 [2021-04-26T01:25:34.649Z] ---> 719a289d9a6b [2021-04-26T01:25:34.649Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-04-26T01:25:34.649Z] ---> Running in 7478e7d6c17a [2021-04-26T01:25:34.912Z] Removing intermediate container 7478e7d6c17a [2021-04-26T01:25:34.912Z] ---> 9c30282d83e5 [2021-04-26T01:25:34.912Z] Step 22/24 : LABEL arch=amd64 [2021-04-26T01:25:34.912Z] ---> Running in e675b8c783cb [2021-04-26T01:25:35.174Z] Removing intermediate container e675b8c783cb [2021-04-26T01:25:35.174Z] ---> 393234a2118d [2021-04-26T01:25:35.174Z] Step 23/24 : LABEL git_sha=a01389db03e73741bef670245b5833c1ca7b1b8a [2021-04-26T01:25:35.174Z] ---> Running in 61b6f951bed8 [2021-04-26T01:25:35.445Z] Removing intermediate container 61b6f951bed8 [2021-04-26T01:25:35.445Z] ---> 12a9da073f17 [2021-04-26T01:25:35.445Z] Step 24/24 : LABEL version=0.0.0 [2021-04-26T01:25:35.445Z] ---> Running in 8437f775e111 [2021-04-26T01:25:35.445Z] Removing intermediate container 8437f775e111 [2021-04-26T01:25:35.445Z] ---> 75e452169ebc [2021-04-26T01:25:35.445Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-26T01:25:35.445Z] Successfully built 75e452169ebc [2021-04-26T01:25:35.616Z] gofmt -l . [2021-04-26T01:25:35.708Z] 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] } [2021-04-26T01:25:35.890Z] [ "`gofmt -l .`" = "" ] [2021-04-26T01:25:35.890Z] ./bin/test-go-mod-tidy.sh [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-26T01:25:36.391Z] ---> job-cost.sh [2021-04-26T01:25:36.391Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0LHX [2021-04-26T01:25:36.485Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-04-26T01:25:37.944Z] $ docker stop --time=1 7f1d2267da936618eaa0d0cf3d7e20fb7d35bd36c31e3b6dc180c0b6938598c3 [2021-04-26T01:25:40.168Z] $ docker rm -f 7f1d2267da936618eaa0d0cf3d7e20fb7d35bd36c31e3b6dc180c0b6938598c3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T01:25:41.009Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-26T01:25:41.030Z] Warning: overwriting stash ‘coverage-report’ [2021-04-26T01:25:41.902Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T01:25:42.374Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-26T01:25:42.753Z] + ls -al . [2021-04-26T01:25:42.754Z] total 132 [2021-04-26T01:25:42.754Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 01:25 . [2021-04-26T01:25:42.754Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 01:23 .. [2021-04-26T01:25:42.754Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 26 01:23 .dockerignore [2021-04-26T01:25:42.754Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 01:23 .git [2021-04-26T01:25:42.754Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 01:23 .github [2021-04-26T01:25:42.754Z] -rw-rw-r-- 1 jenkins jenkins 339 Apr 26 01:23 .gitignore [2021-04-26T01:25:42.754Z] -rw-rw-r-- 1 jenkins jenkins 6792 Apr 26 01:23 Attribution.txt [2021-04-26T01:25:42.754Z] -rw-rw-r-- 1 jenkins jenkins 1602 Apr 26 01:23 Dockerfile [2021-04-26T01:25:42.754Z] -rw-rw-r-- 1 jenkins jenkins 1087 Apr 26 01:23 Dockerfile.build [2021-04-26T01:25:42.754Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 26 01:23 Jenkinsfile [2021-04-26T01:25:42.754Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 01:23 LICENSE [2021-04-26T01:25:42.754Z] -rw-rw-r-- 1 jenkins jenkins 996 Apr 26 01:23 Makefile [2021-04-26T01:25:42.754Z] -rw-rw-r-- 1 jenkins jenkins 7667 Apr 26 01:23 README.md [2021-04-26T01:25:42.754Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 01:20 VERSION [2021-04-26T01:25:42.754Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 01:23 bin [2021-04-26T01:25:42.754Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 01:23 cmd [2021-04-26T01:25:42.754Z] -rw-r--r-- 1 jenkins jenkins 8513 Apr 26 01:25 coverage.out [2021-04-26T01:25:42.754Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 01:23 driver [2021-04-26T01:25:42.754Z] -rw-r--r-- 1 jenkins jenkins 285 Apr 26 01:25 go.mod [2021-04-26T01:25:42.754Z] -rw-r--r-- 1 jenkins jenkins 21331 Apr 26 01:25 go.sum [2021-04-26T01:25:42.754Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 01:23 snap [2021-04-26T01:25:42.754Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 26 01:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-26T01:25:43.160Z] + 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=a01389db03e73741bef670245b5833c1ca7b1b8a --label arch=arm64 --label version=0.0.0 . [2021-04-26T01:25:43.160Z] Sending build context to Docker daemon 102.9kB [2021-04-26T01:25:43.792Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T01:25:43.792Z] Step 2/24 : FROM ${BASE} AS builder [2021-04-26T01:25:43.792Z] ---> 5adf526b04e4 [2021-04-26T01:25:43.792Z] Step 3/24 : ARG MAKE='make build' [2021-04-26T01:25:43.792Z] ---> Running in 4f2534a63dda [2021-04-26T01:25:44.413Z] Removing intermediate container 4f2534a63dda [2021-04-26T01:25:44.413Z] ---> 32145507d2f3 [2021-04-26T01:25:44.413Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-26T01:25:44.413Z] ---> Running in 4e3c3194a951 [2021-04-26T01:25:45.006Z] Removing intermediate container 4e3c3194a951 [2021-04-26T01:25:45.006Z] ---> 341640e2f10d [2021-04-26T01:25:45.006Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-04-26T01:25:45.006Z] ---> Running in 1fce868fd683 [2021-04-26T01:25:45.602Z] Removing intermediate container 1fce868fd683 [2021-04-26T01:25:45.602Z] ---> 452d177c3f29 [2021-04-26T01:25:45.602Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T01:25:45.602Z] ---> Running in 6e217333b1db [2021-04-26T01:25:47.573Z] Removing intermediate container 6e217333b1db [2021-04-26T01:25:47.573Z] ---> 65f1ba3c7d29 [2021-04-26T01:25:47.573Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-26T01:25:47.846Z] ---> Running in 4d0b056c5785 [2021-04-26T01:25:48.826Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-26T01:25:49.800Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-26T01:25:50.399Z] OK: 148 MiB in 48 packages [2021-04-26T01:25:51.332Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-26T01:25:51.377Z] Removing intermediate container 4d0b056c5785 [2021-04-26T01:25:51.377Z] ---> 3f4b935c0784 [2021-04-26T01:25:51.377Z] Step 8/24 : WORKDIR /device-rest-go [2021-04-26T01:25:51.649Z] ---> Running in bce17c497247 [2021-04-26T01:25:52.245Z] Removing intermediate container bce17c497247 [2021-04-26T01:25:52.245Z] ---> b07147802969 [2021-04-26T01:25:52.245Z] Step 9/24 : COPY . . [2021-04-26T01:25:52.839Z] ---> 04da8fe44f1f [2021-04-26T01:25:52.839Z] Step 10/24 : RUN make update [2021-04-26T01:25:53.116Z] ---> Running in c617666d5786 [2021-04-26T01:25:54.099Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-04-26T01:25:55.095Z] Removing intermediate container c617666d5786 [2021-04-26T01:25:55.095Z] ---> c4704c229e39 [2021-04-26T01:25:55.095Z] Step 11/24 : RUN $MAKE [2021-04-26T01:25:55.371Z] ---> Running in dea0d91cd486 [2021-04-26T01:25:56.353Z] 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-26T01:26:17.980Z] lf-activate-venv(): INFO: Adding /tmp/venv-0LHX/bin to PATH [2021-04-26T01:26:17.980Z] INFO: No Stack... [2021-04-26T01:26:17.980Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-26T01:26:17.980Z] INFO: Archiving Costs [Pipeline] sh [2021-04-26T01:26:18.294Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-04-26T01:26:18.294Z] + cut -d, -f6 [Pipeline] lock [2021-04-26T01:26:18.383Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-79-2-stack-cost] [2021-04-26T01:26:18.396Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-79-2-stack-cost] did not exist. Created. [2021-04-26T01:26:18.396Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-79-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-26T01:26:18.725Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-26T01:26:18.854Z] Stashed 1 file(s) [Pipeline] } [2021-04-26T01:26:18.863Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-79-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-26T01:26:35.348Z] Removing intermediate container dea0d91cd486 [2021-04-26T01:26:35.348Z] ---> 8b75061bc56d [2021-04-26T01:26:35.348Z] Step 12/24 : FROM alpine:3.12 [2021-04-26T01:26:35.348Z] 3.12: Pulling from library/alpine [2021-04-26T01:26:35.348Z] d2f70382dc9a: Pulling fs layer [2021-04-26T01:26:35.348Z] d2f70382dc9a: Verifying Checksum [2021-04-26T01:26:35.348Z] d2f70382dc9a: Download complete [2021-04-26T01:26:35.348Z] d2f70382dc9a: Pull complete [2021-04-26T01:26:35.348Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-26T01:26:35.348Z] Status: Downloaded newer image for alpine:3.12 [2021-04-26T01:26:35.348Z] ---> 9852663dfa18 [2021-04-26T01:26:35.348Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-26T01:26:35.348Z] ---> Running in 8618dc41c5f9 [2021-04-26T01:26:35.348Z] Removing intermediate container 8618dc41c5f9 [2021-04-26T01:26:35.348Z] ---> 863f68b1dcca [2021-04-26T01:26:35.348Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-04-26T01:26:35.621Z] ---> Running in 5f6f52f1484b [2021-04-26T01:26:35.892Z] Removing intermediate container 5f6f52f1484b [2021-04-26T01:26:35.892Z] ---> 41e094a444d7 [2021-04-26T01:26:35.892Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-26T01:26:36.166Z] ---> Running in 2abf18414059 [2021-04-26T01:26:37.144Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-26T01:26:37.417Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-26T01:26:38.011Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-26T01:26:38.285Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-26T01:26:38.285Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-26T01:26:38.285Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-26T01:26:38.285Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-26T01:26:38.285Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-26T01:26:38.285Z] Executing busybox-1.31.1-r20.trigger [2021-04-26T01:26:38.285Z] OK: 8 MiB in 20 packages [2021-04-26T01:26:39.716Z] Removing intermediate container 2abf18414059 [2021-04-26T01:26:39.716Z] ---> b1412e6e8b37 [2021-04-26T01:26:39.716Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-04-26T01:26:40.689Z] ---> 6074b17b28c8 [2021-04-26T01:26:40.690Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-04-26T01:26:41.286Z] ---> 1f4e2584e208 [2021-04-26T01:26:41.286Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-04-26T01:26:41.881Z] ---> 5958cf0b9a71 [2021-04-26T01:26:41.881Z] Step 19/24 : EXPOSE 49986 [2021-04-26T01:26:42.156Z] ---> Running in f527f94285c1 [2021-04-26T01:26:42.428Z] Removing intermediate container f527f94285c1 [2021-04-26T01:26:42.429Z] ---> 26ace65da29a [2021-04-26T01:26:42.429Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-04-26T01:26:42.701Z] ---> Running in 494bf428c1bc [2021-04-26T01:26:43.296Z] Removing intermediate container 494bf428c1bc [2021-04-26T01:26:43.296Z] ---> 9d35fb5d31f1 [2021-04-26T01:26:43.296Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-04-26T01:26:43.296Z] ---> Running in 905521449d7b [2021-04-26T01:26:43.567Z] Removing intermediate container 905521449d7b [2021-04-26T01:26:43.567Z] ---> ee995a49f92c [2021-04-26T01:26:43.567Z] Step 22/24 : LABEL arch=arm64 [2021-04-26T01:26:43.840Z] ---> Running in 6955ef83ff2c [2021-04-26T01:26:44.433Z] Removing intermediate container 6955ef83ff2c [2021-04-26T01:26:44.433Z] ---> 1ee7136e37e5 [2021-04-26T01:26:44.433Z] Step 23/24 : LABEL git_sha=a01389db03e73741bef670245b5833c1ca7b1b8a [2021-04-26T01:26:44.433Z] ---> Running in 5e0e7f60c5b2 [2021-04-26T01:26:44.707Z] Removing intermediate container 5e0e7f60c5b2 [2021-04-26T01:26:44.707Z] ---> 2596421237cd [2021-04-26T01:26:44.707Z] Step 24/24 : LABEL version=0.0.0 [2021-04-26T01:26:44.987Z] ---> Running in 0ca2c984acdf [2021-04-26T01:26:45.579Z] Removing intermediate container 0ca2c984acdf [2021-04-26T01:26:45.580Z] ---> 78255488d0a4 [2021-04-26T01:26:45.580Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-26T01:26:45.580Z] Successfully built 78255488d0a4 [2021-04-26T01:26:45.580Z] 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-26T01:26:46.037Z] ---> job-cost.sh [2021-04-26T01:26:46.037Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wMaC [2021-04-26T01:27:24.988Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-26T01:29:02.037Z] lf-activate-venv(): INFO: Adding /tmp/venv-wMaC/bin to PATH [2021-04-26T01:29:02.037Z] INFO: No Stack... [2021-04-26T01:29:02.037Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-26T01:29:02.037Z] INFO: Archiving Costs [Pipeline] sh [2021-04-26T01:29:02.379Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-04-26T01:29:02.379Z] + cut -d, -f6 [Pipeline] lock [2021-04-26T01:29:02.492Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-79-2-stack-cost] [2021-04-26T01:29:02.504Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-79-2-stack-cost] did not exist. Created. [2021-04-26T01:29:02.505Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-79-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-26T01:29:02.871Z] /w/workspace/device-rest-go/2@tmp/durable-4f279e83/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-4f279e83/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-26T01:29:03.209Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-26T01:29:03.227Z] Warning: overwriting stash ‘stack-cost’ [2021-04-26T01:29:03.373Z] Stashed 1 file(s) [Pipeline] } [2021-04-26T01:29:03.386Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-79-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-04-26T01:29:03.967Z] provisioning config files... [2021-04-26T01:29:03.981Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/config8479776902126318503tmp [Pipeline] { [Pipeline] sh [2021-04-26T01:29:04.317Z] + set +x [2021-04-26T01:29:04.317Z] + curl -s https://codecov.io/bash [2021-04-26T01:29:04.317Z] + bash -s -- [2021-04-26T01:29:04.585Z] [2021-04-26T01:29:04.585Z] _____ _ [2021-04-26T01:29:04.585Z] / ____| | | [2021-04-26T01:29:04.585Z] | | ___ __| | ___ ___ _____ __ [2021-04-26T01:29:04.585Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-26T01:29:04.585Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-26T01:29:04.585Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-26T01:29:04.585Z] Bash-1.0.2 [2021-04-26T01:29:04.585Z] [2021-04-26T01:29:04.585Z] [2021-04-26T01:29:04.585Z] ==> git version 2.24.3 found [2021-04-26T01:29:04.585Z] ==> 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-26T01:29:04.585Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-26T01:29:04.585Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-26T01:29:04.585Z] ==> Jenkins CI detected. [2021-04-26T01:29:04.585Z] project root: . [2021-04-26T01:29:04.585Z] --> token set from env [2021-04-26T01:29:04.585Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-26T01:29:04.585Z] ==> Running gcov in . (disable via -X gcov) [2021-04-26T01:29:04.585Z] ==> Python coveragepy not found [2021-04-26T01:29:04.585Z] ==> Searching for coverage reports in: [2021-04-26T01:29:04.585Z] + . [2021-04-26T01:29:04.585Z] -> Found 1 reports [2021-04-26T01:29:04.585Z] ==> Detecting git/mercurial file structure [2021-04-26T01:29:04.585Z] ==> Reading reports [2021-04-26T01:29:04.585Z] + ./coverage.out bytes=8513 [2021-04-26T01:29:04.585Z] ==> Appending adjustments [2021-04-26T01:29:04.585Z] https://docs.codecov.io/docs/fixing-reports [2021-04-26T01:29:04.849Z] + Found adjustments [2021-04-26T01:29:04.849Z] ==> Gzipping contents [2021-04-26T01:29:04.849Z] 4.0K /tmp/codecov.Scfi0m.gz [2021-04-26T01:29:04.849Z] ==> Uploading reports [2021-04-26T01:29:04.849Z] url: https://codecov.io [2021-04-26T01:29:04.849Z] query: branch=PR-79&commit=a01389db03e73741bef670245b5833c1ca7b1b8a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-79%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=79&job=&cmd_args= [2021-04-26T01:29:04.849Z] -> Pinging Codecov [2021-04-26T01:29:04.849Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-79&commit=a01389db03e73741bef670245b5833c1ca7b1b8a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-79%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=79&job=&cmd_args= [2021-04-26T01:29:05.428Z] -> Uploading to [2021-04-26T01:29:05.428Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-26/4E5D53B4F1F92C436F7061BF334D961C/a01389db03e73741bef670245b5833c1ca7b1b8a/24c203bc-53ed-417c-8da5-1beefff9d654.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210426T012905Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c97fb483351e44abf8a4b428a590f72ac9348a120c988787b3499e4779ee1d77 [2021-04-26T01:29:05.428Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-26T01:29:05.428Z] Dload Upload Total Spent Left Speed [2021-04-26T01:29:05.692Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3542 --:--:-- --:--:-- --:--:-- 3540 100 1611 0 0 100 1611 0 3540 --:--:-- --:--:-- --:--:-- 3540 [2021-04-26T01:29:05.692Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/a01389db03e73741bef670245b5833c1ca7b1b8a [Pipeline] } [2021-04-26T01:29:05.703Z] 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-26T01:29:06.774Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T01:29:07.346Z] ---> package-listing.sh [2021-04-26T01:29:07.346Z] ++ facter osfamily [2021-04-26T01:29:07.346Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-26T01:29:07.346Z] + OS_FAMILY=redhat [2021-04-26T01:29:07.346Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-79 [2021-04-26T01:29:07.346Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-26T01:29:07.346Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-26T01:29:07.346Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-26T01:29:07.346Z] + PACKAGES=/tmp/packages_start.txt [2021-04-26T01:29:07.346Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-79 ']' [2021-04-26T01:29:07.346Z] + PACKAGES=/tmp/packages_end.txt [2021-04-26T01:29:07.346Z] + case "${OS_FAMILY}" in [2021-04-26T01:29:07.346Z] + rpm -qa [2021-04-26T01:29:07.346Z] + sort [2021-04-26T01:29:12.679Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-26T01:29:12.679Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-26T01:29:12.679Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-26T01:29:12.679Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-79 ']' [2021-04-26T01:29:12.679Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-79/archives/ [2021-04-26T01:29:12.679Z] + 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-26T01:29:12.696Z] 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-26T01:29:13.001Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-26T01:29:13.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T01:29:13.615Z] [2021-04-26T01:29:13.615Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-26T01:29:13.948Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T01:29:13.948Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-26T01:29:13.948Z] df20fa9351a1: Pulling fs layer [2021-04-26T01:29:13.948Z] 36b3adc4ff6f: Pulling fs layer [2021-04-26T01:29:13.948Z] 8ad3a11d3b57: Pulling fs layer [2021-04-26T01:29:13.948Z] 46f8f816bc3b: Pulling fs layer [2021-04-26T01:29:13.948Z] 93b61091891f: Pulling fs layer [2021-04-26T01:29:13.948Z] 93b9cdb0e59b: Pulling fs layer [2021-04-26T01:29:13.948Z] 5e14af77c1be: Pulling fs layer [2021-04-26T01:29:13.948Z] 01666e4c0597: Pulling fs layer [2021-04-26T01:29:13.948Z] aa168da1d23b: Pulling fs layer [2021-04-26T01:29:13.948Z] 46f8f816bc3b: Waiting [2021-04-26T01:29:13.948Z] 93b61091891f: Waiting [2021-04-26T01:29:13.948Z] 93b9cdb0e59b: Waiting [2021-04-26T01:29:13.948Z] 5e14af77c1be: Waiting [2021-04-26T01:29:13.948Z] 01666e4c0597: Waiting [2021-04-26T01:29:13.948Z] aa168da1d23b: Waiting [2021-04-26T01:29:13.948Z] 36b3adc4ff6f: Verifying Checksum [2021-04-26T01:29:13.948Z] 36b3adc4ff6f: Download complete [2021-04-26T01:29:13.948Z] 46f8f816bc3b: Download complete [2021-04-26T01:29:14.215Z] df20fa9351a1: Verifying Checksum [2021-04-26T01:29:14.215Z] df20fa9351a1: Download complete [2021-04-26T01:29:14.215Z] 93b9cdb0e59b: Verifying Checksum [2021-04-26T01:29:14.215Z] 93b9cdb0e59b: Download complete [2021-04-26T01:29:14.215Z] 5e14af77c1be: Verifying Checksum [2021-04-26T01:29:14.215Z] 5e14af77c1be: Download complete [2021-04-26T01:29:14.215Z] 01666e4c0597: Verifying Checksum [2021-04-26T01:29:14.215Z] 01666e4c0597: Download complete [2021-04-26T01:29:14.215Z] 93b61091891f: Verifying Checksum [2021-04-26T01:29:14.215Z] 93b61091891f: Download complete [2021-04-26T01:29:14.482Z] df20fa9351a1: Pull complete [2021-04-26T01:29:14.749Z] 8ad3a11d3b57: Verifying Checksum [2021-04-26T01:29:14.749Z] 8ad3a11d3b57: Download complete [2021-04-26T01:29:15.014Z] 36b3adc4ff6f: Pull complete [2021-04-26T01:29:16.000Z] 8ad3a11d3b57: Pull complete [2021-04-26T01:29:16.000Z] 46f8f816bc3b: Pull complete [2021-04-26T01:29:16.962Z] 93b61091891f: Pull complete [2021-04-26T01:29:17.226Z] aa168da1d23b: Verifying Checksum [2021-04-26T01:29:17.226Z] aa168da1d23b: Download complete [2021-04-26T01:29:17.226Z] 93b9cdb0e59b: Pull complete [2021-04-26T01:29:17.490Z] 5e14af77c1be: Pull complete [2021-04-26T01:29:17.490Z] 01666e4c0597: Pull complete [2021-04-26T01:29:25.700Z] aa168da1d23b: Pull complete [2021-04-26T01:29:25.700Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-26T01:29:25.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T01:29:25.700Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-26T01:29:25.860Z] prd-centos7-docker-4c-2g-1683 does not seem to be running inside a container [2021-04-26T01:29:25.916Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-26T01:29:29.605Z] $ docker top 5b01432a4cf505eb9b4442bfffd97af590e4135131049bf1b8d1c67f436587fa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T01:29:30.165Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-26T01:29:30.496Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-26T01:29:30.804Z] + ls /var/log/sa-host [2021-04-26T01:29:30.804Z] + sadf -c /var/log/sa-host/sa23 [2021-04-26T01:29:30.804Z] file_magic: OK [2021-04-26T01:29:30.804Z] HZ: Using current value: 100 [2021-04-26T01:29:30.804Z] file_header: OK [2021-04-26T01:29:30.804Z] 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-26T01:29:30.804Z] Statistics: [2021-04-26T01:29:30.804Z] Hnuu...uuuununununu... [2021-04-26T01:29:30.804Z] File successfully converted to sysstat format version 12.2.1 [2021-04-26T01:29:30.804Z] + sadf -c /var/log/sa-host/sa26 [2021-04-26T01:29:30.804Z] file_magic: OK [2021-04-26T01:29:30.804Z] HZ: Using current value: 100 [2021-04-26T01:29:30.804Z] file_header: OK [2021-04-26T01:29:30.804Z] 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-26T01:29:30.804Z] Statistics: [2021-04-26T01:29:30.804Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-26T01:29:30.804Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-26T01:29:31.414Z] provisioning config files... [2021-04-26T01:29:31.433Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/config2420852074683393932tmp [Pipeline] { [Pipeline] echo [2021-04-26T01:29:31.457Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T01:29:31.763Z] ---> create-netrc.sh [Pipeline] } [2021-04-26T01:29:31.772Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-26T01:29:31.800Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T01:29:32.100Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-26T01:29:32.114Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T01:29:32.415Z] ---> sudo-logs.sh [2021-04-26T01:29:32.416Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-26T01:29:32.444Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T01:29:32.752Z] ---> job-cost.sh [2021-04-26T01:29:32.752Z] lf-activate-venv: SKIPPING [2021-04-26T01:29:32.752Z] DEBUG: total: 0.20999999344348907 [2021-04-26T01:29:32.752Z] INFO: Retrieving Stack Cost... [2021-04-26T01:29:33.702Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-26T01:29:34.277Z] INFO: Archiving Costs [Pipeline] echo [2021-04-26T01:29:34.292Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T01:29:34.597Z] ---> logs-deploy.sh [2021-04-26T01:29:34.597Z] lf-activate-venv: SKIPPING [2021-04-26T01:29:34.597Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-79/2 [2021-04-26T01:29:34.597Z] INFO: archiving workspace using pattern(s): [2021-04-26T01:29:36.535Z] Archives upload complete. [2021-04-26T01:29:36.535Z] INFO: archiving logs to Nexus