Pull request #78 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 soda480 for edgexfoundry/device-rest-go Obtained Jenkinsfile from 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7+c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 (726b652d5e42392f4240c78629be30afd27141c1) 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-78/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-78/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-867 in /w/workspace/dgexfoundry_device-rest-go_PR-78 [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-78 # 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 c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 into PR head commit 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 Merge succeeded, producing 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 Checking out Revision 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 (PR-78) > 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/78/head:refs/remotes/origin/PR-78 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 # 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 c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 # timeout=10 Commit message: "docs: Add badges to readme" 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 18:36:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:36:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:36:45 ========================================================= 18:36:45 EdgeX Global Pipelines Version Info 18:36:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:36:47 ------------------- 18:36:47 stable info: 18:36:47 ------------------- 18:36:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:36:47 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 18:36:47 Message: update stable to v1.0.186 18:36:48 ------------------- 18:36:48 experimental info: 18:36:48 ------------------- 18:36:48 Commited By: **** collab-it+edgex@linuxfoundation.org 18:36:48 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 18:36:48 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:36:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:36:49 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:36:49 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:36:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:36:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:36:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:36:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 18:36:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:36:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:36:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:36:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:36:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:36:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:36:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:36:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:36:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:36:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:36:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:36:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:36:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:36:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:36:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-78 [Pipeline] echo 18:36:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-78 [Pipeline] echo 18:36:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-78 [Pipeline] echo 18:36:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 [Pipeline] echo 18:36:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 972f9a5 [Pipeline] echo 18:36:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:36:50 provisioning config files... 18:36:50 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-78@tmp/config8490325559031773526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:36:51 ---> docker-login.sh 18:36:51 nexus3.edgexfoundry.org:10001 18:36:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:51 Configure a credential helper to remove this warning. See 18:36:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:51 18:36:51 Login Succeeded 18:36:51 nexus3.edgexfoundry.org:10002 18:36:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:51 Configure a credential helper to remove this warning. See 18:36:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:51 18:36:51 Login Succeeded 18:36:51 nexus3.edgexfoundry.org:10003 18:36:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:52 Configure a credential helper to remove this warning. See 18:36:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:52 18:36:52 Login Succeeded 18:36:52 nexus3.edgexfoundry.org:10004 18:36:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:52 Configure a credential helper to remove this warning. See 18:36:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:52 18:36:52 Login Succeeded 18:36:52 docker.io 18:36:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:52 Configure a credential helper to remove this warning. See 18:36:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:52 18:36:52 Login Succeeded 18:36:52 ---> docker-login.sh ends [Pipeline] } 18:36:52 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 18:36:53 + git log --format=format:%s -1 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 [Pipeline] echo 18:36:53 GIT_COMMIT: 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7, Commit Message: docs: Add badges to readme [Pipeline] echo 18:36:53 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:36:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:36:54 18:36:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:36:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:36:54 latest: Pulling from edgex-devops/git-semver 18:36:54 31603596830f: Pulling fs layer 18:36:54 2a8b12db71e7: Pulling fs layer 18:36:54 6ca5941a6612: Pulling fs layer 18:36:54 ecc8261a40a4: Pulling fs layer 18:36:54 ecc8261a40a4: Waiting 18:36:54 2a8b12db71e7: Verifying Checksum 18:36:54 2a8b12db71e7: Download complete 18:36:54 31603596830f: Verifying Checksum 18:36:54 31603596830f: Download complete 18:36:54 6ca5941a6612: Verifying Checksum 18:36:54 6ca5941a6612: Download complete 18:36:54 ecc8261a40a4: Verifying Checksum 18:36:54 ecc8261a40a4: Download complete 18:36:54 31603596830f: Pull complete 18:36:55 2a8b12db71e7: Pull complete 18:36:56 6ca5941a6612: Pull complete 18:36:56 ecc8261a40a4: Pull complete 18:36:56 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:36:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:36:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:36:56 prd-centos7-docker-4c-2g-867 does not seem to be running inside a container 18:36:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-78 -v /w/workspace/dgexfoundry_device-rest-go_PR-78:/w/workspace/dgexfoundry_device-rest-go_PR-78:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-78@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-78@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:36:58 $ docker top 528772b09ea3f33845abf65a26ed4efd2265a575e2d66320377109e533937cd8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:36:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:36:58 [ssh-agent] Looking for ssh-agent implementation... 18:36:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:36:58 $ docker exec 528772b09ea3f33845abf65a26ed4efd2265a575e2d66320377109e533937cd8 ssh-agent 18:36:59 SSH_AUTH_SOCK=/tmp/ssh-EIM3Kymc3GSw/agent.11 18:36:59 SSH_AGENT_PID=16 18:36:59 Running ssh-add (command line suppressed) 18:36:59 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-78@tmp/private_key_8325760332572249213.key (/w/workspace/dgexfoundry_device-rest-go_PR-78@tmp/private_key_8325760332572249213.key) 18:36:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:36:59 + git tag --points-at HEAD [Pipeline] } 18:36:59 $ docker exec --env ******** --env ******** 528772b09ea3f33845abf65a26ed4efd2265a575e2d66320377109e533937cd8 ssh-agent -k 18:36:59 unset SSH_AUTH_SOCK; 18:36:59 unset SSH_AGENT_PID; 18:36:59 echo Agent pid 16 killed; 18:36:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:36:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:36:59 [ssh-agent] Looking for ssh-agent implementation... 18:37:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:37:00 $ docker exec 528772b09ea3f33845abf65a26ed4efd2265a575e2d66320377109e533937cd8 ssh-agent 18:37:00 SSH_AUTH_SOCK=/tmp/ssh-vr7blHdt1P40/agent.45 18:37:00 SSH_AGENT_PID=51 18:37:00 Running ssh-add (command line suppressed) 18:37:00 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-78@tmp/private_key_7164717721264587765.key (/w/workspace/dgexfoundry_device-rest-go_PR-78@tmp/private_key_7164717721264587765.key) 18:37:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:37:00 + git semver init 18:37:00 # -> Open(): unable to determine branch for HEAD 18:37:00 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-78/.git 18:37:00 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-78 18:37:00 # $SEMVER_REMOTE_NAME = origin 18:37:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:37:00 # $SEMVER_USER_NAME = edgex-jenkins 18:37:00 # $SEMVER_BRANCH = PR-78 18:37:00 # $SEMVER_TEMP = /tmp/semver-544926754 18:37:00 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 18:37:01 # '/tmp/semver-544926754' -> '/w/workspace/dgexfoundry_device-rest-go_PR-78/.semver' 18:37:01 # -> Force: false 18:37:01 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-78/.semver [Pipeline] } 18:37:01 $ docker exec --env ******** --env ******** 528772b09ea3f33845abf65a26ed4efd2265a575e2d66320377109e533937cd8 ssh-agent -k 18:37:01 unset SSH_AUTH_SOCK; 18:37:01 unset SSH_AGENT_PID; 18:37:01 echo Agent pid 51 killed; 18:37:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:37:02 + git semver [Pipeline] } 18:37:02 $ docker stop --time=1 528772b09ea3f33845abf65a26ed4efd2265a575e2d66320377109e533937cd8 18:37:03 $ docker rm -f 528772b09ea3f33845abf65a26ed4efd2265a575e2d66320377109e533937cd8 [Pipeline] // withDockerContainer [Pipeline] sh 18:37:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:37:04 Stashed 1 file(s) [Pipeline] echo 18:37:04 [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 18:37:20 Still waiting to schedule task 18:37:20 ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-862’ is offline; ‘prd-centos7-docker-4c-2g-873’ is offline 18:37:20 Still waiting to schedule task 18:37:20 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-865’ 18:38:24 Running on prd-centos7-docker-4c-2g-871 in /w/workspace/dgexfoundry_device-rest-go_PR-78 [Pipeline] { [Pipeline] ws 18:38:24 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 18:38:33 using credential edgex-jenkins-ssh 18:38:33 Cloning the remote Git repository 18:38:33 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:38:33 > git init /w/workspace/device-rest-go/1 # timeout=10 18:38:33 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:38:33 > git --version # timeout=10 18:38:33 > git --version # 'git version 2.24.3' 18:38:33 using GIT_SSH to set credentials SSH Credentials for GitHub 18:38:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:38:36 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:38:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:38:36 Merging remotes/origin/master commit c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 into PR head commit 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 18:38:37 Merge succeeded, producing 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 18:38:37 Checking out Revision 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 (PR-78) 18:38:36 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:38:36 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:38:36 using GIT_SSH to set credentials SSH Credentials for GitHub 18:38:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/78/head:refs/remotes/origin/PR-78 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:38:36 > git config core.sparsecheckout # timeout=10 18:38:36 > git checkout -f 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 # timeout=10 18:38:36 > git remote # timeout=10 18:38:36 > git config --get remote.origin.url # timeout=10 18:38:36 using GIT_SSH to set credentials SSH Credentials for GitHub 18:38:36 > git merge c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 # timeout=10 18:38:37 > git rev-parse HEAD^{commit} # timeout=10 18:38:37 > git config core.sparsecheckout # timeout=10 18:38:37 > git checkout -f 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 # timeout=10 18:38:42 Commit message: "docs: Add badges to readme" 18:38:42 > git --version # timeout=10 18:38:42 > git --version # 'git version 2.24.3' 18:38:43 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:38:45 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 18:38:46 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:38:46 + sudo service docker restart 18:38:46 + true 18:38:46 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:38:50 provisioning config files... 18:38:50 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config802718714610200401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:38:51 ---> docker-login.sh 18:38:51 nexus3.edgexfoundry.org:10001 18:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:52 Configure a credential helper to remove this warning. See 18:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:52 18:38:52 Login Succeeded 18:38:52 nexus3.edgexfoundry.org:10002 18:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:53 Configure a credential helper to remove this warning. See 18:38:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:53 18:38:53 Login Succeeded 18:38:53 nexus3.edgexfoundry.org:10003 18:38:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:53 Configure a credential helper to remove this warning. See 18:38:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:53 18:38:53 Login Succeeded 18:38:53 nexus3.edgexfoundry.org:10004 18:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:54 Configure a credential helper to remove this warning. See 18:38:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:54 18:38:54 Login Succeeded 18:38:54 docker.io 18:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:54 Configure a credential helper to remove this warning. See 18:38:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:54 18:38:54 Login Succeeded 18:38:54 ---> docker-login.sh ends [Pipeline] } 18:38:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:38:55 ========================================================= 18:38:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:38:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:38:55 + 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 . 18:38:55 Sending build context to Docker daemon 89.09kB 18:38:55 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 18:38:55 Step 2/10 : FROM ${BASE} 18:38:55 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:38:55 188c0c94c7c5: Pulling fs layer 18:38:55 0ef7d3d256c8: Pulling fs layer 18:38:55 de9db76c5a1d: Pulling fs layer 18:38:55 bca2f99d35d6: Pulling fs layer 18:38:55 93359f2a8cfa: Pulling fs layer 18:38:55 7c6f9722023f: Pulling fs layer 18:38:55 a35cf1a2eb13: Pulling fs layer 18:38:55 93359f2a8cfa: Waiting 18:38:55 7c6f9722023f: Waiting 18:38:55 a35cf1a2eb13: Waiting 18:38:55 bca2f99d35d6: Waiting 18:38:55 de9db76c5a1d: Verifying Checksum 18:38:55 de9db76c5a1d: Download complete 18:38:55 0ef7d3d256c8: Verifying Checksum 18:38:55 0ef7d3d256c8: Download complete 18:38:55 93359f2a8cfa: Verifying Checksum 18:38:55 93359f2a8cfa: Download complete 18:38:56 7c6f9722023f: Verifying Checksum 18:38:56 7c6f9722023f: Download complete 18:38:56 188c0c94c7c5: Verifying Checksum 18:38:56 188c0c94c7c5: Download complete 18:38:56 188c0c94c7c5: Pull complete 18:38:57 0ef7d3d256c8: Pull complete 18:38:57 de9db76c5a1d: Pull complete 18:39:00 a35cf1a2eb13: Verifying Checksum 18:39:00 a35cf1a2eb13: Download complete 18:39:02 bca2f99d35d6: Verifying Checksum 18:39:02 bca2f99d35d6: Download complete 18:39:20 bca2f99d35d6: Pull complete 18:39:20 93359f2a8cfa: Pull complete 18:39:20 7c6f9722023f: Pull complete 18:39:26 a35cf1a2eb13: Pull complete 18:39:26 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 18:39:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:39:26 ---> a62c8e92a672 18:39:26 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 18:39:26 ---> Running in 5824474110f2 18:39:27 Removing intermediate container 5824474110f2 18:39:27 ---> 48661ac494fe 18:39:27 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 18:39:27 ---> Running in 8eeed135ab36 18:39:27 Removing intermediate container 8eeed135ab36 18:39:27 ---> 667c08b4bf05 18:39:27 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:39:27 ---> Running in cc689dcccbab 18:39:28 Removing intermediate container cc689dcccbab 18:39:28 ---> f6c22679ec94 18:39:28 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:39:28 ---> Running in eec4b4189c63 18:39:30 Removing intermediate container eec4b4189c63 18:39:30 ---> 7eec018b1891 18:39:30 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:39:30 ---> Running in 164a8b7c1fff 18:39:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:39:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:39:32 OK: 166 MiB in 39 packages 18:39:33 Removing intermediate container 164a8b7c1fff 18:39:33 ---> 6684a404682e 18:39:33 Step 8/10 : WORKDIR /device-rest-go 18:39:34 ---> Running in 64b7c15051e3 18:39:34 Removing intermediate container 64b7c15051e3 18:39:34 ---> a837e7278cd0 18:39:34 Step 9/10 : COPY . . 18:39:35 ---> 6f6a0418775f 18:39:35 Step 10/10 : RUN go mod download 18:39:35 ---> Running in e7bd61dee892 18:40:06 Running on prd-ubuntu18.04-docker-arm64-4c-16g-880 in /w/workspace/dgexfoundry_device-rest-go_PR-78 [Pipeline] { [Pipeline] ws 18:40:06 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 18:40:08 Removing intermediate container e7bd61dee892 18:40:08 ---> ba5bc9167bf2 18:40:08 Successfully built ba5bc9167bf2 18:40:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:40:08 + docker inspect -f . ci-base-image-x86_64 18:40:09 . [Pipeline] withDockerContainer 18:40:09 prd-centos7-docker-4c-2g-871 does not seem to be running inside a container 18:40:10 $ 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 18:40:12 $ docker top b1842b8332d83d1f45cb09e771a0b837629625edbb5808602074af00c76aa7f8 -eo pid,comm [Pipeline] { [Pipeline] sh 18:40:14 using credential edgex-jenkins-ssh 18:40:14 Cloning the remote Git repository 18:40:14 + go version 18:40:14 go version go1.15.5 linux/amd64 [Pipeline] } 18:40:14 $ docker stop --time=1 b1842b8332d83d1f45cb09e771a0b837629625edbb5808602074af00c76aa7f8 18:40:14 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:40:14 > git init /w/workspace/device-rest-go/1 # timeout=10 18:40:14 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:40:14 > git --version # timeout=10 18:40:14 > git --version # 'git version 2.17.1' 18:40:14 using GIT_SSH to set credentials SSH Credentials for GitHub 18:40:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:40:16 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:40:16 $ docker rm -f b1842b8332d83d1f45cb09e771a0b837629625edbb5808602074af00c76aa7f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 18:40:16 Merging remotes/origin/master commit c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 into PR head commit 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:40:17 Merge succeeded, producing 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 18:40:17 Checking out Revision 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 (PR-78) 18:40:17 + docker inspect -f . ci-base-image-x86_64 18:40:17 . 18:40:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:40:16 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:40:16 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:40:16 using GIT_SSH to set credentials SSH Credentials for GitHub 18:40:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/78/head:refs/remotes/origin/PR-78 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:40:16 > git config core.sparsecheckout # timeout=10 18:40:16 > git checkout -f 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 # timeout=10 18:40:16 > git remote # timeout=10 18:40:16 > git config --get remote.origin.url # timeout=10 18:40:16 using GIT_SSH to set credentials SSH Credentials for GitHub 18:40:17 > git merge c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 # timeout=10 18:40:17 > git rev-parse HEAD^{commit} # timeout=10 18:40:17 > git config core.sparsecheckout # timeout=10 18:40:17 > git checkout -f 972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 # timeout=10 [Pipeline] withDockerContainer 18:40:18 prd-centos7-docker-4c-2g-871 does not seem to be running inside a container 18:40: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 18:40:21 Commit message: "docs: Add badges to readme" 18:40:21 > git --version # timeout=10 18:40:21 > git --version # 'git version 2.17.1' 18:40:21 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 18:40:22 $ docker top bb2c34802b618f46ce6aaee5596859369d80f64f0b00d60b45c758ecdcf8ccbb -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:40:24 + make test 18:40:24 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:40:25 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 18:40:25 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:40:26 + sudo service docker restart+ 18:40:26 true 18:40:26 ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:40:28 provisioning config files... 18:40:28 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2554206101832284804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:40:28 ---> docker-login.sh 18:40:28 nexus3.edgexfoundry.org:10001 18:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:30 Configure a credential helper to remove this warning. See 18:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:30 18:40:30 Login Succeeded 18:40:30 nexus3.edgexfoundry.org:10002 18:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:30 Configure a credential helper to remove this warning. See 18:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:30 18:40:30 Login Succeeded 18:40:30 nexus3.edgexfoundry.org:10003 18:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:31 Configure a credential helper to remove this warning. See 18:40:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:31 18:40:31 Login Succeeded 18:40:31 nexus3.edgexfoundry.org:10004 18:40:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:31 Configure a credential helper to remove this warning. See 18:40:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:31 18:40:31 Login Succeeded 18:40:31 docker.io 18:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:32 Configure a credential helper to remove this warning. See 18:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:32 18:40:32 Login Succeeded 18:40:32 ---> docker-login.sh ends [Pipeline] } 18:40:32 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:40:32 ========================================================= 18:40:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:40:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:40:33 + 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 . 18:40:33 Sending build context to Docker daemon 89.09kB 18:40:33 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 18:40:33 Step 2/10 : FROM ${BASE} 18:40:33 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:40:33 5f621e34cdf4: Pulling fs layer 18:40:33 a4357932f1b6: Pulling fs layer 18:40:33 18c013af1878: Pulling fs layer 18:40:33 00ac8860ef70: Pulling fs layer 18:40:33 63d7cb157983: Pulling fs layer 18:40:33 b116817d02f9: Pulling fs layer 18:40:33 745a02a5169b: Pulling fs layer 18:40:33 00ac8860ef70: Waiting 18:40:33 b116817d02f9: Waiting 18:40:33 745a02a5169b: Waiting 18:40:33 63d7cb157983: Waiting 18:40:33 18c013af1878: Verifying Checksum 18:40:33 18c013af1878: Download complete 18:40:33 a4357932f1b6: Verifying Checksum 18:40:33 63d7cb157983: Download complete 18:40:33 b116817d02f9: Verifying Checksum 18:40:33 b116817d02f9: Download complete 18:40:33 5f621e34cdf4: Verifying Checksum 18:40:33 5f621e34cdf4: Download complete 18:40:34 5f621e34cdf4: Pull complete 18:40:35 a4357932f1b6: Pull complete 18:40:35 18c013af1878: Pull complete 18:40:36 745a02a5169b: Download complete 18:40:37 00ac8860ef70: Verifying Checksum 18:40:37 00ac8860ef70: Download complete 18:40:47 00ac8860ef70: Pull complete 18:40:47 63d7cb157983: Pull complete 18:40:47 b116817d02f9: Pull complete 18:40:51 745a02a5169b: Pull complete 18:40:51 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 18:40:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:40:51 ---> b7e6874047d6 18:40:51 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 18:40:54 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:40:54 ---> Running in 52a8a53b9647 18:40:54 Removing intermediate container 52a8a53b9647 18:40:54 ---> 49c343f0c447 18:40:54 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 18:40:55 ---> Running in d27cf8f1877a 18:40:55 Removing intermediate container d27cf8f1877a 18:40:55 ---> eceb75ba5282 18:40:55 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:40:55 ---> Running in 858d84577c42 18:40:56 Removing intermediate container 858d84577c42 18:40:56 ---> 7e372fe46c7c 18:40:56 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:40:56 ---> Running in e1a0633b2d9b 18:40:56 ok github.com/edgexfoundry/device-rest-go/driver 0.089s coverage: 56.3% of statements 18:40:56 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:40:58 Removing intermediate container e1a0633b2d9b 18:40:58 ---> 7a21b052db39 18:40:58 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:40:58 ---> Running in 9faa78aabf9c 18:41:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:41:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:41:02 OK: 142 MiB in 39 packages 18:41:04 gofmt -l . 18:41:04 [ "`gofmt -l .`" = "" ] 18:41:04 Removing intermediate container 9faa78aabf9c 18:41:04 ---> d56bfe84c94e 18:41:04 Step 8/10 : WORKDIR /device-rest-go 18:41:04 ---> Running in 449920e61351 18:41:04 ./bin/test-go-mod-tidy.sh 18:41:05 Removing intermediate container 449920e61351 18:41:05 ---> b5a06dda6c47 18:41:05 Step 9/10 : COPY . . 18:41:05 ---> 7bfed2709d45 18:41:05 Step 10/10 : RUN go mod download 18:41:05 ---> Running in 6c296922e51c 18:41:08 ./bin/test-attribution-txt.sh [Pipeline] } 18:41:09 $ docker stop --time=1 bb2c34802b618f46ce6aaee5596859369d80f64f0b00d60b45c758ecdcf8ccbb 18:41:11 $ docker rm -f bb2c34802b618f46ce6aaee5596859369d80f64f0b00d60b45c758ecdcf8ccbb [Pipeline] // withDockerContainer [Pipeline] sh 18:41:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:41:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:41:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:41:16 + ls -al . 18:41:16 total 96 18:41:16 drwxrwxr-x. 8 jenkins jenkins 4096 Apr 19 18:41 . 18:41:16 drwxrwxr-x. 4 jenkins jenkins 28 Apr 19 18:38 .. 18:41:16 -rw-rw-r--. 1 jenkins jenkins 5294 Apr 19 18:38 Attribution.txt 18:41:16 drwxrwxr-x. 2 jenkins jenkins 64 Apr 19 18:38 bin 18:41:16 drwxrwxr-x. 3 jenkins jenkins 32 Apr 19 18:38 cmd 18:41:16 -rw-r--r--. 1 jenkins jenkins 9369 Apr 19 18:40 coverage.out 18:41:16 -rw-rw-r--. 1 jenkins jenkins 1530 Apr 19 18:38 Dockerfile 18:41:16 -rw-rw-r--. 1 jenkins jenkins 1002 Apr 19 18:38 Dockerfile.build 18:41:16 -rw-rw-r--. 1 jenkins jenkins 151 Apr 19 18:38 .dockerignore 18:41:16 drwxrwxr-x. 2 jenkins jenkins 93 Apr 19 18:40 driver 18:41:16 drwxrwxr-x. 8 jenkins jenkins 179 Apr 19 18:38 .git 18:41:16 drwxrwxr-x. 2 jenkins jenkins 103 Apr 19 18:38 .github 18:41:16 -rw-rw-r--. 1 jenkins jenkins 339 Apr 19 18:38 .gitignore 18:41:16 -rw-r--r--. 1 jenkins jenkins 267 Apr 19 18:41 go.mod 18:41:16 -rw-r--r--. 1 jenkins jenkins 13985 Apr 19 18:41 go.sum 18:41:16 -rw-rw-r--. 1 jenkins jenkins 680 Apr 19 18:38 Jenkinsfile 18:41:16 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 19 18:38 LICENSE 18:41:16 -rw-rw-r--. 1 jenkins jenkins 951 Apr 19 18:38 Makefile 18:41:16 -rw-rw-r--. 1 jenkins jenkins 7690 Apr 19 18:38 README.md 18:41:16 drwxrwxr-x. 4 jenkins jenkins 71 Apr 19 18:38 snap 18:41:16 -rw-rw-r--. 1 jenkins jenkins 5 Apr 19 18:37 VERSION 18:41:16 -rw-rw-r--. 1 jenkins jenkins 713 Apr 19 18:38 version.go [Pipeline] isUnix [Pipeline] sh 18:41:17 + 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=972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 --label arch=amd64 --label version=0.0.0 . 18:41:17 Sending build context to Docker daemon 100.9kB 18:41:17 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 18:41:17 Step 2/25 : FROM ${BASE} AS builder 18:41:17 ---> ba5bc9167bf2 18:41:17 Step 3/25 : ARG MAKE='make build' 18:41:17 ---> Running in a22a5d087b8d 18:41:18 Removing intermediate container a22a5d087b8d 18:41:18 ---> f43e24372132 18:41:18 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 18:41:18 ---> Running in ccd0526e8d44 18:41:19 Removing intermediate container ccd0526e8d44 18:41:19 ---> 15018721e684 18:41:19 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 18:41:19 ---> Running in e8b5778e6d5f 18:41:19 Removing intermediate container e8b5778e6d5f 18:41:19 ---> ac0d5450cbc0 18:41:19 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:41:20 ---> Running in 51c3adc74f02 18:41:24 Removing intermediate container 51c3adc74f02 18:41:24 ---> dcd30cfb4225 18:41:24 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:41:24 ---> Running in 44531e7b9e1b 18:41:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:41:28 Removing intermediate container 6c296922e51c 18:41:28 ---> aca48b8e2a49 18:41:28 Successfully built aca48b8e2a49 18:41:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:41:29 + docker inspect -f . ci-base-image-arm64 18:41:29 . 18:41:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] withDockerContainer 18:41:29 prd-ubuntu18.04-docker-arm64-4c-16g-880 does not seem to be running inside a container 18:41:29 $ 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 18:41:31 $ docker top 5579e1295e6d54143131f737fd83c275a146d315bc3d9d105e033b49644d853c -eo pid,comm [Pipeline] { [Pipeline] sh 18:41:31 OK: 166 MiB in 39 packages 18:41:32 + go version 18:41:32 go version go1.15.5 linux/arm64 [Pipeline] } 18:41:32 $ docker stop --time=1 5579e1295e6d54143131f737fd83c275a146d315bc3d9d105e033b49644d853c 18:41:32 Removing intermediate container 44531e7b9e1b 18:41:32 ---> 34a12cd6028b 18:41:32 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 18:41:33 ---> Running in e2015d89b450 18:41:33 Removing intermediate container e2015d89b450 18:41:33 ---> 59092b3789d5 18:41:33 Step 9/25 : COPY go.mod . 18:41:34 $ docker rm -f 5579e1295e6d54143131f737fd83c275a146d315bc3d9d105e033b49644d853c 18:41:34 ---> 1de30d122a66 18:41:34 Step 10/25 : COPY Makefile . [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:41:35 + docker inspect -f . ci-base-image-arm64 18:41:35 . [Pipeline] withDockerContainer 18:41:35 ---> 5442418e24c2 18:41:35 Step 11/25 : RUN make update 18:41:35 ---> Running in ae6c4f1ea598 18:41:35 prd-ubuntu18.04-docker-arm64-4c-16g-880 does not seem to be running inside a container 18:41:35 $ 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 18:41:37 $ docker top c222cb29448d8b7ac0dd8315ba39df03270957463495a82ab0799d2f183a5d5e -eo pid,comm 18:41:37 CGO_ENABLED=0 GO111MODULE=on go mod download [Pipeline] { [Pipeline] sh 18:41:38 Removing intermediate container ae6c4f1ea598 18:41:38 ---> 85d1854cef60 18:41:38 Step 12/25 : COPY . . 18:41:38 + make test 18:41:38 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:41:39 ---> d41e144c2297 18:41:39 Step 13/25 : RUN $MAKE 18:41:39 ---> Running in c5ed7e60c5b5 18:41:40 ? github.com/edgexfoundry/device-rest-go [no test files] 18:41:40 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 18:42:13 Removing intermediate container c5ed7e60c5b5 18:42:13 ---> 9681c32a47d0 18:42:13 Step 14/25 : FROM alpine:3.12 18:42:13 3.12: Pulling from library/alpine 18:42:13 339de151aab4: Pulling fs layer 18:42:13 339de151aab4: Verifying Checksum 18:42:13 339de151aab4: Download complete 18:42:13 339de151aab4: Pull complete 18:42:13 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 18:42:13 Status: Downloaded newer image for alpine:3.12 18:42:13 ---> 13621d1b12d4 18:42:13 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:42:13 ---> Running in 5cd831446bb4 18:42:13 Removing intermediate container 5cd831446bb4 18:42:13 ---> b92bfa0ba2c7 18:42:13 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 18:42:13 ---> Running in 869aadeca6c4 18:42:13 Removing intermediate container 869aadeca6c4 18:42:13 ---> 345b925cbf5d 18:42:13 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 18:42:13 ---> aebb2a315027 18:42:13 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 18:42:13 ---> 3790182e6df2 18:42:13 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 18:42:15 ---> 14a02a1493eb 18:42:15 Step 20/25 : EXPOSE 49986 18:42:15 ---> Running in fffc572c5269 18:42:15 Removing intermediate container fffc572c5269 18:42:15 ---> 7abc8b1268a0 18:42:15 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 18:42:16 ---> Running in a4d6cf982933 18:42:16 Removing intermediate container a4d6cf982933 18:42:16 ---> 199cb370d351 18:42:16 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 18:42:16 ---> Running in 73cde7c75f16 18:42:16 Removing intermediate container 73cde7c75f16 18:42:16 ---> afc39e531707 18:42:16 Step 23/25 : LABEL arch=amd64 18:42:17 ---> Running in f93b35fa5655 18:42:17 Removing intermediate container f93b35fa5655 18:42:17 ---> 35ad59990f6a 18:42:17 Step 24/25 : LABEL git_sha=972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 18:42:17 ---> Running in 4ecf60ff496f 18:42:18 Removing intermediate container 4ecf60ff496f 18:42:18 ---> b021525eabe4 18:42:18 Step 25/25 : LABEL version=0.0.0 18:42:18 ---> Running in 752ac369fb63 18:42:18 Removing intermediate container 752ac369fb63 18:42:18 ---> 3e49bb63c8e3 18:42:18 [Warning] One or more build-args [ARCH] were not consumed 18:42:18 Successfully built 3e49bb63c8e3 18:42:18 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 18:42:19 ---> job-cost.sh 18:42:19 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-eUfk 18:42:19 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:42:19 ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 56.3% of statements 18:42:19 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:42:26 gofmt -l . 18:42:26 [ "`gofmt -l .`" = "" ] 18:42:26 ./bin/test-go-mod-tidy.sh 18:42:27 ./bin/test-attribution-txt.sh [Pipeline] } 18:42:27 $ docker stop --time=1 c222cb29448d8b7ac0dd8315ba39df03270957463495a82ab0799d2f183a5d5e 18:42:30 $ docker rm -f c222cb29448d8b7ac0dd8315ba39df03270957463495a82ab0799d2f183a5d5e [Pipeline] // withDockerContainer [Pipeline] sh 18:42:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:42:31 Warning: overwriting stash ‘coverage-report’ 18:42:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:42:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:42:33 + ls -al . 18:42:33 total 124 18:42:33 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 18:42 . 18:42:33 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 18:40 .. 18:42:33 -rw-rw-r-- 1 jenkins jenkins 151 Apr 19 18:40 .dockerignore 18:42:33 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 18:40 .git 18:42:33 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 18:40 .github 18:42:33 -rw-rw-r-- 1 jenkins jenkins 339 Apr 19 18:40 .gitignore 18:42:33 -rw-rw-r-- 1 jenkins jenkins 5294 Apr 19 18:40 Attribution.txt 18:42:33 -rw-rw-r-- 1 jenkins jenkins 1530 Apr 19 18:40 Dockerfile 18:42:33 -rw-rw-r-- 1 jenkins jenkins 1002 Apr 19 18:40 Dockerfile.build 18:42:33 -rw-rw-r-- 1 jenkins jenkins 680 Apr 19 18:40 Jenkinsfile 18:42:33 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 18:40 LICENSE 18:42:33 -rw-rw-r-- 1 jenkins jenkins 951 Apr 19 18:40 Makefile 18:42:33 -rw-rw-r-- 1 jenkins jenkins 7690 Apr 19 18:40 README.md 18:42:33 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 18:37 VERSION 18:42:33 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 18:40 bin 18:42:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 18:40 cmd 18:42:33 -rw-r--r-- 1 jenkins jenkins 9369 Apr 19 18:42 coverage.out 18:42:33 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 18:42 driver 18:42:33 -rw-r--r-- 1 jenkins jenkins 267 Apr 19 18:42 go.mod 18:42:33 -rw-r--r-- 1 jenkins jenkins 13985 Apr 19 18:42 go.sum 18:42:33 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 18:40 snap 18:42:33 -rw-rw-r-- 1 jenkins jenkins 713 Apr 19 18:40 version.go [Pipeline] isUnix [Pipeline] sh 18:42:33 + 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=972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 --label arch=arm64 --label version=0.0.0 . 18:42:33 Sending build context to Docker daemon 100.9kB 18:42:34 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 18:42:34 Step 2/25 : FROM ${BASE} AS builder 18:42:34 ---> aca48b8e2a49 18:42:34 Step 3/25 : ARG MAKE='make build' 18:42:34 ---> Running in f5948077f9f3 18:42:34 Removing intermediate container f5948077f9f3 18:42:34 ---> 5f60a65c89c1 18:42:34 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 18:42:34 ---> Running in e067d742b7f3 18:42:35 Removing intermediate container e067d742b7f3 18:42:35 ---> d05d33aca28c 18:42:35 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 18:42:35 ---> Running in 8b292eae1e03 18:42:36 Removing intermediate container 8b292eae1e03 18:42:36 ---> b04574352465 18:42:36 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:42:36 ---> Running in 8a9adfb371d2 18:42:38 Removing intermediate container 8a9adfb371d2 18:42:38 ---> f9801f5e9add 18:42:38 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:42:38 ---> Running in c63fc0957e79 18:42:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:42:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:42:41 OK: 142 MiB in 39 packages 18:42:42 Removing intermediate container c63fc0957e79 18:42:42 ---> 636df57d469e 18:42:42 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 18:42:42 ---> Running in 910b2a797468 18:42:43 Removing intermediate container 910b2a797468 18:42:43 ---> 6cae2520a5d9 18:42:43 Step 9/25 : COPY go.mod . 18:42:44 ---> 225bddaa0157 18:42:44 Step 10/25 : COPY Makefile . 18:42:45 ---> 851ad89c1097 18:42:45 Step 11/25 : RUN make update 18:42:45 ---> Running in 5cc2397d30e5 18:42:46 CGO_ENABLED=0 GO111MODULE=on go mod download 18:42:46 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:42:47 Removing intermediate container 5cc2397d30e5 18:42:47 ---> ad5eedb9fda8 18:42:47 Step 12/25 : COPY . . 18:42:48 ---> 8ec844b18b1e 18:42:48 Step 13/25 : RUN $MAKE 18:42:48 ---> Running in 1771bb9ec6bb 18:42:49 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 18:43:22 Removing intermediate container 1771bb9ec6bb 18:43:22 ---> 9866de819c5f 18:43:22 Step 14/25 : FROM alpine:3.12 18:43:22 3.12: Pulling from library/alpine 18:43:22 d2f70382dc9a: Pulling fs layer 18:43:22 d2f70382dc9a: Download complete 18:43:22 d2f70382dc9a: Pull complete 18:43:22 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 18:43:22 Status: Downloaded newer image for alpine:3.12 18:43:22 ---> 9852663dfa18 18:43:22 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:43:23 ---> Running in b5878ef9d35a 18:43:23 Removing intermediate container b5878ef9d35a 18:43:23 ---> 08cf7e66336c 18:43:23 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 18:43:23 ---> Running in 184550a689f4 18:43:24 Removing intermediate container 184550a689f4 18:43:24 ---> e6f72980f58f 18:43:24 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 18:43:24 ---> 878ba7c55e90 18:43:24 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 18:43:25 ---> b1fde5af2ea1 18:43:25 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 18:43:25 lf-activate-venv(): INFO: Adding /tmp/venv-eUfk/bin to PATH 18:43:25 INFO: No Stack... 18:43:26 ---> c0d682051c5b 18:43:26 Step 20/25 : EXPOSE 49986 18:43:27 ---> Running in d065b4f316b0 18:43:27 INFO: Retrieving Pricing Info for: v1-standard-2 18:43:27 Removing intermediate container d065b4f316b0 18:43:27 ---> f41ed4adc3e7 18:43:27 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 18:43:27 ---> Running in 322ad937fd5d 18:43:27 Removing intermediate container 322ad937fd5d 18:43:27 ---> 9fd8ef18d721 18:43:27 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 18:43:28 ---> Running in a28d3aa36258 18:43:28 INFO: Archiving Costs [Pipeline] sh 18:43:28 + cat /w/workspace/device-rest-go/1/archives/cost.csv 18:43:28 + cut -d, -f6 [Pipeline] lock 18:43:28 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-78-1-stack-cost] 18:43:28 Resource [jenkins-edgexfoundry-device-rest-go-PR-78-1-stack-cost] did not exist. Created. 18:43:28 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-78-1-stack-cost] [Pipeline] { 18:43:28 Removing intermediate container a28d3aa36258 18:43:28 ---> b81292e53147 18:43:28 Step 23/25 : LABEL arch=arm64 18:43:28 ---> Running in 8326f1d71cc4 [Pipeline] unstash [Pipeline] sh 18:43:29 Removing intermediate container 8326f1d71cc4 18:43:29 ---> 7691edb1625e 18:43:29 Step 24/25 : LABEL git_sha=972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 18:43:29 + echo total: 0.029999999329447746 [Pipeline] stash 18:43:29 ---> Running in 3af92cada85f 18:43:29 Stashed 1 file(s) [Pipeline] } 18:43:29 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-78-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:43:30 Removing intermediate container 3af92cada85f 18:43:30 ---> 814c0c2b47ee 18:43:30 Step 25/25 : LABEL version=0.0.0 18:43:30 ---> Running in 5888a5efc7c1 18:43:30 Removing intermediate container 5888a5efc7c1 18:43:30 ---> 8167dd73e3e4 18:43:30 [Warning] One or more build-args [ARCH] were not consumed 18:43:30 Successfully built 8167dd73e3e4 18:43:30 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 18:43:31 ---> job-cost.sh 18:43:31 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-uyaT 18:44:18 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:45:55 lf-activate-venv(): INFO: Adding /tmp/venv-uyaT/bin to PATH 18:45:55 INFO: No Stack... 18:45:55 INFO: Retrieving Pricing Info for: lf-standard-4 18:45:55 INFO: Archiving Costs [Pipeline] sh 18:45:55 + cut -d, -f6 18:45:55 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 18:45:55 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-78-1-stack-cost] 18:45:55 Resource [jenkins-edgexfoundry-device-rest-go-PR-78-1-stack-cost] did not exist. Created. 18:45:55 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-78-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:45:55 /w/workspace/device-rest-go/1@tmp/durable-1882cf19/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-1882cf19/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:45:56 + echo total: 0.20999999344348907 [Pipeline] stash 18:45:56 Warning: overwriting stash ‘stack-cost’ 18:45:56 Stashed 1 file(s) [Pipeline] } 18:45:56 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-78-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 18:45:57 provisioning config files... 18:45:57 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-78@tmp/config4084953494022438091tmp [Pipeline] { [Pipeline] sh 18:45:58 + set +x 18:45:58 + curl -s https://codecov.io/bash 18:45:58 + bash -s -- 18:45:58 18:45:58 _____ _ 18:45:58 / ____| | | 18:45:58 | | ___ __| | ___ ___ _____ __ 18:45:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:45:58 | |___| (_) | (_| | __/ (_| (_) \ V / 18:45:58 \_____\___/ \__,_|\___|\___\___/ \_/ 18:45:58 Bash-1.0.1 18:45:58 18:45:58 18:45:58 ==> git version 2.24.3 found 18:45:58 ==> 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 18:45:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:45:58 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:45:58 ==> Jenkins CI detected. 18:45:58 project root: . 18:45:58 --> token set from env 18:45:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:45:58 ==> Running gcov in . (disable via -X gcov) 18:45:58 ==> Python coveragepy not found 18:45:58 ==> Searching for coverage reports in: 18:45:58 + . 18:45:58 -> Found 1 reports 18:45:58 ==> Detecting git/mercurial file structure 18:45:58 ==> Reading reports 18:45:58 + ./coverage.out bytes=9369 18:45:58 ==> Appending adjustments 18:45:58 https://docs.codecov.io/docs/fixing-reports 18:45:58 + Found adjustments 18:45:58 ==> Gzipping contents 18:45:58 4.0K /tmp/codecov.6v4IVC.gz 18:45:58 ==> Uploading reports 18:45:58 url: https://codecov.io 18:45:58 query: branch=PR-78&commit=972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-78%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=78&job=&cmd_args= 18:45:58 -> Pinging Codecov 18:45:58 https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-78&commit=972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-78%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=78&job=&cmd_args= 18:45:58 -> Uploading to 18:45:58 https://storage.googleapis.com/codecov/v4/raw/2021-04-19/4E5D53B4F1F92C436F7061BF334D961C/972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7/179cb11e-3d9c-4a2f-b0c8-257abf9ee9be.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210419T184558Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ca221e7558eeb13698f9aa96d37395041a267ee16b4bfb011ba21b438a826a2b 18:45:58 % Total % Received % Xferd Average Speed Time Time Time Current 18:45:58 Dload Upload Total Spent Left Speed 18:45:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1726 0 0 100 1726 0 4811 --:--:-- --:--:-- --:--:-- 4821 18:45:59 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/972f9a53fcc6e0a7fdb38f618c740a8eaa6ff0d7 [Pipeline] } 18:45:59 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 18:46:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:46:01 ---> package-listing.sh 18:46:01 ++ facter osfamily 18:46:01 ++ tr '[:upper:]' '[:lower:]' 18:46:01 + OS_FAMILY=redhat 18:46:01 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-78 18:46:01 + START_PACKAGES=/tmp/packages_start.txt 18:46:01 + END_PACKAGES=/tmp/packages_end.txt 18:46:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:46:01 + PACKAGES=/tmp/packages_start.txt 18:46:01 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-78 ']' 18:46:01 + PACKAGES=/tmp/packages_end.txt 18:46:01 + case "${OS_FAMILY}" in 18:46:01 + rpm -qa 18:46:01 + sort 18:46:07 + '[' -f /tmp/packages_start.txt ']' 18:46:07 + '[' -f /tmp/packages_end.txt ']' 18:46:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:46:07 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-78 ']' 18:46:07 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-78/archives/ 18:46:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-78/archives/ [Pipeline] echo 18:46:07 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-78/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:46:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:46:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:46:07 18:46:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:46:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:46:08 alpine: Pulling from edgex-lftools-log-publisher 18:46:08 df20fa9351a1: Pulling fs layer 18:46:08 36b3adc4ff6f: Pulling fs layer 18:46:08 8ad3a11d3b57: Pulling fs layer 18:46:08 46f8f816bc3b: Pulling fs layer 18:46:08 93b61091891f: Pulling fs layer 18:46:08 93b9cdb0e59b: Pulling fs layer 18:46:08 5e14af77c1be: Pulling fs layer 18:46:08 01666e4c0597: Pulling fs layer 18:46:08 aa168da1d23b: Pulling fs layer 18:46:08 93b61091891f: Waiting 18:46:08 93b9cdb0e59b: Waiting 18:46:08 46f8f816bc3b: Waiting 18:46:08 5e14af77c1be: Waiting 18:46:08 01666e4c0597: Waiting 18:46:08 aa168da1d23b: Waiting 18:46:08 36b3adc4ff6f: Verifying Checksum 18:46:08 36b3adc4ff6f: Download complete 18:46:08 46f8f816bc3b: Verifying Checksum 18:46:08 46f8f816bc3b: Download complete 18:46:08 df20fa9351a1: Verifying Checksum 18:46:08 df20fa9351a1: Download complete 18:46:08 93b9cdb0e59b: Verifying Checksum 18:46:08 93b9cdb0e59b: Download complete 18:46:08 5e14af77c1be: Verifying Checksum 18:46:08 5e14af77c1be: Download complete 18:46:08 01666e4c0597: Verifying Checksum 18:46:08 01666e4c0597: Download complete 18:46:08 93b61091891f: Verifying Checksum 18:46:08 93b61091891f: Download complete 18:46:08 8ad3a11d3b57: Verifying Checksum 18:46:08 8ad3a11d3b57: Download complete 18:46:08 df20fa9351a1: Pull complete 18:46:09 36b3adc4ff6f: Pull complete 18:46:09 8ad3a11d3b57: Pull complete 18:46:09 46f8f816bc3b: Pull complete 18:46:11 aa168da1d23b: Verifying Checksum 18:46:11 aa168da1d23b: Download complete 18:46:11 93b61091891f: Pull complete 18:46:11 93b9cdb0e59b: Pull complete 18:46:11 5e14af77c1be: Pull complete 18:46:11 01666e4c0597: Pull complete 18:46:18 aa168da1d23b: Pull complete 18:46:18 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:46:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:46:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:46:18 prd-centos7-docker-4c-2g-867 does not seem to be running inside a container 18:46:18 $ 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-78/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-78 -v /w/workspace/dgexfoundry_device-rest-go_PR-78:/w/workspace/dgexfoundry_device-rest-go_PR-78:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-78@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-78@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:46:23 $ docker top d336eccdead0fb7490168f27554b27faa02a0fef06629a25d80f3cca8f1d6090 -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:24 + touch /tmp/pre-build-complete [Pipeline] sh 18:46:24 + mkdir -p /var/log/sa [Pipeline] sh 18:46:25 + ls /var/log/sa-host 18:46:25 + sadf -c /var/log/sa-host/sa19 18:46:25 file_magic: OK 18:46:25 HZ: Using current value: 100 18:46:25 file_header: OK 18:46:25 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 18:46:25 Statistics: 18:46:25 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:46:25 File successfully converted to sysstat format version 12.2.1 18:46:25 + sadf -c /var/log/sa-host/sa23 18:46:25 file_magic: OK 18:46:25 HZ: Using current value: 100 18:46:25 file_header: OK 18:46:25 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 18:46:25 Statistics: 18:46:25 Hnuu...uuuununununu... 18:46:25 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:46:25 provisioning config files... 18:46:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-78@tmp/config4785748372375189120tmp [Pipeline] { [Pipeline] echo 18:46:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:46:25 ---> create-netrc.sh [Pipeline] } 18:46:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:46:25 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:46:26 ---> python-tools-install.sh [Pipeline] echo 18:46:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:46:26 ---> sudo-logs.sh 18:46:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:46:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:46:26 ---> job-cost.sh 18:46:26 lf-activate-venv: SKIPPING 18:46:26 DEBUG: total: 0.20999999344348907 18:46:26 INFO: Retrieving Stack Cost... 18:46:27 INFO: Retrieving Pricing Info for: v1-standard-2 18:46:28 INFO: Archiving Costs [Pipeline] echo 18:46:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:46:28 ---> logs-deploy.sh 18:46:28 lf-activate-venv: SKIPPING 18:46:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-78/1 18:46:28 INFO: archiving workspace using pattern(s): 18:46:30 Archives upload complete. 18:46:30 INFO: archiving logs to Nexus 18:46:31 ---> uname -a: 18:46:31 Linux prd-centos7-docker-4c-2g-867.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 18:46:31 18:46:31 18:46:31 ---> lscpu: 18:46:31 Architecture: x86_64 18:46:31 CPU op-mode(s): 32-bit, 64-bit 18:46:31 Byte Order: Little Endian 18:46:31 Address sizes: 40 bits physical, 48 bits virtual 18:46:31 CPU(s): 4 18:46:31 On-line CPU(s) list: 0-3 18:46:31 Thread(s) per core: 1 18:46:31 Core(s) per socket: 1 18:46:31 Socket(s): 4 18:46:31 NUMA node(s): 1 18:46:31 Vendor ID: GenuineIntel 18:46:31 CPU family: 6 18:46:31 Model: 44 18:46:31 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 18:46:31 Stepping: 1 18:46:31 CPU MHz: 2933.438 18:46:31 BogoMIPS: 5866.87 18:46:31 Virtualization: VT-x 18:46:31 Hypervisor vendor: KVM 18:46:31 Virtualization type: full 18:46:31 L1d cache: 128 KiB 18:46:31 L1i cache: 128 KiB 18:46:31 L2 cache: 16 MiB 18:46:31 L3 cache: 64 MiB 18:46:31 NUMA node0 CPU(s): 0-3 18:46:31 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 18:46:31 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 18:46:31 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 18:46:31 Vulnerability Meltdown: Mitigation; PTI 18:46:31 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:46:31 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 18:46:31 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 18:46:31 Vulnerability Srbds: Not affected 18:46:31 Vulnerability Tsx async abort: Not affected 18:46:31 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 18:46:31 18:46:31 18:46:31 ---> nproc: 18:46:31 4 18:46:31 18:46:31 18:46:31 ---> df -h: 18:46:31 Filesystem Size Used Available Use% Mounted on 18:46:31 overlay 50.0G 7.3G 42.7G 15% / 18:46:31 tmpfs 64.0M 0 64.0M 0% /dev 18:46:31 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 18:46:31 shm 64.0M 0 64.0M 0% /dev/shm 18:46:31 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 18:46:31 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 18:46:31 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 18:46:31 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 18:46:31 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-78@tmp 18:46:31 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 18:46:31 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 18:46:31 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 18:46:31 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 18:46:31 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-78 18:46:31 18:46:31 18:46:31 ---> free -m: 18:46:31 total used free shared buff/cache available 18:46:31 Mem: 1837 734 95 0 1007 997 18:46:31 Swap: 1023 1 1022 18:46:31 18:46:31