Pull request #234 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6367d9b003304f7475ae35f5f7f62b72b2495269+e697b4492d61b291e25afe90594ef703f17e91d3 (e7d340bfb68961c914221ffa7514671d815cbbf0) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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-234/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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-234/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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: docker-device-mqtt-go 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3949 in /w/workspace/gexfoundry_device-mqtt-go_PR-234 [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-234 # 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 Merging remotes/origin/master commit e697b4492d61b291e25afe90594ef703f17e91d3 into PR head commit 6367d9b003304f7475ae35f5f7f62b72b2495269 Merge succeeded, producing 6367d9b003304f7475ae35f5f7f62b72b2495269 Checking out Revision 6367d9b003304f7475ae35f5f7f62b72b2495269 (PR-234) > 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/234/head:refs/remotes/origin/PR-234 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6367d9b003304f7475ae35f5f7f62b72b2495269 # 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 e697b4492d61b291e25afe90594ef703f17e91d3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6367d9b003304f7475ae35f5f7f62b72b2495269 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:50:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:50:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:50:49 ========================================================= 05:50:49 EdgeX Global Pipelines Version Info 05:50:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:50:51 ------------------- 05:50:51 stable info: 05:50:51 ------------------- 05:50:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:50:51 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 05:50:51 Message: update stable to v1.0.191 05:50:53 ------------------- 05:50:53 experimental info: 05:50:53 ------------------- 05:50:53 Commited By: **** collab-it+edgex@linuxfoundation.org 05:50:53 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 05:50:53 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:50:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 05:50:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 05:50:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:50:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:50:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:50:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:50:54 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:50:54 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 05:50:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:50:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:50:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:50:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo 05:50:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:50:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:50:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:50:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:50:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:50:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:50:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:50:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-234 [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-234 [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-234 [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6367d9b003304f7475ae35f5f7f62b72b2495269 [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6367d9b [Pipeline] echo 05:50:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:50:55 provisioning config files... 05:50:55 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-234@tmp/config6635263862700346212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:50:56 ---> docker-login.sh 05:50:56 nexus3.edgexfoundry.org:10001 05:50:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:56 Configure a credential helper to remove this warning. See 05:50:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:56 05:50:56 Login Succeeded 05:50:56 nexus3.edgexfoundry.org:10002 05:50:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:56 Configure a credential helper to remove this warning. See 05:50:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:56 05:50:56 Login Succeeded 05:50:56 nexus3.edgexfoundry.org:10003 05:50:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:57 Configure a credential helper to remove this warning. See 05:50:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:57 05:50:57 Login Succeeded 05:50:57 nexus3.edgexfoundry.org:10004 05:50:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:57 Configure a credential helper to remove this warning. See 05:50:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:57 05:50:57 Login Succeeded 05:50:57 docker.io 05:50:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:58 Configure a credential helper to remove this warning. See 05:50:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:58 05:50:58 Login Succeeded 05:50:58 ---> docker-login.sh ends [Pipeline] } 05:50:58 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:58 + git log --format=format:%s -1 6367d9b003304f7475ae35f5f7f62b72b2495269 [Pipeline] echo 05:50:58 GIT_COMMIT: 6367d9b003304f7475ae35f5f7f62b72b2495269, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 05:50:58 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:50:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:50:59 05:50:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:50:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:50:59 latest: Pulling from edgex-devops/git-semver 05:50:59 31603596830f: Pulling fs layer 05:50:59 54011a49482f: Pulling fs layer 05:50:59 a6820b24f6d8: Pulling fs layer 05:50:59 f581987b2513: Pulling fs layer 05:50:59 f581987b2513: Waiting 05:50:59 54011a49482f: Verifying Checksum 05:50:59 54011a49482f: Download complete 05:51:00 31603596830f: Download complete 05:51:00 f581987b2513: Verifying Checksum 05:51:00 f581987b2513: Download complete 05:51:00 a6820b24f6d8: Verifying Checksum 05:51:00 a6820b24f6d8: Download complete 05:51:00 31603596830f: Pull complete 05:51:00 54011a49482f: Pull complete 05:51:01 a6820b24f6d8: Pull complete 05:51:01 f581987b2513: Pull complete 05:51:01 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 05:51:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:51:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:51:02 prd-centos7-docker-4c-2g-3949 does not seem to be running inside a container 05:51:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-234 -v /w/workspace/gexfoundry_device-mqtt-go_PR-234:/w/workspace/gexfoundry_device-mqtt-go_PR-234:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-234@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-234@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:51:04 $ docker top fc95faa779a04e10bd94330fae5a61cc6f1a42e08e971306cd848a1987d56af8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:51:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:51:04 [ssh-agent] Looking for ssh-agent implementation... 05:51:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:51:04 $ docker exec fc95faa779a04e10bd94330fae5a61cc6f1a42e08e971306cd848a1987d56af8 ssh-agent 05:51:05 SSH_AUTH_SOCK=/tmp/ssh-uh0N7Fnnihku/agent.12 05:51:05 SSH_AGENT_PID=17 05:51:05 Running ssh-add (command line suppressed) 05:51:05 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-234@tmp/private_key_5145413675970778620.key (/w/workspace/gexfoundry_device-mqtt-go_PR-234@tmp/private_key_5145413675970778620.key) 05:51:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:51:05 + git tag --points-at HEAD [Pipeline] } 05:51:05 $ docker exec --env ******** --env ******** fc95faa779a04e10bd94330fae5a61cc6f1a42e08e971306cd848a1987d56af8 ssh-agent -k 05:51:05 unset SSH_AUTH_SOCK; 05:51:05 unset SSH_AGENT_PID; 05:51:05 echo Agent pid 17 killed; 05:51:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:51:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:51:05 [ssh-agent] Looking for ssh-agent implementation... 05:51:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:51:06 $ docker exec fc95faa779a04e10bd94330fae5a61cc6f1a42e08e971306cd848a1987d56af8 ssh-agent 05:51:06 SSH_AUTH_SOCK=/tmp/ssh-omHY60MT2Tvs/agent.47 05:51:06 SSH_AGENT_PID=52 05:51:06 Running ssh-add (command line suppressed) 05:51:06 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-234@tmp/private_key_2305239511791508916.key (/w/workspace/gexfoundry_device-mqtt-go_PR-234@tmp/private_key_2305239511791508916.key) 05:51:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:51:06 + git semver init 05:51:06 # -> Open(): unable to determine branch for HEAD 05:51:06 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-234/.git 05:51:06 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-234 05:51:06 # $SEMVER_REMOTE_NAME = origin 05:51:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:51:06 # $SEMVER_USER_NAME = edgex-jenkins 05:51:06 # $SEMVER_BRANCH = PR-234 05:51:06 # $SEMVER_TEMP = /tmp/semver-242175510 05:51:06 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 05:51:07 # '/tmp/semver-242175510' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-234/.semver' 05:51:07 # -> Force: false 05:51:07 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-234/.semver [Pipeline] } 05:51:07 $ docker exec --env ******** --env ******** fc95faa779a04e10bd94330fae5a61cc6f1a42e08e971306cd848a1987d56af8 ssh-agent -k 05:51:07 unset SSH_AUTH_SOCK; 05:51:07 unset SSH_AGENT_PID; 05:51:07 echo Agent pid 52 killed; 05:51:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:51:08 + git semver [Pipeline] } 05:51:08 $ docker stop --time=1 fc95faa779a04e10bd94330fae5a61cc6f1a42e08e971306cd848a1987d56af8 05:51:09 $ docker rm -f fc95faa779a04e10bd94330fae5a61cc6f1a42e08e971306cd848a1987d56af8 [Pipeline] // withDockerContainer [Pipeline] sh 05:51:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:51:10 Stashed 1 file(s) [Pipeline] echo 05:51:10 [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:51:25 Still waiting to schedule task 05:51:25 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:51:25 Still waiting to schedule task 05:51:25 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:52:51 Running on prd-centos7-docker-4c-2g-3956 in /w/workspace/gexfoundry_device-mqtt-go_PR-234 [Pipeline] { [Pipeline] ws 05:52:51 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 05:52:54 using credential edgex-jenkins-ssh 05:52:54 Cloning the remote Git repository 05:52:54 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 05:52:54 > git init /w/workspace/device-mqtt-go/1 # timeout=10 05:52:54 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 05:52:54 > git --version # timeout=10 05:52:54 > git --version # 'git version 2.24.3' 05:52:54 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:52:55 Merging remotes/origin/master commit e697b4492d61b291e25afe90594ef703f17e91d3 into PR head commit 6367d9b003304f7475ae35f5f7f62b72b2495269 05:52:55 Merge succeeded, producing 6367d9b003304f7475ae35f5f7f62b72b2495269 05:52:55 Checking out Revision 6367d9b003304f7475ae35f5f7f62b72b2495269 (PR-234) 05:52:54 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 05:52:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:52:54 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 05:52:54 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 05:52:54 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/234/head:refs/remotes/origin/PR-234 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:52:55 > git config core.sparsecheckout # timeout=10 05:52:55 > git checkout -f 6367d9b003304f7475ae35f5f7f62b72b2495269 # timeout=10 05:52:55 > git remote # timeout=10 05:52:55 > git config --get remote.origin.url # timeout=10 05:52:55 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:55 > git merge e697b4492d61b291e25afe90594ef703f17e91d3 # timeout=10 05:52:55 > git rev-parse HEAD^{commit} # timeout=10 05:52:55 > git config core.sparsecheckout # timeout=10 05:52:55 > git checkout -f 6367d9b003304f7475ae35f5f7f62b72b2495269 # timeout=10 05:52:59 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 05:52:59 > git --version # timeout=10 05:52:59 > git --version # 'git version 2.24.3' 05:52:59 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:53:00 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:53:00 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:53:01 + sudo service docker restart 05:53:01 + true 05:53:01 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:53:02 provisioning config files... 05:53:02 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config580931120550429238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:03 ---> docker-login.sh 05:53:03 nexus3.edgexfoundry.org:10001 05:53:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:03 Configure a credential helper to remove this warning. See 05:53:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:03 05:53:03 Login Succeeded 05:53:03 nexus3.edgexfoundry.org:10002 05:53:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:03 Configure a credential helper to remove this warning. See 05:53:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:03 05:53:03 Login Succeeded 05:53:03 nexus3.edgexfoundry.org:10003 05:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:04 Configure a credential helper to remove this warning. See 05:53:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:04 05:53:04 Login Succeeded 05:53:04 nexus3.edgexfoundry.org:10004 05:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:04 Configure a credential helper to remove this warning. See 05:53:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:04 05:53:04 Login Succeeded 05:53:04 docker.io 05:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:04 Configure a credential helper to remove this warning. See 05:53:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:04 05:53:04 Login Succeeded 05:53:04 ---> docker-login.sh ends [Pipeline] } 05:53:04 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:53:05 ========================================================= 05:53:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:53:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:53:05 + 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:53:05 Sending build context to Docker daemon 557.6kB 05:53:05 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:53:05 Step 2/8 : FROM ${BASE} 05:53:05 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:53:05 540db60ca938: Pulling fs layer 05:53:05 adcc1eea9eea: Pulling fs layer 05:53:05 4c4ab2625f07: Pulling fs layer 05:53:05 0510c868ecb4: Pulling fs layer 05:53:05 afea3b2eda06: Pulling fs layer 05:53:05 7809a108b3ef: Pulling fs layer 05:53:05 f706445af74f: Pulling fs layer 05:53:05 afea3b2eda06: Waiting 05:53:05 7809a108b3ef: Waiting 05:53:05 f706445af74f: Waiting 05:53:05 0510c868ecb4: Waiting 05:53:05 4c4ab2625f07: Verifying Checksum 05:53:05 4c4ab2625f07: Download complete 05:53:05 adcc1eea9eea: Verifying Checksum 05:53:05 adcc1eea9eea: Download complete 05:53:05 afea3b2eda06: Verifying Checksum 05:53:05 afea3b2eda06: Download complete 05:53:05 7809a108b3ef: Download complete 05:53:05 540db60ca938: Download complete 05:53:05 540db60ca938: Pull complete 05:53:06 adcc1eea9eea: Pull complete 05:53:06 4c4ab2625f07: Pull complete 05:53:07 f706445af74f: Verifying Checksum 05:53:07 f706445af74f: Download complete 05:53:08 0510c868ecb4: Download complete 05:53:15 0510c868ecb4: Pull complete 05:53:15 afea3b2eda06: Pull complete 05:53:15 7809a108b3ef: Pull complete 05:53:19 f706445af74f: Pull complete 05:53:19 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 05:53:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:53:19 ---> b068be0155e3 05:53:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 05:53:19 ---> Running in 619db1fe8e46 05:53:20 Removing intermediate container 619db1fe8e46 05:53:20 ---> 9adf44bfcf89 05:53:20 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:53:20 ---> Running in cf8d109daa46 05:53:21 Removing intermediate container cf8d109daa46 05:53:21 ---> 1255caebb97e 05:53:21 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:53:21 ---> Running in 9b6c5d147326 05:53:22 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:53:24 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:53:26 (1/13) Installing libc-dev (0.7.2-r3) 05:53:26 (2/13) Installing libsodium (1.0.18-r0) 05:53:27 (3/13) Installing pkgconf (1.7.3-r0) 05:53:27 (4/13) Installing libsodium-dev (1.0.18-r0) 05:53:27 (5/13) Installing openssh-keygen (8.4_p1-r3) 05:53:28 (6/13) Installing libedit (20191231.3.1-r1) 05:53:28 (7/13) Installing openssh-client (8.4_p1-r3) 05:53:28 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 05:53:29 (9/13) Installing openssh-server-common (8.4_p1-r3) 05:53:29 (10/13) Installing openssh-server (8.4_p1-r3) 05:53:29 (11/13) Installing openssh (8.4_p1-r3) 05:53:29 (12/13) Installing libzmq (4.3.3-r1) 05:53:30 (13/13) Installing zeromq-dev (4.3.3-r1) 05:53:30 Executing busybox-1.32.1-r6.trigger 05:53:30 OK: 156 MiB in 53 packages 05:53:31 Removing intermediate container 9b6c5d147326 05:53:31 ---> d873b8805ee2 05:53:31 Step 6/8 : WORKDIR /device-mqtt-go 05:53:31 ---> Running in 5c27b4685617 05:53:31 Removing intermediate container 5c27b4685617 05:53:31 ---> 23529661b58e 05:53:31 Step 7/8 : COPY . . 05:53:32 ---> 755b427d615d 05:53:32 Step 8/8 : RUN go mod download 05:53:32 ---> Running in 796c0619a397 05:53:59 Removing intermediate container 796c0619a397 05:53:59 ---> 1b13e79c07f6 05:53:59 Successfully built 1b13e79c07f6 05:53:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:53:59 + docker inspect -f . ci-base-image-x86_64 05:53:59 . [Pipeline] withDockerContainer 05:53:59 prd-centos7-docker-4c-2g-3956 does not seem to be running inside a container 05:54:00 $ 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 05:54:00 $ docker top 0eaded0806dd150f66a10b7ca649332fdb412affddcb87fbc17450725f0660fb -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:01 + go version 05:54:01 go version go1.16.3 linux/amd64 [Pipeline] } 05:54:01 $ docker stop --time=1 0eaded0806dd150f66a10b7ca649332fdb412affddcb87fbc17450725f0660fb 05:54:02 $ docker rm -f 0eaded0806dd150f66a10b7ca649332fdb412affddcb87fbc17450725f0660fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:54:03 + docker inspect -f . ci-base-image-x86_64 05:54:03 . [Pipeline] withDockerContainer 05:54:03 prd-centos7-docker-4c-2g-3956 does not seem to be running inside a container 05:54: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-x86_64 cat 05:54:04 $ docker top 20597f5aea762b1d158a1280d86fc986bbaafbf4f4adf968a3159c73e6d5abfa -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:05 + go mod tidy [Pipeline] sh 05:54:06 + make test 05:54:06 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:54:07 ? github.com/edgexfoundry/device-mqtt-go [no test files] 05:54:20 # github.com/edgexfoundry/device-sdk-go/v2/internal/application 05:54:20 /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 05:54:20 /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 05:54:20 /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 05:54:20 /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 05:54:25 FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] 05:54:25 make: *** [Makefile:26: test] Error 2 [Pipeline] } 05:54:25 $ docker stop --time=1 20597f5aea762b1d158a1280d86fc986bbaafbf4f4adf968a3159c73e6d5abfa 05:54:27 $ docker rm -f 20597f5aea762b1d158a1280d86fc986bbaafbf4f4adf968a3159c73e6d5abfa [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 05:54:28 ---> job-cost.sh 05:54:28 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6xBL 05:54:43 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:54:43 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3958 in /w/workspace/gexfoundry_device-mqtt-go_PR-234 [Pipeline] { [Pipeline] ws 05:54:43 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 05:54:49 using credential edgex-jenkins-ssh 05:54:49 Cloning the remote Git repository 05:54:49 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 05:54:49 > git init /w/workspace/device-mqtt-go/1 # timeout=10 05:54:49 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 05:54:49 > git --version # timeout=10 05:54:49 > git --version # 'git version 2.17.1' 05:54:49 using GIT_SSH to set credentials SSH Credentials for GitHub 05:54:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:54:51 Merging remotes/origin/master commit e697b4492d61b291e25afe90594ef703f17e91d3 into PR head commit 6367d9b003304f7475ae35f5f7f62b72b2495269 05:54:51 Merge succeeded, producing 6367d9b003304f7475ae35f5f7f62b72b2495269 05:54:51 Checking out Revision 6367d9b003304f7475ae35f5f7f62b72b2495269 (PR-234) 05:54:50 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 05:54:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:54:50 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 05:54:50 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 05:54:50 using GIT_SSH to set credentials SSH Credentials for GitHub 05:54:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/234/head:refs/remotes/origin/PR-234 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:54:51 > git config core.sparsecheckout # timeout=10 05:54:51 > git checkout -f 6367d9b003304f7475ae35f5f7f62b72b2495269 # timeout=10 05:54:51 > git remote # timeout=10 05:54:51 > git config --get remote.origin.url # timeout=10 05:54:51 using GIT_SSH to set credentials SSH Credentials for GitHub 05:54:51 > git merge e697b4492d61b291e25afe90594ef703f17e91d3 # timeout=10 05:54:51 > git rev-parse HEAD^{commit} # timeout=10 05:54:51 > git config core.sparsecheckout # timeout=10 05:54:51 > git checkout -f 6367d9b003304f7475ae35f5f7f62b72b2495269 # timeout=10 05:54:55 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 05:54:55 > git --version # timeout=10 05:54:55 > git --version # 'git version 2.17.1' 05:54:55 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd 05:54:55 05:54:55 GitHub has been notified of this commit’s build result 05:54:55 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:54:57 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:54:57 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:54:58 + true 05:54:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:55:00 provisioning config files... 05:55:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config7371414312913245018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:55:01 ---> docker-login.sh 05:55:01 nexus3.edgexfoundry.org:10001 05:55:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:02 Configure a credential helper to remove this warning. See 05:55:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:02 05:55:02 Login Succeeded 05:55:02 nexus3.edgexfoundry.org:10002 05:55:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:03 Configure a credential helper to remove this warning. See 05:55:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:03 05:55:03 Login Succeeded 05:55:03 nexus3.edgexfoundry.org:10003 05:55:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:03 Configure a credential helper to remove this warning. See 05:55:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:03 05:55:03 Login Succeeded 05:55:03 nexus3.edgexfoundry.org:10004 05:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:04 Configure a credential helper to remove this warning. See 05:55:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:04 05:55:04 Login Succeeded 05:55:04 docker.io 05:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:05 Configure a credential helper to remove this warning. See 05:55:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:05 05:55:05 Login Succeeded 05:55:05 ---> docker-login.sh ends [Pipeline] } 05:55:05 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:55:05 ========================================================= 05:55:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:55:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:55:05 + 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:55:06 Sending build context to Docker daemon 556.5kB 05:55:06 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:55:06 Step 2/8 : FROM ${BASE} 05:55:06 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:55:06 595b0fe564bb: Pulling fs layer 05:55:06 7186ed65a4f7: Pulling fs layer 05:55:06 316046926c0a: Pulling fs layer 05:55:06 4ebd0625c992: Pulling fs layer 05:55:06 207e8628e3a3: Pulling fs layer 05:55:06 c791037a9be2: Pulling fs layer 05:55:06 ffd874e62e21: Pulling fs layer 05:55:06 4ebd0625c992: Waiting 05:55:06 207e8628e3a3: Waiting 05:55:06 c791037a9be2: Waiting 05:55:06 ffd874e62e21: Waiting 05:55:06 316046926c0a: Download complete 05:55:06 7186ed65a4f7: Verifying Checksum 05:55:06 7186ed65a4f7: Download complete 05:55:06 207e8628e3a3: Download complete 05:55:06 c791037a9be2: Verifying Checksum 05:55:06 c791037a9be2: Download complete 05:55:06 595b0fe564bb: Download complete 05:55:07 595b0fe564bb: Pull complete 05:55:07 7186ed65a4f7: Pull complete 05:55:07 316046926c0a: Pull complete 05:55:08 ffd874e62e21: Verifying Checksum 05:55:08 ffd874e62e21: Download complete 05:55:10 4ebd0625c992: Verifying Checksum 05:55:10 4ebd0625c992: Download complete 05:55:15 lf-activate-venv(): INFO: Adding /tmp/venv-6xBL/bin to PATH 05:55:15 INFO: No Stack... 05:55:15 INFO: Retrieving Pricing Info for: v1-standard-2 05:55:15 INFO: Archiving Costs [Pipeline] sh 05:55:16 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 05:55:16 + cut -d, -f6 [Pipeline] lock 05:55:16 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-234-1-stack-cost] 05:55:16 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-234-1-stack-cost] did not exist. Created. 05:55:16 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-234-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:55:16 + echo total: 0.029999999329447746 [Pipeline] stash 05:55:17 Stashed 1 file(s) [Pipeline] } 05:55:17 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-234-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:55:18 Failed in branch amd64 05:55:20 4ebd0625c992: Pull complete 05:55:20 207e8628e3a3: Pull complete 05:55:20 c791037a9be2: Pull complete 05:55:24 ffd874e62e21: Pull complete 05:55:24 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 05:55:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:55:24 ---> cfc18b08335c 05:55:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 05:55:27 ---> Running in d9bad8be60f0 05:55:28 Removing intermediate container d9bad8be60f0 05:55:28 ---> d99c73e0ab02 05:55:28 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:55:28 ---> Running in da2a979acd0e 05:55:30 Removing intermediate container da2a979acd0e 05:55:30 ---> 3a33d38eb482 05:55:30 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:55:30 ---> Running in f38535108e42 05:55:32 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:55:34 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:55:35 (1/13) Installing libc-dev (0.7.2-r3) 05:55:35 (2/13) Installing libsodium (1.0.18-r0) 05:55:35 (3/13) Installing pkgconf (1.7.3-r0) 05:55:35 (4/13) Installing libsodium-dev (1.0.18-r0) 05:55:35 (5/13) Installing openssh-keygen (8.4_p1-r3) 05:55:35 (6/13) Installing libedit (20191231.3.1-r1) 05:55:36 (7/13) Installing openssh-client (8.4_p1-r3) 05:55:36 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 05:55:37 (9/13) Installing openssh-server-common (8.4_p1-r3) 05:55:37 (10/13) Installing openssh-server (8.4_p1-r3) 05:55:37 (11/13) Installing openssh (8.4_p1-r3) 05:55:37 (12/13) Installing libzmq (4.3.3-r1) 05:55:37 (13/13) Installing zeromq-dev (4.3.3-r1) 05:55:37 Executing busybox-1.32.1-r6.trigger 05:55:37 OK: 145 MiB in 53 packages 05:55:39 Removing intermediate container f38535108e42 05:55:39 ---> 20d5c9066eba 05:55:39 Step 6/8 : WORKDIR /device-mqtt-go 05:55:39 ---> Running in 67b1160aecd0 05:55:40 Removing intermediate container 67b1160aecd0 05:55:40 ---> d7544b5e915d 05:55:40 Step 7/8 : COPY . . 05:55:41 ---> 8045ab3177bd 05:55:41 Step 8/8 : RUN go mod download 05:55:41 ---> Running in f6674383d4fc 05:56:13 Removing intermediate container f6674383d4fc 05:56:13 ---> 7213072dd697 05:56:13 Successfully built 7213072dd697 05:56:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:56:14 + docker inspect -f . ci-base-image-arm64 05:56:14 . [Pipeline] withDockerContainer 05:56:14 prd-ubuntu18.04-docker-arm64-4c-16g-3958 does not seem to be running inside a container 05:56:14 $ 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 ******** -e ******** ci-base-image-arm64 cat 05:56:16 $ docker top 5030b2993e09fec13d254d8ea46a463f2de8095a27eac1b17e289043aba51c88 -eo pid,comm [Pipeline] { [Pipeline] sh 05:56:17 + go version 05:56:17 go version go1.16.3 linux/arm64 [Pipeline] } 05:56:17 $ docker stop --time=1 5030b2993e09fec13d254d8ea46a463f2de8095a27eac1b17e289043aba51c88 05:56:19 $ docker rm -f 5030b2993e09fec13d254d8ea46a463f2de8095a27eac1b17e289043aba51c88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:56:20 + docker inspect -f . ci-base-image-arm64 05:56:20 . [Pipeline] withDockerContainer 05:56:20 prd-ubuntu18.04-docker-arm64-4c-16g-3958 does not seem to be running inside a container 05:56:20 $ 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 ******** -e ******** ci-base-image-arm64 cat 05:56:22 $ docker top 37abb6e2a892d1319c3d1f71f6bc1530069a34229ea22f2c0c5dac4e375abd1e -eo pid,comm [Pipeline] { [Pipeline] sh 05:56:23 + go mod tidy [Pipeline] sh 05:56:25 + make test 05:56:25 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:56:26 ? github.com/edgexfoundry/device-mqtt-go [no test files] 05:57:05 # github.com/edgexfoundry/device-sdk-go/v2/internal/application 05:57:05 /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 05:57:05 /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 05:57:05 /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 05:57:05 /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 05:57:21 FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] 05:57:21 make: *** [Makefile:26: test] Error 2 [Pipeline] } 05:57:21 $ docker stop --time=1 37abb6e2a892d1319c3d1f71f6bc1530069a34229ea22f2c0c5dac4e375abd1e 05:57:24 $ docker rm -f 37abb6e2a892d1319c3d1f71f6bc1530069a34229ea22f2c0c5dac4e375abd1e [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 05:57:25 ---> job-cost.sh 05:57:25 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oUDv 05:58:04 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:59:41 lf-activate-venv(): INFO: Adding /tmp/venv-oUDv/bin to PATH 05:59:41 INFO: No Stack... 05:59:41 INFO: Retrieving Pricing Info for: lf-standard-4 05:59:41 INFO: Archiving Costs [Pipeline] sh 05:59:41 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 05:59:41 + cut -d, -f6 [Pipeline] lock 05:59:42 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-234-1-stack-cost] 05:59:42 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-234-1-stack-cost] did not exist. Created. 05:59:42 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-234-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:59:42 /w/workspace/device-mqtt-go/1@tmp/durable-d1284e89/script.sh: 1: /w/workspace/device-mqtt-go/1@tmp/durable-d1284e89/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:59:42 + echo total: 0.20999999344348907 [Pipeline] stash 05:59:42 Warning: overwriting stash ‘stack-cost’ 05:59:43 Stashed 1 file(s) [Pipeline] } 05:59:43 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-234-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:59:44 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 05:59:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:59:46 ---> package-listing.sh 05:59:46 ++ facter osfamily 05:59:46 ++ tr '[:upper:]' '[:lower:]' 05:59:46 + OS_FAMILY=redhat 05:59:46 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-234 05:59:46 + START_PACKAGES=/tmp/packages_start.txt 05:59:46 + END_PACKAGES=/tmp/packages_end.txt 05:59:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:59:46 + PACKAGES=/tmp/packages_start.txt 05:59:46 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-234 ']' 05:59:46 + PACKAGES=/tmp/packages_end.txt 05:59:46 + case "${OS_FAMILY}" in 05:59:46 + sort 05:59:46 + rpm -qa 05:59:52 + '[' -f /tmp/packages_start.txt ']' 05:59:52 + '[' -f /tmp/packages_end.txt ']' 05:59:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:59:52 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-234 ']' 05:59:52 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-234/archives/ 05:59:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-234/archives/ [Pipeline] echo 05:59:52 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-234/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:59:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:59:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:59:52 05:59:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:59:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:59:53 alpine: Pulling from edgex-lftools-log-publisher 05:59:53 df20fa9351a1: Pulling fs layer 05:59:53 36b3adc4ff6f: Pulling fs layer 05:59:53 8ad3a11d3b57: Pulling fs layer 05:59:53 46f8f816bc3b: Pulling fs layer 05:59:53 93b61091891f: Pulling fs layer 05:59:53 93b9cdb0e59b: Pulling fs layer 05:59:53 5e14af77c1be: Pulling fs layer 05:59:53 01666e4c0597: Pulling fs layer 05:59:53 aa168da1d23b: Pulling fs layer 05:59:53 01666e4c0597: Waiting 05:59:53 aa168da1d23b: Waiting 05:59:53 93b9cdb0e59b: Waiting 05:59:53 5e14af77c1be: Waiting 05:59:53 46f8f816bc3b: Waiting 05:59:53 93b61091891f: Waiting 05:59:53 36b3adc4ff6f: Verifying Checksum 05:59:53 36b3adc4ff6f: Download complete 05:59:53 46f8f816bc3b: Verifying Checksum 05:59:53 46f8f816bc3b: Download complete 05:59:53 df20fa9351a1: Verifying Checksum 05:59:53 df20fa9351a1: Download complete 05:59:53 93b9cdb0e59b: Verifying Checksum 05:59:53 93b9cdb0e59b: Download complete 05:59:53 93b61091891f: Verifying Checksum 05:59:53 93b61091891f: Download complete 05:59:53 5e14af77c1be: Verifying Checksum 05:59:53 5e14af77c1be: Download complete 05:59:53 01666e4c0597: Verifying Checksum 05:59:53 01666e4c0597: Download complete 05:59:53 8ad3a11d3b57: Verifying Checksum 05:59:53 8ad3a11d3b57: Download complete 05:59:53 df20fa9351a1: Pull complete 05:59:54 36b3adc4ff6f: Pull complete 05:59:55 8ad3a11d3b57: Pull complete 05:59:55 46f8f816bc3b: Pull complete 05:59:55 93b61091891f: Pull complete 05:59:55 aa168da1d23b: Verifying Checksum 05:59:55 aa168da1d23b: Download complete 05:59:55 93b9cdb0e59b: Pull complete 05:59:56 5e14af77c1be: Pull complete 05:59:56 01666e4c0597: Pull complete 06:00:04 aa168da1d23b: Pull complete 06:00:04 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:00:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:00:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:00:04 prd-centos7-docker-4c-2g-3949 does not seem to be running inside a container 06:00:04 $ 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-234/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-234 -v /w/workspace/gexfoundry_device-mqtt-go_PR-234:/w/workspace/gexfoundry_device-mqtt-go_PR-234:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-234@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-234@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:00:08 $ docker top a8b37f7eb5c139384d5dfb29031cba406cbc34a6daa9ec9a0e59535f94fadcb5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:08 + touch /tmp/pre-build-complete [Pipeline] sh 06:00:09 + mkdir -p /var/log/sa [Pipeline] sh 06:00:09 + ls /var/log/sa-host 06:00:09 + sadf -c /var/log/sa-host/sa10 06:00:09 file_magic: OK 06:00:09 HZ: Using current value: 100 06:00:09 file_header: OK 06:00:09 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:00:09 Statistics: 06:00:09 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:00:09 File successfully converted to sysstat format version 12.2.1 06:00:09 + sadf -c /var/log/sa-host/sa23 06:00:09 file_magic: OK 06:00:09 HZ: Using current value: 100 06:00:09 file_header: OK 06:00:09 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:00:09 Statistics: 06:00:09 Hnuu...uuuununununu... 06:00:09 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:09 provisioning config files... 06:00:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-234@tmp/config4848672161948466327tmp [Pipeline] { [Pipeline] echo 06:00:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:00:10 ---> create-netrc.sh [Pipeline] } 06:00:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:00:10 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:00:10 ---> python-tools-install.sh [Pipeline] echo 06:00:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:00:10 ---> sudo-logs.sh 06:00:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:00:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:00:11 ---> job-cost.sh 06:00:11 lf-activate-venv: SKIPPING 06:00:11 DEBUG: total: 0.20999999344348907 06:00:11 INFO: Retrieving Stack Cost... 06:00:12 INFO: Retrieving Pricing Info for: v1-standard-2 06:00:13 INFO: Archiving Costs [Pipeline] echo 06:00:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:00:13 ---> logs-deploy.sh 06:00:13 lf-activate-venv: SKIPPING 06:00:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-234/1 06:00:13 INFO: archiving workspace using pattern(s): 06:00:15 Archives upload complete. 06:00:15 INFO: archiving logs to Nexus