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