Pull request #841 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f6b29a72d2d5cd354a2c454d7d52fb10221e8833+b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 (e4558da25134fb885670f42c2e96eeae2452747f) 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-sdk-go/branches/PR-841/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-sdk-go/branches/PR-841/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-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-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: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-31496’ Running on prd-centos7-docker-4c-2g-31500 in /w/workspace/dgexfoundry_device-sdk-go_PR-841 [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-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-841 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit f6b29a72d2d5cd354a2c454d7d52fb10221e8833 Merge succeeded, producing f6b29a72d2d5cd354a2c454d7d52fb10221e8833 Checking out Revision f6b29a72d2d5cd354a2c454d7d52fb10221e8833 (PR-841) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/841/head:refs/remotes/origin/PR-841 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6b29a72d2d5cd354a2c454d7d52fb10221e8833 # 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 b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6b29a72d2d5cd354a2c454d7d52fb10221e8833 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/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:55:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:55:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:55:15 ========================================================= 05:55:15 EdgeX Global Pipelines Version Info 05:55:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:55:17 ------------------- 05:55:17 stable info: 05:55:17 ------------------- 05:55:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:55:17 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:55:17 Message: update stable to v1.0.186 05:55:18 ------------------- 05:55:18 experimental info: 05:55:18 ------------------- 05:55:18 Commited By: **** collab-it+edgex@linuxfoundation.org 05:55:18 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 05:55:18 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:55:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:55:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:55:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:55:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:55:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:55:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:55:19 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:55:19 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:55:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:55:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:55:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:55:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:55:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:55:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:55:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:55:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:55:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:55:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:55:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:55:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:55:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:55:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:55:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:55:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:55:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:55:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:55:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-841 [Pipeline] echo 05:55:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-841 [Pipeline] echo 05:55:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-841 [Pipeline] echo 05:55:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f6b29a72d2d5cd354a2c454d7d52fb10221e8833 [Pipeline] echo 05:55:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f6b29a7 [Pipeline] echo 05:55:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:55:23 provisioning config files... 05:55:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-841@tmp/config8578696528523712811tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:55:23 ---> docker-login.sh 05:55:23 nexus3.edgexfoundry.org:10001 05:55:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:24 Configure a credential helper to remove this warning. See 05:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:24 05:55:24 Login Succeeded 05:55:24 nexus3.edgexfoundry.org:10002 05:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:24 Configure a credential helper to remove this warning. See 05:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:24 05:55:24 Login Succeeded 05:55:24 nexus3.edgexfoundry.org:10003 05:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:24 Configure a credential helper to remove this warning. See 05:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:24 05:55:24 Login Succeeded 05:55:24 nexus3.edgexfoundry.org:10004 05:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:24 Configure a credential helper to remove this warning. See 05:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:24 05:55:24 Login Succeeded 05:55:24 docker.io 05:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:24 Configure a credential helper to remove this warning. See 05:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:24 05:55:24 Login Succeeded 05:55:24 ---> docker-login.sh ends [Pipeline] } 05:55:24 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:55:26 + git log --format=format:%s -1 f6b29a72d2d5cd354a2c454d7d52fb10221e8833 [Pipeline] echo 05:55:26 GIT_COMMIT: f6b29a72d2d5cd354a2c454d7d52fb10221e8833, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:55:26 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:55:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:55:26 05:55:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:55:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:55:27 latest: Pulling from edgex-devops/git-semver 05:55:27 31603596830f: Pulling fs layer 05:55:27 2a8b12db71e7: Pulling fs layer 05:55:27 6ca5941a6612: Pulling fs layer 05:55:27 ecc8261a40a4: Pulling fs layer 05:55:27 ecc8261a40a4: Waiting 05:55:27 2a8b12db71e7: Verifying Checksum 05:55:27 2a8b12db71e7: Download complete 05:55:27 31603596830f: Verifying Checksum 05:55:27 31603596830f: Download complete 05:55:27 ecc8261a40a4: Verifying Checksum 05:55:27 ecc8261a40a4: Download complete 05:55:27 6ca5941a6612: Verifying Checksum 05:55:27 6ca5941a6612: Download complete 05:55:27 31603596830f: Pull complete 05:55:28 2a8b12db71e7: Pull complete 05:55:29 6ca5941a6612: Pull complete 05:55:29 ecc8261a40a4: Pull complete 05:55:29 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:55:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:55:29 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:55:29 prd-centos7-docker-4c-2g-31500 does not seem to be running inside a container 05:55:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-841 -v /w/workspace/dgexfoundry_device-sdk-go_PR-841:/w/workspace/dgexfoundry_device-sdk-go_PR-841:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-841@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-841@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:55:31 $ docker top c5b7835bff354fd29fd15b5594b6812011ad8cd52949bd89ccdb59377573e49a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:55:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:55:32 [ssh-agent] Looking for ssh-agent implementation... 05:55:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:55:32 $ docker exec c5b7835bff354fd29fd15b5594b6812011ad8cd52949bd89ccdb59377573e49a ssh-agent 05:55:32 SSH_AUTH_SOCK=/tmp/ssh-d6RmXtiO32lj/agent.12 05:55:32 SSH_AGENT_PID=17 05:55:32 Running ssh-add (command line suppressed) 05:55:32 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-841@tmp/private_key_5051412850635870144.key (/w/workspace/dgexfoundry_device-sdk-go_PR-841@tmp/private_key_5051412850635870144.key) 05:55:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:55:33 + git tag --points-at HEAD [Pipeline] } 05:55:33 $ docker exec --env ******** --env ******** c5b7835bff354fd29fd15b5594b6812011ad8cd52949bd89ccdb59377573e49a ssh-agent -k 05:55:33 unset SSH_AUTH_SOCK; 05:55:33 unset SSH_AGENT_PID; 05:55:33 echo Agent pid 17 killed; 05:55:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:55:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:55:33 [ssh-agent] Looking for ssh-agent implementation... 05:55:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:55:33 $ docker exec c5b7835bff354fd29fd15b5594b6812011ad8cd52949bd89ccdb59377573e49a ssh-agent 05:55:33 SSH_AUTH_SOCK=/tmp/ssh-PSW2QQIsN1oO/agent.47 05:55:33 SSH_AGENT_PID=53 05:55:33 Running ssh-add (command line suppressed) 05:55:34 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-841@tmp/private_key_8915925132189939038.key (/w/workspace/dgexfoundry_device-sdk-go_PR-841@tmp/private_key_8915925132189939038.key) 05:55:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:55:34 + git semver init 05:55:34 # -> Open(): unable to determine branch for HEAD 05:55:34 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-841/.git 05:55:34 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-841 05:55:34 # $SEMVER_REMOTE_NAME = origin 05:55:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:55:34 # $SEMVER_USER_NAME = edgex-jenkins 05:55:34 # $SEMVER_BRANCH = PR-841 05:55:34 # $SEMVER_TEMP = /tmp/semver-074253787 05:55:34 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:55:35 # '/tmp/semver-074253787' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-841/.semver' 05:55:35 # -> Force: false 05:55:35 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-841/.semver [Pipeline] } 05:55:35 $ docker exec --env ******** --env ******** c5b7835bff354fd29fd15b5594b6812011ad8cd52949bd89ccdb59377573e49a ssh-agent -k 05:55:35 unset SSH_AUTH_SOCK; 05:55:35 unset SSH_AGENT_PID; 05:55:35 echo Agent pid 53 killed; 05:55:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:55:36 + git semver [Pipeline] } 05:55:36 $ docker stop --time=1 c5b7835bff354fd29fd15b5594b6812011ad8cd52949bd89ccdb59377573e49a 05:55:37 $ docker rm -f c5b7835bff354fd29fd15b5594b6812011ad8cd52949bd89ccdb59377573e49a [Pipeline] // withDockerContainer [Pipeline] sh 05:55:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:55:38 Stashed 1 file(s) [Pipeline] echo 05:55:38 [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:55:54 Running on prd-centos7-docker-4c-2g-31501 in /w/workspace/dgexfoundry_device-sdk-go_PR-841 [Pipeline] { [Pipeline] ws 05:55:54 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:55:54 Still waiting to schedule task 05:55:54 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 05:55:56 using credential edgex-jenkins-ssh 05:55:56 Cloning the remote Git repository 05:55:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:55:56 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:55:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:55:56 > git --version # timeout=10 05:55:56 > git --version # 'git version 2.24.3' 05:55:56 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:55:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:55:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:55:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:55:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:55:57 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/841/head:refs/remotes/origin/PR-841 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:55:58 Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit f6b29a72d2d5cd354a2c454d7d52fb10221e8833 05:55:58 Merge succeeded, producing f6b29a72d2d5cd354a2c454d7d52fb10221e8833 05:55:58 Checking out Revision f6b29a72d2d5cd354a2c454d7d52fb10221e8833 (PR-841) 05:55:57 > git config core.sparsecheckout # timeout=10 05:55:57 > git checkout -f f6b29a72d2d5cd354a2c454d7d52fb10221e8833 # timeout=10 05:55:57 > git remote # timeout=10 05:55:57 > git config --get remote.origin.url # timeout=10 05:55:57 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:57 > git merge b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 05:55:57 > git rev-parse HEAD^{commit} # timeout=10 05:55:57 > git config core.sparsecheckout # timeout=10 05:55:57 > git checkout -f f6b29a72d2d5cd354a2c454d7d52fb10221e8833 # timeout=10 05:56:01 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:56:01 > git --version # timeout=10 05:56:01 > git --version # 'git version 2.24.3' 05:56:01 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:56:03 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:56:03 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:56:03 + sudo service docker restart 05:56:03 + true 05:56:03 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:56:04 provisioning config files... 05:56:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7357501655638585062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:05 ---> docker-login.sh 05:56:05 nexus3.edgexfoundry.org:10001 05:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:05 Configure a credential helper to remove this warning. See 05:56:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:05 05:56:05 Login Succeeded 05:56:05 nexus3.edgexfoundry.org:10002 05:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:05 Configure a credential helper to remove this warning. See 05:56:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:05 05:56:05 Login Succeeded 05:56:05 nexus3.edgexfoundry.org:10003 05:56:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:06 Configure a credential helper to remove this warning. See 05:56:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:06 05:56:06 Login Succeeded 05:56:06 nexus3.edgexfoundry.org:10004 05:56:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:06 Configure a credential helper to remove this warning. See 05:56:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:06 05:56:06 Login Succeeded 05:56:06 docker.io 05:56:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:06 Configure a credential helper to remove this warning. See 05:56:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:06 05:56:06 Login Succeeded 05:56:06 ---> docker-login.sh ends [Pipeline] } 05:56:06 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:56:07 ========================================================= 05:56:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:56:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:56:07 + 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:56:07 Sending build context to Docker daemon 2.306MB 05:56:07 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:56:07 Step 2/8 : FROM ${BASE} 05:56:07 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:56:07 188c0c94c7c5: Pulling fs layer 05:56:07 0ef7d3d256c8: Pulling fs layer 05:56:07 de9db76c5a1d: Pulling fs layer 05:56:07 bca2f99d35d6: Pulling fs layer 05:56:07 93359f2a8cfa: Pulling fs layer 05:56:07 7c6f9722023f: Pulling fs layer 05:56:07 a35cf1a2eb13: Pulling fs layer 05:56:07 bca2f99d35d6: Waiting 05:56:07 93359f2a8cfa: Waiting 05:56:07 7c6f9722023f: Waiting 05:56:07 a35cf1a2eb13: Waiting 05:56:07 de9db76c5a1d: Verifying Checksum 05:56:07 de9db76c5a1d: Download complete 05:56:07 0ef7d3d256c8: Download complete 05:56:07 93359f2a8cfa: Verifying Checksum 05:56:07 93359f2a8cfa: Download complete 05:56:07 7c6f9722023f: Verifying Checksum 05:56:07 7c6f9722023f: Download complete 05:56:07 188c0c94c7c5: Verifying Checksum 05:56:07 188c0c94c7c5: Download complete 05:56:08 188c0c94c7c5: Pull complete 05:56:08 0ef7d3d256c8: Pull complete 05:56:08 de9db76c5a1d: Pull complete 05:56:10 a35cf1a2eb13: Verifying Checksum 05:56:10 a35cf1a2eb13: Download complete 05:56:10 bca2f99d35d6: Verifying Checksum 05:56:10 bca2f99d35d6: Download complete 05:56:16 bca2f99d35d6: Pull complete 05:56:16 93359f2a8cfa: Pull complete 05:56:16 7c6f9722023f: Pull complete 05:56:24 a35cf1a2eb13: Pull complete 05:56:24 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:56:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:56:24 ---> a62c8e92a672 05:56:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:56:24 ---> Running in 44ce049a5e5a 05:56:24 Removing intermediate container 44ce049a5e5a 05:56:24 ---> b03003c9e3c5 05:56:24 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:56:24 ---> Running in b64803079b7f 05:56:24 Removing intermediate container b64803079b7f 05:56:24 ---> 2b5eb1f7530f 05:56:24 Step 5/8 : RUN apk add --update --no-cache make git 05:56:24 ---> Running in 770d81a9add0 05:56:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:56:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:56:29 OK: 166 MiB in 39 packages 05:56:29 Removing intermediate container 770d81a9add0 05:56:29 ---> 9b8bbc1f8414 05:56:29 Step 6/8 : WORKDIR /device-sdk-go 05:56:29 ---> Running in 7b77b82183c8 05:56:29 Removing intermediate container 7b77b82183c8 05:56:29 ---> d25c0168e033 05:56:29 Step 7/8 : COPY . . 05:56:30 ---> aee9a940e909 05:56:30 Step 8/8 : RUN go mod download 05:56:30 ---> Running in a1afb13938ea 05:56:53 Removing intermediate container a1afb13938ea 05:56:53 ---> 2c9d6ce5aaba 05:56:53 Successfully built 2c9d6ce5aaba 05:56:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:56:53 + docker inspect -f . ci-base-image-x86_64 05:56:53 . [Pipeline] withDockerContainer 05:56:53 prd-centos7-docker-4c-2g-31501 does not seem to be running inside a container 05:56:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:56:54 $ docker top ac46f028620f9ec44a6349c37560d626ac62836d3e3db1b6241f49d500e67567 -eo pid,comm [Pipeline] { [Pipeline] sh 05:56:54 + go version 05:56:54 go version go1.15.5 linux/amd64 [Pipeline] } 05:56:54 $ docker stop --time=1 ac46f028620f9ec44a6349c37560d626ac62836d3e3db1b6241f49d500e67567 05:56:56 $ docker rm -f ac46f028620f9ec44a6349c37560d626ac62836d3e3db1b6241f49d500e67567 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:56:57 + docker inspect -f . ci-base-image-x86_64 05:56:57 . [Pipeline] withDockerContainer 05:56:57 prd-centos7-docker-4c-2g-31501 does not seem to be running inside a container 05:56:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:56:57 $ docker top 38565af71c49dcc8e69f1d0aa516b86c79c24c7c36ec5058581e4d3a1148618a -eo pid,comm [Pipeline] { [Pipeline] sh 05:56:58 + make test 05:56:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:57:05 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:57:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:57:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:57:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:57:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:57:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:57:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.067s coverage: 27.0% of statements 05:57:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.066s coverage: 81.2% of statements 05:57:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.049s coverage: 10.5% of statements 05:57:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:57:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:57:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.093s coverage: 32.5% of statements 05:57:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:57:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:57:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:57:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.092s coverage: 57.3% of statements 05:57:55 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.202s coverage: 6.6% of statements 05:57:55 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.066s coverage: 5.0% of statements 05:57:55 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:57:55 GO111MODULE=on go vet ./... 05:58:02 gofmt -l . 05:58:02 [ "`gofmt -l .`" = "" ] 05:58:02 ./bin/test-attribution-txt.sh 05:58:02 An attribution for golang.org/x/crypto is missing from in Attribution.txt, please add 05:58:02 make: *** [Makefile:36: test] Error 1 [Pipeline] } 05:58:02 $ docker stop --time=1 38565af71c49dcc8e69f1d0aa516b86c79c24c7c36ec5058581e4d3a1148618a 05:58:04 $ docker rm -f 38565af71c49dcc8e69f1d0aa516b86c79c24c7c36ec5058581e4d3a1148618a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 05:58:06 ---> job-cost.sh 05:58:06 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4EY6 05:58:21 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:58:48 lf-activate-venv(): INFO: Adding /tmp/venv-4EY6/bin to PATH 05:58:48 INFO: No Stack... 05:58:48 INFO: Retrieving Pricing Info for: v1-standard-2 05:58:49 INFO: Archiving Costs [Pipeline] sh 05:58:49 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:58:49 + cut -d, -f6 [Pipeline] lock 05:58:49 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-841-1-stack-cost] 05:58:49 Resource [jenkins-edgexfoundry-device-sdk-go-PR-841-1-stack-cost] did not exist. Created. 05:58:49 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-841-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:58:50 + echo total: 0.029999999329447746 [Pipeline] stash 05:58:50 Running on prd-ubuntu18.04-docker-arm64-4c-16g-31502 in /w/workspace/dgexfoundry_device-sdk-go_PR-841 [Pipeline] { [Pipeline] ws 05:58:50 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:58:50 Stashed 1 file(s) [Pipeline] } 05:58:50 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-841-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:58:52 Failed in branch amd64 05:58:56 using credential edgex-jenkins-ssh 05:58:56 Cloning the remote Git repository 05:58:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:58:56 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:58:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:58:56 > git --version # timeout=10 05:58:56 > git --version # 'git version 2.17.1' 05:58:56 using GIT_SSH to set credentials SSH Credentials for GitHub 05:58:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:58:58 Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit f6b29a72d2d5cd354a2c454d7d52fb10221e8833 05:58:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:58:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:58:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:58:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:58:57 using GIT_SSH to set credentials SSH Credentials for GitHub 05:58:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/841/head:refs/remotes/origin/PR-841 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:58:58 > git config core.sparsecheckout # timeout=10 05:58:58 > git checkout -f f6b29a72d2d5cd354a2c454d7d52fb10221e8833 # timeout=10 05:58:58 > git remote # timeout=10 05:58:58 > git config --get remote.origin.url # timeout=10 05:58:58 using GIT_SSH to set credentials SSH Credentials for GitHub 05:58:58 > git merge b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 05:58:58 Merge succeeded, producing f6b29a72d2d5cd354a2c454d7d52fb10221e8833 05:58:58 Checking out Revision f6b29a72d2d5cd354a2c454d7d52fb10221e8833 (PR-841) 05:58:58 > git rev-parse HEAD^{commit} # timeout=10 05:58:58 > git config core.sparsecheckout # timeout=10 05:58:58 > git checkout -f f6b29a72d2d5cd354a2c454d7d52fb10221e8833 # timeout=10 05:59:02 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:59:02 > git --version # timeout=10 05:59:02 > git --version # 'git version 2.17.1' 05:59:02 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:04 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:59:05 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:59:05 + true 05:59:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:59:08 provisioning config files... 05:59:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9143785224369255174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:08 ---> docker-login.sh 05:59:08 nexus3.edgexfoundry.org:10001 05:59:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:10 Configure a credential helper to remove this warning. See 05:59:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:10 05:59:10 Login Succeeded 05:59:10 nexus3.edgexfoundry.org:10002 05:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:10 Configure a credential helper to remove this warning. See 05:59:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:10 05:59:10 Login Succeeded 05:59:10 nexus3.edgexfoundry.org:10003 05:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:11 Configure a credential helper to remove this warning. See 05:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:11 05:59:11 Login Succeeded 05:59:11 nexus3.edgexfoundry.org:10004 05:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:11 Configure a credential helper to remove this warning. See 05:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:11 05:59:11 Login Succeeded 05:59:11 docker.io 05:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:12 Configure a credential helper to remove this warning. See 05:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:12 05:59:12 Login Succeeded 05:59:12 ---> docker-login.sh ends [Pipeline] } 05:59:12 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:59:13 ========================================================= 05:59:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:59:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:59:13 + 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:59:13 Sending build context to Docker daemon 2.302MB 05:59:13 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:59:13 Step 2/8 : FROM ${BASE} 05:59:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:59:14 5f621e34cdf4: Pulling fs layer 05:59:14 a4357932f1b6: Pulling fs layer 05:59:14 18c013af1878: Pulling fs layer 05:59:14 00ac8860ef70: Pulling fs layer 05:59:14 63d7cb157983: Pulling fs layer 05:59:14 b116817d02f9: Pulling fs layer 05:59:14 745a02a5169b: Pulling fs layer 05:59:14 63d7cb157983: Waiting 05:59:14 b116817d02f9: Waiting 05:59:14 745a02a5169b: Waiting 05:59:14 00ac8860ef70: Waiting 05:59:14 18c013af1878: Verifying Checksum 05:59:14 18c013af1878: Download complete 05:59:14 a4357932f1b6: Download complete 05:59:14 63d7cb157983: Verifying Checksum 05:59:14 63d7cb157983: Download complete 05:59:14 b116817d02f9: Download complete 05:59:14 5f621e34cdf4: Verifying Checksum 05:59:14 5f621e34cdf4: Download complete 05:59:14 5f621e34cdf4: Pull complete 05:59:15 a4357932f1b6: Pull complete 05:59:15 18c013af1878: Pull complete 05:59:16 745a02a5169b: Download complete 05:59:17 00ac8860ef70: Verifying Checksum 05:59:17 00ac8860ef70: Download complete 05:59:27 00ac8860ef70: Pull complete 05:59:27 63d7cb157983: Pull complete 05:59:27 b116817d02f9: Pull complete 05:59:31 745a02a5169b: Pull complete 05:59:31 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:59:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:59:31 ---> b7e6874047d6 05:59:31 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:59:33 ---> Running in 44f8ad376deb 05:59:33 Removing intermediate container 44f8ad376deb 05:59:33 ---> bd74d226b245 05:59:33 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:59:33 ---> Running in e44766e4e33e 05:59:36 Removing intermediate container e44766e4e33e 05:59:36 ---> 1b4b50e55a02 05:59:36 Step 5/8 : RUN apk add --update --no-cache make git 05:59:36 ---> Running in ed442b36f7bb 05:59:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:59:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:59:40 OK: 142 MiB in 39 packages 05:59:41 Removing intermediate container ed442b36f7bb 05:59:41 ---> 5c862fba1a9d 05:59:41 Step 6/8 : WORKDIR /device-sdk-go 05:59:41 ---> Running in 932c9c6542ea 05:59:42 Removing intermediate container 932c9c6542ea 05:59:42 ---> 5a51cafcb636 05:59:42 Step 7/8 : COPY . . 05:59:43 ---> 2af202d63d01 05:59:43 Step 8/8 : RUN go mod download 05:59:43 ---> Running in e743c44146b9 06:00:05 Removing intermediate container e743c44146b9 06:00:05 ---> 8191a160c78d 06:00:05 Successfully built 8191a160c78d 06:00:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:00:06 + docker inspect -f . ci-base-image-arm64 06:00:06 . [Pipeline] withDockerContainer 06:00:06 prd-ubuntu18.04-docker-arm64-4c-16g-31502 does not seem to be running inside a container 06:00:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:00:08 $ docker top 1689ec635f3abb3a190cacf2b01b96765c93d908ab465072e5f1538a3a12ea5d -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:09 + go version 06:00:09 go version go1.15.5 linux/arm64 [Pipeline] } 06:00:09 $ docker stop --time=1 1689ec635f3abb3a190cacf2b01b96765c93d908ab465072e5f1538a3a12ea5d 06:00:11 $ docker rm -f 1689ec635f3abb3a190cacf2b01b96765c93d908ab465072e5f1538a3a12ea5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:00:12 + docker inspect -f . ci-base-image-arm64 06:00:12 . [Pipeline] withDockerContainer 06:00:12 prd-ubuntu18.04-docker-arm64-4c-16g-31502 does not seem to be running inside a container 06:00:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:00:14 $ docker top 08faa1859172a243716a5a84f4cd97e2f234b50f8f3bdd28fc2aac38230bc96d -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:15 + make test 06:00:15 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:00:37 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:01:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:01:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:01:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:01:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:01:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:01:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.122s coverage: 27.0% of statements 06:01:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.210s coverage: 81.2% of statements 06:01:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.134s coverage: 10.5% of statements 06:01:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:01:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:01:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.233s coverage: 32.5% of statements 06:01:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:01:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:01:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:01:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.244s coverage: 57.3% of statements 06:01:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.900s coverage: 6.6% of statements 06:01:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 5.0% of statements 06:01:54 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:01:54 GO111MODULE=on go vet ./... 06:02:27 gofmt -l . 06:02:27 [ "`gofmt -l .`" = "" ] 06:02:27 ./bin/test-attribution-txt.sh 06:02:27 An attribution for golang.org/x/crypto is missing from in Attribution.txt, please add 06:02:27 make: *** [Makefile:36: test] Error 1 [Pipeline] } 06:02:27 $ docker stop --time=1 08faa1859172a243716a5a84f4cd97e2f234b50f8f3bdd28fc2aac38230bc96d 06:02:30 $ docker rm -f 08faa1859172a243716a5a84f4cd97e2f234b50f8f3bdd28fc2aac38230bc96d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 06:02:32 ---> job-cost.sh 06:02:32 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wAoD 06:03:11 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:04:48 lf-activate-venv(): INFO: Adding /tmp/venv-wAoD/bin to PATH 06:04:48 INFO: No Stack... 06:04:48 INFO: Retrieving Pricing Info for: lf-standard-4 06:04:48 INFO: Archiving Costs [Pipeline] sh 06:04:48 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 06:04:48 + cut -d, -f6 [Pipeline] lock 06:04:48 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-841-1-stack-cost] 06:04:48 Resource [jenkins-edgexfoundry-device-sdk-go-PR-841-1-stack-cost] did not exist. Created. 06:04:48 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-841-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:04:49 /w/workspace/device-sdk-go/1@tmp/durable-01c9edb7/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-01c9edb7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:04:49 + echo total: 0.20999999344348907 [Pipeline] stash 06:04:49 Warning: overwriting stash ‘stack-cost’ 06:04:51 Stashed 1 file(s) [Pipeline] } 06:04:51 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-841-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:04:52 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:04:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:04:56 ---> package-listing.sh 06:04:56 ++ facter osfamily 06:04:56 ++ tr '[:upper:]' '[:lower:]' 06:04:56 + OS_FAMILY=redhat 06:04:56 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-841 06:04:56 + START_PACKAGES=/tmp/packages_start.txt 06:04:56 + END_PACKAGES=/tmp/packages_end.txt 06:04:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:04:56 + PACKAGES=/tmp/packages_start.txt 06:04:56 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-841 ']' 06:04:56 + PACKAGES=/tmp/packages_end.txt 06:04:56 + case "${OS_FAMILY}" in 06:04:56 + rpm -qa 06:04:56 + sort 06:05:02 + '[' -f /tmp/packages_start.txt ']' 06:05:02 + '[' -f /tmp/packages_end.txt ']' 06:05:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:05:02 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-841 ']' 06:05:02 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-841/archives/ 06:05:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-841/archives/ [Pipeline] echo 06:05:02 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-sdk-go_PR-841/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:05:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:05:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:05:02 06:05:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:05:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:05:03 alpine: Pulling from edgex-lftools-log-publisher 06:05:03 df20fa9351a1: Pulling fs layer 06:05:03 36b3adc4ff6f: Pulling fs layer 06:05:03 8ad3a11d3b57: Pulling fs layer 06:05:03 46f8f816bc3b: Pulling fs layer 06:05:03 93b61091891f: Pulling fs layer 06:05:03 93b9cdb0e59b: Pulling fs layer 06:05:03 5e14af77c1be: Pulling fs layer 06:05:03 01666e4c0597: Pulling fs layer 06:05:03 aa168da1d23b: Pulling fs layer 06:05:03 46f8f816bc3b: Waiting 06:05:03 93b61091891f: Waiting 06:05:03 93b9cdb0e59b: Waiting 06:05:03 5e14af77c1be: Waiting 06:05:03 01666e4c0597: Waiting 06:05:03 aa168da1d23b: Waiting 06:05:03 36b3adc4ff6f: Verifying Checksum 06:05:03 46f8f816bc3b: Verifying Checksum 06:05:03 46f8f816bc3b: Download complete 06:05:03 df20fa9351a1: Download complete 06:05:03 93b9cdb0e59b: Verifying Checksum 06:05:03 93b9cdb0e59b: Download complete 06:05:03 93b61091891f: Verifying Checksum 06:05:03 93b61091891f: Download complete 06:05:03 5e14af77c1be: Verifying Checksum 06:05:03 5e14af77c1be: Download complete 06:05:03 01666e4c0597: Verifying Checksum 06:05:03 01666e4c0597: Download complete 06:05:03 8ad3a11d3b57: Verifying Checksum 06:05:03 8ad3a11d3b57: Download complete 06:05:04 df20fa9351a1: Pull complete 06:05:04 36b3adc4ff6f: Pull complete 06:05:04 8ad3a11d3b57: Pull complete 06:05:05 46f8f816bc3b: Pull complete 06:05:06 93b61091891f: Pull complete 06:05:06 93b9cdb0e59b: Pull complete 06:05:06 aa168da1d23b: Verifying Checksum 06:05:06 aa168da1d23b: Download complete 06:05:06 5e14af77c1be: Pull complete 06:05:06 01666e4c0597: Pull complete 06:05:13 aa168da1d23b: Pull complete 06:05:13 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:05:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:05:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:05:13 prd-centos7-docker-4c-2g-31500 does not seem to be running inside a container 06:05:13 $ 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-sdk-go_PR-841/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-sdk-go_PR-841 -v /w/workspace/dgexfoundry_device-sdk-go_PR-841:/w/workspace/dgexfoundry_device-sdk-go_PR-841:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-841@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-841@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:05:20 $ docker top 84a6ead4d3e2a99da93ab0073c18e8f402c3a6366d4b4925ac0060f1615079a8 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:21 + touch /tmp/pre-build-complete [Pipeline] sh 06:05:21 + mkdir -p /var/log/sa [Pipeline] sh 06:05:21 + ls /var/log/sa-host 06:05:21 + sadf -c /var/log/sa-host/sa23 06:05:21 file_magic: OK 06:05:21 HZ: Using current value: 100 06:05:21 file_header: OK 06:05:21 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 06:05:21 Statistics: 06:05:21 Hnuu...uuuununununu... 06:05:21 File successfully converted to sysstat format version 12.2.1 06:05:21 + sadf -c /var/log/sa-host/sa26 06:05:21 file_magic: OK 06:05:21 HZ: Using current value: 100 06:05:21 file_header: OK 06:05:21 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 06:05:21 Statistics: 06:05:21 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:05:21 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:05:22 provisioning config files... 06:05:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-841@tmp/config6517714422646976092tmp [Pipeline] { [Pipeline] echo 06:05:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:05:22 ---> create-netrc.sh [Pipeline] } 06:05:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:05:22 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:05:23 ---> python-tools-install.sh [Pipeline] echo 06:05:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:05:23 ---> sudo-logs.sh 06:05:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:05:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:05:23 ---> job-cost.sh 06:05:23 lf-activate-venv: SKIPPING 06:05:23 DEBUG: total: 0.20999999344348907 06:05:23 INFO: Retrieving Stack Cost... 06:05:24 INFO: Retrieving Pricing Info for: v1-standard-2 06:05:25 INFO: Archiving Costs [Pipeline] echo 06:05:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:05:26 ---> logs-deploy.sh 06:05:26 lf-activate-venv: SKIPPING 06:05:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-841/1 06:05:26 INFO: archiving workspace using pattern(s): 06:05:28 Archives upload complete. 06:05:28 INFO: archiving logs to Nexus