Pull request #849 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from eb9b27ad3b63c2ca825a57738b3cce7a5025397f+89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e (8ebbcf5e7886a9ed6bef49e4281f767346324046) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-32058 in /w/workspace/dgexfoundry_device-sdk-go_PR-849 [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-849 # 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 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e into PR head commit eb9b27ad3b63c2ca825a57738b3cce7a5025397f Merge succeeded, producing eb9b27ad3b63c2ca825a57738b3cce7a5025397f Checking out Revision eb9b27ad3b63c2ca825a57738b3cce7a5025397f (PR-849) > 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/849/head:refs/remotes/origin/PR-849 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb9b27ad3b63c2ca825a57738b3cce7a5025397f # 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 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb9b27ad3b63c2ca825a57738b3cce7a5025397f # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git rev-list --no-walk 41d5c87cc19042882bb4614417840f9580d126b2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:01:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:01:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:01:56 ========================================================= 17:01:56 EdgeX Global Pipelines Version Info 17:01:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:01:58 ------------------- 17:01:58 stable info: 17:01:58 ------------------- 17:01:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:01:58 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 17:01:58 Message: update stable to v1.0.186 17:01:59 ------------------- 17:01:59 experimental info: 17:01:59 ------------------- 17:01:59 Commited By: **** collab-it+edgex@linuxfoundation.org 17:01:59 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 17:01:59 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:01:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 17:01:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 17:01:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:02:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:02:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:02:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 17:02:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:02:00 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 17:02:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 17:02:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:02:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:02:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 17:02:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:02:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:02:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:02:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:02:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:02:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:02:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:02:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:02:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:02:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 17:02:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:02:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:02:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:02:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:02:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-849 [Pipeline] echo 17:02:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-849 [Pipeline] echo 17:02:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-849 [Pipeline] echo 17:02:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb9b27ad3b63c2ca825a57738b3cce7a5025397f [Pipeline] echo 17:02:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb9b27a [Pipeline] echo 17:02:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:02:03 provisioning config files... 17:02:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-849@tmp/config7135337128343611320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:02:03 ---> docker-login.sh 17:02:03 nexus3.edgexfoundry.org:10001 17:02:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:04 Configure a credential helper to remove this warning. See 17:02:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:04 17:02:04 Login Succeeded 17:02:04 nexus3.edgexfoundry.org:10002 17:02:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:04 Configure a credential helper to remove this warning. See 17:02:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:04 17:02:04 Login Succeeded 17:02:04 nexus3.edgexfoundry.org:10003 17:02:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:04 Configure a credential helper to remove this warning. See 17:02:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:04 17:02:04 Login Succeeded 17:02:04 nexus3.edgexfoundry.org:10004 17:02:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:04 Configure a credential helper to remove this warning. See 17:02:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:04 17:02:04 Login Succeeded 17:02:04 docker.io 17:02:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:04 Configure a credential helper to remove this warning. See 17:02:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:04 17:02:04 Login Succeeded 17:02:04 ---> docker-login.sh ends [Pipeline] } 17:02:04 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 17:02:05 + git log --format=format:%s -1 eb9b27ad3b63c2ca825a57738b3cce7a5025397f [Pipeline] echo 17:02:05 GIT_COMMIT: eb9b27ad3b63c2ca825a57738b3cce7a5025397f, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 17:02:05 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:02:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:02:06 17:02:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:02:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:02:06 latest: Pulling from edgex-devops/git-semver 17:02:06 31603596830f: Pulling fs layer 17:02:06 2a8b12db71e7: Pulling fs layer 17:02:06 6ca5941a6612: Pulling fs layer 17:02:06 ecc8261a40a4: Pulling fs layer 17:02:06 ecc8261a40a4: Waiting 17:02:06 2a8b12db71e7: Verifying Checksum 17:02:06 2a8b12db71e7: Download complete 17:02:06 31603596830f: Verifying Checksum 17:02:06 31603596830f: Download complete 17:02:07 ecc8261a40a4: Verifying Checksum 17:02:07 ecc8261a40a4: Download complete 17:02:07 6ca5941a6612: Verifying Checksum 17:02:07 6ca5941a6612: Download complete 17:02:07 31603596830f: Pull complete 17:02:07 2a8b12db71e7: Pull complete 17:02:08 6ca5941a6612: Pull complete 17:02:08 ecc8261a40a4: Pull complete 17:02:08 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 17:02:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:02:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:02:08 prd-centos7-docker-4c-2g-32058 does not seem to be running inside a container 17:02:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-849 -v /w/workspace/dgexfoundry_device-sdk-go_PR-849:/w/workspace/dgexfoundry_device-sdk-go_PR-849:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-849@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-849@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:10004/edgex-devops/git-semver:latest cat 17:02:11 $ docker top 583342e8607b7adbbd540e3143369c6970e6aebe3b7bb9b1ec7044b9473c432b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:02:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:02:11 [ssh-agent] Looking for ssh-agent implementation... 17:02:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:02:11 $ docker exec 583342e8607b7adbbd540e3143369c6970e6aebe3b7bb9b1ec7044b9473c432b ssh-agent 17:02:12 SSH_AUTH_SOCK=/tmp/ssh-CRHKvlQgpzuB/agent.11 17:02:12 SSH_AGENT_PID=16 17:02:12 Running ssh-add (command line suppressed) 17:02:12 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-849@tmp/private_key_4868243160739211572.key (/w/workspace/dgexfoundry_device-sdk-go_PR-849@tmp/private_key_4868243160739211572.key) 17:02:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:02:12 + git tag --points-at HEAD [Pipeline] } 17:02:12 $ docker exec --env ******** --env ******** 583342e8607b7adbbd540e3143369c6970e6aebe3b7bb9b1ec7044b9473c432b ssh-agent -k 17:02:12 unset SSH_AUTH_SOCK; 17:02:12 unset SSH_AGENT_PID; 17:02:12 echo Agent pid 16 killed; 17:02:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:02:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:02:12 [ssh-agent] Looking for ssh-agent implementation... 17:02:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:02:13 $ docker exec 583342e8607b7adbbd540e3143369c6970e6aebe3b7bb9b1ec7044b9473c432b ssh-agent 17:02:13 SSH_AUTH_SOCK=/tmp/ssh-wtdH3RtjJvzV/agent.45 17:02:13 SSH_AGENT_PID=50 17:02:13 Running ssh-add (command line suppressed) 17:02:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-849@tmp/private_key_3869666398645377927.key (/w/workspace/dgexfoundry_device-sdk-go_PR-849@tmp/private_key_3869666398645377927.key) 17:02:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:02:13 + git semver init 17:02:13 # -> Open(): unable to determine branch for HEAD 17:02:13 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-849/.git 17:02:13 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-849 17:02:13 # $SEMVER_REMOTE_NAME = origin 17:02:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:02:13 # $SEMVER_USER_NAME = edgex-jenkins 17:02:13 # $SEMVER_BRANCH = PR-849 17:02:13 # $SEMVER_TEMP = /tmp/semver-692752710 17:02:13 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 17:02:14 # '/tmp/semver-692752710' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-849/.semver' 17:02:14 # -> Force: false 17:02:14 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-849/.semver [Pipeline] } 17:02:14 $ docker exec --env ******** --env ******** 583342e8607b7adbbd540e3143369c6970e6aebe3b7bb9b1ec7044b9473c432b ssh-agent -k 17:02:14 unset SSH_AUTH_SOCK; 17:02:14 unset SSH_AGENT_PID; 17:02:14 echo Agent pid 50 killed; 17:02:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:02:15 + git semver [Pipeline] } 17:02:15 $ docker stop --time=1 583342e8607b7adbbd540e3143369c6970e6aebe3b7bb9b1ec7044b9473c432b 17:02:17 $ docker rm -f 583342e8607b7adbbd540e3143369c6970e6aebe3b7bb9b1ec7044b9473c432b [Pipeline] // withDockerContainer [Pipeline] sh 17:02:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:02:18 Stashed 1 file(s) [Pipeline] echo 17:02:18 [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 17:02:33 Still waiting to schedule task 17:02:33 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:02:33 Still waiting to schedule task 17:02:33 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 17:04:59 Running on prd-centos7-docker-4c-2g-32062 in /w/workspace/dgexfoundry_device-sdk-go_PR-849 [Pipeline] { [Pipeline] ws 17:04:59 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 17:05:02 using credential edgex-jenkins-ssh 17:05:02 Cloning the remote Git repository 17:05:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:05:02 > git init /w/workspace/device-sdk-go/2 # timeout=10 17:05:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:05:03 > git --version # timeout=10 17:05:03 > git --version # 'git version 2.24.3' 17:05:03 using GIT_SSH to set credentials SSH Credentials for GitHub 17:05:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:05:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:05:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:05:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:05:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:05:05 using GIT_SSH to set credentials SSH Credentials for GitHub 17:05:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/849/head:refs/remotes/origin/PR-849 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:05:06 Merging remotes/origin/master commit 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e into PR head commit eb9b27ad3b63c2ca825a57738b3cce7a5025397f 17:05:06 Merge succeeded, producing eb9b27ad3b63c2ca825a57738b3cce7a5025397f 17:05:06 Checking out Revision eb9b27ad3b63c2ca825a57738b3cce7a5025397f (PR-849) 17:05:06 > git config core.sparsecheckout # timeout=10 17:05:06 > git checkout -f eb9b27ad3b63c2ca825a57738b3cce7a5025397f # timeout=10 17:05:06 > git remote # timeout=10 17:05:06 > git config --get remote.origin.url # timeout=10 17:05:06 using GIT_SSH to set credentials SSH Credentials for GitHub 17:05:06 > git merge 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e # timeout=10 17:05:06 > git rev-parse HEAD^{commit} # timeout=10 17:05:06 > git config core.sparsecheckout # timeout=10 17:05:06 > git checkout -f eb9b27ad3b63c2ca825a57738b3cce7a5025397f # timeout=10 17:05:10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:05:11 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 17:05:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:05:12 + sudo service docker restart 17:05:12 + true 17:05:12 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:05:13 provisioning config files... 17:05:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7358352776168164876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:05:14 ---> docker-login.sh 17:05:14 nexus3.edgexfoundry.org:10001 17:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:14 Configure a credential helper to remove this warning. See 17:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:14 17:05:14 Login Succeeded 17:05:14 nexus3.edgexfoundry.org:10002 17:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:15 Configure a credential helper to remove this warning. See 17:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:15 17:05:15 Login Succeeded 17:05:15 nexus3.edgexfoundry.org:10003 17:05:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:15 Configure a credential helper to remove this warning. See 17:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:15 17:05:15 Login Succeeded 17:05:15 nexus3.edgexfoundry.org:10004 17:05:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:15 Configure a credential helper to remove this warning. See 17:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:15 17:05:15 Login Succeeded 17:05:15 docker.io 17:05:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:15 Configure a credential helper to remove this warning. See 17:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:15 17:05:15 Login Succeeded 17:05:15 ---> docker-login.sh ends [Pipeline] } 17:05:15 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:05:16 ========================================================= 17:05:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 17:05:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:05:16 + 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 . 17:05:16 Sending build context to Docker daemon 2.328MB 17:05:16 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 17:05:16 Step 2/8 : FROM ${BASE} 17:05:16 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 17:05:16 188c0c94c7c5: Pulling fs layer 17:05:16 0ef7d3d256c8: Pulling fs layer 17:05:16 de9db76c5a1d: Pulling fs layer 17:05:16 bca2f99d35d6: Pulling fs layer 17:05:16 93359f2a8cfa: Pulling fs layer 17:05:16 7c6f9722023f: Pulling fs layer 17:05:16 a35cf1a2eb13: Pulling fs layer 17:05:16 7c6f9722023f: Waiting 17:05:16 bca2f99d35d6: Waiting 17:05:16 93359f2a8cfa: Waiting 17:05:16 a35cf1a2eb13: Waiting 17:05:16 de9db76c5a1d: Verifying Checksum 17:05:16 de9db76c5a1d: Download complete 17:05:16 0ef7d3d256c8: Verifying Checksum 17:05:16 0ef7d3d256c8: Download complete 17:05:16 93359f2a8cfa: Verifying Checksum 17:05:16 93359f2a8cfa: Download complete 17:05:16 188c0c94c7c5: Verifying Checksum 17:05:16 188c0c94c7c5: Download complete 17:05:16 7c6f9722023f: Verifying Checksum 17:05:16 7c6f9722023f: Download complete 17:05:17 188c0c94c7c5: Pull complete 17:05:17 0ef7d3d256c8: Pull complete 17:05:17 de9db76c5a1d: Pull complete 17:05:19 a35cf1a2eb13: Verifying Checksum 17:05:19 a35cf1a2eb13: Download complete 17:05:20 bca2f99d35d6: Download complete 17:05:27 bca2f99d35d6: Pull complete 17:05:27 93359f2a8cfa: Pull complete 17:05:27 7c6f9722023f: Pull complete 17:05:34 a35cf1a2eb13: Pull complete 17:05:34 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 17:05:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 17:05:34 ---> a62c8e92a672 17:05:34 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:05:34 ---> Running in 5b089d730785 17:05:34 Removing intermediate container 5b089d730785 17:05:34 ---> fa18eff193e6 17:05:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:05:34 ---> Running in 57ce610df627 17:05:36 Removing intermediate container 57ce610df627 17:05:36 ---> b7e347cc69ac 17:05:36 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 17:05:36 ---> Running in 913198bf757d 17:05:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:05:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:05:38 (1/6) Installing libc-dev (0.7.2-r3) 17:05:38 (2/6) Installing libsodium (1.0.18-r0) 17:05:38 (3/6) Installing pkgconf (1.7.2-r0) 17:05:38 (4/6) Installing libsodium-dev (1.0.18-r0) 17:05:38 (5/6) Installing libzmq (4.3.3-r0) 17:05:38 (6/6) Installing zeromq-dev (4.3.3-r0) 17:05:38 Executing busybox-1.31.1-r19.trigger 17:05:38 OK: 167 MiB in 45 packages 17:05:39 Removing intermediate container 913198bf757d 17:05:39 ---> 750425b91b32 17:05:39 Step 6/8 : WORKDIR /device-sdk-go 17:05:39 ---> Running in 1af18a2c05ad 17:05:39 Removing intermediate container 1af18a2c05ad 17:05:39 ---> 48e6fa9b1ebd 17:05:39 Step 7/8 : COPY . . 17:05:41 ---> 2d22f4bd054a 17:05:41 Step 8/8 : RUN go mod download 17:05:41 ---> Running in 15dfefe62b4a 17:05:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-32064 in /w/workspace/dgexfoundry_device-sdk-go_PR-849 [Pipeline] { [Pipeline] ws 17:05:57 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 17:06:02 using credential edgex-jenkins-ssh 17:06:02 Cloning the remote Git repository 17:06:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:06:03 > git init /w/workspace/device-sdk-go/2 # timeout=10 17:06:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:06:03 > git --version # timeout=10 17:06:03 > git --version # 'git version 2.17.1' 17:06:03 using GIT_SSH to set credentials SSH Credentials for GitHub 17:06:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:06:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:06:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:06:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:06:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:06:05 using GIT_SSH to set credentials SSH Credentials for GitHub 17:06:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/849/head:refs/remotes/origin/PR-849 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:06:06 Merging remotes/origin/master commit 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e into PR head commit eb9b27ad3b63c2ca825a57738b3cce7a5025397f 17:06:06 Merge succeeded, producing eb9b27ad3b63c2ca825a57738b3cce7a5025397f 17:06:06 Checking out Revision eb9b27ad3b63c2ca825a57738b3cce7a5025397f (PR-849) 17:06:06 > git config core.sparsecheckout # timeout=10 17:06:06 > git checkout -f eb9b27ad3b63c2ca825a57738b3cce7a5025397f # timeout=10 17:06:06 > git remote # timeout=10 17:06:06 > git config --get remote.origin.url # timeout=10 17:06:06 using GIT_SSH to set credentials SSH Credentials for GitHub 17:06:06 > git merge 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e # timeout=10 17:06:06 > git rev-parse HEAD^{commit} # timeout=10 17:06:06 > git config core.sparsecheckout # timeout=10 17:06:06 > git checkout -f eb9b27ad3b63c2ca825a57738b3cce7a5025397f # timeout=10 17:06:07 Removing intermediate container 15dfefe62b4a 17:06:07 ---> 25ca24d316d7 17:06:07 Successfully built 25ca24d316d7 17:06:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:06:08 + docker inspect -f . ci-base-image-x86_64 17:06:08 . [Pipeline] withDockerContainer 17:06:08 prd-centos7-docker-4c-2g-32062 does not seem to be running inside a container 17:06:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:06:09 $ docker top 2d62f74855607db7733bf2ca026e169c6caf55b0ed3deb855aa7eef20395bf32 -eo pid,comm [Pipeline] { [Pipeline] sh 17:06:09 + go version 17:06:09 go version go1.15.5 linux/amd64 [Pipeline] } 17:06:09 $ docker stop --time=1 2d62f74855607db7733bf2ca026e169c6caf55b0ed3deb855aa7eef20395bf32 17:06:10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 17:06:11 $ docker rm -f 2d62f74855607db7733bf2ca026e169c6caf55b0ed3deb855aa7eef20395bf32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 17:06:12 + docker inspect -f . ci-base-image-x86_64 17:06:12 . [Pipeline] withDockerContainer 17:06:12 prd-centos7-docker-4c-2g-32062 does not seem to be running inside a container 17:06:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:06:12 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 17:06:13 $ docker top 60d09aa9b5c3324bb7a2d6e2a70e6513429255483b03755cbc0ce69abec87fbb -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 17:06:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:06:14 + make test 17:06:14 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:06:14 + true 17:06:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:06:17 provisioning config files... 17:06:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5113082099367285613tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:06:17 ---> docker-login.sh 17:06:17 nexus3.edgexfoundry.org:10001 17:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:18 Configure a credential helper to remove this warning. See 17:06:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:18 17:06:18 Login Succeeded 17:06:18 nexus3.edgexfoundry.org:10002 17:06:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:19 Configure a credential helper to remove this warning. See 17:06:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:19 17:06:19 Login Succeeded 17:06:19 nexus3.edgexfoundry.org:10003 17:06:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:19 Configure a credential helper to remove this warning. See 17:06:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:19 17:06:19 Login Succeeded 17:06:19 nexus3.edgexfoundry.org:10004 17:06:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:20 Configure a credential helper to remove this warning. See 17:06:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:20 17:06:20 Login Succeeded 17:06:20 docker.io 17:06:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:21 Configure a credential helper to remove this warning. See 17:06:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:21 17:06:21 Login Succeeded 17:06:21 ---> docker-login.sh ends [Pipeline] } 17:06:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:06:21 ========================================================= 17:06:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 17:06:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:06:22 + 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 . 17:06:22 Sending build context to Docker daemon 2.352MB 17:06:22 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 17:06:22 Step 2/8 : FROM ${BASE} 17:06:22 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:06:22 5f621e34cdf4: Pulling fs layer 17:06:22 a4357932f1b6: Pulling fs layer 17:06:22 18c013af1878: Pulling fs layer 17:06:22 00ac8860ef70: Pulling fs layer 17:06:22 63d7cb157983: Pulling fs layer 17:06:22 b116817d02f9: Pulling fs layer 17:06:22 745a02a5169b: Pulling fs layer 17:06:22 00ac8860ef70: Waiting 17:06:22 63d7cb157983: Waiting 17:06:22 b116817d02f9: Waiting 17:06:22 745a02a5169b: Waiting 17:06:22 18c013af1878: Download complete 17:06:22 a4357932f1b6: Verifying Checksum 17:06:22 a4357932f1b6: Download complete 17:06:22 63d7cb157983: Verifying Checksum 17:06:22 63d7cb157983: Download complete 17:06:22 b116817d02f9: Verifying Checksum 17:06:22 b116817d02f9: Download complete 17:06:22 5f621e34cdf4: Verifying Checksum 17:06:22 5f621e34cdf4: Download complete 17:06:23 5f621e34cdf4: Pull complete 17:06:23 a4357932f1b6: Pull complete 17:06:24 18c013af1878: Pull complete 17:06:24 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 17:06:24 745a02a5169b: Verifying Checksum 17:06:24 745a02a5169b: Download complete 17:06:26 00ac8860ef70: Verifying Checksum 17:06:26 00ac8860ef70: Download complete 17:06:36 00ac8860ef70: Pull complete 17:06:36 63d7cb157983: Pull complete 17:06:37 b116817d02f9: Pull complete 17:06:41 745a02a5169b: Pull complete 17:06:41 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 17:06:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 17:06:41 ---> b7e6874047d6 17:06:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:06:44 ---> Running in f9b4415ac359 17:06:44 Removing intermediate container f9b4415ac359 17:06:44 ---> d6590cdb338c 17:06:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:06:44 ---> Running in fd398aadf327 17:06:46 Removing intermediate container fd398aadf327 17:06:46 ---> d65cc0d8127f 17:06:46 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 17:06:46 ---> Running in 0a323767c6e7 17:06:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 17:06:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 17:06:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 17:06:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 17:06:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 17:06:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:06:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:06:48 (1/6) Installing libc-dev (0.7.2-r3) 17:06:48 (2/6) Installing libsodium (1.0.18-r0) 17:06:48 (3/6) Installing pkgconf (1.7.2-r0) 17:06:49 (4/6) Installing libsodium-dev (1.0.18-r0) 17:06:49 (5/6) Installing libzmq (4.3.3-r0) 17:06:49 (6/6) Installing zeromq-dev (4.3.3-r0) 17:06:49 Executing busybox-1.31.1-r19.trigger 17:06:49 OK: 144 MiB in 45 packages 17:06:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.107s coverage: 27.0% of statements 17:06:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.121s coverage: 81.2% of statements 17:06:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.102s coverage: 7.8% of statements 17:06:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 17:06:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 17:06:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 17:06:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.094s coverage: 32.5% of statements 17:06:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 17:06:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 17:06:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 17:06:50 Removing intermediate container 0a323767c6e7 17:06:50 ---> 6e81ea3db720 17:06:50 Step 6/8 : WORKDIR /device-sdk-go 17:06:50 ---> Running in 67291a073bd3 17:06:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.124s coverage: 57.3% of statements 17:06:51 Removing intermediate container 67291a073bd3 17:06:51 ---> dd93c9dbb83c 17:06:51 Step 7/8 : COPY . . 17:06:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.306s coverage: 6.6% of statements 17:06:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 5.0% of statements 17:06:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 17:06:51 GO111MODULE=on go vet ./... 17:06:52 ---> aea945e3e62e 17:06:52 Step 8/8 : RUN go mod download 17:06:52 ---> Running in bca014a91135 17:07:10 gofmt -l . 17:07:10 [ "`gofmt -l .`" = "" ] 17:07:10 ./bin/test-attribution-txt.sh 17:07:10 An attribution for golang.org/x/crypto is missing from in Attribution.txt, please add 17:07:11 make: *** [Makefile:36: test] Error 1 [Pipeline] } 17:07:11 $ docker stop --time=1 60d09aa9b5c3324bb7a2d6e2a70e6513429255483b03755cbc0ce69abec87fbb 17:07:13 $ docker rm -f 60d09aa9b5c3324bb7a2d6e2a70e6513429255483b03755cbc0ce69abec87fbb [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 17:07:15 ---> job-cost.sh 17:07:15 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Y4Hk 17:07:19 Removing intermediate container bca014a91135 17:07:19 ---> 63e3dbf2fba1 17:07:19 Successfully built 63e3dbf2fba1 17:07:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:07:20 + docker inspect -f . ci-base-image-arm64 17:07:20 . [Pipeline] withDockerContainer 17:07:20 prd-ubuntu18.04-docker-arm64-4c-16g-32064 does not seem to be running inside a container 17:07:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 17:07:21 $ docker top 1d7f301626f8a85493fc8270979801426f90d313ed53631ac1196aea29b80215 -eo pid,comm [Pipeline] { [Pipeline] sh 17:07:22 + go version 17:07:22 go version go1.15.5 linux/arm64 [Pipeline] } 17:07:22 $ docker stop --time=1 1d7f301626f8a85493fc8270979801426f90d313ed53631ac1196aea29b80215 17:07:24 $ docker rm -f 1d7f301626f8a85493fc8270979801426f90d313ed53631ac1196aea29b80215 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:07:25 + docker inspect -f . ci-base-image-arm64 17:07:25 . [Pipeline] withDockerContainer 17:07:26 prd-ubuntu18.04-docker-arm64-4c-16g-32064 does not seem to be running inside a container 17:07:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 17:07:27 $ docker top 20033ee7b3b442f6a17f9f5898a1daafce8ac4bb7831cea3fbcac74c7e0fda45 -eo pid,comm [Pipeline] { [Pipeline] sh 17:07:28 + make test 17:07:28 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:07:33 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 17:07:51 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 17:08:05 lf-activate-venv(): INFO: Adding /tmp/venv-Y4Hk/bin to PATH 17:08:05 INFO: No Stack... 17:08:05 INFO: Retrieving Pricing Info for: v1-standard-2 17:08:05 INFO: Archiving Costs [Pipeline] sh 17:08:05 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 17:08:05 + cut -d, -f6 [Pipeline] lock 17:08:06 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-849-2-stack-cost] 17:08:06 Resource [jenkins-edgexfoundry-device-sdk-go-PR-849-2-stack-cost] did not exist. Created. 17:08:06 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-849-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:08:06 + echo total: 0.029999999329447746 [Pipeline] stash 17:08:07 Stashed 1 file(s) [Pipeline] } 17:08:07 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-849-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:08:07 Failed in branch amd64 17:08:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 17:08:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 17:08:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 17:08:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 17:08:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 17:08:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.142s coverage: 27.0% of statements 17:08:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.217s coverage: 81.2% of statements 17:08:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.204s coverage: 7.8% of statements 17:08:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 17:08:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 17:08:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 17:08:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.427s coverage: 32.5% of statements 17:08:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 17:08:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 17:08:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 17:08:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.271s coverage: 57.3% of statements 17:08:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.628s coverage: 6.6% of statements 17:08:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.150s coverage: 5.0% of statements 17:08:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 17:08:58 GO111MODULE=on go vet ./... 17:09:45 gofmt -l . 17:09:45 [ "`gofmt -l .`" = "" ] 17:09:45 ./bin/test-attribution-txt.sh 17:09:45 An attribution for golang.org/x/crypto is missing from in Attribution.txt, please add 17:09:45 make: *** [Makefile:36: test] Error 1 [Pipeline] } 17:09:45 $ docker stop --time=1 20033ee7b3b442f6a17f9f5898a1daafce8ac4bb7831cea3fbcac74c7e0fda45 17:09:47 $ docker rm -f 20033ee7b3b442f6a17f9f5898a1daafce8ac4bb7831cea3fbcac74c7e0fda45 [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 17:09:49 ---> job-cost.sh 17:09:49 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ZwX7 17:10:28 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 17:12:05 lf-activate-venv(): INFO: Adding /tmp/venv-ZwX7/bin to PATH 17:12:05 INFO: No Stack... 17:12:05 INFO: Retrieving Pricing Info for: lf-standard-4 17:12:05 INFO: Archiving Costs [Pipeline] sh 17:12:05 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 17:12:05 + cut -d, -f6 [Pipeline] lock 17:12:05 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-849-2-stack-cost] 17:12:05 Resource [jenkins-edgexfoundry-device-sdk-go-PR-849-2-stack-cost] did not exist. Created. 17:12:05 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-849-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:12:06 /w/workspace/device-sdk-go/2@tmp/durable-c48eda01/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-c48eda01/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 17:12:06 + echo total: 0.20999999344348907 [Pipeline] stash 17:12:06 Warning: overwriting stash ‘stack-cost’ 17:12:07 Stashed 1 file(s) [Pipeline] } 17:12:07 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-849-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:12:08 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 17:12:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:12:11 ---> package-listing.sh 17:12:11 ++ facter osfamily 17:12:11 ++ tr '[:upper:]' '[:lower:]' 17:12:11 + OS_FAMILY=redhat 17:12:11 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-849 17:12:11 + START_PACKAGES=/tmp/packages_start.txt 17:12:11 + END_PACKAGES=/tmp/packages_end.txt 17:12:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:12:11 + PACKAGES=/tmp/packages_start.txt 17:12:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-849 ']' 17:12:11 + PACKAGES=/tmp/packages_end.txt 17:12:11 + case "${OS_FAMILY}" in 17:12:11 + rpm -qa 17:12:11 + sort 17:12:16 + '[' -f /tmp/packages_start.txt ']' 17:12:16 + '[' -f /tmp/packages_end.txt ']' 17:12:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:12:16 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-849 ']' 17:12:16 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-849/archives/ 17:12:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-849/archives/ [Pipeline] echo 17:12:16 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-849/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:12:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:12:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:12:16 17:12:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:12:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:12:17 alpine: Pulling from edgex-lftools-log-publisher 17:12:17 df20fa9351a1: Pulling fs layer 17:12:17 36b3adc4ff6f: Pulling fs layer 17:12:17 8ad3a11d3b57: Pulling fs layer 17:12:17 46f8f816bc3b: Pulling fs layer 17:12:17 93b61091891f: Pulling fs layer 17:12:17 93b9cdb0e59b: Pulling fs layer 17:12:17 5e14af77c1be: Pulling fs layer 17:12:17 01666e4c0597: Pulling fs layer 17:12:17 aa168da1d23b: Pulling fs layer 17:12:17 46f8f816bc3b: Waiting 17:12:17 93b61091891f: Waiting 17:12:17 5e14af77c1be: Waiting 17:12:17 93b9cdb0e59b: Waiting 17:12:17 aa168da1d23b: Waiting 17:12:17 36b3adc4ff6f: Verifying Checksum 17:12:17 36b3adc4ff6f: Download complete 17:12:17 46f8f816bc3b: Verifying Checksum 17:12:17 46f8f816bc3b: Download complete 17:12:17 df20fa9351a1: Verifying Checksum 17:12:17 df20fa9351a1: Download complete 17:12:17 93b9cdb0e59b: Verifying Checksum 17:12:17 93b9cdb0e59b: Download complete 17:12:17 5e14af77c1be: Verifying Checksum 17:12:17 5e14af77c1be: Download complete 17:12:17 01666e4c0597: Verifying Checksum 17:12:17 01666e4c0597: Download complete 17:12:17 8ad3a11d3b57: Verifying Checksum 17:12:17 8ad3a11d3b57: Download complete 17:12:17 93b61091891f: Verifying Checksum 17:12:17 93b61091891f: Download complete 17:12:17 df20fa9351a1: Pull complete 17:12:18 36b3adc4ff6f: Pull complete 17:12:19 8ad3a11d3b57: Pull complete 17:12:19 46f8f816bc3b: Pull complete 17:12:19 aa168da1d23b: Verifying Checksum 17:12:19 aa168da1d23b: Download complete 17:12:19 93b61091891f: Pull complete 17:12:20 93b9cdb0e59b: Pull complete 17:12:20 5e14af77c1be: Pull complete 17:12:20 01666e4c0597: Pull complete 17:12:27 aa168da1d23b: Pull complete 17:12:27 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:12:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:12:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:12:27 prd-centos7-docker-4c-2g-32058 does not seem to be running inside a container 17:12:27 $ 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-849/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-849 -v /w/workspace/dgexfoundry_device-sdk-go_PR-849:/w/workspace/dgexfoundry_device-sdk-go_PR-849:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-849@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-849@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:10003/edgex-lftools-log-publisher:alpine cat 17:12:31 $ docker top 9947e524b0e21cab0bff9bc1c72f2fab5b5ca68cd108510f7fcb7bd499bc953c -eo pid,comm [Pipeline] { [Pipeline] sh 17:12:31 + touch /tmp/pre-build-complete [Pipeline] sh 17:12:32 + mkdir -p /var/log/sa [Pipeline] sh 17:12:32 + ls /var/log/sa-host 17:12:32 + sadf -c /var/log/sa-host/sa23 17:12:32 file_magic: OK 17:12:32 HZ: Using current value: 100 17:12:32 file_header: OK 17:12:32 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 17:12:32 Statistics: 17:12:32 Hnuu...uuuununununu... 17:12:32 File successfully converted to sysstat format version 12.2.1 17:12:32 + sadf -c /var/log/sa-host/sa30 17:12:32 file_magic: OK 17:12:32 HZ: Using current value: 100 17:12:32 file_header: OK 17:12:32 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 17:12:32 Statistics: 17:12:32 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:12:32 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:12:32 provisioning config files... 17:12:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-849@tmp/config5385469123900325110tmp [Pipeline] { [Pipeline] echo 17:12:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:12:33 ---> create-netrc.sh [Pipeline] } 17:12:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 17:12:33 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 17:12:33 ---> python-tools-install.sh [Pipeline] echo 17:12:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:12:33 ---> sudo-logs.sh 17:12:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:12:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:12:34 ---> job-cost.sh 17:12:34 lf-activate-venv: SKIPPING 17:12:34 DEBUG: total: 0.20999999344348907 17:12:34 INFO: Retrieving Stack Cost... 17:12:35 INFO: Retrieving Pricing Info for: v1-standard-2 17:12:36 INFO: Archiving Costs [Pipeline] echo 17:12:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:12:36 ---> logs-deploy.sh 17:12:36 lf-activate-venv: SKIPPING 17:12:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-849/2 17:12:36 INFO: archiving workspace using pattern(s): 17:12:38 Archives upload complete. 17:12:38 INFO: archiving logs to Nexus