Pull request #76 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-rest-go Obtained Jenkinsfile from c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa+abd24f16bfefa7889687f83d2fc8de1c385cee13 (30d8e1addc14be16780194f98365b9cacebfa195) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-76/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-76/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-21413 in /w/workspace/dgexfoundry_device-rest-go_PR-76 [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-76 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit abd24f16bfefa7889687f83d2fc8de1c385cee13 into PR head commit c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa Merge succeeded, producing c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa Checking out Revision c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa (PR-76) > 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/76/head:refs/remotes/origin/PR-76 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa # 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 abd24f16bfefa7889687f83d2fc8de1c385cee13 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa # timeout=10 Commit message: "ci: add semantic.yml for commit linting, update PR template to latest" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-20T00:24:16.912Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-20T00:24:17.369Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-20T00:24:17.697Z] ========================================================= [2021-01-20T00:24:17.697Z] EdgeX Global Pipelines Version Info [2021-01-20T00:24:17.697Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-20T00:24:19.239Z] ------------------- [2021-01-20T00:24:19.239Z] stable info: [2021-01-20T00:24:19.239Z] ------------------- [2021-01-20T00:24:19.239Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-20T00:24:19.239Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T00:24:19.239Z] Message: update stable to v1.0.179 [2021-01-20T00:24:20.202Z] ------------------- [2021-01-20T00:24:20.202Z] experimental info: [2021-01-20T00:24:20.202Z] ------------------- [2021-01-20T00:24:20.202Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-20T00:24:20.202Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-20T00:24:20.202Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-20T00:24:20.660Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-01-20T00:24:20.779Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-01-20T00:24:20.906Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-20T00:24:21.026Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-20T00:24:21.145Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-20T00:24:21.271Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-20T00:24:21.474Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-20T00:24:21.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-20T00:24:21.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-20T00:24:21.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-20T00:24:21.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-20T00:24:22.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-01-20T00:24:22.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-20T00:24:22.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-20T00:24:22.478Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-20T00:24:22.607Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-20T00:24:22.744Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T00:24:22.865Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-20T00:24:22.990Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-20T00:24:23.119Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-20T00:24:23.285Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-20T00:24:23.404Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-20T00:24:23.565Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-20T00:24:23.689Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-20T00:24:23.857Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-20T00:24:23.977Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-20T00:24:24.102Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-20T00:24:24.223Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-76 [Pipeline] echo [2021-01-20T00:24:24.346Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-76 [Pipeline] echo [2021-01-20T00:24:24.492Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-76 [Pipeline] echo [2021-01-20T00:24:24.644Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa [Pipeline] echo [2021-01-20T00:24:24.767Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c3aa815 [Pipeline] echo [2021-01-20T00:24:24.899Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T00:24:25.146Z] provisioning config files... [2021-01-20T00:24:25.181Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-76@tmp/config8909012472180433722tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T00:24:25.609Z] ---> docker-login.sh [2021-01-20T00:24:25.609Z] nexus3.edgexfoundry.org:10001 [2021-01-20T00:24:25.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T00:24:26.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T00:24:26.137Z] Configure a credential helper to remove this warning. See [2021-01-20T00:24:26.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T00:24:26.137Z] [2021-01-20T00:24:26.137Z] Login Succeeded [2021-01-20T00:24:26.137Z] nexus3.edgexfoundry.org:10002 [2021-01-20T00:24:26.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T00:24:26.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T00:24:26.401Z] Configure a credential helper to remove this warning. See [2021-01-20T00:24:26.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T00:24:26.401Z] [2021-01-20T00:24:26.401Z] Login Succeeded [2021-01-20T00:24:26.401Z] nexus3.edgexfoundry.org:10003 [2021-01-20T00:24:26.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T00:24:26.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T00:24:26.401Z] Configure a credential helper to remove this warning. See [2021-01-20T00:24:26.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T00:24:26.401Z] [2021-01-20T00:24:26.401Z] Login Succeeded [2021-01-20T00:24:26.401Z] nexus3.edgexfoundry.org:10004 [2021-01-20T00:24:26.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T00:24:26.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T00:24:26.666Z] Configure a credential helper to remove this warning. See [2021-01-20T00:24:26.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T00:24:26.666Z] [2021-01-20T00:24:26.666Z] Login Succeeded [2021-01-20T00:24:26.666Z] docker.io [2021-01-20T00:24:26.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T00:24:27.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T00:24:27.192Z] Configure a credential helper to remove this warning. See [2021-01-20T00:24:27.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T00:24:27.192Z] [2021-01-20T00:24:27.192Z] Login Succeeded [2021-01-20T00:24:27.192Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T00:24:27.225Z] 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-01-20T00:24:28.334Z] + git log --format=format:%s -1 c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa [Pipeline] echo [2021-01-20T00:24:28.433Z] GIT_COMMIT: c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa, Commit Message: ci: add semantic.yml for commit linting, update PR template to latest [Pipeline] echo [2021-01-20T00:24:28.507Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-20T00:24:29.217Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T00:24:29.217Z] [2021-01-20T00:24:29.217Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T00:24:29.630Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T00:24:29.630Z] latest: Pulling from edgex-devops/git-semver [2021-01-20T00:24:29.630Z] 31603596830f: Pulling fs layer [2021-01-20T00:24:29.630Z] 2a8b12db71e7: Pulling fs layer [2021-01-20T00:24:29.630Z] 6ca5941a6612: Pulling fs layer [2021-01-20T00:24:29.630Z] ecc8261a40a4: Pulling fs layer [2021-01-20T00:24:29.630Z] ecc8261a40a4: Waiting [2021-01-20T00:24:29.630Z] 2a8b12db71e7: Verifying Checksum [2021-01-20T00:24:29.630Z] 2a8b12db71e7: Download complete [2021-01-20T00:24:29.904Z] ecc8261a40a4: Verifying Checksum [2021-01-20T00:24:29.904Z] ecc8261a40a4: Download complete [2021-01-20T00:24:30.198Z] 31603596830f: Verifying Checksum [2021-01-20T00:24:30.198Z] 31603596830f: Download complete [2021-01-20T00:24:30.198Z] 6ca5941a6612: Verifying Checksum [2021-01-20T00:24:30.198Z] 6ca5941a6612: Download complete [2021-01-20T00:24:31.149Z] 31603596830f: Pull complete [2021-01-20T00:24:31.149Z] 2a8b12db71e7: Pull complete [2021-01-20T00:24:32.111Z] 6ca5941a6612: Pull complete [2021-01-20T00:24:32.374Z] ecc8261a40a4: Pull complete [2021-01-20T00:24:32.374Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-20T00:24:32.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-20T00:24:32.374Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-20T00:24:32.524Z] prd-centos7-docker-4c-2g-21413 does not seem to be running inside a container [2021-01-20T00:24:32.582Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-76 -v /w/workspace/dgexfoundry_device-rest-go_PR-76:/w/workspace/dgexfoundry_device-rest-go_PR-76:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-76@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-20T00:24:34.505Z] $ docker top cf451acfa789e03394b3aed8ded4a8c3512b7526483724e1e1121d8c5510dab0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-20T00:24:35.084Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T00:24:35.085Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T00:24:35.345Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T00:24:35.349Z] $ docker exec cf451acfa789e03394b3aed8ded4a8c3512b7526483724e1e1121d8c5510dab0 ssh-agent [2021-01-20T00:24:35.578Z] SSH_AUTH_SOCK=/tmp/ssh-yfKHzCCXglqo/agent.11 [2021-01-20T00:24:35.578Z] SSH_AGENT_PID=16 [2021-01-20T00:24:35.593Z] Running ssh-add (command line suppressed) [2021-01-20T00:24:35.772Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-76@tmp/private_key_6371774267101391865.key (/w/workspace/dgexfoundry_device-rest-go_PR-76@tmp/private_key_6371774267101391865.key) [2021-01-20T00:24:35.844Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T00:24:36.266Z] + git tag --points-at HEAD [Pipeline] } [2021-01-20T00:24:36.298Z] $ docker exec --env ******** --env ******** cf451acfa789e03394b3aed8ded4a8c3512b7526483724e1e1121d8c5510dab0 ssh-agent -k [2021-01-20T00:24:36.422Z] unset SSH_AUTH_SOCK; [2021-01-20T00:24:36.423Z] unset SSH_AGENT_PID; [2021-01-20T00:24:36.423Z] echo Agent pid 16 killed; [2021-01-20T00:24:36.471Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-20T00:24:36.658Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-20T00:24:36.658Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-20T00:24:36.849Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-20T00:24:36.853Z] $ docker exec cf451acfa789e03394b3aed8ded4a8c3512b7526483724e1e1121d8c5510dab0 ssh-agent [2021-01-20T00:24:37.045Z] SSH_AUTH_SOCK=/tmp/ssh-M5YXFg105C96/agent.46 [2021-01-20T00:24:37.045Z] SSH_AGENT_PID=51 [2021-01-20T00:24:37.053Z] Running ssh-add (command line suppressed) [2021-01-20T00:24:37.184Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-76@tmp/private_key_268920215086030613.key (/w/workspace/dgexfoundry_device-rest-go_PR-76@tmp/private_key_268920215086030613.key) [2021-01-20T00:24:37.238Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-20T00:24:37.631Z] + git semver init [2021-01-20T00:24:37.631Z] # -> Open(): unable to determine branch for HEAD [2021-01-20T00:24:37.631Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-76/.git [2021-01-20T00:24:37.631Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-76 [2021-01-20T00:24:37.631Z] # $SEMVER_REMOTE_NAME = origin [2021-01-20T00:24:37.631Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-20T00:24:37.631Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-20T00:24:37.631Z] # $SEMVER_BRANCH = PR-76 [2021-01-20T00:24:37.631Z] # $SEMVER_TEMP = /tmp/semver-397845102 [2021-01-20T00:24:37.631Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-01-20T00:24:39.030Z] # '/tmp/semver-397845102' -> '/w/workspace/dgexfoundry_device-rest-go_PR-76/.semver' [2021-01-20T00:24:39.030Z] # -> Force: false [2021-01-20T00:24:39.030Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-76/.semver [Pipeline] } [2021-01-20T00:24:39.057Z] $ docker exec --env ******** --env ******** cf451acfa789e03394b3aed8ded4a8c3512b7526483724e1e1121d8c5510dab0 ssh-agent -k [2021-01-20T00:24:39.188Z] unset SSH_AUTH_SOCK; [2021-01-20T00:24:39.189Z] unset SSH_AGENT_PID; [2021-01-20T00:24:39.189Z] echo Agent pid 51 killed; [2021-01-20T00:24:39.242Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-20T00:24:39.821Z] + git semver [Pipeline] } [2021-01-20T00:24:39.868Z] $ docker stop --time=1 cf451acfa789e03394b3aed8ded4a8c3512b7526483724e1e1121d8c5510dab0 [2021-01-20T00:24:41.335Z] $ docker rm -f cf451acfa789e03394b3aed8ded4a8c3512b7526483724e1e1121d8c5510dab0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-20T00:24:41.899Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-20T00:24:42.365Z] Stashed 1 file(s) [Pipeline] echo [2021-01-20T00:24:42.385Z] [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-01-20T00:24:58.432Z] Still waiting to schedule task [2021-01-20T00:24:58.433Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-20T00:24:58.466Z] Still waiting to schedule task [2021-01-20T00:24:58.466Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15505’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-21415’ is offline [2021-01-20T00:26:56.295Z] Running on prd-centos7-docker-4c-2g-21417 in /w/workspace/dgexfoundry_device-rest-go_PR-76 [Pipeline] { [Pipeline] ws [2021-01-20T00:26:56.393Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-01-20T00:26:58.929Z] using credential edgex-jenkins-ssh [2021-01-20T00:26:58.978Z] Cloning the remote Git repository [2021-01-20T00:26:59.010Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-01-20T00:26:59.083Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-01-20T00:26:59.146Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-20T00:26:59.147Z] > git --version # timeout=10 [2021-01-20T00:26:59.154Z] > git --version # 'git version 2.24.3' [2021-01-20T00:26:59.155Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T00:26:59.185Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T00:27:00.727Z] Merging remotes/origin/master commit abd24f16bfefa7889687f83d2fc8de1c385cee13 into PR head commit c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa [2021-01-20T00:27:00.820Z] Merge succeeded, producing c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa [2021-01-20T00:27:00.820Z] Checking out Revision c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa (PR-76) [2021-01-20T00:27:00.189Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-20T00:27:00.198Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T00:27:00.210Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-20T00:27:00.224Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-20T00:27:00.224Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T00:27:00.229Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/76/head:refs/remotes/origin/PR-76 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-20T00:27:00.737Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T00:27:00.746Z] > git checkout -f c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa # timeout=10 [2021-01-20T00:27:00.778Z] > git remote # timeout=10 [2021-01-20T00:27:00.787Z] > git config --get remote.origin.url # timeout=10 [2021-01-20T00:27:00.798Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T00:27:00.803Z] > git merge abd24f16bfefa7889687f83d2fc8de1c385cee13 # timeout=10 [2021-01-20T00:27:00.814Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-20T00:27:00.825Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T00:27:00.831Z] > git checkout -f c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa # timeout=10 [2021-01-20T00:27:04.496Z] Commit message: "ci: add semantic.yml for commit linting, update PR template to latest" [2021-01-20T00:27:04.524Z] > git --version # timeout=10 [2021-01-20T00:27:04.530Z] > git --version # 'git version 2.24.3' [2021-01-20T00:27:04.535Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T00:27:06.135Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-20T00:27:06.490Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-20T00:27:06.811Z] + sudo service docker restart [2021-01-20T00:27:06.811Z] + true [2021-01-20T00:27:06.811Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T00:27:08.334Z] provisioning config files... [2021-01-20T00:27:08.397Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1924530420099595088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T00:27:08.821Z] ---> docker-login.sh [2021-01-20T00:27:08.822Z] nexus3.edgexfoundry.org:10001 [2021-01-20T00:27:09.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T00:27:09.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T00:27:09.353Z] Configure a credential helper to remove this warning. See [2021-01-20T00:27:09.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T00:27:09.353Z] [2021-01-20T00:27:09.353Z] Login Succeeded [2021-01-20T00:27:09.353Z] nexus3.edgexfoundry.org:10002 [2021-01-20T00:27:09.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T00:27:09.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T00:27:09.626Z] Configure a credential helper to remove this warning. See [2021-01-20T00:27:09.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T00:27:09.626Z] [2021-01-20T00:27:09.626Z] Login Succeeded [2021-01-20T00:27:09.626Z] nexus3.edgexfoundry.org:10003 [2021-01-20T00:27:09.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T00:27:09.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T00:27:09.626Z] Configure a credential helper to remove this warning. See [2021-01-20T00:27:09.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T00:27:09.626Z] [2021-01-20T00:27:09.626Z] Login Succeeded [2021-01-20T00:27:09.626Z] nexus3.edgexfoundry.org:10004 [2021-01-20T00:27:09.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T00:27:09.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T00:27:09.892Z] Configure a credential helper to remove this warning. See [2021-01-20T00:27:09.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T00:27:09.892Z] [2021-01-20T00:27:09.892Z] Login Succeeded [2021-01-20T00:27:09.892Z] docker.io [2021-01-20T00:27:10.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T00:27:10.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T00:27:10.418Z] Configure a credential helper to remove this warning. See [2021-01-20T00:27:10.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T00:27:10.418Z] [2021-01-20T00:27:10.418Z] Login Succeeded [2021-01-20T00:27:10.418Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T00:27:10.492Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-20T00:27:11.132Z] ========================================================= [2021-01-20T00:27:11.132Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-20T00:27:11.132Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-20T00:27:11.540Z] + 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-01-20T00:27:11.540Z] Sending build context to Docker daemon 89.6kB [2021-01-20T00:27:11.807Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T00:27:11.807Z] Step 2/10 : FROM ${BASE} [2021-01-20T00:27:11.807Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-20T00:27:11.807Z] 188c0c94c7c5: Pulling fs layer [2021-01-20T00:27:11.807Z] 0ef7d3d256c8: Pulling fs layer [2021-01-20T00:27:11.807Z] de9db76c5a1d: Pulling fs layer [2021-01-20T00:27:11.807Z] bca2f99d35d6: Pulling fs layer [2021-01-20T00:27:11.807Z] 93359f2a8cfa: Pulling fs layer [2021-01-20T00:27:11.807Z] 7c6f9722023f: Pulling fs layer [2021-01-20T00:27:11.807Z] a35cf1a2eb13: Pulling fs layer [2021-01-20T00:27:11.807Z] bca2f99d35d6: Waiting [2021-01-20T00:27:11.807Z] 93359f2a8cfa: Waiting [2021-01-20T00:27:11.807Z] 7c6f9722023f: Waiting [2021-01-20T00:27:11.807Z] a35cf1a2eb13: Waiting [2021-01-20T00:27:11.807Z] de9db76c5a1d: Verifying Checksum [2021-01-20T00:27:11.807Z] de9db76c5a1d: Download complete [2021-01-20T00:27:11.807Z] 0ef7d3d256c8: Verifying Checksum [2021-01-20T00:27:11.807Z] 0ef7d3d256c8: Download complete [2021-01-20T00:27:11.807Z] 93359f2a8cfa: Verifying Checksum [2021-01-20T00:27:11.807Z] 93359f2a8cfa: Download complete [2021-01-20T00:27:11.807Z] 188c0c94c7c5: Verifying Checksum [2021-01-20T00:27:11.807Z] 188c0c94c7c5: Download complete [2021-01-20T00:27:11.807Z] 7c6f9722023f: Download complete [2021-01-20T00:27:12.073Z] 188c0c94c7c5: Pull complete [2021-01-20T00:27:12.662Z] 0ef7d3d256c8: Pull complete [2021-01-20T00:27:12.662Z] de9db76c5a1d: Pull complete [2021-01-20T00:27:14.083Z] a35cf1a2eb13: Verifying Checksum [2021-01-20T00:27:14.083Z] a35cf1a2eb13: Download complete [2021-01-20T00:27:14.357Z] bca2f99d35d6: Download complete [2021-01-20T00:27:21.008Z] bca2f99d35d6: Pull complete [2021-01-20T00:27:21.008Z] 93359f2a8cfa: Pull complete [2021-01-20T00:27:21.008Z] 7c6f9722023f: Pull complete [2021-01-20T00:27:25.286Z] a35cf1a2eb13: Pull complete [2021-01-20T00:27:25.286Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-20T00:27:25.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-20T00:27:25.286Z] ---> a62c8e92a672 [2021-01-20T00:27:25.286Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-20T00:27:25.286Z] ---> Running in 4e63dbad6e2b [2021-01-20T00:27:25.551Z] Removing intermediate container 4e63dbad6e2b [2021-01-20T00:27:25.551Z] ---> d41aa6e1489c [2021-01-20T00:27:25.551Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-20T00:27:25.551Z] ---> Running in bbca7a8083c1 [2021-01-20T00:27:25.815Z] Removing intermediate container bbca7a8083c1 [2021-01-20T00:27:25.815Z] ---> dc4a2f07547b [2021-01-20T00:27:25.815Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-20T00:27:25.815Z] ---> Running in d3a8db3f1bff [2021-01-20T00:27:26.081Z] Removing intermediate container d3a8db3f1bff [2021-01-20T00:27:26.081Z] ---> 43b2b98e7d8b [2021-01-20T00:27:26.081Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T00:27:26.081Z] ---> Running in 3b5feae9f228 [2021-01-20T00:27:27.487Z] Removing intermediate container 3b5feae9f228 [2021-01-20T00:27:27.487Z] ---> 80695a15b2d5 [2021-01-20T00:27:27.487Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-20T00:27:27.487Z] ---> Running in 44c1bb4284fa [2021-01-20T00:27:28.460Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-20T00:27:29.037Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-20T00:27:29.299Z] OK: 166 MiB in 39 packages [2021-01-20T00:27:29.876Z] Removing intermediate container 44c1bb4284fa [2021-01-20T00:27:29.876Z] ---> 48315524ada2 [2021-01-20T00:27:29.876Z] Step 8/10 : WORKDIR /device-rest-go [2021-01-20T00:27:29.876Z] ---> Running in 680345d0fad2 [2021-01-20T00:27:30.141Z] Removing intermediate container 680345d0fad2 [2021-01-20T00:27:30.141Z] ---> 6b3c4cc86a76 [2021-01-20T00:27:30.141Z] Step 9/10 : COPY . . [2021-01-20T00:27:30.406Z] ---> 33a16029cc55 [2021-01-20T00:27:30.406Z] Step 10/10 : RUN go mod download [2021-01-20T00:27:30.406Z] ---> Running in 5953d5c1cb82 [2021-01-20T00:27:48.633Z] Removing intermediate container 5953d5c1cb82 [2021-01-20T00:27:48.633Z] ---> 7f01b592f3f6 [2021-01-20T00:27:48.633Z] Successfully built 7f01b592f3f6 [2021-01-20T00:27:48.633Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T00:27:49.066Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-20T00:27:49.066Z] . [Pipeline] withDockerContainer [2021-01-20T00:27:49.247Z] prd-centos7-docker-4c-2g-21417 does not seem to be running inside a container [2021-01-20T00:27:49.330Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-20T00:27:50.812Z] $ docker top de7c287e2e901a776bf92f25721a1997889db831260bbe0c470f57b09b467c11 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T00:27:51.452Z] + go version [2021-01-20T00:27:51.452Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-20T00:27:51.499Z] $ docker stop --time=1 de7c287e2e901a776bf92f25721a1997889db831260bbe0c470f57b09b467c11 [2021-01-20T00:27:52.923Z] $ docker rm -f de7c287e2e901a776bf92f25721a1997889db831260bbe0c470f57b09b467c11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T00:27:54.117Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-20T00:27:54.117Z] . [Pipeline] withDockerContainer [2021-01-20T00:27:54.262Z] prd-centos7-docker-4c-2g-21417 does not seem to be running inside a container [2021-01-20T00:27:54.324Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-20T00:27:55.037Z] $ docker top a7458a9a42d338e4f33bfbc51ce5ce05ea7872f17e68c67c3665b8a89d34a014 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T00:27:55.616Z] + make test [2021-01-20T00:27:55.616Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-01-20T00:27:56.573Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-01-20T00:28:08.972Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-01-20T00:28:08.972Z] ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 56.3% of statements [2021-01-20T00:28:08.972Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-20T00:28:10.939Z] gofmt -l . [2021-01-20T00:28:10.939Z] [ "`gofmt -l .`" = "" ] [2021-01-20T00:28:10.939Z] ./bin/test-go-mod-tidy.sh [2021-01-20T00:28:11.239Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-01-20T00:28:11.857Z] $ docker stop --time=1 a7458a9a42d338e4f33bfbc51ce5ce05ea7872f17e68c67c3665b8a89d34a014 [2021-01-20T00:28:14.339Z] $ docker rm -f a7458a9a42d338e4f33bfbc51ce5ce05ea7872f17e68c67c3665b8a89d34a014 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-20T00:28:15.258Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-20T00:28:16.007Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-20T00:28:21.821Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-20T00:28:22.313Z] + ls -al . [2021-01-20T00:28:22.313Z] total 96 [2021-01-20T00:28:22.313Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jan 20 00:28 . [2021-01-20T00:28:22.313Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 20 00:26 .. [2021-01-20T00:28:22.313Z] -rw-rw-r--. 1 jenkins jenkins 5294 Jan 20 00:27 Attribution.txt [2021-01-20T00:28:22.313Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 20 00:27 bin [2021-01-20T00:28:22.313Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 20 00:27 cmd [2021-01-20T00:28:22.313Z] -rw-r--r--. 1 jenkins jenkins 9369 Jan 20 00:28 coverage.out [2021-01-20T00:28:22.313Z] -rw-rw-r--. 1 jenkins jenkins 1530 Jan 20 00:27 Dockerfile [2021-01-20T00:28:22.313Z] -rw-rw-r--. 1 jenkins jenkins 1002 Jan 20 00:27 Dockerfile.build [2021-01-20T00:28:22.313Z] -rw-rw-r--. 1 jenkins jenkins 151 Jan 20 00:27 .dockerignore [2021-01-20T00:28:22.313Z] drwxrwxr-x. 2 jenkins jenkins 93 Jan 20 00:28 driver [2021-01-20T00:28:22.313Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 20 00:27 .git [2021-01-20T00:28:22.313Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 00:27 .github [2021-01-20T00:28:22.313Z] -rw-rw-r--. 1 jenkins jenkins 339 Jan 20 00:27 .gitignore [2021-01-20T00:28:22.313Z] -rw-r--r--. 1 jenkins jenkins 267 Jan 20 00:28 go.mod [2021-01-20T00:28:22.313Z] -rw-r--r--. 1 jenkins jenkins 13985 Jan 20 00:28 go.sum [2021-01-20T00:28:22.313Z] -rw-rw-r--. 1 jenkins jenkins 680 Jan 20 00:27 Jenkinsfile [2021-01-20T00:28:22.313Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 20 00:27 LICENSE [2021-01-20T00:28:22.314Z] -rw-rw-r--. 1 jenkins jenkins 951 Jan 20 00:27 Makefile [2021-01-20T00:28:22.314Z] -rw-rw-r--. 1 jenkins jenkins 5917 Jan 20 00:27 README.md [2021-01-20T00:28:22.314Z] drwxrwxr-x. 4 jenkins jenkins 71 Jan 20 00:27 snap [2021-01-20T00:28:22.314Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 20 00:24 VERSION [2021-01-20T00:28:22.314Z] -rw-rw-r--. 1 jenkins jenkins 713 Jan 20 00:27 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-20T00:28:22.777Z] + 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=c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa --label arch=amd64 --label version=0.0.0 . [2021-01-20T00:28:22.777Z] Sending build context to Docker daemon 101.4kB [2021-01-20T00:28:23.080Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T00:28:23.080Z] Step 2/25 : FROM ${BASE} AS builder [2021-01-20T00:28:23.080Z] ---> 7f01b592f3f6 [2021-01-20T00:28:23.080Z] Step 3/25 : ARG MAKE='make build' [2021-01-20T00:28:23.080Z] ---> Running in 53a32eb175aa [2021-01-20T00:28:23.360Z] Removing intermediate container 53a32eb175aa [2021-01-20T00:28:23.360Z] ---> c9669ebef2d9 [2021-01-20T00:28:23.360Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2021-01-20T00:28:23.360Z] ---> Running in 96b1c2aeff63 [2021-01-20T00:28:23.627Z] Removing intermediate container 96b1c2aeff63 [2021-01-20T00:28:23.627Z] ---> a2fde2ee6294 [2021-01-20T00:28:23.627Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-01-20T00:28:23.627Z] ---> Running in 676b3bf15043 [2021-01-20T00:28:23.898Z] Removing intermediate container 676b3bf15043 [2021-01-20T00:28:23.898Z] ---> 1d64ce25cadf [2021-01-20T00:28:23.898Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T00:28:23.898Z] ---> Running in 79aacbb58bd4 [2021-01-20T00:28:24.898Z] Removing intermediate container 79aacbb58bd4 [2021-01-20T00:28:24.898Z] ---> 996cd33e61ad [2021-01-20T00:28:24.898Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-20T00:28:25.177Z] ---> Running in b4448295d5e5 [2021-01-20T00:28:25.459Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-20T00:28:26.078Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-20T00:28:26.672Z] OK: 166 MiB in 39 packages [2021-01-20T00:28:27.277Z] Removing intermediate container b4448295d5e5 [2021-01-20T00:28:27.277Z] ---> 0229c1666d8e [2021-01-20T00:28:27.277Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2021-01-20T00:28:27.277Z] ---> Running in 2bacb323fc21 [2021-01-20T00:28:27.277Z] Removing intermediate container 2bacb323fc21 [2021-01-20T00:28:27.277Z] ---> f692fc228f21 [2021-01-20T00:28:27.277Z] Step 9/25 : COPY go.mod . [2021-01-20T00:28:27.549Z] ---> 0cf8d77e48c9 [2021-01-20T00:28:27.549Z] Step 10/25 : COPY Makefile . [2021-01-20T00:28:27.823Z] ---> 24474832f123 [2021-01-20T00:28:27.823Z] Step 11/25 : RUN make update [2021-01-20T00:28:28.109Z] ---> Running in d15b3f22b1a4 [2021-01-20T00:28:28.392Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-01-20T00:28:29.005Z] Removing intermediate container d15b3f22b1a4 [2021-01-20T00:28:29.005Z] ---> 56749e80ef1c [2021-01-20T00:28:29.005Z] Step 12/25 : COPY . . [2021-01-20T00:28:29.303Z] ---> 94a906048c03 [2021-01-20T00:28:29.303Z] Step 13/25 : RUN $MAKE [2021-01-20T00:28:29.303Z] ---> Running in cc6f6c6e6743 [2021-01-20T00:28:29.905Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2021-01-20T00:28:42.321Z] Removing intermediate container cc6f6c6e6743 [2021-01-20T00:28:42.321Z] ---> c96c69581dab [2021-01-20T00:28:42.321Z] Step 14/25 : FROM alpine:3.12 [2021-01-20T00:28:42.321Z] 3.12: Pulling from library/alpine [2021-01-20T00:28:42.321Z] 801bfaa63ef2: Pulling fs layer [2021-01-20T00:28:42.586Z] 801bfaa63ef2: Verifying Checksum [2021-01-20T00:28:42.586Z] 801bfaa63ef2: Download complete [2021-01-20T00:28:42.852Z] 801bfaa63ef2: Pull complete [2021-01-20T00:28:42.852Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-20T00:28:42.852Z] Status: Downloaded newer image for alpine:3.12 [2021-01-20T00:28:42.852Z] ---> 389fef711851 [2021-01-20T00:28:42.852Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-20T00:28:42.852Z] ---> Running in 95e5469ff8b8 [2021-01-20T00:28:43.119Z] Removing intermediate container 95e5469ff8b8 [2021-01-20T00:28:43.119Z] ---> d50cae32dd41 [2021-01-20T00:28:43.119Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-01-20T00:28:43.119Z] ---> Running in ca1f79f2d0c1 [2021-01-20T00:28:43.389Z] Removing intermediate container ca1f79f2d0c1 [2021-01-20T00:28:43.389Z] ---> 3b03b356930a [2021-01-20T00:28:43.389Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2021-01-20T00:28:43.389Z] ---> a67888c9f2b9 [2021-01-20T00:28:43.389Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2021-01-20T00:28:43.655Z] ---> a3999308ddae [2021-01-20T00:28:43.655Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2021-01-20T00:28:44.239Z] ---> 35dfde058a6f [2021-01-20T00:28:44.239Z] Step 20/25 : EXPOSE 49986 [2021-01-20T00:28:44.513Z] ---> Running in 0573d885650f [2021-01-20T00:28:44.513Z] Removing intermediate container 0573d885650f [2021-01-20T00:28:44.513Z] ---> 82054c2360e2 [2021-01-20T00:28:44.513Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2021-01-20T00:28:44.781Z] ---> Running in 9ccd0e81676f [2021-01-20T00:28:44.781Z] Removing intermediate container 9ccd0e81676f [2021-01-20T00:28:44.781Z] ---> 74694c599eed [2021-01-20T00:28:44.781Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-01-20T00:28:44.781Z] ---> Running in 4df94bd55e34 [2021-01-20T00:28:45.058Z] Removing intermediate container 4df94bd55e34 [2021-01-20T00:28:45.058Z] ---> a8b7f480f57f [2021-01-20T00:28:45.058Z] Step 23/25 : LABEL arch=amd64 [2021-01-20T00:28:45.058Z] ---> Running in cf07841f9ca1 [2021-01-20T00:28:45.325Z] Removing intermediate container cf07841f9ca1 [2021-01-20T00:28:45.325Z] ---> ed01317703a8 [2021-01-20T00:28:45.325Z] Step 24/25 : LABEL git_sha=c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa [2021-01-20T00:28:45.325Z] ---> Running in 0b5c228f155b [2021-01-20T00:28:45.590Z] Removing intermediate container 0b5c228f155b [2021-01-20T00:28:45.590Z] ---> 4905bc814227 [2021-01-20T00:28:45.590Z] Step 25/25 : LABEL version=0.0.0 [2021-01-20T00:28:45.590Z] ---> Running in 12e19e8e66c3 [2021-01-20T00:28:45.590Z] Removing intermediate container 12e19e8e66c3 [2021-01-20T00:28:45.590Z] ---> 605243e1edac [2021-01-20T00:28:45.590Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-20T00:28:45.590Z] Successfully built 605243e1edac [2021-01-20T00:28:45.865Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-20T00:28:57.982Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21418 in /w/workspace/dgexfoundry_device-rest-go_PR-76 [Pipeline] { [Pipeline] ws [2021-01-20T00:28:58.121Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-01-20T00:29:03.838Z] using credential edgex-jenkins-ssh [2021-01-20T00:29:03.937Z] Cloning the remote Git repository [2021-01-20T00:29:04.011Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-01-20T00:29:04.124Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-01-20T00:29:04.215Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-20T00:29:04.216Z] > git --version # timeout=10 [2021-01-20T00:29:04.234Z] > git --version # 'git version 2.17.1' [2021-01-20T00:29:04.235Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T00:29:04.296Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T00:29:06.659Z] Merging remotes/origin/master commit abd24f16bfefa7889687f83d2fc8de1c385cee13 into PR head commit c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa [2021-01-20T00:29:07.094Z] Merge succeeded, producing c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa [2021-01-20T00:29:07.094Z] Checking out Revision c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa (PR-76) [2021-01-20T00:29:05.973Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-20T00:29:05.997Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-20T00:29:06.028Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-20T00:29:06.072Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-20T00:29:06.073Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T00:29:06.085Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/76/head:refs/remotes/origin/PR-76 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-20T00:29:06.688Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T00:29:06.712Z] > git checkout -f c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa # timeout=10 [2021-01-20T00:29:06.908Z] > git remote # timeout=10 [2021-01-20T00:29:06.954Z] > git config --get remote.origin.url # timeout=10 [2021-01-20T00:29:07.012Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-20T00:29:07.028Z] > git merge abd24f16bfefa7889687f83d2fc8de1c385cee13 # timeout=10 [2021-01-20T00:29:07.073Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-20T00:29:07.109Z] > git config core.sparsecheckout # timeout=10 [2021-01-20T00:29:07.124Z] > git checkout -f c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa # timeout=10 [2021-01-20T00:29:11.437Z] Commit message: "ci: add semantic.yml for commit linting, update PR template to latest" [2021-01-20T00:29:11.505Z] > git --version # timeout=10 [2021-01-20T00:29:11.527Z] > git --version # 'git version 2.17.1' [2021-01-20T00:29:11.539Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T00:29:13.295Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-20T00:29:13.773Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-20T00:29:14.138Z] + + true [2021-01-20T00:29:14.138Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-20T00:29:16.911Z] provisioning config files... [2021-01-20T00:29:16.955Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3889751004244201544tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-20T00:29:17.417Z] ---> docker-login.sh [2021-01-20T00:29:17.417Z] nexus3.edgexfoundry.org:10001 [2021-01-20T00:29:18.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T00:29:18.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T00:29:18.685Z] Configure a credential helper to remove this warning. See [2021-01-20T00:29:18.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T00:29:18.685Z] [2021-01-20T00:29:18.685Z] Login Succeeded [2021-01-20T00:29:18.685Z] nexus3.edgexfoundry.org:10002 [2021-01-20T00:29:18.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T00:29:19.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T00:29:19.231Z] Configure a credential helper to remove this warning. See [2021-01-20T00:29:19.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T00:29:19.231Z] [2021-01-20T00:29:19.231Z] Login Succeeded [2021-01-20T00:29:19.231Z] nexus3.edgexfoundry.org:10003 [2021-01-20T00:29:19.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T00:29:19.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T00:29:19.777Z] Configure a credential helper to remove this warning. See [2021-01-20T00:29:19.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T00:29:19.777Z] [2021-01-20T00:29:19.777Z] Login Succeeded [2021-01-20T00:29:19.777Z] nexus3.edgexfoundry.org:10004 [2021-01-20T00:29:20.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T00:29:20.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T00:29:20.324Z] Configure a credential helper to remove this warning. See [2021-01-20T00:29:20.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T00:29:20.324Z] [2021-01-20T00:29:20.324Z] Login Succeeded [2021-01-20T00:29:20.324Z] docker.io [2021-01-20T00:29:20.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-20T00:29:21.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-20T00:29:21.201Z] Configure a credential helper to remove this warning. See [2021-01-20T00:29:21.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-20T00:29:21.201Z] [2021-01-20T00:29:21.201Z] Login Succeeded [2021-01-20T00:29:21.201Z] ---> docker-login.sh ends [Pipeline] } [2021-01-20T00:29:21.231Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-20T00:29:21.808Z] ========================================================= [2021-01-20T00:29:21.809Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-20T00:29:21.809Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-20T00:29:22.230Z] + 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-01-20T00:29:22.230Z] Sending build context to Docker daemon 89.6kB [2021-01-20T00:29:22.509Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T00:29:22.509Z] Step 2/10 : FROM ${BASE} [2021-01-20T00:29:22.788Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-20T00:29:22.788Z] 5f621e34cdf4: Pulling fs layer [2021-01-20T00:29:22.788Z] a4357932f1b6: Pulling fs layer [2021-01-20T00:29:22.788Z] 18c013af1878: Pulling fs layer [2021-01-20T00:29:22.788Z] 00ac8860ef70: Pulling fs layer [2021-01-20T00:29:22.788Z] 63d7cb157983: Pulling fs layer [2021-01-20T00:29:22.788Z] b116817d02f9: Pulling fs layer [2021-01-20T00:29:22.788Z] 745a02a5169b: Pulling fs layer [2021-01-20T00:29:22.788Z] 00ac8860ef70: Waiting [2021-01-20T00:29:22.788Z] 63d7cb157983: Waiting [2021-01-20T00:29:22.788Z] b116817d02f9: Waiting [2021-01-20T00:29:22.788Z] 745a02a5169b: Waiting [2021-01-20T00:29:22.788Z] 18c013af1878: Verifying Checksum [2021-01-20T00:29:22.788Z] 18c013af1878: Download complete [2021-01-20T00:29:22.788Z] a4357932f1b6: Verifying Checksum [2021-01-20T00:29:22.788Z] a4357932f1b6: Download complete [2021-01-20T00:29:22.788Z] 63d7cb157983: Verifying Checksum [2021-01-20T00:29:22.788Z] 63d7cb157983: Download complete [2021-01-20T00:29:22.788Z] b116817d02f9: Verifying Checksum [2021-01-20T00:29:22.788Z] b116817d02f9: Download complete [2021-01-20T00:29:22.788Z] 5f621e34cdf4: Verifying Checksum [2021-01-20T00:29:22.788Z] 5f621e34cdf4: Download complete [2021-01-20T00:29:23.405Z] 5f621e34cdf4: Pull complete [2021-01-20T00:29:24.042Z] a4357932f1b6: Pull complete [2021-01-20T00:29:24.650Z] 18c013af1878: Pull complete [2021-01-20T00:29:25.248Z] 745a02a5169b: Verifying Checksum [2021-01-20T00:29:25.248Z] 745a02a5169b: Download complete [2021-01-20T00:29:26.693Z] 00ac8860ef70: Verifying Checksum [2021-01-20T00:29:26.693Z] 00ac8860ef70: Download complete [2021-01-20T00:29:36.884Z] 00ac8860ef70: Pull complete [2021-01-20T00:29:36.884Z] 63d7cb157983: Pull complete [2021-01-20T00:29:37.161Z] b116817d02f9: Pull complete [2021-01-20T00:29:41.520Z] 745a02a5169b: Pull complete [2021-01-20T00:29:41.520Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-20T00:29:41.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-20T00:29:41.520Z] ---> b7e6874047d6 [2021-01-20T00:29:41.520Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-20T00:29:44.166Z] ---> Running in 51917a91304e [2021-01-20T00:29:44.166Z] Removing intermediate container 51917a91304e [2021-01-20T00:29:44.167Z] ---> c3a423d5d176 [2021-01-20T00:29:44.167Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-20T00:29:44.440Z] ---> Running in 36dfb7257f4b [2021-01-20T00:29:44.720Z] Removing intermediate container 36dfb7257f4b [2021-01-20T00:29:44.720Z] ---> fba344132a66 [2021-01-20T00:29:44.720Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-20T00:29:44.998Z] ---> Running in c6ecbef7f17b [2021-01-20T00:29:45.603Z] Removing intermediate container c6ecbef7f17b [2021-01-20T00:29:45.603Z] ---> 0f53ff400300 [2021-01-20T00:29:45.603Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T00:29:45.603Z] ---> Running in 855f58679998 [2021-01-20T00:29:48.263Z] Removing intermediate container 855f58679998 [2021-01-20T00:29:48.263Z] ---> fd787e6f1185 [2021-01-20T00:29:48.263Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-20T00:29:48.263Z] ---> Running in bde853ade76a [2021-01-20T00:29:49.241Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-20T00:29:49.850Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-20T00:29:50.844Z] OK: 142 MiB in 39 packages [2021-01-20T00:29:51.842Z] Removing intermediate container bde853ade76a [2021-01-20T00:29:51.842Z] ---> 90942d04997f [2021-01-20T00:29:51.842Z] Step 8/10 : WORKDIR /device-rest-go [2021-01-20T00:29:51.842Z] ---> Running in 3017ebb46301 [2021-01-20T00:29:52.440Z] Removing intermediate container 3017ebb46301 [2021-01-20T00:29:52.440Z] ---> 4197df280531 [2021-01-20T00:29:52.440Z] Step 9/10 : COPY . . [2021-01-20T00:29:53.037Z] ---> 291db122bfdb [2021-01-20T00:29:53.037Z] Step 10/10 : RUN go mod download [2021-01-20T00:29:53.037Z] ---> Running in fcb4f951605a [2021-01-20T00:30:15.230Z] Removing intermediate container fcb4f951605a [2021-01-20T00:30:15.230Z] ---> 48e0aa3623a2 [2021-01-20T00:30:15.230Z] Successfully built 48e0aa3623a2 [2021-01-20T00:30:15.230Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-20T00:30:15.617Z] + docker inspect -f . ci-base-image-arm64 [2021-01-20T00:30:15.617Z] . [Pipeline] withDockerContainer [2021-01-20T00:30:15.867Z] prd-ubuntu18.04-docker-arm64-4c-16g-21418 does not seem to be running inside a container [2021-01-20T00:30:15.954Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-20T00:30:17.334Z] $ docker top 71fad21b3aa88206ddab5ad9169df418f4da63822d688cf304f56bf553f6a3f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T00:30:18.453Z] + go version [2021-01-20T00:30:18.454Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-20T00:30:18.494Z] $ docker stop --time=1 71fad21b3aa88206ddab5ad9169df418f4da63822d688cf304f56bf553f6a3f3 [2021-01-20T00:30:20.441Z] $ docker rm -f 71fad21b3aa88206ddab5ad9169df418f4da63822d688cf304f56bf553f6a3f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-20T00:30:21.708Z] + docker inspect -f . ci-base-image-arm64 [2021-01-20T00:30:21.708Z] . [Pipeline] withDockerContainer [2021-01-20T00:30:21.963Z] prd-ubuntu18.04-docker-arm64-4c-16g-21418 does not seem to be running inside a container [2021-01-20T00:30:22.055Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-20T00:30:23.566Z] $ docker top e0b6e6d512c75b0d77eb6e68a91014e84f6278edc4d9cf0376b9761db5944880 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T00:30:24.658Z] + make test [2021-01-20T00:30:24.658Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-01-20T00:30:25.647Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-01-20T00:31:04.746Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-01-20T00:31:04.746Z] ok github.com/edgexfoundry/device-rest-go/driver 0.046s coverage: 56.3% of statements [2021-01-20T00:31:04.746Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-20T00:31:06.763Z] gofmt -l . [2021-01-20T00:31:06.763Z] [ "`gofmt -l .`" = "" ] [2021-01-20T00:31:06.763Z] ./bin/test-go-mod-tidy.sh [2021-01-20T00:31:07.366Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-01-20T00:31:07.998Z] $ docker stop --time=1 e0b6e6d512c75b0d77eb6e68a91014e84f6278edc4d9cf0376b9761db5944880 [2021-01-20T00:31:10.497Z] $ docker rm -f e0b6e6d512c75b0d77eb6e68a91014e84f6278edc4d9cf0376b9761db5944880 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-20T00:31:11.466Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-20T00:31:11.511Z] Warning: overwriting stash ‘coverage-report’ [2021-01-20T00:31:12.454Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-20T00:31:13.537Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-20T00:31:13.936Z] + ls -al . [2021-01-20T00:31:13.936Z] total 124 [2021-01-20T00:31:13.936Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 00:31 . [2021-01-20T00:31:13.936Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 00:29 .. [2021-01-20T00:31:13.936Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 20 00:29 .dockerignore [2021-01-20T00:31:13.936Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 00:29 .git [2021-01-20T00:31:13.936Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 00:29 .github [2021-01-20T00:31:13.936Z] -rw-rw-r-- 1 jenkins jenkins 339 Jan 20 00:29 .gitignore [2021-01-20T00:31:13.936Z] -rw-rw-r-- 1 jenkins jenkins 5294 Jan 20 00:29 Attribution.txt [2021-01-20T00:31:13.936Z] -rw-rw-r-- 1 jenkins jenkins 1530 Jan 20 00:29 Dockerfile [2021-01-20T00:31:13.936Z] -rw-rw-r-- 1 jenkins jenkins 1002 Jan 20 00:29 Dockerfile.build [2021-01-20T00:31:13.936Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 20 00:29 Jenkinsfile [2021-01-20T00:31:13.936Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 00:29 LICENSE [2021-01-20T00:31:13.936Z] -rw-rw-r-- 1 jenkins jenkins 951 Jan 20 00:29 Makefile [2021-01-20T00:31:13.936Z] -rw-rw-r-- 1 jenkins jenkins 5917 Jan 20 00:29 README.md [2021-01-20T00:31:13.936Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 20 00:24 VERSION [2021-01-20T00:31:13.936Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 00:29 bin [2021-01-20T00:31:13.936Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 00:29 cmd [2021-01-20T00:31:13.936Z] -rw-r--r-- 1 jenkins jenkins 9369 Jan 20 00:30 coverage.out [2021-01-20T00:31:13.936Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 00:30 driver [2021-01-20T00:31:13.936Z] -rw-r--r-- 1 jenkins jenkins 267 Jan 20 00:31 go.mod [2021-01-20T00:31:13.936Z] -rw-r--r-- 1 jenkins jenkins 13985 Jan 20 00:31 go.sum [2021-01-20T00:31:13.936Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 00:29 snap [2021-01-20T00:31:13.936Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 20 00:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-20T00:31:14.364Z] + 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=c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa --label arch=arm64 --label version=0.0.0 . [2021-01-20T00:31:14.364Z] Sending build context to Docker daemon 101.4kB [2021-01-20T00:31:14.973Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-01-20T00:31:14.973Z] Step 2/25 : FROM ${BASE} AS builder [2021-01-20T00:31:14.973Z] ---> 48e0aa3623a2 [2021-01-20T00:31:14.973Z] Step 3/25 : ARG MAKE='make build' [2021-01-20T00:31:14.973Z] ---> Running in 5710007ae134 [2021-01-20T00:31:15.572Z] Removing intermediate container 5710007ae134 [2021-01-20T00:31:15.572Z] ---> 2ea2b6e6a437 [2021-01-20T00:31:15.572Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2021-01-20T00:31:15.572Z] ---> Running in 040d9f8552a3 [2021-01-20T00:31:16.178Z] Removing intermediate container 040d9f8552a3 [2021-01-20T00:31:16.178Z] ---> 0fbb58c23061 [2021-01-20T00:31:16.178Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-01-20T00:31:16.178Z] ---> Running in 2d4bc3399160 [2021-01-20T00:31:16.782Z] Removing intermediate container 2d4bc3399160 [2021-01-20T00:31:16.782Z] ---> 254c43c87edd [2021-01-20T00:31:16.782Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-20T00:31:16.782Z] ---> Running in d2c3bab66ec9 [2021-01-20T00:31:19.406Z] Removing intermediate container d2c3bab66ec9 [2021-01-20T00:31:19.406Z] ---> a5ecb52fc269 [2021-01-20T00:31:19.406Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-20T00:31:19.406Z] ---> Running in 0ce14a20bc59 [2021-01-20T00:31:20.381Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-20T00:31:21.804Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-20T00:31:23.237Z] OK: 142 MiB in 39 packages [2021-01-20T00:31:24.244Z] Removing intermediate container 0ce14a20bc59 [2021-01-20T00:31:24.244Z] ---> 5993b7da3e3e [2021-01-20T00:31:24.244Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2021-01-20T00:31:24.535Z] ---> Running in fae6a94158d7 [2021-01-20T00:31:25.155Z] Removing intermediate container fae6a94158d7 [2021-01-20T00:31:25.155Z] ---> 07a80bb5269d [2021-01-20T00:31:25.155Z] Step 9/25 : COPY go.mod . [2021-01-20T00:31:25.757Z] ---> 4f43ef340adf [2021-01-20T00:31:25.757Z] Step 10/25 : COPY Makefile . [2021-01-20T00:31:26.353Z] ---> 565e2cf05a3e [2021-01-20T00:31:26.353Z] Step 11/25 : RUN make update [2021-01-20T00:31:26.628Z] ---> Running in a7ddde42ff99 [2021-01-20T00:31:27.609Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-01-20T00:31:29.045Z] Removing intermediate container a7ddde42ff99 [2021-01-20T00:31:29.046Z] ---> 86bdbafc6f61 [2021-01-20T00:31:29.046Z] Step 12/25 : COPY . . [2021-01-20T00:31:29.642Z] ---> 4a9f83fe68e9 [2021-01-20T00:31:29.642Z] Step 13/25 : RUN $MAKE [2021-01-20T00:31:29.930Z] ---> Running in 5a592a796f45 [2021-01-20T00:31:30.917Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2021-01-20T00:32:03.395Z] Removing intermediate container 5a592a796f45 [2021-01-20T00:32:03.395Z] ---> cd39afd3d125 [2021-01-20T00:32:03.395Z] Step 14/25 : FROM alpine:3.12 [2021-01-20T00:32:03.395Z] 3.12: Pulling from library/alpine [2021-01-20T00:32:03.395Z] 159e5727ea61: Pulling fs layer [2021-01-20T00:32:03.395Z] 159e5727ea61: Download complete [2021-01-20T00:32:03.395Z] 159e5727ea61: Pull complete [2021-01-20T00:32:03.395Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-20T00:32:03.395Z] Status: Downloaded newer image for alpine:3.12 [2021-01-20T00:32:03.395Z] ---> afeebe901d6b [2021-01-20T00:32:03.395Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-20T00:32:03.395Z] ---> Running in 8b5f39759ca0 [2021-01-20T00:32:03.395Z] Removing intermediate container 8b5f39759ca0 [2021-01-20T00:32:03.395Z] ---> a1f89d5f79a6 [2021-01-20T00:32:03.395Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-01-20T00:32:03.395Z] ---> Running in 940fef155579 [2021-01-20T00:32:03.395Z] Removing intermediate container 940fef155579 [2021-01-20T00:32:03.395Z] ---> 409bdb010ee9 [2021-01-20T00:32:03.395Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2021-01-20T00:32:03.395Z] ---> 1a40103e020e [2021-01-20T00:32:03.395Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2021-01-20T00:32:03.395Z] ---> ee3bd632892a [2021-01-20T00:32:03.395Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2021-01-20T00:32:03.989Z] ---> 34bb70a2cdde [2021-01-20T00:32:03.989Z] Step 20/25 : EXPOSE 49986 [2021-01-20T00:32:03.989Z] ---> Running in 3952e0fa113e [2021-01-20T00:32:04.586Z] Removing intermediate container 3952e0fa113e [2021-01-20T00:32:04.586Z] ---> 71a54ba2901c [2021-01-20T00:32:04.586Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2021-01-20T00:32:04.586Z] ---> Running in 8710f46f6742 [2021-01-20T00:32:05.182Z] Removing intermediate container 8710f46f6742 [2021-01-20T00:32:05.182Z] ---> 3f7a05fcb33d [2021-01-20T00:32:05.182Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-01-20T00:32:05.453Z] ---> Running in d40e9837118a [2021-01-20T00:32:05.724Z] Removing intermediate container d40e9837118a [2021-01-20T00:32:05.724Z] ---> 47d25833619d [2021-01-20T00:32:05.724Z] Step 23/25 : LABEL arch=arm64 [2021-01-20T00:32:05.996Z] ---> Running in 3742d4d89621 [2021-01-20T00:32:06.974Z] Removing intermediate container 3742d4d89621 [2021-01-20T00:32:06.974Z] ---> 431db2cbf3af [2021-01-20T00:32:06.974Z] Step 24/25 : LABEL git_sha=c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa [2021-01-20T00:32:07.949Z] ---> Running in 34946f051f04 [2021-01-20T00:32:09.376Z] Removing intermediate container 34946f051f04 [2021-01-20T00:32:09.376Z] ---> f437d55f703b [2021-01-20T00:32:09.376Z] Step 25/25 : LABEL version=0.0.0 [2021-01-20T00:32:10.349Z] ---> Running in ec2af5ac9a94 [2021-01-20T00:32:11.774Z] Removing intermediate container ec2af5ac9a94 [2021-01-20T00:32:11.774Z] ---> 72f71e920f49 [2021-01-20T00:32:11.774Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-20T00:32:11.774Z] Successfully built 72f71e920f49 [2021-01-20T00:32:12.055Z] 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 [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-01-20T00:32:14.255Z] provisioning config files... [2021-01-20T00:32:14.265Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-76@tmp/config6680628185549334626tmp [Pipeline] { [Pipeline] sh [2021-01-20T00:32:14.693Z] + set +x [2021-01-20T00:32:14.693Z] + curl -s https://codecov.io/bash [2021-01-20T00:32:14.693Z] + bash -s -- [2021-01-20T00:32:14.964Z] [2021-01-20T00:32:14.964Z] _____ _ [2021-01-20T00:32:14.964Z] / ____| | | [2021-01-20T00:32:14.964Z] | | ___ __| | ___ ___ _____ __ [2021-01-20T00:32:14.964Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-20T00:32:14.964Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-20T00:32:14.964Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-20T00:32:14.964Z] Bash-20210115-cec3c92 [2021-01-20T00:32:14.964Z] [2021-01-20T00:32:14.964Z] [2021-01-20T00:32:14.964Z] ==> git version 2.24.3 found [2021-01-20T00:32:14.964Z] ==> 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-01-20T00:32:14.964Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-20T00:32:14.964Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-20T00:32:14.964Z] ==> Jenkins CI detected. [2021-01-20T00:32:14.964Z] project root: . [2021-01-20T00:32:14.964Z] --> token set from env [2021-01-20T00:32:14.964Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-20T00:32:14.964Z] ==> Running gcov in . (disable via -X gcov) [2021-01-20T00:32:14.964Z] ==> Python coveragepy not found [2021-01-20T00:32:14.964Z] ==> Searching for coverage reports in: [2021-01-20T00:32:14.964Z] + . [2021-01-20T00:32:14.964Z] -> Found 1 reports [2021-01-20T00:32:14.964Z] ==> Detecting git/mercurial file structure [2021-01-20T00:32:14.964Z] ==> Reading reports [2021-01-20T00:32:14.964Z] + ./coverage.out bytes=9369 [2021-01-20T00:32:14.964Z] ==> Appending adjustments [2021-01-20T00:32:14.964Z] https://docs.codecov.io/docs/fixing-reports [2021-01-20T00:32:15.230Z] + Found adjustments [2021-01-20T00:32:15.230Z] ==> Gzipping contents [2021-01-20T00:32:15.230Z] 4.0K /tmp/codecov.cxGUyG.gz [2021-01-20T00:32:15.230Z] ==> Uploading reports [2021-01-20T00:32:15.230Z] url: https://codecov.io [2021-01-20T00:32:15.230Z] query: branch=PR-76&commit=c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-76%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=76&job=&cmd_args= [2021-01-20T00:32:15.230Z] -> Pinging Codecov [2021-01-20T00:32:15.230Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-76&commit=c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-76%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=76&job=&cmd_args= [2021-01-20T00:32:15.493Z] -> Uploading to [2021-01-20T00:32:15.494Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-20/4E5D53B4F1F92C436F7061BF334D961C/c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa/3340b92f-5e4d-4aa0-8be0-9026042f6f09.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210120T003215Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=45d19f2611d6aab4c00417d87124c38408a373825803fca202fa74bc7bca823f [2021-01-20T00:32:15.494Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-20T00:32:15.494Z] Dload Upload Total Spent Left Speed [2021-01-20T00:32:16.021Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1726 0 0 100 1726 0 3386 --:--:-- --:--:-- --:--:-- 3384 [2021-01-20T00:32:16.021Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa [Pipeline] } [2021-01-20T00:32:16.053Z] 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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-01-20T00:32:19.382Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T00:32:20.001Z] ---> package-listing.sh [2021-01-20T00:32:20.002Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-20T00:32:20.002Z] ++ facter osfamily [2021-01-20T00:32:20.002Z] + OS_FAMILY=redhat [2021-01-20T00:32:20.002Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-76 [2021-01-20T00:32:20.002Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-20T00:32:20.002Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-20T00:32:20.002Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-20T00:32:20.002Z] + PACKAGES=/tmp/packages_start.txt [2021-01-20T00:32:20.002Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-76 ']' [2021-01-20T00:32:20.002Z] + PACKAGES=/tmp/packages_end.txt [2021-01-20T00:32:20.002Z] + case "${OS_FAMILY}" in [2021-01-20T00:32:20.002Z] + rpm -qa [2021-01-20T00:32:20.002Z] + sort [2021-01-20T00:32:25.344Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-20T00:32:25.344Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-20T00:32:25.344Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-20T00:32:25.344Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-76 ']' [2021-01-20T00:32:25.344Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-76/archives/ [2021-01-20T00:32:25.344Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-76/archives/ [Pipeline] echo [2021-01-20T00:32:25.383Z] 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-76/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-20T00:32:25.698Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-20T00:32:26.040Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T00:32:26.040Z] [2021-01-20T00:32:26.040Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-20T00:32:26.454Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T00:32:26.454Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-20T00:32:26.454Z] df20fa9351a1: Pulling fs layer [2021-01-20T00:32:26.454Z] 36b3adc4ff6f: Pulling fs layer [2021-01-20T00:32:26.454Z] 8ad3a11d3b57: Pulling fs layer [2021-01-20T00:32:26.454Z] 46f8f816bc3b: Pulling fs layer [2021-01-20T00:32:26.454Z] 93b61091891f: Pulling fs layer [2021-01-20T00:32:26.454Z] 93b9cdb0e59b: Pulling fs layer [2021-01-20T00:32:26.454Z] 5e14af77c1be: Pulling fs layer [2021-01-20T00:32:26.454Z] 01666e4c0597: Pulling fs layer [2021-01-20T00:32:26.454Z] aa168da1d23b: Pulling fs layer [2021-01-20T00:32:26.454Z] 93b9cdb0e59b: Waiting [2021-01-20T00:32:26.454Z] 46f8f816bc3b: Waiting [2021-01-20T00:32:26.454Z] 5e14af77c1be: Waiting [2021-01-20T00:32:26.454Z] 01666e4c0597: Waiting [2021-01-20T00:32:26.454Z] 93b61091891f: Waiting [2021-01-20T00:32:26.455Z] 36b3adc4ff6f: Verifying Checksum [2021-01-20T00:32:26.455Z] 36b3adc4ff6f: Download complete [2021-01-20T00:32:26.455Z] 46f8f816bc3b: Verifying Checksum [2021-01-20T00:32:26.455Z] 46f8f816bc3b: Download complete [2021-01-20T00:32:26.722Z] df20fa9351a1: Verifying Checksum [2021-01-20T00:32:26.722Z] 93b9cdb0e59b: Verifying Checksum [2021-01-20T00:32:26.722Z] 93b9cdb0e59b: Download complete [2021-01-20T00:32:26.722Z] 5e14af77c1be: Verifying Checksum [2021-01-20T00:32:26.722Z] 5e14af77c1be: Download complete [2021-01-20T00:32:26.722Z] 93b61091891f: Verifying Checksum [2021-01-20T00:32:26.722Z] 93b61091891f: Download complete [2021-01-20T00:32:26.722Z] 01666e4c0597: Verifying Checksum [2021-01-20T00:32:26.722Z] 01666e4c0597: Download complete [2021-01-20T00:32:26.988Z] 8ad3a11d3b57: Verifying Checksum [2021-01-20T00:32:26.988Z] 8ad3a11d3b57: Download complete [2021-01-20T00:32:26.988Z] df20fa9351a1: Pull complete [2021-01-20T00:32:27.260Z] 36b3adc4ff6f: Pull complete [2021-01-20T00:32:28.225Z] 8ad3a11d3b57: Pull complete [2021-01-20T00:32:28.225Z] 46f8f816bc3b: Pull complete [2021-01-20T00:32:29.197Z] 93b61091891f: Pull complete [2021-01-20T00:32:29.197Z] 93b9cdb0e59b: Pull complete [2021-01-20T00:32:29.460Z] 5e14af77c1be: Pull complete [2021-01-20T00:32:29.460Z] aa168da1d23b: Verifying Checksum [2021-01-20T00:32:29.460Z] aa168da1d23b: Download complete [2021-01-20T00:32:29.722Z] 01666e4c0597: Pull complete [2021-01-20T00:32:36.376Z] aa168da1d23b: Pull complete [2021-01-20T00:32:36.376Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-20T00:32:36.376Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-20T00:32:36.376Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-20T00:32:36.634Z] prd-centos7-docker-4c-2g-21413 does not seem to be running inside a container [2021-01-20T00:32:36.687Z] $ 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-76/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-76 -v /w/workspace/dgexfoundry_device-rest-go_PR-76:/w/workspace/dgexfoundry_device-rest-go_PR-76:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-76@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-76@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:10003/edgex-lftools-log-publisher:alpine cat [2021-01-20T00:32:40.387Z] $ docker top 3dea5241b113d0e6b54cf5a510ca1b796027f43828299b11811403b35b1263f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-20T00:32:41.005Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-20T00:32:41.358Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-20T00:32:41.691Z] + ls /var/log/sa-host [2021-01-20T00:32:41.691Z] + sadf -c /var/log/sa-host/sa20 [2021-01-20T00:32:41.691Z] file_magic: OK [2021-01-20T00:32:41.691Z] HZ: Using current value: 100 [2021-01-20T00:32:41.691Z] file_header: OK [2021-01-20T00:32:41.691Z] 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-01-20T00:32:41.691Z] Statistics: [2021-01-20T00:32:41.691Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-20T00:32:41.691Z] File successfully converted to sysstat format version 12.2.1 [2021-01-20T00:32:41.691Z] + sadf -c /var/log/sa-host/sa23 [2021-01-20T00:32:41.691Z] file_magic: OK [2021-01-20T00:32:41.691Z] HZ: Using current value: 100 [2021-01-20T00:32:41.691Z] file_header: OK [2021-01-20T00:32:41.691Z] 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-01-20T00:32:41.691Z] Statistics: [2021-01-20T00:32:41.691Z] Hnuu...uuuununununu... [2021-01-20T00:32:41.691Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-20T00:32:41.957Z] provisioning config files... [2021-01-20T00:32:41.971Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-76@tmp/config648883452856979213tmp [Pipeline] { [Pipeline] echo [2021-01-20T00:32:42.098Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T00:32:42.442Z] ---> create-netrc.sh [Pipeline] } [2021-01-20T00:32:42.473Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-20T00:32:42.612Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T00:32:42.977Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-20T00:32:43.006Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T00:32:43.369Z] ---> sudo-logs.sh [2021-01-20T00:32:43.369Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-20T00:32:43.400Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T00:32:43.742Z] ---> job-cost.sh [2021-01-20T00:32:43.742Z] lf-activate-venv: SKIPPING [2021-01-20T00:32:43.742Z] INFO: No Stack... [2021-01-20T00:32:44.690Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-20T00:32:44.957Z] INFO: Archiving Costs [Pipeline] echo [2021-01-20T00:32:44.994Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-20T00:32:45.329Z] ---> logs-deploy.sh [2021-01-20T00:32:45.329Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-76/1 [2021-01-20T00:32:45.329Z] INFO: archiving workspace using pattern(s): [2021-01-20T00:32:47.292Z] Archives upload complete. [2021-01-20T00:32:47.292Z] INFO: archiving logs to Nexus