Pull request #928 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a6d76f833a211dae2edea3de70904d4d0250d9d5+8d3d36979320f9fc0ce2797f8744993b6dbca912 (ebf5dc5abf1f4168926e7fe95315826682a07665) 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 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-928/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 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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-928/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 9d0281235b943b7ad605f650702698f9078b2862 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: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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: 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-5011 in /w/workspace/dgexfoundry_device-sdk-go_PR-928 [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-928 # 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 8d3d36979320f9fc0ce2797f8744993b6dbca912 into PR head commit a6d76f833a211dae2edea3de70904d4d0250d9d5 Merge succeeded, producing a6d76f833a211dae2edea3de70904d4d0250d9d5 Checking out Revision a6d76f833a211dae2edea3de70904d4d0250d9d5 (PR-928) > 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/928/head:refs/remotes/origin/PR-928 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a6d76f833a211dae2edea3de70904d4d0250d9d5 # 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 8d3d36979320f9fc0ce2797f8744993b6dbca912 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a6d76f833a211dae2edea3de70904d4d0250d9d5 # 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 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:49:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:49:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:49:56 ========================================================= 05:49:56 EdgeX Global Pipelines Version Info 05:49:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:49:58 ------------------- 05:49:58 stable info: 05:49:58 ------------------- 05:49:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:49:58 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 05:49:58 Message: update stable to v1.0.192 05:49:59 ------------------- 05:49:59 experimental info: 05:49:59 ------------------- 05:49:59 Commited By: **** collab-it+edgex@linuxfoundation.org 05:49:59 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 05:49:59 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:49:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:49:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:49:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:49:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:49:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:49:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:49:59 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:49:59 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 05:49:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:50:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:50:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:50:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:50:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:50:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:50:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:50:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:50:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:50:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:50:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:50:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:50:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:50:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:50:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:50:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-928 [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-928 [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-928 [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a6d76f833a211dae2edea3de70904d4d0250d9d5 [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a6d76f8 [Pipeline] echo 05:50:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:50:01 provisioning config files... 05:50:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-928@tmp/config1027279675971635686tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:50:02 ---> docker-login.sh 05:50:02 nexus3.edgexfoundry.org:10001 05:50:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:02 Configure a credential helper to remove this warning. See 05:50:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:02 05:50:02 Login Succeeded 05:50:02 nexus3.edgexfoundry.org:10002 05:50:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:02 Configure a credential helper to remove this warning. See 05:50:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:02 05:50:02 Login Succeeded 05:50:02 nexus3.edgexfoundry.org:10003 05:50:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:02 Configure a credential helper to remove this warning. See 05:50:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:02 05:50:02 Login Succeeded 05:50:02 nexus3.edgexfoundry.org:10004 05:50:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:03 Configure a credential helper to remove this warning. See 05:50:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:03 05:50:03 Login Succeeded 05:50:03 docker.io 05:50:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:03 Configure a credential helper to remove this warning. See 05:50:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:03 05:50:03 Login Succeeded 05:50:03 ---> docker-login.sh ends [Pipeline] } 05:50: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 05:50:04 + git log --format=format:%s -1 a6d76f833a211dae2edea3de70904d4d0250d9d5 [Pipeline] echo 05:50:04 GIT_COMMIT: a6d76f833a211dae2edea3de70904d4d0250d9d5, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 05:50:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:50:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:50:04 05:50:04 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:50:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:50:05 latest: Pulling from edgex-devops/git-semver 05:50:05 31603596830f: Pulling fs layer 05:50:05 54011a49482f: Pulling fs layer 05:50:05 a6820b24f6d8: Pulling fs layer 05:50:05 f581987b2513: Pulling fs layer 05:50:05 f581987b2513: Waiting 05:50:05 54011a49482f: Download complete 05:50:05 31603596830f: Verifying Checksum 05:50:05 31603596830f: Download complete 05:50:05 f581987b2513: Verifying Checksum 05:50:05 f581987b2513: Download complete 05:50:05 a6820b24f6d8: Verifying Checksum 05:50:05 a6820b24f6d8: Download complete 05:50:05 31603596830f: Pull complete 05:50:05 54011a49482f: Pull complete 05:50:06 a6820b24f6d8: Pull complete 05:50:07 f581987b2513: Pull complete 05:50:07 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 05:50:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:50:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:50:07 prd-centos7-docker-4c-2g-5011 does not seem to be running inside a container 05:50:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-928 -v /w/workspace/dgexfoundry_device-sdk-go_PR-928:/w/workspace/dgexfoundry_device-sdk-go_PR-928:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-928@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-928@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:50:09 $ docker top dbf1139ee1722c2197def8af9e8709d6cd2ae2db8d854291f52e86a76b09821a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:50:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:50:09 [ssh-agent] Looking for ssh-agent implementation... 05:50:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:50:09 $ docker exec dbf1139ee1722c2197def8af9e8709d6cd2ae2db8d854291f52e86a76b09821a ssh-agent 05:50:09 SSH_AUTH_SOCK=/tmp/ssh-wU0rTz4uEE18/agent.11 05:50:09 SSH_AGENT_PID=17 05:50:09 Running ssh-add (command line suppressed) 05:50:09 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-928@tmp/private_key_3289287874805967623.key (/w/workspace/dgexfoundry_device-sdk-go_PR-928@tmp/private_key_3289287874805967623.key) 05:50:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:50:10 + git tag --points-at HEAD [Pipeline] } 05:50:10 $ docker exec --env ******** --env ******** dbf1139ee1722c2197def8af9e8709d6cd2ae2db8d854291f52e86a76b09821a ssh-agent -k 05:50:10 unset SSH_AUTH_SOCK; 05:50:10 unset SSH_AGENT_PID; 05:50:10 echo Agent pid 17 killed; 05:50:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:50:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:50:10 [ssh-agent] Looking for ssh-agent implementation... 05:50:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:50:10 $ docker exec dbf1139ee1722c2197def8af9e8709d6cd2ae2db8d854291f52e86a76b09821a ssh-agent 05:50:11 SSH_AUTH_SOCK=/tmp/ssh-y3dwvOmzjpzE/agent.46 05:50:11 SSH_AGENT_PID=51 05:50:11 Running ssh-add (command line suppressed) 05:50:11 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-928@tmp/private_key_6621804176273777732.key (/w/workspace/dgexfoundry_device-sdk-go_PR-928@tmp/private_key_6621804176273777732.key) 05:50:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:50:11 + git semver init 05:50:11 # -> Open(): unable to determine branch for HEAD 05:50:11 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-928/.git 05:50:11 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-928 05:50:11 # $SEMVER_REMOTE_NAME = origin 05:50:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:50:11 # $SEMVER_USER_NAME = edgex-jenkins 05:50:11 # $SEMVER_BRANCH = PR-928 05:50:11 # $SEMVER_TEMP = /tmp/semver-076758492 05:50:11 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:50:12 # '/tmp/semver-076758492' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-928/.semver' 05:50:12 # -> Force: false 05:50:12 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-928/.semver [Pipeline] } 05:50:12 $ docker exec --env ******** --env ******** dbf1139ee1722c2197def8af9e8709d6cd2ae2db8d854291f52e86a76b09821a ssh-agent -k 05:50:12 unset SSH_AUTH_SOCK; 05:50:12 unset SSH_AGENT_PID; 05:50:12 echo Agent pid 51 killed; 05:50:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:50:13 + git semver [Pipeline] } 05:50:13 $ docker stop --time=1 dbf1139ee1722c2197def8af9e8709d6cd2ae2db8d854291f52e86a76b09821a 05:50:14 $ docker rm -f dbf1139ee1722c2197def8af9e8709d6cd2ae2db8d854291f52e86a76b09821a [Pipeline] // withDockerContainer [Pipeline] sh 05:50:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:50:15 Stashed 1 file(s) [Pipeline] echo 05:50:15 [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:50:31 Still waiting to schedule task 05:50:31 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:50:31 Still waiting to schedule task 05:50:31 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:52:40 Running on prd-centos7-docker-4c-2g-5018 in /w/workspace/dgexfoundry_device-sdk-go_PR-928 [Pipeline] { [Pipeline] ws 05:52:40 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:52:43 using credential edgex-jenkins-ssh 05:52:43 Cloning the remote Git repository 05:52:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:52:43 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:52:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:52:43 > git --version # timeout=10 05:52:43 > git --version # 'git version 2.24.3' 05:52:43 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:52:44 Merging remotes/origin/master commit 8d3d36979320f9fc0ce2797f8744993b6dbca912 into PR head commit a6d76f833a211dae2edea3de70904d4d0250d9d5 05:52:44 Merge succeeded, producing a6d76f833a211dae2edea3de70904d4d0250d9d5 05:52:44 Checking out Revision a6d76f833a211dae2edea3de70904d4d0250d9d5 (PR-928) 05:52:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:52:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:52:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:52:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:52:44 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/928/head:refs/remotes/origin/PR-928 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:52:44 > git config core.sparsecheckout # timeout=10 05:52:44 > git checkout -f a6d76f833a211dae2edea3de70904d4d0250d9d5 # timeout=10 05:52:44 > git remote # timeout=10 05:52:44 > git config --get remote.origin.url # timeout=10 05:52:44 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:44 > git merge 8d3d36979320f9fc0ce2797f8744993b6dbca912 # timeout=10 05:52:44 > git rev-parse HEAD^{commit} # timeout=10 05:52:44 > git config core.sparsecheckout # timeout=10 05:52:44 > git checkout -f a6d76f833a211dae2edea3de70904d4d0250d9d5 # timeout=10 05:52:48 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 05:52:48 > git --version # timeout=10 05:52:48 > git --version # 'git version 2.24.3' 05:52:48 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:52:49 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:52:50 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:52:50 + sudo service docker restart 05:52:50 + true 05:52:50 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:52:52 provisioning config files... 05:52:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8179742112969336382tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:52:52 ---> docker-login.sh 05:52:52 nexus3.edgexfoundry.org:10001 05:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:53 Configure a credential helper to remove this warning. See 05:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:53 05:52:53 Login Succeeded 05:52:53 nexus3.edgexfoundry.org:10002 05:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:53 Configure a credential helper to remove this warning. See 05:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:53 05:52:53 Login Succeeded 05:52:53 nexus3.edgexfoundry.org:10003 05:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:53 Configure a credential helper to remove this warning. See 05:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:53 05:52:53 Login Succeeded 05:52:53 nexus3.edgexfoundry.org:10004 05:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:53 Configure a credential helper to remove this warning. See 05:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:53 05:52:53 Login Succeeded 05:52:53 docker.io 05:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:53 Configure a credential helper to remove this warning. See 05:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:53 05:52:53 Login Succeeded 05:52:53 ---> docker-login.sh ends [Pipeline] } 05:52:53 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:52:54 ========================================================= 05:52:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:52:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:52:54 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 05:52:54 Sending build context to Docker daemon 2.566MB 05:52:54 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 05:52:54 Step 2/8 : FROM ${BASE} 05:52:54 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:52:54 540db60ca938: Pulling fs layer 05:52:54 adcc1eea9eea: Pulling fs layer 05:52:54 4c4ab2625f07: Pulling fs layer 05:52:54 0510c868ecb4: Pulling fs layer 05:52:54 afea3b2eda06: Pulling fs layer 05:52:54 7809a108b3ef: Pulling fs layer 05:52:54 f706445af74f: Pulling fs layer 05:52:54 afea3b2eda06: Waiting 05:52:54 7809a108b3ef: Waiting 05:52:54 f706445af74f: Waiting 05:52:54 0510c868ecb4: Waiting 05:52:54 4c4ab2625f07: Verifying Checksum 05:52:54 4c4ab2625f07: Download complete 05:52:54 adcc1eea9eea: Download complete 05:52:54 afea3b2eda06: Verifying Checksum 05:52:54 afea3b2eda06: Download complete 05:52:54 7809a108b3ef: Verifying Checksum 05:52:54 7809a108b3ef: Download complete 05:52:54 540db60ca938: Verifying Checksum 05:52:54 540db60ca938: Download complete 05:52:55 540db60ca938: Pull complete 05:52:55 adcc1eea9eea: Pull complete 05:52:55 4c4ab2625f07: Pull complete 05:52:56 f706445af74f: Verifying Checksum 05:52:56 f706445af74f: Download complete 05:52:57 0510c868ecb4: Verifying Checksum 05:52:57 0510c868ecb4: Download complete 05:53:04 0510c868ecb4: Pull complete 05:53:04 afea3b2eda06: Pull complete 05:53:04 7809a108b3ef: Pull complete 05:53:08 f706445af74f: Pull complete 05:53:08 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 05:53:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:53:08 ---> b068be0155e3 05:53:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:53:08 ---> Running in 569f745abb15 05:53:08 Removing intermediate container 569f745abb15 05:53:08 ---> 256e86644b46 05:53:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:53:08 ---> Running in 44e59cb3cd78 05:53:09 Removing intermediate container 44e59cb3cd78 05:53:09 ---> b4b73d32ff42 05:53:09 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:53:09 ---> Running in 22c89bc52c5c 05:53:11 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:53:11 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:53:12 (1/6) Installing libc-dev (0.7.2-r3) 05:53:12 (2/6) Installing libsodium (1.0.18-r0) 05:53:12 (3/6) Installing pkgconf (1.7.3-r0) 05:53:13 (4/6) Installing libsodium-dev (1.0.18-r0) 05:53:13 (5/6) Installing libzmq (4.3.3-r1) 05:53:13 (6/6) Installing zeromq-dev (4.3.3-r1) 05:53:13 Executing busybox-1.32.1-r6.trigger 05:53:13 OK: 150 MiB in 46 packages 05:53:13 Removing intermediate container 22c89bc52c5c 05:53:13 ---> 10d9ce553644 05:53:13 Step 6/8 : WORKDIR /device-sdk-go 05:53:13 ---> Running in 4223c1e269d5 05:53:14 Removing intermediate container 4223c1e269d5 05:53:14 ---> a3371c01454b 05:53:14 Step 7/8 : COPY . . 05:53:15 ---> fbfd552bd7c4 05:53:15 Step 8/8 : RUN go mod download 05:53:15 ---> Running in f0a039d8975b 05:53:23 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5017 in /w/workspace/dgexfoundry_device-sdk-go_PR-928 [Pipeline] { [Pipeline] ws 05:53:23 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:53:29 using credential edgex-jenkins-ssh 05:53:29 Cloning the remote Git repository 05:53:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:53:29 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:53:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:53:29 > git --version # timeout=10 05:53:29 > git --version # 'git version 2.17.1' 05:53:29 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:53:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:53:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:53:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:53:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:53:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/928/head:refs/remotes/origin/PR-928 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:53:31 Merging remotes/origin/master commit 8d3d36979320f9fc0ce2797f8744993b6dbca912 into PR head commit a6d76f833a211dae2edea3de70904d4d0250d9d5 05:53:31 Merge succeeded, producing a6d76f833a211dae2edea3de70904d4d0250d9d5 05:53:31 Checking out Revision a6d76f833a211dae2edea3de70904d4d0250d9d5 (PR-928) 05:53:31 > git config core.sparsecheckout # timeout=10 05:53:31 > git checkout -f a6d76f833a211dae2edea3de70904d4d0250d9d5 # timeout=10 05:53:31 > git remote # timeout=10 05:53:31 > git config --get remote.origin.url # timeout=10 05:53:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:31 > git merge 8d3d36979320f9fc0ce2797f8744993b6dbca912 # timeout=10 05:53:31 > git rev-parse HEAD^{commit} # timeout=10 05:53:31 > git config core.sparsecheckout # timeout=10 05:53:31 > git checkout -f a6d76f833a211dae2edea3de70904d4d0250d9d5 # timeout=10 05:53:36 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 05:53:36 > git --version # timeout=10 05:53:36 > git --version # 'git version 2.17.1' 05:53:36 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:53:37 Removing intermediate container f0a039d8975b 05:53:37 ---> ed0c225def6f 05:53:37 Successfully built ed0c225def6f 05:53:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:53:38 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:53:38 + docker inspect -f . ci-base-image-x86_64 05:53:38 . [Pipeline] withDockerContainer 05:53:38 prd-centos7-docker-4c-2g-5018 does not seem to be running inside a container 05:53:38 + sudo mv /tmp/daemon.json /etc/docker/daemon.json 05:53:38 $ 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:53:39 $ docker top 9eb66957856d17cdfa88ed6cd08078df43269236d4d7303ee9b86d39f646a1c0 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 05:53:40 + true 05:53:40 + sudo service docker restart 05:53:40 + go version 05:53:40 go version go1.16.3 linux/amd64 [Pipeline] } 05:53:40 $ docker stop --time=1 9eb66957856d17cdfa88ed6cd08078df43269236d4d7303ee9b86d39f646a1c0 05:53:41 $ docker rm -f 9eb66957856d17cdfa88ed6cd08078df43269236d4d7303ee9b86d39f646a1c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:53:42 + docker inspect -f . ci-base-image-x86_64 05:53:42 . [Pipeline] withDockerContainer 05:53:42 prd-centos7-docker-4c-2g-5018 does not seem to be running inside a container 05:53:42 $ 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:53:43 $ docker top 9c303dc57afe30cc46bf6e6c37374c1e7cd9acbe825ec9bf58c603ff825047e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] wrap 05:53:43 provisioning config files... 05:53:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6607388704614663448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:43 + go mod tidy 05:53:43 ---> docker-login.sh 05:53:43 nexus3.edgexfoundry.org:10001 [Pipeline] sh 05:53:44 + make test 05:53:44 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:53:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:45 Configure a credential helper to remove this warning. See 05:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:45 05:53:45 Login Succeeded 05:53:45 nexus3.edgexfoundry.org:10002 05:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:45 Configure a credential helper to remove this warning. See 05:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:45 05:53:45 Login Succeeded 05:53:45 nexus3.edgexfoundry.org:10003 05:53:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:46 Configure a credential helper to remove this warning. See 05:53:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:46 05:53:46 Login Succeeded 05:53:46 nexus3.edgexfoundry.org:10004 05:53:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:46 Configure a credential helper to remove this warning. See 05:53:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:46 05:53:46 Login Succeeded 05:53:46 docker.io 05:53:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:47 Configure a credential helper to remove this warning. See 05:53:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:47 05:53:47 Login Succeeded 05:53:47 ---> docker-login.sh ends [Pipeline] } 05:53:47 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:53:48 ========================================================= 05:53:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:53:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:53:48 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 05:53:49 Sending build context to Docker daemon 2.569MB 05:53:49 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 05:53:49 Step 2/8 : FROM ${BASE} 05:53:49 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:53:49 595b0fe564bb: Pulling fs layer 05:53:49 7186ed65a4f7: Pulling fs layer 05:53:49 316046926c0a: Pulling fs layer 05:53:49 4ebd0625c992: Pulling fs layer 05:53:49 207e8628e3a3: Pulling fs layer 05:53:49 c791037a9be2: Pulling fs layer 05:53:49 ffd874e62e21: Pulling fs layer 05:53:49 4ebd0625c992: Waiting 05:53:49 207e8628e3a3: Waiting 05:53:49 c791037a9be2: Waiting 05:53:49 ffd874e62e21: Waiting 05:53:49 316046926c0a: Verifying Checksum 05:53:49 7186ed65a4f7: Verifying Checksum 05:53:49 7186ed65a4f7: Download complete 05:53:49 207e8628e3a3: Verifying Checksum 05:53:49 207e8628e3a3: Download complete 05:53:49 c791037a9be2: Verifying Checksum 05:53:49 c791037a9be2: Download complete 05:53:49 595b0fe564bb: Verifying Checksum 05:53:49 595b0fe564bb: Download complete 05:53:49 595b0fe564bb: Pull complete 05:53:50 7186ed65a4f7: Pull complete 05:53:51 316046926c0a: Pull complete 05:53:51 ffd874e62e21: Verifying Checksum 05:53:51 ffd874e62e21: Download complete 05:53:52 4ebd0625c992: Download complete 05:53:55 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:54:02 4ebd0625c992: Pull complete 05:54:02 207e8628e3a3: Pull complete 05:54:02 c791037a9be2: Pull complete 05:54:06 ffd874e62e21: Pull complete 05:54:06 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 05:54:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:54:06 ---> cfc18b08335c 05:54:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:54:08 ---> Running in 3e6f2b1a677f 05:54:09 Removing intermediate container 3e6f2b1a677f 05:54:09 ---> 212fefba0ed7 05:54:09 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:54:09 ---> Running in 989aa045a3b9 05:54:11 Removing intermediate container 989aa045a3b9 05:54:11 ---> 8a7ebf46798f 05:54:11 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:54:11 ---> Running in 794e3723ae79 05:54:13 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:54:13 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:54:14 (1/6) Installing libc-dev (0.7.2-r3) 05:54:14 (2/6) Installing libsodium (1.0.18-r0) 05:54:15 (3/6) Installing pkgconf (1.7.3-r0) 05:54:15 (4/6) Installing libsodium-dev (1.0.18-r0) 05:54:15 (5/6) Installing libzmq (4.3.3-r1) 05:54:15 (6/6) Installing zeromq-dev (4.3.3-r1) 05:54:15 Executing busybox-1.32.1-r6.trigger 05:54:15 OK: 139 MiB in 46 packages 05:54:16 Removing intermediate container 794e3723ae79 05:54:16 ---> a220e8e17a8d 05:54:16 Step 6/8 : WORKDIR /device-sdk-go 05:54:16 ---> Running in 01ef7cc32680 05:54:17 Removing intermediate container 01ef7cc32680 05:54:17 ---> 60a578be16c4 05:54:17 Step 7/8 : COPY . . 05:54:18 ---> d2329db77872 05:54:18 Step 8/8 : RUN go mod download 05:54:18 ---> Running in c59d177cc4b5 05:54:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:54:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:54:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:54:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.090s coverage: 25.4% of statements 05:54:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:54:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.113s coverage: 28.1% of statements 05:54:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.416s coverage: 78.9% of statements 05:54:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.063s coverage: 10.7% of statements 05:54:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:54:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:54:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:54:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.086s coverage: 30.2% of statements 05:54:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:54:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.094s coverage: 83.3% of statements 05:54:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:54:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:54:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.111s coverage: 58.4% of statements 05:54:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.272s coverage: 89.2% of statements 05:54:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:54:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements 05:54:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:54:26 GO111MODULE=on go vet ./... 05:54:45 Removing intermediate container c59d177cc4b5 05:54:45 ---> b34316488e3a 05:54:45 Successfully built b34316488e3a 05:54:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:54:46 + docker inspect -f . ci-base-image-arm64 05:54:46 . [Pipeline] withDockerContainer 05:54:46 prd-ubuntu18.04-docker-arm64-4c-16g-5017 does not seem to be running inside a container 05:54:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:54:47 $ docker top ce56649b9ed11b1e2c1e9d89b990a4478525f159bea96284f1f9a4af01f2c770 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:48 gofmt -l . 05:54:48 [ "`gofmt -l .`" = "" ] 05:54:48 ./bin/test-attribution-txt.sh 05:54:49 + go version 05:54:49 go version go1.16.3 linux/arm64 [Pipeline] } 05:54:49 $ docker stop --time=1 ce56649b9ed11b1e2c1e9d89b990a4478525f159bea96284f1f9a4af01f2c770 05:54:49 ./bin/test-go-mod-tidy.sh 05:54:50 $ docker rm -f ce56649b9ed11b1e2c1e9d89b990a4478525f159bea96284f1f9a4af01f2c770 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 05:54:51 $ docker stop --time=1 9c303dc57afe30cc46bf6e6c37374c1e7cd9acbe825ec9bf58c603ff825047e3 05:54:53 $ docker rm -f 9c303dc57afe30cc46bf6e6c37374c1e7cd9acbe825ec9bf58c603ff825047e3 [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:54:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:54:54 + docker inspect -f . ci-base-image-arm64 05:54:54 . [Pipeline] withDockerContainer 05:54:54 Stashed 1 file(s) 05:54:54 prd-ubuntu18.04-docker-arm64-4c-16g-5017 does not seem to be running inside a container 05:54:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:54:56 $ docker top 81440d76a4d2eb7488784e5e33ec92be17db64c6f7ff4af37f176b6e8280e840 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 05:54:57 + go mod tidy [Pipeline] sh [Pipeline] sh 05:54:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:54:59 + make test 05:54:59 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:54:59 + ls -al . 05:54:59 total 208 05:54:59 drwxrwxr-x. 10 jenkins jenkins 4096 May 13 05:54 . 05:54:59 drwxrwxr-x. 4 jenkins jenkins 28 May 13 05:52 .. 05:54:59 drwxrwxr-x. 2 jenkins jenkins 64 May 13 05:52 bin 05:54:59 -rw-r--r--. 1 jenkins jenkins 126001 May 13 05:54 coverage.out 05:54:59 -rw-rw-r--. 1 jenkins jenkins 987 May 13 05:52 Dockerfile.build 05:54:59 -rw-rw-r--. 1 jenkins jenkins 140 May 13 05:52 .dockerignore 05:54:59 drwxrwxr-x. 5 jenkins jenkins 62 May 13 05:52 example 05:54:59 drwxrwxr-x. 8 jenkins jenkins 179 May 13 05:52 .git 05:54:59 drwxrwxr-x. 2 jenkins jenkins 103 May 13 05:52 .github 05:54:59 -rw-rw-r--. 1 jenkins jenkins 138 May 13 05:52 .gitignore 05:54:59 -rw-r--r--. 1 jenkins jenkins 575 May 13 05:54 go.mod 05:54:59 -rw-r--r--. 1 jenkins jenkins 20408 May 13 05:53 go.sum 05:54:59 drwxrwxr-x. 15 jenkins jenkins 224 May 13 05:52 internal 05:54:59 -rw-rw-r--. 1 jenkins jenkins 894 May 13 05:52 Jenkinsfile 05:54:59 -rw-rw-r--. 1 jenkins jenkins 11341 May 13 05:52 LICENSE 05:54:59 -rw-rw-r--. 1 jenkins jenkins 1000 May 13 05:52 Makefile 05:54:59 drwxrwxr-x. 4 jenkins jenkins 26 May 13 05:52 openapi 05:54:59 drwxrwxr-x. 5 jenkins jenkins 50 May 13 05:52 pkg 05:54:59 -rw-rw-r--. 1 jenkins jenkins 7652 May 13 05:52 README.md 05:54:59 -rw-rw-r--. 1 jenkins jenkins 6616 May 13 05:52 RELEASE-NOTES.txt 05:54:59 drwxrwxr-x. 4 jenkins jenkins 54 May 13 05:52 snap 05:54:59 -rw-rw-r--. 1 jenkins jenkins 5 May 13 05:50 VERSION 05:54:59 -rw-rw-r--. 1 jenkins jenkins 222 May 13 05:52 version.go [Pipeline] isUnix [Pipeline] sh 05:54:59 + docker build -t 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=a6d76f833a211dae2edea3de70904d4d0250d9d5 --label arch=amd64 --label version=0.0.0 . 05:55:00 Sending build context to Docker daemon 2.693MB 05:55:00 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 05:55:00 Step 2/23 : FROM ${BASE} AS builder 05:55:00 ---> ed0c225def6f 05:55:00 Step 3/23 : WORKDIR /device-sdk-go 05:55:00 ---> Running in 09773e743ee3 05:55:01 Removing intermediate container 09773e743ee3 05:55:01 ---> 7aafc7db7988 05:55:01 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:55:01 ---> Running in 157a4cea26a5 05:55:01 Removing intermediate container 157a4cea26a5 05:55:01 ---> 299f6ddbe932 05:55:01 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:55:01 ---> Running in 929c4962302c 05:55:03 Removing intermediate container 929c4962302c 05:55:03 ---> 20ad531cc5d6 05:55:03 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:55:03 ---> Running in 9070ddc65f9c 05:55:03 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:55:04 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:55:05 OK: 150 MiB in 46 packages 05:55:05 Removing intermediate container 9070ddc65f9c 05:55:05 ---> 0a33f820fcfa 05:55:05 Step 7/23 : COPY . . 05:55:06 ---> 42655db6c119 05:55:06 Step 8/23 : RUN go mod download 05:55:06 ---> Running in 7895e86314b2 05:55:08 Removing intermediate container 7895e86314b2 05:55:08 ---> 558fb25b8b9c 05:55:08 Step 9/23 : RUN make build 05:55:08 ---> Running in b88a9fa0fc45 05:55:08 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:55:20 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:55:23 Removing intermediate container b88a9fa0fc45 05:55:23 ---> ff24085be89b 05:55:23 Step 10/23 : FROM alpine:3.12 05:55:23 3.12: Pulling from library/alpine 05:55:23 339de151aab4: Pulling fs layer 05:55:24 339de151aab4: Verifying Checksum 05:55:24 339de151aab4: Download complete 05:55:24 339de151aab4: Pull complete 05:55:24 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:55:24 Status: Downloaded newer image for alpine:3.12 05:55:24 ---> 13621d1b12d4 05:55:24 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:55:24 ---> Running in 4f6e3f2f7ae8 05:55:24 Removing intermediate container 4f6e3f2f7ae8 05:55:24 ---> 2cae63942329 05:55:24 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:55:25 ---> Running in 0f851215d0a8 05:55:26 Removing intermediate container 0f851215d0a8 05:55:26 ---> 1cb9d74a0d9f 05:55:26 Step 13/23 : RUN apk add --update --no-cache zeromq 05:55:26 ---> Running in 856a722f0b45 05:55:26 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:55:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:55:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:55:27 (1/5) Installing libgcc (9.3.0-r2) 05:55:27 (2/5) Installing libsodium (1.0.18-r0) 05:55:27 (3/5) Installing libstdc++ (9.3.0-r2) 05:55:28 (4/5) Installing libzmq (4.3.3-r0) 05:55:28 (5/5) Installing zeromq (4.3.3-r0) 05:55:28 Executing busybox-1.31.1-r20.trigger 05:55:28 OK: 8 MiB in 19 packages 05:55:29 Removing intermediate container 856a722f0b45 05:55:29 ---> 997dc2e57735 05:55:29 Step 14/23 : WORKDIR / 05:55:29 ---> Running in f55f61b09fd3 05:55:29 Removing intermediate container f55f61b09fd3 05:55:29 ---> 82b5fdf9ddb5 05:55:29 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:55:29 ---> 1f64b3bc90be 05:55:29 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:55:30 ---> 2faff5fc80dc 05:55:30 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:55:30 ---> f31dc0b1164c 05:55:30 Step 18/23 : EXPOSE 49990 05:55:30 ---> Running in 5e8dd1b4ac70 05:55:31 Removing intermediate container 5e8dd1b4ac70 05:55:31 ---> 8b186c83a0db 05:55:31 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:55:31 ---> Running in ce3ad42ded32 05:55:31 Removing intermediate container ce3ad42ded32 05:55:31 ---> 510e56992e85 05:55:31 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:55:31 ---> Running in a08ffa89e6b5 05:55:31 Removing intermediate container a08ffa89e6b5 05:55:31 ---> 5e6fc8d786fb 05:55:31 Step 21/23 : LABEL arch=amd64 05:55:31 ---> Running in b87bb075c97c 05:55:32 Removing intermediate container b87bb075c97c 05:55:32 ---> 5a0999b50012 05:55:32 Step 22/23 : LABEL git_sha=a6d76f833a211dae2edea3de70904d4d0250d9d5 05:55:32 ---> Running in 45fd041ab572 05:55:32 Removing intermediate container 45fd041ab572 05:55:32 ---> 64436a859021 05:55:32 Step 23/23 : LABEL version=0.0.0 05:55:32 ---> Running in e564bde9cb3e 05:55:32 Removing intermediate container e564bde9cb3e 05:55:32 ---> 0bef75e638fb 05:55:32 [Warning] One or more build-args [MAKE ARCH] were not consumed 05:55:32 Successfully built 0bef75e638fb 05:55:32 Successfully tagged 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:55:34 ---> job-cost.sh 05:55:34 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-U3Dt 05:55:49 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:56:21 lf-activate-venv(): INFO: Adding /tmp/venv-U3Dt/bin to PATH 05:56:21 INFO: No Stack... 05:56:21 INFO: Retrieving Pricing Info for: v1-standard-2 05:56:21 INFO: Archiving Costs [Pipeline] sh 05:56:21 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:56:21 + cut -d, -f6 [Pipeline] lock 05:56:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-928-1-stack-cost] 05:56:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-928-1-stack-cost] did not exist. Created. 05:56:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-928-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:56:22 + echo total: 0.029999999329447746 [Pipeline] stash 05:56:22 Stashed 1 file(s) [Pipeline] } 05:56:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-928-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:56:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:56:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:56:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:56:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.221s coverage: 25.4% of statements 05:56:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:56:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.212s coverage: 28.1% of statements 05:56:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.194s coverage: 78.9% of statements 05:56:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.146s coverage: 10.7% of statements 05:56:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:56:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:56:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:56:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.254s coverage: 30.2% of statements 05:56:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:56:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.213s coverage: 83.3% of statements 05:56:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:56:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:56:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.336s coverage: 58.4% of statements 05:56:44 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.028s coverage: 89.2% of statements 05:56:44 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:56:44 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.142s coverage: 5.0% of statements 05:56:44 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:56:45 GO111MODULE=on go vet ./... 05:57:41 gofmt -l . 05:57:41 [ "`gofmt -l .`" = "" ] 05:57:41 ./bin/test-attribution-txt.sh 05:57:41 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:57:41 $ docker stop --time=1 81440d76a4d2eb7488784e5e33ec92be17db64c6f7ff4af37f176b6e8280e840 05:57:43 $ docker rm -f 81440d76a4d2eb7488784e5e33ec92be17db64c6f7ff4af37f176b6e8280e840 [Pipeline] // withDockerContainer [Pipeline] sh 05:57:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:57:45 Warning: overwriting stash ‘coverage-report’ 05:57:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:57:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:57:46 + ls -al . 05:57:46 total 244 05:57:46 drwxrwxr-x 10 jenkins jenkins 4096 May 13 05:57 . 05:57:46 drwxrwxr-x 4 jenkins jenkins 4096 May 13 05:53 .. 05:57:46 -rw-rw-r-- 1 jenkins jenkins 140 May 13 05:53 .dockerignore 05:57:46 drwxrwxr-x 8 jenkins jenkins 4096 May 13 05:53 .git 05:57:46 drwxrwxr-x 2 jenkins jenkins 4096 May 13 05:53 .github 05:57:46 -rw-rw-r-- 1 jenkins jenkins 138 May 13 05:53 .gitignore 05:57:46 -rw-rw-r-- 1 jenkins jenkins 987 May 13 05:53 Dockerfile.build 05:57:46 -rw-rw-r-- 1 jenkins jenkins 894 May 13 05:53 Jenkinsfile 05:57:46 -rw-rw-r-- 1 jenkins jenkins 11341 May 13 05:53 LICENSE 05:57:46 -rw-rw-r-- 1 jenkins jenkins 1000 May 13 05:53 Makefile 05:57:46 -rw-rw-r-- 1 jenkins jenkins 7652 May 13 05:53 README.md 05:57:46 -rw-rw-r-- 1 jenkins jenkins 6616 May 13 05:53 RELEASE-NOTES.txt 05:57:46 -rw-rw-r-- 1 jenkins jenkins 5 May 13 05:50 VERSION 05:57:46 drwxrwxr-x 2 jenkins jenkins 4096 May 13 05:53 bin 05:57:46 -rw-r--r-- 1 jenkins jenkins 126002 May 13 05:56 coverage.out 05:57:46 drwxrwxr-x 5 jenkins jenkins 4096 May 13 05:53 example 05:57:46 -rw-r--r-- 1 jenkins jenkins 575 May 13 05:57 go.mod 05:57:46 -rw-r--r-- 1 jenkins jenkins 20408 May 13 05:54 go.sum 05:57:46 drwxrwxr-x 15 jenkins jenkins 4096 May 13 05:53 internal 05:57:46 drwxrwxr-x 4 jenkins jenkins 4096 May 13 05:53 openapi 05:57:46 drwxrwxr-x 5 jenkins jenkins 4096 May 13 05:53 pkg 05:57:46 drwxrwxr-x 4 jenkins jenkins 4096 May 13 05:53 snap 05:57:46 -rw-rw-r-- 1 jenkins jenkins 222 May 13 05:53 version.go [Pipeline] isUnix [Pipeline] sh 05:57:47 + docker build -t 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=a6d76f833a211dae2edea3de70904d4d0250d9d5 --label arch=arm64 --label version=0.0.0 . 05:57:47 Sending build context to Docker daemon 2.696MB 05:57:47 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 05:57:47 Step 2/23 : FROM ${BASE} AS builder 05:57:47 ---> b34316488e3a 05:57:47 Step 3/23 : WORKDIR /device-sdk-go 05:57:48 ---> Running in bd0a8e2890df 05:57:48 Removing intermediate container bd0a8e2890df 05:57:48 ---> 617ff1714504 05:57:48 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:57:48 ---> Running in c226d15e298c 05:57:49 Removing intermediate container c226d15e298c 05:57:49 ---> 088c8d1b6fea 05:57:49 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:57:49 ---> Running in 8dba46bfd05f 05:57:51 Removing intermediate container 8dba46bfd05f 05:57:51 ---> bb518866a7a4 05:57:51 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:57:51 ---> Running in 91b0b58141d6 05:57:52 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:57:53 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:57:54 OK: 139 MiB in 46 packages 05:57:55 Removing intermediate container 91b0b58141d6 05:57:55 ---> 6d7d4981d7a2 05:57:55 Step 7/23 : COPY . . 05:57:56 ---> f0bd17155454 05:57:56 Step 8/23 : RUN go mod download 05:57:56 ---> Running in db9e9d2d265a 05:57:59 Removing intermediate container db9e9d2d265a 05:57:59 ---> 31d7cd4a8981 05:57:59 Step 9/23 : RUN make build 05:57:59 ---> Running in 79700048e289 05:57:59 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:58:32 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:58:35 Removing intermediate container 79700048e289 05:58:35 ---> e2c9ba99a7eb 05:58:35 Step 10/23 : FROM alpine:3.12 05:58:35 3.12: Pulling from library/alpine 05:58:35 d2f70382dc9a: Pulling fs layer 05:58:35 d2f70382dc9a: Verifying Checksum 05:58:35 d2f70382dc9a: Download complete 05:58:36 d2f70382dc9a: Pull complete 05:58:36 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:58:36 Status: Downloaded newer image for alpine:3.12 05:58:36 ---> 9852663dfa18 05:58:36 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:58:36 ---> Running in 01c5bac58c39 05:58:37 Removing intermediate container 01c5bac58c39 05:58:37 ---> 718d21b74481 05:58:37 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:58:37 ---> Running in 9952ca4436ca 05:58:39 Removing intermediate container 9952ca4436ca 05:58:39 ---> b1059a2ce2be 05:58:39 Step 13/23 : RUN apk add --update --no-cache zeromq 05:58:39 ---> Running in bea684f44720 05:58:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:58:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:58:41 (1/5) Installing libgcc (9.3.0-r2) 05:58:41 (2/5) Installing libsodium (1.0.18-r0) 05:58:41 (3/5) Installing libstdc++ (9.3.0-r2) 05:58:42 (4/5) Installing libzmq (4.3.3-r0) 05:58:42 (5/5) Installing zeromq (4.3.3-r0) 05:58:42 Executing busybox-1.31.1-r20.trigger 05:58:42 OK: 8 MiB in 19 packages 05:58:43 Removing intermediate container bea684f44720 05:58:43 ---> 9c8b38a07440 05:58:43 Step 14/23 : WORKDIR / 05:58:43 ---> Running in 8034b5c5f8ab 05:58:44 Removing intermediate container 8034b5c5f8ab 05:58:44 ---> 5f59a1851969 05:58:44 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:58:45 ---> f620a83e1cbe 05:58:45 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:58:46 ---> adc5c9c3df08 05:58:46 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:58:47 ---> 7a8e31dc9e12 05:58:47 Step 18/23 : EXPOSE 49990 05:58:47 ---> Running in 4881d0d98531 05:58:47 Removing intermediate container 4881d0d98531 05:58:47 ---> 00944d14a063 05:58:47 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:58:47 ---> Running in b424d1f8734b 05:58:48 Removing intermediate container b424d1f8734b 05:58:48 ---> 6fcadfc8b59c 05:58:48 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:58:48 ---> Running in 127d5b5ea268 05:58:48 Removing intermediate container 127d5b5ea268 05:58:48 ---> d583593ea085 05:58:48 Step 21/23 : LABEL arch=arm64 05:58:48 ---> Running in aa0798f3f68a 05:58:49 Removing intermediate container aa0798f3f68a 05:58:49 ---> 2f4adba7f5cd 05:58:49 Step 22/23 : LABEL git_sha=a6d76f833a211dae2edea3de70904d4d0250d9d5 05:58:49 ---> Running in c5dfdedcb4d8 05:58:50 Removing intermediate container c5dfdedcb4d8 05:58:50 ---> 4185d59580cb 05:58:50 Step 23/23 : LABEL version=0.0.0 05:58:50 ---> Running in 9e944fb4d585 05:58:50 Removing intermediate container 9e944fb4d585 05:58:50 ---> 096cc557fb06 05:58:50 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:58:50 Successfully built 096cc557fb06 05:58:50 Successfully tagged 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:58:51 ---> job-cost.sh 05:58:51 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-eEE7 05:59:30 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:00:52 lf-activate-venv(): INFO: Adding /tmp/venv-eEE7/bin to PATH 06:00:52 INFO: No Stack... 06:00:52 INFO: Retrieving Pricing Info for: lf-standard-4 06:00:52 INFO: Archiving Costs [Pipeline] sh 06:00:52 + + cutcat -d, /w/workspace/device-sdk-go/1/archives/cost.csv -f6 06:00:52 [Pipeline] lock 06:00:52 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-928-1-stack-cost] 06:00:52 Resource [jenkins-edgexfoundry-device-sdk-go-PR-928-1-stack-cost] did not exist. Created. 06:00:52 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-928-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:00:52 /w/workspace/device-sdk-go/1@tmp/durable-65240cdf/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-65240cdf/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:00:53 + echo total: 0.20999999344348907 [Pipeline] stash 06:00:53 Warning: overwriting stash ‘stack-cost’ 06:00:53 Stashed 1 file(s) [Pipeline] } 06:00:53 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-928-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 06:00:54 provisioning config files... 06:00:54 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-928@tmp/config8615045904747368990tmp [Pipeline] { [Pipeline] sh 06:00:54 + set +x 06:00:54 + curl -s https://codecov.io/bash 06:00:54 + bash -s -- 06:00:55 06:00:55 _____ _ 06:00:55 / ____| | | 06:00:55 | | ___ __| | ___ ___ _____ __ 06:00:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:00:55 | |___| (_) | (_| | __/ (_| (_) \ V / 06:00:55 \_____\___/ \__,_|\___|\___\___/ \_/ 06:00:55 Bash-1.0.2 06:00:55 06:00:55 06:00:55 ==> git version 2.24.3 found 06:00:55 ==> 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:00:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:00:55 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:00:55 ==> Jenkins CI detected. 06:00:55 project root: . 06:00:55 --> token set from env 06:00:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:00:55 ==> Running gcov in . (disable via -X gcov) 06:00:55 ==> Python coveragepy not found 06:00:55 ==> Searching for coverage reports in: 06:00:55 + . 06:00:55 -> Found 1 reports 06:00:55 ==> Detecting git/mercurial file structure 06:00:55 ==> Reading reports 06:00:55 + ./coverage.out bytes=126002 06:00:55 ==> Appending adjustments 06:00:55 https://docs.codecov.io/docs/fixing-reports 06:00:55 + Found adjustments 06:00:55 ==> Gzipping contents 06:00:55 20K /tmp/codecov.Bo9lp0.gz 06:00:55 ==> Uploading reports 06:00:55 url: https://codecov.io 06:00:55 query: branch=PR-928&commit=a6d76f833a211dae2edea3de70904d4d0250d9d5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-928%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=928&job=&cmd_args= 06:00:55 -> Pinging Codecov 06:00:55 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-928&commit=a6d76f833a211dae2edea3de70904d4d0250d9d5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-928%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=928&job=&cmd_args= 06:00:56 -> Uploading to 06:00:56 https://storage.googleapis.com/codecov/v4/raw/2021-05-13/7E55EF52A471D76F132DFD9A03CDDE97/a6d76f833a211dae2edea3de70904d4d0250d9d5/2dee54b5-3d50-4e39-8988-173cdcf075a1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210513%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210513T060055Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e3a5a42cde1e015769b5a98d1f590b9a60cc0ff1ce7e6e4e11cd9837894acd94 06:00:56 % Total % Received % Xferd Average Speed Time Time Time Current 06:00:56 Dload Upload Total Spent Left Speed 06:00:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16454 0 0 100 16454 0 34308 --:--:-- --:--:-- --:--:-- 34350 06:00:56 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a6d76f833a211dae2edea3de70904d4d0250d9d5 [Pipeline] } 06:00:56 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:00:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:00:59 ---> package-listing.sh 06:00:59 ++ facter osfamily 06:00:59 ++ tr '[:upper:]' '[:lower:]' 06:00:59 + OS_FAMILY=redhat 06:00:59 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-928 06:00:59 + START_PACKAGES=/tmp/packages_start.txt 06:00:59 + END_PACKAGES=/tmp/packages_end.txt 06:00:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:00:59 + PACKAGES=/tmp/packages_start.txt 06:00:59 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-928 ']' 06:00:59 + PACKAGES=/tmp/packages_end.txt 06:00:59 + case "${OS_FAMILY}" in 06:00:59 + rpm -qa 06:00:59 + sort 06:01:04 + '[' -f /tmp/packages_start.txt ']' 06:01:04 + '[' -f /tmp/packages_end.txt ']' 06:01:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:01:04 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-928 ']' 06:01:04 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-928/archives/ 06:01:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-928/archives/ [Pipeline] echo 06:01:04 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-928/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:01:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:01:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:01:05 06:01:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:01:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:01:05 alpine: Pulling from edgex-lftools-log-publisher 06:01:05 df20fa9351a1: Pulling fs layer 06:01:05 36b3adc4ff6f: Pulling fs layer 06:01:05 8ad3a11d3b57: Pulling fs layer 06:01:05 46f8f816bc3b: Pulling fs layer 06:01:05 93b61091891f: Pulling fs layer 06:01:05 93b9cdb0e59b: Pulling fs layer 06:01:05 5e14af77c1be: Pulling fs layer 06:01:05 01666e4c0597: Pulling fs layer 06:01:05 aa168da1d23b: Pulling fs layer 06:01:05 46f8f816bc3b: Waiting 06:01:05 5e14af77c1be: Waiting 06:01:05 93b61091891f: Waiting 06:01:05 01666e4c0597: Waiting 06:01:05 aa168da1d23b: Waiting 06:01:05 93b9cdb0e59b: Waiting 06:01:05 36b3adc4ff6f: Download complete 06:01:05 46f8f816bc3b: Verifying Checksum 06:01:05 46f8f816bc3b: Download complete 06:01:05 df20fa9351a1: Verifying Checksum 06:01:05 93b9cdb0e59b: Verifying Checksum 06:01:05 93b9cdb0e59b: Download complete 06:01:05 5e14af77c1be: Verifying Checksum 06:01:05 5e14af77c1be: Download complete 06:01:05 01666e4c0597: Verifying Checksum 06:01:05 01666e4c0597: Download complete 06:01:05 93b61091891f: Download complete 06:01:06 8ad3a11d3b57: Verifying Checksum 06:01:06 8ad3a11d3b57: Download complete 06:01:06 df20fa9351a1: Pull complete 06:01:06 36b3adc4ff6f: Pull complete 06:01:07 8ad3a11d3b57: Pull complete 06:01:07 46f8f816bc3b: Pull complete 06:01:08 93b61091891f: Pull complete 06:01:08 aa168da1d23b: Verifying Checksum 06:01:08 aa168da1d23b: Download complete 06:01:08 93b9cdb0e59b: Pull complete 06:01:08 5e14af77c1be: Pull complete 06:01:08 01666e4c0597: Pull complete 06:01:16 aa168da1d23b: Pull complete 06:01:16 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:01:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:01:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:01:17 prd-centos7-docker-4c-2g-5011 does not seem to be running inside a container 06:01:17 $ 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-928/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-928 -v /w/workspace/dgexfoundry_device-sdk-go_PR-928:/w/workspace/dgexfoundry_device-sdk-go_PR-928:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-928@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-928@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:01:20 $ docker top ef10ee0af54e0ac50afdef5e0af78c5530904f5f0a11f8a2660e7cca2c6bfdc6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:21 + touch /tmp/pre-build-complete [Pipeline] sh 06:01:21 + mkdir -p /var/log/sa [Pipeline] sh 06:01:22 + ls /var/log/sa-host 06:01:22 + sadf -c /var/log/sa-host/sa13 06:01:22 file_magic: OK 06:01:22 HZ: Using current value: 100 06:01:22 file_header: OK 06:01:22 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:01:22 Statistics: 06:01:22 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:01:22 File successfully converted to sysstat format version 12.2.1 06:01:22 + sadf -c /var/log/sa-host/sa23 06:01:22 file_magic: OK 06:01:22 HZ: Using current value: 100 06:01:22 file_header: OK 06:01:22 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:01:22 Statistics: 06:01:22 Hnuu...uuuununununu... 06:01:22 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:01:22 provisioning config files... 06:01:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-928@tmp/config2691178035375863821tmp [Pipeline] { [Pipeline] echo 06:01:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:01:22 ---> create-netrc.sh [Pipeline] } 06:01:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:01:22 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:01:23 ---> python-tools-install.sh [Pipeline] echo 06:01:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:01:23 ---> sudo-logs.sh 06:01:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:01:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:01:24 ---> job-cost.sh 06:01:24 lf-activate-venv: SKIPPING 06:01:24 DEBUG: total: 0.20999999344348907 06:01:24 INFO: Retrieving Stack Cost... 06:01:25 INFO: Retrieving Pricing Info for: v1-standard-2 06:01:25 INFO: Archiving Costs [Pipeline] echo 06:01:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:01:26 ---> logs-deploy.sh 06:01:26 lf-activate-venv: SKIPPING 06:01:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-928/1 06:01:26 INFO: archiving workspace using pattern(s): 06:01:27 Archives upload complete. 06:01:27 INFO: archiving logs to Nexus