Pull request #87 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ad4e668cf7c442487f6980a78c3345134d00380f+f67542ccb051b13986f5f41838b922d5b9b125ad (06820952dbeac6f0eebd7710dc74b521259d43d0) 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-87/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-87/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3950’ is offline; ‘prd-centos7-docker-4c-2g-3953’ is offline; ‘prd-centos7-docker-4c-2g-3956’ is offline; ‘prd-centos7-docker-4c-2g-3966’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3983 in /w/workspace/dgexfoundry_device-rest-go_PR-87 [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-87 # 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 f67542ccb051b13986f5f41838b922d5b9b125ad into PR head commit ad4e668cf7c442487f6980a78c3345134d00380f Merge succeeded, producing ad4e668cf7c442487f6980a78c3345134d00380f Checking out Revision ad4e668cf7c442487f6980a78c3345134d00380f (PR-87) > 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/87/head:refs/remotes/origin/PR-87 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad4e668cf7c442487f6980a78c3345134d00380f # 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 f67542ccb051b13986f5f41838b922d5b9b125ad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad4e668cf7c442487f6980a78c3345134d00380f # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-10T05:58:12.898Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-10T05:58:13.125Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T05:58:13.247Z] ========================================================= [2021-05-10T05:58:13.247Z] EdgeX Global Pipelines Version Info [2021-05-10T05:58:13.247Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-10T05:58:14.956Z] ------------------- [2021-05-10T05:58:14.956Z] stable info: [2021-05-10T05:58:14.956Z] ------------------- [2021-05-10T05:58:14.956Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T05:58:14.956Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T05:58:14.956Z] Message: update stable to v1.0.191 [2021-05-10T05:58:15.918Z] ------------------- [2021-05-10T05:58:15.918Z] experimental info: [2021-05-10T05:58:15.918Z] ------------------- [2021-05-10T05:58:15.918Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T05:58:15.918Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T05:58:15.918Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T05:58:16.176Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-10T05:58:16.254Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-10T05:58:16.309Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T05:58:16.373Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T05:58:16.443Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T05:58:16.506Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T05:58:16.577Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T05:58:16.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T05:58:16.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-10T05:58:16.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T05:58:16.819Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T05:58:16.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-05-10T05:58:16.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T05:58:16.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T05:58:17.060Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T05:58:17.118Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T05:58:17.179Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T05:58:17.262Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T05:58:17.328Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T05:58:17.385Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-10T05:58:17.464Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-10T05:58:17.522Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-10T05:58:17.584Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-10T05:58:17.655Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-10T05:58:17.719Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-10T05:58:17.850Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T05:58:17.924Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-87 [Pipeline] echo [2021-05-10T05:58:17.989Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-87 [Pipeline] echo [2021-05-10T05:58:18.066Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-87 [Pipeline] echo [2021-05-10T05:58:18.134Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ad4e668cf7c442487f6980a78c3345134d00380f [Pipeline] echo [2021-05-10T05:58:18.201Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ad4e668 [Pipeline] echo [2021-05-10T05:58:18.265Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T05:58:18.429Z] provisioning config files... [2021-05-10T05:58:18.473Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-87@tmp/config1898111762007661806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T05:58:18.869Z] ---> docker-login.sh [2021-05-10T05:58:18.869Z] nexus3.edgexfoundry.org:10001 [2021-05-10T05:58:19.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:58:19.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:58:19.405Z] Configure a credential helper to remove this warning. See [2021-05-10T05:58:19.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:58:19.405Z] [2021-05-10T05:58:19.405Z] Login Succeeded [2021-05-10T05:58:19.405Z] nexus3.edgexfoundry.org:10002 [2021-05-10T05:58:19.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:58:19.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:58:19.405Z] Configure a credential helper to remove this warning. See [2021-05-10T05:58:19.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:58:19.405Z] [2021-05-10T05:58:19.405Z] Login Succeeded [2021-05-10T05:58:19.405Z] nexus3.edgexfoundry.org:10003 [2021-05-10T05:58:19.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:58:19.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:58:19.680Z] Configure a credential helper to remove this warning. See [2021-05-10T05:58:19.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:58:19.680Z] [2021-05-10T05:58:19.680Z] Login Succeeded [2021-05-10T05:58:19.680Z] nexus3.edgexfoundry.org:10004 [2021-05-10T05:58:19.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:58:19.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:58:19.949Z] Configure a credential helper to remove this warning. See [2021-05-10T05:58:19.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:58:19.949Z] [2021-05-10T05:58:19.949Z] Login Succeeded [2021-05-10T05:58:19.949Z] docker.io [2021-05-10T05:58:20.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:58:20.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:58:20.225Z] Configure a credential helper to remove this warning. See [2021-05-10T05:58:20.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:58:20.225Z] [2021-05-10T05:58:20.225Z] Login Succeeded [2021-05-10T05:58:20.491Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T05:58:20.531Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T05:58:21.303Z] + git log --format=format:%s -1 ad4e668cf7c442487f6980a78c3345134d00380f [Pipeline] echo [2021-05-10T05:58:21.424Z] GIT_COMMIT: ad4e668cf7c442487f6980a78c3345134d00380f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-05-10T05:58:21.465Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-10T05:58:22.105Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T05:58:22.105Z] [2021-05-10T05:58:22.105Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T05:58:22.494Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T05:58:22.494Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T05:58:22.494Z] 31603596830f: Pulling fs layer [2021-05-10T05:58:22.494Z] 54011a49482f: Pulling fs layer [2021-05-10T05:58:22.494Z] a6820b24f6d8: Pulling fs layer [2021-05-10T05:58:22.494Z] f581987b2513: Pulling fs layer [2021-05-10T05:58:22.494Z] f581987b2513: Waiting [2021-05-10T05:58:22.494Z] 54011a49482f: Verifying Checksum [2021-05-10T05:58:22.494Z] 54011a49482f: Download complete [2021-05-10T05:58:22.494Z] 31603596830f: Verifying Checksum [2021-05-10T05:58:22.494Z] 31603596830f: Download complete [2021-05-10T05:58:22.765Z] f581987b2513: Verifying Checksum [2021-05-10T05:58:22.765Z] f581987b2513: Download complete [2021-05-10T05:58:22.765Z] a6820b24f6d8: Verifying Checksum [2021-05-10T05:58:22.765Z] a6820b24f6d8: Download complete [2021-05-10T05:58:23.030Z] 31603596830f: Pull complete [2021-05-10T05:58:23.300Z] 54011a49482f: Pull complete [2021-05-10T05:58:24.262Z] a6820b24f6d8: Pull complete [2021-05-10T05:58:24.262Z] f581987b2513: Pull complete [2021-05-10T05:58:24.262Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T05:58:24.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T05:58:24.262Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T05:58:24.396Z] prd-centos7-docker-4c-2g-3983 does not seem to be running inside a container [2021-05-10T05:58:24.452Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-87 -v /w/workspace/dgexfoundry_device-rest-go_PR-87:/w/workspace/dgexfoundry_device-rest-go_PR-87:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-87@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-10T05:58:26.628Z] $ docker top 8a054a7150d86d9cb0a76d5928b9f4dc38c1660870dd94ce011eaa212131339d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T05:58:26.932Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T05:58:26.932Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T05:58:27.191Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T05:58:27.197Z] $ docker exec 8a054a7150d86d9cb0a76d5928b9f4dc38c1660870dd94ce011eaa212131339d ssh-agent [2021-05-10T05:58:27.381Z] SSH_AUTH_SOCK=/tmp/ssh-G2HWMLXNW0pO/agent.11 [2021-05-10T05:58:27.381Z] SSH_AGENT_PID=16 [2021-05-10T05:58:27.393Z] Running ssh-add (command line suppressed) [2021-05-10T05:58:27.515Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-87@tmp/private_key_2031791066348881681.key (/w/workspace/dgexfoundry_device-rest-go_PR-87@tmp/private_key_2031791066348881681.key) [2021-05-10T05:58:27.572Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T05:58:27.945Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T05:58:27.973Z] $ docker exec --env ******** --env ******** 8a054a7150d86d9cb0a76d5928b9f4dc38c1660870dd94ce011eaa212131339d ssh-agent -k [2021-05-10T05:58:28.114Z] unset SSH_AUTH_SOCK; [2021-05-10T05:58:28.114Z] unset SSH_AGENT_PID; [2021-05-10T05:58:28.114Z] echo Agent pid 16 killed; [2021-05-10T05:58:28.167Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T05:58:28.280Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T05:58:28.280Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T05:58:28.473Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T05:58:28.477Z] $ docker exec 8a054a7150d86d9cb0a76d5928b9f4dc38c1660870dd94ce011eaa212131339d ssh-agent [2021-05-10T05:58:28.655Z] SSH_AUTH_SOCK=/tmp/ssh-kk3pR3BqGznN/agent.46 [2021-05-10T05:58:28.655Z] SSH_AGENT_PID=51 [2021-05-10T05:58:28.663Z] Running ssh-add (command line suppressed) [2021-05-10T05:58:28.805Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-87@tmp/private_key_6302932358171527779.key (/w/workspace/dgexfoundry_device-rest-go_PR-87@tmp/private_key_6302932358171527779.key) [2021-05-10T05:58:28.866Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T05:58:29.227Z] + git semver init [2021-05-10T05:58:29.227Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T05:58:29.227Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-87/.git [2021-05-10T05:58:29.227Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-87 [2021-05-10T05:58:29.227Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T05:58:29.227Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T05:58:29.227Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T05:58:29.227Z] # $SEMVER_BRANCH = PR-87 [2021-05-10T05:58:29.227Z] # $SEMVER_TEMP = /tmp/semver-706891479 [2021-05-10T05:58:29.227Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-10T05:58:32.555Z] # '/tmp/semver-706891479' -> '/w/workspace/dgexfoundry_device-rest-go_PR-87/.semver' [2021-05-10T05:58:32.555Z] # -> Force: false [2021-05-10T05:58:32.555Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-87/.semver [Pipeline] } [2021-05-10T05:58:32.581Z] $ docker exec --env ******** --env ******** 8a054a7150d86d9cb0a76d5928b9f4dc38c1660870dd94ce011eaa212131339d ssh-agent -k [2021-05-10T05:58:32.747Z] unset SSH_AUTH_SOCK; [2021-05-10T05:58:32.747Z] unset SSH_AGENT_PID; [2021-05-10T05:58:32.747Z] echo Agent pid 51 killed; [2021-05-10T05:58:32.837Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T05:58:33.319Z] + git semver [Pipeline] } [2021-05-10T05:58:33.356Z] $ docker stop --time=1 8a054a7150d86d9cb0a76d5928b9f4dc38c1660870dd94ce011eaa212131339d [2021-05-10T05:58:34.900Z] $ docker rm -f 8a054a7150d86d9cb0a76d5928b9f4dc38c1660870dd94ce011eaa212131339d [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T05:58:35.456Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T05:58:35.879Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T05:58:35.899Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-10T05:58:51.451Z] Still waiting to schedule task [2021-05-10T05:58:51.451Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-10T05:58:51.479Z] Still waiting to schedule task [2021-05-10T05:58:51.479Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3946’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3955’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3985’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3987’ is offline [2021-05-10T06:09:18.781Z] Running on prd-centos7-docker-4c-2g-4011 in /w/workspace/dgexfoundry_device-rest-go_PR-87 [Pipeline] { [Pipeline] ws [2021-05-10T06:09:18.852Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-10T06:09:28.831Z] using credential edgex-jenkins-ssh [2021-05-10T06:09:28.878Z] Cloning the remote Git repository [2021-05-10T06:09:29.158Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-10T06:09:29.402Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-10T06:09:29.600Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-10T06:09:29.601Z] > git --version # timeout=10 [2021-05-10T06:09:29.628Z] > git --version # 'git version 2.24.3' [2021-05-10T06:09:29.629Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:09:29.684Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T06:09:30.927Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-10T06:09:31.025Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T06:09:31.066Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-10T06:09:31.176Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-10T06:09:31.176Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:09:31.185Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/87/head:refs/remotes/origin/PR-87 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T06:09:31.654Z] Merging remotes/origin/master commit f67542ccb051b13986f5f41838b922d5b9b125ad into PR head commit ad4e668cf7c442487f6980a78c3345134d00380f [2021-05-10T06:09:32.198Z] Merge succeeded, producing ad4e668cf7c442487f6980a78c3345134d00380f [2021-05-10T06:09:32.198Z] Checking out Revision ad4e668cf7c442487f6980a78c3345134d00380f (PR-87) [2021-05-10T06:09:31.682Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T06:09:31.738Z] > git checkout -f ad4e668cf7c442487f6980a78c3345134d00380f # timeout=10 [2021-05-10T06:09:31.873Z] > git remote # timeout=10 [2021-05-10T06:09:31.944Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T06:09:32.029Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:09:32.036Z] > git merge f67542ccb051b13986f5f41838b922d5b9b125ad # timeout=10 [2021-05-10T06:09:32.095Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T06:09:32.205Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T06:09:32.274Z] > git checkout -f ad4e668cf7c442487f6980a78c3345134d00380f # timeout=10 [2021-05-10T06:09:37.124Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-10T06:09:37.233Z] > git --version # timeout=10 [2021-05-10T06:09:37.269Z] > git --version # 'git version 2.24.3' [2021-05-10T06:09:37.309Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T06:09:40.210Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T06:09:40.700Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T06:09:41.153Z] + sudo service docker restart [2021-05-10T06:09:41.153Z] + true [2021-05-10T06:09:41.153Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T06:09:43.541Z] provisioning config files... [2021-05-10T06:09:43.589Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1927414706756085287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:09:44.272Z] ---> docker-login.sh [2021-05-10T06:09:44.272Z] nexus3.edgexfoundry.org:10001 [2021-05-10T06:09:45.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:09:45.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:09:45.674Z] Configure a credential helper to remove this warning. See [2021-05-10T06:09:45.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:09:45.674Z] [2021-05-10T06:09:45.674Z] Login Succeeded [2021-05-10T06:09:45.674Z] nexus3.edgexfoundry.org:10002 [2021-05-10T06:09:46.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:09:46.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:09:46.398Z] Configure a credential helper to remove this warning. See [2021-05-10T06:09:46.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:09:46.398Z] [2021-05-10T06:09:46.398Z] Login Succeeded [2021-05-10T06:09:46.398Z] nexus3.edgexfoundry.org:10003 [2021-05-10T06:09:46.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:09:47.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:09:47.129Z] Configure a credential helper to remove this warning. See [2021-05-10T06:09:47.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:09:47.129Z] [2021-05-10T06:09:47.129Z] Login Succeeded [2021-05-10T06:09:47.129Z] nexus3.edgexfoundry.org:10004 [2021-05-10T06:09:47.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:09:47.427Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4003 in /w/workspace/dgexfoundry_device-rest-go_PR-87 [Pipeline] { [Pipeline] ws [2021-05-10T06:09:47.510Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-10T06:09:47.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:09:47.715Z] Configure a credential helper to remove this warning. See [2021-05-10T06:09:47.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:09:47.715Z] [2021-05-10T06:09:47.715Z] Login Succeeded [2021-05-10T06:09:47.715Z] docker.io [2021-05-10T06:09:48.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:09:48.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:09:48.323Z] Configure a credential helper to remove this warning. See [2021-05-10T06:09:48.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:09:48.323Z] [2021-05-10T06:09:48.323Z] Login Succeeded [2021-05-10T06:09:48.323Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T06:09:48.387Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T06:09:49.147Z] ========================================================= [2021-05-10T06:09:49.147Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T06:09:49.147Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:09:49.768Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-10T06:09:49.768Z] Sending build context to Docker daemon 93.18kB [2021-05-10T06:09:50.115Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T06:09:50.115Z] Step 2/10 : FROM ${BASE} [2021-05-10T06:09:50.444Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T06:09:50.444Z] 540db60ca938: Pulling fs layer [2021-05-10T06:09:50.444Z] adcc1eea9eea: Pulling fs layer [2021-05-10T06:09:50.444Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T06:09:50.444Z] 0510c868ecb4: Pulling fs layer [2021-05-10T06:09:50.444Z] afea3b2eda06: Pulling fs layer [2021-05-10T06:09:50.444Z] 7809a108b3ef: Pulling fs layer [2021-05-10T06:09:50.444Z] f706445af74f: Pulling fs layer [2021-05-10T06:09:50.444Z] 0510c868ecb4: Waiting [2021-05-10T06:09:50.444Z] afea3b2eda06: Waiting [2021-05-10T06:09:50.444Z] 7809a108b3ef: Waiting [2021-05-10T06:09:50.444Z] f706445af74f: Waiting [2021-05-10T06:09:50.444Z] 4c4ab2625f07: Verifying Checksum [2021-05-10T06:09:50.444Z] 4c4ab2625f07: Download complete [2021-05-10T06:09:50.444Z] adcc1eea9eea: Verifying Checksum [2021-05-10T06:09:50.444Z] adcc1eea9eea: Download complete [2021-05-10T06:09:50.444Z] afea3b2eda06: Verifying Checksum [2021-05-10T06:09:50.444Z] afea3b2eda06: Download complete [2021-05-10T06:09:50.444Z] 7809a108b3ef: Verifying Checksum [2021-05-10T06:09:50.444Z] 7809a108b3ef: Download complete [2021-05-10T06:09:50.741Z] 540db60ca938: Verifying Checksum [2021-05-10T06:09:50.741Z] 540db60ca938: Download complete [2021-05-10T06:09:51.517Z] 540db60ca938: Pull complete [2021-05-10T06:09:52.276Z] adcc1eea9eea: Pull complete [2021-05-10T06:09:52.560Z] 4c4ab2625f07: Pull complete [2021-05-10T06:09:55.155Z] using credential edgex-jenkins-ssh [2021-05-10T06:09:55.198Z] Cloning the remote Git repository [2021-05-10T06:09:55.275Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-10T06:09:55.412Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-10T06:09:55.503Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-10T06:09:55.505Z] > git --version # timeout=10 [2021-05-10T06:09:55.524Z] > git --version # 'git version 2.17.1' [2021-05-10T06:09:55.526Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:09:55.625Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T06:09:57.066Z] f706445af74f: Verifying Checksum [2021-05-10T06:09:57.066Z] f706445af74f: Download complete [2021-05-10T06:10:00.775Z] 0510c868ecb4: Verifying Checksum [2021-05-10T06:10:00.775Z] 0510c868ecb4: Download complete [2021-05-10T06:10:01.179Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-10T06:10:01.205Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T06:10:01.242Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-10T06:10:01.277Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-10T06:10:01.278Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:10:01.292Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/87/head:refs/remotes/origin/PR-87 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T06:10:03.513Z] Merging remotes/origin/master commit f67542ccb051b13986f5f41838b922d5b9b125ad into PR head commit ad4e668cf7c442487f6980a78c3345134d00380f [2021-05-10T06:10:03.738Z] Merge succeeded, producing ad4e668cf7c442487f6980a78c3345134d00380f [2021-05-10T06:10:03.739Z] Checking out Revision ad4e668cf7c442487f6980a78c3345134d00380f (PR-87) [2021-05-10T06:10:03.544Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T06:10:03.567Z] > git checkout -f ad4e668cf7c442487f6980a78c3345134d00380f # timeout=10 [2021-05-10T06:10:03.656Z] > git remote # timeout=10 [2021-05-10T06:10:03.676Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T06:10:03.691Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T06:10:03.703Z] > git merge f67542ccb051b13986f5f41838b922d5b9b125ad # timeout=10 [2021-05-10T06:10:03.734Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T06:10:03.759Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T06:10:03.771Z] > git checkout -f ad4e668cf7c442487f6980a78c3345134d00380f # timeout=10 [2021-05-10T06:10:08.419Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-10T06:10:08.524Z] > git --version # timeout=10 [2021-05-10T06:10:08.543Z] > git --version # 'git version 2.17.1' [2021-05-10T06:10:08.558Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T06:10:10.291Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-10T06:10:10.811Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T06:10:11.201Z] + sudo service docker restart [2021-05-10T06:10:11.201Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T06:10:13.989Z] provisioning config files... [2021-05-10T06:10:14.047Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5328942495200316483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:10:14.498Z] ---> docker-login.sh [2021-05-10T06:10:14.498Z] nexus3.edgexfoundry.org:10001 [2021-05-10T06:10:15.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:10:16.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:10:16.083Z] Configure a credential helper to remove this warning. See [2021-05-10T06:10:16.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:10:16.083Z] [2021-05-10T06:10:16.083Z] Login Succeeded [2021-05-10T06:10:16.083Z] nexus3.edgexfoundry.org:10002 [2021-05-10T06:10:16.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:10:16.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:10:16.635Z] Configure a credential helper to remove this warning. See [2021-05-10T06:10:16.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:10:16.635Z] [2021-05-10T06:10:16.635Z] Login Succeeded [2021-05-10T06:10:16.635Z] nexus3.edgexfoundry.org:10003 [2021-05-10T06:10:16.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:10:17.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:10:17.184Z] Configure a credential helper to remove this warning. See [2021-05-10T06:10:17.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:10:17.184Z] [2021-05-10T06:10:17.184Z] Login Succeeded [2021-05-10T06:10:17.184Z] nexus3.edgexfoundry.org:10004 [2021-05-10T06:10:17.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:10:17.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:10:17.734Z] Configure a credential helper to remove this warning. See [2021-05-10T06:10:17.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:10:17.734Z] [2021-05-10T06:10:17.734Z] Login Succeeded [2021-05-10T06:10:17.734Z] docker.io [2021-05-10T06:10:18.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:10:18.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:10:18.284Z] Configure a credential helper to remove this warning. See [2021-05-10T06:10:18.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:10:18.284Z] [2021-05-10T06:10:18.559Z] Login Succeeded [2021-05-10T06:10:18.559Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T06:10:18.593Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T06:10:19.057Z] ========================================================= [2021-05-10T06:10:19.057Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T06:10:19.057Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:10:19.443Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-10T06:10:19.443Z] Sending build context to Docker daemon 93.18kB [2021-05-10T06:10:19.717Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T06:10:19.717Z] Step 2/10 : FROM ${BASE} [2021-05-10T06:10:19.717Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T06:10:19.991Z] 595b0fe564bb: Pulling fs layer [2021-05-10T06:10:19.991Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T06:10:19.991Z] 316046926c0a: Pulling fs layer [2021-05-10T06:10:19.991Z] 4ebd0625c992: Pulling fs layer [2021-05-10T06:10:19.991Z] 207e8628e3a3: Pulling fs layer [2021-05-10T06:10:19.991Z] c791037a9be2: Pulling fs layer [2021-05-10T06:10:19.991Z] ffd874e62e21: Pulling fs layer [2021-05-10T06:10:19.991Z] c791037a9be2: Waiting [2021-05-10T06:10:19.991Z] ffd874e62e21: Waiting [2021-05-10T06:10:19.991Z] 4ebd0625c992: Waiting [2021-05-10T06:10:19.991Z] 207e8628e3a3: Waiting [2021-05-10T06:10:19.991Z] 316046926c0a: Download complete [2021-05-10T06:10:19.991Z] 7186ed65a4f7: Verifying Checksum [2021-05-10T06:10:19.991Z] 7186ed65a4f7: Download complete [2021-05-10T06:10:19.991Z] 207e8628e3a3: Verifying Checksum [2021-05-10T06:10:19.991Z] 207e8628e3a3: Download complete [2021-05-10T06:10:19.991Z] c791037a9be2: Verifying Checksum [2021-05-10T06:10:19.991Z] c791037a9be2: Download complete [2021-05-10T06:10:19.991Z] 595b0fe564bb: Verifying Checksum [2021-05-10T06:10:19.991Z] 595b0fe564bb: Download complete [2021-05-10T06:10:20.004Z] 0510c868ecb4: Pull complete [2021-05-10T06:10:20.004Z] afea3b2eda06: Pull complete [2021-05-10T06:10:20.004Z] 7809a108b3ef: Pull complete [2021-05-10T06:10:20.603Z] 595b0fe564bb: Pull complete [2021-05-10T06:10:21.596Z] 7186ed65a4f7: Pull complete [2021-05-10T06:10:21.876Z] 316046926c0a: Pull complete [2021-05-10T06:10:22.480Z] ffd874e62e21: Verifying Checksum [2021-05-10T06:10:22.480Z] ffd874e62e21: Download complete [2021-05-10T06:10:25.684Z] f706445af74f: Pull complete [2021-05-10T06:10:25.684Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T06:10:25.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T06:10:25.684Z] ---> b068be0155e3 [2021-05-10T06:10:25.684Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-10T06:10:25.926Z] 4ebd0625c992: Verifying Checksum [2021-05-10T06:10:25.927Z] 4ebd0625c992: Download complete [2021-05-10T06:10:25.977Z] ---> Running in a03cd4aa1f87 [2021-05-10T06:10:26.300Z] Removing intermediate container a03cd4aa1f87 [2021-05-10T06:10:26.300Z] ---> 18d198eabecf [2021-05-10T06:10:26.300Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T06:10:26.300Z] ---> Running in 5a86b5487994 [2021-05-10T06:10:26.625Z] Removing intermediate container 5a86b5487994 [2021-05-10T06:10:26.625Z] ---> 54aa06dc710a [2021-05-10T06:10:26.625Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-10T06:10:27.374Z] ---> Running in 60c2f201546d [2021-05-10T06:10:27.374Z] Removing intermediate container 60c2f201546d [2021-05-10T06:10:27.374Z] ---> 272f64a09b3b [2021-05-10T06:10:27.374Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T06:10:27.374Z] ---> Running in 8918688b5068 [2021-05-10T06:10:30.611Z] Removing intermediate container 8918688b5068 [2021-05-10T06:10:30.611Z] ---> 128698a707a8 [2021-05-10T06:10:30.611Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T06:10:30.611Z] ---> Running in 7bf29b5ba5fb [2021-05-10T06:10:31.680Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T06:10:33.315Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T06:10:36.142Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-10T06:10:36.142Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-10T06:10:37.170Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-10T06:10:37.378Z] 4ebd0625c992: Pull complete [2021-05-10T06:10:37.378Z] 207e8628e3a3: Pull complete [2021-05-10T06:10:37.378Z] c791037a9be2: Pull complete [2021-05-10T06:10:37.495Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-10T06:10:37.783Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-10T06:10:38.768Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-10T06:10:38.768Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-10T06:10:40.801Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-10T06:10:40.801Z] ffd874e62e21: Pull complete [2021-05-10T06:10:40.801Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T06:10:40.801Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-10T06:10:40.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T06:10:40.801Z] ---> cfc18b08335c [2021-05-10T06:10:40.801Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-10T06:10:41.108Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T06:10:41.108Z] OK: 154 MiB in 49 packages [2021-05-10T06:10:43.222Z] Removing intermediate container 7bf29b5ba5fb [2021-05-10T06:10:43.222Z] ---> 3558a4672eda [2021-05-10T06:10:43.222Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-10T06:10:43.222Z] ---> Running in 430b0ec0338a [2021-05-10T06:10:43.558Z] Removing intermediate container 430b0ec0338a [2021-05-10T06:10:43.558Z] ---> d7e93bc13a4a [2021-05-10T06:10:43.558Z] Step 9/10 : COPY . . [2021-05-10T06:10:44.259Z] ---> Running in ec456c7ff90b [2021-05-10T06:10:44.259Z] Removing intermediate container ec456c7ff90b [2021-05-10T06:10:44.259Z] ---> ee3374edb8e2 [2021-05-10T06:10:44.259Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T06:10:44.336Z] ---> 73c48c6c4a49 [2021-05-10T06:10:44.336Z] Step 10/10 : RUN go mod download [2021-05-10T06:10:44.336Z] ---> Running in e3a68f780a79 [2021-05-10T06:10:44.730Z] ---> Running in df021457a798 [2021-05-10T06:10:45.014Z] Removing intermediate container df021457a798 [2021-05-10T06:10:45.014Z] ---> a8d1a813c1e6 [2021-05-10T06:10:45.014Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-10T06:10:45.014Z] ---> Running in b87f6199ed3d [2021-05-10T06:10:45.628Z] Removing intermediate container b87f6199ed3d [2021-05-10T06:10:45.628Z] ---> caabc9046f55 [2021-05-10T06:10:45.628Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T06:10:45.628Z] ---> Running in 48d27fac19bc [2021-05-10T06:10:48.277Z] Removing intermediate container 48d27fac19bc [2021-05-10T06:10:48.277Z] ---> cfc7dc773904 [2021-05-10T06:10:48.277Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T06:10:48.277Z] ---> Running in 0dd1fe93c5da [2021-05-10T06:10:49.747Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T06:10:51.724Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T06:10:53.709Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-10T06:10:53.709Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-10T06:10:53.983Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-10T06:10:54.255Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-10T06:10:54.255Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-10T06:10:54.847Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-10T06:10:54.847Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-10T06:10:56.819Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-10T06:10:56.819Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-10T06:10:57.094Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T06:10:57.094Z] OK: 144 MiB in 49 packages [2021-05-10T06:10:59.107Z] Removing intermediate container 0dd1fe93c5da [2021-05-10T06:10:59.107Z] ---> dbb38bab8166 [2021-05-10T06:10:59.107Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-10T06:10:59.107Z] ---> Running in 01a11bd3bd51 [2021-05-10T06:10:59.721Z] Removing intermediate container 01a11bd3bd51 [2021-05-10T06:10:59.721Z] ---> d33f698c707f [2021-05-10T06:10:59.721Z] Step 9/10 : COPY . . [2021-05-10T06:11:00.326Z] ---> 7f4e96874b5e [2021-05-10T06:11:00.326Z] Step 10/10 : RUN go mod download [2021-05-10T06:11:00.605Z] ---> Running in 1a7f609a5dad [2021-05-10T06:11:32.720Z] Removing intermediate container e3a68f780a79 [2021-05-10T06:11:32.720Z] ---> e0895ce4d36e [2021-05-10T06:11:32.720Z] Successfully built e0895ce4d36e [2021-05-10T06:11:32.720Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:11:33.001Z] Removing intermediate container 1a7f609a5dad [2021-05-10T06:11:33.001Z] ---> cd80e256d49a [2021-05-10T06:11:33.001Z] Successfully built cd80e256d49a [2021-05-10T06:11:33.001Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:11:33.124Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T06:11:33.392Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T06:11:33.392Z] . [2021-05-10T06:11:33.407Z] . [Pipeline] withDockerContainer [2021-05-10T06:11:33.686Z] prd-ubuntu18.04-docker-arm64-4c-16g-4003 does not seem to be running inside a container [2021-05-10T06:11:33.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T06:11:35.572Z] $ docker top daa698ff97e3d7705aab66cc137767950fd342ad2df658ed8047b94f96bdf076 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-05-10T06:11:36.346Z] prd-centos7-docker-4c-2g-4011 does not seem to be running inside a container [2021-05-10T06:11:36.518Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T06:11:38.736Z] $ docker top 8431c9934f3974e4fc6b8fc7487c7ccbd667e0f182bc152857144008ea02b25a -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-10T06:11:40.123Z] + go version [2021-05-10T06:11:40.123Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-10T06:11:40.175Z] $ docker stop --time=1 daa698ff97e3d7705aab66cc137767950fd342ad2df658ed8047b94f96bdf076 [2021-05-10T06:11:40.225Z] + go version [2021-05-10T06:11:40.316Z] go version go1.16.3 linux/amd64 [2021-05-10T06:11:42.190Z] $ docker rm -f daa698ff97e3d7705aab66cc137767950fd342ad2df658ed8047b94f96bdf076 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2021-05-10T06:11:42.559Z] $ docker stop --time=1 8431c9934f3974e4fc6b8fc7487c7ccbd667e0f182bc152857144008ea02b25a [2021-05-10T06:11:44.555Z] $ docker rm -f 8431c9934f3974e4fc6b8fc7487c7ccbd667e0f182bc152857144008ea02b25a [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:11:45.669Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T06:11:45.669Z] . [Pipeline] withDockerContainer [2021-05-10T06:11:45.998Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T06:11:45.998Z] . [2021-05-10T06:11:46.121Z] prd-ubuntu18.04-docker-arm64-4c-16g-4003 does not seem to be running inside a container [2021-05-10T06:11:46.234Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T06:11:48.080Z] $ docker top 5c628ffe3a39ce0746dd1f214b933bbdb038abc475852a004ff1a1fccfd5f48c -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-05-10T06:11:48.800Z] prd-centos7-docker-4c-2g-4011 does not seem to be running inside a container [2021-05-10T06:11:48.999Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T06:11:50.999Z] $ docker top d96362cd3d6318e1fbdf6400e0ca648c8ed0d52e7e09552bd1ec04e5b34c2798 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-10T06:11:52.185Z] + go mod tidy [2021-05-10T06:11:52.463Z] + go mod tidy [Pipeline] sh [2021-05-10T06:11:53.930Z] + make test [2021-05-10T06:11:53.931Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [Pipeline] sh [2021-05-10T06:11:55.021Z] + make test [2021-05-10T06:11:55.021Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-10T06:11:55.987Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-10T06:11:57.186Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-10T06:12:55.521Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-10T06:12:55.521Z] ok github.com/edgexfoundry/device-rest-go/driver 0.202s coverage: 54.0% of statements [2021-05-10T06:12:55.521Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-10T06:13:04.249Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-10T06:13:04.249Z] ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 54.0% of statements [2021-05-10T06:13:04.524Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-10T06:13:15.131Z] gofmt -l . [2021-05-10T06:13:15.131Z] [ "`gofmt -l .`" = "" ] [2021-05-10T06:13:15.131Z] ./bin/test-go-mod-tidy.sh [2021-05-10T06:13:15.131Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-10T06:13:15.184Z] $ docker stop --time=1 d96362cd3d6318e1fbdf6400e0ca648c8ed0d52e7e09552bd1ec04e5b34c2798 [2021-05-10T06:13:17.526Z] $ docker rm -f d96362cd3d6318e1fbdf6400e0ca648c8ed0d52e7e09552bd1ec04e5b34c2798 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T06:13:18.605Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T06:13:19.399Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-10T06:13:20.642Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-10T06:13:20.992Z] + ls -al . [2021-05-10T06:13:20.992Z] total 104 [2021-05-10T06:13:20.992Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 10 06:13 . [2021-05-10T06:13:20.992Z] drwxrwxr-x. 4 jenkins jenkins 28 May 10 06:09 .. [2021-05-10T06:13:20.992Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 10 06:09 Attribution.txt [2021-05-10T06:13:20.992Z] drwxrwxr-x. 2 jenkins jenkins 64 May 10 06:09 bin [2021-05-10T06:13:20.992Z] drwxrwxr-x. 3 jenkins jenkins 32 May 10 06:09 cmd [2021-05-10T06:13:20.992Z] -rw-r--r--. 1 jenkins jenkins 8513 May 10 06:12 coverage.out [2021-05-10T06:13:20.992Z] -rw-rw-r--. 1 jenkins jenkins 1602 May 10 06:09 Dockerfile [2021-05-10T06:13:20.992Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 10 06:09 Dockerfile.build [2021-05-10T06:13:20.992Z] -rw-rw-r--. 1 jenkins jenkins 151 May 10 06:09 .dockerignore [2021-05-10T06:13:20.992Z] drwxrwxr-x. 2 jenkins jenkins 76 May 10 06:09 driver [2021-05-10T06:13:20.992Z] drwxrwxr-x. 8 jenkins jenkins 179 May 10 06:09 .git [2021-05-10T06:13:20.992Z] drwxrwxr-x. 2 jenkins jenkins 103 May 10 06:09 .github [2021-05-10T06:13:20.992Z] -rw-rw-r--. 1 jenkins jenkins 339 May 10 06:09 .gitignore [2021-05-10T06:13:20.992Z] -rw-r--r--. 1 jenkins jenkins 285 May 10 06:13 go.mod [2021-05-10T06:13:20.992Z] -rw-r--r--. 1 jenkins jenkins 21278 May 10 06:11 go.sum [2021-05-10T06:13:20.992Z] -rw-rw-r--. 1 jenkins jenkins 680 May 10 06:09 Jenkinsfile [2021-05-10T06:13:20.992Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 10 06:09 LICENSE [2021-05-10T06:13:20.992Z] -rw-rw-r--. 1 jenkins jenkins 976 May 10 06:09 Makefile [2021-05-10T06:13:20.992Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 10 06:09 README.md [2021-05-10T06:13:20.992Z] drwxrwxr-x. 4 jenkins jenkins 71 May 10 06:09 snap [2021-05-10T06:13:20.992Z] -rw-rw-r--. 1 jenkins jenkins 5 May 10 05:58 VERSION [2021-05-10T06:13:20.992Z] -rw-rw-r--. 1 jenkins jenkins 713 May 10 06:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:13:21.383Z] + 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=ad4e668cf7c442487f6980a78c3345134d00380f --label arch=amd64 --label version=0.0.0 . [2021-05-10T06:13:21.655Z] Sending build context to Docker daemon 102.9kB [2021-05-10T06:13:21.967Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T06:13:21.967Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-10T06:13:21.967Z] ---> e0895ce4d36e [2021-05-10T06:13:21.967Z] Step 3/24 : ARG MAKE='make build' [2021-05-10T06:13:22.260Z] ---> Running in 215f7f712eba [2021-05-10T06:13:22.868Z] Removing intermediate container 215f7f712eba [2021-05-10T06:13:22.868Z] ---> ee4639637112 [2021-05-10T06:13:22.868Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-10T06:13:22.868Z] ---> Running in 720da1b77a8e [2021-05-10T06:13:23.143Z] Removing intermediate container 720da1b77a8e [2021-05-10T06:13:23.143Z] ---> d56e0b49f13b [2021-05-10T06:13:23.143Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T06:13:23.143Z] ---> Running in 1d45d8b8bc55 [2021-05-10T06:13:23.863Z] Removing intermediate container 1d45d8b8bc55 [2021-05-10T06:13:23.863Z] ---> efdfe0310bf3 [2021-05-10T06:13:23.863Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T06:13:23.863Z] ---> Running in 92fd97df2db1 [2021-05-10T06:13:25.897Z] Removing intermediate container 92fd97df2db1 [2021-05-10T06:13:25.897Z] ---> 069370dbe7ec [2021-05-10T06:13:25.897Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T06:13:25.897Z] ---> Running in e82f8514d249 [2021-05-10T06:13:27.773Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T06:13:29.423Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T06:13:30.640Z] OK: 154 MiB in 49 packages [2021-05-10T06:13:31.329Z] gofmt -l . [2021-05-10T06:13:31.330Z] [ "`gofmt -l .`" = "" ] [2021-05-10T06:13:31.330Z] ./bin/test-go-mod-tidy.sh [2021-05-10T06:13:31.330Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-10T06:13:31.975Z] $ docker stop --time=1 5c628ffe3a39ce0746dd1f214b933bbdb038abc475852a004ff1a1fccfd5f48c [2021-05-10T06:13:32.309Z] Removing intermediate container e82f8514d249 [2021-05-10T06:13:32.309Z] ---> e3d5e86b2b4d [2021-05-10T06:13:32.309Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-10T06:13:32.309Z] ---> Running in 18ed3bbf764a [2021-05-10T06:13:32.981Z] Removing intermediate container 18ed3bbf764a [2021-05-10T06:13:32.981Z] ---> 4662262cc4ee [2021-05-10T06:13:32.981Z] Step 9/24 : COPY . . [2021-05-10T06:13:33.976Z] ---> 7df641d0a639 [2021-05-10T06:13:33.976Z] Step 10/24 : RUN make update [2021-05-10T06:13:33.976Z] ---> Running in 36f6a4d4bb21 [2021-05-10T06:13:34.302Z] $ docker rm -f 5c628ffe3a39ce0746dd1f214b933bbdb038abc475852a004ff1a1fccfd5f48c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T06:13:35.356Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T06:13:35.399Z] Warning: overwriting stash ‘coverage-report’ [2021-05-10T06:13:36.023Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T06:13:36.046Z] CGO_ENABLED=0 GO111MODULE=on go mod download [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T06:13:36.693Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-10T06:13:37.061Z] + ls -al . [2021-05-10T06:13:37.062Z] total 132 [2021-05-10T06:13:37.062Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:13 . [2021-05-10T06:13:37.062Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:09 .. [2021-05-10T06:13:37.062Z] -rw-rw-r-- 1 jenkins jenkins 151 May 10 06:10 .dockerignore [2021-05-10T06:13:37.062Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:10 .git [2021-05-10T06:13:37.062Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:10 .github [2021-05-10T06:13:37.062Z] -rw-rw-r-- 1 jenkins jenkins 339 May 10 06:10 .gitignore [2021-05-10T06:13:37.062Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 10 06:10 Attribution.txt [2021-05-10T06:13:37.062Z] -rw-rw-r-- 1 jenkins jenkins 1602 May 10 06:10 Dockerfile [2021-05-10T06:13:37.062Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 10 06:10 Dockerfile.build [2021-05-10T06:13:37.062Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 06:10 Jenkinsfile [2021-05-10T06:13:37.062Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 06:10 LICENSE [2021-05-10T06:13:37.062Z] -rw-rw-r-- 1 jenkins jenkins 976 May 10 06:10 Makefile [2021-05-10T06:13:37.062Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 10 06:10 README.md [2021-05-10T06:13:37.062Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 05:58 VERSION [2021-05-10T06:13:37.062Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:10 bin [2021-05-10T06:13:37.062Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:10 cmd [2021-05-10T06:13:37.062Z] -rw-r--r-- 1 jenkins jenkins 8513 May 10 06:13 coverage.out [2021-05-10T06:13:37.062Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:10 driver [2021-05-10T06:13:37.062Z] -rw-r--r-- 1 jenkins jenkins 285 May 10 06:13 go.mod [2021-05-10T06:13:37.062Z] -rw-r--r-- 1 jenkins jenkins 21278 May 10 06:11 go.sum [2021-05-10T06:13:37.062Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:10 snap [2021-05-10T06:13:37.062Z] -rw-rw-r-- 1 jenkins jenkins 713 May 10 06:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:13:37.457Z] + 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=ad4e668cf7c442487f6980a78c3345134d00380f --label arch=arm64 --label version=0.0.0 . [2021-05-10T06:13:37.457Z] Sending build context to Docker daemon 102.9kB [2021-05-10T06:13:37.558Z] Removing intermediate container 36f6a4d4bb21 [2021-05-10T06:13:37.558Z] ---> c288591c029f [2021-05-10T06:13:37.558Z] Step 11/24 : RUN $MAKE [2021-05-10T06:13:37.558Z] ---> Running in 6c39f40e4d5f [2021-05-10T06:13:37.731Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T06:13:37.731Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-10T06:13:37.731Z] ---> cd80e256d49a [2021-05-10T06:13:37.731Z] Step 3/24 : ARG MAKE='make build' [2021-05-10T06:13:38.005Z] ---> Running in 598b1775b586 [2021-05-10T06:13:38.226Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2021-05-10T06:13:38.604Z] Removing intermediate container 598b1775b586 [2021-05-10T06:13:38.604Z] ---> d96be91a7dc8 [2021-05-10T06:13:38.604Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-10T06:13:38.604Z] ---> Running in 6277125d930f [2021-05-10T06:13:39.204Z] Removing intermediate container 6277125d930f [2021-05-10T06:13:39.204Z] ---> bde6b79cf0f4 [2021-05-10T06:13:39.204Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-10T06:13:39.204Z] ---> Running in 7efba01e14dc [2021-05-10T06:13:39.809Z] Removing intermediate container 7efba01e14dc [2021-05-10T06:13:39.809Z] ---> 4fdcfd6c8334 [2021-05-10T06:13:39.809Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T06:13:39.809Z] ---> Running in a3a63f225d1e [2021-05-10T06:13:42.536Z] Removing intermediate container a3a63f225d1e [2021-05-10T06:13:42.536Z] ---> 65832d53edc1 [2021-05-10T06:13:42.536Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-10T06:13:42.536Z] ---> Running in 12402260388e [2021-05-10T06:13:43.522Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T06:13:45.504Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T06:13:46.950Z] OK: 144 MiB in 49 packages [2021-05-10T06:13:48.383Z] Removing intermediate container 12402260388e [2021-05-10T06:13:48.383Z] ---> 45cb90c1d8b6 [2021-05-10T06:13:48.383Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-10T06:13:48.383Z] ---> Running in 665b3a7f3b8d [2021-05-10T06:13:48.976Z] Removing intermediate container 665b3a7f3b8d [2021-05-10T06:13:48.976Z] ---> ff55cdac6748 [2021-05-10T06:13:48.976Z] Step 9/24 : COPY . . [2021-05-10T06:13:49.575Z] ---> 1dc6d43660fb [2021-05-10T06:13:49.575Z] Step 10/24 : RUN make update [2021-05-10T06:13:49.857Z] ---> Running in 680370dd0f0d [2021-05-10T06:13:50.838Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-10T06:13:51.817Z] Removing intermediate container 680370dd0f0d [2021-05-10T06:13:51.817Z] ---> 6489fa3dc19e [2021-05-10T06:13:51.817Z] Step 11/24 : RUN $MAKE [2021-05-10T06:13:52.089Z] ---> Running in 6d9d1ec348f7 [2021-05-10T06:13:53.071Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2021-05-10T06:14:11.353Z] Removing intermediate container 6c39f40e4d5f [2021-05-10T06:14:11.353Z] ---> 78e817822c42 [2021-05-10T06:14:11.353Z] Step 12/24 : FROM alpine:3.12 [2021-05-10T06:14:11.353Z] 3.12: Pulling from library/alpine [2021-05-10T06:14:11.353Z] 339de151aab4: Pulling fs layer [2021-05-10T06:14:11.353Z] 339de151aab4: Download complete [2021-05-10T06:14:11.353Z] 339de151aab4: Pull complete [2021-05-10T06:14:11.353Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-10T06:14:11.353Z] Status: Downloaded newer image for alpine:3.12 [2021-05-10T06:14:11.353Z] ---> 13621d1b12d4 [2021-05-10T06:14:11.353Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-10T06:14:11.353Z] ---> Running in 4a8c7af6b571 [2021-05-10T06:14:11.353Z] Removing intermediate container 4a8c7af6b571 [2021-05-10T06:14:11.353Z] ---> 9c8d551a725f [2021-05-10T06:14:11.353Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-10T06:14:11.353Z] ---> Running in ae9cc0c12364 [2021-05-10T06:14:11.353Z] Removing intermediate container ae9cc0c12364 [2021-05-10T06:14:11.353Z] ---> 836da0d8dff2 [2021-05-10T06:14:11.353Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-10T06:14:11.353Z] ---> Running in e82c431a8b4d [2021-05-10T06:14:11.354Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-10T06:14:11.354Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-10T06:14:11.354Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-10T06:14:11.354Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-10T06:14:11.354Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-10T06:14:11.354Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-10T06:14:11.354Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-10T06:14:11.354Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-10T06:14:11.354Z] Executing busybox-1.31.1-r20.trigger [2021-05-10T06:14:11.354Z] OK: 8 MiB in 20 packages [2021-05-10T06:14:11.354Z] Removing intermediate container e82c431a8b4d [2021-05-10T06:14:11.354Z] ---> 0c615d99b6e6 [2021-05-10T06:14:11.354Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-10T06:14:11.354Z] ---> fe3f29fdb957 [2021-05-10T06:14:11.354Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-10T06:14:12.002Z] ---> 122c68a1971e [2021-05-10T06:14:12.002Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-10T06:14:12.314Z] ---> d69ce8e7bb33 [2021-05-10T06:14:12.314Z] Step 19/24 : EXPOSE 49986 [2021-05-10T06:14:12.314Z] ---> Running in f2cdec4cea8a [2021-05-10T06:14:12.903Z] Removing intermediate container f2cdec4cea8a [2021-05-10T06:14:12.903Z] ---> 71a195957c2b [2021-05-10T06:14:12.903Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-10T06:14:12.903Z] ---> Running in 16f782c01907 [2021-05-10T06:14:13.173Z] Removing intermediate container 16f782c01907 [2021-05-10T06:14:13.173Z] ---> be6d2ae57932 [2021-05-10T06:14:13.173Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-10T06:14:13.444Z] ---> Running in b02531fe7201 [2021-05-10T06:14:13.719Z] Removing intermediate container b02531fe7201 [2021-05-10T06:14:13.719Z] ---> 27bbc0e75601 [2021-05-10T06:14:13.719Z] Step 22/24 : LABEL arch=amd64 [2021-05-10T06:14:13.719Z] ---> Running in 5a7e070d7b98 [2021-05-10T06:14:13.998Z] Removing intermediate container 5a7e070d7b98 [2021-05-10T06:14:13.999Z] ---> d4ced1bd1836 [2021-05-10T06:14:13.999Z] Step 23/24 : LABEL git_sha=ad4e668cf7c442487f6980a78c3345134d00380f [2021-05-10T06:14:13.999Z] ---> Running in 033fe8f558ca [2021-05-10T06:14:14.588Z] Removing intermediate container 033fe8f558ca [2021-05-10T06:14:14.588Z] ---> 53718a265140 [2021-05-10T06:14:14.588Z] Step 24/24 : LABEL version=0.0.0 [2021-05-10T06:14:14.588Z] ---> Running in df5787ad3677 [2021-05-10T06:14:15.182Z] Removing intermediate container df5787ad3677 [2021-05-10T06:14:15.182Z] ---> 851544cb5027 [2021-05-10T06:14:15.182Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-10T06:14:15.182Z] Successfully built 851544cb5027 [2021-05-10T06:14:15.182Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:14:16.130Z] ---> job-cost.sh [2021-05-10T06:14:16.130Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-U5c0 [2021-05-10T06:14:32.088Z] Removing intermediate container 6d9d1ec348f7 [2021-05-10T06:14:32.088Z] ---> a0d95bae4f41 [2021-05-10T06:14:32.088Z] Step 12/24 : FROM alpine:3.12 [2021-05-10T06:14:32.088Z] 3.12: Pulling from library/alpine [2021-05-10T06:14:32.088Z] d2f70382dc9a: Pulling fs layer [2021-05-10T06:14:32.088Z] d2f70382dc9a: Verifying Checksum [2021-05-10T06:14:32.088Z] d2f70382dc9a: Download complete [2021-05-10T06:14:32.088Z] d2f70382dc9a: Pull complete [2021-05-10T06:14:32.088Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-10T06:14:32.088Z] Status: Downloaded newer image for alpine:3.12 [2021-05-10T06:14:32.088Z] ---> 9852663dfa18 [2021-05-10T06:14:32.088Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-10T06:14:32.088Z] ---> Running in 0707f3f01713 [2021-05-10T06:14:32.088Z] Removing intermediate container 0707f3f01713 [2021-05-10T06:14:32.088Z] ---> da8d319a79e9 [2021-05-10T06:14:32.088Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-10T06:14:32.362Z] ---> Running in e893f048cc12 [2021-05-10T06:14:32.956Z] Removing intermediate container e893f048cc12 [2021-05-10T06:14:32.956Z] ---> 3fec2da79291 [2021-05-10T06:14:32.956Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-10T06:14:32.956Z] ---> Running in fe41d481bc83 [2021-05-10T06:14:33.929Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-10T06:14:34.203Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-10T06:14:34.791Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-10T06:14:34.791Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-10T06:14:34.791Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-10T06:14:34.791Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-10T06:14:34.791Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-10T06:14:34.791Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-10T06:14:34.791Z] Executing busybox-1.31.1-r20.trigger [2021-05-10T06:14:34.791Z] OK: 8 MiB in 20 packages [2021-05-10T06:14:36.217Z] Removing intermediate container fe41d481bc83 [2021-05-10T06:14:36.217Z] ---> d01220955018 [2021-05-10T06:14:36.217Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-10T06:14:37.194Z] ---> 1d36901904e9 [2021-05-10T06:14:37.194Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-10T06:14:37.788Z] ---> c1e9d70b2ac4 [2021-05-10T06:14:37.788Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-10T06:14:38.379Z] ---> d0ccf5e21674 [2021-05-10T06:14:38.379Z] Step 19/24 : EXPOSE 49986 [2021-05-10T06:14:38.654Z] ---> Running in aa7825b2485c [2021-05-10T06:14:39.248Z] Removing intermediate container aa7825b2485c [2021-05-10T06:14:39.248Z] ---> 82ef56799702 [2021-05-10T06:14:39.248Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-10T06:14:39.248Z] ---> Running in e38f678ca79f [2021-05-10T06:14:39.842Z] Removing intermediate container e38f678ca79f [2021-05-10T06:14:39.842Z] ---> 79384d78beb8 [2021-05-10T06:14:39.842Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-10T06:14:39.842Z] ---> Running in 166daa93062c [2021-05-10T06:14:40.114Z] Removing intermediate container 166daa93062c [2021-05-10T06:14:40.114Z] ---> a0e17eae23c7 [2021-05-10T06:14:40.114Z] Step 22/24 : LABEL arch=arm64 [2021-05-10T06:14:40.385Z] ---> Running in 6a63a974e6c8 [2021-05-10T06:14:40.660Z] Removing intermediate container 6a63a974e6c8 [2021-05-10T06:14:40.660Z] ---> 3e8d344c9e53 [2021-05-10T06:14:40.660Z] Step 23/24 : LABEL git_sha=ad4e668cf7c442487f6980a78c3345134d00380f [2021-05-10T06:14:40.935Z] ---> Running in b4250d092371 [2021-05-10T06:14:41.529Z] Removing intermediate container b4250d092371 [2021-05-10T06:14:41.529Z] ---> 50a4ccdc0fab [2021-05-10T06:14:41.529Z] Step 24/24 : LABEL version=0.0.0 [2021-05-10T06:14:41.529Z] ---> Running in 6971fcc1d409 [2021-05-10T06:14:42.122Z] Removing intermediate container 6971fcc1d409 [2021-05-10T06:14:42.122Z] ---> d87675709fc9 [2021-05-10T06:14:42.122Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-10T06:14:42.122Z] Successfully built d87675709fc9 [2021-05-10T06:14:42.122Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:14:42.863Z] ---> job-cost.sh [2021-05-10T06:14:42.863Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-uxEU [2021-05-10T06:14:43.045Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T06:15:22.424Z] lf-activate-venv(): INFO: Adding /tmp/venv-U5c0/bin to PATH [2021-05-10T06:15:22.424Z] INFO: No Stack... [2021-05-10T06:15:23.022Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T06:15:24.078Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T06:15:24.525Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-05-10T06:15:24.525Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T06:15:25.074Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-87-1-stack-cost] [2021-05-10T06:15:25.081Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-87-1-stack-cost] did not exist. Created. [2021-05-10T06:15:25.081Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-87-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T06:15:25.633Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-10T06:15:25.968Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T06:15:25.996Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-87-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T06:15:39.351Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T06:17:16.103Z] lf-activate-venv(): INFO: Adding /tmp/venv-uxEU/bin to PATH [2021-05-10T06:17:16.103Z] INFO: No Stack... [2021-05-10T06:17:16.103Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T06:17:16.103Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T06:17:16.465Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-05-10T06:17:16.465Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T06:17:16.607Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-87-1-stack-cost] [2021-05-10T06:17:16.613Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-87-1-stack-cost] did not exist. Created. [2021-05-10T06:17:16.613Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-87-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T06:17:17.060Z] /w/workspace/device-rest-go/1@tmp/durable-f01c4ff5/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-f01c4ff5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-10T06:17:17.499Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T06:17:17.539Z] Warning: overwriting stash ‘stack-cost’ [2021-05-10T06:17:17.692Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T06:17:17.713Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-87-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-10T06:17:18.575Z] provisioning config files... [2021-05-10T06:17:18.588Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-87@tmp/config8639161711958075466tmp [Pipeline] { [Pipeline] sh [2021-05-10T06:17:18.957Z] + set +x [2021-05-10T06:17:18.957Z] + bash -s -- [2021-05-10T06:17:18.957Z] + curl -s https://codecov.io/bash [2021-05-10T06:17:19.219Z] [2021-05-10T06:17:19.219Z] _____ _ [2021-05-10T06:17:19.219Z] / ____| | | [2021-05-10T06:17:19.219Z] | | ___ __| | ___ ___ _____ __ [2021-05-10T06:17:19.219Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-10T06:17:19.219Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-10T06:17:19.219Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-10T06:17:19.220Z] Bash-1.0.2 [2021-05-10T06:17:19.220Z] [2021-05-10T06:17:19.220Z] [2021-05-10T06:17:19.220Z] ==> git version 2.24.3 found [2021-05-10T06:17:19.220Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-10T06:17:19.220Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-10T06:17:19.220Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-10T06:17:19.220Z] ==> Jenkins CI detected. [2021-05-10T06:17:19.220Z] project root: . [2021-05-10T06:17:19.220Z] --> token set from env [2021-05-10T06:17:19.220Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-10T06:17:19.220Z] ==> Running gcov in . (disable via -X gcov) [2021-05-10T06:17:19.220Z] ==> Python coveragepy not found [2021-05-10T06:17:19.220Z] ==> Searching for coverage reports in: [2021-05-10T06:17:19.220Z] + . [2021-05-10T06:17:19.220Z] -> Found 1 reports [2021-05-10T06:17:19.220Z] ==> Detecting git/mercurial file structure [2021-05-10T06:17:19.220Z] ==> Reading reports [2021-05-10T06:17:19.220Z] + ./coverage.out bytes=8513 [2021-05-10T06:17:19.220Z] ==> Appending adjustments [2021-05-10T06:17:19.220Z] https://docs.codecov.io/docs/fixing-reports [2021-05-10T06:17:19.220Z] + Found adjustments [2021-05-10T06:17:19.220Z] ==> Gzipping contents [2021-05-10T06:17:19.220Z] 4.0K /tmp/codecov.GA7SoJ.gz [2021-05-10T06:17:19.220Z] ==> Uploading reports [2021-05-10T06:17:19.220Z] url: https://codecov.io [2021-05-10T06:17:19.220Z] query: branch=PR-87&commit=ad4e668cf7c442487f6980a78c3345134d00380f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-87%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=87&job=&cmd_args= [2021-05-10T06:17:19.220Z] -> Pinging Codecov [2021-05-10T06:17:19.220Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-87&commit=ad4e668cf7c442487f6980a78c3345134d00380f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-87%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=87&job=&cmd_args= [2021-05-10T06:17:19.794Z] -> Uploading to [2021-05-10T06:17:19.794Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-10/4E5D53B4F1F92C436F7061BF334D961C/ad4e668cf7c442487f6980a78c3345134d00380f/fc346754-df28-40c6-8c9b-bd7d600866d2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210510T061719Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=032f539db71dd564a9b6bfa48e1e8ae10825d7b9808614f3e80401e6e8a562e2 [2021-05-10T06:17:19.794Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-10T06:17:19.794Z] Dload Upload Total Spent Left Speed [2021-05-10T06:17:20.394Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1622 0 0 100 1622 0 2720 --:--:-- --:--:-- --:--:-- 2721 [2021-05-10T06:17:20.394Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/ad4e668cf7c442487f6980a78c3345134d00380f [Pipeline] } [2021-05-10T06:17:20.462Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:17:22.382Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:17:22.996Z] ---> package-listing.sh [2021-05-10T06:17:22.997Z] ++ facter osfamily [2021-05-10T06:17:22.997Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T06:17:22.997Z] + OS_FAMILY=redhat [2021-05-10T06:17:22.997Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-87 [2021-05-10T06:17:22.997Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T06:17:22.997Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T06:17:22.997Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T06:17:22.997Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T06:17:22.997Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-87 ']' [2021-05-10T06:17:22.997Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T06:17:22.997Z] + case "${OS_FAMILY}" in [2021-05-10T06:17:22.997Z] + rpm -qa [2021-05-10T06:17:22.997Z] + sort [2021-05-10T06:17:28.337Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T06:17:28.337Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T06:17:28.337Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T06:17:28.337Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-87 ']' [2021-05-10T06:17:28.337Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-87/archives/ [2021-05-10T06:17:28.337Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-87/archives/ [Pipeline] echo [2021-05-10T06:17:28.396Z] 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-87/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-10T06:17:28.717Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:17:29.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T06:17:29.061Z] [2021-05-10T06:17:29.061Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:17:29.425Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T06:17:29.425Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T06:17:29.425Z] df20fa9351a1: Pulling fs layer [2021-05-10T06:17:29.425Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T06:17:29.425Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T06:17:29.425Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T06:17:29.425Z] 93b61091891f: Pulling fs layer [2021-05-10T06:17:29.425Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T06:17:29.425Z] 5e14af77c1be: Pulling fs layer [2021-05-10T06:17:29.425Z] 01666e4c0597: Pulling fs layer [2021-05-10T06:17:29.425Z] aa168da1d23b: Pulling fs layer [2021-05-10T06:17:29.425Z] 46f8f816bc3b: Waiting [2021-05-10T06:17:29.425Z] 93b61091891f: Waiting [2021-05-10T06:17:29.425Z] 93b9cdb0e59b: Waiting [2021-05-10T06:17:29.425Z] 01666e4c0597: Waiting [2021-05-10T06:17:29.425Z] 5e14af77c1be: Waiting [2021-05-10T06:17:29.425Z] 36b3adc4ff6f: Verifying Checksum [2021-05-10T06:17:29.425Z] 36b3adc4ff6f: Download complete [2021-05-10T06:17:29.425Z] 46f8f816bc3b: Verifying Checksum [2021-05-10T06:17:29.425Z] 46f8f816bc3b: Download complete [2021-05-10T06:17:29.690Z] df20fa9351a1: Verifying Checksum [2021-05-10T06:17:29.690Z] df20fa9351a1: Download complete [2021-05-10T06:17:29.690Z] 93b61091891f: Verifying Checksum [2021-05-10T06:17:29.690Z] 93b61091891f: Download complete [2021-05-10T06:17:29.690Z] 93b9cdb0e59b: Verifying Checksum [2021-05-10T06:17:29.690Z] 93b9cdb0e59b: Download complete [2021-05-10T06:17:29.690Z] 5e14af77c1be: Verifying Checksum [2021-05-10T06:17:29.690Z] 5e14af77c1be: Download complete [2021-05-10T06:17:29.690Z] 01666e4c0597: Verifying Checksum [2021-05-10T06:17:29.690Z] 01666e4c0597: Download complete [2021-05-10T06:17:29.690Z] 8ad3a11d3b57: Verifying Checksum [2021-05-10T06:17:29.690Z] 8ad3a11d3b57: Download complete [2021-05-10T06:17:29.952Z] df20fa9351a1: Pull complete [2021-05-10T06:17:30.219Z] 36b3adc4ff6f: Pull complete [2021-05-10T06:17:31.178Z] 8ad3a11d3b57: Pull complete [2021-05-10T06:17:31.178Z] 46f8f816bc3b: Pull complete [2021-05-10T06:17:32.128Z] aa168da1d23b: Verifying Checksum [2021-05-10T06:17:32.128Z] aa168da1d23b: Download complete [2021-05-10T06:17:32.705Z] 93b61091891f: Pull complete [2021-05-10T06:17:32.705Z] 93b9cdb0e59b: Pull complete [2021-05-10T06:17:32.974Z] 5e14af77c1be: Pull complete [2021-05-10T06:17:32.974Z] 01666e4c0597: Pull complete [2021-05-10T06:17:39.654Z] aa168da1d23b: Pull complete [2021-05-10T06:17:39.655Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T06:17:39.655Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T06:17:39.655Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T06:17:39.894Z] prd-centos7-docker-4c-2g-3983 does not seem to be running inside a container [2021-05-10T06:17:39.946Z] $ 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-87/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-87 -v /w/workspace/dgexfoundry_device-rest-go_PR-87:/w/workspace/dgexfoundry_device-rest-go_PR-87:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-87@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-10T06:17:43.874Z] $ docker top c4b68727663914ca9d625c3aa3b4976370ac0cf177a655de46983c05321b701e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T06:17:44.334Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T06:17:44.701Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T06:17:45.034Z] + ls /var/log/sa-host [2021-05-10T06:17:45.034Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T06:17:45.034Z] file_magic: OK [2021-05-10T06:17:45.034Z] HZ: Using current value: 100 [2021-05-10T06:17:45.034Z] file_header: OK [2021-05-10T06:17:45.034Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-10T06:17:45.034Z] Statistics: [2021-05-10T06:17:45.034Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-10T06:17:45.034Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T06:17:45.034Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T06:17:45.034Z] file_magic: OK [2021-05-10T06:17:45.034Z] HZ: Using current value: 100 [2021-05-10T06:17:45.034Z] file_header: OK [2021-05-10T06:17:45.034Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-10T06:17:45.034Z] Statistics: [2021-05-10T06:17:45.034Z] Hnuu...uuuununununu... [2021-05-10T06:17:45.034Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T06:17:45.355Z] provisioning config files... [2021-05-10T06:17:45.376Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-87@tmp/config7808492348352847318tmp [Pipeline] { [Pipeline] echo [2021-05-10T06:17:45.441Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:17:45.792Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T06:17:45.817Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T06:17:45.900Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:17:46.265Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T06:17:46.299Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:17:46.650Z] ---> sudo-logs.sh [2021-05-10T06:17:46.650Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T06:17:46.763Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:17:47.108Z] ---> job-cost.sh [2021-05-10T06:17:47.108Z] lf-activate-venv: SKIPPING [2021-05-10T06:17:47.108Z] DEBUG: total: 0.20999999344348907 [2021-05-10T06:17:47.108Z] INFO: Retrieving Stack Cost... [2021-05-10T06:17:48.056Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T06:17:48.320Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T06:17:48.358Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:17:48.701Z] ---> logs-deploy.sh [2021-05-10T06:17:48.701Z] lf-activate-venv: SKIPPING [2021-05-10T06:17:48.701Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-87/1 [2021-05-10T06:17:48.701Z] INFO: archiving workspace using pattern(s): [2021-05-10T06:17:50.626Z] Archives upload complete. [2021-05-10T06:17:50.626Z] INFO: archiving logs to Nexus