Pull request #85 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 569624fb81c2ae69bc90c383ac6b8d5090c026b7+b2078d70396c9de247bd59d3b559c7f9e74995c9 (d5bd5f78568002c10ee3c8cc4dee145e6922a594) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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-85/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-85/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-2571’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-2685’ is offline; ‘prd-centos7-docker-4c-2g-2687’ is offline; ‘prd-centos7-docker-4c-2g-2694’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2684’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2703 in /w/workspace/dgexfoundry_device-rest-go_PR-85 [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-85 # 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 b2078d70396c9de247bd59d3b559c7f9e74995c9 into PR head commit 569624fb81c2ae69bc90c383ac6b8d5090c026b7 Merge succeeded, producing 569624fb81c2ae69bc90c383ac6b8d5090c026b7 Checking out Revision 569624fb81c2ae69bc90c383ac6b8d5090c026b7 (PR-85) > 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/85/head:refs/remotes/origin/PR-85 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # 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 b2078d70396c9de247bd59d3b559c7f9e74995c9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-03T06:04:40.855Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-03T06:04:41.061Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-03T06:04:41.166Z] ========================================================= [2021-05-03T06:04:41.166Z] EdgeX Global Pipelines Version Info [2021-05-03T06:04:41.166Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-03T06:04:42.687Z] ------------------- [2021-05-03T06:04:42.687Z] stable info: [2021-05-03T06:04:42.687Z] ------------------- [2021-05-03T06:04:42.687Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-03T06:04:42.687Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-03T06:04:42.687Z] Message: update stable to v1.0.191 [2021-05-03T06:04:44.079Z] ------------------- [2021-05-03T06:04:44.079Z] experimental info: [2021-05-03T06:04:44.079Z] ------------------- [2021-05-03T06:04:44.079Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-03T06:04:44.079Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-03T06:04:44.079Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-03T06:04:44.302Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-03T06:04:44.358Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-03T06:04:44.416Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-03T06:04:44.473Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-03T06:04:44.534Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-03T06:04:44.591Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-03T06:04:44.656Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-03T06:04:44.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-03T06:04:44.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-03T06:04:44.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-03T06:04:44.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-03T06:04:44.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-05-03T06:04:45.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-03T06:04:45.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-03T06:04:45.125Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-03T06:04:45.183Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-03T06:04:45.256Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-03T06:04:45.315Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-03T06:04:45.370Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-03T06:04:45.435Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-03T06:04:45.496Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-03T06:04:45.569Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-03T06:04:45.653Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-03T06:04:45.709Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-03T06:04:45.778Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-03T06:04:45.835Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-03T06:04:45.897Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-85 [Pipeline] echo [2021-05-03T06:04:45.960Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-85 [Pipeline] echo [2021-05-03T06:04:46.012Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-85 [Pipeline] echo [2021-05-03T06:04:46.076Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 569624fb81c2ae69bc90c383ac6b8d5090c026b7 [Pipeline] echo [2021-05-03T06:04:46.147Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 569624f [Pipeline] echo [2021-05-03T06:04:46.206Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-03T06:04:46.379Z] provisioning config files... [2021-05-03T06:04:46.409Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/config396937951783097850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-03T06:04:46.777Z] ---> docker-login.sh [2021-05-03T06:04:46.777Z] nexus3.edgexfoundry.org:10001 [2021-05-03T06:04:47.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-03T06:04:47.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-03T06:04:47.311Z] Configure a credential helper to remove this warning. See [2021-05-03T06:04:47.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-03T06:04:47.311Z] [2021-05-03T06:04:47.311Z] Login Succeeded [2021-05-03T06:04:47.311Z] nexus3.edgexfoundry.org:10002 [2021-05-03T06:04:47.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-03T06:04:47.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-03T06:04:47.585Z] Configure a credential helper to remove this warning. See [2021-05-03T06:04:47.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-03T06:04:47.585Z] [2021-05-03T06:04:47.585Z] Login Succeeded [2021-05-03T06:04:47.585Z] nexus3.edgexfoundry.org:10003 [2021-05-03T06:04:47.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-03T06:04:47.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-03T06:04:47.585Z] Configure a credential helper to remove this warning. See [2021-05-03T06:04:47.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-03T06:04:47.585Z] [2021-05-03T06:04:47.585Z] Login Succeeded [2021-05-03T06:04:47.585Z] nexus3.edgexfoundry.org:10004 [2021-05-03T06:04:47.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-03T06:04:48.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-03T06:04:48.811Z] Configure a credential helper to remove this warning. See [2021-05-03T06:04:48.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-03T06:04:48.811Z] [2021-05-03T06:04:48.811Z] Login Succeeded [2021-05-03T06:04:48.811Z] docker.io [2021-05-03T06:04:49.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-03T06:04:49.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-03T06:04:49.335Z] Configure a credential helper to remove this warning. See [2021-05-03T06:04:49.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-03T06:04:49.335Z] [2021-05-03T06:04:49.335Z] Login Succeeded [2021-05-03T06:04:49.335Z] ---> docker-login.sh ends [Pipeline] } [2021-05-03T06:04:49.377Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-03T06:04:50.092Z] + git log --format=format:%s -1 569624fb81c2ae69bc90c383ac6b8d5090c026b7 [Pipeline] echo [2021-05-03T06:04:50.187Z] GIT_COMMIT: 569624fb81c2ae69bc90c383ac6b8d5090c026b7, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-05-03T06:04:50.225Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-03T06:04:50.920Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-03T06:04:50.921Z] [2021-05-03T06:04:50.921Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-03T06:04:51.281Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-03T06:04:51.282Z] latest: Pulling from edgex-devops/git-semver [2021-05-03T06:04:51.282Z] 31603596830f: Pulling fs layer [2021-05-03T06:04:51.282Z] 54011a49482f: Pulling fs layer [2021-05-03T06:04:51.282Z] a6820b24f6d8: Pulling fs layer [2021-05-03T06:04:51.282Z] f581987b2513: Pulling fs layer [2021-05-03T06:04:51.282Z] f581987b2513: Waiting [2021-05-03T06:04:51.282Z] 54011a49482f: Verifying Checksum [2021-05-03T06:04:51.282Z] 54011a49482f: Download complete [2021-05-03T06:04:51.545Z] 31603596830f: Download complete [2021-05-03T06:04:51.545Z] f581987b2513: Verifying Checksum [2021-05-03T06:04:51.545Z] f581987b2513: Download complete [2021-05-03T06:04:51.808Z] 31603596830f: Pull complete [2021-05-03T06:04:51.808Z] a6820b24f6d8: Verifying Checksum [2021-05-03T06:04:51.808Z] a6820b24f6d8: Download complete [2021-05-03T06:04:52.073Z] 54011a49482f: Pull complete [2021-05-03T06:04:53.026Z] a6820b24f6d8: Pull complete [2021-05-03T06:04:53.287Z] f581987b2513: Pull complete [2021-05-03T06:04:53.287Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-03T06:04:53.287Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-03T06:04:53.287Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-03T06:04:53.415Z] prd-centos7-docker-4c-2g-2703 does not seem to be running inside a container [2021-05-03T06:04:53.464Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-85 -v /w/workspace/dgexfoundry_device-rest-go_PR-85:/w/workspace/dgexfoundry_device-rest-go_PR-85:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-85@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-85@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-03T06:04:55.764Z] $ docker top 39135a7b9c45881aa184a5065c137799f044193374fccc35b95990f38566f858 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-03T06:04:56.000Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-03T06:04:56.000Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-03T06:04:56.257Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-03T06:04:56.262Z] $ docker exec 39135a7b9c45881aa184a5065c137799f044193374fccc35b95990f38566f858 ssh-agent [2021-05-03T06:04:56.454Z] SSH_AUTH_SOCK=/tmp/ssh-0XqOJPzXEQdl/agent.11 [2021-05-03T06:04:56.454Z] SSH_AGENT_PID=17 [2021-05-03T06:04:56.468Z] Running ssh-add (command line suppressed) [2021-05-03T06:04:56.604Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/private_key_2168126956465017059.key (/w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/private_key_2168126956465017059.key) [2021-05-03T06:04:56.662Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-03T06:04:57.027Z] + git tag --points-at HEAD [Pipeline] } [2021-05-03T06:04:57.060Z] $ docker exec --env ******** --env ******** 39135a7b9c45881aa184a5065c137799f044193374fccc35b95990f38566f858 ssh-agent -k [2021-05-03T06:04:57.192Z] unset SSH_AUTH_SOCK; [2021-05-03T06:04:57.193Z] unset SSH_AGENT_PID; [2021-05-03T06:04:57.193Z] echo Agent pid 17 killed; [2021-05-03T06:04:57.251Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-03T06:04:57.351Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-03T06:04:57.351Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-03T06:04:57.529Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-03T06:04:57.534Z] $ docker exec 39135a7b9c45881aa184a5065c137799f044193374fccc35b95990f38566f858 ssh-agent [2021-05-03T06:04:57.723Z] SSH_AUTH_SOCK=/tmp/ssh-k69ejmxrTJCk/agent.46 [2021-05-03T06:04:57.723Z] SSH_AGENT_PID=51 [2021-05-03T06:04:57.730Z] Running ssh-add (command line suppressed) [2021-05-03T06:04:57.859Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/private_key_3809381927162244945.key (/w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/private_key_3809381927162244945.key) [2021-05-03T06:04:57.908Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-03T06:04:58.257Z] + git semver init [2021-05-03T06:04:58.257Z] # -> Open(): unable to determine branch for HEAD [2021-05-03T06:04:58.257Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-85/.git [2021-05-03T06:04:58.257Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-85 [2021-05-03T06:04:58.257Z] # $SEMVER_REMOTE_NAME = origin [2021-05-03T06:04:58.257Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-03T06:04:58.257Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-03T06:04:58.257Z] # $SEMVER_BRANCH = PR-85 [2021-05-03T06:04:58.257Z] # $SEMVER_TEMP = /tmp/semver-387002143 [2021-05-03T06:04:58.257Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-03T06:05:00.386Z] # '/tmp/semver-387002143' -> '/w/workspace/dgexfoundry_device-rest-go_PR-85/.semver' [2021-05-03T06:05:00.386Z] # -> Force: false [2021-05-03T06:05:00.386Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-85/.semver [Pipeline] } [2021-05-03T06:05:00.669Z] $ docker exec --env ******** --env ******** 39135a7b9c45881aa184a5065c137799f044193374fccc35b95990f38566f858 ssh-agent -k [2021-05-03T06:05:00.780Z] unset SSH_AUTH_SOCK; [2021-05-03T06:05:00.781Z] unset SSH_AGENT_PID; [2021-05-03T06:05:00.781Z] echo Agent pid 51 killed; [2021-05-03T06:05:00.829Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-03T06:05:01.266Z] + git semver [Pipeline] } [2021-05-03T06:05:01.303Z] $ docker stop --time=1 39135a7b9c45881aa184a5065c137799f044193374fccc35b95990f38566f858 [2021-05-03T06:05:02.721Z] $ docker rm -f 39135a7b9c45881aa184a5065c137799f044193374fccc35b95990f38566f858 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-03T06:05:03.199Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-03T06:05:03.637Z] Stashed 1 file(s) [Pipeline] echo [2021-05-03T06:05:03.660Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-03T06:05:19.185Z] Still waiting to schedule task [2021-05-03T06:05:19.185Z] ‘prd-centos7-blackbox-4c-2g-2571’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-2681’ is offline; ‘prd-centos7-docker-4c-2g-2683’ is offline; ‘prd-centos7-docker-4c-2g-2685’ is offline; ‘prd-centos7-docker-4c-2g-2687’ is offline; ‘prd-centos7-docker-4c-2g-2692’ is offline; ‘prd-centos7-docker-4c-2g-2700’ is offline; ‘prd-centos7-docker-4c-2g-2701’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2684’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2689’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2704’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2706’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-03T06:05:19.220Z] Still waiting to schedule task [2021-05-03T06:05:19.220Z] ‘prd-centos7-blackbox-4c-2g-2571’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-2681’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-2683’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-2685’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-2687’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-2692’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-2700’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-2701’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2684’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2689’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2704’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2706’ is offline [2021-05-03T06:06:44.046Z] Running on prd-centos7-docker-4c-2g-2707 in /w/workspace/dgexfoundry_device-rest-go_PR-85 [Pipeline] { [Pipeline] ws [2021-05-03T06:06:44.106Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-03T06:06:57.896Z] using credential edgex-jenkins-ssh [2021-05-03T06:06:57.915Z] Cloning the remote Git repository [2021-05-03T06:06:58.053Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-03T06:06:58.339Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-03T06:06:58.557Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-03T06:06:58.558Z] > git --version # timeout=10 [2021-05-03T06:06:58.614Z] > git --version # 'git version 2.24.3' [2021-05-03T06:06:58.615Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-03T06:06:58.726Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-03T06:07:00.740Z] Merging remotes/origin/master commit b2078d70396c9de247bd59d3b559c7f9e74995c9 into PR head commit 569624fb81c2ae69bc90c383ac6b8d5090c026b7 [2021-05-03T06:07:01.004Z] Merge succeeded, producing 569624fb81c2ae69bc90c383ac6b8d5090c026b7 [2021-05-03T06:07:01.005Z] Checking out Revision 569624fb81c2ae69bc90c383ac6b8d5090c026b7 (PR-85) [2021-05-03T06:06:59.995Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-03T06:07:00.106Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-03T06:07:00.178Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-03T06:07:00.259Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-03T06:07:00.260Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-03T06:07:00.278Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/85/head:refs/remotes/origin/PR-85 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-03T06:07:00.764Z] > git config core.sparsecheckout # timeout=10 [2021-05-03T06:07:00.787Z] > git checkout -f 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # timeout=10 [2021-05-03T06:07:00.864Z] > git remote # timeout=10 [2021-05-03T06:07:00.898Z] > git config --get remote.origin.url # timeout=10 [2021-05-03T06:07:00.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-03T06:07:00.933Z] > git merge b2078d70396c9de247bd59d3b559c7f9e74995c9 # timeout=10 [2021-05-03T06:07:00.957Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-03T06:07:01.012Z] > git config core.sparsecheckout # timeout=10 [2021-05-03T06:07:01.073Z] > git checkout -f 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # timeout=10 [2021-05-03T06:07:05.534Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-03T06:07:05.604Z] > git --version # timeout=10 [2021-05-03T06:07:05.624Z] > git --version # 'git version 2.24.3' [2021-05-03T06:07:05.670Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-03T06:07:08.502Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-03T06:07:09.127Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-03T06:07:09.642Z] + sudo service docker restart [2021-05-03T06:07:09.642Z] + true [2021-05-03T06:07:09.642Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-03T06:07:11.997Z] provisioning config files... [2021-05-03T06:07:12.093Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config861546448500179084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-03T06:07:12.590Z] ---> docker-login.sh [2021-05-03T06:07:12.590Z] nexus3.edgexfoundry.org:10001 [2021-05-03T06:07:13.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-03T06:07:14.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-03T06:07:14.387Z] Configure a credential helper to remove this warning. See [2021-05-03T06:07:14.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-03T06:07:14.387Z] [2021-05-03T06:07:14.387Z] Login Succeeded [2021-05-03T06:07:14.387Z] nexus3.edgexfoundry.org:10002 [2021-05-03T06:07:15.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-03T06:07:15.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-03T06:07:15.085Z] Configure a credential helper to remove this warning. See [2021-05-03T06:07:15.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-03T06:07:15.085Z] [2021-05-03T06:07:15.085Z] Login Succeeded [2021-05-03T06:07:15.085Z] nexus3.edgexfoundry.org:10003 [2021-05-03T06:07:15.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-03T06:07:16.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-03T06:07:16.196Z] Configure a credential helper to remove this warning. See [2021-05-03T06:07:16.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-03T06:07:16.196Z] [2021-05-03T06:07:16.196Z] Login Succeeded [2021-05-03T06:07:16.196Z] nexus3.edgexfoundry.org:10004 [2021-05-03T06:07:16.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-03T06:07:16.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-03T06:07:16.843Z] Configure a credential helper to remove this warning. See [2021-05-03T06:07:16.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-03T06:07:16.843Z] [2021-05-03T06:07:16.843Z] Login Succeeded [2021-05-03T06:07:16.843Z] docker.io [2021-05-03T06:07:17.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-03T06:07:18.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-03T06:07:18.119Z] Configure a credential helper to remove this warning. See [2021-05-03T06:07:18.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-03T06:07:18.119Z] [2021-05-03T06:07:18.119Z] Login Succeeded [2021-05-03T06:07:18.119Z] ---> docker-login.sh ends [Pipeline] } [2021-05-03T06:07:18.178Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-03T06:07:18.748Z] ========================================================= [2021-05-03T06:07:18.748Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-03T06:07:18.748Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-03T06:07:19.167Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-03T06:07:19.167Z] Sending build context to Docker daemon 93.18kB [2021-05-03T06:07:19.502Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-03T06:07:19.502Z] Step 2/10 : FROM ${BASE} [2021-05-03T06:07:19.502Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-03T06:07:19.502Z] 540db60ca938: Pulling fs layer [2021-05-03T06:07:19.502Z] adcc1eea9eea: Pulling fs layer [2021-05-03T06:07:19.502Z] 4c4ab2625f07: Pulling fs layer [2021-05-03T06:07:19.502Z] 0510c868ecb4: Pulling fs layer [2021-05-03T06:07:19.502Z] afea3b2eda06: Pulling fs layer [2021-05-03T06:07:19.502Z] 7809a108b3ef: Pulling fs layer [2021-05-03T06:07:19.502Z] f706445af74f: Pulling fs layer [2021-05-03T06:07:19.502Z] afea3b2eda06: Waiting [2021-05-03T06:07:19.502Z] 0510c868ecb4: Waiting [2021-05-03T06:07:19.502Z] 7809a108b3ef: Waiting [2021-05-03T06:07:19.502Z] f706445af74f: Waiting [2021-05-03T06:07:19.934Z] 4c4ab2625f07: Verifying Checksum [2021-05-03T06:07:19.934Z] 4c4ab2625f07: Download complete [2021-05-03T06:07:19.934Z] adcc1eea9eea: Verifying Checksum [2021-05-03T06:07:19.934Z] adcc1eea9eea: Download complete [2021-05-03T06:07:19.934Z] afea3b2eda06: Verifying Checksum [2021-05-03T06:07:19.934Z] afea3b2eda06: Download complete [2021-05-03T06:07:20.270Z] 7809a108b3ef: Verifying Checksum [2021-05-03T06:07:20.270Z] 7809a108b3ef: Download complete [2021-05-03T06:07:20.270Z] 540db60ca938: Verifying Checksum [2021-05-03T06:07:20.270Z] 540db60ca938: Download complete [2021-05-03T06:07:21.372Z] 540db60ca938: Pull complete [2021-05-03T06:07:21.687Z] adcc1eea9eea: Pull complete [2021-05-03T06:07:22.008Z] 4c4ab2625f07: Pull complete [2021-05-03T06:07:25.646Z] f706445af74f: Verifying Checksum [2021-05-03T06:07:25.646Z] f706445af74f: Download complete [2021-05-03T06:07:28.327Z] 0510c868ecb4: Verifying Checksum [2021-05-03T06:07:28.327Z] 0510c868ecb4: Download complete [2021-05-03T06:07:41.243Z] 0510c868ecb4: Pull complete [2021-05-03T06:07:41.243Z] afea3b2eda06: Pull complete [2021-05-03T06:07:41.569Z] 7809a108b3ef: Pull complete [2021-05-03T06:07:42.376Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2713 in /w/workspace/dgexfoundry_device-rest-go_PR-85 [Pipeline] { [Pipeline] ws [2021-05-03T06:07:42.524Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-03T06:07:48.361Z] using credential edgex-jenkins-ssh [2021-05-03T06:07:48.438Z] Cloning the remote Git repository [2021-05-03T06:07:48.543Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-03T06:07:48.737Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-03T06:07:48.841Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-03T06:07:48.842Z] > git --version # timeout=10 [2021-05-03T06:07:48.869Z] > git --version # 'git version 2.17.1' [2021-05-03T06:07:48.871Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-03T06:07:48.950Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-03T06:07:50.533Z] f706445af74f: Pull complete [2021-05-03T06:07:50.533Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-03T06:07:50.533Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-03T06:07:50.533Z] ---> b068be0155e3 [2021-05-03T06:07:50.533Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-03T06:07:50.533Z] ---> Running in acd162f5f108 [2021-05-03T06:07:50.533Z] Removing intermediate container acd162f5f108 [2021-05-03T06:07:50.533Z] ---> bdca3c76cd4f [2021-05-03T06:07:50.533Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-03T06:07:50.909Z] ---> Running in 97bf529bf51b [2021-05-03T06:07:51.193Z] Removing intermediate container 97bf529bf51b [2021-05-03T06:07:51.193Z] ---> 6567ac69a421 [2021-05-03T06:07:51.193Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-03T06:07:51.281Z] Merging remotes/origin/master commit b2078d70396c9de247bd59d3b559c7f9e74995c9 into PR head commit 569624fb81c2ae69bc90c383ac6b8d5090c026b7 [2021-05-03T06:07:51.506Z] ---> Running in b1ffc94c3f3c [2021-05-03T06:07:51.527Z] Merge succeeded, producing 569624fb81c2ae69bc90c383ac6b8d5090c026b7 [2021-05-03T06:07:51.527Z] Checking out Revision 569624fb81c2ae69bc90c383ac6b8d5090c026b7 (PR-85) [2021-05-03T06:07:50.697Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-03T06:07:50.718Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-03T06:07:50.753Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-03T06:07:50.795Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-03T06:07:50.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-03T06:07:50.808Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/85/head:refs/remotes/origin/PR-85 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-03T06:07:51.303Z] > git config core.sparsecheckout # timeout=10 [2021-05-03T06:07:51.321Z] > git checkout -f 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # timeout=10 [2021-05-03T06:07:51.427Z] > git remote # timeout=10 [2021-05-03T06:07:51.450Z] > git config --get remote.origin.url # timeout=10 [2021-05-03T06:07:51.466Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-03T06:07:51.479Z] > git merge b2078d70396c9de247bd59d3b559c7f9e74995c9 # timeout=10 [2021-05-03T06:07:51.508Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-03T06:07:51.534Z] > git config core.sparsecheckout # timeout=10 [2021-05-03T06:07:51.547Z] > git checkout -f 569624fb81c2ae69bc90c383ac6b8d5090c026b7 # timeout=10 [2021-05-03T06:07:51.849Z] Removing intermediate container b1ffc94c3f3c [2021-05-03T06:07:51.850Z] ---> a8def8a630e4 [2021-05-03T06:07:51.850Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-03T06:07:51.850Z] ---> Running in 734b697e8960 [2021-05-03T06:07:53.935Z] Removing intermediate container 734b697e8960 [2021-05-03T06:07:53.935Z] ---> e09b0007237e [2021-05-03T06:07:53.935Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-03T06:07:53.935Z] ---> Running in a673ae947dd1 [2021-05-03T06:07:54.929Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-03T06:07:55.977Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-03T06:07:56.149Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-03T06:07:56.225Z] > git --version # timeout=10 [2021-05-03T06:07:56.238Z] > git --version # 'git version 2.17.1' [2021-05-03T06:07:56.261Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-03T06:07:57.088Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-03T06:07:57.089Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-03T06:07:57.421Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-03T06:07:57.421Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-03T06:07:57.421Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-03T06:07:58.107Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-03T06:07:58.107Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-03T06:07:58.233Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-03T06:07:58.724Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-03T06:07:59.102Z] + true [2021-05-03T06:07:59.102Z] + sudo service docker restart [2021-05-03T06:07:59.341Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-03T06:07:59.341Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-03T06:07:59.658Z] Executing busybox-1.32.1-r6.trigger [2021-05-03T06:07:59.658Z] OK: 154 MiB in 49 packages [2021-05-03T06:08:01.359Z] Removing intermediate container a673ae947dd1 [2021-05-03T06:08:01.359Z] ---> 8e28bbe85b58 [2021-05-03T06:08:01.359Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-03T06:08:01.359Z] ---> Running in b239215bc29a [2021-05-03T06:08:01.690Z] Removing intermediate container b239215bc29a [2021-05-03T06:08:01.690Z] ---> 11ce837ed8aa [2021-05-03T06:08:01.690Z] Step 9/10 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-03T06:08:01.876Z] provisioning config files... [2021-05-03T06:08:01.928Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5455129997454792990tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-03T06:08:02.383Z] ---> docker-login.sh [2021-05-03T06:08:02.383Z] nexus3.edgexfoundry.org:10001 [2021-05-03T06:08:03.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-03T06:08:03.559Z] ---> 1814eccd04ce [2021-05-03T06:08:03.559Z] Step 10/10 : RUN go mod download [2021-05-03T06:08:03.559Z] ---> Running in d2b0761dfbde [2021-05-03T06:08:03.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-03T06:08:03.980Z] Configure a credential helper to remove this warning. See [2021-05-03T06:08:03.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-03T06:08:03.980Z] [2021-05-03T06:08:03.980Z] Login Succeeded [2021-05-03T06:08:03.980Z] nexus3.edgexfoundry.org:10002 [2021-05-03T06:08:04.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-03T06:08:04.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-03T06:08:04.538Z] Configure a credential helper to remove this warning. See [2021-05-03T06:08:04.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-03T06:08:04.538Z] [2021-05-03T06:08:04.538Z] Login Succeeded [2021-05-03T06:08:04.538Z] nexus3.edgexfoundry.org:10003 [2021-05-03T06:08:05.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-03T06:08:05.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-03T06:08:05.146Z] Configure a credential helper to remove this warning. See [2021-05-03T06:08:05.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-03T06:08:05.146Z] [2021-05-03T06:08:05.146Z] Login Succeeded [2021-05-03T06:08:05.146Z] nexus3.edgexfoundry.org:10004 [2021-05-03T06:08:05.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-03T06:08:05.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-03T06:08:05.748Z] Configure a credential helper to remove this warning. See [2021-05-03T06:08:05.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-03T06:08:05.748Z] [2021-05-03T06:08:05.748Z] Login Succeeded [2021-05-03T06:08:05.748Z] docker.io [2021-05-03T06:08:06.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-03T06:08:06.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-03T06:08:06.623Z] Configure a credential helper to remove this warning. See [2021-05-03T06:08:06.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-03T06:08:06.623Z] [2021-05-03T06:08:06.623Z] Login Succeeded [2021-05-03T06:08:06.623Z] ---> docker-login.sh ends [Pipeline] } [2021-05-03T06:08:06.667Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-03T06:08:07.172Z] ========================================================= [2021-05-03T06:08:07.172Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-03T06:08:07.172Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-03T06:08:07.567Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-03T06:08:07.567Z] Sending build context to Docker daemon 93.18kB [2021-05-03T06:08:08.172Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-03T06:08:08.172Z] Step 2/10 : FROM ${BASE} [2021-05-03T06:08:08.172Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-03T06:08:08.172Z] 595b0fe564bb: Pulling fs layer [2021-05-03T06:08:08.172Z] 7186ed65a4f7: Pulling fs layer [2021-05-03T06:08:08.172Z] 316046926c0a: Pulling fs layer [2021-05-03T06:08:08.172Z] 4ebd0625c992: Pulling fs layer [2021-05-03T06:08:08.172Z] 207e8628e3a3: Pulling fs layer [2021-05-03T06:08:08.172Z] c791037a9be2: Pulling fs layer [2021-05-03T06:08:08.172Z] ffd874e62e21: Pulling fs layer [2021-05-03T06:08:08.172Z] 207e8628e3a3: Waiting [2021-05-03T06:08:08.172Z] c791037a9be2: Waiting [2021-05-03T06:08:08.172Z] ffd874e62e21: Waiting [2021-05-03T06:08:08.172Z] 4ebd0625c992: Waiting [2021-05-03T06:08:08.172Z] 316046926c0a: Verifying Checksum [2021-05-03T06:08:08.172Z] 316046926c0a: Download complete [2021-05-03T06:08:08.172Z] 7186ed65a4f7: Verifying Checksum [2021-05-03T06:08:08.172Z] 7186ed65a4f7: Download complete [2021-05-03T06:08:08.172Z] 207e8628e3a3: Verifying Checksum [2021-05-03T06:08:08.172Z] 207e8628e3a3: Download complete [2021-05-03T06:08:08.172Z] c791037a9be2: Download complete [2021-05-03T06:08:08.172Z] 595b0fe564bb: Verifying Checksum [2021-05-03T06:08:08.172Z] 595b0fe564bb: Download complete [2021-05-03T06:08:08.813Z] 595b0fe564bb: Pull complete [2021-05-03T06:08:09.823Z] 7186ed65a4f7: Pull complete [2021-05-03T06:08:10.101Z] 316046926c0a: Pull complete [2021-05-03T06:08:10.378Z] ffd874e62e21: Verifying Checksum [2021-05-03T06:08:10.378Z] ffd874e62e21: Download complete [2021-05-03T06:08:12.362Z] 4ebd0625c992: Verifying Checksum [2021-05-03T06:08:12.362Z] 4ebd0625c992: Download complete [2021-05-03T06:08:22.551Z] 4ebd0625c992: Pull complete [2021-05-03T06:08:22.551Z] 207e8628e3a3: Pull complete [2021-05-03T06:08:22.551Z] c791037a9be2: Pull complete [2021-05-03T06:08:25.960Z] ffd874e62e21: Pull complete [2021-05-03T06:08:25.960Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-03T06:08:25.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-03T06:08:25.960Z] ---> cfc18b08335c [2021-05-03T06:08:25.960Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-03T06:08:29.367Z] ---> Running in 12182ae091f2 [2021-05-03T06:08:29.645Z] Removing intermediate container 12182ae091f2 [2021-05-03T06:08:29.646Z] ---> e28832f3d152 [2021-05-03T06:08:29.646Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-03T06:08:29.929Z] ---> Running in 96c50c15a51b [2021-05-03T06:08:30.535Z] Removing intermediate container 96c50c15a51b [2021-05-03T06:08:30.535Z] ---> ccd7c77d96e8 [2021-05-03T06:08:30.535Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-03T06:08:30.535Z] ---> Running in aed773ca5e0f [2021-05-03T06:08:31.148Z] Removing intermediate container aed773ca5e0f [2021-05-03T06:08:31.148Z] ---> 68908da1ac41 [2021-05-03T06:08:31.148Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-03T06:08:31.148Z] ---> Running in 8dbafec1ce4c [2021-05-03T06:08:33.790Z] Removing intermediate container 8dbafec1ce4c [2021-05-03T06:08:33.790Z] ---> 6964f4a71651 [2021-05-03T06:08:33.790Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-03T06:08:34.109Z] ---> Running in 8fd48e0b22ad [2021-05-03T06:08:35.105Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-03T06:08:36.546Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-03T06:08:37.536Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-03T06:08:37.536Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-03T06:08:37.536Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-03T06:08:37.536Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-03T06:08:37.819Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-03T06:08:37.819Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-03T06:08:37.819Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-03T06:08:38.443Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-03T06:08:38.443Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-03T06:08:38.443Z] Executing busybox-1.32.1-r6.trigger [2021-05-03T06:08:38.443Z] OK: 144 MiB in 49 packages [2021-05-03T06:08:40.443Z] Removing intermediate container 8fd48e0b22ad [2021-05-03T06:08:40.443Z] ---> e31202f411e5 [2021-05-03T06:08:40.443Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-03T06:08:40.443Z] ---> Running in 388418fc7dc4 [2021-05-03T06:08:41.049Z] Removing intermediate container 388418fc7dc4 [2021-05-03T06:08:41.049Z] ---> 064d34e43b23 [2021-05-03T06:08:41.049Z] Step 9/10 : COPY . . [2021-05-03T06:08:42.044Z] ---> 750910463cdc [2021-05-03T06:08:42.044Z] Step 10/10 : RUN go mod download [2021-05-03T06:08:42.044Z] ---> Running in 7c706cb04018 [2021-05-03T06:08:52.003Z] Removing intermediate container d2b0761dfbde [2021-05-03T06:08:52.003Z] ---> f8f7cc6edf85 [2021-05-03T06:08:52.003Z] Successfully built f8f7cc6edf85 [2021-05-03T06:08:52.003Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-03T06:08:52.539Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-03T06:08:52.826Z] . [Pipeline] withDockerContainer [2021-05-03T06:08:53.270Z] prd-centos7-docker-4c-2g-2707 does not seem to be running inside a container [2021-05-03T06:08:53.665Z] $ 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-05-03T06:08:55.696Z] $ docker top d001a972871c9610d107951f263a9bdea41ae7760c0fcabb9cc585094a451882 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-03T06:08:57.084Z] + go version [2021-05-03T06:08:57.084Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-03T06:08:57.163Z] $ docker stop --time=1 d001a972871c9610d107951f263a9bdea41ae7760c0fcabb9cc585094a451882 [2021-05-03T06:08:59.559Z] $ docker rm -f d001a972871c9610d107951f263a9bdea41ae7760c0fcabb9cc585094a451882 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-03T06:09:00.867Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-03T06:09:00.867Z] . [Pipeline] withDockerContainer [2021-05-03T06:09:01.660Z] prd-centos7-docker-4c-2g-2707 does not seem to be running inside a container [2021-05-03T06:09:02.177Z] $ 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-05-03T06:09:03.915Z] $ docker top 26dab584601519f93fd9f8baf67fadcdf71fc083efedeec0a6a0241e89b593a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-03T06:09:05.062Z] + go mod tidy [Pipeline] sh [2021-05-03T06:09:08.627Z] + make test [2021-05-03T06:09:08.627Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-03T06:09:10.824Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-03T06:09:14.490Z] Removing intermediate container 7c706cb04018 [2021-05-03T06:09:14.490Z] ---> 4ec180a6077b [2021-05-03T06:09:14.490Z] Successfully built 4ec180a6077b [2021-05-03T06:09:14.490Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-03T06:09:14.911Z] + docker inspect -f . ci-base-image-arm64 [2021-05-03T06:09:14.911Z] . [Pipeline] withDockerContainer [2021-05-03T06:09:15.272Z] prd-ubuntu18.04-docker-arm64-4c-16g-2713 does not seem to be running inside a container [2021-05-03T06:09:15.384Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-03T06:09:16.988Z] $ docker top af2bde56b77f342104a14a8b5194dc51f7eab63f0d84951fbfc956c16263a8f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-03T06:09:18.011Z] + go version [2021-05-03T06:09:18.011Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-03T06:09:18.059Z] $ docker stop --time=1 af2bde56b77f342104a14a8b5194dc51f7eab63f0d84951fbfc956c16263a8f2 [2021-05-03T06:09:20.022Z] $ docker rm -f af2bde56b77f342104a14a8b5194dc51f7eab63f0d84951fbfc956c16263a8f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-03T06:09:21.062Z] + docker inspect -f . ci-base-image-arm64 [2021-05-03T06:09:21.063Z] . [Pipeline] withDockerContainer [2021-05-03T06:09:21.395Z] prd-ubuntu18.04-docker-arm64-4c-16g-2713 does not seem to be running inside a container [2021-05-03T06:09:21.500Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-03T06:09:23.294Z] $ docker top b721b7ad7506655dc965cae95d5de565194a52f1817a42fd657ce1a1d11c2340 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-03T06:09:24.455Z] + go mod tidy [Pipeline] sh [2021-05-03T06:09:26.754Z] + make test [2021-05-03T06:09:26.754Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-03T06:09:28.759Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-03T06:10:09.690Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-03T06:10:09.690Z] ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 54.0% of statements [2021-05-03T06:10:09.690Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-03T06:10:25.664Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-03T06:10:26.639Z] ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 54.0% of statements [2021-05-03T06:10:27.239Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-03T06:10:43.404Z] gofmt -l . [2021-05-03T06:10:43.404Z] [ "`gofmt -l .`" = "" ] [2021-05-03T06:10:43.404Z] ./bin/test-go-mod-tidy.sh [2021-05-03T06:10:43.404Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-03T06:10:43.460Z] $ docker stop --time=1 26dab584601519f93fd9f8baf67fadcdf71fc083efedeec0a6a0241e89b593a6 [2021-05-03T06:10:45.878Z] $ docker rm -f 26dab584601519f93fd9f8baf67fadcdf71fc083efedeec0a6a0241e89b593a6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-03T06:10:46.810Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-03T06:10:47.360Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-03T06:10:49.744Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-03T06:10:50.131Z] + ls -al . [2021-05-03T06:10:50.131Z] total 104 [2021-05-03T06:10:50.131Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 3 06:10 . [2021-05-03T06:10:50.131Z] drwxrwxr-x. 4 jenkins jenkins 28 May 3 06:06 .. [2021-05-03T06:10:50.131Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 3 06:07 Attribution.txt [2021-05-03T06:10:50.131Z] drwxrwxr-x. 2 jenkins jenkins 64 May 3 06:07 bin [2021-05-03T06:10:50.131Z] drwxrwxr-x. 3 jenkins jenkins 32 May 3 06:07 cmd [2021-05-03T06:10:50.131Z] -rw-r--r--. 1 jenkins jenkins 8513 May 3 06:10 coverage.out [2021-05-03T06:10:50.131Z] -rw-rw-r--. 1 jenkins jenkins 1602 May 3 06:07 Dockerfile [2021-05-03T06:10:50.131Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 3 06:07 Dockerfile.build [2021-05-03T06:10:50.131Z] -rw-rw-r--. 1 jenkins jenkins 151 May 3 06:07 .dockerignore [2021-05-03T06:10:50.131Z] drwxrwxr-x. 2 jenkins jenkins 76 May 3 06:07 driver [2021-05-03T06:10:50.131Z] drwxrwxr-x. 8 jenkins jenkins 179 May 3 06:07 .git [2021-05-03T06:10:50.131Z] drwxrwxr-x. 2 jenkins jenkins 103 May 3 06:07 .github [2021-05-03T06:10:50.131Z] -rw-rw-r--. 1 jenkins jenkins 339 May 3 06:07 .gitignore [2021-05-03T06:10:50.131Z] -rw-r--r--. 1 jenkins jenkins 285 May 3 06:10 go.mod [2021-05-03T06:10:50.131Z] -rw-r--r--. 1 jenkins jenkins 21331 May 3 06:09 go.sum [2021-05-03T06:10:50.131Z] -rw-rw-r--. 1 jenkins jenkins 680 May 3 06:07 Jenkinsfile [2021-05-03T06:10:50.131Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 3 06:07 LICENSE [2021-05-03T06:10:50.131Z] -rw-rw-r--. 1 jenkins jenkins 996 May 3 06:07 Makefile [2021-05-03T06:10:50.131Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 3 06:07 README.md [2021-05-03T06:10:50.131Z] drwxrwxr-x. 4 jenkins jenkins 71 May 3 06:07 snap [2021-05-03T06:10:50.131Z] -rw-rw-r--. 1 jenkins jenkins 5 May 3 06:05 VERSION [2021-05-03T06:10:50.131Z] -rw-rw-r--. 1 jenkins jenkins 713 May 3 06:07 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-03T06:10:50.689Z] + 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=569624fb81c2ae69bc90c383ac6b8d5090c026b7 --label arch=amd64 --label version=0.0.0 . [2021-05-03T06:10:50.972Z] Sending build context to Docker daemon 102.9kB [2021-05-03T06:10:51.646Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-05-03T06:10:51.646Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-03T06:10:51.646Z] ---> f8f7cc6edf85 [2021-05-03T06:10:51.646Z] Step 3/24 : ARG MAKE='make build' [2021-05-03T06:10:51.646Z] ---> Running in 1f909bd9cb9c [2021-05-03T06:10:52.035Z] Removing intermediate container 1f909bd9cb9c [2021-05-03T06:10:52.035Z] ---> 51061b769df1 [2021-05-03T06:10:52.035Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-03T06:10:52.035Z] ---> Running in 8e5e4bbfdffe [2021-05-03T06:10:52.735Z] Removing intermediate container 8e5e4bbfdffe [2021-05-03T06:10:52.735Z] ---> cc6fb9c2417e [2021-05-03T06:10:52.735Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-03T06:10:52.735Z] ---> Running in 17cb32ad25de [2021-05-03T06:10:53.019Z] Removing intermediate container 17cb32ad25de [2021-05-03T06:10:53.019Z] ---> d8cff3818ea7 [2021-05-03T06:10:53.019Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-03T06:10:53.310Z] ---> Running in bf44f8724fad [2021-05-03T06:10:55.994Z] Removing intermediate container bf44f8724fad [2021-05-03T06:10:55.994Z] ---> 447cc50a9cf6 [2021-05-03T06:10:55.994Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-03T06:10:55.994Z] ---> Running in 37ede4b8e7f2 [2021-05-03T06:10:57.024Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-03T06:10:58.071Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-03T06:10:59.110Z] OK: 154 MiB in 49 packages [2021-05-03T06:10:59.649Z] gofmt -l . [2021-05-03T06:10:59.649Z] [ "`gofmt -l .`" = "" ] [2021-05-03T06:10:59.649Z] ./bin/test-go-mod-tidy.sh [2021-05-03T06:10:59.649Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-03T06:10:59.677Z] $ docker stop --time=1 b721b7ad7506655dc965cae95d5de565194a52f1817a42fd657ce1a1d11c2340 [2021-05-03T06:11:00.259Z] Removing intermediate container 37ede4b8e7f2 [2021-05-03T06:11:00.259Z] ---> cb8b36f0614a [2021-05-03T06:11:00.259Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-03T06:11:00.570Z] ---> Running in 7d55f3b9c702 [2021-05-03T06:11:00.855Z] Removing intermediate container 7d55f3b9c702 [2021-05-03T06:11:00.855Z] ---> 17d5c0dd589f [2021-05-03T06:11:00.855Z] Step 9/24 : COPY . . [2021-05-03T06:11:01.682Z] $ docker rm -f b721b7ad7506655dc965cae95d5de565194a52f1817a42fd657ce1a1d11c2340 [2021-05-03T06:11:01.932Z] ---> e6013e30315d [2021-05-03T06:11:01.932Z] Step 10/24 : RUN make update [2021-05-03T06:11:01.932Z] ---> Running in 9b5347f9b1ce [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-03T06:11:02.683Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-03T06:11:02.726Z] Warning: overwriting stash ‘coverage-report’ [2021-05-03T06:11:02.969Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-03T06:11:03.262Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-03T06:11:04.001Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-03T06:11:04.050Z] Removing intermediate container 9b5347f9b1ce [2021-05-03T06:11:04.050Z] ---> d9ec4f3879fb [2021-05-03T06:11:04.050Z] Step 11/24 : RUN $MAKE [2021-05-03T06:11:04.337Z] ---> Running in 51e3318f3937 [2021-05-03T06:11:04.378Z] + ls -al . [2021-05-03T06:11:04.378Z] total 132 [2021-05-03T06:11:04.378Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 06:10 . [2021-05-03T06:11:04.378Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 06:07 .. [2021-05-03T06:11:04.378Z] -rw-rw-r-- 1 jenkins jenkins 151 May 3 06:07 .dockerignore [2021-05-03T06:11:04.378Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 06:07 .git [2021-05-03T06:11:04.378Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 06:07 .github [2021-05-03T06:11:04.378Z] -rw-rw-r-- 1 jenkins jenkins 339 May 3 06:07 .gitignore [2021-05-03T06:11:04.378Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 3 06:07 Attribution.txt [2021-05-03T06:11:04.378Z] -rw-rw-r-- 1 jenkins jenkins 1602 May 3 06:07 Dockerfile [2021-05-03T06:11:04.378Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 3 06:07 Dockerfile.build [2021-05-03T06:11:04.378Z] -rw-rw-r-- 1 jenkins jenkins 680 May 3 06:07 Jenkinsfile [2021-05-03T06:11:04.378Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 3 06:07 LICENSE [2021-05-03T06:11:04.378Z] -rw-rw-r-- 1 jenkins jenkins 996 May 3 06:07 Makefile [2021-05-03T06:11:04.378Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 3 06:07 README.md [2021-05-03T06:11:04.378Z] -rw-rw-r-- 1 jenkins jenkins 5 May 3 06:05 VERSION [2021-05-03T06:11:04.378Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 06:07 bin [2021-05-03T06:11:04.378Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 06:07 cmd [2021-05-03T06:11:04.378Z] -rw-r--r-- 1 jenkins jenkins 8513 May 3 06:10 coverage.out [2021-05-03T06:11:04.378Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 06:07 driver [2021-05-03T06:11:04.378Z] -rw-r--r-- 1 jenkins jenkins 285 May 3 06:10 go.mod [2021-05-03T06:11:04.378Z] -rw-r--r-- 1 jenkins jenkins 21331 May 3 06:09 go.sum [2021-05-03T06:11:04.378Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 06:07 snap [2021-05-03T06:11:04.378Z] -rw-rw-r-- 1 jenkins jenkins 713 May 3 06:07 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-03T06:11:04.784Z] + 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=569624fb81c2ae69bc90c383ac6b8d5090c026b7 --label arch=arm64 --label version=0.0.0 . [2021-05-03T06:11:04.784Z] Sending build context to Docker daemon 102.9kB [2021-05-03T06:11:05.060Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-05-03T06:11:05.060Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-03T06:11:05.060Z] ---> 4ec180a6077b [2021-05-03T06:11:05.060Z] Step 3/24 : ARG MAKE='make build' [2021-05-03T06:11:05.340Z] ---> Running in 2c8d2b92d1be [2021-05-03T06:11:05.938Z] Removing intermediate container 2c8d2b92d1be [2021-05-03T06:11:05.938Z] ---> a3511becc850 [2021-05-03T06:11:05.938Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-03T06:11:06.225Z] ---> Running in 70979e8f8c6b [2021-05-03T06:11:06.499Z] Removing intermediate container 70979e8f8c6b [2021-05-03T06:11:06.499Z] ---> ef49dd80943c [2021-05-03T06:11:06.499Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-03T06:11:06.575Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2021-05-03T06:11:06.773Z] ---> Running in e15d6063be27 [2021-05-03T06:11:07.371Z] Removing intermediate container e15d6063be27 [2021-05-03T06:11:07.371Z] ---> f8ecaf595191 [2021-05-03T06:11:07.371Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-03T06:11:07.371Z] ---> Running in fc2c1f47a364 [2021-05-03T06:11:10.003Z] Removing intermediate container fc2c1f47a364 [2021-05-03T06:11:10.003Z] ---> 0d2cf7ab8992 [2021-05-03T06:11:10.003Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-03T06:11:10.003Z] ---> Running in c972ec89500e [2021-05-03T06:11:10.983Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-03T06:11:11.963Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-03T06:11:12.954Z] OK: 144 MiB in 49 packages [2021-05-03T06:11:14.388Z] Removing intermediate container c972ec89500e [2021-05-03T06:11:14.388Z] ---> 507534077a86 [2021-05-03T06:11:14.388Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-03T06:11:14.388Z] ---> Running in a9971203b26f [2021-05-03T06:11:14.984Z] Removing intermediate container a9971203b26f [2021-05-03T06:11:14.984Z] ---> 6a84ea4ff4ce [2021-05-03T06:11:14.984Z] Step 9/24 : COPY . . [2021-05-03T06:11:15.578Z] ---> ba103583f585 [2021-05-03T06:11:15.578Z] Step 10/24 : RUN make update [2021-05-03T06:11:15.851Z] ---> Running in e980bfec7310 [2021-05-03T06:11:16.833Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-03T06:11:18.275Z] Removing intermediate container e980bfec7310 [2021-05-03T06:11:18.275Z] ---> 73067cba2d52 [2021-05-03T06:11:18.275Z] Step 11/24 : RUN $MAKE [2021-05-03T06:11:18.275Z] ---> Running in 0bccecc0a1bb [2021-05-03T06:11:19.717Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2021-05-03T06:11:47.229Z] Removing intermediate container 51e3318f3937 [2021-05-03T06:11:47.229Z] ---> 8423c90e019f [2021-05-03T06:11:47.229Z] Step 12/24 : FROM alpine:3.12 [2021-05-03T06:11:47.229Z] 3.12: Pulling from library/alpine [2021-05-03T06:11:47.229Z] 339de151aab4: Pulling fs layer [2021-05-03T06:11:47.229Z] 339de151aab4: Download complete [2021-05-03T06:11:47.229Z] 339de151aab4: Pull complete [2021-05-03T06:11:47.229Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-03T06:11:47.229Z] Status: Downloaded newer image for alpine:3.12 [2021-05-03T06:11:47.229Z] ---> 13621d1b12d4 [2021-05-03T06:11:47.229Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-03T06:11:47.229Z] ---> Running in 65e96cc6f9a2 [2021-05-03T06:11:47.229Z] Removing intermediate container 65e96cc6f9a2 [2021-05-03T06:11:47.229Z] ---> 344555e8d97a [2021-05-03T06:11:47.229Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-03T06:11:47.229Z] ---> Running in 466d7c0e1a1f [2021-05-03T06:11:47.538Z] Removing intermediate container 466d7c0e1a1f [2021-05-03T06:11:47.538Z] ---> eaf9b4fb29f2 [2021-05-03T06:11:47.538Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-03T06:11:47.849Z] ---> Running in 1a1c4385f43d [2021-05-03T06:11:49.464Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-03T06:11:49.464Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-03T06:11:49.760Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-03T06:11:49.760Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-03T06:11:49.760Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-03T06:11:49.760Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-03T06:11:49.760Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-03T06:11:50.071Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-03T06:11:50.071Z] Executing busybox-1.31.1-r20.trigger [2021-05-03T06:11:50.071Z] OK: 8 MiB in 20 packages [2021-05-03T06:11:51.532Z] Removing intermediate container 1a1c4385f43d [2021-05-03T06:11:51.532Z] ---> db39e167b2fc [2021-05-03T06:11:51.532Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-03T06:11:53.127Z] ---> 25084d2379e3 [2021-05-03T06:11:53.127Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-03T06:11:53.840Z] ---> a3c433371549 [2021-05-03T06:11:53.840Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-03T06:11:54.496Z] ---> b30cceae3859 [2021-05-03T06:11:54.496Z] Step 19/24 : EXPOSE 49986 [2021-05-03T06:11:54.496Z] ---> Running in 1b6ce07d7408 [2021-05-03T06:11:54.820Z] Removing intermediate container 1b6ce07d7408 [2021-05-03T06:11:54.820Z] ---> 9fdceebab876 [2021-05-03T06:11:54.820Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-03T06:11:54.820Z] ---> Running in faf5989db754 [2021-05-03T06:11:55.471Z] Removing intermediate container faf5989db754 [2021-05-03T06:11:55.471Z] ---> c49bad6286bc [2021-05-03T06:11:55.471Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-03T06:11:55.816Z] ---> Running in 8ba0ddb70c92 [2021-05-03T06:11:56.099Z] Removing intermediate container 8ba0ddb70c92 [2021-05-03T06:11:56.099Z] ---> 878e4b604011 [2021-05-03T06:11:56.099Z] Step 22/24 : LABEL arch=amd64 [2021-05-03T06:11:56.461Z] ---> Running in a9fbf30690fd [2021-05-03T06:11:57.129Z] Removing intermediate container a9fbf30690fd [2021-05-03T06:11:57.129Z] ---> a3b7ffb72e1c [2021-05-03T06:11:57.129Z] Step 23/24 : LABEL git_sha=569624fb81c2ae69bc90c383ac6b8d5090c026b7 [2021-05-03T06:11:57.129Z] ---> Running in 2a6a14bc0226 [2021-05-03T06:11:57.769Z] Removing intermediate container 2a6a14bc0226 [2021-05-03T06:11:57.769Z] ---> 197f1001dd8b [2021-05-03T06:11:57.769Z] Step 24/24 : LABEL version=0.0.0 [2021-05-03T06:11:58.046Z] ---> Running in e6c0d056493a [2021-05-03T06:11:58.318Z] Removing intermediate container e6c0d056493a [2021-05-03T06:11:58.318Z] ---> a9183c0b5964 [2021-05-03T06:11:58.318Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-03T06:11:58.318Z] Successfully built a9183c0b5964 [2021-05-03T06:11:58.318Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-03T06:11:59.284Z] ---> job-cost.sh [2021-05-03T06:11:59.284Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7bDe [2021-05-03T06:12:06.758Z] Removing intermediate container 0bccecc0a1bb [2021-05-03T06:12:06.758Z] ---> 6c568e5abc75 [2021-05-03T06:12:06.758Z] Step 12/24 : FROM alpine:3.12 [2021-05-03T06:12:06.758Z] 3.12: Pulling from library/alpine [2021-05-03T06:12:06.758Z] d2f70382dc9a: Pulling fs layer [2021-05-03T06:12:06.758Z] d2f70382dc9a: Verifying Checksum [2021-05-03T06:12:06.758Z] d2f70382dc9a: Download complete [2021-05-03T06:12:06.758Z] d2f70382dc9a: Pull complete [2021-05-03T06:12:06.758Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-03T06:12:06.758Z] Status: Downloaded newer image for alpine:3.12 [2021-05-03T06:12:06.758Z] ---> 9852663dfa18 [2021-05-03T06:12:06.758Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-03T06:12:06.758Z] ---> Running in b79103ecc621 [2021-05-03T06:12:06.758Z] Removing intermediate container b79103ecc621 [2021-05-03T06:12:06.758Z] ---> 3e21eaacfa4a [2021-05-03T06:12:06.758Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-03T06:12:06.758Z] ---> Running in 5825b21e5e43 [2021-05-03T06:12:06.758Z] Removing intermediate container 5825b21e5e43 [2021-05-03T06:12:06.758Z] ---> ebf57a968b01 [2021-05-03T06:12:06.758Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-03T06:12:06.758Z] ---> Running in 3778c19664c5 [2021-05-03T06:12:06.758Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-03T06:12:06.758Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-03T06:12:06.758Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-03T06:12:06.758Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-03T06:12:06.758Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-03T06:12:06.758Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-03T06:12:06.758Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-03T06:12:06.758Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-03T06:12:06.758Z] Executing busybox-1.31.1-r20.trigger [2021-05-03T06:12:06.758Z] OK: 8 MiB in 20 packages [2021-05-03T06:12:06.758Z] Removing intermediate container 3778c19664c5 [2021-05-03T06:12:06.758Z] ---> 1d02af016e58 [2021-05-03T06:12:06.758Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-03T06:12:07.736Z] ---> 33aceb1f781a [2021-05-03T06:12:07.736Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-03T06:12:08.339Z] ---> b1343245ce38 [2021-05-03T06:12:08.339Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-03T06:12:08.941Z] ---> b7d699726051 [2021-05-03T06:12:08.941Z] Step 19/24 : EXPOSE 49986 [2021-05-03T06:12:09.216Z] ---> Running in 77c1284f2fea [2021-05-03T06:12:09.811Z] Removing intermediate container 77c1284f2fea [2021-05-03T06:12:09.811Z] ---> 1433c4668ee2 [2021-05-03T06:12:09.811Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-03T06:12:09.811Z] ---> Running in 5d20a10bd5c3 [2021-05-03T06:12:10.085Z] Removing intermediate container 5d20a10bd5c3 [2021-05-03T06:12:10.085Z] ---> 4381cf73e9f0 [2021-05-03T06:12:10.085Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-03T06:12:10.358Z] ---> Running in 7cadb5b38a93 [2021-05-03T06:12:10.952Z] Removing intermediate container 7cadb5b38a93 [2021-05-03T06:12:10.952Z] ---> 732282856f1a [2021-05-03T06:12:10.952Z] Step 22/24 : LABEL arch=arm64 [2021-05-03T06:12:10.952Z] ---> Running in 368d215458d1 [2021-05-03T06:12:11.549Z] Removing intermediate container 368d215458d1 [2021-05-03T06:12:11.549Z] ---> 0b95c10907d3 [2021-05-03T06:12:11.549Z] Step 23/24 : LABEL git_sha=569624fb81c2ae69bc90c383ac6b8d5090c026b7 [2021-05-03T06:12:11.549Z] ---> Running in 3b259a84f5f6 [2021-05-03T06:12:12.154Z] Removing intermediate container 3b259a84f5f6 [2021-05-03T06:12:12.154Z] ---> ecbf32173edf [2021-05-03T06:12:12.154Z] Step 24/24 : LABEL version=0.0.0 [2021-05-03T06:12:12.154Z] ---> Running in 50fe0849462c [2021-05-03T06:12:12.756Z] Removing intermediate container 50fe0849462c [2021-05-03T06:12:12.756Z] ---> 148c9e1d3ce6 [2021-05-03T06:12:12.756Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-03T06:12:12.756Z] Successfully built 148c9e1d3ce6 [2021-05-03T06:12:12.756Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-03T06:12:13.486Z] ---> job-cost.sh [2021-05-03T06:12:13.486Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Z5Ya [2021-05-03T06:12:32.221Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-03T06:13:00.462Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-03T06:13:12.595Z] lf-activate-venv(): INFO: Adding /tmp/venv-7bDe/bin to PATH [2021-05-03T06:13:12.595Z] INFO: No Stack... [2021-05-03T06:13:12.595Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-03T06:13:12.595Z] INFO: Archiving Costs [Pipeline] sh [2021-05-03T06:13:12.998Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-05-03T06:13:12.998Z] + cut -d, -f6 [Pipeline] lock [2021-05-03T06:13:13.226Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-85-1-stack-cost] [2021-05-03T06:13:13.233Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-85-1-stack-cost] did not exist. Created. [2021-05-03T06:13:13.233Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-85-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-03T06:13:13.716Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-03T06:13:14.140Z] Stashed 1 file(s) [Pipeline] } [2021-05-03T06:13:14.163Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-85-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-03T06:14:37.227Z] lf-activate-venv(): INFO: Adding /tmp/venv-Z5Ya/bin to PATH [2021-05-03T06:14:37.227Z] INFO: No Stack... [2021-05-03T06:14:37.227Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-03T06:14:37.227Z] INFO: Archiving Costs [Pipeline] sh [2021-05-03T06:14:37.586Z] + + cutcat -d, /w/workspace/device-rest-go/1/archives/cost.csv -f6 [2021-05-03T06:14:37.586Z] [Pipeline] lock [2021-05-03T06:14:37.718Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-85-1-stack-cost] [2021-05-03T06:14:37.724Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-85-1-stack-cost] did not exist. Created. [2021-05-03T06:14:37.724Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-85-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-03T06:14:38.154Z] /w/workspace/device-rest-go/1@tmp/durable-3ac5b707/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-3ac5b707/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-03T06:14:38.523Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-03T06:14:38.563Z] Warning: overwriting stash ‘stack-cost’ [2021-05-03T06:14:38.715Z] Stashed 1 file(s) [Pipeline] } [2021-05-03T06:14:38.735Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-85-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-03T06:14:39.592Z] provisioning config files... [2021-05-03T06:14:39.603Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/config431103551796167739tmp [Pipeline] { [Pipeline] sh [2021-05-03T06:14:39.982Z] + set +x [2021-05-03T06:14:39.982Z] + curl -s https://codecov.io/bash [2021-05-03T06:14:39.982Z] + bash -s -- [2021-05-03T06:14:40.246Z] [2021-05-03T06:14:40.246Z] _____ _ [2021-05-03T06:14:40.246Z] / ____| | | [2021-05-03T06:14:40.246Z] | | ___ __| | ___ ___ _____ __ [2021-05-03T06:14:40.246Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-03T06:14:40.246Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-03T06:14:40.246Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-03T06:14:40.246Z] Bash-1.0.2 [2021-05-03T06:14:40.246Z] [2021-05-03T06:14:40.246Z] [2021-05-03T06:14:40.246Z] ==> git version 2.24.3 found [2021-05-03T06:14:40.246Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-03T06:14:40.246Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-03T06:14:40.246Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-03T06:14:40.246Z] ==> Jenkins CI detected. [2021-05-03T06:14:40.246Z] project root: . [2021-05-03T06:14:40.246Z] --> token set from env [2021-05-03T06:14:40.246Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-03T06:14:40.246Z] ==> Running gcov in . (disable via -X gcov) [2021-05-03T06:14:40.246Z] ==> Python coveragepy not found [2021-05-03T06:14:40.246Z] ==> Searching for coverage reports in: [2021-05-03T06:14:40.246Z] + . [2021-05-03T06:14:40.246Z] -> Found 1 reports [2021-05-03T06:14:40.246Z] ==> Detecting git/mercurial file structure [2021-05-03T06:14:40.246Z] ==> Reading reports [2021-05-03T06:14:40.246Z] + ./coverage.out bytes=8513 [2021-05-03T06:14:40.246Z] ==> Appending adjustments [2021-05-03T06:14:40.246Z] https://docs.codecov.io/docs/fixing-reports [2021-05-03T06:14:40.246Z] + Found adjustments [2021-05-03T06:14:40.246Z] ==> Gzipping contents [2021-05-03T06:14:40.246Z] 4.0K /tmp/codecov.BTNzdd.gz [2021-05-03T06:14:40.246Z] ==> Uploading reports [2021-05-03T06:14:40.246Z] url: https://codecov.io [2021-05-03T06:14:40.246Z] query: branch=PR-85&commit=569624fb81c2ae69bc90c383ac6b8d5090c026b7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-85%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=85&job=&cmd_args= [2021-05-03T06:14:40.246Z] -> Pinging Codecov [2021-05-03T06:14:40.246Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-85&commit=569624fb81c2ae69bc90c383ac6b8d5090c026b7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-85%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=85&job=&cmd_args= [2021-05-03T06:14:40.822Z] -> Uploading to [2021-05-03T06:14:40.822Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-03/4E5D53B4F1F92C436F7061BF334D961C/569624fb81c2ae69bc90c383ac6b8d5090c026b7/aa3ef5d1-c3fc-4916-aab5-a1a893616faf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210503T061440Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c8cb2848b0ecd1b1f062d9e4c5bed12e9e69811b3a2d1e78a9d0e318c253bf35 [2021-05-03T06:14:40.822Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-03T06:14:40.822Z] Dload Upload Total Spent Left Speed [2021-05-03T06:14:41.399Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 4301 --:--:-- --:--:-- --:--:-- 4307 [2021-05-03T06:14:41.399Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/569624fb81c2ae69bc90c383ac6b8d5090c026b7 [Pipeline] } [2021-05-03T06:14:41.437Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-03T06:14:43.323Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-03T06:14:44.180Z] ---> package-listing.sh [2021-05-03T06:14:44.180Z] ++ facter osfamily [2021-05-03T06:14:44.180Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-03T06:14:44.180Z] + OS_FAMILY=redhat [2021-05-03T06:14:44.180Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-85 [2021-05-03T06:14:44.180Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-03T06:14:44.180Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-03T06:14:44.180Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-03T06:14:44.180Z] + PACKAGES=/tmp/packages_start.txt [2021-05-03T06:14:44.180Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-85 ']' [2021-05-03T06:14:44.180Z] + PACKAGES=/tmp/packages_end.txt [2021-05-03T06:14:44.180Z] + case "${OS_FAMILY}" in [2021-05-03T06:14:44.180Z] + rpm -qa [2021-05-03T06:14:44.180Z] + sort [2021-05-03T06:14:50.799Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-03T06:14:50.799Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-03T06:14:50.799Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-03T06:14:50.799Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-85 ']' [2021-05-03T06:14:50.799Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-85/archives/ [2021-05-03T06:14:50.799Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-85/archives/ [Pipeline] echo [2021-05-03T06:14:50.837Z] 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-85/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-03T06:14:51.155Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-03T06:14:51.501Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-03T06:14:51.501Z] [2021-05-03T06:14:51.502Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-03T06:14:51.865Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-03T06:14:51.865Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-03T06:14:51.865Z] df20fa9351a1: Pulling fs layer [2021-05-03T06:14:51.865Z] 36b3adc4ff6f: Pulling fs layer [2021-05-03T06:14:51.865Z] 8ad3a11d3b57: Pulling fs layer [2021-05-03T06:14:51.865Z] 46f8f816bc3b: Pulling fs layer [2021-05-03T06:14:51.865Z] 93b61091891f: Pulling fs layer [2021-05-03T06:14:51.865Z] 93b9cdb0e59b: Pulling fs layer [2021-05-03T06:14:51.865Z] 5e14af77c1be: Pulling fs layer [2021-05-03T06:14:51.865Z] 01666e4c0597: Pulling fs layer [2021-05-03T06:14:51.865Z] aa168da1d23b: Pulling fs layer [2021-05-03T06:14:51.865Z] 5e14af77c1be: Waiting [2021-05-03T06:14:51.865Z] 46f8f816bc3b: Waiting [2021-05-03T06:14:51.865Z] 93b61091891f: Waiting [2021-05-03T06:14:51.865Z] 93b9cdb0e59b: Waiting [2021-05-03T06:14:51.865Z] aa168da1d23b: Waiting [2021-05-03T06:14:51.865Z] 01666e4c0597: Waiting [2021-05-03T06:14:51.865Z] 36b3adc4ff6f: Verifying Checksum [2021-05-03T06:14:51.865Z] 36b3adc4ff6f: Download complete [2021-05-03T06:14:51.865Z] 46f8f816bc3b: Verifying Checksum [2021-05-03T06:14:51.865Z] 46f8f816bc3b: Download complete [2021-05-03T06:14:52.129Z] df20fa9351a1: Verifying Checksum [2021-05-03T06:14:52.129Z] 93b9cdb0e59b: Verifying Checksum [2021-05-03T06:14:52.129Z] 93b9cdb0e59b: Download complete [2021-05-03T06:14:52.129Z] 5e14af77c1be: Verifying Checksum [2021-05-03T06:14:52.130Z] 5e14af77c1be: Download complete [2021-05-03T06:14:52.130Z] 93b61091891f: Verifying Checksum [2021-05-03T06:14:52.130Z] 93b61091891f: Download complete [2021-05-03T06:14:52.130Z] 01666e4c0597: Verifying Checksum [2021-05-03T06:14:52.130Z] 01666e4c0597: Download complete [2021-05-03T06:14:52.391Z] df20fa9351a1: Pull complete [2021-05-03T06:14:52.391Z] 8ad3a11d3b57: Verifying Checksum [2021-05-03T06:14:52.391Z] 8ad3a11d3b57: Download complete [2021-05-03T06:14:52.657Z] 36b3adc4ff6f: Pull complete [2021-05-03T06:14:53.620Z] 8ad3a11d3b57: Pull complete [2021-05-03T06:14:53.620Z] 46f8f816bc3b: Pull complete [2021-05-03T06:14:54.199Z] 93b61091891f: Pull complete [2021-05-03T06:14:54.460Z] 93b9cdb0e59b: Pull complete [2021-05-03T06:14:54.460Z] aa168da1d23b: Verifying Checksum [2021-05-03T06:14:54.460Z] aa168da1d23b: Download complete [2021-05-03T06:14:54.460Z] 5e14af77c1be: Pull complete [2021-05-03T06:14:54.723Z] 01666e4c0597: Pull complete [2021-05-03T06:15:01.362Z] aa168da1d23b: Pull complete [2021-05-03T06:15:01.362Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-03T06:15:01.362Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-03T06:15:01.362Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-03T06:15:01.595Z] prd-centos7-docker-4c-2g-2703 does not seem to be running inside a container [2021-05-03T06:15:01.680Z] $ 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-85/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-85 -v /w/workspace/dgexfoundry_device-rest-go_PR-85:/w/workspace/dgexfoundry_device-rest-go_PR-85:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-85@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-85@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:10003/edgex-lftools-log-publisher:alpine cat [2021-05-03T06:15:05.152Z] $ docker top 7b6a485237619f7dfe24beec422d7cda472cf886a7f1fa7733ef36781392cbb4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-03T06:15:05.609Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-03T06:15:05.933Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-03T06:15:06.252Z] + ls /var/log/sa-host [2021-05-03T06:15:06.252Z] + sadf -c /var/log/sa-host/sa03 [2021-05-03T06:15:06.252Z] file_magic: OK [2021-05-03T06:15:06.252Z] HZ: Using current value: 100 [2021-05-03T06:15:06.252Z] file_header: OK [2021-05-03T06:15:06.252Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-03T06:15:06.252Z] Statistics: [2021-05-03T06:15:06.252Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-03T06:15:06.252Z] File successfully converted to sysstat format version 12.2.1 [2021-05-03T06:15:06.252Z] + sadf -c /var/log/sa-host/sa23 [2021-05-03T06:15:06.252Z] file_magic: OK [2021-05-03T06:15:06.252Z] HZ: Using current value: 100 [2021-05-03T06:15:06.252Z] file_header: OK [2021-05-03T06:15:06.252Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-03T06:15:06.252Z] Statistics: [2021-05-03T06:15:06.252Z] Hnuu...uuuununununu... [2021-05-03T06:15:06.252Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-03T06:15:06.489Z] provisioning config files... [2021-05-03T06:15:06.505Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-85@tmp/config8581133947269582415tmp [Pipeline] { [Pipeline] echo [2021-05-03T06:15:06.569Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-03T06:15:06.907Z] ---> create-netrc.sh [Pipeline] } [2021-05-03T06:15:06.932Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-03T06:15:07.015Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-03T06:15:07.347Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-03T06:15:07.377Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-03T06:15:07.711Z] ---> sudo-logs.sh [2021-05-03T06:15:07.711Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-03T06:15:07.795Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-03T06:15:08.135Z] ---> job-cost.sh [2021-05-03T06:15:08.135Z] lf-activate-venv: SKIPPING [2021-05-03T06:15:08.135Z] DEBUG: total: 0.20999999344348907 [2021-05-03T06:15:08.135Z] INFO: Retrieving Stack Cost... [2021-05-03T06:15:09.530Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-03T06:15:10.106Z] INFO: Archiving Costs [Pipeline] echo [2021-05-03T06:15:10.145Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-03T06:15:10.500Z] ---> logs-deploy.sh [2021-05-03T06:15:10.500Z] lf-activate-venv: SKIPPING [2021-05-03T06:15:10.500Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-85/1 [2021-05-03T06:15:10.500Z] INFO: archiving workspace using pattern(s): [2021-05-03T06:15:12.418Z] Archives upload complete. [2021-05-03T06:15:12.418Z] INFO: archiving logs to Nexus