Pull request #850 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d513111ac14c6685eb65e02aa97fd0b735a55fb2+666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 (9c834c82a0c2a9451f93cc8fd9cedd8a5fc603fd) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-32694 in /w/workspace/dgexfoundry_device-sdk-go_PR-850 [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-850 # 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 > 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/850/head:refs/remotes/origin/PR-850 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 into PR head commit d513111ac14c6685eb65e02aa97fd0b735a55fb2 Merge succeeded, producing d513111ac14c6685eb65e02aa97fd0b735a55fb2 Checking out Revision d513111ac14c6685eb65e02aa97fd0b735a55fb2 (PR-850) > git config core.sparsecheckout # timeout=10 > git checkout -f d513111ac14c6685eb65e02aa97fd0b735a55fb2 # 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 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d513111ac14c6685eb65e02aa97fd0b735a55fb2 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:33:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 7835cba7ba0ebd50693c73636895cef7a996a10e # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:33:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:33:55 ========================================================= 06:33:55 EdgeX Global Pipelines Version Info 06:33:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:33:56 ------------------- 06:33:56 stable info: 06:33:56 ------------------- 06:33:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:33:56 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 06:33:56 Message: update stable to v1.0.186 06:33:57 ------------------- 06:33:57 experimental info: 06:33:57 ------------------- 06:33:57 Commited By: **** collab-it+edgex@linuxfoundation.org 06:33:57 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 06:33:57 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:33:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:33:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:33:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:33:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:33:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:33:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:33:58 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:33:58 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:33:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:33:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:33:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:33:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:33:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:33:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:33:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:33:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:33:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:33:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:33:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:33:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:34:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:34:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:34:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:34:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:34:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:34:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:34:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-850 [Pipeline] echo 06:34:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-850 [Pipeline] echo 06:34:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-850 [Pipeline] echo 06:34:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d513111ac14c6685eb65e02aa97fd0b735a55fb2 [Pipeline] echo 06:34:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d513111 [Pipeline] echo 06:34:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:34:01 provisioning config files... 06:34:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/config1884612596363805972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:34:01 ---> docker-login.sh 06:34:01 nexus3.edgexfoundry.org:10001 06:34:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:02 Configure a credential helper to remove this warning. See 06:34:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:02 06:34:02 Login Succeeded 06:34:02 nexus3.edgexfoundry.org:10002 06:34:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:02 Configure a credential helper to remove this warning. See 06:34:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:02 06:34:02 Login Succeeded 06:34:02 nexus3.edgexfoundry.org:10003 06:34:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:02 Configure a credential helper to remove this warning. See 06:34:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:02 06:34:02 Login Succeeded 06:34:02 nexus3.edgexfoundry.org:10004 06:34:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:03 Configure a credential helper to remove this warning. See 06:34:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:03 06:34:03 Login Succeeded 06:34:03 docker.io 06:34:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:03 Configure a credential helper to remove this warning. See 06:34:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:03 06:34:03 Login Succeeded 06:34:03 ---> docker-login.sh ends [Pipeline] } 06:34:03 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 06:34:04 + git log --format=format:%s -1 d513111ac14c6685eb65e02aa97fd0b735a55fb2 [Pipeline] echo 06:34:04 GIT_COMMIT: d513111ac14c6685eb65e02aa97fd0b735a55fb2, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 06:34:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:34:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:34:05 06:34:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:34:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:34:05 latest: Pulling from edgex-devops/git-semver 06:34:05 31603596830f: Pulling fs layer 06:34:05 2a8b12db71e7: Pulling fs layer 06:34:05 6ca5941a6612: Pulling fs layer 06:34:05 ecc8261a40a4: Pulling fs layer 06:34:05 ecc8261a40a4: Waiting 06:34:05 2a8b12db71e7: Verifying Checksum 06:34:05 2a8b12db71e7: Download complete 06:34:05 31603596830f: Download complete 06:34:06 6ca5941a6612: Verifying Checksum 06:34:06 6ca5941a6612: Download complete 06:34:06 ecc8261a40a4: Verifying Checksum 06:34:06 ecc8261a40a4: Download complete 06:34:06 31603596830f: Pull complete 06:34:06 2a8b12db71e7: Pull complete 06:34:07 6ca5941a6612: Pull complete 06:34:07 ecc8261a40a4: Pull complete 06:34:07 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:34:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:34:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:34:07 prd-centos7-docker-4c-2g-32694 does not seem to be running inside a container 06:34:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-850 -v /w/workspace/dgexfoundry_device-sdk-go_PR-850:/w/workspace/dgexfoundry_device-sdk-go_PR-850:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-850@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 06:34:10 $ docker top f378943f9595896e412c09c7c167f26a3ab3fbb0fcf5817da183bd76f02f7139 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:34:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:34:10 [ssh-agent] Looking for ssh-agent implementation... 06:34:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:34:10 $ docker exec f378943f9595896e412c09c7c167f26a3ab3fbb0fcf5817da183bd76f02f7139 ssh-agent 06:34:10 SSH_AUTH_SOCK=/tmp/ssh-Q4yi3Potkswc/agent.12 06:34:10 SSH_AGENT_PID=17 06:34:10 Running ssh-add (command line suppressed) 06:34:10 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/private_key_8864043226281029301.key (/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/private_key_8864043226281029301.key) 06:34:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:34:11 + git tag --points-at HEAD [Pipeline] } 06:34:11 $ docker exec --env ******** --env ******** f378943f9595896e412c09c7c167f26a3ab3fbb0fcf5817da183bd76f02f7139 ssh-agent -k 06:34:11 unset SSH_AUTH_SOCK; 06:34:11 unset SSH_AGENT_PID; 06:34:11 echo Agent pid 17 killed; 06:34:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:34:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:34:11 [ssh-agent] Looking for ssh-agent implementation... 06:34:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:34:11 $ docker exec f378943f9595896e412c09c7c167f26a3ab3fbb0fcf5817da183bd76f02f7139 ssh-agent 06:34:12 SSH_AUTH_SOCK=/tmp/ssh-OFVpinPsskVj/agent.46 06:34:12 SSH_AGENT_PID=51 06:34:12 Running ssh-add (command line suppressed) 06:34:12 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/private_key_5953779944165155429.key (/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/private_key_5953779944165155429.key) 06:34:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:34:12 + git semver init 06:34:12 # -> Open(): unable to determine branch for HEAD 06:34:12 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-850/.git 06:34:12 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-850 06:34:12 # $SEMVER_REMOTE_NAME = origin 06:34:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:34:12 # $SEMVER_USER_NAME = edgex-jenkins 06:34:12 # $SEMVER_BRANCH = PR-850 06:34:12 # $SEMVER_TEMP = /tmp/semver-141110499 06:34:12 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:34:13 # '/tmp/semver-141110499' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-850/.semver' 06:34:13 # -> Force: false 06:34:13 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-850/.semver [Pipeline] } 06:34:13 $ docker exec --env ******** --env ******** f378943f9595896e412c09c7c167f26a3ab3fbb0fcf5817da183bd76f02f7139 ssh-agent -k 06:34:13 unset SSH_AUTH_SOCK; 06:34:13 unset SSH_AGENT_PID; 06:34:13 echo Agent pid 51 killed; 06:34:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:34:14 + git semver [Pipeline] } 06:34:14 $ docker stop --time=1 f378943f9595896e412c09c7c167f26a3ab3fbb0fcf5817da183bd76f02f7139 06:34:15 $ docker rm -f f378943f9595896e412c09c7c167f26a3ab3fbb0fcf5817da183bd76f02f7139 [Pipeline] // withDockerContainer [Pipeline] sh 06:34:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:34:17 Stashed 1 file(s) [Pipeline] echo 06:34:17 [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 06:34:32 Still waiting to schedule task 06:34:32 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-32694’ 06:34:32 Still waiting to schedule task 06:34:32 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:36:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-32695 in /w/workspace/dgexfoundry_device-sdk-go_PR-850 [Pipeline] { [Pipeline] ws 06:36:17 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 06:36:22 using credential edgex-jenkins-ssh 06:36:23 Cloning the remote Git repository 06:36:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:36:23 > git init /w/workspace/device-sdk-go/4 # timeout=10 06:36:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:36:23 > git --version # timeout=10 06:36:23 > git --version # 'git version 2.17.1' 06:36:23 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:36:25 Merging remotes/origin/master commit 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 into PR head commit d513111ac14c6685eb65e02aa97fd0b735a55fb2 06:36:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:36:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:36:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:36:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:36:24 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/850/head:refs/remotes/origin/PR-850 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:36:25 > git config core.sparsecheckout # timeout=10 06:36:25 > git checkout -f d513111ac14c6685eb65e02aa97fd0b735a55fb2 # timeout=10 06:36:25 Merge succeeded, producing d513111ac14c6685eb65e02aa97fd0b735a55fb2 06:36:25 Checking out Revision d513111ac14c6685eb65e02aa97fd0b735a55fb2 (PR-850) 06:36:25 > git remote # timeout=10 06:36:25 > git config --get remote.origin.url # timeout=10 06:36:25 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:25 > git merge 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 # timeout=10 06:36:25 > git rev-parse HEAD^{commit} # timeout=10 06:36:25 > git config core.sparsecheckout # timeout=10 06:36:25 > git checkout -f d513111ac14c6685eb65e02aa97fd0b735a55fb2 # timeout=10 06:36:29 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:36:31 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:36:32 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:36:32 + sudo service docker restart+ true 06:36:32 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:36:35 provisioning config files... 06:36:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config1085234815705005253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:36:35 ---> docker-login.sh 06:36:35 nexus3.edgexfoundry.org:10001 06:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:37 Configure a credential helper to remove this warning. See 06:36:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:37 06:36:37 Login Succeeded 06:36:37 nexus3.edgexfoundry.org:10002 06:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:37 Configure a credential helper to remove this warning. See 06:36:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:37 06:36:37 Login Succeeded 06:36:37 nexus3.edgexfoundry.org:10003 06:36:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:38 Configure a credential helper to remove this warning. See 06:36:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:38 06:36:38 Login Succeeded 06:36:38 nexus3.edgexfoundry.org:10004 06:36:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:38 Configure a credential helper to remove this warning. See 06:36:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:38 06:36:38 Login Succeeded 06:36:38 docker.io 06:36:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:39 Configure a credential helper to remove this warning. See 06:36:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:39 06:36:39 Login Succeeded 06:36:39 ---> docker-login.sh ends [Pipeline] } 06:36:39 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:36:40 ========================================================= 06:36:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:36:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:36:40 + 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 . 06:36:40 Sending build context to Docker daemon 2.346MB 06:36:40 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:36:40 Step 2/8 : FROM ${BASE} 06:36:40 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:36:40 5f621e34cdf4: Pulling fs layer 06:36:40 a4357932f1b6: Pulling fs layer 06:36:40 18c013af1878: Pulling fs layer 06:36:40 00ac8860ef70: Pulling fs layer 06:36:40 63d7cb157983: Pulling fs layer 06:36:40 b116817d02f9: Pulling fs layer 06:36:40 745a02a5169b: Pulling fs layer 06:36:40 00ac8860ef70: Waiting 06:36:40 63d7cb157983: Waiting 06:36:40 b116817d02f9: Waiting 06:36:40 745a02a5169b: Waiting 06:36:40 18c013af1878: Verifying Checksum 06:36:40 18c013af1878: Download complete 06:36:40 a4357932f1b6: Verifying Checksum 06:36:40 a4357932f1b6: Download complete 06:36:40 63d7cb157983: Download complete 06:36:41 b116817d02f9: Verifying Checksum 06:36:41 b116817d02f9: Download complete 06:36:41 5f621e34cdf4: Verifying Checksum 06:36:41 5f621e34cdf4: Download complete 06:36:42 5f621e34cdf4: Pull complete 06:36:43 a4357932f1b6: Pull complete 06:36:43 18c013af1878: Pull complete 06:36:44 745a02a5169b: Verifying Checksum 06:36:44 745a02a5169b: Download complete 06:36:45 00ac8860ef70: Verifying Checksum 06:36:45 00ac8860ef70: Download complete 06:36:55 00ac8860ef70: Pull complete 06:36:55 63d7cb157983: Pull complete 06:36:56 b116817d02f9: Pull complete 06:36:57 Running on prd-centos7-docker-4c-2g-32696 in /w/workspace/dgexfoundry_device-sdk-go_PR-850 [Pipeline] { [Pipeline] ws 06:36:57 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 06:36:59 using credential edgex-jenkins-ssh 06:36:59 Cloning the remote Git repository 06:36:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:36:59 > git init /w/workspace/device-sdk-go/4 # timeout=10 06:36:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:36:59 > git --version # timeout=10 06:36:59 > git --version # 'git version 2.24.3' 06:36:59 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:37:00 745a02a5169b: Pull complete 06:37:00 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:37:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:37:00 ---> b7e6874047d6 06:37:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:37:00 Merging remotes/origin/master commit 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 into PR head commit d513111ac14c6685eb65e02aa97fd0b735a55fb2 06:37:01 Merge succeeded, producing d513111ac14c6685eb65e02aa97fd0b735a55fb2 06:37:01 Checking out Revision d513111ac14c6685eb65e02aa97fd0b735a55fb2 (PR-850) 06:37:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:37:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:37:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:37:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:37:00 using GIT_SSH to set credentials SSH Credentials for GitHub 06:37:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/850/head:refs/remotes/origin/PR-850 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:37:00 > git config core.sparsecheckout # timeout=10 06:37:00 > git checkout -f d513111ac14c6685eb65e02aa97fd0b735a55fb2 # timeout=10 06:37:01 > git remote # timeout=10 06:37:01 > git config --get remote.origin.url # timeout=10 06:37:01 using GIT_SSH to set credentials SSH Credentials for GitHub 06:37:01 > git merge 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 # timeout=10 06:37:01 > git rev-parse HEAD^{commit} # timeout=10 06:37:01 > git config core.sparsecheckout # timeout=10 06:37:01 > git checkout -f d513111ac14c6685eb65e02aa97fd0b735a55fb2 # timeout=10 06:37:03 ---> Running in 24f92890a0d8 06:37:03 Removing intermediate container 24f92890a0d8 06:37:03 ---> 2b82454a72f4 06:37:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:37:03 ---> Running in 72def13d9010 06:37:04 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:37:05 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:37:06 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:37:06 Removing intermediate container 72def13d9010 06:37:06 ---> 42829b45c9ca 06:37:06 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 06:37:06 ---> Running in 78e2bacd0fab 06:37:06 + sudo service docker restart 06:37:06 + true 06:37:06 Redirecting to /bin/systemctl restart docker.service 06:37:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:37:07 provisioning config files... 06:37:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config1842726528249687706tmp [Pipeline] { 06:37:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] libraryResource [Pipeline] sh 06:37:08 ---> docker-login.sh 06:37:08 nexus3.edgexfoundry.org:10001 06:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:08 Configure a credential helper to remove this warning. See 06:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:08 06:37:08 Login Succeeded 06:37:08 nexus3.edgexfoundry.org:10002 06:37:08 (1/6) Installing libc-dev (0.7.2-r3) 06:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:08 Configure a credential helper to remove this warning. See 06:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:08 06:37:08 Login Succeeded 06:37:08 nexus3.edgexfoundry.org:10003 06:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:08 (2/6) Installing libsodium (1.0.18-r0) 06:37:08 (3/6) Installing pkgconf (1.7.2-r0) 06:37:08 (4/6) Installing libsodium-dev (1.0.18-r0) 06:37:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:09 Configure a credential helper to remove this warning. See 06:37:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:09 06:37:09 Login Succeeded 06:37:09 nexus3.edgexfoundry.org:10004 06:37:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:09 Configure a credential helper to remove this warning. See 06:37:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:09 06:37:09 Login Succeeded 06:37:09 docker.io 06:37:09 (5/6) Installing libzmq (4.3.3-r0) 06:37:09 (6/6) Installing zeromq-dev (4.3.3-r0) 06:37:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:09 Executing busybox-1.31.1-r19.trigger 06:37:09 OK: 144 MiB in 45 packages 06:37:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:09 Configure a credential helper to remove this warning. See 06:37:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:09 06:37:09 Login Succeeded 06:37:09 ---> docker-login.sh ends [Pipeline] } 06:37:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:37:09 ========================================================= 06:37:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:37:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:37:10 + 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 . 06:37:10 Sending build context to Docker daemon 2.35MB 06:37:10 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:37:10 Step 2/8 : FROM ${BASE} 06:37:10 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:37:10 188c0c94c7c5: Pulling fs layer 06:37:10 0ef7d3d256c8: Pulling fs layer 06:37:10 de9db76c5a1d: Pulling fs layer 06:37:10 bca2f99d35d6: Pulling fs layer 06:37:10 93359f2a8cfa: Pulling fs layer 06:37:10 7c6f9722023f: Pulling fs layer 06:37:10 a35cf1a2eb13: Pulling fs layer 06:37:10 bca2f99d35d6: Waiting 06:37:10 93359f2a8cfa: Waiting 06:37:10 7c6f9722023f: Waiting 06:37:10 a35cf1a2eb13: Waiting 06:37:10 0ef7d3d256c8: Verifying Checksum 06:37:10 0ef7d3d256c8: Download complete 06:37:10 de9db76c5a1d: Verifying Checksum 06:37:10 de9db76c5a1d: Download complete 06:37:10 93359f2a8cfa: Verifying Checksum 06:37:10 93359f2a8cfa: Download complete 06:37:10 188c0c94c7c5: Verifying Checksum 06:37:10 7c6f9722023f: Verifying Checksum 06:37:10 7c6f9722023f: Download complete 06:37:10 Removing intermediate container 78e2bacd0fab 06:37:10 ---> 6b8cfac7a9dd 06:37:10 Step 6/8 : WORKDIR /device-sdk-go 06:37:10 ---> Running in d2c9cb5df0f8 06:37:10 188c0c94c7c5: Pull complete 06:37:11 0ef7d3d256c8: Pull complete 06:37:11 de9db76c5a1d: Pull complete 06:37:11 Removing intermediate container d2c9cb5df0f8 06:37:11 ---> 4c9b2e7c7fc7 06:37:11 Step 7/8 : COPY . . 06:37:12 ---> 1be1070980c6 06:37:12 Step 8/8 : RUN go mod download 06:37:12 a35cf1a2eb13: Verifying Checksum 06:37:12 a35cf1a2eb13: Download complete 06:37:12 ---> Running in 36e4f098fdd5 06:37:13 bca2f99d35d6: Verifying Checksum 06:37:13 bca2f99d35d6: Download complete 06:37:18 bca2f99d35d6: Pull complete 06:37:18 93359f2a8cfa: Pull complete 06:37:18 7c6f9722023f: Pull complete 06:37:28 a35cf1a2eb13: Pull complete 06:37:28 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:37:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:37:28 ---> a62c8e92a672 06:37:28 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:37:28 ---> Running in b0959c114e91 06:37:28 Removing intermediate container b0959c114e91 06:37:28 ---> e7b4f08d5ba6 06:37:28 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:37:28 ---> Running in 9bab1be0e4df 06:37:28 Removing intermediate container 9bab1be0e4df 06:37:28 ---> 4ef5c28c3cd1 06:37:28 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 06:37:28 ---> Running in 9b9b3600dbef 06:37:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:37:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:37:30 (1/6) Installing libc-dev (0.7.2-r3) 06:37:30 (2/6) Installing libsodium (1.0.18-r0) 06:37:30 (3/6) Installing pkgconf (1.7.2-r0) 06:37:31 (4/6) Installing libsodium-dev (1.0.18-r0) 06:37:31 (5/6) Installing libzmq (4.3.3-r0) 06:37:31 (6/6) Installing zeromq-dev (4.3.3-r0) 06:37:31 Executing busybox-1.31.1-r19.trigger 06:37:31 OK: 167 MiB in 45 packages 06:37:31 Removing intermediate container 9b9b3600dbef 06:37:31 ---> cac061cc520b 06:37:31 Step 6/8 : WORKDIR /device-sdk-go 06:37:31 ---> Running in 5f09d7b59386 06:37:32 Removing intermediate container 5f09d7b59386 06:37:32 ---> 1bf175f0ac29 06:37:32 Step 7/8 : COPY . . 06:37:33 ---> 07d28f1fda19 06:37:33 Step 8/8 : RUN go mod download 06:37:33 ---> Running in 9e118891da14 06:37:45 Removing intermediate container 36e4f098fdd5 06:37:45 ---> 17aad402b696 06:37:45 Successfully built 17aad402b696 06:37:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:37:45 + docker inspect -f . ci-base-image-arm64 06:37:45 . [Pipeline] withDockerContainer 06:37:45 prd-ubuntu18.04-docker-arm64-4c-16g-32695 does not seem to be running inside a container 06:37:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 06:37:47 $ docker top 194b1aa051fdd658de984bb80926a7a14ebbd05387a69b56b710c9db277a1045 -eo pid,comm [Pipeline] { [Pipeline] sh 06:37:48 + go version 06:37:48 go version go1.15.5 linux/arm64 [Pipeline] } 06:37:48 $ docker stop --time=1 194b1aa051fdd658de984bb80926a7a14ebbd05387a69b56b710c9db277a1045 06:37:50 $ docker rm -f 194b1aa051fdd658de984bb80926a7a14ebbd05387a69b56b710c9db277a1045 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:37:51 + docker inspect -f . ci-base-image-arm64 06:37:51 . [Pipeline] withDockerContainer 06:37:51 prd-ubuntu18.04-docker-arm64-4c-16g-32695 does not seem to be running inside a container 06:37:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 06:37:53 $ docker top 4f3fef215dff2718e718dda1e1967e5c31bcc31abefc97b0c2b5dc7249f772ab -eo pid,comm [Pipeline] { [Pipeline] sh 06:37:54 + make test 06:37:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:37:55 Removing intermediate container 9e118891da14 06:37:55 ---> 0725eef6a506 06:37:55 Successfully built 0725eef6a506 06:37:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:37:56 + docker inspect -f . ci-base-image-x86_64 06:37:56 . [Pipeline] withDockerContainer 06:37:56 prd-centos7-docker-4c-2g-32696 does not seem to be running inside a container 06:37:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 06:37:57 $ docker top 5f5b28e5520b7aeb621c397eccad5885ed4b980336dc6869a53f768c75a088ab -eo pid,comm [Pipeline] { [Pipeline] sh 06:37:57 + go version 06:37:57 go version go1.15.5 linux/amd64 [Pipeline] } 06:37:57 $ docker stop --time=1 5f5b28e5520b7aeb621c397eccad5885ed4b980336dc6869a53f768c75a088ab 06:37:59 $ docker rm -f 5f5b28e5520b7aeb621c397eccad5885ed4b980336dc6869a53f768c75a088ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:38:00 + docker inspect -f . ci-base-image-x86_64 06:38:00 . [Pipeline] withDockerContainer 06:38:00 prd-centos7-docker-4c-2g-32696 does not seem to be running inside a container 06:38:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 06:38:00 $ docker top 66e7160a5c0128dd7cc33b4d4dca4c7b6d2d30795642de8f7792dd4e9caa7faa -eo pid,comm [Pipeline] { [Pipeline] sh 06:38:01 + make test 06:38:01 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:38:09 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:38:16 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:38:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:38:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:38:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:38:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:38:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:38:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.096s coverage: 28.1% of statements 06:38:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 81.2% of statements 06:38:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.057s coverage: 7.8% of statements 06:38:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:38:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:38:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:38:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.138s coverage: 32.5% of statements 06:38:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:38:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:38:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:38:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.102s coverage: 57.3% of statements 06:38:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.196s coverage: 6.6% of statements 06:38:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements 06:38:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:38:33 GO111MODULE=on go vet ./... 06:38:48 gofmt -l . 06:38:48 [ "`gofmt -l .`" = "" ] 06:38:49 ./bin/test-attribution-txt.sh 06:38:50 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:38:50 $ docker stop --time=1 66e7160a5c0128dd7cc33b4d4dca4c7b6d2d30795642de8f7792dd4e9caa7faa 06:38:52 $ docker rm -f 66e7160a5c0128dd7cc33b4d4dca4c7b6d2d30795642de8f7792dd4e9caa7faa [Pipeline] // withDockerContainer [Pipeline] sh 06:38:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:38:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:38:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:38:56 + ls -al . 06:38:56 total 188 06:38:56 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 4 06:38 . 06:38:56 drwxrwxr-x. 4 jenkins jenkins 28 Apr 4 06:36 .. 06:38:56 drwxrwxr-x. 2 jenkins jenkins 64 Apr 4 06:37 bin 06:38:56 -rw-r--r--. 1 jenkins jenkins 101239 Apr 4 06:38 coverage.out 06:38:56 -rw-rw-r--. 1 jenkins jenkins 987 Apr 4 06:37 Dockerfile.build 06:38:56 -rw-rw-r--. 1 jenkins jenkins 140 Apr 4 06:37 .dockerignore 06:38:56 drwxrwxr-x. 5 jenkins jenkins 62 Apr 4 06:37 example 06:38:56 drwxrwxr-x. 8 jenkins jenkins 179 Apr 4 06:37 .git 06:38:56 drwxrwxr-x. 2 jenkins jenkins 103 Apr 4 06:37 .github 06:38:56 -rw-rw-r--. 1 jenkins jenkins 138 Apr 4 06:37 .gitignore 06:38:56 -rw-r--r--. 1 jenkins jenkins 537 Apr 4 06:38 go.mod 06:38:56 -rw-r--r--. 1 jenkins jenkins 20946 Apr 4 06:38 go.sum 06:38:56 drwxrwxr-x. 14 jenkins jenkins 207 Apr 4 06:37 internal 06:38:56 -rw-rw-r--. 1 jenkins jenkins 901 Apr 4 06:37 Jenkinsfile 06:38:56 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 4 06:37 LICENSE 06:38:56 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 4 06:37 Makefile 06:38:56 drwxrwxr-x. 4 jenkins jenkins 26 Apr 4 06:37 openapi 06:38:56 drwxrwxr-x. 5 jenkins jenkins 50 Apr 4 06:37 pkg 06:38:56 -rw-rw-r--. 1 jenkins jenkins 5897 Apr 4 06:37 README.md 06:38:56 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 4 06:37 RELEASE-NOTES.txt 06:38:56 drwxrwxr-x. 4 jenkins jenkins 54 Apr 4 06:37 snap 06:38:56 -rw-rw-r--. 1 jenkins jenkins 5 Apr 4 06:34 VERSION 06:38:56 -rw-rw-r--. 1 jenkins jenkins 222 Apr 4 06:37 version.go [Pipeline] isUnix [Pipeline] sh 06:38:56 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=d513111ac14c6685eb65e02aa97fd0b735a55fb2 --label arch=amd64 --label version=0.0.0 . 06:38:57 Sending build context to Docker daemon 2.452MB 06:38:57 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 06:38:57 Step 2/23 : FROM ${BASE} AS builder 06:38:57 ---> 0725eef6a506 06:38:57 Step 3/23 : WORKDIR /device-sdk-go 06:38:57 ---> Running in 7c8127ef5348 06:38:57 Removing intermediate container 7c8127ef5348 06:38:57 ---> e1a499fc730a 06:38:57 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:38:57 ---> Running in 496196eb612f 06:38:58 Removing intermediate container 496196eb612f 06:38:58 ---> dc0c67efa1f5 06:38:58 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:38:58 ---> Running in 08bfbb763502 06:38:59 Removing intermediate container 08bfbb763502 06:38:59 ---> cf4d360fbed3 06:38:59 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:38:59 ---> Running in 1f41dbea3109 06:38:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:39:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:39:00 OK: 167 MiB in 45 packages 06:39:01 Removing intermediate container 1f41dbea3109 06:39:01 ---> 4ecbd68379e3 06:39:01 Step 7/23 : COPY . . 06:39:02 ---> c39b84f562cc 06:39:02 Step 8/23 : RUN go mod download 06:39:02 ---> Running in efbef706d366 06:39:03 Removing intermediate container efbef706d366 06:39:03 ---> 255ff3ea4d50 06:39:03 Step 9/23 : RUN make build 06:39:03 ---> Running in 48be855dc433 06:39:04 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:39:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:39:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:39:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:39:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:39:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:39:14 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:39:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.136s coverage: 28.1% of statements 06:39:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.185s coverage: 81.2% of statements 06:39:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.151s coverage: 7.8% of statements 06:39:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:39:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:39:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:39:16 Removing intermediate container 48be855dc433 06:39:16 ---> 91cd60e26a48 06:39:16 Step 10/23 : FROM alpine:3.12 06:39:17 3.12: Pulling from library/alpine 06:39:17 532819f3e44c: Pulling fs layer 06:39:17 532819f3e44c: Verifying Checksum 06:39:17 532819f3e44c: Download complete 06:39:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.247s coverage: 32.5% of statements 06:39:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:39:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:39:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:39:17 532819f3e44c: Pull complete 06:39:17 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 06:39:17 Status: Downloaded newer image for alpine:3.12 06:39:17 ---> 7230e588e954 06:39:17 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:39:17 ---> Running in cbf86b840354 06:39:18 Removing intermediate container cbf86b840354 06:39:18 ---> fcc68170dfad 06:39:18 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:39:18 ---> Running in 3c5150246bb6 06:39:19 Removing intermediate container 3c5150246bb6 06:39:19 ---> f1af0a014a42 06:39:19 Step 13/23 : RUN apk add --update --no-cache zeromq 06:39:19 ---> Running in d6172d041c44 06:39:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:39:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:39:20 (1/5) Installing libgcc (9.3.0-r2) 06:39:20 (2/5) Installing libsodium (1.0.18-r0) 06:39:20 (3/5) Installing libstdc++ (9.3.0-r2) 06:39:20 (4/5) Installing libzmq (4.3.3-r0) 06:39:21 (5/5) Installing zeromq (4.3.3-r0) 06:39:21 Executing busybox-1.31.1-r20.trigger 06:39:21 OK: 8 MiB in 19 packages 06:39:21 Removing intermediate container d6172d041c44 06:39:21 ---> d2a52a2228a5 06:39:21 Step 14/23 : WORKDIR / 06:39:21 ---> Running in 29ee03b0aac8 06:39:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.270s coverage: 57.3% of statements 06:39:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.173s coverage: 6.6% of statements 06:39:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 5.0% of statements 06:39:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:39:21 GO111MODULE=on go vet ./... 06:39:21 Removing intermediate container 29ee03b0aac8 06:39:21 ---> a31f08add399 06:39:21 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:39:22 ---> 451f431e08b5 06:39:22 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:39:22 ---> 4074f8a1dc52 06:39:22 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:39:23 ---> a4c84556057a 06:39:23 Step 18/23 : EXPOSE 49990 06:39:23 ---> Running in 00e1bd81b008 06:39:23 Removing intermediate container 00e1bd81b008 06:39:23 ---> cdc614cd1520 06:39:23 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:39:23 ---> Running in 0b730fba34d6 06:39:24 Removing intermediate container 0b730fba34d6 06:39:24 ---> d8c6518a2b95 06:39:24 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:39:24 ---> Running in 846a7b2fcbe7 06:39:24 Removing intermediate container 846a7b2fcbe7 06:39:24 ---> e9417ed36a73 06:39:24 Step 21/23 : LABEL arch=amd64 06:39:24 ---> Running in 3830eda7eebd 06:39:24 Removing intermediate container 3830eda7eebd 06:39:24 ---> 14e3d18fa681 06:39:24 Step 22/23 : LABEL git_sha=d513111ac14c6685eb65e02aa97fd0b735a55fb2 06:39:24 ---> Running in c86219d74ae5 06:39:24 Removing intermediate container c86219d74ae5 06:39:24 ---> 9c6d59af80a1 06:39:24 Step 23/23 : LABEL version=0.0.0 06:39:24 ---> Running in ce33667f19c8 06:39:25 Removing intermediate container ce33667f19c8 06:39:25 ---> e1fa3ba3d0d3 06:39:25 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:39:25 Successfully built e1fa3ba3d0d3 06:39:25 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 06:39:26 ---> job-cost.sh 06:39:26 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MJ8x 06:39:41 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:40:08 gofmt -l . 06:40:08 [ "`gofmt -l .`" = "" ] 06:40:08 ./bin/test-attribution-txt.sh 06:40:08 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:40:08 $ docker stop --time=1 4f3fef215dff2718e718dda1e1967e5c31bcc31abefc97b0c2b5dc7249f772ab 06:40:11 $ docker rm -f 4f3fef215dff2718e718dda1e1967e5c31bcc31abefc97b0c2b5dc7249f772ab [Pipeline] // withDockerContainer [Pipeline] sh 06:40:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:40:12 Warning: overwriting stash ‘coverage-report’ 06:40:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script 06:40:13 lf-activate-venv(): INFO: Adding /tmp/venv-MJ8x/bin to PATH 06:40:13 INFO: No Stack... 06:40:13 INFO: Retrieving Pricing Info for: v1-standard-2 06:40:13 INFO: Archiving Costs [Pipeline] } [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:40:13 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 06:40:13 + cut -d, -f6 [Pipeline] lock 06:40:14 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-850-4-stack-cost] 06:40:14 Resource [jenkins-edgexfoundry-device-sdk-go-PR-850-4-stack-cost] did not exist. Created. 06:40:14 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-850-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:40:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:40:14 + echo total: 0.029999999329447746 [Pipeline] stash 06:40:14 + ls -al . 06:40:14 total 224 06:40:14 drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 06:40 . 06:40:14 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 06:36 .. 06:40:14 -rw-rw-r-- 1 jenkins jenkins 140 Apr 4 06:36 .dockerignore 06:40:14 drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 06:36 .git 06:40:14 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 06:36 .github 06:40:14 -rw-rw-r-- 1 jenkins jenkins 138 Apr 4 06:36 .gitignore 06:40:14 -rw-rw-r-- 1 jenkins jenkins 987 Apr 4 06:36 Dockerfile.build 06:40:14 -rw-rw-r-- 1 jenkins jenkins 901 Apr 4 06:36 Jenkinsfile 06:40:14 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 4 06:36 LICENSE 06:40:14 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 4 06:36 Makefile 06:40:14 -rw-rw-r-- 1 jenkins jenkins 5897 Apr 4 06:36 README.md 06:40:14 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 4 06:36 RELEASE-NOTES.txt 06:40:14 -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 06:34 VERSION 06:40:14 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 06:36 bin 06:40:14 -rw-r--r-- 1 jenkins jenkins 101239 Apr 4 06:39 coverage.out 06:40:14 drwxrwxr-x 5 jenkins jenkins 4096 Apr 4 06:36 example 06:40:14 -rw-r--r-- 1 jenkins jenkins 537 Apr 4 06:40 go.mod 06:40:14 -rw-r--r-- 1 jenkins jenkins 20946 Apr 4 06:40 go.sum 06:40:14 drwxrwxr-x 14 jenkins jenkins 4096 Apr 4 06:36 internal 06:40:14 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 06:36 openapi 06:40:14 drwxrwxr-x 5 jenkins jenkins 4096 Apr 4 06:36 pkg 06:40:14 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 06:36 snap 06:40:14 -rw-rw-r-- 1 jenkins jenkins 222 Apr 4 06:36 version.go 06:40:14 Stashed 1 file(s) [Pipeline] } 06:40:14 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-850-4-stack-cost] [Pipeline] // lock [Pipeline] isUnix [Pipeline] sh [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws 06:40:15 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d513111ac14c6685eb65e02aa97fd0b735a55fb2 --label arch=arm64 --label version=0.0.0 . [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:40:15 Sending build context to Docker daemon 2.448MB 06:40:15 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 06:40:15 Step 2/23 : FROM ${BASE} AS builder 06:40:15 ---> 17aad402b696 06:40:15 Step 3/23 : WORKDIR /device-sdk-go 06:40:16 ---> Running in 76c3ac6b3095 06:40:16 Removing intermediate container 76c3ac6b3095 06:40:16 ---> 46e5a6238396 06:40:16 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:40:16 ---> Running in 88f99cc7e8ba 06:40:17 Removing intermediate container 88f99cc7e8ba 06:40:17 ---> 76ed99b276c3 06:40:17 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:40:17 ---> Running in a345d4f2721c 06:40:19 Removing intermediate container a345d4f2721c 06:40:19 ---> 0ea2f4e3fb9f 06:40:19 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:40:19 ---> Running in 33a2b5747a3b 06:40:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:40:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:40:22 OK: 144 MiB in 45 packages 06:40:23 Removing intermediate container 33a2b5747a3b 06:40:23 ---> ac58beb87307 06:40:23 Step 7/23 : COPY . . 06:40:24 ---> 0406d512d094 06:40:24 Step 8/23 : RUN go mod download 06:40:24 ---> Running in dce9c1851bfb 06:40:27 Removing intermediate container dce9c1851bfb 06:40:27 ---> bfa802e02427 06:40:27 Step 9/23 : RUN make build 06:40:27 ---> Running in 3b717d59b966 06:40:28 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:41:00 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:41:03 Removing intermediate container 3b717d59b966 06:41:03 ---> 0ac7a48de98f 06:41:03 Step 10/23 : FROM alpine:3.12 06:41:03 3.12: Pulling from library/alpine 06:41:03 9a219e8acc52: Pulling fs layer 06:41:03 9a219e8acc52: Verifying Checksum 06:41:03 9a219e8acc52: Download complete 06:41:04 9a219e8acc52: Pull complete 06:41:04 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 06:41:04 Status: Downloaded newer image for alpine:3.12 06:41:04 ---> d75e27dfc0a0 06:41:04 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:41:04 ---> Running in 49c2e02f873f 06:41:04 Removing intermediate container 49c2e02f873f 06:41:04 ---> f617d3633d44 06:41:04 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:41:04 ---> Running in c390fcc9e3ef 06:41:06 Removing intermediate container c390fcc9e3ef 06:41:06 ---> 3b67d7b19c6e 06:41:06 Step 13/23 : RUN apk add --update --no-cache zeromq 06:41:07 ---> Running in e5c481291226 06:41:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:41:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:41:09 (1/5) Installing libgcc (9.3.0-r2) 06:41:09 (2/5) Installing libsodium (1.0.18-r0) 06:41:09 (3/5) Installing libstdc++ (9.3.0-r2) 06:41:09 (4/5) Installing libzmq (4.3.3-r0) 06:41:09 (5/5) Installing zeromq (4.3.3-r0) 06:41:09 Executing busybox-1.31.1-r20.trigger 06:41:09 OK: 8 MiB in 19 packages 06:41:11 Removing intermediate container e5c481291226 06:41:11 ---> a2dd09503bb5 06:41:11 Step 14/23 : WORKDIR / 06:41:11 ---> Running in 237db5789fad 06:41:11 Removing intermediate container 237db5789fad 06:41:11 ---> 3980dcc59d21 06:41:11 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:41:12 ---> c69ad75c5916 06:41:12 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:41:13 ---> 5c05fd62bedf 06:41:13 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:41:14 ---> de9ee39847a7 06:41:14 Step 18/23 : EXPOSE 49990 06:41:14 ---> Running in 088bffe0042a 06:41:15 Removing intermediate container 088bffe0042a 06:41:15 ---> c70347759ea1 06:41:15 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:41:15 ---> Running in f139471339b5 06:41:15 Removing intermediate container f139471339b5 06:41:15 ---> e12e2b4cfe53 06:41:15 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:41:15 ---> Running in 2d38ec3aa027 06:41:16 Removing intermediate container 2d38ec3aa027 06:41:16 ---> 7173cb67a9a1 06:41:16 Step 21/23 : LABEL arch=arm64 06:41:16 ---> Running in 2ab72dd73bb6 06:41:16 Removing intermediate container 2ab72dd73bb6 06:41:16 ---> 3f220a1647c7 06:41:16 Step 22/23 : LABEL git_sha=d513111ac14c6685eb65e02aa97fd0b735a55fb2 06:41:16 ---> Running in e6912dd498f8 06:41:17 Removing intermediate container e6912dd498f8 06:41:17 ---> db3eb42e22c9 06:41:17 Step 23/23 : LABEL version=0.0.0 06:41:17 ---> Running in aaf6d657be54 06:41:17 Removing intermediate container aaf6d657be54 06:41:17 ---> f08992a06194 06:41:17 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:41:17 Successfully built f08992a06194 06:41:17 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 06:41:18 ---> job-cost.sh 06:41:18 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sUB8 06:41:57 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:43:34 lf-activate-venv(): INFO: Adding /tmp/venv-sUB8/bin to PATH 06:43:34 INFO: No Stack... 06:43:34 INFO: Retrieving Pricing Info for: lf-standard-4 06:43:34 INFO: Archiving Costs [Pipeline] sh 06:43:34 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 06:43:34 + cut -d, -f6 [Pipeline] lock 06:43:34 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-850-4-stack-cost] 06:43:34 Resource [jenkins-edgexfoundry-device-sdk-go-PR-850-4-stack-cost] did not exist. Created. 06:43:34 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-850-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:43:35 /w/workspace/device-sdk-go/4@tmp/durable-b61facd0/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-b61facd0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:43:35 + echo total: 0.20999999344348907 [Pipeline] stash 06:43:35 Warning: overwriting stash ‘stack-cost’ 06:43:35 Stashed 1 file(s) [Pipeline] } 06:43:35 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-850-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:43:37 provisioning config files... 06:43:37 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/config6586025804481346383tmp [Pipeline] { [Pipeline] sh 06:43:37 + set +x 06:43:37 + curl -s https://codecov.io/bash 06:43:37 + bash -s -- 06:43:37 06:43:37 _____ _ 06:43:37 / ____| | | 06:43:37 | | ___ __| | ___ ___ _____ __ 06:43:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:43:37 | |___| (_) | (_| | __/ (_| (_) \ V / 06:43:37 \_____\___/ \__,_|\___|\___\___/ \_/ 06:43:37 Bash-20210309-2b87ace 06:43:37 06:43:37 06:43:37 ==> git version 2.24.3 found 06:43:37 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 06:43:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:43:37 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:43:37 ==> Jenkins CI detected. 06:43:37 project root: . 06:43:37 --> token set from env 06:43:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:43:37 ==> Running gcov in . (disable via -X gcov) 06:43:37 ==> Python coveragepy not found 06:43:37 ==> Searching for coverage reports in: 06:43:37 + . 06:43:37 -> Found 1 reports 06:43:37 ==> Detecting git/mercurial file structure 06:43:37 ==> Reading reports 06:43:37 + ./coverage.out bytes=101239 06:43:37 ==> Appending adjustments 06:43:37 https://docs.codecov.io/docs/fixing-reports 06:43:38 + Found adjustments 06:43:38 ==> Gzipping contents 06:43:38 16K /tmp/codecov.dAEyZv.gz 06:43:38 ==> Uploading reports 06:43:38 url: https://codecov.io 06:43:38 query: branch=PR-850&commit=d513111ac14c6685eb65e02aa97fd0b735a55fb2&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-850%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=850&job=&cmd_args= 06:43:38 -> Pinging Codecov 06:43:38 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-850&commit=d513111ac14c6685eb65e02aa97fd0b735a55fb2&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-850%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=850&job=&cmd_args= 06:43:38 -> Uploading to 06:43:38 https://storage.googleapis.com/codecov/v4/raw/2021-04-04/7E55EF52A471D76F132DFD9A03CDDE97/d513111ac14c6685eb65e02aa97fd0b735a55fb2/dd9c9d5e-f081-4484-a8ab-9b29a8e1c1cf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210404%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210404T064338Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f8c10dac734f16e33ba6fec6512afc455b5784c2609559d7e8400ecc069b8cb8 06:43:38 % Total % Received % Xferd Average Speed Time Time Time Current 06:43:38 Dload Upload Total Spent Left Speed 06:43:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13686 0 0 100 13686 0 26850 --:--:-- --:--:-- --:--:-- 26888 06:43:39 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d513111ac14c6685eb65e02aa97fd0b735a55fb2 [Pipeline] } 06:43:39 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:43:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:43:42 ---> package-listing.sh 06:43:42 ++ facter osfamily 06:43:42 ++ tr '[:upper:]' '[:lower:]' 06:43:42 + OS_FAMILY=redhat 06:43:42 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-850 06:43:42 + START_PACKAGES=/tmp/packages_start.txt 06:43:42 + END_PACKAGES=/tmp/packages_end.txt 06:43:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:43:42 + PACKAGES=/tmp/packages_start.txt 06:43:42 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-850 ']' 06:43:42 + PACKAGES=/tmp/packages_end.txt 06:43:42 + case "${OS_FAMILY}" in 06:43:42 + rpm -qa 06:43:42 + sort 06:43:49 + '[' -f /tmp/packages_start.txt ']' 06:43:49 + '[' -f /tmp/packages_end.txt ']' 06:43:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:43:49 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-850 ']' 06:43:49 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-850/archives/ 06:43:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-850/archives/ [Pipeline] echo 06:43:49 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-850/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:43:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:43:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:43:49 06:43:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:43:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:43:50 alpine: Pulling from edgex-lftools-log-publisher 06:43:50 df20fa9351a1: Pulling fs layer 06:43:50 36b3adc4ff6f: Pulling fs layer 06:43:50 8ad3a11d3b57: Pulling fs layer 06:43:50 46f8f816bc3b: Pulling fs layer 06:43:50 93b61091891f: Pulling fs layer 06:43:50 93b9cdb0e59b: Pulling fs layer 06:43:50 5e14af77c1be: Pulling fs layer 06:43:50 01666e4c0597: Pulling fs layer 06:43:50 aa168da1d23b: Pulling fs layer 06:43:50 93b61091891f: Waiting 06:43:50 93b9cdb0e59b: Waiting 06:43:50 5e14af77c1be: Waiting 06:43:50 01666e4c0597: Waiting 06:43:50 aa168da1d23b: Waiting 06:43:50 46f8f816bc3b: Waiting 06:43:50 36b3adc4ff6f: Verifying Checksum 06:43:50 36b3adc4ff6f: Download complete 06:43:50 46f8f816bc3b: Verifying Checksum 06:43:50 46f8f816bc3b: Download complete 06:43:50 df20fa9351a1: Verifying Checksum 06:43:50 df20fa9351a1: Download complete 06:43:50 93b9cdb0e59b: Verifying Checksum 06:43:50 93b9cdb0e59b: Download complete 06:43:50 5e14af77c1be: Verifying Checksum 06:43:50 5e14af77c1be: Download complete 06:43:50 93b61091891f: Verifying Checksum 06:43:50 93b61091891f: Download complete 06:43:50 01666e4c0597: Verifying Checksum 06:43:50 01666e4c0597: Download complete 06:43:50 df20fa9351a1: Pull complete 06:43:50 36b3adc4ff6f: Pull complete 06:43:51 8ad3a11d3b57: Verifying Checksum 06:43:51 8ad3a11d3b57: Download complete 06:43:53 aa168da1d23b: Verifying Checksum 06:43:53 aa168da1d23b: Download complete 06:43:53 8ad3a11d3b57: Pull complete 06:43:53 46f8f816bc3b: Pull complete 06:43:53 93b61091891f: Pull complete 06:43:54 93b9cdb0e59b: Pull complete 06:43:54 5e14af77c1be: Pull complete 06:43:54 01666e4c0597: Pull complete 06:44:00 aa168da1d23b: Pull complete 06:44:00 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:44:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:44:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:44:01 prd-centos7-docker-4c-2g-32694 does not seem to be running inside a container 06:44:01 $ 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-850/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-850 -v /w/workspace/dgexfoundry_device-sdk-go_PR-850:/w/workspace/dgexfoundry_device-sdk-go_PR-850:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-850@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 06:44:05 $ docker top 129d5850c55ef192f8dd3aa42b28c2025e00f3cec752a8d9f8c7abc1712d823e -eo pid,comm [Pipeline] { [Pipeline] sh 06:44:05 + touch /tmp/pre-build-complete [Pipeline] sh 06:44:06 + mkdir -p /var/log/sa [Pipeline] sh 06:44:06 + ls /var/log/sa-host 06:44:06 + sadf -c /var/log/sa-host/sa04 06:44:06 file_magic: OK 06:44:06 HZ: Using current value: 100 06:44:06 file_header: OK 06:44:06 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:44:06 Statistics: 06:44:06 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:44:06 File successfully converted to sysstat format version 12.2.1 06:44:06 + sadf -c /var/log/sa-host/sa23 06:44:06 file_magic: OK 06:44:06 HZ: Using current value: 100 06:44:06 file_header: OK 06:44:06 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:44:06 Statistics: 06:44:06 Hnuu...uuuununununu... 06:44:06 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:44:07 provisioning config files... 06:44:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/config3438252666911432961tmp [Pipeline] { [Pipeline] echo 06:44:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:44:07 ---> create-netrc.sh [Pipeline] } 06:44:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:44:07 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:44:08 ---> python-tools-install.sh [Pipeline] echo 06:44:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:44:08 ---> sudo-logs.sh 06:44:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:44:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:44:08 ---> job-cost.sh 06:44:08 lf-activate-venv: SKIPPING 06:44:08 DEBUG: total: 0.20999999344348907 06:44:08 INFO: Retrieving Stack Cost... 06:44:10 INFO: Retrieving Pricing Info for: v1-standard-2 06:44:10 INFO: Archiving Costs [Pipeline] echo 06:44:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:44:10 ---> logs-deploy.sh 06:44:10 lf-activate-venv: SKIPPING 06:44:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-850/4 06:44:10 INFO: archiving workspace using pattern(s): 06:44:12 Archives upload complete. 06:44:12 INFO: archiving logs to Nexus