Pull request #239 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 1447ef43d67bfc4923f05c4e4cda78243242bf94+3691df947a2f13c033dab4cecb2f3e43c92cf99c (af328fe7a055ebd9b4b43bbd899c8dd8437ed1f3) 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-mqtt-go/branches/PR-239/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-mqtt-go/branches/PR-239/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-mqtt-go, buildSnap:true] ========================================================= [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-mqtt-go-settings PROJECT: device-mqtt-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4807 in /w/workspace/gexfoundry_device-mqtt-go_PR-239 [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-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-239 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/239/head:refs/remotes/origin/PR-239 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3691df947a2f13c033dab4cecb2f3e43c92cf99c into PR head commit 1447ef43d67bfc4923f05c4e4cda78243242bf94 Merge succeeded, producing 1447ef43d67bfc4923f05c4e4cda78243242bf94 Checking out Revision 1447ef43d67bfc4923f05c4e4cda78243242bf94 (PR-239) > git config core.sparsecheckout # timeout=10 > git checkout -f 1447ef43d67bfc4923f05c4e4cda78243242bf94 # 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 3691df947a2f13c033dab4cecb2f3e43c92cf99c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1447ef43d67bfc4923f05c4e4cda78243242bf94 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/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 20:08:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:08:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:08:53 ========================================================= 20:08:53 EdgeX Global Pipelines Version Info 20:08:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:08:56 ------------------- 20:08:56 stable info: 20:08:56 ------------------- 20:08:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:08:56 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 20:08:56 Message: update stable to v1.0.192 20:08:57 ------------------- 20:08:57 experimental info: 20:08:57 ------------------- 20:08:57 Commited By: **** collab-it+edgex@linuxfoundation.org 20:08:57 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 20:08:57 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:08:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 20:08:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 20:08:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:08:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:08:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:08:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 20:08:58 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 20:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 20:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:08:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:08:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:08:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:08:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:08:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:08:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 20:08:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:08:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:08:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:08:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:08:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:08:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:08:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-239 [Pipeline] echo 20:08:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-239 [Pipeline] echo 20:08:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-239 [Pipeline] echo 20:08:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1447ef43d67bfc4923f05c4e4cda78243242bf94 [Pipeline] echo 20:08:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1447ef4 [Pipeline] echo 20:09:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:09:00 provisioning config files... 20:09:00 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-239@tmp/config8001115289543685278tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:09:00 ---> docker-login.sh 20:09:00 nexus3.edgexfoundry.org:10001 20:09:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:01 Configure a credential helper to remove this warning. See 20:09:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:01 20:09:01 Login Succeeded 20:09:01 nexus3.edgexfoundry.org:10002 20:09:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:02 Configure a credential helper to remove this warning. See 20:09:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:02 20:09:02 Login Succeeded 20:09:02 nexus3.edgexfoundry.org:10003 20:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:02 Configure a credential helper to remove this warning. See 20:09:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:02 20:09:02 Login Succeeded 20:09:02 nexus3.edgexfoundry.org:10004 20:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:02 Configure a credential helper to remove this warning. See 20:09:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:02 20:09:02 Login Succeeded 20:09:02 docker.io 20:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:03 Configure a credential helper to remove this warning. See 20:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:03 20:09:03 Login Succeeded 20:09:03 ---> docker-login.sh ends [Pipeline] } 20:09: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 20:09:04 + git log --format=format:%s -1 1447ef43d67bfc4923f05c4e4cda78243242bf94 [Pipeline] echo 20:09:04 GIT_COMMIT: 1447ef43d67bfc4923f05c4e4cda78243242bf94, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 20:09:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:09:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:09:05 20:09:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:09:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:09:06 latest: Pulling from edgex-devops/git-semver 20:09:06 31603596830f: Pulling fs layer 20:09:06 54011a49482f: Pulling fs layer 20:09:06 a6820b24f6d8: Pulling fs layer 20:09:06 f581987b2513: Pulling fs layer 20:09:06 f581987b2513: Waiting 20:09:06 54011a49482f: Verifying Checksum 20:09:06 54011a49482f: Download complete 20:09:06 31603596830f: Verifying Checksum 20:09:06 31603596830f: Download complete 20:09:07 f581987b2513: Verifying Checksum 20:09:07 f581987b2513: Download complete 20:09:07 a6820b24f6d8: Verifying Checksum 20:09:07 a6820b24f6d8: Download complete 20:09:07 31603596830f: Pull complete 20:09:07 54011a49482f: Pull complete 20:09:10 a6820b24f6d8: Pull complete 20:09:10 f581987b2513: Pull complete 20:09:10 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 20:09:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:09:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:09:10 prd-centos7-docker-4c-2g-4807 does not seem to be running inside a container 20:09:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-239 -v /w/workspace/gexfoundry_device-mqtt-go_PR-239:/w/workspace/gexfoundry_device-mqtt-go_PR-239:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-239@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-239@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:09:14 $ docker top fad035dd42631fa0bac5734daca1addb9e712fcea2e499594d96c04cf651c810 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:09:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:09:14 [ssh-agent] Looking for ssh-agent implementation... 20:09:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:09:15 $ docker exec fad035dd42631fa0bac5734daca1addb9e712fcea2e499594d96c04cf651c810 ssh-agent 20:09:15 SSH_AUTH_SOCK=/tmp/ssh-c52aNYbc0500/agent.11 20:09:15 SSH_AGENT_PID=16 20:09:15 Running ssh-add (command line suppressed) 20:09:15 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-239@tmp/private_key_7786243828278292221.key (/w/workspace/gexfoundry_device-mqtt-go_PR-239@tmp/private_key_7786243828278292221.key) 20:09:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:09:16 + git tag --points-at HEAD [Pipeline] } 20:09:16 $ docker exec --env ******** --env ******** fad035dd42631fa0bac5734daca1addb9e712fcea2e499594d96c04cf651c810 ssh-agent -k 20:09:16 unset SSH_AUTH_SOCK; 20:09:16 unset SSH_AGENT_PID; 20:09:16 echo Agent pid 16 killed; 20:09:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:09:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:09:17 [ssh-agent] Looking for ssh-agent implementation... 20:09:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:09:17 $ docker exec fad035dd42631fa0bac5734daca1addb9e712fcea2e499594d96c04cf651c810 ssh-agent 20:09:18 SSH_AUTH_SOCK=/tmp/ssh-JAiG4MJCN3rw/agent.46 20:09:18 SSH_AGENT_PID=51 20:09:18 Running ssh-add (command line suppressed) 20:09:18 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-239@tmp/private_key_5072762564188693900.key (/w/workspace/gexfoundry_device-mqtt-go_PR-239@tmp/private_key_5072762564188693900.key) 20:09:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:09:19 + git semver init 20:09:19 # -> Open(): unable to determine branch for HEAD 20:09:19 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-239/.git 20:09:19 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-239 20:09:19 # $SEMVER_REMOTE_NAME = origin 20:09:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:09:19 # $SEMVER_USER_NAME = edgex-jenkins 20:09:19 # $SEMVER_BRANCH = PR-239 20:09:19 # $SEMVER_TEMP = /tmp/semver-271715557 20:09:19 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 20:09:19 # '/tmp/semver-271715557' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-239/.semver' 20:09:19 # -> Force: false 20:09:19 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-239/.semver [Pipeline] } 20:09:19 $ docker exec --env ******** --env ******** fad035dd42631fa0bac5734daca1addb9e712fcea2e499594d96c04cf651c810 ssh-agent -k 20:09:19 unset SSH_AUTH_SOCK; 20:09:19 unset SSH_AGENT_PID; 20:09:19 echo Agent pid 51 killed; 20:09:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:09:20 + git semver [Pipeline] } 20:09:20 $ docker stop --time=1 fad035dd42631fa0bac5734daca1addb9e712fcea2e499594d96c04cf651c810 20:09:22 $ docker rm -f fad035dd42631fa0bac5734daca1addb9e712fcea2e499594d96c04cf651c810 [Pipeline] // withDockerContainer [Pipeline] sh 20:09:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:09:23 Stashed 1 file(s) [Pipeline] echo 20:09: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 20:09:39 Still waiting to schedule task 20:09:39 Waiting for next available executor on ‘centos7-docker-4c-2g’ 20:09:39 Still waiting to schedule task 20:09:39 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 20:11:30 Running on prd-centos7-docker-4c-2g-4827 in /w/workspace/gexfoundry_device-mqtt-go_PR-239 [Pipeline] { [Pipeline] ws 20:11:30 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 20:11:33 using credential edgex-jenkins-ssh 20:11:33 Cloning the remote Git repository 20:11:33 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 20:11:33 > git init /w/workspace/device-mqtt-go/1 # timeout=10 20:11:33 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 20:11:33 > git --version # timeout=10 20:11:33 > git --version # 'git version 2.24.3' 20:11:33 using GIT_SSH to set credentials SSH Credentials for GitHub 20:11:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:11:34 Merging remotes/origin/master commit 3691df947a2f13c033dab4cecb2f3e43c92cf99c into PR head commit 1447ef43d67bfc4923f05c4e4cda78243242bf94 20:11:34 Merge succeeded, producing 1447ef43d67bfc4923f05c4e4cda78243242bf94 20:11:34 Checking out Revision 1447ef43d67bfc4923f05c4e4cda78243242bf94 (PR-239) 20:11:34 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 20:11:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:11:34 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 20:11:34 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 20:11:34 using GIT_SSH to set credentials SSH Credentials for GitHub 20:11:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/239/head:refs/remotes/origin/PR-239 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:11:34 > git config core.sparsecheckout # timeout=10 20:11:34 > git checkout -f 1447ef43d67bfc4923f05c4e4cda78243242bf94 # timeout=10 20:11:34 > git remote # timeout=10 20:11:34 > git config --get remote.origin.url # timeout=10 20:11:34 using GIT_SSH to set credentials SSH Credentials for GitHub 20:11:34 > git merge 3691df947a2f13c033dab4cecb2f3e43c92cf99c # timeout=10 20:11:34 > git rev-parse HEAD^{commit} # timeout=10 20:11:34 > git config core.sparsecheckout # timeout=10 20:11:34 > git checkout -f 1447ef43d67bfc4923f05c4e4cda78243242bf94 # timeout=10 20:11:38 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 20:11:38 > git --version # timeout=10 20:11:38 > git --version # 'git version 2.24.3' 20:11:38 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:11:39 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:11:40 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:11:40 + sudo service docker restart 20:11:40 + true 20:11:40 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:11:41 provisioning config files... 20:11:41 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config7527278887998215560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:11:42 ---> docker-login.sh 20:11:42 nexus3.edgexfoundry.org:10001 20:11:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:42 Configure a credential helper to remove this warning. See 20:11:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:42 20:11:42 Login Succeeded 20:11:42 nexus3.edgexfoundry.org:10002 20:11:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:42 Configure a credential helper to remove this warning. See 20:11:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:42 20:11:42 Login Succeeded 20:11:42 nexus3.edgexfoundry.org:10003 20:11:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:43 Configure a credential helper to remove this warning. See 20:11:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:43 20:11:43 Login Succeeded 20:11:43 nexus3.edgexfoundry.org:10004 20:11:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:43 Configure a credential helper to remove this warning. See 20:11:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:43 20:11:43 Login Succeeded 20:11:43 docker.io 20:11:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:43 Configure a credential helper to remove this warning. See 20:11:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:43 20:11:43 Login Succeeded 20:11:43 ---> docker-login.sh ends [Pipeline] } 20:11:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:11:44 ========================================================= 20:11:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 20:11:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:11:44 + 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 . 20:11:44 Sending build context to Docker daemon 558.1kB 20:11:44 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 20:11:44 Step 2/8 : FROM ${BASE} 20:11:44 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 20:11:44 540db60ca938: Pulling fs layer 20:11:44 adcc1eea9eea: Pulling fs layer 20:11:44 4c4ab2625f07: Pulling fs layer 20:11:44 0510c868ecb4: Pulling fs layer 20:11:44 afea3b2eda06: Pulling fs layer 20:11:44 7809a108b3ef: Pulling fs layer 20:11:44 f706445af74f: Pulling fs layer 20:11:44 afea3b2eda06: Waiting 20:11:44 7809a108b3ef: Waiting 20:11:44 f706445af74f: Waiting 20:11:44 0510c868ecb4: Waiting 20:11:44 4c4ab2625f07: Verifying Checksum 20:11:44 4c4ab2625f07: Download complete 20:11:44 adcc1eea9eea: Download complete 20:11:44 540db60ca938: Verifying Checksum 20:11:44 540db60ca938: Download complete 20:11:44 afea3b2eda06: Verifying Checksum 20:11:44 afea3b2eda06: Download complete 20:11:44 7809a108b3ef: Verifying Checksum 20:11:44 7809a108b3ef: Download complete 20:11:44 540db60ca938: Pull complete 20:11:45 adcc1eea9eea: Pull complete 20:11:45 4c4ab2625f07: Pull complete 20:11:46 f706445af74f: Verifying Checksum 20:11:46 f706445af74f: Download complete 20:11:47 0510c868ecb4: Verifying Checksum 20:11:47 0510c868ecb4: Download complete 20:11:53 0510c868ecb4: Pull complete 20:11:53 afea3b2eda06: Pull complete 20:11:53 7809a108b3ef: Pull complete 20:11:58 f706445af74f: Pull complete 20:11:58 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 20:11:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:11:58 ---> b068be0155e3 20:11:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 20:11:58 ---> Running in c76de5da3101 20:11:58 Removing intermediate container c76de5da3101 20:11:58 ---> e0f2660ae299 20:11:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:11:58 ---> Running in 8a39c640e103 20:12:00 Removing intermediate container 8a39c640e103 20:12:00 ---> b78811cdd263 20:12:00 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:12:00 ---> Running in 887099e60207 20:12:00 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:12:01 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:12:02 (1/13) Installing libc-dev (0.7.2-r3) 20:12:02 (2/13) Installing libsodium (1.0.18-r0) 20:12:02 (3/13) Installing pkgconf (1.7.3-r0) 20:12:02 (4/13) Installing libsodium-dev (1.0.18-r0) 20:12:02 (5/13) Installing openssh-keygen (8.4_p1-r3) 20:12:02 (6/13) Installing libedit (20191231.3.1-r1) 20:12:02 (7/13) Installing openssh-client (8.4_p1-r3) 20:12:02 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 20:12:02 (9/13) Installing openssh-server-common (8.4_p1-r3) 20:12:02 (10/13) Installing openssh-server (8.4_p1-r3) 20:12:03 (11/13) Installing openssh (8.4_p1-r3) 20:12:03 (12/13) Installing libzmq (4.3.3-r1) 20:12:03 (13/13) Installing zeromq-dev (4.3.3-r1) 20:12:04 Executing busybox-1.32.1-r6.trigger 20:12:04 OK: 156 MiB in 53 packages 20:12:04 Removing intermediate container 887099e60207 20:12:04 ---> e12de04cf11b 20:12:04 Step 6/8 : WORKDIR /device-mqtt-go 20:12:04 ---> Running in 7d8ba0089d4a 20:12:04 Removing intermediate container 7d8ba0089d4a 20:12:04 ---> f1d8f6883bc9 20:12:04 Step 7/8 : COPY . . 20:12:05 ---> 3bb18a45e68d 20:12:05 Step 8/8 : RUN go mod download 20:12:05 ---> Running in 42ef3d522605 20:12:21 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4824 in /w/workspace/gexfoundry_device-mqtt-go_PR-239 [Pipeline] { [Pipeline] ws 20:12:21 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 20:12:27 using credential edgex-jenkins-ssh 20:12:27 Cloning the remote Git repository 20:12:27 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 20:12:28 > git init /w/workspace/device-mqtt-go/1 # timeout=10 20:12:28 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 20:12:28 > git --version # timeout=10 20:12:28 > git --version # 'git version 2.17.1' 20:12:28 using GIT_SSH to set credentials SSH Credentials for GitHub 20:12:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:12:29 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 20:12:30 Merging remotes/origin/master commit 3691df947a2f13c033dab4cecb2f3e43c92cf99c into PR head commit 1447ef43d67bfc4923f05c4e4cda78243242bf94 20:12:30 Merge succeeded, producing 1447ef43d67bfc4923f05c4e4cda78243242bf94 20:12:30 Checking out Revision 1447ef43d67bfc4923f05c4e4cda78243242bf94 (PR-239) 20:12:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:12:29 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 20:12:29 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 20:12:29 using GIT_SSH to set credentials SSH Credentials for GitHub 20:12:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/239/head:refs/remotes/origin/PR-239 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:12:30 > git config core.sparsecheckout # timeout=10 20:12:30 > git checkout -f 1447ef43d67bfc4923f05c4e4cda78243242bf94 # timeout=10 20:12:30 > git remote # timeout=10 20:12:30 > git config --get remote.origin.url # timeout=10 20:12:30 using GIT_SSH to set credentials SSH Credentials for GitHub 20:12:30 > git merge 3691df947a2f13c033dab4cecb2f3e43c92cf99c # timeout=10 20:12:30 > git rev-parse HEAD^{commit} # timeout=10 20:12:30 > git config core.sparsecheckout # timeout=10 20:12:30 > git checkout -f 1447ef43d67bfc4923f05c4e4cda78243242bf94 # timeout=10 20:12:32 Removing intermediate container 42ef3d522605 20:12:32 ---> a03fdb2ff4a7 20:12:32 Successfully built a03fdb2ff4a7 20:12:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:12:33 + docker inspect -f . ci-base-image-x86_64 20:12:33 . [Pipeline] withDockerContainer 20:12:33 prd-centos7-docker-4c-2g-4827 does not seem to be running inside a container 20:12:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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-x86_64 cat 20:12:34 $ docker top d22916e273d742876a0fcbc549bb6aa99715ba01af58d3fa6e2dcec6ff614964 -eo pid,comm [Pipeline] { [Pipeline] sh 20:12:34 + go version 20:12:34 go version go1.16.3 linux/amd64 [Pipeline] } 20:12:34 $ docker stop --time=1 d22916e273d742876a0fcbc549bb6aa99715ba01af58d3fa6e2dcec6ff614964 20:12:34 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 20:12:34 > git --version # timeout=10 20:12:34 > git --version # 'git version 2.17.1' 20:12:35 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 20:12:35 $ docker rm -f d22916e273d742876a0fcbc549bb6aa99715ba01af58d3fa6e2dcec6ff614964 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 20:12:36 + docker inspect -f . ci-base-image-x86_64 20:12:36 . [Pipeline] withDockerContainer 20:12:37 prd-centos7-docker-4c-2g-4827 does not seem to be running inside a container 20:12:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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-x86_64 cat 20:12:37 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 20:12:38 $ docker top 8745e609734dd9879db3806e9f43e99d4f5bf3fa5b1e3bc9cd5f4be54eb29576 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 20:12:39 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:12:39 + go mod tidy 20:12:39 + sudo service docker restart 20:12:39 + true [Pipeline] sh 20:12:40 + make test 20:12:40 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:12:41 provisioning config files... 20:12:41 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8171062303078498512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:12:41 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:12:42 ---> docker-login.sh 20:12:42 nexus3.edgexfoundry.org:10001 20:12:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:43 Configure a credential helper to remove this warning. See 20:12:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:43 20:12:43 Login Succeeded 20:12:43 nexus3.edgexfoundry.org:10002 20:12:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:44 Configure a credential helper to remove this warning. See 20:12:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:44 20:12:44 Login Succeeded 20:12:44 nexus3.edgexfoundry.org:10003 20:12:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:44 Configure a credential helper to remove this warning. See 20:12:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:44 20:12:44 Login Succeeded 20:12:44 nexus3.edgexfoundry.org:10004 20:12:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:45 Configure a credential helper to remove this warning. See 20:12:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:45 20:12:45 Login Succeeded 20:12:45 docker.io 20:12:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:46 Configure a credential helper to remove this warning. See 20:12:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:46 20:12:46 Login Succeeded 20:12:46 ---> docker-login.sh ends [Pipeline] } 20:12:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:12:46 ========================================================= 20:12:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 20:12:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:12:47 + 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 . 20:12:47 Sending build context to Docker daemon 557.1kB 20:12:47 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 20:12:47 Step 2/8 : FROM ${BASE} 20:12:47 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:12:47 595b0fe564bb: Pulling fs layer 20:12:47 7186ed65a4f7: Pulling fs layer 20:12:47 316046926c0a: Pulling fs layer 20:12:47 4ebd0625c992: Pulling fs layer 20:12:47 207e8628e3a3: Pulling fs layer 20:12:47 c791037a9be2: Pulling fs layer 20:12:47 ffd874e62e21: Pulling fs layer 20:12:47 207e8628e3a3: Waiting 20:12:47 4ebd0625c992: Waiting 20:12:47 c791037a9be2: Waiting 20:12:47 ffd874e62e21: Waiting 20:12:47 316046926c0a: Verifying Checksum 20:12:47 316046926c0a: Download complete 20:12:47 7186ed65a4f7: Download complete 20:12:47 207e8628e3a3: Download complete 20:12:47 c791037a9be2: Verifying Checksum 20:12:47 c791037a9be2: Download complete 20:12:48 595b0fe564bb: Verifying Checksum 20:12:48 595b0fe564bb: Download complete 20:12:48 595b0fe564bb: Pull complete 20:12:49 7186ed65a4f7: Pull complete 20:12:49 316046926c0a: Pull complete 20:12:51 ffd874e62e21: Verifying Checksum 20:12:51 ffd874e62e21: Download complete 20:12:53 4ebd0625c992: Verifying Checksum 20:12:53 4ebd0625c992: Download complete 20:12:54 # github.com/edgexfoundry/device-sdk-go/v2/internal/application 20:12:54 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.45/internal/application/command.go:131:17: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 20:12:54 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.45/internal/application/command.go:191:22: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 20:12:54 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.45/internal/application/command.go:259:21: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 20:12:54 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.45/internal/application/command.go:375:22: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 20:12:59 FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] 20:12:59 make: *** [Makefile:26: test] Error 2 [Pipeline] } 20:12:59 $ docker stop --time=1 8745e609734dd9879db3806e9f43e99d4f5bf3fa5b1e3bc9cd5f4be54eb29576 20:13:01 $ docker rm -f 8745e609734dd9879db3806e9f43e99d4f5bf3fa5b1e3bc9cd5f4be54eb29576 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 20:13:02 ---> job-cost.sh 20:13:02 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-V3Hx 20:13:03 4ebd0625c992: Pull complete 20:13:03 207e8628e3a3: Pull complete 20:13:03 c791037a9be2: Pull complete 20:13:07 ffd874e62e21: Pull complete 20:13:07 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 20:13:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:13:07 ---> cfc18b08335c 20:13:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 20:13:11 ---> Running in 46691b5bad27 20:13:11 Removing intermediate container 46691b5bad27 20:13:11 ---> a11d6445a021 20:13:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:13:11 ---> Running in b0590b2b01e4 20:13:14 Removing intermediate container b0590b2b01e4 20:13:14 ---> 1e64b0bec4c2 20:13:14 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:13:14 ---> Running in b1f30ea9c63f 20:13:15 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:13:16 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:13:17 (1/13) Installing libc-dev (0.7.2-r3) 20:13:17 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:13:17 (2/13) Installing libsodium (1.0.18-r0) 20:13:17 (3/13) Installing pkgconf (1.7.3-r0) 20:13:18 (4/13) Installing libsodium-dev (1.0.18-r0) 20:13:18 (5/13) Installing openssh-keygen (8.4_p1-r3) 20:13:18 (6/13) Installing libedit (20191231.3.1-r1) 20:13:18 (7/13) Installing openssh-client (8.4_p1-r3) 20:13:18 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 20:13:18 (9/13) Installing openssh-server-common (8.4_p1-r3) 20:13:18 (10/13) Installing openssh-server (8.4_p1-r3) 20:13:19 (11/13) Installing openssh (8.4_p1-r3) 20:13:19 (12/13) Installing libzmq (4.3.3-r1) 20:13:19 (13/13) Installing zeromq-dev (4.3.3-r1) 20:13:19 Executing busybox-1.32.1-r6.trigger 20:13:19 OK: 145 MiB in 53 packages 20:13:21 Removing intermediate container b1f30ea9c63f 20:13:21 ---> a1e0f5986738 20:13:21 Step 6/8 : WORKDIR /device-mqtt-go 20:13:21 ---> Running in 6f084d47cdc6 20:13:22 Removing intermediate container 6f084d47cdc6 20:13:22 ---> 7f9b9bfe2a87 20:13:22 Step 7/8 : COPY . . 20:13:23 ---> d76ae883b036 20:13:23 Step 8/8 : RUN go mod download 20:13:23 ---> Running in a0f64ce4c1be 20:13:44 lf-activate-venv(): INFO: Adding /tmp/venv-V3Hx/bin to PATH 20:13:44 INFO: No Stack... 20:13:44 INFO: Retrieving Pricing Info for: v1-standard-2 20:13:45 INFO: Archiving Costs [Pipeline] sh 20:13:45 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 20:13:45 + cut -d, -f6 [Pipeline] lock 20:13:45 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-239-1-stack-cost] 20:13:45 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-239-1-stack-cost] did not exist. Created. 20:13:45 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-239-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:13:46 + echo total: 0.029999999329447746 [Pipeline] stash 20:13:46 Stashed 1 file(s) [Pipeline] } 20:13:46 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-239-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:13:47 Failed in branch amd64 20:13:55 Removing intermediate container a0f64ce4c1be 20:13:55 ---> 71e767900ebf 20:13:55 Successfully built 71e767900ebf 20:13:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:13:56 + docker inspect -f . ci-base-image-arm64 20:13:56 . [Pipeline] withDockerContainer 20:13:56 prd-ubuntu18.04-docker-arm64-4c-16g-4824 does not seem to be running inside a container 20:13:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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 20:13:58 $ docker top a19c0eea6012053a43d87b0ed0846bc35fdac82d589ced083215dfa29df45fa4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:13:59 + go version 20:13:59 go version go1.16.3 linux/arm64 [Pipeline] } 20:13:59 $ docker stop --time=1 a19c0eea6012053a43d87b0ed0846bc35fdac82d589ced083215dfa29df45fa4 20:14:02 $ docker rm -f a19c0eea6012053a43d87b0ed0846bc35fdac82d589ced083215dfa29df45fa4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:14:03 + docker inspect -f . ci-base-image-arm64 20:14:03 . [Pipeline] withDockerContainer 20:14:03 prd-ubuntu18.04-docker-arm64-4c-16g-4824 does not seem to be running inside a container 20:14:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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 20:14:05 $ docker top b2d84f7cf8c49731c300ea2cbc0ab0bc54c9f5c8b73c6ac704b987ddedf2e700 -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:06 + go mod tidy [Pipeline] sh 20:14:07 + make test 20:14:07 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:14:09 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:14:56 # github.com/edgexfoundry/device-sdk-go/v2/internal/application 20:14:56 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.45/internal/application/command.go:131:17: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 20:14:56 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.45/internal/application/command.go:191:22: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 20:14:56 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.45/internal/application/command.go:259:21: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 20:14:56 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.45/internal/application/command.go:375:22: cannot use dr.Attributes (type map[string]interface {}) as type map[string]string in assignment 20:15:11 FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] 20:15:11 make: *** [Makefile:26: test] Error 2 [Pipeline] } 20:15:12 $ docker stop --time=1 b2d84f7cf8c49731c300ea2cbc0ab0bc54c9f5c8b73c6ac704b987ddedf2e700 20:15:14 $ docker rm -f b2d84f7cf8c49731c300ea2cbc0ab0bc54c9f5c8b73c6ac704b987ddedf2e700 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 20:15:15 ---> job-cost.sh 20:15:15 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-nPtu 20:16:12 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:18:04 lf-activate-venv(): INFO: Adding /tmp/venv-nPtu/bin to PATH 20:18:04 INFO: No Stack... 20:18:04 INFO: Retrieving Pricing Info for: lf-standard-4 20:18:04 INFO: Archiving Costs [Pipeline] sh 20:18:04 + cut -d, -f6 20:18:04 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock 20:18:04 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-239-1-stack-cost] 20:18:04 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-239-1-stack-cost] did not exist. Created. 20:18:04 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-239-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:18:05 /w/workspace/device-mqtt-go/1@tmp/durable-d243bd8c/script.sh: 1: /w/workspace/device-mqtt-go/1@tmp/durable-d243bd8c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:18:05 + echo total: 0.20999999344348907 [Pipeline] stash 20:18:05 Warning: overwriting stash ‘stack-cost’ 20:18:06 Stashed 1 file(s) [Pipeline] } 20:18:06 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-239-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:18:07 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 20:18:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:18:10 ---> package-listing.sh 20:18:10 ++ facter osfamily 20:18:10 ++ tr '[:upper:]' '[:lower:]' 20:18:10 + OS_FAMILY=redhat 20:18:10 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-239 20:18:10 + START_PACKAGES=/tmp/packages_start.txt 20:18:10 + END_PACKAGES=/tmp/packages_end.txt 20:18:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:18:10 + PACKAGES=/tmp/packages_start.txt 20:18:10 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-239 ']' 20:18:10 + PACKAGES=/tmp/packages_end.txt 20:18:10 + case "${OS_FAMILY}" in 20:18:10 + rpm -qa 20:18:10 + sort 20:18:18 + '[' -f /tmp/packages_start.txt ']' 20:18:18 + '[' -f /tmp/packages_end.txt ']' 20:18:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:18:18 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-239 ']' 20:18:18 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-239/archives/ 20:18:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-239/archives/ [Pipeline] echo 20:18:18 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/gexfoundry_device-mqtt-go_PR-239/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:18:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:18:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:18:20 20:18:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:18:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:18:20 alpine: Pulling from edgex-lftools-log-publisher 20:18:20 df20fa9351a1: Pulling fs layer 20:18:20 36b3adc4ff6f: Pulling fs layer 20:18:20 8ad3a11d3b57: Pulling fs layer 20:18:20 46f8f816bc3b: Pulling fs layer 20:18:20 93b61091891f: Pulling fs layer 20:18:20 93b9cdb0e59b: Pulling fs layer 20:18:20 5e14af77c1be: Pulling fs layer 20:18:20 01666e4c0597: Pulling fs layer 20:18:20 aa168da1d23b: Pulling fs layer 20:18:20 93b9cdb0e59b: Waiting 20:18:20 5e14af77c1be: Waiting 20:18:20 01666e4c0597: Waiting 20:18:20 aa168da1d23b: Waiting 20:18:20 46f8f816bc3b: Waiting 20:18:20 93b61091891f: Waiting 20:18:20 df20fa9351a1: Verifying Checksum 20:18:20 df20fa9351a1: Download complete 20:18:20 46f8f816bc3b: Verifying Checksum 20:18:20 46f8f816bc3b: Download complete 20:18:20 36b3adc4ff6f: Download complete 20:18:20 93b9cdb0e59b: Verifying Checksum 20:18:20 93b9cdb0e59b: Download complete 20:18:21 5e14af77c1be: Verifying Checksum 20:18:21 5e14af77c1be: Download complete 20:18:21 01666e4c0597: Verifying Checksum 20:18:21 01666e4c0597: Download complete 20:18:21 93b61091891f: Verifying Checksum 20:18:21 93b61091891f: Download complete 20:18:21 df20fa9351a1: Pull complete 20:18:21 36b3adc4ff6f: Pull complete 20:18:21 8ad3a11d3b57: Verifying Checksum 20:18:21 8ad3a11d3b57: Download complete 20:18:23 8ad3a11d3b57: Pull complete 20:18:23 46f8f816bc3b: Pull complete 20:18:24 93b61091891f: Pull complete 20:18:24 aa168da1d23b: Verifying Checksum 20:18:24 aa168da1d23b: Download complete 20:18:24 93b9cdb0e59b: Pull complete 20:18:25 5e14af77c1be: Pull complete 20:18:25 01666e4c0597: Pull complete 20:18:40 aa168da1d23b: Pull complete 20:18:40 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:18:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:18:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:18:40 prd-centos7-docker-4c-2g-4807 does not seem to be running inside a container 20:18:40 $ 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/gexfoundry_device-mqtt-go_PR-239/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-239 -v /w/workspace/gexfoundry_device-mqtt-go_PR-239:/w/workspace/gexfoundry_device-mqtt-go_PR-239:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-239@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:18:44 $ docker top 3a3427ea5c213fcba6b99a3609447b673b8976a4711ca41f3f6e670238348be7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:46 + touch /tmp/pre-build-complete [Pipeline] sh 20:18:47 + mkdir -p /var/log/sa [Pipeline] sh 20:18:47 + ls /var/log/sa-host 20:18:47 + sadf -c /var/log/sa-host/sa12 20:18:47 file_magic: OK 20:18:47 HZ: Using current value: 100 20:18:47 file_header: OK 20:18:47 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 20:18:47 Statistics: 20:18:47 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:18:47 File successfully converted to sysstat format version 12.2.1 20:18:47 + sadf -c /var/log/sa-host/sa23 20:18:47 file_magic: OK 20:18:47 HZ: Using current value: 100 20:18:47 file_header: OK 20:18:47 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 20:18:47 Statistics: 20:18:47 Hnuu...uuuununununu... 20:18:47 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:18:48 provisioning config files... 20:18:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-239@tmp/config5398426738621545257tmp [Pipeline] { [Pipeline] echo 20:18:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:18:48 ---> create-netrc.sh [Pipeline] } 20:18:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:18:49 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:18:49 ---> python-tools-install.sh [Pipeline] echo 20:18:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:18:49 ---> sudo-logs.sh 20:18:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:18:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:18:51 ---> job-cost.sh 20:18:51 lf-activate-venv: SKIPPING 20:18:51 DEBUG: total: 0.20999999344348907 20:18:51 INFO: Retrieving Stack Cost... 20:18:52 INFO: Retrieving Pricing Info for: v1-standard-2 20:18:53 INFO: Archiving Costs [Pipeline] echo 20:18:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:18:53 ---> logs-deploy.sh 20:18:53 lf-activate-venv: SKIPPING 20:18:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-239/1 20:18:53 INFO: archiving workspace using pattern(s): 20:18:56 Archives upload complete. 20:18:57 INFO: archiving logs to Nexus