Pull request #70 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d87d68ab5275aeb6cdfeb574ec2681332d42e3e3+793fa606b8324739f564128f9001c967c619a4b2 (f0c9633213f886890c80c5e2dd6a4dd0f9bde9bd) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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-70/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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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-70/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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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-19383 in /w/workspace/dgexfoundry_device-rest-go_PR-70 [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-70 # 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 793fa606b8324739f564128f9001c967c619a4b2 into PR head commit d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 Merge succeeded, producing d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 Checking out Revision d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 (PR-70) > 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/70/head:refs/remotes/origin/PR-70 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 # 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 793fa606b8324739f564128f9001c967c619a4b2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-11T06:10:16.490Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-11T06:10:16.959Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-11T06:10:17.250Z] ========================================================= [2021-01-11T06:10:17.250Z] EdgeX Global Pipelines Version Info [2021-01-11T06:10:17.250Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:10:19.144Z] ------------------- [2021-01-11T06:10:19.144Z] stable info: [2021-01-11T06:10:19.144Z] ------------------- [2021-01-11T06:10:19.144Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-11T06:10:19.144Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T06:10:19.144Z] Message: update stable to v1.0.173 [2021-01-11T06:10:20.107Z] ------------------- [2021-01-11T06:10:20.107Z] experimental info: [2021-01-11T06:10:20.107Z] ------------------- [2021-01-11T06:10:20.107Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-11T06:10:20.107Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T06:10:20.107Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-11T06:10:20.659Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-01-11T06:10:20.806Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-01-11T06:10:20.994Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-11T06:10:21.117Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-11T06:10:21.292Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-11T06:10:21.510Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-11T06:10:21.792Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-11T06:10:21.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-11T06:10:22.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-11T06:10:22.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-11T06:10:22.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-11T06:10:22.898Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-01-11T06:10:23.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-11T06:10:23.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-11T06:10:23.425Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-11T06:10:23.553Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-11T06:10:23.769Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-11T06:10:24.076Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-11T06:10:24.258Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-11T06:10:24.490Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-11T06:10:24.745Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-11T06:10:25.073Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-11T06:10:25.346Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-11T06:10:25.585Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-11T06:10:25.794Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-11T06:10:26.034Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-11T06:10:26.286Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-11T06:10:26.505Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-70 [Pipeline] echo [2021-01-11T06:10:26.624Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-70 [Pipeline] echo [2021-01-11T06:10:26.744Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-70 [Pipeline] echo [2021-01-11T06:10:26.865Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 [Pipeline] echo [2021-01-11T06:10:26.980Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d87d68a [Pipeline] echo [2021-01-11T06:10:27.096Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T06:10:27.372Z] provisioning config files... [2021-01-11T06:10:27.410Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-70@tmp/config7062704826884636645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:10:27.896Z] ---> docker-login.sh [2021-01-11T06:10:27.896Z] nexus3.edgexfoundry.org:10001 [2021-01-11T06:10:28.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:10:28.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:10:28.466Z] Configure a credential helper to remove this warning. See [2021-01-11T06:10:28.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:10:28.466Z] [2021-01-11T06:10:28.466Z] Login Succeeded [2021-01-11T06:10:28.466Z] nexus3.edgexfoundry.org:10002 [2021-01-11T06:10:28.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:10:28.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:10:28.760Z] Configure a credential helper to remove this warning. See [2021-01-11T06:10:28.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:10:28.760Z] [2021-01-11T06:10:28.760Z] Login Succeeded [2021-01-11T06:10:28.760Z] nexus3.edgexfoundry.org:10003 [2021-01-11T06:10:28.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:10:28.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:10:28.761Z] Configure a credential helper to remove this warning. See [2021-01-11T06:10:28.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:10:28.761Z] [2021-01-11T06:10:28.761Z] Login Succeeded [2021-01-11T06:10:28.761Z] nexus3.edgexfoundry.org:10004 [2021-01-11T06:10:29.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:10:29.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:10:29.052Z] Configure a credential helper to remove this warning. See [2021-01-11T06:10:29.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:10:29.052Z] [2021-01-11T06:10:29.052Z] Login Succeeded [2021-01-11T06:10:29.052Z] docker.io [2021-01-11T06:10:29.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:10:29.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:10:29.591Z] Configure a credential helper to remove this warning. See [2021-01-11T06:10:29.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:10:29.591Z] [2021-01-11T06:10:29.591Z] Login Succeeded [2021-01-11T06:10:29.591Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T06:10:29.637Z] 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-11T06:10:31.145Z] + git log --format=format:%s -1 d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 [Pipeline] echo [2021-01-11T06:10:31.280Z] GIT_COMMIT: d87d68ab5275aeb6cdfeb574ec2681332d42e3e3, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go [Pipeline] echo [2021-01-11T06:10:31.397Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:10:32.125Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T06:10:32.125Z] [2021-01-11T06:10:32.125Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:10:32.553Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T06:10:32.553Z] latest: Pulling from edgex-devops/git-semver [2021-01-11T06:10:32.553Z] 31603596830f: Pulling fs layer [2021-01-11T06:10:32.553Z] 2a8b12db71e7: Pulling fs layer [2021-01-11T06:10:32.553Z] 6ca5941a6612: Pulling fs layer [2021-01-11T06:10:32.553Z] ecc8261a40a4: Pulling fs layer [2021-01-11T06:10:32.553Z] ecc8261a40a4: Waiting [2021-01-11T06:10:32.553Z] 2a8b12db71e7: Verifying Checksum [2021-01-11T06:10:32.553Z] 2a8b12db71e7: Download complete [2021-01-11T06:10:32.553Z] 31603596830f: Verifying Checksum [2021-01-11T06:10:32.553Z] 31603596830f: Download complete [2021-01-11T06:10:32.830Z] ecc8261a40a4: Verifying Checksum [2021-01-11T06:10:32.830Z] ecc8261a40a4: Download complete [2021-01-11T06:10:32.830Z] 6ca5941a6612: Verifying Checksum [2021-01-11T06:10:32.830Z] 6ca5941a6612: Download complete [2021-01-11T06:10:33.097Z] 31603596830f: Pull complete [2021-01-11T06:10:33.097Z] 2a8b12db71e7: Pull complete [2021-01-11T06:10:34.107Z] 6ca5941a6612: Pull complete [2021-01-11T06:10:34.378Z] ecc8261a40a4: Pull complete [2021-01-11T06:10:34.378Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-11T06:10:34.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T06:10:34.378Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-11T06:10:34.556Z] prd-centos7-docker-4c-2g-19383 does not seem to be running inside a container [2021-01-11T06:10:34.626Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-70 -v /w/workspace/dgexfoundry_device-rest-go_PR-70:/w/workspace/dgexfoundry_device-rest-go_PR-70:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-70@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-11T06:10:36.811Z] $ docker top a48b12b36074a289e1a9a760e54ef60abff4fde4d928d33476776a693f8ba02f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-11T06:10:37.215Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T06:10:37.215Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T06:10:37.437Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T06:10:37.441Z] $ docker exec a48b12b36074a289e1a9a760e54ef60abff4fde4d928d33476776a693f8ba02f ssh-agent [2021-01-11T06:10:37.650Z] SSH_AUTH_SOCK=/tmp/ssh-tX85OBKKkr44/agent.11 [2021-01-11T06:10:37.650Z] SSH_AGENT_PID=17 [2021-01-11T06:10:37.668Z] Running ssh-add (command line suppressed) [2021-01-11T06:10:37.823Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-70@tmp/private_key_2260864705730228675.key (/w/workspace/dgexfoundry_device-rest-go_PR-70@tmp/private_key_2260864705730228675.key) [2021-01-11T06:10:37.887Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T06:10:38.266Z] + git tag --points-at HEAD [Pipeline] } [2021-01-11T06:10:38.305Z] $ docker exec --env ******** --env ******** a48b12b36074a289e1a9a760e54ef60abff4fde4d928d33476776a693f8ba02f ssh-agent -k [2021-01-11T06:10:38.422Z] unset SSH_AUTH_SOCK; [2021-01-11T06:10:38.422Z] unset SSH_AGENT_PID; [2021-01-11T06:10:38.422Z] echo Agent pid 17 killed; [2021-01-11T06:10:38.476Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-11T06:10:38.737Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T06:10:38.737Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T06:10:38.917Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T06:10:38.921Z] $ docker exec a48b12b36074a289e1a9a760e54ef60abff4fde4d928d33476776a693f8ba02f ssh-agent [2021-01-11T06:10:39.131Z] SSH_AUTH_SOCK=/tmp/ssh-TxQcQxKunxUG/agent.46 [2021-01-11T06:10:39.131Z] SSH_AGENT_PID=51 [2021-01-11T06:10:39.143Z] Running ssh-add (command line suppressed) [2021-01-11T06:10:39.272Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-70@tmp/private_key_8308774535851200501.key (/w/workspace/dgexfoundry_device-rest-go_PR-70@tmp/private_key_8308774535851200501.key) [2021-01-11T06:10:39.342Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T06:10:39.789Z] + git semver init [2021-01-11T06:10:39.790Z] # -> Open(): unable to determine branch for HEAD [2021-01-11T06:10:39.790Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-70/.git [2021-01-11T06:10:39.790Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-70 [2021-01-11T06:10:39.790Z] # $SEMVER_REMOTE_NAME = origin [2021-01-11T06:10:39.790Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-11T06:10:39.790Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-11T06:10:39.790Z] # $SEMVER_BRANCH = PR-70 [2021-01-11T06:10:39.790Z] # $SEMVER_TEMP = /tmp/semver-398916370 [2021-01-11T06:10:39.790Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-01-11T06:10:40.782Z] # '/tmp/semver-398916370' -> '/w/workspace/dgexfoundry_device-rest-go_PR-70/.semver' [2021-01-11T06:10:40.782Z] # -> Force: false [2021-01-11T06:10:41.074Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-70/.semver [Pipeline] } [2021-01-11T06:10:41.112Z] $ docker exec --env ******** --env ******** a48b12b36074a289e1a9a760e54ef60abff4fde4d928d33476776a693f8ba02f ssh-agent -k [2021-01-11T06:10:41.233Z] unset SSH_AUTH_SOCK; [2021-01-11T06:10:41.234Z] unset SSH_AGENT_PID; [2021-01-11T06:10:41.234Z] echo Agent pid 51 killed; [2021-01-11T06:10:41.280Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-11T06:10:41.937Z] + git semver [Pipeline] } [2021-01-11T06:10:42.061Z] $ docker stop --time=1 a48b12b36074a289e1a9a760e54ef60abff4fde4d928d33476776a693f8ba02f [2021-01-11T06:10:43.479Z] $ docker rm -f a48b12b36074a289e1a9a760e54ef60abff4fde4d928d33476776a693f8ba02f [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-11T06:10:44.069Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-11T06:10:44.615Z] Stashed 1 file(s) [Pipeline] echo [2021-01-11T06:10:44.634Z] [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-11T06:11:00.455Z] Still waiting to schedule task [2021-01-11T06:11:00.455Z] ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-19366’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-19361’ is offline; ‘prd-centos7-docker-4c-2g-19362’ is offline; ‘prd-centos7-docker-4c-2g-19363’ is offline; ‘prd-centos7-docker-4c-2g-19364’ is offline; ‘prd-centos7-docker-4c-2g-19368’ is offline; ‘prd-centos7-docker-4c-2g-19369’ is offline; ‘prd-centos7-docker-4c-2g-19379’ is offline; ‘prd-centos7-docker-4c-2g-19392’ is offline; ‘prd-centos7-docker-4c-2g-19393’ is offline; ‘prd-centos7-docker-4c-2g-19394’ is offline; ‘prd-centos7-docker-4c-2g-19396’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19367’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19372’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19391’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-11T06:11:00.487Z] Still waiting to schedule task [2021-01-11T06:11:00.487Z] ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-builder-2c-1g-19366’ 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-centos7-docker-4c-2g-19361’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19362’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19363’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19364’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19368’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19369’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19379’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19392’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19393’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19394’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19396’ 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-19367’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19372’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19391’ is offline [2021-01-11T06:14:37.668Z] Running on prd-centos7-docker-4c-2g-19399 in /w/workspace/dgexfoundry_device-rest-go_PR-70 [Pipeline] { [Pipeline] ws [2021-01-11T06:14:37.778Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-01-11T06:14:42.026Z] using credential edgex-jenkins-ssh [2021-01-11T06:14:42.229Z] Cloning the remote Git repository [2021-01-11T06:14:42.274Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T06:14:42.432Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-01-11T06:14:42.509Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T06:14:42.509Z] > git --version # timeout=10 [2021-01-11T06:14:42.517Z] > git --version # 'git version 2.24.3' [2021-01-11T06:14:42.518Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T06:14:42.593Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T06:14:43.869Z] Merging remotes/origin/master commit 793fa606b8324739f564128f9001c967c619a4b2 into PR head commit d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 [2021-01-11T06:14:43.975Z] Merge succeeded, producing d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 [2021-01-11T06:14:43.975Z] Checking out Revision d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 (PR-70) [2021-01-11T06:14:43.476Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-11T06:14:43.487Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T06:14:43.500Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-11T06:14:43.515Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T06:14:43.515Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T06:14:43.520Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/70/head:refs/remotes/origin/PR-70 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-11T06:14:43.878Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T06:14:43.885Z] > git checkout -f d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 # timeout=10 [2021-01-11T06:14:43.943Z] > git remote # timeout=10 [2021-01-11T06:14:43.949Z] > git config --get remote.origin.url # timeout=10 [2021-01-11T06:14:43.954Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T06:14:43.958Z] > git merge 793fa606b8324739f564128f9001c967c619a4b2 # timeout=10 [2021-01-11T06:14:43.968Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-11T06:14:43.978Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T06:14:43.982Z] > git checkout -f d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 # timeout=10 [2021-01-11T06:14:47.758Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" [2021-01-11T06:14:47.795Z] > git --version # timeout=10 [2021-01-11T06:14:47.801Z] > git --version # 'git version 2.24.3' [2021-01-11T06:14:47.808Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T06:14:49.193Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-11T06:14:49.551Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-11T06:14:49.881Z] + sudo service docker restart [2021-01-11T06:14:49.881Z] + true [2021-01-11T06:14:49.881Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T06:14:51.029Z] provisioning config files... [2021-01-11T06:14:51.069Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8012750220577863522tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:14:51.487Z] ---> docker-login.sh [2021-01-11T06:14:51.487Z] nexus3.edgexfoundry.org:10001 [2021-01-11T06:14:51.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:14:52.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:14:52.030Z] Configure a credential helper to remove this warning. See [2021-01-11T06:14:52.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:14:52.030Z] [2021-01-11T06:14:52.030Z] Login Succeeded [2021-01-11T06:14:52.030Z] nexus3.edgexfoundry.org:10002 [2021-01-11T06:14:52.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:14:52.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:14:52.293Z] Configure a credential helper to remove this warning. See [2021-01-11T06:14:52.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:14:52.293Z] [2021-01-11T06:14:52.293Z] Login Succeeded [2021-01-11T06:14:52.293Z] nexus3.edgexfoundry.org:10003 [2021-01-11T06:14:52.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:14:52.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:14:52.565Z] Configure a credential helper to remove this warning. See [2021-01-11T06:14:52.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:14:52.565Z] [2021-01-11T06:14:52.565Z] Login Succeeded [2021-01-11T06:14:52.565Z] nexus3.edgexfoundry.org:10004 [2021-01-11T06:14:52.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:14:52.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:14:52.565Z] Configure a credential helper to remove this warning. See [2021-01-11T06:14:52.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:14:52.565Z] [2021-01-11T06:14:52.565Z] Login Succeeded [2021-01-11T06:14:52.565Z] docker.io [2021-01-11T06:14:52.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:14:53.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:14:53.128Z] Configure a credential helper to remove this warning. See [2021-01-11T06:14:53.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:14:53.128Z] [2021-01-11T06:14:53.128Z] Login Succeeded [2021-01-11T06:14:53.128Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T06:14:53.186Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-11T06:14:53.839Z] ========================================================= [2021-01-11T06:14:53.840Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-11T06:14:53.840Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:14:54.231Z] + 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-11T06:14:54.231Z] Sending build context to Docker daemon 84.48kB [2021-01-11T06:14:54.500Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T06:14:54.500Z] Step 2/10 : FROM ${BASE} [2021-01-11T06:14:54.500Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-11T06:14:54.500Z] 188c0c94c7c5: Pulling fs layer [2021-01-11T06:14:54.500Z] 0ef7d3d256c8: Pulling fs layer [2021-01-11T06:14:54.500Z] de9db76c5a1d: Pulling fs layer [2021-01-11T06:14:54.500Z] bca2f99d35d6: Pulling fs layer [2021-01-11T06:14:54.500Z] 93359f2a8cfa: Pulling fs layer [2021-01-11T06:14:54.500Z] 7c6f9722023f: Pulling fs layer [2021-01-11T06:14:54.500Z] a35cf1a2eb13: Pulling fs layer [2021-01-11T06:14:54.500Z] bca2f99d35d6: Waiting [2021-01-11T06:14:54.500Z] 93359f2a8cfa: Waiting [2021-01-11T06:14:54.500Z] 7c6f9722023f: Waiting [2021-01-11T06:14:54.500Z] a35cf1a2eb13: Waiting [2021-01-11T06:14:54.500Z] de9db76c5a1d: Verifying Checksum [2021-01-11T06:14:54.500Z] de9db76c5a1d: Download complete [2021-01-11T06:14:54.500Z] 0ef7d3d256c8: Verifying Checksum [2021-01-11T06:14:54.500Z] 93359f2a8cfa: Verifying Checksum [2021-01-11T06:14:54.500Z] 93359f2a8cfa: Download complete [2021-01-11T06:14:54.500Z] 188c0c94c7c5: Verifying Checksum [2021-01-11T06:14:54.500Z] 188c0c94c7c5: Download complete [2021-01-11T06:14:54.500Z] 7c6f9722023f: Verifying Checksum [2021-01-11T06:14:54.500Z] 7c6f9722023f: Download complete [2021-01-11T06:14:54.780Z] 188c0c94c7c5: Pull complete [2021-01-11T06:14:55.062Z] 0ef7d3d256c8: Pull complete [2021-01-11T06:14:55.332Z] de9db76c5a1d: Pull complete [2021-01-11T06:14:58.671Z] a35cf1a2eb13: Verifying Checksum [2021-01-11T06:14:58.671Z] a35cf1a2eb13: Download complete [2021-01-11T06:15:00.072Z] bca2f99d35d6: Verifying Checksum [2021-01-11T06:15:00.072Z] bca2f99d35d6: Download complete [2021-01-11T06:15:07.021Z] bca2f99d35d6: Pull complete [2021-01-11T06:15:07.021Z] 93359f2a8cfa: Pull complete [2021-01-11T06:15:07.021Z] 7c6f9722023f: Pull complete [2021-01-11T06:15:13.676Z] a35cf1a2eb13: Pull complete [2021-01-11T06:15:13.676Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-11T06:15:13.676Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-11T06:15:13.676Z] ---> a62c8e92a672 [2021-01-11T06:15:13.676Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-11T06:15:13.676Z] ---> Running in 3d0f2e853240 [2021-01-11T06:15:13.942Z] Removing intermediate container 3d0f2e853240 [2021-01-11T06:15:13.942Z] ---> 3dc52d818143 [2021-01-11T06:15:13.942Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-11T06:15:13.942Z] ---> Running in e7506b22fcb8 [2021-01-11T06:15:14.206Z] Removing intermediate container e7506b22fcb8 [2021-01-11T06:15:14.206Z] ---> 907e115f8b90 [2021-01-11T06:15:14.206Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-11T06:15:14.206Z] ---> Running in 3408b0989b79 [2021-01-11T06:15:14.206Z] Removing intermediate container 3408b0989b79 [2021-01-11T06:15:14.206Z] ---> 3af33e697bed [2021-01-11T06:15:14.206Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T06:15:14.470Z] ---> Running in 21784426ef52 [2021-01-11T06:15:15.879Z] Removing intermediate container 21784426ef52 [2021-01-11T06:15:15.879Z] ---> 472ae3eb11ad [2021-01-11T06:15:15.879Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-11T06:15:15.879Z] ---> Running in 01a8283897fb [2021-01-11T06:15:16.839Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-11T06:15:17.794Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-11T06:15:19.250Z] OK: 166 MiB in 39 packages [2021-01-11T06:15:19.728Z] Removing intermediate container 01a8283897fb [2021-01-11T06:15:19.728Z] ---> ddedd5d025ab [2021-01-11T06:15:19.728Z] Step 8/10 : WORKDIR /device-rest-go [2021-01-11T06:15:19.728Z] ---> Running in a2d35801c65d [2021-01-11T06:15:19.728Z] Removing intermediate container a2d35801c65d [2021-01-11T06:15:19.728Z] ---> 6a293e248cca [2021-01-11T06:15:19.728Z] Step 9/10 : COPY . . [2021-01-11T06:15:20.315Z] ---> cde90d4f754c [2021-01-11T06:15:20.315Z] Step 10/10 : RUN go mod download [2021-01-11T06:15:20.315Z] ---> Running in 288fa28df073 [2021-01-11T06:15:38.561Z] Removing intermediate container 288fa28df073 [2021-01-11T06:15:38.561Z] ---> 01e30136ffe7 [2021-01-11T06:15:38.561Z] Successfully built 01e30136ffe7 [2021-01-11T06:15:38.561Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:15:38.948Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-11T06:15:38.948Z] . [Pipeline] withDockerContainer [2021-01-11T06:15:39.106Z] prd-centos7-docker-4c-2g-19399 does not seem to be running inside a container [2021-01-11T06:15:39.168Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-11T06:15:40.086Z] $ docker top 840d7b54a43ef6b1936524261e13f79669e3e17ae74171ad77d4c57923e679ec -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T06:15:40.784Z] + go version [2021-01-11T06:15:40.784Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-11T06:15:40.836Z] $ docker stop --time=1 840d7b54a43ef6b1936524261e13f79669e3e17ae74171ad77d4c57923e679ec [2021-01-11T06:15:42.331Z] $ docker rm -f 840d7b54a43ef6b1936524261e13f79669e3e17ae74171ad77d4c57923e679ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:15:44.155Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-11T06:15:44.155Z] . [Pipeline] withDockerContainer [2021-01-11T06:15:44.426Z] prd-centos7-docker-4c-2g-19399 does not seem to be running inside a container [2021-01-11T06:15:44.564Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-11T06:15:45.326Z] $ docker top 2bfe75c215a8879d7a5437c927a38146e703d908a76e488d96868c4752b90746 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T06:15:46.137Z] + make test [2021-01-11T06:15:46.137Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-01-11T06:15:46.747Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-01-11T06:15:48.925Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-19413 in /w/workspace/dgexfoundry_device-rest-go_PR-70 [Pipeline] { [Pipeline] ws [2021-01-11T06:15:49.077Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-01-11T06:15:54.654Z] using credential edgex-jenkins-ssh [2021-01-11T06:15:54.941Z] Cloning the remote Git repository [2021-01-11T06:15:55.005Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T06:15:55.144Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-01-11T06:15:55.242Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T06:15:55.243Z] > git --version # timeout=10 [2021-01-11T06:15:55.264Z] > git --version # 'git version 2.17.1' [2021-01-11T06:15:55.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T06:15:55.330Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T06:15:57.531Z] Merging remotes/origin/master commit 793fa606b8324739f564128f9001c967c619a4b2 into PR head commit d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 [2021-01-11T06:15:57.787Z] Merge succeeded, producing d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 [2021-01-11T06:15:57.787Z] Checking out Revision d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 (PR-70) [2021-01-11T06:15:57.015Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-11T06:15:57.038Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T06:15:57.063Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-11T06:15:57.092Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T06:15:57.093Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T06:15:57.104Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/70/head:refs/remotes/origin/PR-70 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-11T06:15:57.559Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T06:15:57.573Z] > git checkout -f d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 # timeout=10 [2021-01-11T06:15:57.649Z] > git remote # timeout=10 [2021-01-11T06:15:57.710Z] > git config --get remote.origin.url # timeout=10 [2021-01-11T06:15:57.727Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T06:15:57.737Z] > git merge 793fa606b8324739f564128f9001c967c619a4b2 # timeout=10 [2021-01-11T06:15:57.769Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-11T06:15:57.797Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T06:15:57.818Z] > git checkout -f d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 # timeout=10 [2021-01-11T06:15:59.302Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-01-11T06:15:59.594Z] ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 56.3% of statements [2021-01-11T06:15:59.594Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-11T06:16:02.621Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" [2021-01-11T06:16:02.694Z] > git --version # timeout=10 [2021-01-11T06:16:02.704Z] > git --version # 'git version 2.17.1' [2021-01-11T06:16:02.714Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T06:16:03.187Z] gofmt -l . [2021-01-11T06:16:03.187Z] [ "`gofmt -l .`" = "" ] [2021-01-11T06:16:03.187Z] ./bin/test-go-mod-tidy.sh [2021-01-11T06:16:03.187Z] ./bin/test-attribution-txt.sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] } [2021-01-11T06:16:03.968Z] $ docker stop --time=1 2bfe75c215a8879d7a5437c927a38146e703d908a76e488d96868c4752b90746 [2021-01-11T06:16:06.468Z] $ docker rm -f 2bfe75c215a8879d7a5437c927a38146e703d908a76e488d96868c4752b90746 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T06:16:07.142Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-11T06:16:08.032Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-11T06:16:08.424Z] Stashed 1 file(s) [Pipeline] } [2021-01-11T06:16:08.504Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-01-11T06:16:08.949Z] + true [2021-01-11T06:16:08.949Z] + sudo service docker restart [Pipeline] sh [2021-01-11T06:16:09.948Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-11T06:16:10.287Z] + ls -al . [2021-01-11T06:16:10.287Z] total 96 [2021-01-11T06:16:10.287Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jan 11 06:16 . [2021-01-11T06:16:10.287Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 11 06:14 .. [2021-01-11T06:16:10.287Z] -rw-rw-r--. 1 jenkins jenkins 5294 Jan 11 06:14 Attribution.txt [2021-01-11T06:16:10.287Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 11 06:14 bin [2021-01-11T06:16:10.287Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 11 06:14 cmd [2021-01-11T06:16:10.287Z] -rw-r--r--. 1 jenkins jenkins 9369 Jan 11 06:15 coverage.out [2021-01-11T06:16:10.287Z] -rw-rw-r--. 1 jenkins jenkins 1530 Jan 11 06:14 Dockerfile [2021-01-11T06:16:10.287Z] -rw-rw-r--. 1 jenkins jenkins 1002 Jan 11 06:14 Dockerfile.build [2021-01-11T06:16:10.287Z] -rw-rw-r--. 1 jenkins jenkins 151 Jan 11 06:14 .dockerignore [2021-01-11T06:16:10.287Z] drwxrwxr-x. 2 jenkins jenkins 93 Jan 11 06:15 driver [2021-01-11T06:16:10.287Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 11 06:14 .git [2021-01-11T06:16:10.287Z] drwxrwxr-x. 2 jenkins jenkins 60 Jan 11 06:14 .github [2021-01-11T06:16:10.287Z] -rw-rw-r--. 1 jenkins jenkins 339 Jan 11 06:14 .gitignore [2021-01-11T06:16:10.287Z] -rw-r--r--. 1 jenkins jenkins 267 Jan 11 06:16 go.mod [2021-01-11T06:16:10.287Z] -rw-r--r--. 1 jenkins jenkins 13985 Jan 11 06:16 go.sum [2021-01-11T06:16:10.287Z] -rw-rw-r--. 1 jenkins jenkins 680 Jan 11 06:14 Jenkinsfile [2021-01-11T06:16:10.287Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 11 06:14 LICENSE [2021-01-11T06:16:10.287Z] -rw-rw-r--. 1 jenkins jenkins 951 Jan 11 06:14 Makefile [2021-01-11T06:16:10.287Z] -rw-rw-r--. 1 jenkins jenkins 5917 Jan 11 06:14 README.md [2021-01-11T06:16:10.287Z] drwxrwxr-x. 4 jenkins jenkins 71 Jan 11 06:14 snap [2021-01-11T06:16:10.287Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 11 06:10 VERSION [2021-01-11T06:16:10.287Z] -rw-rw-r--. 1 jenkins jenkins 713 Jan 11 06:14 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:16:10.665Z] + 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=d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 --label arch=amd64 --label version=0.0.0 . [2021-01-11T06:16:10.665Z] Sending build context to Docker daemon 96.26kB [2021-01-11T06:16:10.665Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T06:16:10.665Z] Step 2/25 : FROM ${BASE} AS builder [2021-01-11T06:16:10.665Z] ---> 01e30136ffe7 [2021-01-11T06:16:10.665Z] Step 3/25 : ARG MAKE='make build' [2021-01-11T06:16:10.941Z] ---> Running in 4bfa2fb66ebb [2021-01-11T06:16:10.941Z] Removing intermediate container 4bfa2fb66ebb [2021-01-11T06:16:10.941Z] ---> d368b4c82c24 [2021-01-11T06:16:10.941Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2021-01-11T06:16:11.213Z] ---> Running in a28cc0524f49 [2021-01-11T06:16:11.213Z] Removing intermediate container a28cc0524f49 [2021-01-11T06:16:11.213Z] ---> 868fb62ea289 [2021-01-11T06:16:11.213Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-01-11T06:16:11.497Z] ---> Running in 3b6409c5b6c8 [2021-01-11T06:16:11.497Z] Removing intermediate container 3b6409c5b6c8 [2021-01-11T06:16:11.497Z] ---> 81321c7e91a7 [2021-01-11T06:16:11.497Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T06:16:11.497Z] ---> Running in 634fc669d0bf [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T06:16:11.873Z] provisioning config files... [2021-01-11T06:16:11.921Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3443537901434417628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:16:12.510Z] Removing intermediate container 634fc669d0bf [2021-01-11T06:16:12.511Z] ---> c6ba0accd2ae [2021-01-11T06:16:12.511Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-11T06:16:12.682Z] ---> docker-login.sh [2021-01-11T06:16:12.682Z] nexus3.edgexfoundry.org:10001 [2021-01-11T06:16:12.802Z] ---> Running in 1e99961839fa [2021-01-11T06:16:13.396Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-11T06:16:13.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:16:13.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:16:13.949Z] Configure a credential helper to remove this warning. See [2021-01-11T06:16:13.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:16:13.949Z] [2021-01-11T06:16:13.949Z] Login Succeeded [2021-01-11T06:16:13.949Z] nexus3.edgexfoundry.org:10002 [2021-01-11T06:16:14.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:16:14.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:16:14.551Z] Configure a credential helper to remove this warning. See [2021-01-11T06:16:14.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:16:14.551Z] [2021-01-11T06:16:14.551Z] Login Succeeded [2021-01-11T06:16:14.551Z] nexus3.edgexfoundry.org:10003 [2021-01-11T06:16:15.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:16:15.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:16:15.198Z] Configure a credential helper to remove this warning. See [2021-01-11T06:16:15.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:16:15.198Z] [2021-01-11T06:16:15.198Z] Login Succeeded [2021-01-11T06:16:15.198Z] nexus3.edgexfoundry.org:10004 [2021-01-11T06:16:15.353Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-11T06:16:15.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:16:15.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:16:15.838Z] Configure a credential helper to remove this warning. See [2021-01-11T06:16:15.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:16:15.838Z] [2021-01-11T06:16:15.838Z] Login Succeeded [2021-01-11T06:16:15.838Z] docker.io [2021-01-11T06:16:16.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:16:16.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:16:16.731Z] Configure a credential helper to remove this warning. See [2021-01-11T06:16:16.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:16:16.731Z] [2021-01-11T06:16:16.731Z] Login Succeeded [2021-01-11T06:16:16.731Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T06:16:16.781Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-11T06:16:17.474Z] ========================================================= [2021-01-11T06:16:17.474Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-11T06:16:17.474Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:16:17.906Z] + 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-11T06:16:17.906Z] Sending build context to Docker daemon 84.48kB [2021-01-11T06:16:18.181Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T06:16:18.181Z] Step 2/10 : FROM ${BASE} [2021-01-11T06:16:18.458Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-11T06:16:18.458Z] 5f621e34cdf4: Pulling fs layer [2021-01-11T06:16:18.458Z] a4357932f1b6: Pulling fs layer [2021-01-11T06:16:18.458Z] 18c013af1878: Pulling fs layer [2021-01-11T06:16:18.458Z] 00ac8860ef70: Pulling fs layer [2021-01-11T06:16:18.458Z] 63d7cb157983: Pulling fs layer [2021-01-11T06:16:18.458Z] b116817d02f9: Pulling fs layer [2021-01-11T06:16:18.458Z] 745a02a5169b: Pulling fs layer [2021-01-11T06:16:18.458Z] 00ac8860ef70: Waiting [2021-01-11T06:16:18.458Z] 63d7cb157983: Waiting [2021-01-11T06:16:18.458Z] b116817d02f9: Waiting [2021-01-11T06:16:18.458Z] 745a02a5169b: Waiting [2021-01-11T06:16:18.458Z] 18c013af1878: Verifying Checksum [2021-01-11T06:16:18.458Z] 18c013af1878: Download complete [2021-01-11T06:16:18.458Z] a4357932f1b6: Verifying Checksum [2021-01-11T06:16:18.458Z] a4357932f1b6: Download complete [2021-01-11T06:16:18.458Z] 63d7cb157983: Verifying Checksum [2021-01-11T06:16:18.458Z] 63d7cb157983: Download complete [2021-01-11T06:16:18.458Z] b116817d02f9: Verifying Checksum [2021-01-11T06:16:18.458Z] b116817d02f9: Download complete [2021-01-11T06:16:18.458Z] 5f621e34cdf4: Verifying Checksum [2021-01-11T06:16:18.458Z] 5f621e34cdf4: Download complete [2021-01-11T06:16:19.484Z] 5f621e34cdf4: Pull complete [2021-01-11T06:16:19.663Z] OK: 166 MiB in 39 packages [2021-01-11T06:16:20.096Z] a4357932f1b6: Pull complete [2021-01-11T06:16:20.245Z] Removing intermediate container 1e99961839fa [2021-01-11T06:16:20.245Z] ---> bfb304bf3a79 [2021-01-11T06:16:20.245Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2021-01-11T06:16:20.245Z] ---> Running in 8d13ba4ffb96 [2021-01-11T06:16:20.372Z] 18c013af1878: Pull complete [2021-01-11T06:16:20.372Z] 745a02a5169b: Verifying Checksum [2021-01-11T06:16:20.372Z] 745a02a5169b: Download complete [2021-01-11T06:16:20.514Z] Removing intermediate container 8d13ba4ffb96 [2021-01-11T06:16:20.514Z] ---> 6088e6231cd9 [2021-01-11T06:16:20.514Z] Step 9/25 : COPY go.mod . [2021-01-11T06:16:20.779Z] ---> 13bc86392838 [2021-01-11T06:16:20.779Z] Step 10/25 : COPY Makefile . [2021-01-11T06:16:20.779Z] ---> 0f986f22f108 [2021-01-11T06:16:20.779Z] Step 11/25 : RUN make update [2021-01-11T06:16:21.043Z] ---> Running in 7302fbc00257 [2021-01-11T06:16:21.621Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-01-11T06:16:22.199Z] Removing intermediate container 7302fbc00257 [2021-01-11T06:16:22.199Z] ---> 53b27bc2ca48 [2021-01-11T06:16:22.199Z] Step 12/25 : COPY . . [2021-01-11T06:16:22.361Z] 00ac8860ef70: Verifying Checksum [2021-01-11T06:16:22.361Z] 00ac8860ef70: Download complete [2021-01-11T06:16:22.461Z] ---> 8cc42503565e [2021-01-11T06:16:22.461Z] Step 13/25 : RUN $MAKE [2021-01-11T06:16:22.461Z] ---> Running in 4a10197496ca [2021-01-11T06:16:23.042Z] 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-11T06:16:32.544Z] 00ac8860ef70: Pull complete [2021-01-11T06:16:32.544Z] 63d7cb157983: Pull complete [2021-01-11T06:16:32.544Z] b116817d02f9: Pull complete [2021-01-11T06:16:35.484Z] Removing intermediate container 4a10197496ca [2021-01-11T06:16:35.484Z] ---> d3f09e300491 [2021-01-11T06:16:35.484Z] Step 14/25 : FROM alpine:3.12 [2021-01-11T06:16:35.484Z] 3.12: Pulling from library/alpine [2021-01-11T06:16:35.484Z] 801bfaa63ef2: Pulling fs layer [2021-01-11T06:16:35.484Z] 801bfaa63ef2: Verifying Checksum [2021-01-11T06:16:35.484Z] 801bfaa63ef2: Download complete [2021-01-11T06:16:35.957Z] 745a02a5169b: Pull complete [2021-01-11T06:16:35.957Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-11T06:16:35.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-11T06:16:35.957Z] ---> b7e6874047d6 [2021-01-11T06:16:35.957Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-11T06:16:36.090Z] 801bfaa63ef2: Pull complete [2021-01-11T06:16:36.090Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-11T06:16:36.090Z] Status: Downloaded newer image for alpine:3.12 [2021-01-11T06:16:36.090Z] ---> 389fef711851 [2021-01-11T06:16:36.090Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-11T06:16:36.090Z] ---> Running in 030b0199a972 [2021-01-11T06:16:36.394Z] Removing intermediate container 030b0199a972 [2021-01-11T06:16:36.394Z] ---> e7a5992ce029 [2021-01-11T06:16:36.394Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-01-11T06:16:36.394Z] ---> Running in f7e9c6b92a21 [2021-01-11T06:16:36.672Z] Removing intermediate container f7e9c6b92a21 [2021-01-11T06:16:36.672Z] ---> 191fcb42d977 [2021-01-11T06:16:36.672Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2021-01-11T06:16:36.672Z] ---> d3d10926a92d [2021-01-11T06:16:36.672Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2021-01-11T06:16:36.954Z] ---> 160f5bd9e2f5 [2021-01-11T06:16:36.954Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2021-01-11T06:16:37.601Z] ---> e726a16fe83e [2021-01-11T06:16:37.601Z] Step 20/25 : EXPOSE 49986 [2021-01-11T06:16:37.601Z] ---> Running in 56ccd0ec2a71 [2021-01-11T06:16:37.865Z] Removing intermediate container 56ccd0ec2a71 [2021-01-11T06:16:37.865Z] ---> 8a4937a3a72a [2021-01-11T06:16:37.865Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2021-01-11T06:16:37.865Z] ---> Running in d0858a2f2238 [2021-01-11T06:16:38.135Z] Removing intermediate container d0858a2f2238 [2021-01-11T06:16:38.135Z] ---> a943763c1319 [2021-01-11T06:16:38.135Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-01-11T06:16:38.135Z] ---> Running in 79b46b1b41a2 [2021-01-11T06:16:38.402Z] Removing intermediate container 79b46b1b41a2 [2021-01-11T06:16:38.402Z] ---> 3ecd8b181c68 [2021-01-11T06:16:38.402Z] Step 23/25 : LABEL arch=amd64 [2021-01-11T06:16:38.402Z] ---> Running in 88989bb5a91a [2021-01-11T06:16:38.402Z] Removing intermediate container 88989bb5a91a [2021-01-11T06:16:38.402Z] ---> 8ae4b927b7d5 [2021-01-11T06:16:38.402Z] Step 24/25 : LABEL git_sha=d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 [2021-01-11T06:16:38.665Z] ---> Running in 146bc79d144d [2021-01-11T06:16:38.665Z] Removing intermediate container 146bc79d144d [2021-01-11T06:16:38.665Z] ---> 583292e689ef [2021-01-11T06:16:38.665Z] Step 25/25 : LABEL version=0.0.0 [2021-01-11T06:16:38.933Z] ---> Running in b43c874df0db [2021-01-11T06:16:38.933Z] Removing intermediate container b43c874df0db [2021-01-11T06:16:38.933Z] ---> 4dced8273ca4 [2021-01-11T06:16:38.933Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-11T06:16:38.933Z] Successfully built 4dced8273ca4 [2021-01-11T06:16:38.933Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2021-01-11T06:16:39.348Z] ---> Running in fabb23a1c2c9 [2021-01-11T06:16:39.348Z] Removing intermediate container fabb23a1c2c9 [2021-01-11T06:16:39.348Z] ---> 2b071f3b96c7 [2021-01-11T06:16:39.348Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-11T06:16:39.348Z] ---> Running in a6cebae2aa5d [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2021-01-11T06:16:39.942Z] Removing intermediate container a6cebae2aa5d [2021-01-11T06:16:39.942Z] ---> ff4236088aab [2021-01-11T06:16:39.942Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-11T06:16:39.942Z] ---> Running in 24832f4aa718 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-11T06:16:40.534Z] Removing intermediate container 24832f4aa718 [2021-01-11T06:16:40.534Z] ---> a7ca502a3378 [2021-01-11T06:16:40.534Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T06:16:40.534Z] ---> Running in 54fe2c711001 [2021-01-11T06:16:42.520Z] Removing intermediate container 54fe2c711001 [2021-01-11T06:16:42.520Z] ---> eb4811ef8379 [2021-01-11T06:16:42.520Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-11T06:16:42.797Z] ---> Running in f5752f80f4a8 [2021-01-11T06:16:43.779Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-11T06:16:44.762Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-11T06:16:45.740Z] OK: 142 MiB in 39 packages [2021-01-11T06:16:46.722Z] Removing intermediate container f5752f80f4a8 [2021-01-11T06:16:46.722Z] ---> 2e8caab963ae [2021-01-11T06:16:46.722Z] Step 8/10 : WORKDIR /device-rest-go [2021-01-11T06:16:46.996Z] ---> Running in 3382c0da43a7 [2021-01-11T06:16:47.274Z] Removing intermediate container 3382c0da43a7 [2021-01-11T06:16:47.274Z] ---> 3baf90a8e989 [2021-01-11T06:16:47.274Z] Step 9/10 : COPY . . [2021-01-11T06:16:48.256Z] ---> 2e02b6cd5bf3 [2021-01-11T06:16:48.256Z] Step 10/10 : RUN go mod download [2021-01-11T06:16:48.256Z] ---> Running in 1ec970eb6cb9 [2021-01-11T06:17:10.422Z] Removing intermediate container 1ec970eb6cb9 [2021-01-11T06:17:10.422Z] ---> bc1b2370961c [2021-01-11T06:17:10.422Z] Successfully built bc1b2370961c [2021-01-11T06:17:10.422Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:17:10.795Z] + docker inspect -f . ci-base-image-arm64 [2021-01-11T06:17:10.795Z] . [Pipeline] withDockerContainer [2021-01-11T06:17:11.089Z] prd-ubuntu18.04-docker-arm64-4c-16g-19413 does not seem to be running inside a container [2021-01-11T06:17:11.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-11T06:17:12.608Z] $ docker top 6c9038a22eac7b941011eed9b2b47b9560fc62acfa0475b3520f32d4f000019a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T06:17:13.658Z] + go version [2021-01-11T06:17:13.658Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-11T06:17:13.711Z] $ docker stop --time=1 6c9038a22eac7b941011eed9b2b47b9560fc62acfa0475b3520f32d4f000019a [2021-01-11T06:17:15.540Z] $ docker rm -f 6c9038a22eac7b941011eed9b2b47b9560fc62acfa0475b3520f32d4f000019a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:17:16.806Z] + docker inspect -f . ci-base-image-arm64 [2021-01-11T06:17:16.806Z] . [Pipeline] withDockerContainer [2021-01-11T06:17:17.099Z] prd-ubuntu18.04-docker-arm64-4c-16g-19413 does not seem to be running inside a container [2021-01-11T06:17:17.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-11T06:17:18.673Z] $ docker top 180d54529dc709e8a2ec202df700a833cdadc5c754314a9e6ac27c64e263918e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T06:17:19.728Z] + make test [2021-01-11T06:17:19.728Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-01-11T06:17:20.718Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-01-11T06:17:53.138Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-01-11T06:17:55.784Z] ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 56.3% of statements [2021-01-11T06:17:55.784Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-11T06:18:04.118Z] gofmt -l . [2021-01-11T06:18:04.118Z] [ "`gofmt -l .`" = "" ] [2021-01-11T06:18:04.118Z] ./bin/test-go-mod-tidy.sh [2021-01-11T06:18:04.118Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-01-11T06:18:04.439Z] $ docker stop --time=1 180d54529dc709e8a2ec202df700a833cdadc5c754314a9e6ac27c64e263918e [2021-01-11T06:18:06.774Z] $ docker rm -f 180d54529dc709e8a2ec202df700a833cdadc5c754314a9e6ac27c64e263918e [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-11T06:18:07.726Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-11T06:18:07.769Z] Warning: overwriting stash ‘coverage-report’ [2021-01-11T06:18:08.702Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T06:18:09.620Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-11T06:18:10.056Z] + ls -al . [2021-01-11T06:18:10.056Z] total 124 [2021-01-11T06:18:10.056Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 06:18 . [2021-01-11T06:18:10.056Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 06:15 .. [2021-01-11T06:18:10.056Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 11 06:15 .dockerignore [2021-01-11T06:18:10.056Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 06:16 .git [2021-01-11T06:18:10.056Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:15 .github [2021-01-11T06:18:10.056Z] -rw-rw-r-- 1 jenkins jenkins 339 Jan 11 06:15 .gitignore [2021-01-11T06:18:10.056Z] -rw-rw-r-- 1 jenkins jenkins 5294 Jan 11 06:15 Attribution.txt [2021-01-11T06:18:10.056Z] -rw-rw-r-- 1 jenkins jenkins 1530 Jan 11 06:15 Dockerfile [2021-01-11T06:18:10.056Z] -rw-rw-r-- 1 jenkins jenkins 1002 Jan 11 06:15 Dockerfile.build [2021-01-11T06:18:10.056Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 11 06:15 Jenkinsfile [2021-01-11T06:18:10.056Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 06:15 LICENSE [2021-01-11T06:18:10.056Z] -rw-rw-r-- 1 jenkins jenkins 951 Jan 11 06:15 Makefile [2021-01-11T06:18:10.056Z] -rw-rw-r-- 1 jenkins jenkins 5917 Jan 11 06:15 README.md [2021-01-11T06:18:10.056Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 06:10 VERSION [2021-01-11T06:18:10.056Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:15 bin [2021-01-11T06:18:10.056Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 06:15 cmd [2021-01-11T06:18:10.056Z] -rw-r--r-- 1 jenkins jenkins 9369 Jan 11 06:17 coverage.out [2021-01-11T06:18:10.056Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:17 driver [2021-01-11T06:18:10.056Z] -rw-r--r-- 1 jenkins jenkins 267 Jan 11 06:18 go.mod [2021-01-11T06:18:10.056Z] -rw-r--r-- 1 jenkins jenkins 13985 Jan 11 06:18 go.sum [2021-01-11T06:18:10.056Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 06:15 snap [2021-01-11T06:18:10.056Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 11 06:15 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:18:10.463Z] + 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=d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 --label arch=arm64 --label version=0.0.0 . [2021-01-11T06:18:10.463Z] Sending build context to Docker daemon 96.26kB [2021-01-11T06:18:10.742Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T06:18:10.742Z] Step 2/25 : FROM ${BASE} AS builder [2021-01-11T06:18:10.742Z] ---> bc1b2370961c [2021-01-11T06:18:10.742Z] Step 3/25 : ARG MAKE='make build' [2021-01-11T06:18:11.021Z] ---> Running in 3feb65865555 [2021-01-11T06:18:11.622Z] Removing intermediate container 3feb65865555 [2021-01-11T06:18:11.622Z] ---> 55039299281b [2021-01-11T06:18:11.622Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2021-01-11T06:18:11.903Z] ---> Running in b2f44b5be046 [2021-01-11T06:18:12.499Z] Removing intermediate container b2f44b5be046 [2021-01-11T06:18:12.500Z] ---> d602efadc971 [2021-01-11T06:18:12.500Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-01-11T06:18:12.500Z] ---> Running in f3cfb3111f3b [2021-01-11T06:18:13.099Z] Removing intermediate container f3cfb3111f3b [2021-01-11T06:18:13.099Z] ---> b09ccb69a200 [2021-01-11T06:18:13.099Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T06:18:13.372Z] ---> Running in 80645045b3d6 [2021-01-11T06:18:15.995Z] Removing intermediate container 80645045b3d6 [2021-01-11T06:18:15.995Z] ---> 773a6128343d [2021-01-11T06:18:15.995Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-11T06:18:15.995Z] ---> Running in 00971c7112be [2021-01-11T06:18:16.977Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-11T06:18:17.964Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-11T06:18:19.409Z] OK: 142 MiB in 39 packages [2021-01-11T06:18:20.388Z] Removing intermediate container 00971c7112be [2021-01-11T06:18:20.388Z] ---> b159aa4a27f9 [2021-01-11T06:18:20.388Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2021-01-11T06:18:20.388Z] ---> Running in 7b30c6cb37aa [2021-01-11T06:18:20.991Z] Removing intermediate container 7b30c6cb37aa [2021-01-11T06:18:20.991Z] ---> 9853dcdd8880 [2021-01-11T06:18:20.991Z] Step 9/25 : COPY go.mod . [2021-01-11T06:18:21.589Z] ---> 624932981114 [2021-01-11T06:18:21.589Z] Step 10/25 : COPY Makefile . [2021-01-11T06:18:22.569Z] ---> 7eee642e5e53 [2021-01-11T06:18:22.569Z] Step 11/25 : RUN make update [2021-01-11T06:18:22.569Z] ---> Running in 26d9305677cc [2021-01-11T06:18:23.548Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-01-11T06:18:24.985Z] Removing intermediate container 26d9305677cc [2021-01-11T06:18:24.985Z] ---> e2caebfa1fb7 [2021-01-11T06:18:24.985Z] Step 12/25 : COPY . . [2021-01-11T06:18:25.583Z] ---> 68e7daff55ea [2021-01-11T06:18:25.583Z] Step 13/25 : RUN $MAKE [2021-01-11T06:18:25.862Z] ---> Running in 51c48ffbe3d1 [2021-01-11T06:18:26.844Z] 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-11T06:18:53.684Z] Removing intermediate container 51c48ffbe3d1 [2021-01-11T06:18:53.684Z] ---> 69dcef61509f [2021-01-11T06:18:53.684Z] Step 14/25 : FROM alpine:3.12 [2021-01-11T06:18:54.288Z] 3.12: Pulling from library/alpine [2021-01-11T06:18:54.288Z] 159e5727ea61: Pulling fs layer [2021-01-11T06:18:54.559Z] 159e5727ea61: Verifying Checksum [2021-01-11T06:18:54.560Z] 159e5727ea61: Download complete [2021-01-11T06:18:55.151Z] 159e5727ea61: Pull complete [2021-01-11T06:18:55.151Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-11T06:18:55.151Z] Status: Downloaded newer image for alpine:3.12 [2021-01-11T06:18:55.151Z] ---> afeebe901d6b [2021-01-11T06:18:55.151Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-11T06:18:55.151Z] ---> Running in 476e3b3d813e [2021-01-11T06:18:55.747Z] Removing intermediate container 476e3b3d813e [2021-01-11T06:18:55.747Z] ---> 53f6284179ad [2021-01-11T06:18:55.747Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-01-11T06:18:55.747Z] ---> Running in 353e2731e060 [2021-01-11T06:18:56.342Z] Removing intermediate container 353e2731e060 [2021-01-11T06:18:56.342Z] ---> d73b4fd4922a [2021-01-11T06:18:56.342Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2021-01-11T06:18:56.940Z] ---> 44053bab89a8 [2021-01-11T06:18:56.940Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2021-01-11T06:18:57.529Z] ---> c8f79b55d920 [2021-01-11T06:18:57.530Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2021-01-11T06:18:58.502Z] ---> f8b2a4842e4c [2021-01-11T06:18:58.502Z] Step 20/25 : EXPOSE 49986 [2021-01-11T06:18:58.777Z] ---> Running in c8d6e1f19162 [2021-01-11T06:18:59.050Z] Removing intermediate container c8d6e1f19162 [2021-01-11T06:18:59.050Z] ---> baeed039fb63 [2021-01-11T06:18:59.050Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2021-01-11T06:18:59.326Z] ---> Running in 1e38716f11b7 [2021-01-11T06:18:59.597Z] Removing intermediate container 1e38716f11b7 [2021-01-11T06:18:59.598Z] ---> b3c3173ff076 [2021-01-11T06:18:59.598Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-01-11T06:18:59.871Z] ---> Running in ac3629c6e885 [2021-01-11T06:19:00.144Z] Removing intermediate container ac3629c6e885 [2021-01-11T06:19:00.144Z] ---> 7138dd8f060c [2021-01-11T06:19:00.144Z] Step 23/25 : LABEL arch=arm64 [2021-01-11T06:19:00.422Z] ---> Running in 5fb3c8b13e76 [2021-01-11T06:19:00.700Z] Removing intermediate container 5fb3c8b13e76 [2021-01-11T06:19:00.700Z] ---> d6e43ead3a64 [2021-01-11T06:19:00.700Z] Step 24/25 : LABEL git_sha=d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 [2021-01-11T06:19:00.977Z] ---> Running in 160590ce91f4 [2021-01-11T06:19:01.583Z] Removing intermediate container 160590ce91f4 [2021-01-11T06:19:01.583Z] ---> 3c4f4e603fe7 [2021-01-11T06:19:01.583Z] Step 25/25 : LABEL version=0.0.0 [2021-01-11T06:19:01.583Z] ---> Running in 399af739ae2b [2021-01-11T06:19:02.178Z] Removing intermediate container 399af739ae2b [2021-01-11T06:19:02.178Z] ---> e3658b1bb314 [2021-01-11T06:19:02.178Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-11T06:19:02.178Z] Successfully built e3658b1bb314 [2021-01-11T06:19:02.178Z] 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-11T06:19:04.251Z] provisioning config files... [2021-01-11T06:19:04.269Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-70@tmp/config6942541019586608280tmp [Pipeline] { [Pipeline] sh [2021-01-11T06:19:04.695Z] + set +x [2021-01-11T06:19:04.696Z] + curl -s https://codecov.io/bash [2021-01-11T06:19:04.696Z] + bash -s -- [2021-01-11T06:19:04.965Z] [2021-01-11T06:19:04.965Z] _____ _ [2021-01-11T06:19:04.965Z] / ____| | | [2021-01-11T06:19:04.965Z] | | ___ __| | ___ ___ _____ __ [2021-01-11T06:19:04.965Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-11T06:19:04.965Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-11T06:19:04.965Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-11T06:19:04.965Z] Bash-20201231-23d4836 [2021-01-11T06:19:04.965Z] [2021-01-11T06:19:04.965Z] [2021-01-11T06:19:04.965Z] ==> git version 2.24.3 found [2021-01-11T06:19:04.965Z] ==> 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-11T06:19:04.965Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-11T06:19:04.965Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-11T06:19:04.965Z] ==> Jenkins CI detected. [2021-01-11T06:19:04.965Z] project root: . [2021-01-11T06:19:04.965Z] --> token set from env [2021-01-11T06:19:04.965Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-11T06:19:04.965Z] ==> Running gcov in . (disable via -X gcov) [2021-01-11T06:19:04.965Z] ==> Python coveragepy not found [2021-01-11T06:19:04.965Z] ==> Searching for coverage reports in: [2021-01-11T06:19:04.965Z] + . [2021-01-11T06:19:04.965Z] -> Found 1 reports [2021-01-11T06:19:04.965Z] ==> Detecting git/mercurial file structure [2021-01-11T06:19:04.965Z] ==> Reading reports [2021-01-11T06:19:04.965Z] + ./coverage.out bytes=9369 [2021-01-11T06:19:04.965Z] ==> Appending adjustments [2021-01-11T06:19:04.965Z] https://docs.codecov.io/docs/fixing-reports [2021-01-11T06:19:04.965Z] + Found adjustments [2021-01-11T06:19:04.965Z] ==> Gzipping contents [2021-01-11T06:19:04.965Z] 4.0K /tmp/codecov.JZHyXh.gz [2021-01-11T06:19:04.965Z] ==> Uploading reports [2021-01-11T06:19:04.965Z] url: https://codecov.io [2021-01-11T06:19:04.965Z] query: branch=PR-70&commit=d87d68ab5275aeb6cdfeb574ec2681332d42e3e3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-70%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=70&job=&cmd_args= [2021-01-11T06:19:04.965Z] -> Pinging Codecov [2021-01-11T06:19:04.965Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-70&commit=d87d68ab5275aeb6cdfeb574ec2681332d42e3e3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-70%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=70&job=&cmd_args= [2021-01-11T06:19:05.544Z] -> Uploading to [2021-01-11T06:19:05.544Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-11/4E5D53B4F1F92C436F7061BF334D961C/d87d68ab5275aeb6cdfeb574ec2681332d42e3e3/b8684ffa-b76e-4e18-8406-ce048508880d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210111T061905Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3d0e4fdf5b491f8d86f3875837cf9bb59e92c52941f3355aa8faceb2d2e727fe [2021-01-11T06:19:05.544Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-11T06:19:05.544Z] Dload Upload Total Spent Left Speed [2021-01-11T06:19:05.813Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1737 0 0 100 1737 0 4564 --:--:-- --:--:-- --:--:-- 4559 100 1737 0 0 100 1737 0 4563 --:--:-- --:--:-- --:--:-- 4559 [2021-01-11T06:19:05.813Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/d87d68ab5275aeb6cdfeb574ec2681332d42e3e3 [Pipeline] } [2021-01-11T06:19:05.843Z] 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-11T06:19:15.151Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:19:15.547Z] ---> package-listing.sh [2021-01-11T06:19:15.547Z] ++ facter osfamily [2021-01-11T06:19:15.547Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-11T06:19:15.547Z] + OS_FAMILY=redhat [2021-01-11T06:19:15.547Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-70 [2021-01-11T06:19:15.547Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-11T06:19:15.547Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-11T06:19:15.547Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-11T06:19:15.547Z] + PACKAGES=/tmp/packages_start.txt [2021-01-11T06:19:15.547Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-70 ']' [2021-01-11T06:19:15.547Z] + PACKAGES=/tmp/packages_end.txt [2021-01-11T06:19:15.548Z] + case "${OS_FAMILY}" in [2021-01-11T06:19:15.548Z] + rpm -qa [2021-01-11T06:19:15.548Z] + sort [2021-01-11T06:19:20.888Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-11T06:19:20.888Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-11T06:19:20.888Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-11T06:19:20.888Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-70 ']' [2021-01-11T06:19:20.888Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-70/archives/ [2021-01-11T06:19:20.888Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-70/archives/ [Pipeline] echo [2021-01-11T06:19:20.923Z] 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-70/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-11T06:19:21.240Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:19:21.605Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T06:19:21.605Z] [2021-01-11T06:19:21.605Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:19:22.011Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T06:19:22.011Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-11T06:19:22.011Z] df20fa9351a1: Pulling fs layer [2021-01-11T06:19:22.011Z] 36b3adc4ff6f: Pulling fs layer [2021-01-11T06:19:22.011Z] 8ad3a11d3b57: Pulling fs layer [2021-01-11T06:19:22.011Z] 46f8f816bc3b: Pulling fs layer [2021-01-11T06:19:22.011Z] 93b61091891f: Pulling fs layer [2021-01-11T06:19:22.011Z] 93b9cdb0e59b: Pulling fs layer [2021-01-11T06:19:22.011Z] 5e14af77c1be: Pulling fs layer [2021-01-11T06:19:22.011Z] 01666e4c0597: Pulling fs layer [2021-01-11T06:19:22.011Z] aa168da1d23b: Pulling fs layer [2021-01-11T06:19:22.011Z] 93b9cdb0e59b: Waiting [2021-01-11T06:19:22.011Z] 5e14af77c1be: Waiting [2021-01-11T06:19:22.011Z] 01666e4c0597: Waiting [2021-01-11T06:19:22.011Z] 93b61091891f: Waiting [2021-01-11T06:19:22.011Z] aa168da1d23b: Waiting [2021-01-11T06:19:22.011Z] 36b3adc4ff6f: Verifying Checksum [2021-01-11T06:19:22.011Z] 36b3adc4ff6f: Download complete [2021-01-11T06:19:22.011Z] 46f8f816bc3b: Verifying Checksum [2021-01-11T06:19:22.011Z] 46f8f816bc3b: Download complete [2021-01-11T06:19:22.275Z] df20fa9351a1: Verifying Checksum [2021-01-11T06:19:22.275Z] df20fa9351a1: Download complete [2021-01-11T06:19:22.275Z] 93b9cdb0e59b: Verifying Checksum [2021-01-11T06:19:22.275Z] 93b9cdb0e59b: Download complete [2021-01-11T06:19:22.275Z] 93b61091891f: Download complete [2021-01-11T06:19:22.275Z] 5e14af77c1be: Verifying Checksum [2021-01-11T06:19:22.275Z] 5e14af77c1be: Download complete [2021-01-11T06:19:22.275Z] 01666e4c0597: Verifying Checksum [2021-01-11T06:19:22.275Z] 01666e4c0597: Download complete [2021-01-11T06:19:22.275Z] 8ad3a11d3b57: Verifying Checksum [2021-01-11T06:19:22.275Z] 8ad3a11d3b57: Download complete [2021-01-11T06:19:22.540Z] df20fa9351a1: Pull complete [2021-01-11T06:19:22.806Z] 36b3adc4ff6f: Pull complete [2021-01-11T06:19:23.768Z] 8ad3a11d3b57: Pull complete [2021-01-11T06:19:24.359Z] 46f8f816bc3b: Pull complete [2021-01-11T06:19:24.625Z] 93b61091891f: Pull complete [2021-01-11T06:19:24.625Z] 93b9cdb0e59b: Pull complete [2021-01-11T06:19:24.889Z] 5e14af77c1be: Pull complete [2021-01-11T06:19:24.889Z] aa168da1d23b: Verifying Checksum [2021-01-11T06:19:24.889Z] aa168da1d23b: Download complete [2021-01-11T06:19:25.466Z] 01666e4c0597: Pull complete [2021-01-11T06:19:33.697Z] aa168da1d23b: Pull complete [2021-01-11T06:19:33.697Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-11T06:19:33.697Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T06:19:33.697Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-11T06:19:33.957Z] prd-centos7-docker-4c-2g-19383 does not seem to be running inside a container [2021-01-11T06:19:34.006Z] $ 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-70/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-70 -v /w/workspace/dgexfoundry_device-rest-go_PR-70:/w/workspace/dgexfoundry_device-rest-go_PR-70:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-70@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-11T06:19:36.995Z] $ docker top eb4bfd7c6f5efb726b0236f98fc0168d8ebc821c746c6dbd1782c37d4792aa4b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T06:19:37.543Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-11T06:19:37.866Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-11T06:19:38.184Z] + ls /var/log/sa-host [2021-01-11T06:19:38.184Z] + sadf -c /var/log/sa-host/sa11 [2021-01-11T06:19:38.184Z] file_magic: OK [2021-01-11T06:19:38.184Z] HZ: Using current value: 100 [2021-01-11T06:19:38.184Z] file_header: OK [2021-01-11T06:19:38.184Z] 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-11T06:19:38.184Z] Statistics: [2021-01-11T06:19:38.184Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-11T06:19:38.184Z] File successfully converted to sysstat format version 12.2.1 [2021-01-11T06:19:38.184Z] + sadf -c /var/log/sa-host/sa23 [2021-01-11T06:19:38.184Z] file_magic: OK [2021-01-11T06:19:38.184Z] HZ: Using current value: 100 [2021-01-11T06:19:38.184Z] file_header: OK [2021-01-11T06:19:38.184Z] 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-11T06:19:38.184Z] Statistics: [2021-01-11T06:19:38.184Z] Hnuu...uuuununununu... [2021-01-11T06:19:38.184Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-11T06:19:38.517Z] provisioning config files... [2021-01-11T06:19:38.541Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-70@tmp/config1171273890616936242tmp [Pipeline] { [Pipeline] echo [2021-01-11T06:19:38.648Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:19:38.985Z] ---> create-netrc.sh [Pipeline] } [2021-01-11T06:19:39.008Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-11T06:19:39.136Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:19:39.473Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-11T06:19:39.506Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:19:39.844Z] ---> sudo-logs.sh [2021-01-11T06:19:39.844Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-11T06:19:39.883Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:19:40.248Z] ---> job-cost.sh [2021-01-11T06:19:40.248Z] lf-activate-venv: SKIPPING [2021-01-11T06:19:40.248Z] INFO: No Stack... [2021-01-11T06:19:41.194Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-11T06:19:41.769Z] INFO: Archiving Costs [Pipeline] echo [2021-01-11T06:19:41.850Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:19:42.253Z] ---> logs-deploy.sh [2021-01-11T06:19:42.253Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-70/1 [2021-01-11T06:19:42.253Z] INFO: archiving workspace using pattern(s): [2021-01-11T06:19:44.173Z] Archives upload complete. [2021-01-11T06:19:44.173Z] INFO: archiving logs to Nexus