Pull request #81 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 99e6da9a436d818c790cb2a7860cf88a2bc87c7d+2bfdbb9be6a64d461ffb65b0ff1f908881de038e (d5f1c9b4095bab3a73c7ef42ecec880ff11ce54e) 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-81/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-81/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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2514 in /w/workspace/dgexfoundry_device-rest-go_PR-81 [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-81 # 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 2bfdbb9be6a64d461ffb65b0ff1f908881de038e into PR head commit 99e6da9a436d818c790cb2a7860cf88a2bc87c7d Merge succeeded, producing 99e6da9a436d818c790cb2a7860cf88a2bc87c7d Checking out Revision 99e6da9a436d818c790cb2a7860cf88a2bc87c7d (PR-81) > 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/81/head:refs/remotes/origin/PR-81 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 99e6da9a436d818c790cb2a7860cf88a2bc87c7d # 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 2bfdbb9be6a64d461ffb65b0ff1f908881de038e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 99e6da9a436d818c790cb2a7860cf88a2bc87c7d # timeout=10 Commit message: "fix: Add Type='vault' to [SecretStore] config" 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-04-30T20:49:47.062Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-30T20:49:47.280Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-30T20:49:47.405Z] ========================================================= [2021-04-30T20:49:47.405Z] EdgeX Global Pipelines Version Info [2021-04-30T20:49:47.405Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-30T20:49:49.639Z] ------------------- [2021-04-30T20:49:49.639Z] stable info: [2021-04-30T20:49:49.639Z] ------------------- [2021-04-30T20:49:49.639Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-30T20:49:49.639Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-04-30T20:49:49.639Z] Message: update stable to v1.0.191 [2021-04-30T20:49:50.217Z] ------------------- [2021-04-30T20:49:50.217Z] experimental info: [2021-04-30T20:49:50.217Z] ------------------- [2021-04-30T20:49:50.217Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-30T20:49:50.217Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-04-30T20:49:50.217Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-30T20:49:50.463Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-04-30T20:49:50.530Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-04-30T20:49:50.589Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-30T20:49:50.658Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-30T20:49:50.712Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-30T20:49:50.773Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-04-30T20:49:50.825Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-30T20:49:50.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-04-30T20:49:50.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-30T20:49:51.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-30T20:49:51.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-30T20:49:51.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-04-30T20:49:51.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-30T20:49:51.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-30T20:49:51.397Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-30T20:49:51.458Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-30T20:49:51.515Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-30T20:49:51.573Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-30T20:49:51.632Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-30T20:49:51.687Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-30T20:49:51.742Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-04-30T20:49:51.801Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-04-30T20:49:51.857Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-30T20:49:51.908Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-30T20:49:51.967Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-30T20:49:52.025Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-30T20:49:52.082Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-81 [Pipeline] echo [2021-04-30T20:49:52.138Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-81 [Pipeline] echo [2021-04-30T20:49:52.199Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-81 [Pipeline] echo [2021-04-30T20:49:52.252Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 99e6da9a436d818c790cb2a7860cf88a2bc87c7d [Pipeline] echo [2021-04-30T20:49:52.325Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 99e6da9 [Pipeline] echo [2021-04-30T20:49:52.400Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-30T20:49:52.551Z] provisioning config files... [2021-04-30T20:49:52.580Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-81@tmp/config199297370352881108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-30T20:49:52.974Z] ---> docker-login.sh [2021-04-30T20:49:52.974Z] nexus3.edgexfoundry.org:10001 [2021-04-30T20:49:53.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T20:49:53.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T20:49:53.523Z] Configure a credential helper to remove this warning. See [2021-04-30T20:49:53.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T20:49:53.523Z] [2021-04-30T20:49:53.523Z] Login Succeeded [2021-04-30T20:49:53.523Z] nexus3.edgexfoundry.org:10002 [2021-04-30T20:49:53.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T20:49:54.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T20:49:54.097Z] Configure a credential helper to remove this warning. See [2021-04-30T20:49:54.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T20:49:54.097Z] [2021-04-30T20:49:54.097Z] Login Succeeded [2021-04-30T20:49:54.097Z] nexus3.edgexfoundry.org:10003 [2021-04-30T20:49:54.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T20:49:54.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T20:49:54.369Z] Configure a credential helper to remove this warning. See [2021-04-30T20:49:54.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T20:49:54.369Z] [2021-04-30T20:49:54.369Z] Login Succeeded [2021-04-30T20:49:54.369Z] nexus3.edgexfoundry.org:10004 [2021-04-30T20:49:54.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T20:49:54.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T20:49:54.369Z] Configure a credential helper to remove this warning. See [2021-04-30T20:49:54.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T20:49:54.369Z] [2021-04-30T20:49:54.369Z] Login Succeeded [2021-04-30T20:49:54.369Z] docker.io [2021-04-30T20:49:54.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T20:49:54.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T20:49:54.906Z] Configure a credential helper to remove this warning. See [2021-04-30T20:49:54.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T20:49:54.906Z] [2021-04-30T20:49:54.906Z] Login Succeeded [2021-04-30T20:49:54.906Z] ---> docker-login.sh ends [Pipeline] } [2021-04-30T20:49:54.960Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-30T20:49:55.693Z] + git log --format=format:%s -1 99e6da9a436d818c790cb2a7860cf88a2bc87c7d [Pipeline] echo [2021-04-30T20:49:55.824Z] GIT_COMMIT: 99e6da9a436d818c790cb2a7860cf88a2bc87c7d, Commit Message: fix: Add Type='vault' to [SecretStore] config [Pipeline] echo [2021-04-30T20:49:55.860Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-30T20:49:56.839Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-30T20:49:56.839Z] [2021-04-30T20:49:56.839Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-30T20:49:57.205Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-30T20:49:57.205Z] latest: Pulling from edgex-devops/git-semver [2021-04-30T20:49:57.205Z] 31603596830f: Pulling fs layer [2021-04-30T20:49:57.205Z] 54011a49482f: Pulling fs layer [2021-04-30T20:49:57.205Z] a6820b24f6d8: Pulling fs layer [2021-04-30T20:49:57.205Z] f581987b2513: Pulling fs layer [2021-04-30T20:49:57.205Z] f581987b2513: Waiting [2021-04-30T20:49:57.205Z] 54011a49482f: Verifying Checksum [2021-04-30T20:49:57.205Z] 54011a49482f: Download complete [2021-04-30T20:49:57.477Z] 31603596830f: Verifying Checksum [2021-04-30T20:49:57.477Z] 31603596830f: Download complete [2021-04-30T20:49:57.477Z] a6820b24f6d8: Verifying Checksum [2021-04-30T20:49:57.477Z] a6820b24f6d8: Download complete [2021-04-30T20:49:57.477Z] f581987b2513: Verifying Checksum [2021-04-30T20:49:57.477Z] f581987b2513: Download complete [2021-04-30T20:49:57.742Z] 31603596830f: Pull complete [2021-04-30T20:49:58.010Z] 54011a49482f: Pull complete [2021-04-30T20:49:59.451Z] a6820b24f6d8: Pull complete [2021-04-30T20:49:59.451Z] f581987b2513: Pull complete [2021-04-30T20:49:59.716Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-04-30T20:49:59.716Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-30T20:49:59.716Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-30T20:49:59.926Z] prd-centos7-docker-4c-2g-2514 does not seem to be running inside a container [2021-04-30T20:49:59.995Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-81 -v /w/workspace/dgexfoundry_device-rest-go_PR-81:/w/workspace/dgexfoundry_device-rest-go_PR-81:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-81@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-30T20:50:02.101Z] $ docker top 66654b93da82d2792a791d82695d3e4690ddc3ca4c4d86273ec780980fbf7c4f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-30T20:50:02.437Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-30T20:50:02.437Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-30T20:50:02.787Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-30T20:50:02.795Z] $ docker exec 66654b93da82d2792a791d82695d3e4690ddc3ca4c4d86273ec780980fbf7c4f ssh-agent [2021-04-30T20:50:03.078Z] SSH_AUTH_SOCK=/tmp/ssh-majS3ez4cxGw/agent.11 [2021-04-30T20:50:03.078Z] SSH_AGENT_PID=16 [2021-04-30T20:50:03.094Z] Running ssh-add (command line suppressed) [2021-04-30T20:50:03.278Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-81@tmp/private_key_6662938713270100720.key (/w/workspace/dgexfoundry_device-rest-go_PR-81@tmp/private_key_6662938713270100720.key) [2021-04-30T20:50:03.367Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-30T20:50:03.732Z] + git tag --points-at HEAD [Pipeline] } [2021-04-30T20:50:03.766Z] $ docker exec --env ******** --env ******** 66654b93da82d2792a791d82695d3e4690ddc3ca4c4d86273ec780980fbf7c4f ssh-agent -k [2021-04-30T20:50:03.908Z] unset SSH_AUTH_SOCK; [2021-04-30T20:50:03.909Z] unset SSH_AGENT_PID; [2021-04-30T20:50:03.909Z] echo Agent pid 16 killed; [2021-04-30T20:50:03.977Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-30T20:50:04.068Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-30T20:50:04.068Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-30T20:50:04.337Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-30T20:50:04.345Z] $ docker exec 66654b93da82d2792a791d82695d3e4690ddc3ca4c4d86273ec780980fbf7c4f ssh-agent [2021-04-30T20:50:04.553Z] SSH_AUTH_SOCK=/tmp/ssh-QcI3oXeWIJVb/agent.46 [2021-04-30T20:50:04.553Z] SSH_AGENT_PID=51 [2021-04-30T20:50:04.562Z] Running ssh-add (command line suppressed) [2021-04-30T20:50:04.699Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-81@tmp/private_key_7096732032411792910.key (/w/workspace/dgexfoundry_device-rest-go_PR-81@tmp/private_key_7096732032411792910.key) [2021-04-30T20:50:04.755Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-30T20:50:05.117Z] + git semver init [2021-04-30T20:50:05.117Z] # -> Open(): unable to determine branch for HEAD [2021-04-30T20:50:05.117Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-81/.git [2021-04-30T20:50:05.117Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-81 [2021-04-30T20:50:05.117Z] # $SEMVER_REMOTE_NAME = origin [2021-04-30T20:50:05.117Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-30T20:50:05.117Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-30T20:50:05.117Z] # $SEMVER_BRANCH = PR-81 [2021-04-30T20:50:05.117Z] # $SEMVER_TEMP = /tmp/semver-826920834 [2021-04-30T20:50:05.117Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-04-30T20:50:07.704Z] # '/tmp/semver-826920834' -> '/w/workspace/dgexfoundry_device-rest-go_PR-81/.semver' [2021-04-30T20:50:07.971Z] # -> Force: false [2021-04-30T20:50:07.971Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-81/.semver [Pipeline] } [2021-04-30T20:50:07.998Z] $ docker exec --env ******** --env ******** 66654b93da82d2792a791d82695d3e4690ddc3ca4c4d86273ec780980fbf7c4f ssh-agent -k [2021-04-30T20:50:08.160Z] unset SSH_AUTH_SOCK; [2021-04-30T20:50:08.160Z] unset SSH_AGENT_PID; [2021-04-30T20:50:08.160Z] echo Agent pid 51 killed; [2021-04-30T20:50:08.228Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-30T20:50:08.668Z] + git semver [Pipeline] } [2021-04-30T20:50:08.701Z] $ docker stop --time=1 66654b93da82d2792a791d82695d3e4690ddc3ca4c4d86273ec780980fbf7c4f [2021-04-30T20:50:10.233Z] $ docker rm -f 66654b93da82d2792a791d82695d3e4690ddc3ca4c4d86273ec780980fbf7c4f [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-30T20:50:10.724Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-30T20:50:11.193Z] Stashed 1 file(s) [Pipeline] echo [2021-04-30T20:50:11.216Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-04-30T20:50:26.672Z] Still waiting to schedule task [2021-04-30T20:50:26.672Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2514’ [2021-04-30T20:50:26.697Z] Still waiting to schedule task [2021-04-30T20:50:26.697Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ is offline [2021-04-30T20:52:20.572Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2515 in /w/workspace/dgexfoundry_device-rest-go_PR-81 [Pipeline] { [Pipeline] ws [2021-04-30T20:52:20.630Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-04-30T20:52:26.384Z] using credential edgex-jenkins-ssh [2021-04-30T20:52:26.403Z] Cloning the remote Git repository [2021-04-30T20:52:26.469Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-04-30T20:52:26.567Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-04-30T20:52:26.678Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-30T20:52:26.678Z] > git --version # timeout=10 [2021-04-30T20:52:26.694Z] > git --version # 'git version 2.17.1' [2021-04-30T20:52:26.696Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-30T20:52:26.753Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-30T20:52:27.422Z] Running on prd-centos7-docker-4c-2g-2517 in /w/workspace/dgexfoundry_device-rest-go_PR-81 [Pipeline] { [Pipeline] ws [2021-04-30T20:52:27.480Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-04-30T20:52:28.246Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-30T20:52:28.271Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-30T20:52:28.311Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-30T20:52:28.345Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-30T20:52:28.346Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-30T20:52:28.361Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/81/head:refs/remotes/origin/PR-81 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-30T20:52:28.870Z] Merging remotes/origin/master commit 2bfdbb9be6a64d461ffb65b0ff1f908881de038e into PR head commit 99e6da9a436d818c790cb2a7860cf88a2bc87c7d [2021-04-30T20:52:29.065Z] Merge succeeded, producing 99e6da9a436d818c790cb2a7860cf88a2bc87c7d [2021-04-30T20:52:29.065Z] Checking out Revision 99e6da9a436d818c790cb2a7860cf88a2bc87c7d (PR-81) [2021-04-30T20:52:28.908Z] > git config core.sparsecheckout # timeout=10 [2021-04-30T20:52:28.924Z] > git checkout -f 99e6da9a436d818c790cb2a7860cf88a2bc87c7d # timeout=10 [2021-04-30T20:52:28.997Z] > git remote # timeout=10 [2021-04-30T20:52:29.013Z] > git config --get remote.origin.url # timeout=10 [2021-04-30T20:52:29.036Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-30T20:52:29.046Z] > git merge 2bfdbb9be6a64d461ffb65b0ff1f908881de038e # timeout=10 [2021-04-30T20:52:29.065Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-30T20:52:29.086Z] > git config core.sparsecheckout # timeout=10 [2021-04-30T20:52:29.108Z] > git checkout -f 99e6da9a436d818c790cb2a7860cf88a2bc87c7d # timeout=10 [2021-04-30T20:52:30.192Z] using credential edgex-jenkins-ssh [2021-04-30T20:52:30.207Z] Cloning the remote Git repository [2021-04-30T20:52:30.230Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-04-30T20:52:30.296Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-04-30T20:52:30.353Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-30T20:52:30.353Z] > git --version # timeout=10 [2021-04-30T20:52:30.359Z] > git --version # 'git version 2.24.3' [2021-04-30T20:52:30.360Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-30T20:52:30.395Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-30T20:52:31.832Z] Merging remotes/origin/master commit 2bfdbb9be6a64d461ffb65b0ff1f908881de038e into PR head commit 99e6da9a436d818c790cb2a7860cf88a2bc87c7d [2021-04-30T20:52:31.917Z] Merge succeeded, producing 99e6da9a436d818c790cb2a7860cf88a2bc87c7d [2021-04-30T20:52:31.918Z] Checking out Revision 99e6da9a436d818c790cb2a7860cf88a2bc87c7d (PR-81) [2021-04-30T20:52:31.333Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-30T20:52:31.339Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-30T20:52:31.357Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-04-30T20:52:31.374Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-04-30T20:52:31.375Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-30T20:52:31.381Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/81/head:refs/remotes/origin/PR-81 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-30T20:52:31.843Z] > git config core.sparsecheckout # timeout=10 [2021-04-30T20:52:31.849Z] > git checkout -f 99e6da9a436d818c790cb2a7860cf88a2bc87c7d # timeout=10 [2021-04-30T20:52:31.885Z] > git remote # timeout=10 [2021-04-30T20:52:31.891Z] > git config --get remote.origin.url # timeout=10 [2021-04-30T20:52:31.896Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-30T20:52:31.901Z] > git merge 2bfdbb9be6a64d461ffb65b0ff1f908881de038e # timeout=10 [2021-04-30T20:52:31.911Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-30T20:52:31.921Z] > git config core.sparsecheckout # timeout=10 [2021-04-30T20:52:31.930Z] > git checkout -f 99e6da9a436d818c790cb2a7860cf88a2bc87c7d # timeout=10 [2021-04-30T20:52:33.249Z] Commit message: "fix: Add Type='vault' to [SecretStore] config" [2021-04-30T20:52:33.350Z] > git --version # timeout=10 [2021-04-30T20:52:33.362Z] > git --version # 'git version 2.17.1' [2021-04-30T20:52:33.374Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-30T20:52:35.030Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-30T20:52:35.455Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-30T20:52:35.637Z] Commit message: "fix: Add Type='vault' to [SecretStore] config" [2021-04-30T20:52:35.664Z] > git --version # timeout=10 [2021-04-30T20:52:35.669Z] > git --version # 'git version 2.24.3' [2021-04-30T20:52:35.676Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-04-30T20:52:35.817Z] + true [2021-04-30T20:52:35.817Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-30T20:52:36.946Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-30T20:52:37.295Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-30T20:52:37.628Z] + sudo service docker restart [2021-04-30T20:52:37.628Z] + true [2021-04-30T20:52:37.628Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-30T20:52:37.895Z] provisioning config files... [2021-04-30T20:52:37.947Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config713089319628925615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-30T20:52:38.378Z] ---> docker-login.sh [2021-04-30T20:52:38.378Z] nexus3.edgexfoundry.org:10001 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-30T20:52:39.112Z] provisioning config files... [2021-04-30T20:52:39.140Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4798809792585998210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-30T20:52:39.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T20:52:39.514Z] ---> docker-login.sh [2021-04-30T20:52:39.514Z] nexus3.edgexfoundry.org:10001 [2021-04-30T20:52:39.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T20:52:39.637Z] Configure a credential helper to remove this warning. See [2021-04-30T20:52:39.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T20:52:39.637Z] [2021-04-30T20:52:39.637Z] Login Succeeded [2021-04-30T20:52:39.637Z] nexus3.edgexfoundry.org:10002 [2021-04-30T20:52:39.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T20:52:39.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T20:52:39.777Z] Configure a credential helper to remove this warning. See [2021-04-30T20:52:39.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T20:52:39.777Z] [2021-04-30T20:52:39.777Z] Login Succeeded [2021-04-30T20:52:39.777Z] nexus3.edgexfoundry.org:10002 [2021-04-30T20:52:39.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T20:52:40.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T20:52:40.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T20:52:40.047Z] Configure a credential helper to remove this warning. See [2021-04-30T20:52:40.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T20:52:40.047Z] [2021-04-30T20:52:40.047Z] Login Succeeded [2021-04-30T20:52:40.047Z] nexus3.edgexfoundry.org:10003 [2021-04-30T20:52:40.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T20:52:40.184Z] Configure a credential helper to remove this warning. See [2021-04-30T20:52:40.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T20:52:40.184Z] [2021-04-30T20:52:40.184Z] Login Succeeded [2021-04-30T20:52:40.184Z] nexus3.edgexfoundry.org:10003 [2021-04-30T20:52:40.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T20:52:40.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T20:52:40.311Z] Configure a credential helper to remove this warning. See [2021-04-30T20:52:40.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T20:52:40.311Z] [2021-04-30T20:52:40.311Z] Login Succeeded [2021-04-30T20:52:40.311Z] nexus3.edgexfoundry.org:10004 [2021-04-30T20:52:40.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T20:52:40.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T20:52:40.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T20:52:40.573Z] Configure a credential helper to remove this warning. See [2021-04-30T20:52:40.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T20:52:40.573Z] [2021-04-30T20:52:40.573Z] Login Succeeded [2021-04-30T20:52:40.574Z] docker.io [2021-04-30T20:52:40.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T20:52:40.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T20:52:40.737Z] Configure a credential helper to remove this warning. See [2021-04-30T20:52:40.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T20:52:40.737Z] [2021-04-30T20:52:40.737Z] Login Succeeded [2021-04-30T20:52:40.737Z] nexus3.edgexfoundry.org:10004 [2021-04-30T20:52:40.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T20:52:40.837Z] Configure a credential helper to remove this warning. See [2021-04-30T20:52:40.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T20:52:40.837Z] [2021-04-30T20:52:40.837Z] Login Succeeded [2021-04-30T20:52:40.837Z] ---> docker-login.sh ends [Pipeline] } [2021-04-30T20:52:40.864Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-04-30T20:52:41.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] echo [2021-04-30T20:52:41.154Z] ========================================================= [2021-04-30T20:52:41.154Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-04-30T20:52:41.154Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-30T20:52:41.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T20:52:41.288Z] Configure a credential helper to remove this warning. See [2021-04-30T20:52:41.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T20:52:41.288Z] [2021-04-30T20:52:41.288Z] Login Succeeded [2021-04-30T20:52:41.288Z] docker.io [2021-04-30T20:52:41.504Z] + 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-04-30T20:52:41.505Z] Sending build context to Docker daemon 93.18kB [2021-04-30T20:52:41.505Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-04-30T20:52:41.505Z] Step 2/10 : FROM ${BASE} [2021-04-30T20:52:41.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-30T20:52:41.767Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-30T20:52:41.767Z] 540db60ca938: Pulling fs layer [2021-04-30T20:52:41.767Z] adcc1eea9eea: Pulling fs layer [2021-04-30T20:52:41.767Z] 4c4ab2625f07: Pulling fs layer [2021-04-30T20:52:41.767Z] 0510c868ecb4: Pulling fs layer [2021-04-30T20:52:41.767Z] afea3b2eda06: Pulling fs layer [2021-04-30T20:52:41.767Z] 7809a108b3ef: Pulling fs layer [2021-04-30T20:52:41.767Z] f706445af74f: Pulling fs layer [2021-04-30T20:52:41.767Z] 0510c868ecb4: Waiting [2021-04-30T20:52:41.767Z] 7809a108b3ef: Waiting [2021-04-30T20:52:41.767Z] afea3b2eda06: Waiting [2021-04-30T20:52:41.767Z] f706445af74f: Waiting [2021-04-30T20:52:41.767Z] adcc1eea9eea: Verifying Checksum [2021-04-30T20:52:41.767Z] adcc1eea9eea: Download complete [2021-04-30T20:52:41.767Z] 4c4ab2625f07: Verifying Checksum [2021-04-30T20:52:41.767Z] 4c4ab2625f07: Download complete [2021-04-30T20:52:41.767Z] afea3b2eda06: Verifying Checksum [2021-04-30T20:52:41.767Z] afea3b2eda06: Download complete [2021-04-30T20:52:41.767Z] 540db60ca938: Verifying Checksum [2021-04-30T20:52:41.767Z] 540db60ca938: Download complete [2021-04-30T20:52:41.767Z] 7809a108b3ef: Download complete [2021-04-30T20:52:41.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-30T20:52:41.833Z] Configure a credential helper to remove this warning. See [2021-04-30T20:52:41.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-30T20:52:41.833Z] [2021-04-30T20:52:42.030Z] 540db60ca938: Pull complete [2021-04-30T20:52:42.107Z] Login Succeeded [2021-04-30T20:52:42.107Z] ---> docker-login.sh ends [Pipeline] } [2021-04-30T20:52:42.137Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-04-30T20:52:42.294Z] adcc1eea9eea: Pull complete [Pipeline] echo [2021-04-30T20:52:42.540Z] ========================================================= [2021-04-30T20:52:42.540Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-04-30T20:52:42.540Z] ========================================================= [2021-04-30T20:52:42.562Z] 4c4ab2625f07: Pull complete [Pipeline] isUnix [Pipeline] sh [2021-04-30T20:52:42.948Z] + 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-04-30T20:52:42.948Z] Sending build context to Docker daemon 93.18kB [2021-04-30T20:52:43.221Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-04-30T20:52:43.221Z] Step 2/10 : FROM ${BASE} [2021-04-30T20:52:43.493Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-30T20:52:43.493Z] 595b0fe564bb: Pulling fs layer [2021-04-30T20:52:43.493Z] 7186ed65a4f7: Pulling fs layer [2021-04-30T20:52:43.493Z] 316046926c0a: Pulling fs layer [2021-04-30T20:52:43.493Z] 4ebd0625c992: Pulling fs layer [2021-04-30T20:52:43.493Z] 207e8628e3a3: Pulling fs layer [2021-04-30T20:52:43.493Z] c791037a9be2: Pulling fs layer [2021-04-30T20:52:43.493Z] ffd874e62e21: Pulling fs layer [2021-04-30T20:52:43.493Z] 4ebd0625c992: Waiting [2021-04-30T20:52:43.493Z] ffd874e62e21: Waiting [2021-04-30T20:52:43.493Z] c791037a9be2: Waiting [2021-04-30T20:52:43.493Z] 207e8628e3a3: Waiting [2021-04-30T20:52:43.493Z] 316046926c0a: Download complete [2021-04-30T20:52:43.493Z] 7186ed65a4f7: Download complete [2021-04-30T20:52:43.493Z] 207e8628e3a3: Verifying Checksum [2021-04-30T20:52:43.493Z] 207e8628e3a3: Download complete [2021-04-30T20:52:43.493Z] c791037a9be2: Download complete [2021-04-30T20:52:43.775Z] 595b0fe564bb: Verifying Checksum [2021-04-30T20:52:43.775Z] 595b0fe564bb: Download complete [2021-04-30T20:52:44.379Z] 595b0fe564bb: Pull complete [2021-04-30T20:52:44.483Z] f706445af74f: Download complete [2021-04-30T20:52:44.657Z] 7186ed65a4f7: Pull complete [2021-04-30T20:52:45.258Z] 316046926c0a: Pull complete [2021-04-30T20:52:45.858Z] ffd874e62e21: Verifying Checksum [2021-04-30T20:52:45.858Z] ffd874e62e21: Download complete [2021-04-30T20:52:45.877Z] 0510c868ecb4: Verifying Checksum [2021-04-30T20:52:45.878Z] 0510c868ecb4: Download complete [2021-04-30T20:52:47.300Z] 4ebd0625c992: Verifying Checksum [2021-04-30T20:52:47.300Z] 4ebd0625c992: Download complete [2021-04-30T20:52:52.519Z] 0510c868ecb4: Pull complete [2021-04-30T20:52:52.519Z] afea3b2eda06: Pull complete [2021-04-30T20:52:52.519Z] 7809a108b3ef: Pull complete [2021-04-30T20:52:55.832Z] f706445af74f: Pull complete [2021-04-30T20:52:55.832Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-04-30T20:52:55.832Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-04-30T20:52:55.832Z] ---> b068be0155e3 [2021-04-30T20:52:55.832Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-30T20:52:56.783Z] ---> Running in 3de653e86347 [2021-04-30T20:52:56.783Z] Removing intermediate container 3de653e86347 [2021-04-30T20:52:56.783Z] ---> 01feee3d146f [2021-04-30T20:52:56.783Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-04-30T20:52:56.783Z] ---> Running in 8ccccf08e48f [2021-04-30T20:52:57.046Z] Removing intermediate container 8ccccf08e48f [2021-04-30T20:52:57.046Z] ---> 64d69a1be674 [2021-04-30T20:52:57.046Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-30T20:52:57.046Z] ---> Running in c10756607dad [2021-04-30T20:52:57.308Z] Removing intermediate container c10756607dad [2021-04-30T20:52:57.308Z] ---> a8b039f1ce8d [2021-04-30T20:52:57.308Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-30T20:52:57.308Z] ---> Running in 8592b80d3ae0 [2021-04-30T20:52:57.458Z] 4ebd0625c992: Pull complete [2021-04-30T20:52:57.458Z] 207e8628e3a3: Pull complete [2021-04-30T20:52:57.733Z] c791037a9be2: Pull complete [2021-04-30T20:52:59.230Z] Removing intermediate container 8592b80d3ae0 [2021-04-30T20:52:59.230Z] ---> a1711103f138 [2021-04-30T20:52:59.230Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-30T20:52:59.230Z] ---> Running in 7a56391a04b0 [2021-04-30T20:52:59.491Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-04-30T20:53:00.441Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-04-30T20:53:01.015Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-04-30T20:53:01.015Z] (2/9) Installing libsodium (1.0.18-r0) [2021-04-30T20:53:01.015Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-04-30T20:53:01.015Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-04-30T20:53:01.144Z] ffd874e62e21: Pull complete [2021-04-30T20:53:01.276Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-04-30T20:53:01.276Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-04-30T20:53:01.276Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-04-30T20:53:01.419Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-04-30T20:53:01.419Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-04-30T20:53:01.419Z] ---> cfc18b08335c [2021-04-30T20:53:01.419Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-30T20:53:01.541Z] (8/9) Installing libzmq (4.3.3-r1) [2021-04-30T20:53:01.809Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-04-30T20:53:01.809Z] Executing busybox-1.32.1-r6.trigger [2021-04-30T20:53:01.809Z] OK: 154 MiB in 49 packages [2021-04-30T20:53:02.764Z] Removing intermediate container 7a56391a04b0 [2021-04-30T20:53:02.764Z] ---> db165ba51e39 [2021-04-30T20:53:02.764Z] Step 8/10 : WORKDIR /device-rest-go [2021-04-30T20:53:02.764Z] ---> Running in ef2c290bc890 [2021-04-30T20:53:03.028Z] Removing intermediate container ef2c290bc890 [2021-04-30T20:53:03.028Z] ---> 3bf2ff9e9f4c [2021-04-30T20:53:03.028Z] Step 9/10 : COPY . . [2021-04-30T20:53:03.291Z] ---> ab17f89a6d2a [2021-04-30T20:53:03.292Z] Step 10/10 : RUN go mod download [2021-04-30T20:53:03.292Z] ---> Running in 64a9089b086f [2021-04-30T20:53:04.042Z] ---> Running in f9502db76d64 [2021-04-30T20:53:04.642Z] Removing intermediate container f9502db76d64 [2021-04-30T20:53:04.642Z] ---> 1fe8f835f88d [2021-04-30T20:53:04.642Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-04-30T20:53:04.642Z] ---> Running in 7e7d76d2a871 [2021-04-30T20:53:05.246Z] Removing intermediate container 7e7d76d2a871 [2021-04-30T20:53:05.246Z] ---> 6ba62b630bdc [2021-04-30T20:53:05.246Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-30T20:53:05.246Z] ---> Running in 38f48460ab0c [2021-04-30T20:53:05.845Z] Removing intermediate container 38f48460ab0c [2021-04-30T20:53:05.845Z] ---> 9e0d24f1e242 [2021-04-30T20:53:05.845Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-30T20:53:05.845Z] ---> Running in f0b9d4d1176f [2021-04-30T20:53:08.469Z] Removing intermediate container f0b9d4d1176f [2021-04-30T20:53:08.469Z] ---> ea49cb36a236 [2021-04-30T20:53:08.469Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-30T20:53:08.469Z] ---> Running in eb90f430af2a [2021-04-30T20:53:09.450Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-04-30T20:53:10.426Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-04-30T20:53:11.853Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-04-30T20:53:11.853Z] (2/9) Installing libsodium (1.0.18-r0) [2021-04-30T20:53:11.853Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-04-30T20:53:12.126Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-04-30T20:53:12.126Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-04-30T20:53:12.126Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-04-30T20:53:12.397Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-04-30T20:53:12.669Z] (8/9) Installing libzmq (4.3.3-r1) [2021-04-30T20:53:12.669Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-04-30T20:53:12.942Z] Executing busybox-1.32.1-r6.trigger [2021-04-30T20:53:12.942Z] OK: 144 MiB in 49 packages [2021-04-30T20:53:14.380Z] Removing intermediate container eb90f430af2a [2021-04-30T20:53:14.380Z] ---> 7aaced1fe0b7 [2021-04-30T20:53:14.380Z] Step 8/10 : WORKDIR /device-rest-go [2021-04-30T20:53:14.380Z] ---> Running in 17586b762573 [2021-04-30T20:53:14.974Z] Removing intermediate container 17586b762573 [2021-04-30T20:53:14.974Z] ---> 23ce05460f05 [2021-04-30T20:53:14.974Z] Step 9/10 : COPY . . [2021-04-30T20:53:15.568Z] ---> 11acd613d5a8 [2021-04-30T20:53:15.568Z] Step 10/10 : RUN go mod download [2021-04-30T20:53:15.841Z] ---> Running in 29f0672ef8b3 [2021-04-30T20:53:25.325Z] Removing intermediate container 64a9089b086f [2021-04-30T20:53:25.325Z] ---> 9b5de459e99d [2021-04-30T20:53:25.325Z] Successfully built 9b5de459e99d [2021-04-30T20:53:25.325Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-30T20:53:25.697Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-30T20:53:25.697Z] . [Pipeline] withDockerContainer [2021-04-30T20:53:25.840Z] prd-centos7-docker-4c-2g-2517 does not seem to be running inside a container [2021-04-30T20:53:25.885Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-30T20:53:26.722Z] $ docker top 97573a6a89b46fa7bd831fdc3bdadefca34e5ac48a362b7d1f8a0121351e8266 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-30T20:53:27.202Z] + go version [2021-04-30T20:53:27.202Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-04-30T20:53:27.235Z] $ docker stop --time=1 97573a6a89b46fa7bd831fdc3bdadefca34e5ac48a362b7d1f8a0121351e8266 [2021-04-30T20:53:28.582Z] $ docker rm -f 97573a6a89b46fa7bd831fdc3bdadefca34e5ac48a362b7d1f8a0121351e8266 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-30T20:53:29.328Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-30T20:53:29.328Z] . [Pipeline] withDockerContainer [2021-04-30T20:53:29.446Z] prd-centos7-docker-4c-2g-2517 does not seem to be running inside a container [2021-04-30T20:53:29.493Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-30T20:53:30.143Z] $ docker top eaf8e8f80567e27c39519063b21e252edc7bc7c0ab67c67d80beffdb9242b437 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-30T20:53:30.621Z] + go mod tidy [Pipeline] sh [2021-04-30T20:53:31.306Z] + make test [2021-04-30T20:53:31.307Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-04-30T20:53:32.449Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-04-30T20:53:42.637Z] Removing intermediate container 29f0672ef8b3 [2021-04-30T20:53:42.637Z] ---> 337987de6d04 [2021-04-30T20:53:42.637Z] Successfully built 337987de6d04 [2021-04-30T20:53:42.637Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-30T20:53:43.060Z] + docker inspect -f . ci-base-image-arm64 [2021-04-30T20:53:43.060Z] . [Pipeline] withDockerContainer [2021-04-30T20:53:43.335Z] prd-ubuntu18.04-docker-arm64-4c-16g-2515 does not seem to be running inside a container [2021-04-30T20:53:43.418Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-30T20:53:44.860Z] $ docker top 7b0cf4faf7f3c091501abba9dce92b7df8a8d2ab36448ebc86112483ac601192 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-30T20:53:45.894Z] + go version [2021-04-30T20:53:45.894Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-04-30T20:53:45.955Z] $ docker stop --time=1 7b0cf4faf7f3c091501abba9dce92b7df8a8d2ab36448ebc86112483ac601192 [2021-04-30T20:53:47.910Z] $ docker rm -f 7b0cf4faf7f3c091501abba9dce92b7df8a8d2ab36448ebc86112483ac601192 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-30T20:53:49.001Z] + docker inspect -f . ci-base-image-arm64 [2021-04-30T20:53:49.002Z] . [Pipeline] withDockerContainer [2021-04-30T20:53:49.295Z] prd-ubuntu18.04-docker-arm64-4c-16g-2515 does not seem to be running inside a container [2021-04-30T20:53:49.385Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-30T20:53:50.785Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-04-30T20:53:50.920Z] $ docker top 571419a6d85f53c4f5c535f620b10761b006f8f90e28558b8eda574d617ea307 -eo pid,comm [2021-04-30T20:53:51.047Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 54.0% of statements [Pipeline] { [Pipeline] sh [2021-04-30T20:53:51.310Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-30T20:53:51.949Z] + go mod tidy [Pipeline] sh [2021-04-30T20:53:53.267Z] + make test [2021-04-30T20:53:53.267Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-04-30T20:53:54.253Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-04-30T20:53:59.520Z] gofmt -l . [2021-04-30T20:53:59.520Z] [ "`gofmt -l .`" = "" ] [2021-04-30T20:53:59.520Z] ./bin/test-go-mod-tidy.sh [2021-04-30T20:53:59.520Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-04-30T20:54:00.531Z] $ docker stop --time=1 eaf8e8f80567e27c39519063b21e252edc7bc7c0ab67c67d80beffdb9242b437 [2021-04-30T20:54:02.388Z] $ docker rm -f eaf8e8f80567e27c39519063b21e252edc7bc7c0ab67c67d80beffdb9242b437 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-30T20:54:03.053Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-30T20:54:03.450Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-30T20:54:06.219Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-30T20:54:06.565Z] + ls -al . [2021-04-30T20:54:06.565Z] total 104 [2021-04-30T20:54:06.565Z] drwxrwxr-x. 8 jenkins jenkins 4096 Apr 30 20:54 . [2021-04-30T20:54:06.565Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 30 20:52 .. [2021-04-30T20:54:06.565Z] -rw-rw-r--. 1 jenkins jenkins 6792 Apr 30 20:52 Attribution.txt [2021-04-30T20:54:06.565Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 30 20:52 bin [2021-04-30T20:54:06.565Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 30 20:52 cmd [2021-04-30T20:54:06.565Z] -rw-r--r--. 1 jenkins jenkins 8513 Apr 30 20:53 coverage.out [2021-04-30T20:54:06.565Z] -rw-rw-r--. 1 jenkins jenkins 1602 Apr 30 20:52 Dockerfile [2021-04-30T20:54:06.565Z] -rw-rw-r--. 1 jenkins jenkins 1087 Apr 30 20:52 Dockerfile.build [2021-04-30T20:54:06.565Z] -rw-rw-r--. 1 jenkins jenkins 151 Apr 30 20:52 .dockerignore [2021-04-30T20:54:06.565Z] drwxrwxr-x. 2 jenkins jenkins 76 Apr 30 20:52 driver [2021-04-30T20:54:06.565Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 30 20:52 .git [2021-04-30T20:54:06.565Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 30 20:52 .github [2021-04-30T20:54:06.565Z] -rw-rw-r--. 1 jenkins jenkins 339 Apr 30 20:52 .gitignore [2021-04-30T20:54:06.565Z] -rw-r--r--. 1 jenkins jenkins 285 Apr 30 20:53 go.mod [2021-04-30T20:54:06.565Z] -rw-r--r--. 1 jenkins jenkins 21331 Apr 30 20:53 go.sum [2021-04-30T20:54:06.565Z] -rw-rw-r--. 1 jenkins jenkins 680 Apr 30 20:52 Jenkinsfile [2021-04-30T20:54:06.565Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 30 20:52 LICENSE [2021-04-30T20:54:06.565Z] -rw-rw-r--. 1 jenkins jenkins 996 Apr 30 20:52 Makefile [2021-04-30T20:54:06.565Z] -rw-rw-r--. 1 jenkins jenkins 7667 Apr 30 20:52 README.md [2021-04-30T20:54:06.565Z] drwxrwxr-x. 4 jenkins jenkins 71 Apr 30 20:52 snap [2021-04-30T20:54:06.565Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 30 20:50 VERSION [2021-04-30T20:54:06.565Z] -rw-rw-r--. 1 jenkins jenkins 713 Apr 30 20:52 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-30T20:54:06.958Z] + 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=99e6da9a436d818c790cb2a7860cf88a2bc87c7d --label arch=amd64 --label version=0.0.0 . [2021-04-30T20:54:06.958Z] Sending build context to Docker daemon 102.9kB [2021-04-30T20:54:06.958Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-04-30T20:54:06.958Z] Step 2/24 : FROM ${BASE} AS builder [2021-04-30T20:54:06.958Z] ---> 9b5de459e99d [2021-04-30T20:54:06.958Z] Step 3/24 : ARG MAKE='make build' [2021-04-30T20:54:07.220Z] ---> Running in 8d2658ad23ed [2021-04-30T20:54:07.483Z] Removing intermediate container 8d2658ad23ed [2021-04-30T20:54:07.483Z] ---> ba49a172d029 [2021-04-30T20:54:07.483Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-30T20:54:07.483Z] ---> Running in 4b9e7ec1c18d [2021-04-30T20:54:07.483Z] Removing intermediate container 4b9e7ec1c18d [2021-04-30T20:54:07.483Z] ---> 4aa18f770bfc [2021-04-30T20:54:07.483Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-04-30T20:54:07.751Z] ---> Running in a8d8c8db6543 [2021-04-30T20:54:07.751Z] Removing intermediate container a8d8c8db6543 [2021-04-30T20:54:07.751Z] ---> b9883ddc4431 [2021-04-30T20:54:07.751Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-30T20:54:08.016Z] ---> Running in 73a9ffea01c3 [2021-04-30T20:54:08.970Z] Removing intermediate container 73a9ffea01c3 [2021-04-30T20:54:08.971Z] ---> cdc3dcfc0c6c [2021-04-30T20:54:08.971Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-30T20:54:08.971Z] ---> Running in fa7a8d618ed6 [2021-04-30T20:54:09.233Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-04-30T20:54:10.182Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-04-30T20:54:11.577Z] OK: 154 MiB in 49 packages [2021-04-30T20:54:11.577Z] Removing intermediate container fa7a8d618ed6 [2021-04-30T20:54:11.577Z] ---> a25bd8a2cc71 [2021-04-30T20:54:11.577Z] Step 8/24 : WORKDIR /device-rest-go [2021-04-30T20:54:11.848Z] ---> Running in a6b8a367662c [2021-04-30T20:54:11.848Z] Removing intermediate container a6b8a367662c [2021-04-30T20:54:11.848Z] ---> a647557a10d1 [2021-04-30T20:54:11.848Z] Step 9/24 : COPY . . [2021-04-30T20:54:12.113Z] ---> 4ac24ab7b859 [2021-04-30T20:54:12.113Z] Step 10/24 : RUN make update [2021-04-30T20:54:12.380Z] ---> Running in 9ac96b6be904 [2021-04-30T20:54:12.665Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-04-30T20:54:13.251Z] Removing intermediate container 9ac96b6be904 [2021-04-30T20:54:13.251Z] ---> 6eaf4eda82ad [2021-04-30T20:54:13.251Z] Step 11/24 : RUN $MAKE [2021-04-30T20:54:13.251Z] ---> Running in c796e5db48fe [2021-04-30T20:54:13.854Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2021-04-30T20:54:28.948Z] Removing intermediate container c796e5db48fe [2021-04-30T20:54:28.948Z] ---> 49836ee5c372 [2021-04-30T20:54:28.948Z] Step 12/24 : FROM alpine:3.12 [2021-04-30T20:54:28.948Z] 3.12: Pulling from library/alpine [2021-04-30T20:54:28.948Z] 339de151aab4: Pulling fs layer [2021-04-30T20:54:28.948Z] 339de151aab4: Verifying Checksum [2021-04-30T20:54:28.948Z] 339de151aab4: Download complete [2021-04-30T20:54:28.948Z] 339de151aab4: Pull complete [2021-04-30T20:54:28.948Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-30T20:54:28.948Z] Status: Downloaded newer image for alpine:3.12 [2021-04-30T20:54:28.948Z] ---> 13621d1b12d4 [2021-04-30T20:54:28.948Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-30T20:54:28.949Z] ---> Running in fe1a4d9e7cc3 [2021-04-30T20:54:28.949Z] Removing intermediate container fe1a4d9e7cc3 [2021-04-30T20:54:28.949Z] ---> f48c0f481c21 [2021-04-30T20:54:28.949Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-04-30T20:54:28.949Z] ---> Running in 641ce15cc4e7 [2021-04-30T20:54:28.949Z] Removing intermediate container 641ce15cc4e7 [2021-04-30T20:54:28.949Z] ---> 52c856f06fe7 [2021-04-30T20:54:28.949Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-30T20:54:28.949Z] ---> Running in 255d33cde139 [2021-04-30T20:54:29.217Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-30T20:54:29.217Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-30T20:54:29.479Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-30T20:54:29.479Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-30T20:54:29.479Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-30T20:54:29.479Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-30T20:54:29.479Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-30T20:54:29.479Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-30T20:54:29.479Z] Executing busybox-1.31.1-r20.trigger [2021-04-30T20:54:29.479Z] OK: 8 MiB in 20 packages [2021-04-30T20:54:30.054Z] Removing intermediate container 255d33cde139 [2021-04-30T20:54:30.054Z] ---> 9d59cbd99f41 [2021-04-30T20:54:30.054Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-04-30T20:54:30.629Z] ---> 8d5cf148d4aa [2021-04-30T20:54:30.629Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-04-30T20:54:30.892Z] ---> c97e5871c941 [2021-04-30T20:54:30.892Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-04-30T20:54:31.154Z] ---> b5d206c62d7f [2021-04-30T20:54:31.154Z] Step 19/24 : EXPOSE 49986 [2021-04-30T20:54:31.154Z] ---> Running in 4a64ae7a0697 [2021-04-30T20:54:31.417Z] Removing intermediate container 4a64ae7a0697 [2021-04-30T20:54:31.417Z] ---> 9b2cf22e40f7 [2021-04-30T20:54:31.417Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-04-30T20:54:31.417Z] ---> Running in cc6c4c6e4393 [2021-04-30T20:54:31.679Z] Removing intermediate container cc6c4c6e4393 [2021-04-30T20:54:31.679Z] ---> 45ca03392721 [2021-04-30T20:54:31.680Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-04-30T20:54:31.680Z] ---> Running in 1ec4893ddc83 [2021-04-30T20:54:31.942Z] Removing intermediate container 1ec4893ddc83 [2021-04-30T20:54:31.942Z] ---> bec7906165cf [2021-04-30T20:54:31.942Z] Step 22/24 : LABEL arch=amd64 [2021-04-30T20:54:31.942Z] ---> Running in ad4c4d23276e [2021-04-30T20:54:32.204Z] Removing intermediate container ad4c4d23276e [2021-04-30T20:54:32.204Z] ---> 8a4dd7eea81d [2021-04-30T20:54:32.204Z] Step 23/24 : LABEL git_sha=99e6da9a436d818c790cb2a7860cf88a2bc87c7d [2021-04-30T20:54:32.204Z] ---> Running in 79a1083776b1 [2021-04-30T20:54:32.205Z] Removing intermediate container 79a1083776b1 [2021-04-30T20:54:32.205Z] ---> 75247481952e [2021-04-30T20:54:32.205Z] Step 24/24 : LABEL version=0.0.0 [2021-04-30T20:54:32.466Z] ---> Running in 4882753d7be1 [2021-04-30T20:54:32.466Z] Removing intermediate container 4882753d7be1 [2021-04-30T20:54:32.466Z] ---> d509dc1d1ab4 [2021-04-30T20:54:32.466Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-30T20:54:32.466Z] Successfully built d509dc1d1ab4 [2021-04-30T20:54:32.466Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-30T20:54:33.699Z] ---> job-cost.sh [2021-04-30T20:54:33.699Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-lXkv [2021-04-30T20:54:48.639Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-30T20:54:50.832Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-04-30T20:54:50.832Z] ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 54.0% of statements [2021-04-30T20:54:50.832Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-30T20:55:13.027Z] gofmt -l . [2021-04-30T20:55:13.027Z] [ "`gofmt -l .`" = "" ] [2021-04-30T20:55:13.027Z] ./bin/test-go-mod-tidy.sh [2021-04-30T20:55:13.027Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-04-30T20:55:13.666Z] $ docker stop --time=1 571419a6d85f53c4f5c535f620b10761b006f8f90e28558b8eda574d617ea307 [2021-04-30T20:55:15.298Z] lf-activate-venv(): INFO: Adding /tmp/venv-lXkv/bin to PATH [2021-04-30T20:55:15.298Z] INFO: No Stack... [2021-04-30T20:55:15.560Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-30T20:55:15.833Z] $ docker rm -f 571419a6d85f53c4f5c535f620b10761b006f8f90e28558b8eda574d617ea307 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-30T20:55:16.510Z] INFO: Archiving Costs [Pipeline] sh [2021-04-30T20:55:16.717Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-30T20:55:16.764Z] Warning: overwriting stash ‘coverage-report’ [2021-04-30T20:55:16.846Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-04-30T20:55:16.847Z] + cut -d, -f6 [Pipeline] lock [2021-04-30T20:55:16.960Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-81-1-stack-cost] [2021-04-30T20:55:16.967Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-81-1-stack-cost] did not exist. Created. [2021-04-30T20:55:16.967Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-81-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-30T20:55:17.237Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-04-30T20:55:17.397Z] + echo total: 0.029999999329447746 [Pipeline] stage [Pipeline] { (Build) [Pipeline] stash [Pipeline] script [Pipeline] { [2021-04-30T20:55:17.606Z] Stashed 1 file(s) [Pipeline] sh [Pipeline] } [2021-04-30T20:55:17.738Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-81-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-04-30T20:55:17.943Z] + sudo chown -R jenkins:jenkins . [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-04-30T20:55:18.347Z] + ls -al . [2021-04-30T20:55:18.347Z] total 132 [2021-04-30T20:55:18.347Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 30 20:55 . [2021-04-30T20:55:18.347Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 30 20:52 .. [2021-04-30T20:55:18.347Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 30 20:52 .dockerignore [2021-04-30T20:55:18.347Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 30 20:52 .git [2021-04-30T20:55:18.347Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 30 20:52 .github [2021-04-30T20:55:18.347Z] -rw-rw-r-- 1 jenkins jenkins 339 Apr 30 20:52 .gitignore [2021-04-30T20:55:18.347Z] -rw-rw-r-- 1 jenkins jenkins 6792 Apr 30 20:52 Attribution.txt [2021-04-30T20:55:18.347Z] -rw-rw-r-- 1 jenkins jenkins 1602 Apr 30 20:52 Dockerfile [2021-04-30T20:55:18.347Z] -rw-rw-r-- 1 jenkins jenkins 1087 Apr 30 20:52 Dockerfile.build [2021-04-30T20:55:18.347Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 30 20:52 Jenkinsfile [2021-04-30T20:55:18.347Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 30 20:52 LICENSE [2021-04-30T20:55:18.347Z] -rw-rw-r-- 1 jenkins jenkins 996 Apr 30 20:52 Makefile [2021-04-30T20:55:18.347Z] -rw-rw-r-- 1 jenkins jenkins 7667 Apr 30 20:52 README.md [2021-04-30T20:55:18.347Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 30 20:50 VERSION [2021-04-30T20:55:18.347Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 30 20:52 bin [2021-04-30T20:55:18.347Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 30 20:52 cmd [2021-04-30T20:55:18.347Z] -rw-r--r-- 1 jenkins jenkins 8513 Apr 30 20:54 coverage.out [2021-04-30T20:55:18.347Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 30 20:52 driver [2021-04-30T20:55:18.347Z] -rw-r--r-- 1 jenkins jenkins 285 Apr 30 20:55 go.mod [2021-04-30T20:55:18.347Z] -rw-r--r-- 1 jenkins jenkins 21331 Apr 30 20:53 go.sum [2021-04-30T20:55:18.347Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 30 20:52 snap [2021-04-30T20:55:18.347Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 30 20:52 version.go [Pipeline] // stage [Pipeline] } [Pipeline] isUnix [Pipeline] sh [2021-04-30T20:55:18.781Z] + 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=99e6da9a436d818c790cb2a7860cf88a2bc87c7d --label arch=arm64 --label version=0.0.0 . [2021-04-30T20:55:18.781Z] Sending build context to Docker daemon 102.9kB [2021-04-30T20:55:19.052Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-04-30T20:55:19.053Z] Step 2/24 : FROM ${BASE} AS builder [2021-04-30T20:55:19.053Z] ---> 337987de6d04 [2021-04-30T20:55:19.053Z] Step 3/24 : ARG MAKE='make build' [2021-04-30T20:55:19.326Z] ---> Running in aa183204c882 [2021-04-30T20:55:19.920Z] Removing intermediate container aa183204c882 [2021-04-30T20:55:19.920Z] ---> 2cdf4f7b972d [2021-04-30T20:55:19.920Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-30T20:55:19.920Z] ---> Running in 4114df49c76a [2021-04-30T20:55:20.193Z] Removing intermediate container 4114df49c76a [2021-04-30T20:55:20.193Z] ---> 191af1a674e8 [2021-04-30T20:55:20.193Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-04-30T20:55:20.470Z] ---> Running in 1e14846a4660 [2021-04-30T20:55:21.063Z] Removing intermediate container 1e14846a4660 [2021-04-30T20:55:21.063Z] ---> 83b36f403e4a [2021-04-30T20:55:21.063Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-30T20:55:21.063Z] ---> Running in 6f6a5e32e9b0 [2021-04-30T20:55:23.031Z] Removing intermediate container 6f6a5e32e9b0 [2021-04-30T20:55:23.031Z] ---> 8503fe721f86 [2021-04-30T20:55:23.031Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-30T20:55:23.305Z] ---> Running in 2c52471c7bfb [2021-04-30T20:55:24.288Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-04-30T20:55:26.254Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-04-30T20:55:27.677Z] OK: 144 MiB in 49 packages [2021-04-30T20:55:29.107Z] Removing intermediate container 2c52471c7bfb [2021-04-30T20:55:29.107Z] ---> 3d85d49e4e61 [2021-04-30T20:55:29.107Z] Step 8/24 : WORKDIR /device-rest-go [2021-04-30T20:55:29.107Z] ---> Running in fcc650de15bd [2021-04-30T20:55:29.702Z] Removing intermediate container fcc650de15bd [2021-04-30T20:55:29.702Z] ---> b606455a0772 [2021-04-30T20:55:29.702Z] Step 9/24 : COPY . . [2021-04-30T20:55:30.298Z] ---> a9580607050b [2021-04-30T20:55:30.298Z] Step 10/24 : RUN make update [2021-04-30T20:55:30.570Z] ---> Running in fccbec013b38 [2021-04-30T20:55:31.561Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-04-30T20:55:32.544Z] Removing intermediate container fccbec013b38 [2021-04-30T20:55:32.544Z] ---> 380b0da8c493 [2021-04-30T20:55:32.544Z] Step 11/24 : RUN $MAKE [2021-04-30T20:55:32.825Z] ---> Running in a5870131177c [2021-04-30T20:55:33.800Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2021-04-30T20:56:12.802Z] Removing intermediate container a5870131177c [2021-04-30T20:56:12.802Z] ---> 2709e685eab5 [2021-04-30T20:56:12.802Z] Step 12/24 : FROM alpine:3.12 [2021-04-30T20:56:12.802Z] 3.12: Pulling from library/alpine [2021-04-30T20:56:12.802Z] d2f70382dc9a: Pulling fs layer [2021-04-30T20:56:12.802Z] d2f70382dc9a: Verifying Checksum [2021-04-30T20:56:12.802Z] d2f70382dc9a: Download complete [2021-04-30T20:56:12.802Z] d2f70382dc9a: Pull complete [2021-04-30T20:56:12.802Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-30T20:56:12.802Z] Status: Downloaded newer image for alpine:3.12 [2021-04-30T20:56:12.802Z] ---> 9852663dfa18 [2021-04-30T20:56:12.802Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-30T20:56:12.802Z] ---> Running in 9d866c6b16d1 [2021-04-30T20:56:12.802Z] Removing intermediate container 9d866c6b16d1 [2021-04-30T20:56:12.802Z] ---> 7436a59a69bf [2021-04-30T20:56:12.802Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-04-30T20:56:12.802Z] ---> Running in 2538c6e9b792 [2021-04-30T20:56:12.802Z] Removing intermediate container 2538c6e9b792 [2021-04-30T20:56:12.802Z] ---> 1ef9527c95ab [2021-04-30T20:56:12.802Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-30T20:56:12.802Z] ---> Running in dfd5397acf10 [2021-04-30T20:56:13.073Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-30T20:56:13.361Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-30T20:56:13.986Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-30T20:56:13.986Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-30T20:56:13.986Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-30T20:56:13.986Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-30T20:56:13.986Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-30T20:56:13.986Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-30T20:56:13.986Z] Executing busybox-1.31.1-r20.trigger [2021-04-30T20:56:13.986Z] OK: 8 MiB in 20 packages [2021-04-30T20:56:15.523Z] Removing intermediate container dfd5397acf10 [2021-04-30T20:56:15.524Z] ---> bd07a9908289 [2021-04-30T20:56:15.524Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-04-30T20:56:16.585Z] ---> 690e82c791e4 [2021-04-30T20:56:16.585Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-04-30T20:56:17.227Z] ---> 362893df0235 [2021-04-30T20:56:17.227Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-04-30T20:56:18.209Z] ---> 497bdd9df4e2 [2021-04-30T20:56:18.209Z] Step 19/24 : EXPOSE 49986 [2021-04-30T20:56:18.209Z] ---> Running in ff1f1196a467 [2021-04-30T20:56:18.480Z] Removing intermediate container ff1f1196a467 [2021-04-30T20:56:18.480Z] ---> 2edd5ce13897 [2021-04-30T20:56:18.480Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-04-30T20:56:18.754Z] ---> Running in 288ffd8115a0 [2021-04-30T20:56:19.029Z] Removing intermediate container 288ffd8115a0 [2021-04-30T20:56:19.030Z] ---> 0aef3663d290 [2021-04-30T20:56:19.030Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-04-30T20:56:19.303Z] ---> Running in 7f2af1bb32af [2021-04-30T20:56:19.908Z] Removing intermediate container 7f2af1bb32af [2021-04-30T20:56:19.908Z] ---> ee340430d45e [2021-04-30T20:56:19.908Z] Step 22/24 : LABEL arch=arm64 [2021-04-30T20:56:19.908Z] ---> Running in c13f9302926c [2021-04-30T20:56:20.523Z] Removing intermediate container c13f9302926c [2021-04-30T20:56:20.523Z] ---> 6944b35523a7 [2021-04-30T20:56:20.523Z] Step 23/24 : LABEL git_sha=99e6da9a436d818c790cb2a7860cf88a2bc87c7d [2021-04-30T20:56:20.523Z] ---> Running in 063013f5c05f [2021-04-30T20:56:20.801Z] Removing intermediate container 063013f5c05f [2021-04-30T20:56:20.801Z] ---> 89d9f413ae3b [2021-04-30T20:56:20.801Z] Step 24/24 : LABEL version=0.0.0 [2021-04-30T20:56:21.078Z] ---> Running in ac52ef8f55ed [2021-04-30T20:56:21.677Z] Removing intermediate container ac52ef8f55ed [2021-04-30T20:56:21.677Z] ---> c6f090bb7740 [2021-04-30T20:56:21.677Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-30T20:56:21.677Z] Successfully built c6f090bb7740 [2021-04-30T20:56:21.677Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-30T20:56:22.374Z] ---> job-cost.sh [2021-04-30T20:56:22.374Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-PcDy [2021-04-30T20:57:01.453Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-30T20:58:23.510Z] lf-activate-venv(): INFO: Adding /tmp/venv-PcDy/bin to PATH [2021-04-30T20:58:23.510Z] INFO: No Stack... [2021-04-30T20:58:23.510Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-30T20:58:23.510Z] INFO: Archiving Costs [Pipeline] sh [2021-04-30T20:58:23.922Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv+ [2021-04-30T20:58:23.923Z] cut -d, -f6 [Pipeline] lock [2021-04-30T20:58:24.105Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-81-1-stack-cost] [2021-04-30T20:58:24.112Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-81-1-stack-cost] did not exist. Created. [2021-04-30T20:58:24.113Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-81-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-30T20:58:24.623Z] /w/workspace/device-rest-go/1@tmp/durable-db30a82e/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-db30a82e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-30T20:58:25.018Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-30T20:58:25.074Z] Warning: overwriting stash ‘stack-cost’ [2021-04-30T20:58:25.236Z] Stashed 1 file(s) [Pipeline] } [2021-04-30T20:58:25.254Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-81-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-04-30T20:58:26.345Z] provisioning config files... [2021-04-30T20:58:26.366Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-81@tmp/config3219914024579547176tmp [Pipeline] { [Pipeline] sh [2021-04-30T20:58:26.781Z] + set +x [2021-04-30T20:58:26.781Z] + curl -s https://codecov.io/bash [2021-04-30T20:58:26.781Z] + bash -s -- [2021-04-30T20:58:27.381Z] [2021-04-30T20:58:27.381Z] _____ _ [2021-04-30T20:58:27.381Z] / ____| | | [2021-04-30T20:58:27.381Z] | | ___ __| | ___ ___ _____ __ [2021-04-30T20:58:27.381Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-30T20:58:27.381Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-30T20:58:27.381Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-30T20:58:27.381Z] Bash-1.0.2 [2021-04-30T20:58:27.381Z] [2021-04-30T20:58:27.381Z] [2021-04-30T20:58:27.381Z] ==> git version 2.24.3 found [2021-04-30T20:58:27.381Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-04-30T20:58:27.381Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-30T20:58:27.381Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-30T20:58:27.381Z] ==> Jenkins CI detected. [2021-04-30T20:58:27.381Z] project root: . [2021-04-30T20:58:27.381Z] --> token set from env [2021-04-30T20:58:27.381Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-30T20:58:27.381Z] ==> Running gcov in . (disable via -X gcov) [2021-04-30T20:58:27.381Z] ==> Python coveragepy not found [2021-04-30T20:58:27.381Z] ==> Searching for coverage reports in: [2021-04-30T20:58:27.381Z] + . [2021-04-30T20:58:27.381Z] -> Found 1 reports [2021-04-30T20:58:27.381Z] ==> Detecting git/mercurial file structure [2021-04-30T20:58:27.381Z] ==> Reading reports [2021-04-30T20:58:27.381Z] + ./coverage.out bytes=8513 [2021-04-30T20:58:27.381Z] ==> Appending adjustments [2021-04-30T20:58:27.381Z] https://docs.codecov.io/docs/fixing-reports [2021-04-30T20:58:27.381Z] + Found adjustments [2021-04-30T20:58:27.381Z] ==> Gzipping contents [2021-04-30T20:58:27.381Z] 4.0K /tmp/codecov.W0wao5.gz [2021-04-30T20:58:27.381Z] ==> Uploading reports [2021-04-30T20:58:27.381Z] url: https://codecov.io [2021-04-30T20:58:27.381Z] query: branch=PR-81&commit=99e6da9a436d818c790cb2a7860cf88a2bc87c7d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-81%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=81&job=&cmd_args= [2021-04-30T20:58:27.381Z] -> Pinging Codecov [2021-04-30T20:58:27.381Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-81&commit=99e6da9a436d818c790cb2a7860cf88a2bc87c7d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-81%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=81&job=&cmd_args= [2021-04-30T20:58:28.353Z] -> Uploading to [2021-04-30T20:58:28.353Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-30/4E5D53B4F1F92C436F7061BF334D961C/99e6da9a436d818c790cb2a7860cf88a2bc87c7d/bc12d056-a7a6-4263-9a99-ab2df9476ffd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210430%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210430T205827Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5fb8eecb5765980a346f79089a6524449aeb87286de958182d13a23dbc2e4651 [2021-04-30T20:58:28.353Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-30T20:58:28.353Z] Dload Upload Total Spent Left Speed [2021-04-30T20:58:28.831Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1622 0 0 100 1622 0 4232 --:--:-- --:--:-- --:--:-- 4234 [2021-04-30T20:58:28.831Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/99e6da9a436d818c790cb2a7860cf88a2bc87c7d [Pipeline] } [2021-04-30T20:58:28.860Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-04-30T20:58:30.992Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T20:58:31.734Z] ---> package-listing.sh [2021-04-30T20:58:31.734Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-30T20:58:31.734Z] ++ facter osfamily [2021-04-30T20:58:31.734Z] + OS_FAMILY=redhat [2021-04-30T20:58:31.734Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-81 [2021-04-30T20:58:31.734Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-30T20:58:31.734Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-30T20:58:31.734Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-30T20:58:31.734Z] + PACKAGES=/tmp/packages_start.txt [2021-04-30T20:58:31.734Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-81 ']' [2021-04-30T20:58:31.734Z] + PACKAGES=/tmp/packages_end.txt [2021-04-30T20:58:31.734Z] + case "${OS_FAMILY}" in [2021-04-30T20:58:31.734Z] + rpm -qa [2021-04-30T20:58:31.734Z] + sort [2021-04-30T20:58:37.165Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-30T20:58:37.165Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-30T20:58:37.165Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-30T20:58:37.165Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-81 ']' [2021-04-30T20:58:37.165Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-81/archives/ [2021-04-30T20:58:37.165Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-81/archives/ [Pipeline] echo [2021-04-30T20:58:37.213Z] 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-81/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-30T20:58:37.608Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-30T20:58:38.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-30T20:58:38.012Z] [2021-04-30T20:58:38.012Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-30T20:58:38.399Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-30T20:58:38.399Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-30T20:58:38.399Z] df20fa9351a1: Pulling fs layer [2021-04-30T20:58:38.399Z] 36b3adc4ff6f: Pulling fs layer [2021-04-30T20:58:38.399Z] 8ad3a11d3b57: Pulling fs layer [2021-04-30T20:58:38.399Z] 46f8f816bc3b: Pulling fs layer [2021-04-30T20:58:38.399Z] 93b61091891f: Pulling fs layer [2021-04-30T20:58:38.399Z] 93b9cdb0e59b: Pulling fs layer [2021-04-30T20:58:38.399Z] 5e14af77c1be: Pulling fs layer [2021-04-30T20:58:38.399Z] 01666e4c0597: Pulling fs layer [2021-04-30T20:58:38.399Z] aa168da1d23b: Pulling fs layer [2021-04-30T20:58:38.399Z] 46f8f816bc3b: Waiting [2021-04-30T20:58:38.399Z] 01666e4c0597: Waiting [2021-04-30T20:58:38.400Z] 93b61091891f: Waiting [2021-04-30T20:58:38.400Z] aa168da1d23b: Waiting [2021-04-30T20:58:38.400Z] 93b9cdb0e59b: Waiting [2021-04-30T20:58:38.400Z] 5e14af77c1be: Waiting [2021-04-30T20:58:38.400Z] 36b3adc4ff6f: Verifying Checksum [2021-04-30T20:58:38.400Z] 36b3adc4ff6f: Download complete [2021-04-30T20:58:38.400Z] 46f8f816bc3b: Verifying Checksum [2021-04-30T20:58:38.400Z] 46f8f816bc3b: Download complete [2021-04-30T20:58:38.673Z] df20fa9351a1: Verifying Checksum [2021-04-30T20:58:38.673Z] 93b9cdb0e59b: Verifying Checksum [2021-04-30T20:58:38.673Z] 93b9cdb0e59b: Download complete [2021-04-30T20:58:38.673Z] 5e14af77c1be: Verifying Checksum [2021-04-30T20:58:38.673Z] 5e14af77c1be: Download complete [2021-04-30T20:58:38.673Z] 01666e4c0597: Verifying Checksum [2021-04-30T20:58:38.673Z] 01666e4c0597: Download complete [2021-04-30T20:58:38.673Z] 93b61091891f: Verifying Checksum [2021-04-30T20:58:38.673Z] 93b61091891f: Download complete [2021-04-30T20:58:38.944Z] df20fa9351a1: Pull complete [2021-04-30T20:58:39.215Z] 36b3adc4ff6f: Pull complete [2021-04-30T20:58:39.521Z] 8ad3a11d3b57: Verifying Checksum [2021-04-30T20:58:39.521Z] 8ad3a11d3b57: Download complete [2021-04-30T20:58:40.166Z] 8ad3a11d3b57: Pull complete [2021-04-30T20:58:40.460Z] 46f8f816bc3b: Pull complete [2021-04-30T20:58:41.079Z] 93b61091891f: Pull complete [2021-04-30T20:58:41.079Z] 93b9cdb0e59b: Pull complete [2021-04-30T20:58:41.370Z] 5e14af77c1be: Pull complete [2021-04-30T20:58:41.370Z] 01666e4c0597: Pull complete [2021-04-30T20:58:43.413Z] aa168da1d23b: Verifying Checksum [2021-04-30T20:58:43.413Z] aa168da1d23b: Download complete [2021-04-30T20:58:51.661Z] aa168da1d23b: Pull complete [2021-04-30T20:58:51.661Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-30T20:58:51.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-30T20:58:51.661Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-30T20:58:51.926Z] prd-centos7-docker-4c-2g-2514 does not seem to be running inside a container [2021-04-30T20:58:52.028Z] $ 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-81/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-81 -v /w/workspace/dgexfoundry_device-rest-go_PR-81:/w/workspace/dgexfoundry_device-rest-go_PR-81:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-81@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-30T20:58:54.751Z] $ docker top 99babd5123e1463127163533ba4f0c59d69e64ab52f697b80195a4700d1c3f57 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-30T20:58:55.270Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-30T20:58:55.592Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-30T20:58:55.930Z] + ls /var/log/sa-host [2021-04-30T20:58:55.930Z] + sadf -c /var/log/sa-host/sa23 [2021-04-30T20:58:55.930Z] file_magic: OK [2021-04-30T20:58:55.930Z] HZ: Using current value: 100 [2021-04-30T20:58:55.930Z] file_header: OK [2021-04-30T20:58:55.930Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-30T20:58:55.930Z] Statistics: [2021-04-30T20:58:55.930Z] Hnuu...uuuununununu... [2021-04-30T20:58:55.930Z] File successfully converted to sysstat format version 12.2.1 [2021-04-30T20:58:55.930Z] + sadf -c /var/log/sa-host/sa30 [2021-04-30T20:58:55.930Z] file_magic: OK [2021-04-30T20:58:55.930Z] HZ: Using current value: 100 [2021-04-30T20:58:55.930Z] file_header: OK [2021-04-30T20:58:55.930Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-30T20:58:55.930Z] Statistics: [2021-04-30T20:58:55.930Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-30T20:58:55.930Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-30T20:58:56.620Z] provisioning config files... [2021-04-30T20:58:56.642Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-81@tmp/config7358222834448453812tmp [Pipeline] { [Pipeline] echo [2021-04-30T20:58:56.704Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T20:58:57.086Z] ---> create-netrc.sh [Pipeline] } [2021-04-30T20:58:57.117Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-30T20:58:57.213Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T20:58:57.590Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-30T20:58:57.634Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T20:58:58.029Z] ---> sudo-logs.sh [2021-04-30T20:58:58.029Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-30T20:58:58.136Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T20:58:58.527Z] ---> job-cost.sh [2021-04-30T20:58:58.527Z] lf-activate-venv: SKIPPING [2021-04-30T20:58:58.527Z] DEBUG: total: 0.20999999344348907 [2021-04-30T20:58:58.527Z] INFO: Retrieving Stack Cost... [2021-04-30T20:58:59.481Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-30T20:59:00.063Z] INFO: Archiving Costs [Pipeline] echo [2021-04-30T20:59:00.113Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-30T20:59:00.514Z] ---> logs-deploy.sh [2021-04-30T20:59:00.514Z] lf-activate-venv: SKIPPING [2021-04-30T20:59:00.514Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-81/1 [2021-04-30T20:59:00.514Z] INFO: archiving workspace using pattern(s): [2021-04-30T20:59:02.501Z] Archives upload complete. [2021-04-30T20:59:02.501Z] INFO: archiving logs to Nexus