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