Pull request #79 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 34dfda6b43d3ba6c1623e303afab23b574419b8f+8e1e7cb95d5530821e601db4473f34bcb708dd90 (c0f59e3212624a485fe2a3a130950bbfdd6b094b) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-79/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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-79/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1526 in /w/workspace/dgexfoundry_device-rest-go_PR-79 [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-79 # 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 8e1e7cb95d5530821e601db4473f34bcb708dd90 into PR head commit 34dfda6b43d3ba6c1623e303afab23b574419b8f Merge succeeded, producing 34dfda6b43d3ba6c1623e303afab23b574419b8f Checking out Revision 34dfda6b43d3ba6c1623e303afab23b574419b8f (PR-79) > 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/79/head:refs/remotes/origin/PR-79 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 34dfda6b43d3ba6c1623e303afab23b574419b8f # 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 8e1e7cb95d5530821e601db4473f34bcb708dd90 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 34dfda6b43d3ba6c1623e303afab23b574419b8f # timeout=10 Commit message: "build: update build files for v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:48:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:48:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:48:53 ========================================================= 05:48:53 EdgeX Global Pipelines Version Info 05:48:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:48:55 ------------------- 05:48:55 stable info: 05:48:55 ------------------- 05:48:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:48:55 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:48:55 Message: update stable to v1.0.186 05:48:56 ------------------- 05:48:56 experimental info: 05:48:56 ------------------- 05:48:56 Commited By: **** collab-it+edgex@linuxfoundation.org 05:48:56 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 05:48:56 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:48:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 05:48:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 05:48:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:48:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:48:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:48:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:48:56 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:48:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:48:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 05:48:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:48:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:48:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:48:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:48:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:48:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:48:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:48:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:48:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:48:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:48:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:48:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:48:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:48:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:48:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-79 [Pipeline] echo 05:48:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-79 [Pipeline] echo 05:48:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-79 [Pipeline] echo 05:48:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 34dfda6b43d3ba6c1623e303afab23b574419b8f [Pipeline] echo 05:48:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 34dfda6 [Pipeline] echo 05:48:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:48:58 provisioning config files... 05:48:58 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/config5432884500631768540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:48:58 ---> docker-login.sh 05:48:58 nexus3.edgexfoundry.org:10001 05:48:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:59 Configure a credential helper to remove this warning. See 05:48:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:59 05:48:59 Login Succeeded 05:48:59 nexus3.edgexfoundry.org:10002 05:48:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:59 Configure a credential helper to remove this warning. See 05:48:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:59 05:48:59 Login Succeeded 05:48:59 nexus3.edgexfoundry.org:10003 05:48:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:59 Configure a credential helper to remove this warning. See 05:48:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:59 05:48:59 Login Succeeded 05:48:59 nexus3.edgexfoundry.org:10004 05:48:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:59 Configure a credential helper to remove this warning. See 05:48:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:59 05:48:59 Login Succeeded 05:48:59 docker.io 05:48:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:00 Configure a credential helper to remove this warning. See 05:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:00 05:49:00 Login Succeeded 05:49:00 ---> docker-login.sh ends [Pipeline] } 05:49:00 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 05:49:01 + git log --format=format:%s -1 34dfda6b43d3ba6c1623e303afab23b574419b8f [Pipeline] echo 05:49:01 GIT_COMMIT: 34dfda6b43d3ba6c1623e303afab23b574419b8f, Commit Message: build: update build files for v2 [Pipeline] echo 05:49:01 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:49:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:49:02 05:49:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:49:02 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:49:02 latest: Pulling from edgex-devops/git-semver 05:49:02 31603596830f: Pulling fs layer 05:49:02 2a8b12db71e7: Pulling fs layer 05:49:02 6ca5941a6612: Pulling fs layer 05:49:02 ecc8261a40a4: Pulling fs layer 05:49:02 ecc8261a40a4: Waiting 05:49:02 2a8b12db71e7: Verifying Checksum 05:49:02 2a8b12db71e7: Download complete 05:49:02 31603596830f: Verifying Checksum 05:49:02 31603596830f: Download complete 05:49:03 ecc8261a40a4: Download complete 05:49:03 6ca5941a6612: Verifying Checksum 05:49:03 6ca5941a6612: Download complete 05:49:03 31603596830f: Pull complete 05:49:03 2a8b12db71e7: Pull complete 05:49:04 6ca5941a6612: Pull complete 05:49:04 ecc8261a40a4: Pull complete 05:49:04 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:49:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:49:04 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:49:04 prd-centos7-docker-4c-2g-1526 does not seem to be running inside a container 05:49:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-79 -v /w/workspace/dgexfoundry_device-rest-go_PR-79:/w/workspace/dgexfoundry_device-rest-go_PR-79:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-79@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:49:07 $ docker top b67b4282191aece3b4c03094b10a127ddbacfbd980a4a3a19a8e0403aff5e633 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:49:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:49:07 [ssh-agent] Looking for ssh-agent implementation... 05:49:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:49:08 $ docker exec b67b4282191aece3b4c03094b10a127ddbacfbd980a4a3a19a8e0403aff5e633 ssh-agent 05:49:08 SSH_AUTH_SOCK=/tmp/ssh-hOXD7aldCtgF/agent.11 05:49:08 SSH_AGENT_PID=16 05:49:08 Running ssh-add (command line suppressed) 05:49:08 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/private_key_493403353303232712.key (/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/private_key_493403353303232712.key) 05:49:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:49:08 + git tag --points-at HEAD [Pipeline] } 05:49:08 $ docker exec --env ******** --env ******** b67b4282191aece3b4c03094b10a127ddbacfbd980a4a3a19a8e0403aff5e633 ssh-agent -k 05:49:09 unset SSH_AUTH_SOCK; 05:49:09 unset SSH_AGENT_PID; 05:49:09 echo Agent pid 16 killed; 05:49:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:49:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:49:09 [ssh-agent] Looking for ssh-agent implementation... 05:49:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:49:09 $ docker exec b67b4282191aece3b4c03094b10a127ddbacfbd980a4a3a19a8e0403aff5e633 ssh-agent 05:49:09 SSH_AUTH_SOCK=/tmp/ssh-HilKGwyEydNE/agent.46 05:49:09 SSH_AGENT_PID=52 05:49:09 Running ssh-add (command line suppressed) 05:49:09 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/private_key_3466430308314487189.key (/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/private_key_3466430308314487189.key) 05:49:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:49:10 + git semver init 05:49:10 # -> Open(): unable to determine branch for HEAD 05:49:10 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-79/.git 05:49:10 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-79 05:49:10 # $SEMVER_REMOTE_NAME = origin 05:49:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:49:10 # $SEMVER_USER_NAME = edgex-jenkins 05:49:10 # $SEMVER_BRANCH = PR-79 05:49:10 # $SEMVER_TEMP = /tmp/semver-269974277 05:49:10 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 05:49:11 # '/tmp/semver-269974277' -> '/w/workspace/dgexfoundry_device-rest-go_PR-79/.semver' 05:49:11 # -> Force: false 05:49:11 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-79/.semver [Pipeline] } 05:49:11 $ docker exec --env ******** --env ******** b67b4282191aece3b4c03094b10a127ddbacfbd980a4a3a19a8e0403aff5e633 ssh-agent -k 05:49:11 unset SSH_AUTH_SOCK; 05:49:11 unset SSH_AGENT_PID; 05:49:11 echo Agent pid 52 killed; 05:49:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:49:12 + git semver [Pipeline] } 05:49:12 $ docker stop --time=1 b67b4282191aece3b4c03094b10a127ddbacfbd980a4a3a19a8e0403aff5e633 05:49:13 $ docker rm -f b67b4282191aece3b4c03094b10a127ddbacfbd980a4a3a19a8e0403aff5e633 [Pipeline] // withDockerContainer [Pipeline] sh 05:49:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:49:14 Stashed 1 file(s) [Pipeline] echo 05:49:14 [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 05:49:30 Still waiting to schedule task 05:49:30 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1526’ 05:49:30 Still waiting to schedule task 05:49:30 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:51:20 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1527 in /w/workspace/dgexfoundry_device-rest-go_PR-79 [Pipeline] { [Pipeline] ws 05:51:20 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 05:51:25 using credential edgex-jenkins-ssh 05:51:25 Cloning the remote Git repository 05:51:26 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 05:51:26 > git init /w/workspace/device-rest-go/1 # timeout=10 05:51:26 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:51:26 > git --version # timeout=10 05:51:26 > git --version # 'git version 2.17.1' 05:51:26 using GIT_SSH to set credentials SSH Credentials for GitHub 05:51:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:51:27 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:51:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:51:27 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:51:27 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:51:27 using GIT_SSH to set credentials SSH Credentials for GitHub 05:51:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/79/head:refs/remotes/origin/PR-79 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:51:28 Merging remotes/origin/master commit 8e1e7cb95d5530821e601db4473f34bcb708dd90 into PR head commit 34dfda6b43d3ba6c1623e303afab23b574419b8f 05:51:28 Merge succeeded, producing 34dfda6b43d3ba6c1623e303afab23b574419b8f 05:51:28 Checking out Revision 34dfda6b43d3ba6c1623e303afab23b574419b8f (PR-79) 05:51:28 > git config core.sparsecheckout # timeout=10 05:51:28 > git checkout -f 34dfda6b43d3ba6c1623e303afab23b574419b8f # timeout=10 05:51:28 > git remote # timeout=10 05:51:28 > git config --get remote.origin.url # timeout=10 05:51:28 using GIT_SSH to set credentials SSH Credentials for GitHub 05:51:28 > git merge 8e1e7cb95d5530821e601db4473f34bcb708dd90 # timeout=10 05:51:28 > git rev-parse HEAD^{commit} # timeout=10 05:51:28 > git config core.sparsecheckout # timeout=10 05:51:28 > git checkout -f 34dfda6b43d3ba6c1623e303afab23b574419b8f # timeout=10 05:51:32 Commit message: "build: update build files for v2" 05:51:32 > git --version # timeout=10 05:51:32 > git --version # 'git version 2.17.1' 05:51:32 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:51:34 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:51:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:51:35 + + sudo servicetrue docker 05:51:35 restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:51:38 provisioning config files... 05:51:38 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config6619295227641676554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:51:38 ---> docker-login.sh 05:51:38 nexus3.edgexfoundry.org:10001 05:51:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:40 Configure a credential helper to remove this warning. See 05:51:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:40 05:51:40 Login Succeeded 05:51:40 nexus3.edgexfoundry.org:10002 05:51:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:40 Configure a credential helper to remove this warning. See 05:51:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:40 05:51:40 Login Succeeded 05:51:40 nexus3.edgexfoundry.org:10003 05:51:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:41 Configure a credential helper to remove this warning. See 05:51:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:41 05:51:41 Login Succeeded 05:51:41 nexus3.edgexfoundry.org:10004 05:51:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:41 Configure a credential helper to remove this warning. See 05:51:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:41 05:51:41 Login Succeeded 05:51:41 docker.io 05:51:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:42 Configure a credential helper to remove this warning. See 05:51:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:42 05:51:42 Login Succeeded 05:51:42 ---> docker-login.sh ends [Pipeline] } 05:51:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:51:42 ========================================================= 05:51:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:51:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:51:43 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 05:51:43 Sending build context to Docker daemon 93.18kB 05:51:43 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 05:51:43 Step 2/10 : FROM ${BASE} 05:51:43 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:51:43 5f621e34cdf4: Pulling fs layer 05:51:43 a4357932f1b6: Pulling fs layer 05:51:43 18c013af1878: Pulling fs layer 05:51:43 00ac8860ef70: Pulling fs layer 05:51:43 63d7cb157983: Pulling fs layer 05:51:43 b116817d02f9: Pulling fs layer 05:51:43 745a02a5169b: Pulling fs layer 05:51:43 b116817d02f9: Waiting 05:51:43 745a02a5169b: Waiting 05:51:43 00ac8860ef70: Waiting 05:51:43 63d7cb157983: Waiting 05:51:43 18c013af1878: Verifying Checksum 05:51:43 18c013af1878: Download complete 05:51:43 a4357932f1b6: Verifying Checksum 05:51:43 a4357932f1b6: Download complete 05:51:43 63d7cb157983: Verifying Checksum 05:51:43 63d7cb157983: Download complete 05:51:43 b116817d02f9: Download complete 05:51:43 5f621e34cdf4: Verifying Checksum 05:51:43 5f621e34cdf4: Download complete 05:51:44 5f621e34cdf4: Pull complete 05:51:44 a4357932f1b6: Pull complete 05:51:45 18c013af1878: Pull complete 05:51:46 745a02a5169b: Verifying Checksum 05:51:46 745a02a5169b: Download complete 05:51:47 00ac8860ef70: Verifying Checksum 05:51:47 00ac8860ef70: Download complete 05:51:57 00ac8860ef70: Pull complete 05:51:57 63d7cb157983: Pull complete 05:51:58 b116817d02f9: Pull complete 05:52:02 745a02a5169b: Pull complete 05:52:02 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:52:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:52:02 ---> b7e6874047d6 05:52:02 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:52:04 ---> Running in 123dfa3a188e 05:52:04 Removing intermediate container 123dfa3a188e 05:52:04 ---> 37847d2bdc25 05:52:04 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 05:52:05 ---> Running in 89727767a26f 05:52:05 Removing intermediate container 89727767a26f 05:52:05 ---> c586634b8890 05:52:05 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 05:52:05 ---> Running in 0ad556a20d62 05:52:06 Removing intermediate container 0ad556a20d62 05:52:06 ---> 3cdd12910f38 05:52:06 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:52:06 ---> Running in b050067d014e 05:52:08 Removing intermediate container b050067d014e 05:52:08 ---> 74fc25214f4f 05:52:08 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:52:08 ---> Running in e10ea41c84d2 05:52:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:52:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:52:11 (1/9) Installing libc-dev (0.7.2-r3) 05:52:11 (2/9) Installing libsodium (1.0.18-r0) 05:52:11 (3/9) Installing pkgconf (1.7.2-r0) 05:52:11 (4/9) Installing libsodium-dev (1.0.18-r0) 05:52:11 (5/9) Installing openssh-keygen (8.3_p1-r2) 05:52:11 (6/9) Installing libedit (20191231.3.1-r0) 05:52:12 (7/9) Installing openssh-client (8.3_p1-r2) 05:52:12 (8/9) Installing libzmq (4.3.3-r0) 05:52:12 (9/9) Installing zeromq-dev (4.3.3-r0) 05:52:12 Executing busybox-1.31.1-r19.trigger 05:52:12 OK: 148 MiB in 48 packages 05:52:14 Removing intermediate container e10ea41c84d2 05:52:14 ---> 33749ce0fb77 05:52:14 Step 8/10 : WORKDIR /device-rest-go 05:52:14 ---> Running in 8383fe0e2e6a 05:52:14 Removing intermediate container 8383fe0e2e6a 05:52:14 ---> f38157b6b930 05:52:14 Step 9/10 : COPY . . 05:52:15 ---> ed5940c7fe08 05:52:15 Step 10/10 : RUN go mod download 05:52:15 ---> Running in 55f081debea1 05:52:42 Removing intermediate container 55f081debea1 05:52:42 ---> 56879f7d11ea 05:52:42 Successfully built 56879f7d11ea 05:52:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:52:42 + docker inspect -f . ci-base-image-arm64 05:52:42 . [Pipeline] withDockerContainer 05:52:43 prd-ubuntu18.04-docker-arm64-4c-16g-1527 does not seem to be running inside a container 05:52:43 Running on prd-centos7-docker-4c-2g-1528 in /w/workspace/dgexfoundry_device-rest-go_PR-79 05:52:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:52:44 $ docker top 7edcca444de04531694d8c04cb7c3be150e86b5c7e89528a6e8e8a7628d9dfae -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws 05:52:45 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 05:52:45 + go version 05:52:45 go version go1.15.5 linux/arm64 [Pipeline] } 05:52:45 $ docker stop --time=1 7edcca444de04531694d8c04cb7c3be150e86b5c7e89528a6e8e8a7628d9dfae 05:52:47 $ docker rm -f 7edcca444de04531694d8c04cb7c3be150e86b5c7e89528a6e8e8a7628d9dfae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:52:48 + docker inspect -f . ci-base-image-arm64 05:52:48 . [Pipeline] withDockerContainer 05:52:48 prd-ubuntu18.04-docker-arm64-4c-16g-1527 does not seem to be running inside a container 05:52:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:52:50 $ docker top ff5e4b360d6c28d6a826c2bedae016eded1b8e8187b89778946089da7b2b3316 -eo pid,comm [Pipeline] { [Pipeline] sh 05:52:51 + make test 05:52:51 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:52:52 ? github.com/edgexfoundry/device-rest-go [no test files] 05:52:54 using credential edgex-jenkins-ssh 05:52:54 Cloning the remote Git repository 05:52:54 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 05:52:54 > git init /w/workspace/device-rest-go/1 # timeout=10 05:52:55 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:52:55 > git --version # timeout=10 05:52:55 > git --version # 'git version 2.24.3' 05:52:55 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:52:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:52:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:52:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:52:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:52:57 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/79/head:refs/remotes/origin/PR-79 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:52:57 Merging remotes/origin/master commit 8e1e7cb95d5530821e601db4473f34bcb708dd90 into PR head commit 34dfda6b43d3ba6c1623e303afab23b574419b8f 05:52:57 Merge succeeded, producing 34dfda6b43d3ba6c1623e303afab23b574419b8f 05:52:57 Checking out Revision 34dfda6b43d3ba6c1623e303afab23b574419b8f (PR-79) 05:52:57 > git config core.sparsecheckout # timeout=10 05:52:57 > git checkout -f 34dfda6b43d3ba6c1623e303afab23b574419b8f # timeout=10 05:52:57 > git remote # timeout=10 05:52:57 > git config --get remote.origin.url # timeout=10 05:52:57 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:57 > git merge 8e1e7cb95d5530821e601db4473f34bcb708dd90 # timeout=10 05:52:57 > git rev-parse HEAD^{commit} # timeout=10 05:52:57 > git config core.sparsecheckout # timeout=10 05:52:57 > git checkout -f 34dfda6b43d3ba6c1623e303afab23b574419b8f # timeout=10 05:53:02 Commit message: "build: update build files for v2" 05:53:02 > git --version # timeout=10 05:53:02 > git --version # 'git version 2.24.3' 05:53:02 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:53:04 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:53:04 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:53:05 + sudo service docker restart 05:53:05 + true 05:53:05 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:53:07 provisioning config files... 05:53:07 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2367931722135457593tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:07 ---> docker-login.sh 05:53:07 nexus3.edgexfoundry.org:10001 05:53:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:09 Configure a credential helper to remove this warning. See 05:53:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:09 05:53:09 Login Succeeded 05:53:09 nexus3.edgexfoundry.org:10002 05:53:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:09 Configure a credential helper to remove this warning. See 05:53:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:09 05:53:09 Login Succeeded 05:53:10 nexus3.edgexfoundry.org:10003 05:53:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:10 Configure a credential helper to remove this warning. See 05:53:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:10 05:53:10 Login Succeeded 05:53:10 nexus3.edgexfoundry.org:10004 05:53:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:11 Configure a credential helper to remove this warning. See 05:53:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:11 05:53:11 Login Succeeded 05:53:11 docker.io 05:53:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:12 Configure a credential helper to remove this warning. See 05:53:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:12 05:53:12 Login Succeeded 05:53:12 ---> docker-login.sh ends [Pipeline] } 05:53:12 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:53:12 ========================================================= 05:53:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:53:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:53:12 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 05:53:12 Sending build context to Docker daemon 93.18kB 05:53:13 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 05:53:13 Step 2/10 : FROM ${BASE} 05:53:13 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:53:13 188c0c94c7c5: Pulling fs layer 05:53:13 0ef7d3d256c8: Pulling fs layer 05:53:13 de9db76c5a1d: Pulling fs layer 05:53:13 bca2f99d35d6: Pulling fs layer 05:53:13 93359f2a8cfa: Pulling fs layer 05:53:13 7c6f9722023f: Pulling fs layer 05:53:13 a35cf1a2eb13: Pulling fs layer 05:53:13 bca2f99d35d6: Waiting 05:53:13 93359f2a8cfa: Waiting 05:53:13 7c6f9722023f: Waiting 05:53:13 a35cf1a2eb13: Waiting 05:53:13 de9db76c5a1d: Verifying Checksum 05:53:13 de9db76c5a1d: Download complete 05:53:13 0ef7d3d256c8: Download complete 05:53:13 93359f2a8cfa: Download complete 05:53:13 188c0c94c7c5: Verifying Checksum 05:53:13 7c6f9722023f: Verifying Checksum 05:53:13 7c6f9722023f: Download complete 05:53:13 188c0c94c7c5: Pull complete 05:53:13 0ef7d3d256c8: Pull complete 05:53:13 de9db76c5a1d: Pull complete 05:53:15 a35cf1a2eb13: Verifying Checksum 05:53:15 a35cf1a2eb13: Download complete 05:53:16 bca2f99d35d6: Verifying Checksum 05:53:16 bca2f99d35d6: Download complete 05:53:29 bca2f99d35d6: Pull complete 05:53:29 93359f2a8cfa: Pull complete 05:53:29 7c6f9722023f: Pull complete 05:53:35 a35cf1a2eb13: Pull complete 05:53:35 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:53:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:53:35 ---> a62c8e92a672 05:53:35 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:53:35 ---> Running in 6e00a459d2b6 05:53:35 Removing intermediate container 6e00a459d2b6 05:53:35 ---> c25df661ae3e 05:53:35 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 05:53:36 ---> Running in 45d3e3f2f360 05:53:36 Removing intermediate container 45d3e3f2f360 05:53:36 ---> 99ac2b110edd 05:53:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 05:53:36 ---> Running in 915ef8671cc0 05:53:37 Removing intermediate container 915ef8671cc0 05:53:37 ---> d0c0353f8fe7 05:53:37 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:53:37 ---> Running in d838249a833f 05:53:39 Removing intermediate container d838249a833f 05:53:39 ---> 09cec10a6221 05:53:39 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:53:39 ---> Running in 929f2076b413 05:53:39 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 05:53:39 ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 54.0% of statements 05:53:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:53:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:53:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:53:41 (1/9) Installing libc-dev (0.7.2-r3) 05:53:41 (2/9) Installing libsodium (1.0.18-r0) 05:53:41 (3/9) Installing pkgconf (1.7.2-r0) 05:53:41 (4/9) Installing libsodium-dev (1.0.18-r0) 05:53:41 (5/9) Installing openssh-keygen (8.3_p1-r2) 05:53:42 (6/9) Installing libedit (20191231.3.1-r0) 05:53:42 (7/9) Installing openssh-client (8.3_p1-r2) 05:53:42 (8/9) Installing libzmq (4.3.3-r0) 05:53:43 (9/9) Installing zeromq-dev (4.3.3-r0) 05:53:43 Executing busybox-1.31.1-r19.trigger 05:53:43 OK: 171 MiB in 48 packages 05:53:44 Removing intermediate container 929f2076b413 05:53:44 ---> 9d94f47202ea 05:53:44 Step 8/10 : WORKDIR /device-rest-go 05:53:44 ---> Running in 38abe99a954c 05:53:44 Removing intermediate container 38abe99a954c 05:53:44 ---> 9a8c73ffdbfd 05:53:44 Step 9/10 : COPY . . 05:53:44 ---> 6640e374ffca 05:53:44 Step 10/10 : RUN go mod download 05:53:44 ---> Running in 68bff750863e 05:53:46 gofmt -l . 05:53:46 [ "`gofmt -l .`" = "" ] 05:53:46 ./bin/test-go-mod-tidy.sh 05:53:47 ./bin/test-attribution-txt.sh [Pipeline] } 05:53:48 $ docker stop --time=1 ff5e4b360d6c28d6a826c2bedae016eded1b8e8187b89778946089da7b2b3316 05:53:51 $ docker rm -f ff5e4b360d6c28d6a826c2bedae016eded1b8e8187b89778946089da7b2b3316 [Pipeline] // withDockerContainer [Pipeline] sh 05:53:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:53:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:53:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:53:55 + ls -al . 05:53:55 total 132 05:53:55 drwxrwxr-x 8 jenkins jenkins 4096 Apr 23 05:53 . 05:53:55 drwxrwxr-x 4 jenkins jenkins 4096 Apr 23 05:51 .. 05:53:55 -rw-rw-r-- 1 jenkins jenkins 151 Apr 23 05:51 .dockerignore 05:53:55 drwxrwxr-x 8 jenkins jenkins 4096 Apr 23 05:51 .git 05:53:55 drwxrwxr-x 2 jenkins jenkins 4096 Apr 23 05:51 .github 05:53:55 -rw-rw-r-- 1 jenkins jenkins 339 Apr 23 05:51 .gitignore 05:53:55 -rw-rw-r-- 1 jenkins jenkins 6792 Apr 23 05:51 Attribution.txt 05:53:55 -rw-rw-r-- 1 jenkins jenkins 1602 Apr 23 05:51 Dockerfile 05:53:55 -rw-rw-r-- 1 jenkins jenkins 1087 Apr 23 05:51 Dockerfile.build 05:53:55 -rw-rw-r-- 1 jenkins jenkins 680 Apr 23 05:51 Jenkinsfile 05:53:55 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 23 05:51 LICENSE 05:53:55 -rw-rw-r-- 1 jenkins jenkins 996 Apr 23 05:51 Makefile 05:53:55 -rw-rw-r-- 1 jenkins jenkins 7667 Apr 23 05:51 README.md 05:53:55 -rw-rw-r-- 1 jenkins jenkins 5 Apr 23 05:49 VERSION 05:53:55 drwxrwxr-x 2 jenkins jenkins 4096 Apr 23 05:51 bin 05:53:55 drwxrwxr-x 3 jenkins jenkins 4096 Apr 23 05:51 cmd 05:53:55 -rw-r--r-- 1 jenkins jenkins 8513 Apr 23 05:53 coverage.out 05:53:55 drwxrwxr-x 2 jenkins jenkins 4096 Apr 23 05:51 driver 05:53:55 -rw-r--r-- 1 jenkins jenkins 285 Apr 23 05:53 go.mod 05:53:55 -rw-r--r-- 1 jenkins jenkins 21331 Apr 23 05:53 go.sum 05:53:55 drwxrwxr-x 4 jenkins jenkins 4096 Apr 23 05:51 snap 05:53:55 -rw-rw-r-- 1 jenkins jenkins 713 Apr 23 05:51 version.go [Pipeline] isUnix [Pipeline] sh 05:53:56 + 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=34dfda6b43d3ba6c1623e303afab23b574419b8f --label arch=arm64 --label version=0.0.0 . 05:53:56 Sending build context to Docker daemon 102.9kB 05:53:56 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 05:53:56 Step 2/24 : FROM ${BASE} AS builder 05:53:56 ---> 56879f7d11ea 05:53:56 Step 3/24 : ARG MAKE='make build' 05:53:56 ---> Running in 7cd4f9e6e12f 05:53:57 Removing intermediate container 7cd4f9e6e12f 05:53:57 ---> 69c79416e989 05:53:57 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:53:57 ---> Running in ae8377105b94 05:53:58 Removing intermediate container ae8377105b94 05:53:58 ---> 044df720502a 05:53:58 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:53:58 ---> Running in 007b536c46ce 05:53:58 Removing intermediate container 007b536c46ce 05:53:58 ---> 378efc866046 05:53:58 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:53:58 ---> Running in 32f640f1b095 05:54:01 Removing intermediate container 32f640f1b095 05:54:01 ---> e5283fd48d44 05:54:01 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:54:01 ---> Running in aa1eb020fded 05:54:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:54:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:54:03 OK: 148 MiB in 48 packages 05:54:04 Removing intermediate container aa1eb020fded 05:54:04 ---> 8078561b1e7f 05:54:04 Step 8/24 : WORKDIR /device-rest-go 05:54:05 ---> Running in d3f1a686b1e0 05:54:05 Removing intermediate container d3f1a686b1e0 05:54:05 ---> 0c98baecc874 05:54:05 Step 9/24 : COPY . . 05:54:06 ---> 17598e4db7f7 05:54:06 Step 10/24 : RUN make update 05:54:06 ---> Running in 962722ac3b92 05:54:07 CGO_ENABLED=0 GO111MODULE=on go mod download 05:54:09 Removing intermediate container 962722ac3b92 05:54:09 ---> 284b1621b395 05:54:09 Step 11/24 : RUN $MAKE 05:54:09 ---> Running in ad85266acc5d 05:54:10 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 05:54:17 Removing intermediate container 68bff750863e 05:54:17 ---> fa570888d1c7 05:54:17 Successfully built fa570888d1c7 05:54:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:54:17 + docker inspect -f . ci-base-image-x86_64 05:54:18 . [Pipeline] withDockerContainer 05:54:18 prd-centos7-docker-4c-2g-1528 does not seem to be running inside a container 05:54:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:54:19 $ docker top b94ebca912965c4223e1429672bffcc24081907747c5d91b3f7c41c1262a1399 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:20 + go version 05:54:20 go version go1.15.5 linux/amd64 [Pipeline] } 05:54:20 $ docker stop --time=1 b94ebca912965c4223e1429672bffcc24081907747c5d91b3f7c41c1262a1399 05:54:21 $ docker rm -f b94ebca912965c4223e1429672bffcc24081907747c5d91b3f7c41c1262a1399 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:54:22 + docker inspect -f . ci-base-image-x86_64 05:54:22 . [Pipeline] withDockerContainer 05:54:22 prd-centos7-docker-4c-2g-1528 does not seem to be running inside a container 05:54:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:54:23 $ docker top 95bfc4f62de2cdf47a6e55f4adc77f3ac0e8688bee46da4951af16f5fbbe691b -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:24 + make test 05:54:24 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:54:26 ? github.com/edgexfoundry/device-rest-go [no test files] 05:54:49 Removing intermediate container ad85266acc5d 05:54:49 ---> 90fff9cfa548 05:54:49 Step 12/24 : FROM alpine:3.12 05:54:49 3.12: Pulling from library/alpine 05:54:49 d2f70382dc9a: Pulling fs layer 05:54:49 d2f70382dc9a: Verifying Checksum 05:54:49 d2f70382dc9a: Download complete 05:54:49 d2f70382dc9a: Pull complete 05:54:49 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:54:49 Status: Downloaded newer image for alpine:3.12 05:54:49 ---> 9852663dfa18 05:54:49 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 05:54:49 ---> Running in 43a4f93ae798 05:54:49 Removing intermediate container 43a4f93ae798 05:54:49 ---> 9ba63ccb83d8 05:54:49 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 05:54:49 ---> Running in 8ab2026ceecc 05:54:49 Removing intermediate container 8ab2026ceecc 05:54:49 ---> ca5fe5a15c38 05:54:49 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 05:54:49 ---> Running in 64d9921597c4 05:54:49 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:54:49 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:54:50 (1/6) Installing dumb-init (1.2.2-r1) 05:54:50 (2/6) Installing libgcc (9.3.0-r2) 05:54:50 (3/6) Installing libsodium (1.0.18-r0) 05:54:50 (4/6) Installing libstdc++ (9.3.0-r2) 05:54:50 (5/6) Installing libzmq (4.3.3-r0) 05:54:50 (6/6) Installing zeromq (4.3.3-r0) 05:54:50 Executing busybox-1.31.1-r20.trigger 05:54:50 OK: 8 MiB in 20 packages 05:54:51 Removing intermediate container 64d9921597c4 05:54:51 ---> cf2e2a81a007 05:54:51 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 05:54:53 ---> a462f27a6d8f 05:54:53 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 05:54:53 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 05:54:53 ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 54.0% of statements 05:54:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:54:53 ---> f73f98d4f2e7 05:54:53 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 05:54:54 ---> 5020d6686e9d 05:54:54 Step 19/24 : EXPOSE 49986 05:54:54 ---> Running in 623f7a6913f8 05:54:55 Removing intermediate container 623f7a6913f8 05:54:55 ---> 4e836f807efb 05:54:55 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 05:54:55 ---> Running in a8b55f7967a4 05:54:56 Removing intermediate container a8b55f7967a4 05:54:56 ---> 086c1997c18e 05:54:56 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:54:56 ---> Running in e9c79c542dee 05:54:56 Removing intermediate container e9c79c542dee 05:54:56 ---> 062af54a1a07 05:54:56 Step 22/24 : LABEL arch=arm64 05:54:56 ---> Running in 894f693d9753 05:54:56 Removing intermediate container 894f693d9753 05:54:56 ---> 9ec95668a54a 05:54:56 Step 23/24 : LABEL git_sha=34dfda6b43d3ba6c1623e303afab23b574419b8f 05:54:57 ---> Running in eb25b99ff91e 05:54:57 Removing intermediate container eb25b99ff91e 05:54:57 ---> 287354e9ca9e 05:54:57 Step 24/24 : LABEL version=0.0.0 05:54:57 ---> Running in ec650dd5f605 05:54:58 Removing intermediate container ec650dd5f605 05:54:58 ---> f3895520040c 05:54:58 [Warning] One or more build-args [ARCH] were not consumed 05:54:58 Successfully built f3895520040c 05:54:58 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 05:54:59 gofmt -l . 05:54:59 [ "`gofmt -l .`" = "" ] 05:54:59 ./bin/test-go-mod-tidy.sh 05:54:59 ---> job-cost.sh 05:54:59 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tn9H 05:55:00 ./bin/test-attribution-txt.sh [Pipeline] } 05:55:01 $ docker stop --time=1 95bfc4f62de2cdf47a6e55f4adc77f3ac0e8688bee46da4951af16f5fbbe691b 05:55:02 $ docker rm -f 95bfc4f62de2cdf47a6e55f4adc77f3ac0e8688bee46da4951af16f5fbbe691b [Pipeline] // withDockerContainer [Pipeline] sh 05:55:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:55:03 Warning: overwriting stash ‘coverage-report’ 05:55:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:55:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:55:05 + ls -al . 05:55:05 total 104 05:55:05 drwxrwxr-x. 8 jenkins jenkins 4096 Apr 23 05:55 . 05:55:05 drwxrwxr-x. 4 jenkins jenkins 28 Apr 23 05:52 .. 05:55:05 -rw-rw-r--. 1 jenkins jenkins 6792 Apr 23 05:52 Attribution.txt 05:55:05 drwxrwxr-x. 2 jenkins jenkins 64 Apr 23 05:52 bin 05:55:05 drwxrwxr-x. 3 jenkins jenkins 32 Apr 23 05:52 cmd 05:55:05 -rw-r--r--. 1 jenkins jenkins 8513 Apr 23 05:54 coverage.out 05:55:05 -rw-rw-r--. 1 jenkins jenkins 1602 Apr 23 05:52 Dockerfile 05:55:05 -rw-rw-r--. 1 jenkins jenkins 1087 Apr 23 05:52 Dockerfile.build 05:55:05 -rw-rw-r--. 1 jenkins jenkins 151 Apr 23 05:52 .dockerignore 05:55:05 drwxrwxr-x. 2 jenkins jenkins 76 Apr 23 05:52 driver 05:55:05 drwxrwxr-x. 8 jenkins jenkins 179 Apr 23 05:53 .git 05:55:05 drwxrwxr-x. 2 jenkins jenkins 103 Apr 23 05:52 .github 05:55:05 -rw-rw-r--. 1 jenkins jenkins 339 Apr 23 05:52 .gitignore 05:55:05 -rw-r--r--. 1 jenkins jenkins 285 Apr 23 05:54 go.mod 05:55:05 -rw-r--r--. 1 jenkins jenkins 21331 Apr 23 05:55 go.sum 05:55:05 -rw-rw-r--. 1 jenkins jenkins 680 Apr 23 05:52 Jenkinsfile 05:55:05 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 23 05:52 LICENSE 05:55:05 -rw-rw-r--. 1 jenkins jenkins 996 Apr 23 05:52 Makefile 05:55:05 -rw-rw-r--. 1 jenkins jenkins 7667 Apr 23 05:52 README.md 05:55:05 drwxrwxr-x. 4 jenkins jenkins 71 Apr 23 05:52 snap 05:55:05 -rw-rw-r--. 1 jenkins jenkins 5 Apr 23 05:49 VERSION 05:55:05 -rw-rw-r--. 1 jenkins jenkins 713 Apr 23 05:52 version.go [Pipeline] isUnix [Pipeline] sh 05:55:05 + 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=34dfda6b43d3ba6c1623e303afab23b574419b8f --label arch=amd64 --label version=0.0.0 . 05:55:05 Sending build context to Docker daemon 102.9kB 05:55:06 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 05:55:06 Step 2/24 : FROM ${BASE} AS builder 05:55:06 ---> fa570888d1c7 05:55:06 Step 3/24 : ARG MAKE='make build' 05:55:06 ---> Running in 9c9c943aaed5 05:55:06 Removing intermediate container 9c9c943aaed5 05:55:06 ---> 35fd9746ce92 05:55:06 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:55:06 ---> Running in adfaa64c0105 05:55:07 Removing intermediate container adfaa64c0105 05:55:07 ---> 1515ca93b812 05:55:07 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:55:07 ---> Running in fb418df343ba 05:55:07 Removing intermediate container fb418df343ba 05:55:07 ---> 97e82e440497 05:55:07 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:55:07 ---> Running in da8c77f86155 05:55:09 Removing intermediate container da8c77f86155 05:55:09 ---> 31fcf66bffda 05:55:09 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:55:09 ---> Running in f3e6736942bf 05:55:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:55:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:55:11 OK: 171 MiB in 48 packages 05:55:12 Removing intermediate container f3e6736942bf 05:55:12 ---> 4a31e884ad27 05:55:12 Step 8/24 : WORKDIR /device-rest-go 05:55:12 ---> Running in d29c6437334d 05:55:12 Removing intermediate container d29c6437334d 05:55:12 ---> fd8bb3983c34 05:55:12 Step 9/24 : COPY . . 05:55:13 ---> c36b193b7cda 05:55:13 Step 10/24 : RUN make update 05:55:13 ---> Running in a3386a392c91 05:55:14 CGO_ENABLED=0 GO111MODULE=on go mod download 05:55:16 Removing intermediate container a3386a392c91 05:55:16 ---> 291cfb9ab02a 05:55:16 Step 11/24 : RUN $MAKE 05:55:16 ---> Running in 47761b3467a3 05:55:16 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 05:55:38 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:55:43 Removing intermediate container 47761b3467a3 05:55:43 ---> d7254fdef7be 05:55:43 Step 12/24 : FROM alpine:3.12 05:55:43 3.12: Pulling from library/alpine 05:55:43 339de151aab4: Pulling fs layer 05:55:43 339de151aab4: Verifying Checksum 05:55:43 339de151aab4: Download complete 05:55:43 339de151aab4: Pull complete 05:55:43 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:55:43 Status: Downloaded newer image for alpine:3.12 05:55:43 ---> 13621d1b12d4 05:55:43 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 05:55:43 ---> Running in e734d0648600 05:55:43 Removing intermediate container e734d0648600 05:55:43 ---> 80d0dbf4b8e7 05:55:43 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 05:55:43 ---> Running in f0ae3254bc67 05:55:43 Removing intermediate container f0ae3254bc67 05:55:43 ---> 108f6d4564b2 05:55:43 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 05:55:43 ---> Running in f7fe8b240d73 05:55:43 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:55:43 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:55:43 (1/6) Installing dumb-init (1.2.2-r1) 05:55:43 (2/6) Installing libgcc (9.3.0-r2) 05:55:43 (3/6) Installing libsodium (1.0.18-r0) 05:55:43 (4/6) Installing libstdc++ (9.3.0-r2) 05:55:43 (5/6) Installing libzmq (4.3.3-r0) 05:55:43 (6/6) Installing zeromq (4.3.3-r0) 05:55:43 Executing busybox-1.31.1-r20.trigger 05:55:43 OK: 8 MiB in 20 packages 05:55:43 Removing intermediate container f7fe8b240d73 05:55:43 ---> 582ece54daaa 05:55:43 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 05:55:44 ---> 3eb529f5d0a6 05:55:44 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 05:55:45 ---> 04635200bcec 05:55:45 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 05:55:46 ---> 36455acc96ca 05:55:46 Step 19/24 : EXPOSE 49986 05:55:46 ---> Running in b7f894aef299 05:55:46 Removing intermediate container b7f894aef299 05:55:46 ---> 1b2978d967fb 05:55:46 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 05:55:46 ---> Running in c222ad3cf70c 05:55:46 Removing intermediate container c222ad3cf70c 05:55:46 ---> 2cc3548d774c 05:55:46 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:55:46 ---> Running in 712f390d0d47 05:55:47 Removing intermediate container 712f390d0d47 05:55:47 ---> fcd776ca65ab 05:55:47 Step 22/24 : LABEL arch=amd64 05:55:47 ---> Running in c9881ee92766 05:55:48 Removing intermediate container c9881ee92766 05:55:48 ---> 4d289ac76d7c 05:55:48 Step 23/24 : LABEL git_sha=34dfda6b43d3ba6c1623e303afab23b574419b8f 05:55:48 ---> Running in 727ee85ae84a 05:55:48 Removing intermediate container 727ee85ae84a 05:55:48 ---> f23ff3ebaf1d 05:55:48 Step 24/24 : LABEL version=0.0.0 05:55:48 ---> Running in 3ccbe70ff3e7 05:55:49 Removing intermediate container 3ccbe70ff3e7 05:55:49 ---> 811393f9f815 05:55:49 [Warning] One or more build-args [ARCH] were not consumed 05:55:49 Successfully built 811393f9f815 05:55:49 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 05:55:50 ---> job-cost.sh 05:55:50 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-l7ga 05:56:16 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:56:56 lf-activate-venv(): INFO: Adding /tmp/venv-l7ga/bin to PATH 05:56:56 INFO: No Stack... 05:56:56 INFO: Retrieving Pricing Info for: v1-standard-2 05:56:56 INFO: Archiving Costs [Pipeline] sh 05:56:57 + cat /w/workspace/device-rest-go/1/archives/cost.csv 05:56:57 + cut -d, -f6 [Pipeline] lock 05:56:57 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-79-1-stack-cost] 05:56:57 Resource [jenkins-edgexfoundry-device-rest-go-PR-79-1-stack-cost] did not exist. Created. 05:56:57 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-79-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:56:57 + echo total: 0.029999999329447746 [Pipeline] stash 05:56:58 Stashed 1 file(s) [Pipeline] } 05:56:58 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-79-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:57:14 lf-activate-venv(): INFO: Adding /tmp/venv-tn9H/bin to PATH 05:57:14 INFO: No Stack... 05:57:14 INFO: Retrieving Pricing Info for: lf-standard-4 05:57:14 INFO: Archiving Costs [Pipeline] sh 05:57:15 + cat /w/workspace/device-rest-go/1/archives/cost.csv 05:57:15 + cut -d, -f6 [Pipeline] lock 05:57:15 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-79-1-stack-cost] 05:57:15 Resource [jenkins-edgexfoundry-device-rest-go-PR-79-1-stack-cost] did not exist. Created. 05:57:15 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-79-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:57:15 /w/workspace/device-rest-go/1@tmp/durable-337b83d8/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-337b83d8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:57:16 + echo total: 0.20999999344348907 [Pipeline] stash 05:57:16 Warning: overwriting stash ‘stack-cost’ 05:57:16 Stashed 1 file(s) [Pipeline] } 05:57:16 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-79-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 05:57:17 provisioning config files... 05:57:17 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/config4528025197456183012tmp [Pipeline] { [Pipeline] sh 05:57:18 + set +x 05:57:18 + curl -s https://codecov.io/bash 05:57:18 + bash -s -- 05:57:18 05:57:18 _____ _ 05:57:18 / ____| | | 05:57:18 | | ___ __| | ___ ___ _____ __ 05:57:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:57:18 | |___| (_) | (_| | __/ (_| (_) \ V / 05:57:18 \_____\___/ \__,_|\___|\___\___/ \_/ 05:57:18 Bash-1.0.2 05:57:18 05:57:18 05:57:18 ==> git version 2.24.3 found 05:57:18 ==> 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 05:57:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:57:18 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:57:18 ==> Jenkins CI detected. 05:57:18 project root: . 05:57:18 --> token set from env 05:57:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:57:18 ==> Running gcov in . (disable via -X gcov) 05:57:18 ==> Python coveragepy not found 05:57:18 ==> Searching for coverage reports in: 05:57:18 + . 05:57:18 -> Found 1 reports 05:57:18 ==> Detecting git/mercurial file structure 05:57:18 ==> Reading reports 05:57:18 + ./coverage.out bytes=8513 05:57:18 ==> Appending adjustments 05:57:18 https://docs.codecov.io/docs/fixing-reports 05:57:18 + Found adjustments 05:57:18 ==> Gzipping contents 05:57:18 4.0K /tmp/codecov.zbXNHH.gz 05:57:18 ==> Uploading reports 05:57:18 url: https://codecov.io 05:57:18 query: branch=PR-79&commit=34dfda6b43d3ba6c1623e303afab23b574419b8f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-79%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=79&job=&cmd_args= 05:57:18 -> Pinging Codecov 05:57:18 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-79&commit=34dfda6b43d3ba6c1623e303afab23b574419b8f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-79%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=79&job=&cmd_args= 05:57:19 -> Uploading to 05:57:19 https://storage.googleapis.com/codecov/v4/raw/2021-04-23/4E5D53B4F1F92C436F7061BF334D961C/34dfda6b43d3ba6c1623e303afab23b574419b8f/161392e1-20bb-4bbe-8e6d-e630a432786a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210423%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210423T055718Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=87c36f4c01a757c167e93497fd7d7ab4fd4c78027dfd9b04e189832f85e03647 05:57:19 % Total % Received % Xferd Average Speed Time Time Time Current 05:57:19 Dload Upload Total Spent Left Speed 05:57:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 2788 --:--:-- --:--:-- --:--:-- 2792 05:57:19 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/34dfda6b43d3ba6c1623e303afab23b574419b8f [Pipeline] } 05:57:19 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 05:57:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:57:22 ---> package-listing.sh 05:57:22 ++ facter osfamily 05:57:22 ++ tr '[:upper:]' '[:lower:]' 05:57:22 + OS_FAMILY=redhat 05:57:22 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-79 05:57:22 + START_PACKAGES=/tmp/packages_start.txt 05:57:22 + END_PACKAGES=/tmp/packages_end.txt 05:57:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:57:22 + PACKAGES=/tmp/packages_start.txt 05:57:22 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-79 ']' 05:57:22 + PACKAGES=/tmp/packages_end.txt 05:57:22 + case "${OS_FAMILY}" in 05:57:22 + rpm -qa 05:57:22 + sort 05:57:27 + '[' -f /tmp/packages_start.txt ']' 05:57:27 + '[' -f /tmp/packages_end.txt ']' 05:57:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:57:27 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-79 ']' 05:57:27 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-79/archives/ 05:57:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-79/archives/ [Pipeline] echo 05:57:27 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-79/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:57:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:57:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:57:28 05:57:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:57:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:57:28 alpine: Pulling from edgex-lftools-log-publisher 05:57:28 df20fa9351a1: Pulling fs layer 05:57:28 36b3adc4ff6f: Pulling fs layer 05:57:28 8ad3a11d3b57: Pulling fs layer 05:57:28 46f8f816bc3b: Pulling fs layer 05:57:28 93b61091891f: Pulling fs layer 05:57:28 93b9cdb0e59b: Pulling fs layer 05:57:28 5e14af77c1be: Pulling fs layer 05:57:28 01666e4c0597: Pulling fs layer 05:57:28 aa168da1d23b: Pulling fs layer 05:57:28 46f8f816bc3b: Waiting 05:57:28 93b61091891f: Waiting 05:57:28 5e14af77c1be: Waiting 05:57:28 01666e4c0597: Waiting 05:57:28 aa168da1d23b: Waiting 05:57:28 93b9cdb0e59b: Waiting 05:57:28 36b3adc4ff6f: Verifying Checksum 05:57:28 36b3adc4ff6f: Download complete 05:57:28 46f8f816bc3b: Verifying Checksum 05:57:28 46f8f816bc3b: Download complete 05:57:28 df20fa9351a1: Verifying Checksum 05:57:28 df20fa9351a1: Download complete 05:57:28 93b9cdb0e59b: Verifying Checksum 05:57:28 93b9cdb0e59b: Download complete 05:57:29 5e14af77c1be: Verifying Checksum 05:57:29 5e14af77c1be: Download complete 05:57:29 93b61091891f: Verifying Checksum 05:57:29 93b61091891f: Download complete 05:57:29 01666e4c0597: Verifying Checksum 05:57:29 01666e4c0597: Download complete 05:57:29 df20fa9351a1: Pull complete 05:57:29 8ad3a11d3b57: Verifying Checksum 05:57:29 8ad3a11d3b57: Download complete 05:57:29 36b3adc4ff6f: Pull complete 05:57:30 8ad3a11d3b57: Pull complete 05:57:30 46f8f816bc3b: Pull complete 05:57:31 93b61091891f: Pull complete 05:57:31 93b9cdb0e59b: Pull complete 05:57:31 aa168da1d23b: Verifying Checksum 05:57:31 aa168da1d23b: Download complete 05:57:31 5e14af77c1be: Pull complete 05:57:31 01666e4c0597: Pull complete 05:57:40 aa168da1d23b: Pull complete 05:57:40 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:57:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:57:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:57:40 prd-centos7-docker-4c-2g-1526 does not seem to be running inside a container 05:57:40 $ 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-79/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-79 -v /w/workspace/dgexfoundry_device-rest-go_PR-79:/w/workspace/dgexfoundry_device-rest-go_PR-79:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-79@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 05:57:43 $ docker top 529409051a5970073e21aece66b930b7e4ddebd9ca924ed2c8c9d1b90d144ad4 -eo pid,comm [Pipeline] { [Pipeline] sh 05:57:43 + touch /tmp/pre-build-complete [Pipeline] sh 05:57:44 + mkdir -p /var/log/sa [Pipeline] sh 05:57:44 + ls /var/log/sa-host 05:57:44 + sadf -c /var/log/sa-host/sa23 05:57:44 file_magic: OK 05:57:44 HZ: Using current value: 100 05:57:44 file_header: OK 05:57:44 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 05:57:44 Statistics: 05:57:44 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:57:44 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:57:44 provisioning config files... 05:57:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-79@tmp/config4114056861890057340tmp [Pipeline] { [Pipeline] echo 05:57:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:57:45 ---> create-netrc.sh [Pipeline] } 05:57:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:57:45 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:57:45 ---> python-tools-install.sh [Pipeline] echo 05:57:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:57:46 ---> sudo-logs.sh 05:57:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:57:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:57:46 ---> job-cost.sh 05:57:46 lf-activate-venv: SKIPPING 05:57:46 DEBUG: total: 0.20999999344348907 05:57:46 INFO: Retrieving Stack Cost... 05:57:47 INFO: Retrieving Pricing Info for: v1-standard-2 05:57:48 INFO: Archiving Costs [Pipeline] echo 05:57:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:57:48 ---> logs-deploy.sh 05:57:48 lf-activate-venv: SKIPPING 05:57:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-79/1 05:57:48 INFO: archiving workspace using pattern(s): 05:57:50 Archives upload complete. 05:57:50 INFO: archiving logs to Nexus