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