Pull request #850 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d+89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e (27304fb263489769d687057ae6403a6c2acc9270) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-850/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-850/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-32207 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 Merging remotes/origin/master commit 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e into PR head commit 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d Merge succeeded, producing 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d Checking out Revision 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d (PR-850) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:38:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:38:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:38:59 ========================================================= 05:38:59 EdgeX Global Pipelines Version Info 05:38:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:39:01 ------------------- 05:39:01 stable info: 05:39:01 ------------------- 05:39:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:39:01 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:39:01 Message: update stable to v1.0.186 05:39:02 ------------------- 05:39:02 experimental info: 05:39:02 ------------------- 05:39:02 Commited By: **** collab-it+edgex@linuxfoundation.org 05:39:02 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 05:39:02 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:39:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:39:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:39:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:39:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:39:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:39:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:39:03 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:39:03 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:39:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:39:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:39:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:39:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:39:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:39:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:39:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:39:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:39:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:39:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:39:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:39:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:39:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:39:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:39:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:39:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:39:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:39:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:39:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-850 [Pipeline] echo 05:39:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-850 [Pipeline] echo 05:39:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-850 [Pipeline] echo 05:39:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d [Pipeline] echo 05:39:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8ee8d9a [Pipeline] echo 05:39:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:39:06 provisioning config files... 05:39:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/config7279171040329173884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:39:07 ---> docker-login.sh 05:39:07 nexus3.edgexfoundry.org:10001 05:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:07 Configure a credential helper to remove this warning. See 05:39:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:07 05:39:07 Login Succeeded 05:39:07 nexus3.edgexfoundry.org:10002 05:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:08 Configure a credential helper to remove this warning. See 05:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:08 05:39:08 Login Succeeded 05:39:08 nexus3.edgexfoundry.org:10003 05:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:08 Configure a credential helper to remove this warning. See 05:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:08 05:39:08 Login Succeeded 05:39:08 nexus3.edgexfoundry.org:10004 05:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:08 Configure a credential helper to remove this warning. See 05:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:08 05:39:08 Login Succeeded 05:39:08 docker.io 05:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:09 Configure a credential helper to remove this warning. See 05:39:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:09 05:39:09 Login Succeeded 05:39:09 ---> docker-login.sh ends [Pipeline] } 05:39:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:39:10 + git log --format=format:%s -1 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d [Pipeline] echo 05:39:10 GIT_COMMIT: 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 05:39:10 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:39:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:39:11 05:39:11 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:39:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:39:12 latest: Pulling from edgex-devops/git-semver 05:39:12 31603596830f: Pulling fs layer 05:39:12 2a8b12db71e7: Pulling fs layer 05:39:12 6ca5941a6612: Pulling fs layer 05:39:12 ecc8261a40a4: Pulling fs layer 05:39:12 ecc8261a40a4: Waiting 05:39:12 2a8b12db71e7: Download complete 05:39:12 31603596830f: Verifying Checksum 05:39:12 31603596830f: Download complete 05:39:12 ecc8261a40a4: Verifying Checksum 05:39:12 ecc8261a40a4: Download complete 05:39:12 6ca5941a6612: Verifying Checksum 05:39:12 6ca5941a6612: Download complete 05:39:12 31603596830f: Pull complete 05:39:12 2a8b12db71e7: Pull complete 05:39:13 6ca5941a6612: Pull complete 05:39:13 ecc8261a40a4: Pull complete 05:39:13 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:39:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:39:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:39:14 prd-centos7-docker-4c-2g-32207 does not seem to be running inside a container 05:39:14 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:39:16 $ docker top 71208f345351136a4a0186f79da08c44623353bf5593107e223cdc3fd4becc9f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:39:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:39:16 [ssh-agent] Looking for ssh-agent implementation... 05:39:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:39:17 $ docker exec 71208f345351136a4a0186f79da08c44623353bf5593107e223cdc3fd4becc9f ssh-agent 05:39:17 SSH_AUTH_SOCK=/tmp/ssh-Y5WtPmyXUezT/agent.13 05:39:17 SSH_AGENT_PID=18 05:39:17 Running ssh-add (command line suppressed) 05:39:17 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/private_key_4233333536855391496.key (/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/private_key_4233333536855391496.key) 05:39:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:39:18 + git tag --points-at HEAD [Pipeline] } 05:39:18 $ docker exec --env ******** --env ******** 71208f345351136a4a0186f79da08c44623353bf5593107e223cdc3fd4becc9f ssh-agent -k 05:39:18 unset SSH_AUTH_SOCK; 05:39:18 unset SSH_AGENT_PID; 05:39:18 echo Agent pid 18 killed; 05:39:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:39:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:39:18 [ssh-agent] Looking for ssh-agent implementation... 05:39:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:39:18 $ docker exec 71208f345351136a4a0186f79da08c44623353bf5593107e223cdc3fd4becc9f ssh-agent 05:39:18 SSH_AUTH_SOCK=/tmp/ssh-ODqSVCb4X7kh/agent.47 05:39:18 SSH_AGENT_PID=52 05:39:18 Running ssh-add (command line suppressed) 05:39:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/private_key_8688389006480868954.key (/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/private_key_8688389006480868954.key) 05:39:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:39:19 + git semver init 05:39:19 # -> Open(): unable to determine branch for HEAD 05:39:19 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-850/.git 05:39:19 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-850 05:39:19 # $SEMVER_REMOTE_NAME = origin 05:39:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:39:19 # $SEMVER_USER_NAME = edgex-jenkins 05:39:19 # $SEMVER_BRANCH = PR-850 05:39:19 # $SEMVER_TEMP = /tmp/semver-198444992 05:39:19 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:39:20 # '/tmp/semver-198444992' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-850/.semver' 05:39:20 # -> Force: false 05:39:20 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-850/.semver [Pipeline] } 05:39:20 $ docker exec --env ******** --env ******** 71208f345351136a4a0186f79da08c44623353bf5593107e223cdc3fd4becc9f ssh-agent -k 05:39:20 unset SSH_AUTH_SOCK; 05:39:20 unset SSH_AGENT_PID; 05:39:20 echo Agent pid 52 killed; 05:39:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:39:21 + git semver [Pipeline] } 05:39:21 $ docker stop --time=1 71208f345351136a4a0186f79da08c44623353bf5593107e223cdc3fd4becc9f 05:39:22 $ docker rm -f 71208f345351136a4a0186f79da08c44623353bf5593107e223cdc3fd4becc9f [Pipeline] // withDockerContainer [Pipeline] sh 05:39:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:39:23 Stashed 1 file(s) [Pipeline] echo 05:39:23 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 05:39:39 Still waiting to schedule task 05:39:39 ‘prd-centos7-docker-4c-2g-32208’ 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’ 05:39:39 Still waiting to schedule task 05:39:39 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:41:27 Running on prd-centos7-docker-4c-2g-32210 in /w/workspace/dgexfoundry_device-sdk-go_PR-850 [Pipeline] { [Pipeline] ws 05:41:27 Running in /w/workspace/device-sdk-go/1 [Pipeline] { 05:41:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-32209 in /w/workspace/dgexfoundry_device-sdk-go_PR-850 [Pipeline] checkout [Pipeline] { [Pipeline] ws 05:41:27 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:41:30 using credential edgex-jenkins-ssh 05:41:30 Cloning the remote Git repository 05:41:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:41:30 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:41:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:41:30 > git --version # timeout=10 05:41:30 > git --version # 'git version 2.24.3' 05:41:30 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:41:31 Merging remotes/origin/master commit 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e into PR head commit 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d 05:41:31 Merge succeeded, producing 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d 05:41:31 Checking out Revision 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d (PR-850) 05:41:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:41:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:41:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:41:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:41:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:31 > 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 05:41:31 > git config core.sparsecheckout # timeout=10 05:41:31 > git checkout -f 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d # timeout=10 05:41:31 > git remote # timeout=10 05:41:31 > git config --get remote.origin.url # timeout=10 05:41:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:31 > git merge 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e # timeout=10 05:41:31 > git rev-parse HEAD^{commit} # timeout=10 05:41:31 > git config core.sparsecheckout # timeout=10 05:41:31 > git checkout -f 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d # timeout=10 05:41:32 using credential edgex-jenkins-ssh 05:41:32 Cloning the remote Git repository 05:41:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:41:32 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:41:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:41:33 > git --version # timeout=10 05:41:33 > git --version # 'git version 2.17.1' 05:41:33 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:41:34 Merging remotes/origin/master commit 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e into PR head commit 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d 05:41:35 Merge succeeded, producing 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d 05:41:35 Checking out Revision 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d (PR-850) 05:41:35 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 05:41:35 > git --version # timeout=10 05:41:35 > git --version # 'git version 2.24.3' 05:41:35 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:41:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:41:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:41:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:41:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:41:34 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:34 > 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 05:41:34 > git config core.sparsecheckout # timeout=10 05:41:34 > git checkout -f 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d # timeout=10 05:41:34 > git remote # timeout=10 05:41:34 > git config --get remote.origin.url # timeout=10 05:41:34 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:34 > git merge 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e # timeout=10 05:41:35 > git rev-parse HEAD^{commit} # timeout=10 05:41:35 > git config core.sparsecheckout # timeout=10 05:41:35 > git checkout -f 8ee8d9a65184e2ba6c413d8f37464c8e38dd684d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:41:36 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:41:36 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:41:37 + sudo service docker restart 05:41:37 + true 05:41:37 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:41:38 provisioning config files... 05:41:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2377453251775712771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:41:39 ---> docker-login.sh 05:41:39 nexus3.edgexfoundry.org:10001 05:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:39 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 05:41:39 > git --version # timeout=10 05:41:39 > git --version # 'git version 2.17.1' 05:41:39 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:39 Configure a credential helper to remove this warning. See 05:41:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:39 05:41:39 Login Succeeded 05:41:39 nexus3.edgexfoundry.org:10002 [Pipeline] withEnv [Pipeline] { 05:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:39 Configure a credential helper to remove this warning. See 05:41:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:39 05:41:39 Login Succeeded 05:41:39 nexus3.edgexfoundry.org:10003 05:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 05:41:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:40 Configure a credential helper to remove this warning. See 05:41:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:40 05:41:40 Login Succeeded 05:41:40 nexus3.edgexfoundry.org:10004 05:41:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:40 Configure a credential helper to remove this warning. See 05:41:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:40 05:41:40 Login Succeeded 05:41:40 docker.io [Pipeline] script [Pipeline] { [Pipeline] sh 05:41:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:40 Configure a credential helper to remove this warning. See 05:41:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:40 05:41:40 Login Succeeded 05:41:40 ---> docker-login.sh ends [Pipeline] } 05:41:40 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } 05:41:41 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh [Pipeline] echo 05:41:41 ========================================================= 05:41:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:41:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:41:41 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:41:41 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 05:41:41 Sending build context to Docker daemon 2.336MB 05:41:42 + sudo service docker restart 05:41:42 + true 05:41:42 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:41:42 Step 2/8 : FROM ${BASE} 05:41:42 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:41:42 188c0c94c7c5: Pulling fs layer 05:41:42 0ef7d3d256c8: Pulling fs layer 05:41:42 de9db76c5a1d: Pulling fs layer 05:41:42 bca2f99d35d6: Pulling fs layer 05:41:42 93359f2a8cfa: Pulling fs layer 05:41:42 7c6f9722023f: Pulling fs layer 05:41:42 a35cf1a2eb13: Pulling fs layer 05:41:42 93359f2a8cfa: Waiting 05:41:42 7c6f9722023f: Waiting 05:41:42 bca2f99d35d6: Waiting 05:41:42 a35cf1a2eb13: Waiting 05:41:42 de9db76c5a1d: Verifying Checksum 05:41:42 de9db76c5a1d: Download complete 05:41:42 0ef7d3d256c8: Verifying Checksum 05:41:42 0ef7d3d256c8: Download complete 05:41:42 93359f2a8cfa: Download complete 05:41:42 188c0c94c7c5: Verifying Checksum 05:41:42 7c6f9722023f: Verifying Checksum 05:41:42 7c6f9722023f: Download complete 05:41:42 188c0c94c7c5: Pull complete 05:41:42 0ef7d3d256c8: Pull complete 05:41:42 de9db76c5a1d: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:41:44 provisioning config files... 05:41:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6882514811277887197tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:41:45 a35cf1a2eb13: Verifying Checksum 05:41:45 a35cf1a2eb13: Download complete 05:41:45 bca2f99d35d6: Verifying Checksum 05:41:45 bca2f99d35d6: Download complete 05:41:45 ---> docker-login.sh 05:41:45 nexus3.edgexfoundry.org:10001 05:41:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:46 Configure a credential helper to remove this warning. See 05:41:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:46 05:41:46 Login Succeeded 05:41:46 nexus3.edgexfoundry.org:10002 05:41:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:47 Configure a credential helper to remove this warning. See 05:41:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:47 05:41:47 Login Succeeded 05:41:47 nexus3.edgexfoundry.org:10003 05:41:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:47 Configure a credential helper to remove this warning. See 05:41:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:47 05:41:47 Login Succeeded 05:41:47 nexus3.edgexfoundry.org:10004 05:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:48 Configure a credential helper to remove this warning. See 05:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:48 05:41:48 Login Succeeded 05:41:48 docker.io 05:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:48 Configure a credential helper to remove this warning. See 05:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:48 05:41:48 Login Succeeded 05:41:48 ---> docker-login.sh ends [Pipeline] } 05:41:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:41:49 ========================================================= 05:41:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:41:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:41:49 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 05:41:50 Sending build context to Docker daemon 2.335MB 05:41:50 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:41:50 Step 2/8 : FROM ${BASE} 05:41:50 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:41:50 5f621e34cdf4: Pulling fs layer 05:41:50 a4357932f1b6: Pulling fs layer 05:41:50 18c013af1878: Pulling fs layer 05:41:50 00ac8860ef70: Pulling fs layer 05:41:50 63d7cb157983: Pulling fs layer 05:41:50 b116817d02f9: Pulling fs layer 05:41:50 745a02a5169b: Pulling fs layer 05:41:50 00ac8860ef70: Waiting 05:41:50 63d7cb157983: Waiting 05:41:50 b116817d02f9: Waiting 05:41:50 745a02a5169b: Waiting 05:41:50 bca2f99d35d6: Pull complete 05:41:50 18c013af1878: Verifying Checksum 05:41:50 18c013af1878: Download complete 05:41:50 a4357932f1b6: Verifying Checksum 05:41:50 a4357932f1b6: Download complete 05:41:50 63d7cb157983: Verifying Checksum 05:41:50 63d7cb157983: Download complete 05:41:50 5f621e34cdf4: Download complete 05:41:50 b116817d02f9: Verifying Checksum 05:41:50 b116817d02f9: Download complete 05:41:50 93359f2a8cfa: Pull complete 05:41:50 7c6f9722023f: Pull complete 05:41:51 5f621e34cdf4: Pull complete 05:41:52 a4357932f1b6: Pull complete 05:41:52 18c013af1878: Pull complete 05:41:52 745a02a5169b: Verifying Checksum 05:41:52 745a02a5169b: Download complete 05:41:54 00ac8860ef70: Download complete 05:41:59 a35cf1a2eb13: Pull complete 05:41:59 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:41:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:41:59 ---> a62c8e92a672 05:41:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:41:59 ---> Running in 8efac2ffe607 05:41:59 Removing intermediate container 8efac2ffe607 05:41:59 ---> fc52baec00f8 05:41:59 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:41:59 ---> Running in 2bbea7bacede 05:41:59 Removing intermediate container 2bbea7bacede 05:41:59 ---> d8f826d1b3ca 05:41:59 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:41:59 ---> Running in 50e077fab1c1 05:42:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:42:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:42:03 (1/6) Installing libc-dev (0.7.2-r3) 05:42:03 (2/6) Installing libsodium (1.0.18-r0) 05:42:03 (3/6) Installing pkgconf (1.7.2-r0) 05:42:03 (4/6) Installing libsodium-dev (1.0.18-r0) 05:42:03 (5/6) Installing libzmq (4.3.3-r0) 05:42:03 (6/6) Installing zeromq-dev (4.3.3-r0) 05:42:03 Executing busybox-1.31.1-r19.trigger 05:42:03 OK: 167 MiB in 45 packages 05:42:04 Removing intermediate container 50e077fab1c1 05:42:04 ---> 7059a63cc075 05:42:04 Step 6/8 : WORKDIR /device-sdk-go 05:42:04 ---> Running in ccd9cb05ab01 05:42:04 Removing intermediate container ccd9cb05ab01 05:42:04 ---> a1ea7311d70c 05:42:04 Step 7/8 : COPY . . 05:42:05 00ac8860ef70: Pull complete 05:42:05 63d7cb157983: Pull complete 05:42:05 b116817d02f9: Pull complete 05:42:06 ---> 62426a9c970a 05:42:06 Step 8/8 : RUN go mod download 05:42:06 ---> Running in d3f14bee5542 05:42:09 745a02a5169b: Pull complete 05:42:09 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:42:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:42:09 ---> b7e6874047d6 05:42:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:42:11 ---> Running in a1fe3f76687d 05:42:12 Removing intermediate container a1fe3f76687d 05:42:12 ---> 4d9930b31221 05:42:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:42:12 ---> Running in 3aaf448014bd 05:42:15 Removing intermediate container 3aaf448014bd 05:42:15 ---> e60ed116ebd4 05:42:15 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:42:15 ---> Running in 6297b5f93ff6 05:42:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:42:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:42:18 (1/6) Installing libc-dev (0.7.2-r3) 05:42:18 (2/6) Installing libsodium (1.0.18-r0) 05:42:18 (3/6) Installing pkgconf (1.7.2-r0) 05:42:18 (4/6) Installing libsodium-dev (1.0.18-r0) 05:42:18 (5/6) Installing libzmq (4.3.3-r0) 05:42:18 (6/6) Installing zeromq-dev (4.3.3-r0) 05:42:18 Executing busybox-1.31.1-r19.trigger 05:42:18 OK: 144 MiB in 45 packages 05:42:20 Removing intermediate container 6297b5f93ff6 05:42:20 ---> e2481b1848c3 05:42:20 Step 6/8 : WORKDIR /device-sdk-go 05:42:20 ---> Running in 1451d9909d07 05:42:20 Removing intermediate container 1451d9909d07 05:42:20 ---> 88a16ce152a0 05:42:20 Step 7/8 : COPY . . 05:42:21 ---> 491d02ebe7e9 05:42:21 Step 8/8 : RUN go mod download 05:42:21 ---> Running in 80609b7c4db2 05:42:32 Removing intermediate container d3f14bee5542 05:42:32 ---> e2c43d4d0fdc 05:42:32 Successfully built e2c43d4d0fdc 05:42:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:42:33 + docker inspect -f . ci-base-image-x86_64 05:42:33 . [Pipeline] withDockerContainer 05:42:33 prd-centos7-docker-4c-2g-32210 does not seem to be running inside a container 05:42:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:42:34 $ docker top c3757fe66e8575b0ba3104311c00d4b5784b544102dbc8ca9b7aa7d333bbf64f -eo pid,comm [Pipeline] { [Pipeline] sh 05:42:34 + go version 05:42:34 go version go1.15.5 linux/amd64 [Pipeline] } 05:42:34 $ docker stop --time=1 c3757fe66e8575b0ba3104311c00d4b5784b544102dbc8ca9b7aa7d333bbf64f 05:42:36 $ docker rm -f c3757fe66e8575b0ba3104311c00d4b5784b544102dbc8ca9b7aa7d333bbf64f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:42:37 + docker inspect -f . ci-base-image-x86_64 05:42:37 . [Pipeline] withDockerContainer 05:42:37 prd-centos7-docker-4c-2g-32210 does not seem to be running inside a container 05:42:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:42:37 $ docker top 38bcf69e26d27669fbfc2ff4693373c4ecdf6875bd1589179dd7d57287d64498 -eo pid,comm [Pipeline] { [Pipeline] sh 05:42:38 + make test 05:42:38 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:42:46 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:42:48 Removing intermediate container 80609b7c4db2 05:42:48 ---> 9cd3f247a6e3 05:42:48 Successfully built 9cd3f247a6e3 05:42:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:42:49 + docker inspect -f . ci-base-image-arm64 05:42:49 . [Pipeline] withDockerContainer 05:42:49 prd-ubuntu18.04-docker-arm64-4c-16g-32209 does not seem to be running inside a container 05:42:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:42:51 $ docker top 2da9b0c84dbd881f4cbdc9228ebbcd6e4b878b4b7999cd15f00291071760b128 -eo pid,comm [Pipeline] { [Pipeline] sh 05:42:52 + go version 05:42:52 go version go1.15.5 linux/arm64 [Pipeline] } 05:42:52 $ docker stop --time=1 2da9b0c84dbd881f4cbdc9228ebbcd6e4b878b4b7999cd15f00291071760b128 05:42:54 $ docker rm -f 2da9b0c84dbd881f4cbdc9228ebbcd6e4b878b4b7999cd15f00291071760b128 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:42:55 + docker inspect -f . ci-base-image-arm64 05:42:55 . [Pipeline] withDockerContainer 05:42:55 prd-ubuntu18.04-docker-arm64-4c-16g-32209 does not seem to be running inside a container 05:42:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:42:57 $ docker top 9a0761e56ad91de91580e0575c8be057c8b6d3bf4e6800c3f2f9303cb88a85b9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:42:58 + make test 05:42:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:43:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:43:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:43:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:43:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:43:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:43:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.0% of statements 05:43:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.075s coverage: 81.2% of statements 05:43:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.077s coverage: 7.8% of statements 05:43:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:43:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:43:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:43:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.085s coverage: 32.5% of statements 05:43:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:43:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:43:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:43:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.104s coverage: 57.3% of statements 05:43:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.188s coverage: 6.6% of statements 05:43:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements 05:43:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:43:09 GO111MODULE=on go vet ./... 05:43:20 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:43:24 gofmt -l . 05:43:24 [ "`gofmt -l .`" = "" ] 05:43:24 ./bin/test-attribution-txt.sh 05:43:24 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:43:24 $ docker stop --time=1 38bcf69e26d27669fbfc2ff4693373c4ecdf6875bd1589179dd7d57287d64498 05:43:26 $ docker rm -f 38bcf69e26d27669fbfc2ff4693373c4ecdf6875bd1589179dd7d57287d64498 [Pipeline] // withDockerContainer [Pipeline] sh 05:43:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:43:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:43:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:43:31 + ls -al . 05:43:31 total 188 05:43:31 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 31 05:43 . 05:43:31 drwxrwxr-x. 4 jenkins jenkins 28 Mar 31 05:41 .. 05:43:31 drwxrwxr-x. 2 jenkins jenkins 64 Mar 31 05:41 bin 05:43:31 -rw-r--r--. 1 jenkins jenkins 101416 Mar 31 05:43 coverage.out 05:43:31 -rw-rw-r--. 1 jenkins jenkins 987 Mar 31 05:41 Dockerfile.build 05:43:31 -rw-rw-r--. 1 jenkins jenkins 140 Mar 31 05:41 .dockerignore 05:43:31 drwxrwxr-x. 5 jenkins jenkins 62 Mar 31 05:41 example 05:43:31 drwxrwxr-x. 8 jenkins jenkins 179 Mar 31 05:41 .git 05:43:31 drwxrwxr-x. 2 jenkins jenkins 103 Mar 31 05:41 .github 05:43:31 -rw-rw-r--. 1 jenkins jenkins 138 Mar 31 05:41 .gitignore 05:43:31 -rw-r--r--. 1 jenkins jenkins 537 Mar 31 05:43 go.mod 05:43:31 -rw-r--r--. 1 jenkins jenkins 20743 Mar 31 05:43 go.sum 05:43:31 drwxrwxr-x. 14 jenkins jenkins 207 Mar 31 05:41 internal 05:43:31 -rw-rw-r--. 1 jenkins jenkins 901 Mar 31 05:41 Jenkinsfile 05:43:31 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 31 05:41 LICENSE 05:43:31 -rw-rw-r--. 1 jenkins jenkins 1022 Mar 31 05:41 Makefile 05:43:31 drwxrwxr-x. 4 jenkins jenkins 26 Mar 31 05:41 openapi 05:43:31 drwxrwxr-x. 5 jenkins jenkins 50 Mar 31 05:41 pkg 05:43:31 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 31 05:41 README.md 05:43:31 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 31 05:41 RELEASE-NOTES.txt 05:43:31 drwxrwxr-x. 4 jenkins jenkins 54 Mar 31 05:41 snap 05:43:31 -rw-rw-r--. 1 jenkins jenkins 5 Mar 31 05:39 VERSION 05:43:31 -rw-rw-r--. 1 jenkins jenkins 222 Mar 31 05:41 version.go [Pipeline] isUnix [Pipeline] sh 05:43:31 + 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=8ee8d9a65184e2ba6c413d8f37464c8e38dd684d --label arch=amd64 --label version=0.0.0 . 05:43:31 Sending build context to Docker daemon 2.439MB 05:43:31 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 05:43:31 Step 2/23 : FROM ${BASE} AS builder 05:43:31 ---> e2c43d4d0fdc 05:43:31 Step 3/23 : WORKDIR /device-sdk-go 05:43:32 ---> Running in dbdb155014c2 05:43:32 Removing intermediate container dbdb155014c2 05:43:32 ---> c7ff154deb90 05:43:32 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:43:32 ---> Running in edf5fd116f5c 05:43:32 Removing intermediate container edf5fd116f5c 05:43:32 ---> c35259019517 05:43:32 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:43:32 ---> Running in 408bd936911b 05:43:33 Removing intermediate container 408bd936911b 05:43:33 ---> 2c6a63e83ef1 05:43:33 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:43:33 ---> Running in 9bfc87909a07 05:43:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:43:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:43:35 OK: 167 MiB in 45 packages 05:43:35 Removing intermediate container 9bfc87909a07 05:43:35 ---> 391a8f460fe6 05:43:35 Step 7/23 : COPY . . 05:43:36 ---> 8f370db6c356 05:43:36 Step 8/23 : RUN go mod download 05:43:36 ---> Running in f8d244e52277 05:43:37 Removing intermediate container f8d244e52277 05:43:37 ---> ec3deda251ff 05:43:37 Step 9/23 : RUN make build 05:43:37 ---> Running in 9234475b1d51 05:43:38 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 05:43:50 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:43:51 Removing intermediate container 9234475b1d51 05:43:51 ---> 3513348df611 05:43:51 Step 10/23 : FROM alpine:3.12 05:43:51 3.12: Pulling from library/alpine 05:43:51 22599d3e9e25: Pulling fs layer 05:43:51 22599d3e9e25: Download complete 05:43:52 22599d3e9e25: Pull complete 05:43:52 Digest: sha256:d1eaae2a6814b4b10a722fa75e8a6b53db42d1bf531395a107fea0458bfbf1d8 05:43:52 Status: Downloaded newer image for alpine:3.12 05:43:52 ---> 42cb162f0360 05:43:52 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:43:52 ---> Running in ae0964b33845 05:43:52 Removing intermediate container ae0964b33845 05:43:52 ---> 8440adbb2fc4 05:43:52 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:43:52 ---> Running in 88200f9974fc 05:43:53 Removing intermediate container 88200f9974fc 05:43:53 ---> 2010964cc2d7 05:43:53 Step 13/23 : RUN apk add --update --no-cache zeromq 05:43:53 ---> Running in 926655abf3ef 05:43:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:43:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:43:55 (1/5) Installing libgcc (9.3.0-r2) 05:43:55 (2/5) Installing libsodium (1.0.18-r0) 05:43:55 (3/5) Installing libstdc++ (9.3.0-r2) 05:43:55 (4/5) Installing libzmq (4.3.3-r0) 05:43:56 (5/5) Installing zeromq (4.3.3-r0) 05:43:56 Executing busybox-1.31.1-r19.trigger 05:43:56 OK: 8 MiB in 19 packages 05:43:56 Removing intermediate container 926655abf3ef 05:43:56 ---> acabc0494527 05:43:56 Step 14/23 : WORKDIR / 05:43:56 ---> Running in 57566ddda25d 05:43:56 Removing intermediate container 57566ddda25d 05:43:56 ---> 0b28f35f5c76 05:43:56 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:43:56 ---> db6872b2bb90 05:43:56 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:43:57 ---> 39d3ba0b7e86 05:43:57 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:43:57 ---> 004bcb4dbe02 05:43:57 Step 18/23 : EXPOSE 49990 05:43:57 ---> Running in cd380ca9c72a 05:43:57 Removing intermediate container cd380ca9c72a 05:43:57 ---> e919ffa62d73 05:43:57 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:43:57 ---> Running in 967799a6428c 05:43:58 Removing intermediate container 967799a6428c 05:43:58 ---> 197e631e1757 05:43:58 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:43:58 ---> Running in 6e8b6ad5acc0 05:43:58 Removing intermediate container 6e8b6ad5acc0 05:43:58 ---> dfe57934fe3d 05:43:58 Step 21/23 : LABEL arch=amd64 05:43:58 ---> Running in ab15a13085dd 05:43:58 Removing intermediate container ab15a13085dd 05:43:58 ---> d5a516649230 05:43:58 Step 22/23 : LABEL git_sha=8ee8d9a65184e2ba6c413d8f37464c8e38dd684d 05:43:58 ---> Running in da40afb5e3a1 05:43:58 Removing intermediate container da40afb5e3a1 05:43:58 ---> 3821bcbec2f1 05:43:58 Step 23/23 : LABEL version=0.0.0 05:43:59 ---> Running in 3d9ba37f4986 05:43:59 Removing intermediate container 3d9ba37f4986 05:43:59 ---> 9a93fc1ab153 05:43:59 [Warning] One or more build-args [MAKE ARCH] were not consumed 05:43:59 Successfully built 9a93fc1ab153 05:43:59 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 05:44:00 ---> job-cost.sh 05:44:00 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JaDz 05:44:15 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:44:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:44:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:44:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:44:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:44:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:44:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.144s coverage: 27.0% of statements 05:44:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.188s coverage: 81.2% of statements 05:44:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.148s coverage: 7.8% of statements 05:44:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:44:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:44:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:44:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.255s coverage: 32.5% of statements 05:44:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:44:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:44:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:44:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.263s coverage: 57.3% of statements 05:44:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.995s coverage: 6.6% of statements 05:44:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.136s coverage: 5.0% of statements 05:44:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:44:27 GO111MODULE=on go vet ./... 05:44:41 lf-activate-venv(): INFO: Adding /tmp/venv-JaDz/bin to PATH 05:44:41 INFO: No Stack... 05:44:41 INFO: Retrieving Pricing Info for: v1-standard-2 05:44:41 INFO: Archiving Costs [Pipeline] sh 05:44:42 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:44:42 + cut -d, -f6 [Pipeline] lock 05:44:42 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-850-1-stack-cost] 05:44:42 Resource [jenkins-edgexfoundry-device-sdk-go-PR-850-1-stack-cost] did not exist. Created. 05:44:42 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-850-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:44:42 + echo total: 0.029999999329447746 [Pipeline] stash 05:44:43 Stashed 1 file(s) [Pipeline] } 05:44:43 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-850-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:45:14 gofmt -l . 05:45:14 [ "`gofmt -l .`" = "" ] 05:45:14 ./bin/test-attribution-txt.sh 05:45:14 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:45:14 $ docker stop --time=1 9a0761e56ad91de91580e0575c8be057c8b6d3bf4e6800c3f2f9303cb88a85b9 05:45:16 $ docker rm -f 9a0761e56ad91de91580e0575c8be057c8b6d3bf4e6800c3f2f9303cb88a85b9 [Pipeline] // withDockerContainer [Pipeline] sh 05:45:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:45:17 Warning: overwriting stash ‘coverage-report’ 05:45:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:45:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:45:20 + ls -al . 05:45:20 total 224 05:45:20 drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 05:45 . 05:45:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 05:41 .. 05:45:20 -rw-rw-r-- 1 jenkins jenkins 140 Mar 31 05:41 .dockerignore 05:45:20 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 05:41 .git 05:45:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 05:41 .github 05:45:20 -rw-rw-r-- 1 jenkins jenkins 138 Mar 31 05:41 .gitignore 05:45:20 -rw-rw-r-- 1 jenkins jenkins 987 Mar 31 05:41 Dockerfile.build 05:45:20 -rw-rw-r-- 1 jenkins jenkins 901 Mar 31 05:41 Jenkinsfile 05:45:20 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 31 05:41 LICENSE 05:45:20 -rw-rw-r-- 1 jenkins jenkins 1022 Mar 31 05:41 Makefile 05:45:20 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 31 05:41 README.md 05:45:20 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 31 05:41 RELEASE-NOTES.txt 05:45:20 -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 05:39 VERSION 05:45:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 05:41 bin 05:45:20 -rw-r--r-- 1 jenkins jenkins 101416 Mar 31 05:44 coverage.out 05:45:20 drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 05:41 example 05:45:20 -rw-r--r-- 1 jenkins jenkins 537 Mar 31 05:45 go.mod 05:45:20 -rw-r--r-- 1 jenkins jenkins 20743 Mar 31 05:45 go.sum 05:45:20 drwxrwxr-x 14 jenkins jenkins 4096 Mar 31 05:41 internal 05:45:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 05:41 openapi 05:45:20 drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 05:41 pkg 05:45:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 05:41 snap 05:45:20 -rw-rw-r-- 1 jenkins jenkins 222 Mar 31 05:41 version.go [Pipeline] isUnix [Pipeline] sh 05:45:20 + 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=8ee8d9a65184e2ba6c413d8f37464c8e38dd684d --label arch=arm64 --label version=0.0.0 . 05:45:21 Sending build context to Docker daemon 2.438MB 05:45:21 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 05:45:21 Step 2/23 : FROM ${BASE} AS builder 05:45:21 ---> 9cd3f247a6e3 05:45:21 Step 3/23 : WORKDIR /device-sdk-go 05:45:21 ---> Running in cbf000bfacf1 05:45:22 Removing intermediate container cbf000bfacf1 05:45:22 ---> 0d7b31a187cb 05:45:22 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:45:22 ---> Running in f83768ce1628 05:45:22 Removing intermediate container f83768ce1628 05:45:22 ---> d5038e7c2240 05:45:22 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:45:23 ---> Running in 82a3edb2ef09 05:45:25 Removing intermediate container 82a3edb2ef09 05:45:25 ---> 8b745b80fdff 05:45:25 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:45:25 ---> Running in fb1de34aa42d 05:45:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:45:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:45:28 OK: 144 MiB in 45 packages 05:45:29 Removing intermediate container fb1de34aa42d 05:45:29 ---> de5a37d03c32 05:45:29 Step 7/23 : COPY . . 05:45:30 ---> 47bb7b9b557d 05:45:30 Step 8/23 : RUN go mod download 05:45:30 ---> Running in a8840664a146 05:45:33 Removing intermediate container a8840664a146 05:45:33 ---> e6963050e34a 05:45:33 Step 9/23 : RUN make build 05:45:33 ---> Running in 01b761413cbc 05:45:34 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 05:46:06 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:46:09 Removing intermediate container 01b761413cbc 05:46:09 ---> 51a47271cea1 05:46:09 Step 10/23 : FROM alpine:3.12 05:46:09 3.12: Pulling from library/alpine 05:46:09 95dec6db3722: Pulling fs layer 05:46:09 95dec6db3722: Download complete 05:46:09 95dec6db3722: Pull complete 05:46:10 Digest: sha256:d1eaae2a6814b4b10a722fa75e8a6b53db42d1bf531395a107fea0458bfbf1d8 05:46:10 Status: Downloaded newer image for alpine:3.12 05:46:10 ---> e47305ac9786 05:46:10 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:46:10 ---> Running in b767e59d508b 05:46:10 Removing intermediate container b767e59d508b 05:46:10 ---> 775348f0efdc 05:46:10 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:46:11 ---> Running in 90a3725c5d31 05:46:13 Removing intermediate container 90a3725c5d31 05:46:13 ---> 2c373b81ddba 05:46:13 Step 13/23 : RUN apk add --update --no-cache zeromq 05:46:13 ---> Running in df90bd613531 05:46:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:46:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:46:15 (1/5) Installing libgcc (9.3.0-r2) 05:46:15 (2/5) Installing libsodium (1.0.18-r0) 05:46:16 (3/5) Installing libstdc++ (9.3.0-r2) 05:46:16 (4/5) Installing libzmq (4.3.3-r0) 05:46:16 (5/5) Installing zeromq (4.3.3-r0) 05:46:16 Executing busybox-1.31.1-r19.trigger 05:46:16 OK: 8 MiB in 19 packages 05:46:18 Removing intermediate container df90bd613531 05:46:18 ---> 7296200b1161 05:46:18 Step 14/23 : WORKDIR / 05:46:18 ---> Running in a708fd8193c2 05:46:18 Removing intermediate container a708fd8193c2 05:46:18 ---> 06deae72e394 05:46:18 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:46:19 ---> 89dd258f5104 05:46:19 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:46:20 ---> 2f910d51e532 05:46:20 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:46:21 ---> 1ea90a9cfb97 05:46:21 Step 18/23 : EXPOSE 49990 05:46:21 ---> Running in 6fa681594a72 05:46:21 Removing intermediate container 6fa681594a72 05:46:21 ---> 3cb032d31e24 05:46:21 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:46:21 ---> Running in d416f7604ab3 05:46:22 Removing intermediate container d416f7604ab3 05:46:22 ---> 1a6ea051d574 05:46:22 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:46:22 ---> Running in b0b649b5afaa 05:46:23 Removing intermediate container b0b649b5afaa 05:46:23 ---> afa1bf894498 05:46:23 Step 21/23 : LABEL arch=arm64 05:46:23 ---> Running in 3c023e906bff 05:46:23 Removing intermediate container 3c023e906bff 05:46:23 ---> cebfa86e8f8c 05:46:23 Step 22/23 : LABEL git_sha=8ee8d9a65184e2ba6c413d8f37464c8e38dd684d 05:46:23 ---> Running in 788413c7fbb3 05:46:24 Removing intermediate container 788413c7fbb3 05:46:24 ---> 065237b0ea53 05:46:24 Step 23/23 : LABEL version=0.0.0 05:46:24 ---> Running in 04ff0cf970f1 05:46:24 Removing intermediate container 04ff0cf970f1 05:46:24 ---> 63144441a3c2 05:46:24 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:46:24 Successfully built 63144441a3c2 05:46:24 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 05:46:25 ---> job-cost.sh 05:46:25 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qr6J 05:47:04 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:48:41 lf-activate-venv(): INFO: Adding /tmp/venv-qr6J/bin to PATH 05:48:41 INFO: No Stack... 05:48:41 INFO: Retrieving Pricing Info for: lf-standard-4 05:48:41 INFO: Archiving Costs [Pipeline] sh 05:48:42 + cut -d, -f6 05:48:42 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 05:48:42 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-850-1-stack-cost] 05:48:42 Resource [jenkins-edgexfoundry-device-sdk-go-PR-850-1-stack-cost] did not exist. Created. 05:48:42 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-850-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:48:42 /w/workspace/device-sdk-go/1@tmp/durable-2015b1d4/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-2015b1d4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:48:43 + echo total: 0.20999999344348907 [Pipeline] stash 05:48:43 Warning: overwriting stash ‘stack-cost’ 05:48:43 Stashed 1 file(s) [Pipeline] } 05:48:43 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-850-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 05:48:45 provisioning config files... 05:48:45 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/config3031602720701305901tmp [Pipeline] { [Pipeline] sh 05:48:45 + set +x 05:48:45 + curl -s https://codecov.io/bash 05:48:45 + bash -s -- 05:48:46 05:48:46 _____ _ 05:48:46 / ____| | | 05:48:46 | | ___ __| | ___ ___ _____ __ 05:48:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:48:46 | |___| (_) | (_| | __/ (_| (_) \ V / 05:48:46 \_____\___/ \__,_|\___|\___\___/ \_/ 05:48:46 Bash-20210309-2b87ace 05:48:46 05:48:46 05:48:46 ==> git version 2.24.3 found 05:48:46 ==> 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 05:48:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:48:46 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:48:46 ==> Jenkins CI detected. 05:48:46 project root: . 05:48:46 --> token set from env 05:48:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:48:46 ==> Running gcov in . (disable via -X gcov) 05:48:46 ==> Python coveragepy not found 05:48:46 ==> Searching for coverage reports in: 05:48:46 + . 05:48:46 -> Found 1 reports 05:48:46 ==> Detecting git/mercurial file structure 05:48:46 ==> Reading reports 05:48:46 + ./coverage.out bytes=101416 05:48:46 ==> Appending adjustments 05:48:46 https://docs.codecov.io/docs/fixing-reports 05:48:46 + Found adjustments 05:48:46 ==> Gzipping contents 05:48:46 16K /tmp/codecov.J81wHk.gz 05:48:46 ==> Uploading reports 05:48:46 url: https://codecov.io 05:48:46 query: branch=PR-850&commit=8ee8d9a65184e2ba6c413d8f37464c8e38dd684d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-850%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=850&job=&cmd_args= 05:48:46 -> Pinging Codecov 05:48:46 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-850&commit=8ee8d9a65184e2ba6c413d8f37464c8e38dd684d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-850%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=850&job=&cmd_args= 05:48:46 -> Uploading to 05:48:46 https://storage.googleapis.com/codecov/v4/raw/2021-03-31/7E55EF52A471D76F132DFD9A03CDDE97/8ee8d9a65184e2ba6c413d8f37464c8e38dd684d/3471e357-a795-44d2-b7b1-90bfecc43b97.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210331%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210331T054846Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=954444fc650590d337ad6e1571b5d10ad326a7f391506c80d80664861935c007 05:48:46 % Total % Received % Xferd Average Speed Time Time Time Current 05:48:46 Dload Upload Total Spent Left Speed 05:48:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13748 0 0 100 13748 0 33725 --:--:-- --:--:-- --:--:-- 33778 05:48:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8ee8d9a65184e2ba6c413d8f37464c8e38dd684d [Pipeline] } 05:48:47 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 05:48:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:48:51 ---> package-listing.sh 05:48:51 ++ facter osfamily 05:48:51 ++ tr '[:upper:]' '[:lower:]' 05:48:51 + OS_FAMILY=redhat 05:48:51 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-850 05:48:51 + START_PACKAGES=/tmp/packages_start.txt 05:48:51 + END_PACKAGES=/tmp/packages_end.txt 05:48:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:48:51 + PACKAGES=/tmp/packages_start.txt 05:48:51 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-850 ']' 05:48:51 + PACKAGES=/tmp/packages_end.txt 05:48:51 + case "${OS_FAMILY}" in 05:48:51 + rpm -qa 05:48:51 + sort 05:48:56 + '[' -f /tmp/packages_start.txt ']' 05:48:56 + '[' -f /tmp/packages_end.txt ']' 05:48:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:48:56 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-850 ']' 05:48:56 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-850/archives/ 05:48:56 + 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 05:48:56 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 05:48:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:48:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:48:57 05:48:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:48:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:48:57 alpine: Pulling from edgex-lftools-log-publisher 05:48:57 df20fa9351a1: Pulling fs layer 05:48:57 36b3adc4ff6f: Pulling fs layer 05:48:57 8ad3a11d3b57: Pulling fs layer 05:48:57 46f8f816bc3b: Pulling fs layer 05:48:57 93b61091891f: Pulling fs layer 05:48:57 93b9cdb0e59b: Pulling fs layer 05:48:57 5e14af77c1be: Pulling fs layer 05:48:57 01666e4c0597: Pulling fs layer 05:48:57 aa168da1d23b: Pulling fs layer 05:48:57 93b9cdb0e59b: Waiting 05:48:57 5e14af77c1be: Waiting 05:48:57 01666e4c0597: Waiting 05:48:57 46f8f816bc3b: Waiting 05:48:57 93b61091891f: Waiting 05:48:57 36b3adc4ff6f: Download complete 05:48:57 46f8f816bc3b: Verifying Checksum 05:48:57 46f8f816bc3b: Download complete 05:48:58 df20fa9351a1: Download complete 05:48:58 93b9cdb0e59b: Verifying Checksum 05:48:58 93b9cdb0e59b: Download complete 05:48:58 5e14af77c1be: Verifying Checksum 05:48:58 5e14af77c1be: Download complete 05:48:58 93b61091891f: Verifying Checksum 05:48:58 93b61091891f: Download complete 05:48:58 01666e4c0597: Verifying Checksum 05:48:58 01666e4c0597: Download complete 05:48:58 df20fa9351a1: Pull complete 05:48:58 36b3adc4ff6f: Pull complete 05:48:58 8ad3a11d3b57: Verifying Checksum 05:48:58 8ad3a11d3b57: Download complete 05:48:59 8ad3a11d3b57: Pull complete 05:48:59 46f8f816bc3b: Pull complete 05:49:00 93b61091891f: Pull complete 05:49:00 aa168da1d23b: Verifying Checksum 05:49:00 aa168da1d23b: Download complete 05:49:00 93b9cdb0e59b: Pull complete 05:49:01 5e14af77c1be: Pull complete 05:49:01 01666e4c0597: Pull complete 05:49:07 aa168da1d23b: Pull complete 05:49:07 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:49:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:49:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:49:07 prd-centos7-docker-4c-2g-32207 does not seem to be running inside a container 05:49:07 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 05:49:12 $ docker top b9e208c2cc0c6849f5ab579a956fe83bd47ea9ce84d021803a4d4c7a565d9f0f -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:12 + touch /tmp/pre-build-complete [Pipeline] sh 05:49:13 + mkdir -p /var/log/sa [Pipeline] sh 05:49:13 + ls /var/log/sa-host 05:49:13 + sadf -c /var/log/sa-host/sa23 05:49:13 file_magic: OK 05:49:13 HZ: Using current value: 100 05:49:13 file_header: OK 05:49:13 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 05:49:13 Statistics: 05:49:13 Hnuu...uuuununununu... 05:49:13 File successfully converted to sysstat format version 12.2.1 05:49:13 + sadf -c /var/log/sa-host/sa31 05:49:13 file_magic: OK 05:49:13 HZ: Using current value: 100 05:49:13 file_header: OK 05:49:13 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 05:49:13 Statistics: 05:49:13 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:49:13 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:49:14 provisioning config files... 05:49:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-850@tmp/config2702459109257014897tmp [Pipeline] { [Pipeline] echo 05:49:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:49:14 ---> create-netrc.sh [Pipeline] } 05:49:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:49:14 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:49:15 ---> python-tools-install.sh [Pipeline] echo 05:49:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:49:15 ---> sudo-logs.sh 05:49:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:49:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:49:16 ---> job-cost.sh 05:49:16 lf-activate-venv: SKIPPING 05:49:16 DEBUG: total: 0.20999999344348907 05:49:16 INFO: Retrieving Stack Cost... 05:49:17 INFO: Retrieving Pricing Info for: v1-standard-2 05:49:17 INFO: Archiving Costs [Pipeline] echo 05:49:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:49:17 ---> logs-deploy.sh 05:49:17 lf-activate-venv: SKIPPING 05:49:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-850/1 05:49:17 INFO: archiving workspace using pattern(s): 05:49:19 Archives upload complete. 05:49:19 INFO: archiving logs to Nexus