Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 171099155cdb194629e3839231b8c199243184e3 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1251817953714242765.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6088127132877779815.key > 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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7692746021096690934.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd # timeout=10 Commit message: "Merge pull request #338 from ernestojeda/add-latest-tag" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8646930002234123806.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6995845439844206615.key > 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: 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 ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-240 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision 171099155cdb194629e3839231b8c199243184e3 (master) Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-mqtt-go_master@tmp/jenkins-gitclient-ssh5746095664086316618.key > 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 core.sparsecheckout # timeout=10 > git checkout -f 171099155cdb194629e3839231b8c199243184e3 # timeout=10 Commit message: "Merge pull request #262 from weichou1229/issue-250" > git rev-list --no-walk 147aa0195a6f62805938cac909e2925f730968bf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:16:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:16:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:16:33 ========================================================= 05:16:33 EdgeX Global Pipelines Version Info 05:16:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:16:34 ------------------- 05:16:34 stable info: 05:16:34 ------------------- 05:16:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:16:34 Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 05:16:34 Message: update stable to v1.0.193 05:16:35 ------------------- 05:16:35 experimental info: 05:16:35 ------------------- 05:16:35 Commited By: **** collab-it+edgex@linuxfoundation.org 05:16:35 Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 05:16:35 Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 171099155cdb194629e3839231b8c199243184e3 [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1710991 [Pipeline] echo 05:16:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:16:36 provisioning config files... 05:16:36 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config164580957235216159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:16:37 ---> docker-login.sh 05:16:37 nexus3.edgexfoundry.org:10001 05:16:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:38 Configure a credential helper to remove this warning. See 05:16:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:38 05:16:38 Login Succeeded 05:16:38 nexus3.edgexfoundry.org:10002 05:16:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:38 Configure a credential helper to remove this warning. See 05:16:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:38 05:16:38 Login Succeeded 05:16:38 nexus3.edgexfoundry.org:10003 05:16:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:39 Configure a credential helper to remove this warning. See 05:16:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:39 05:16:39 Login Succeeded 05:16:39 nexus3.edgexfoundry.org:10004 05:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:39 Configure a credential helper to remove this warning. See 05:16:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:39 05:16:39 Login Succeeded 05:16:39 docker.io 05:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:39 Configure a credential helper to remove this warning. See 05:16:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:39 05:16:39 Login Succeeded 05:16:39 ---> docker-login.sh ends [Pipeline] } 05:16:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:16:40 + git log --format=format:%s -1 171099155cdb194629e3839231b8c199243184e3 [Pipeline] echo 05:16:40 GIT_COMMIT: 171099155cdb194629e3839231b8c199243184e3, Commit Message: Merge pull request #262 from weichou1229/issue-250 [Pipeline] echo 05:16:40 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:16:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:16:41 05:16:41 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:16:41 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:16:41 latest: Pulling from edgex-devops/git-semver 05:16:41 31603596830f: Pulling fs layer 05:16:41 54011a49482f: Pulling fs layer 05:16:41 a6820b24f6d8: Pulling fs layer 05:16:41 f581987b2513: Pulling fs layer 05:16:41 f581987b2513: Waiting 05:16:41 54011a49482f: Verifying Checksum 05:16:41 54011a49482f: Download complete 05:16:41 31603596830f: Verifying Checksum 05:16:41 31603596830f: Download complete 05:16:41 f581987b2513: Verifying Checksum 05:16:41 f581987b2513: Download complete 05:16:41 a6820b24f6d8: Verifying Checksum 05:16:41 a6820b24f6d8: Download complete 05:16:41 31603596830f: Pull complete 05:16:42 54011a49482f: Pull complete 05:16:42 a6820b24f6d8: Pull complete 05:16:43 f581987b2513: Pull complete 05:16:43 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 05:16:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:16:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:16:43 prd-centos7-docker-4c-2g-240 does not seem to be running inside a container 05:16:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:16:44 $ docker top 78e6a0f72e042496a9a41e629d38b6b1119d02d54908625c623d2e33f4277ef5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:16:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:16:44 [ssh-agent] Looking for ssh-agent implementation... 05:16:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:16:44 $ docker exec 78e6a0f72e042496a9a41e629d38b6b1119d02d54908625c623d2e33f4277ef5 ssh-agent 05:16:44 SSH_AUTH_SOCK=/tmp/ssh-lmrI4IXfRLEe/agent.14 05:16:44 SSH_AGENT_PID=20 05:16:44 Running ssh-add (command line suppressed) 05:16:44 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7994837556598786192.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7994837556598786192.key) 05:16:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:16:45 + git tag --points-at HEAD [Pipeline] } 05:16:45 $ docker exec --env ******** --env ******** 78e6a0f72e042496a9a41e629d38b6b1119d02d54908625c623d2e33f4277ef5 ssh-agent -k 05:16:45 unset SSH_AUTH_SOCK; 05:16:45 unset SSH_AGENT_PID; 05:16:45 echo Agent pid 20 killed; 05:16:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:16:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:16:45 [ssh-agent] Looking for ssh-agent implementation... 05:16:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:16:45 $ docker exec 78e6a0f72e042496a9a41e629d38b6b1119d02d54908625c623d2e33f4277ef5 ssh-agent 05:16:45 SSH_AUTH_SOCK=/tmp/ssh-AvWtdYZd6PEr/agent.54 05:16:45 SSH_AGENT_PID=61 05:16:45 Running ssh-add (command line suppressed) 05:16:45 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8861960021267894133.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8861960021267894133.key) 05:16:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:16:45 + git semver init 05:16:45 # -> Open(): unable to determine branch for HEAD 05:16:45 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 05:16:45 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 05:16:45 # $SEMVER_REMOTE_NAME = origin 05:16:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:16:45 # $SEMVER_USER_NAME = edgex-jenkins 05:16:45 # $SEMVER_BRANCH = master 05:16:45 # $SEMVER_TEMP = /tmp/semver-092468978 05:16:45 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 05:16:46 # '/tmp/semver-092468978' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' 05:16:46 # -> Force: false 05:16:46 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 05:16:46 $ docker exec --env ******** --env ******** 78e6a0f72e042496a9a41e629d38b6b1119d02d54908625c623d2e33f4277ef5 ssh-agent -k 05:16:46 unset SSH_AUTH_SOCK; 05:16:46 unset SSH_AGENT_PID; 05:16:46 echo Agent pid 61 killed; 05:16:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:16:46 + git semver [Pipeline] } 05:16:46 $ docker stop --time=1 78e6a0f72e042496a9a41e629d38b6b1119d02d54908625c623d2e33f4277ef5 05:16:47 $ docker rm -f 78e6a0f72e042496a9a41e629d38b6b1119d02d54908625c623d2e33f4277ef5 [Pipeline] // withDockerContainer [Pipeline] sh 05:16:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:16:48 Stashed 1 file(s) [Pipeline] echo 05:16:48 [edgeXSemver]: initialized semver on version 1.3.2-dev.17 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 05:17:03 Still waiting to schedule task 05:17:03 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:17:03 Still waiting to schedule task 05:17:03 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:18:50 Running on prd-centos7-docker-4c-2g-244 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 05:18:50 Running in /w/workspace/device-mqtt-go/49 [Pipeline] { [Pipeline] checkout 05:18:50 Selected Git installation does not exist. Using Default 05:18:50 The recommended git tool is: NONE 05:18:53 using credential edgex-jenkins-ssh 05:18:53 Cloning the remote Git repository 05:18:53 Avoid second fetch 05:18:53 Checking out Revision 171099155cdb194629e3839231b8c199243184e3 (master) 05:18:52 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 05:18:52 > git init /w/workspace/device-mqtt-go/49 # timeout=10 05:18:52 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 05:18:52 > git --version # timeout=10 05:18:52 > git --version # 'git version 2.24.4' 05:18:52 using GIT_SSH to set credentials SSH Credentials for GitHub 05:18:52 [INFO] Currently running in a labeled security context 05:18:52 [INFO] Currently SELinux is 'enforcing' on the host 05:18:52 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/49@tmp/jenkins-gitclient-ssh1386948597394995238.key 05:18:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:18:53 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 05:18:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:18:53 > git config core.sparsecheckout # timeout=10 05:18:53 > git checkout -f 171099155cdb194629e3839231b8c199243184e3 # timeout=10 05:18:57 Commit message: "Merge pull request #262 from weichou1229/issue-250" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:18:58 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:18:58 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:18:58 + sudo service docker restart 05:18:58 + true 05:18:58 Redirecting to /bin/systemctl restart docker.service 05:19:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-242 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 05:19:01 Running in /w/workspace/device-mqtt-go/49 [Pipeline] { [Pipeline] checkout 05:19:01 Selected Git installation does not exist. Using Default 05:19:01 The recommended git tool is: NONE 05:19:07 using credential edgex-jenkins-ssh 05:19:07 Cloning the remote Git repository 05:19:07 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 05:19:07 > git init /w/workspace/device-mqtt-go/49 # timeout=10 05:19:07 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 05:19:07 > git --version # timeout=10 05:19:07 > git --version # 'git version 2.17.1' 05:19:07 using GIT_SSH to set credentials SSH Credentials for GitHub 05:19:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:19:08 Avoid second fetch 05:19:08 Checking out Revision 171099155cdb194629e3839231b8c199243184e3 (master) 05:19:08 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 05:19:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:19:08 > git config core.sparsecheckout # timeout=10 05:19:08 > git checkout -f 171099155cdb194629e3839231b8c199243184e3 # timeout=10 05:19:12 Commit message: "Merge pull request #262 from weichou1229/issue-250" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:19:13 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:19:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:19:14 + true 05:19:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:19:16 provisioning config files... 05:19:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/49@tmp/config7384180152205604549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:17 ---> docker-login.sh 05:19:17 nexus3.edgexfoundry.org:10001 05:19:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:17 Configure a credential helper to remove this warning. See 05:19:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:17 05:19:17 Login Succeeded 05:19:17 nexus3.edgexfoundry.org:10002 05:19:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:17 Configure a credential helper to remove this warning. See 05:19:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:17 05:19:17 Login Succeeded 05:19:17 nexus3.edgexfoundry.org:10003 05:19:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:17 Configure a credential helper to remove this warning. See 05:19:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:17 05:19:17 Login Succeeded 05:19:17 nexus3.edgexfoundry.org:10004 05:19:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:17 Configure a credential helper to remove this warning. See 05:19:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:17 05:19:17 Login Succeeded 05:19:17 docker.io 05:19:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:18 Configure a credential helper to remove this warning. See 05:19:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:18 05:19:18 Login Succeeded 05:19:18 ---> docker-login.sh ends [Pipeline] } 05:19:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:19:18 ========================================================= 05:19:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:19:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:19:18 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 05:19:18 Sending build context to Docker daemon 580.6kB 05:19:18 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 05:19:18 Step 2/8 : FROM ${BASE} 05:19:18 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:19:18 540db60ca938: Pulling fs layer 05:19:18 adcc1eea9eea: Pulling fs layer 05:19:18 4c4ab2625f07: Pulling fs layer 05:19:18 0510c868ecb4: Pulling fs layer 05:19:18 afea3b2eda06: Pulling fs layer 05:19:18 7809a108b3ef: Pulling fs layer 05:19:18 f706445af74f: Pulling fs layer 05:19:18 0510c868ecb4: Waiting 05:19:18 afea3b2eda06: Waiting 05:19:18 7809a108b3ef: Waiting 05:19:18 f706445af74f: Waiting 05:19:18 4c4ab2625f07: Verifying Checksum 05:19:18 4c4ab2625f07: Download complete 05:19:18 adcc1eea9eea: Verifying Checksum 05:19:18 adcc1eea9eea: Download complete 05:19:19 afea3b2eda06: Verifying Checksum 05:19:19 afea3b2eda06: Download complete 05:19:19 7809a108b3ef: Download complete 05:19:19 540db60ca938: Verifying Checksum 05:19:19 540db60ca938: Download complete 05:19:19 540db60ca938: Pull complete 05:19:19 adcc1eea9eea: Pull complete 05:19:19 4c4ab2625f07: Pull complete 05:19:21 f706445af74f: Verifying Checksum 05:19:21 f706445af74f: Download complete 05:19:21 0510c868ecb4: Verifying Checksum 05:19:21 0510c868ecb4: Download complete 05:19:25 0510c868ecb4: Pull complete 05:19:25 afea3b2eda06: Pull complete 05:19:25 7809a108b3ef: Pull complete 05:19:26 f706445af74f: Pull complete 05:19:26 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 05:19:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:19:26 ---> b068be0155e3 05:19:26 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 05:19:30 ---> Running in 7d31c5664c63 05:19:30 Removing intermediate container 7d31c5664c63 05:19:30 ---> 5430fe33c53a 05:19:30 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:19:30 ---> Running in f472298780a9 05:19:31 Removing intermediate container f472298780a9 05:19:31 ---> 08fe68c99d3c 05:19:31 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:19:31 ---> Running in 9543b8791493 05:19:31 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:19:32 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:19:32 (1/13) Installing libc-dev (0.7.2-r3) 05:19:32 (2/13) Installing libsodium (1.0.18-r0) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:19:33 provisioning config files... 05:19:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/49@tmp/config7382256902521320373tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:33 (3/13) Installing pkgconf (1.7.3-r0) 05:19:33 (4/13) Installing libsodium-dev (1.0.18-r0) 05:19:33 ---> docker-login.sh 05:19:33 nexus3.edgexfoundry.org:10001 05:19:33 (5/13) Installing openssh-keygen (8.4_p1-r3) 05:19:34 (6/13) Installing libedit (20191231.3.1-r1) 05:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:34 Configure a credential helper to remove this warning. See 05:19:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:34 05:19:34 Login Succeeded 05:19:34 nexus3.edgexfoundry.org:10002 05:19:34 (7/13) Installing openssh-client (8.4_p1-r3) 05:19:35 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 05:19:35 (9/13) Installing openssh-server-common (8.4_p1-r3) 05:19:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:35 Configure a credential helper to remove this warning. See 05:19:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:35 05:19:35 Login Succeeded 05:19:35 nexus3.edgexfoundry.org:10003 05:19:35 (10/13) Installing openssh-server (8.4_p1-r3) 05:19:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:36 Configure a credential helper to remove this warning. See 05:19:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:36 05:19:36 Login Succeeded 05:19:36 nexus3.edgexfoundry.org:10004 05:19:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:36 Configure a credential helper to remove this warning. See 05:19:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:36 05:19:36 Login Succeeded 05:19:36 docker.io 05:19:36 (11/13) Installing openssh (8.4_p1-r3) 05:19:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:37 Configure a credential helper to remove this warning. See 05:19:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:37 05:19:37 Login Succeeded 05:19:37 ---> docker-login.sh ends [Pipeline] } 05:19:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 05:19:37 (12/13) Installing libzmq (4.3.3-r1) [Pipeline] echo 05:19:37 ========================================================= 05:19:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:19:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:19:38 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 05:19:38 Sending build context to Docker daemon 579.6kB 05:19:38 (13/13) Installing zeromq-dev (4.3.3-r1) 05:19:38 Executing busybox-1.32.1-r6.trigger 05:19:38 OK: 156 MiB in 53 packages 05:19:38 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 05:19:38 Step 2/8 : FROM ${BASE} 05:19:38 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:19:38 595b0fe564bb: Pulling fs layer 05:19:38 7186ed65a4f7: Pulling fs layer 05:19:38 316046926c0a: Pulling fs layer 05:19:38 4ebd0625c992: Pulling fs layer 05:19:38 207e8628e3a3: Pulling fs layer 05:19:38 c791037a9be2: Pulling fs layer 05:19:38 ffd874e62e21: Pulling fs layer 05:19:38 4ebd0625c992: Waiting 05:19:38 ffd874e62e21: Waiting 05:19:38 207e8628e3a3: Waiting 05:19:38 c791037a9be2: Waiting 05:19:38 316046926c0a: Download complete 05:19:38 7186ed65a4f7: Download complete 05:19:38 207e8628e3a3: Download complete 05:19:38 c791037a9be2: Verifying Checksum 05:19:38 c791037a9be2: Download complete 05:19:38 595b0fe564bb: Verifying Checksum 05:19:38 595b0fe564bb: Download complete 05:19:39 Removing intermediate container 9543b8791493 05:19:39 ---> 9297dae3674d 05:19:39 Step 6/8 : WORKDIR /device-mqtt-go 05:19:39 ---> Running in ec1544c95157 05:19:39 Removing intermediate container ec1544c95157 05:19:39 ---> 0b9010c76678 05:19:39 Step 7/8 : COPY . . 05:19:39 ---> 4d103d42c091 05:19:39 Step 8/8 : RUN go mod download 05:19:39 ---> Running in e1e05530cc74 05:19:39 595b0fe564bb: Pull complete 05:19:40 7186ed65a4f7: Pull complete 05:19:40 316046926c0a: Pull complete 05:19:41 ffd874e62e21: Verifying Checksum 05:19:41 ffd874e62e21: Download complete 05:19:42 4ebd0625c992: Verifying Checksum 05:19:42 4ebd0625c992: Download complete 05:19:51 Removing intermediate container e1e05530cc74 05:19:51 ---> 9f1730fdd942 05:19:51 Successfully built 9f1730fdd942 05:19:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:19:52 + docker inspect -f . ci-base-image-x86_64 05:19:52 . [Pipeline] withDockerContainer 05:19:52 prd-centos7-docker-4c-2g-244 does not seem to be running inside a container 05:19:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/49 -v /w/workspace/device-mqtt-go/49:/w/workspace/device-mqtt-go/49:rw,z -v /w/workspace/device-mqtt-go/49@tmp:/w/workspace/device-mqtt-go/49@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 ******** ci-base-image-x86_64 cat 05:19:52 $ docker top cc5af6cb78124d5752636029aa9392aa74375f0c883ab2232d5493bba9d85c75 -eo pid,comm [Pipeline] { [Pipeline] sh 05:19:52 + go version 05:19:52 go version go1.16.3 linux/amd64 [Pipeline] } 05:19:52 $ docker stop --time=1 cc5af6cb78124d5752636029aa9392aa74375f0c883ab2232d5493bba9d85c75 05:19:54 $ docker rm -f cc5af6cb78124d5752636029aa9392aa74375f0c883ab2232d5493bba9d85c75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:19:54 + docker inspect -f . ci-base-image-x86_64 05:19:54 . [Pipeline] withDockerContainer 05:19:54 prd-centos7-docker-4c-2g-244 does not seem to be running inside a container 05:19:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/49 -v /w/workspace/device-mqtt-go/49:/w/workspace/device-mqtt-go/49:rw,z -v /w/workspace/device-mqtt-go/49@tmp:/w/workspace/device-mqtt-go/49@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 ******** ci-base-image-x86_64 cat 05:19:54 4ebd0625c992: Pull complete 05:19:54 207e8628e3a3: Pull complete 05:19:54 c791037a9be2: Pull complete 05:19:55 $ docker top 62299ae5625336d8496d045e9afb8b6ab67d0cfd2552984bc8d70734f0538a5f -eo pid,comm [Pipeline] { [Pipeline] sh 05:19:55 + go mod tidy [Pipeline] sh 05:19:56 + make test 05:19:56 go mod tidy 05:19:56 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:19:56 ? github.com/edgexfoundry/device-mqtt-go [no test files] 05:19:57 ffd874e62e21: Pull complete 05:19:57 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 05:19:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:19:57 ---> cfc18b08335c 05:19:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 05:19:59 ---> Running in 77416025b21f 05:19:59 Removing intermediate container 77416025b21f 05:19:59 ---> 5950af0aaca1 05:19:59 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:20:00 ---> Running in 3dbb34aae573 05:20:02 Removing intermediate container 3dbb34aae573 05:20:02 ---> 84b767d3f4d4 05:20:02 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:20:02 ---> Running in b80b115671aa 05:20:03 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:20:04 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:20:05 (1/13) Installing libc-dev (0.7.2-r3) 05:20:05 (2/13) Installing libsodium (1.0.18-r0) 05:20:05 (3/13) Installing pkgconf (1.7.3-r0) 05:20:05 (4/13) Installing libsodium-dev (1.0.18-r0) 05:20:05 (5/13) Installing openssh-keygen (8.4_p1-r3) 05:20:05 (6/13) Installing libedit (20191231.3.1-r1) 05:20:06 (7/13) Installing openssh-client (8.4_p1-r3) 05:20:06 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 05:20:06 (9/13) Installing openssh-server-common (8.4_p1-r3) 05:20:06 (10/13) Installing openssh-server (8.4_p1-r3) 05:20:06 (11/13) Installing openssh (8.4_p1-r3) 05:20:06 (12/13) Installing libzmq (4.3.3-r1) 05:20:06 (13/13) Installing zeromq-dev (4.3.3-r1) 05:20:06 Executing busybox-1.32.1-r6.trigger 05:20:06 OK: 145 MiB in 53 packages 05:20:09 Removing intermediate container b80b115671aa 05:20:09 ---> 0bace30e65d9 05:20:09 Step 6/8 : WORKDIR /device-mqtt-go 05:20:09 ---> Running in 7549b87f068e 05:20:10 Removing intermediate container 7549b87f068e 05:20:10 ---> 1aeac1acb6de 05:20:10 Step 7/8 : COPY . . 05:20:11 ---> 0dd60bdb5ee6 05:20:11 Step 8/8 : RUN go mod download 05:20:11 ---> Running in 7afb04b9e630 05:20:11 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 05:20:13 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 23.0% of statements 05:20:13 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 05:20:13 GCO_ENABLED=1 GO111MODULE=on go vet ./... 05:20:19 gofmt -l . 05:20:19 ["`gofmt -l .`" = ""] 05:20:19 ./bin/test-attribution-txt.sh [Pipeline] } 05:20:19 $ docker stop --time=1 62299ae5625336d8496d045e9afb8b6ab67d0cfd2552984bc8d70734f0538a5f 05:20:21 $ docker rm -f 62299ae5625336d8496d045e9afb8b6ab67d0cfd2552984bc8d70734f0538a5f [Pipeline] // withDockerContainer [Pipeline] sh 05:20:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:20:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:20:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:20:25 + ls -al . 05:20:25 total 108 05:20:25 drwxrwxr-x. 9 jenkins jenkins 4096 Jun 3 05:20 . 05:20:25 drwxrwxr-x. 4 jenkins jenkins 30 Jun 3 05:18 .. 05:20:25 -rw-rw-r--. 1 jenkins jenkins 7100 Jun 3 05:18 Attribution.txt 05:20:25 drwxrwxr-x. 2 jenkins jenkins 60 Jun 3 05:18 bin 05:20:25 drwxrwxr-x. 3 jenkins jenkins 32 Jun 3 05:18 cmd 05:20:25 -rw-r--r--. 1 jenkins jenkins 19385 Jun 3 05:20 coverage.out 05:20:25 -rw-rw-r--. 1 jenkins jenkins 1877 Jun 3 05:18 Dockerfile 05:20:25 -rw-rw-r--. 1 jenkins jenkins 994 Jun 3 05:18 Dockerfile.build 05:20:25 -rw-rw-r--. 1 jenkins jenkins 140 Jun 3 05:18 .dockerignore 05:20:25 drwxrwxr-x. 8 jenkins jenkins 162 Jun 3 05:18 .git 05:20:25 drwxrwxr-x. 2 jenkins jenkins 103 Jun 3 05:18 .github 05:20:25 -rw-rw-r--. 1 jenkins jenkins 336 Jun 3 05:18 .gitignore 05:20:25 -rw-rw-r--. 1 jenkins jenkins 409 Jun 3 05:18 go.mod 05:20:25 -rw-r--r--. 1 jenkins jenkins 21382 Jun 3 05:19 go.sum 05:20:25 drwxrwxr-x. 3 jenkins jenkins 20 Jun 3 05:18 internal 05:20:25 -rw-rw-r--. 1 jenkins jenkins 677 Jun 3 05:18 Jenkinsfile 05:20:25 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 3 05:18 LICENSE 05:20:25 -rw-rw-r--. 1 jenkins jenkins 907 Jun 3 05:18 Makefile 05:20:25 drwxrwxr-x. 2 jenkins jenkins 23 Jun 3 05:18 mock 05:20:25 -rw-rw-r--. 1 jenkins jenkins 2217 Jun 3 05:18 README.md 05:20:25 drwxrwxr-x. 4 jenkins jenkins 71 Jun 3 05:18 snap 05:20:25 -rw-rw-r--. 1 jenkins jenkins 12 Jun 3 05:16 VERSION 05:20:25 -rw-rw-r--. 1 jenkins jenkins 227 Jun 3 05:18 version.go [Pipeline] isUnix [Pipeline] sh 05:20:25 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=171099155cdb194629e3839231b8c199243184e3 --label arch=amd64 --label version=1.3.2-dev.17 . 05:20:25 Sending build context to Docker daemon 600.6kB 05:20:25 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 05:20:25 Step 2/24 : FROM ${BASE} AS builder 05:20:25 ---> 9f1730fdd942 05:20:25 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:20:25 ---> Running in ae126c8f672d 05:20:25 Removing intermediate container ae126c8f672d 05:20:25 ---> 671b92973f91 05:20:25 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 05:20:25 ---> Running in a13b8ae29456 05:20:25 Removing intermediate container a13b8ae29456 05:20:25 ---> 3ad6238948ef 05:20:25 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:20:25 ---> Running in 2ec91be0357f 05:20:26 Removing intermediate container 2ec91be0357f 05:20:26 ---> 4bd26684cc06 05:20:26 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:20:26 ---> Running in a346469cf445 05:20:26 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:20:27 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:20:27 OK: 156 MiB in 53 packages 05:20:27 Removing intermediate container a346469cf445 05:20:27 ---> d438f648f78b 05:20:27 Step 7/24 : WORKDIR /device-mqtt-go 05:20:27 ---> Running in 6e80aa3b2440 05:20:27 Removing intermediate container 6e80aa3b2440 05:20:27 ---> e843188335a1 05:20:27 Step 8/24 : COPY . . 05:20:28 ---> c90aabec5fa4 05:20:28 Step 9/24 : RUN go mod tidy 05:20:28 ---> Running in e8816b4f8328 05:20:28 Removing intermediate container e8816b4f8328 05:20:28 ---> 91d493294037 05:20:28 Step 10/24 : RUN go mod download 05:20:28 ---> Running in af3244f70e81 05:20:29 Removing intermediate container af3244f70e81 05:20:29 ---> d265b9cd3e95 05:20:29 Step 11/24 : ARG MAKE='make build' 05:20:29 ---> Running in 768e5b845a79 05:20:29 Removing intermediate container 768e5b845a79 05:20:29 ---> 1a2fc5f0edfb 05:20:29 Step 12/24 : RUN $MAKE 05:20:29 ---> Running in 6ca3c870302f 05:20:29 go mod tidy 05:20:29 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.17" -o cmd/device-mqtt ./cmd 05:20:38 Removing intermediate container 7afb04b9e630 05:20:38 ---> 5de3ad39766c 05:20:38 Successfully built 5de3ad39766c 05:20:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:20:38 + docker inspect -f . ci-base-image-arm64 05:20:38 . [Pipeline] withDockerContainer 05:20:38 prd-ubuntu18.04-docker-arm64-4c-16g-242 does not seem to be running inside a container 05:20:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/49 -v /w/workspace/device-mqtt-go/49:/w/workspace/device-mqtt-go/49:rw,z -v /w/workspace/device-mqtt-go/49@tmp:/w/workspace/device-mqtt-go/49@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:20:40 $ docker top 6b1b6e38b41f02685367a8b4c99235d76597b79c8145b26ed79e0449730e9b82 -eo pid,comm [Pipeline] { [Pipeline] sh 05:20:41 + go version 05:20:41 go version go1.16.3 linux/arm64 [Pipeline] } 05:20:41 $ docker stop --time=1 6b1b6e38b41f02685367a8b4c99235d76597b79c8145b26ed79e0449730e9b82 05:20:42 Removing intermediate container 6ca3c870302f 05:20:42 ---> 704e5e053b42 05:20:42 Step 13/24 : FROM alpine:3.12 05:20:42 3.12: Pulling from library/alpine 05:20:42 339de151aab4: Pulling fs layer 05:20:43 339de151aab4: Verifying Checksum 05:20:43 339de151aab4: Download complete 05:20:43 339de151aab4: Pull complete 05:20:43 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:20:43 Status: Downloaded newer image for alpine:3.12 05:20:43 ---> 13621d1b12d4 05:20:43 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 05:20:43 ---> Running in 1f947304e9fc 05:20:43 Removing intermediate container 1f947304e9fc 05:20:43 ---> 65f71b76e37c 05:20:43 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 05:20:43 ---> Running in e1092c8b3d8d 05:20:43 $ docker rm -f 6b1b6e38b41f02685367a8b4c99235d76597b79c8145b26ed79e0449730e9b82 [Pipeline] // withDockerContainer [Pipeline] } 05:20:43 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:20:43 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:20:43 (1/6) Installing dumb-init (1.2.2-r1) 05:20:43 (2/6) Installing libgcc (9.3.0-r2) 05:20:43 (3/6) Installing libsodium (1.0.18-r0) 05:20:43 (4/6) Installing libstdc++ (9.3.0-r2) 05:20:43 (5/6) Installing libzmq (4.3.3-r0) 05:20:43 (6/6) Installing zeromq (4.3.3-r0) 05:20:43 Executing busybox-1.31.1-r20.trigger 05:20:43 OK: 8 MiB in 20 packages 05:20:44 Removing intermediate container e1092c8b3d8d 05:20:44 ---> b66e9c2c49a0 05:20:44 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 05:20:44 + docker inspect -f . ci-base-image-arm64 05:20:44 . [Pipeline] withDockerContainer 05:20:44 prd-ubuntu18.04-docker-arm64-4c-16g-242 does not seem to be running inside a container 05:20:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/49 -v /w/workspace/device-mqtt-go/49:/w/workspace/device-mqtt-go/49:rw,z -v /w/workspace/device-mqtt-go/49@tmp:/w/workspace/device-mqtt-go/49@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:20:44 ---> e94b099b2734 05:20:44 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 05:20:44 ---> 820c2a7846b1 05:20:44 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 05:20:45 ---> 6b3a4d862549 05:20:45 Step 19/24 : EXPOSE 59982 05:20:45 ---> Running in 5f029a5ad09c 05:20:45 Removing intermediate container 5f029a5ad09c 05:20:45 ---> 6e5508d46426 05:20:45 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 05:20:45 ---> Running in 75526dd294ae 05:20:45 Removing intermediate container 75526dd294ae 05:20:45 ---> 27c87c05faef 05:20:45 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:20:45 ---> Running in b708831f16d9 05:20:45 Removing intermediate container b708831f16d9 05:20:45 ---> 41763547a95b 05:20:45 Step 22/24 : LABEL arch=amd64 05:20:45 ---> Running in 3f255ec25f4d 05:20:45 Removing intermediate container 3f255ec25f4d 05:20:45 ---> 83bd83dadbc0 05:20:45 Step 23/24 : LABEL git_sha=171099155cdb194629e3839231b8c199243184e3 05:20:45 ---> Running in bc089411262f 05:20:45 Removing intermediate container bc089411262f 05:20:45 ---> b4b97397c921 05:20:45 Step 24/24 : LABEL version=1.3.2-dev.17 05:20:45 ---> Running in 41c662cc20af 05:20:45 Removing intermediate container 41c662cc20af 05:20:45 ---> 89edb4a9cdbd 05:20:45 [Warning] One or more build-args [ARCH] were not consumed 05:20:45 Successfully built 89edb4a9cdbd 05:20:45 Successfully tagged device-mqtt:latest 05:20:46 $ docker top 82eaa97060b9663acb562b865f4bb1d1d46474febee5d98aff1e7413fe4f9646 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:20:46 provisioning config files... 05:20:46 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/49@tmp/config10342118013331727tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:20:47 ---> docker-login.sh 05:20:47 nexus3.edgexfoundry.org:10001 05:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:47 Configure a credential helper to remove this warning. See 05:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:47 05:20:47 Login Succeeded 05:20:47 nexus3.edgexfoundry.org:10002 05:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:47 + go mod tidy 05:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:47 Configure a credential helper to remove this warning. See 05:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:47 05:20:47 Login Succeeded 05:20:47 nexus3.edgexfoundry.org:10003 05:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:47 Configure a credential helper to remove this warning. See 05:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:47 05:20:47 Login Succeeded 05:20:47 nexus3.edgexfoundry.org:10004 05:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:47 Configure a credential helper to remove this warning. See 05:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:47 05:20:47 Login Succeeded 05:20:47 docker.io 05:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 05:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:47 Configure a credential helper to remove this warning. See 05:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:47 05:20:47 Login Succeeded 05:20:47 ---> docker-login.sh ends [Pipeline] } 05:20:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:20:47 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 05:20:47 171099155cdb194629e3839231b8c199243184e3 05:20:47 latest 05:20:47 1.3.2-dev.17 05:20:47 171099155cdb194629e3839231b8c199243184e3-1.3.2-dev.17 05:20:47 master 05:20:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:20:48 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:171099155cdb194629e3839231b8c199243184e3 [Pipeline] isUnix [Pipeline] sh 05:20:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:171099155cdb194629e3839231b8c199243184e3 05:20:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:20:48 7ebf9bd876ad: Preparing 05:20:48 892223ecd24f: Preparing 05:20:48 c9d0f028a677: Preparing 05:20:48 24f441acbabe: Preparing 05:20:48 32f366d666a5: Preparing 05:20:48 32f366d666a5: Layer already exists 05:20:48 + make test 05:20:48 go mod tidy 05:20:48 892223ecd24f: Pushed 05:20:48 7ebf9bd876ad: Pushed 05:20:48 24f441acbabe: Pushed 05:20:49 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:20:50 c9d0f028a677: Pushed 05:20:50 ? github.com/edgexfoundry/device-mqtt-go [no test files] 05:20:50 171099155cdb194629e3839231b8c199243184e3: digest: sha256:df2da7e7989f744c838d6e4ac1e9b521cd1f2f9e2c64a74b1179d8a789bda3a5 size: 1365 [Pipeline] isUnix [Pipeline] sh 05:20:50 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 05:20:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 05:20:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:20:51 7ebf9bd876ad: Preparing 05:20:51 892223ecd24f: Preparing 05:20:51 c9d0f028a677: Preparing 05:20:51 24f441acbabe: Preparing 05:20:51 32f366d666a5: Preparing 05:20:51 24f441acbabe: Layer already exists 05:20:51 892223ecd24f: Layer already exists 05:20:51 c9d0f028a677: Layer already exists 05:20:51 7ebf9bd876ad: Layer already exists 05:20:51 32f366d666a5: Layer already exists 05:20:51 latest: digest: sha256:df2da7e7989f744c838d6e4ac1e9b521cd1f2f9e2c64a74b1179d8a789bda3a5 size: 1365 [Pipeline] isUnix [Pipeline] sh 05:20:51 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.17 [Pipeline] isUnix [Pipeline] sh 05:20:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.17 05:20:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:20:51 7ebf9bd876ad: Preparing 05:20:51 892223ecd24f: Preparing 05:20:51 c9d0f028a677: Preparing 05:20:51 24f441acbabe: Preparing 05:20:51 32f366d666a5: Preparing 05:20:51 c9d0f028a677: Layer already exists 05:20:51 7ebf9bd876ad: Layer already exists 05:20:51 892223ecd24f: Layer already exists 05:20:51 32f366d666a5: Layer already exists 05:20:51 24f441acbabe: Layer already exists 05:20:51 1.3.2-dev.17: digest: sha256:df2da7e7989f744c838d6e4ac1e9b521cd1f2f9e2c64a74b1179d8a789bda3a5 size: 1365 [Pipeline] isUnix [Pipeline] sh 05:20:52 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:171099155cdb194629e3839231b8c199243184e3-1.3.2-dev.17 [Pipeline] isUnix [Pipeline] sh 05:20:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:171099155cdb194629e3839231b8c199243184e3-1.3.2-dev.17 05:20:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:20:52 7ebf9bd876ad: Preparing 05:20:52 892223ecd24f: Preparing 05:20:52 c9d0f028a677: Preparing 05:20:52 24f441acbabe: Preparing 05:20:52 32f366d666a5: Preparing 05:20:52 892223ecd24f: Layer already exists 05:20:52 32f366d666a5: Layer already exists 05:20:52 7ebf9bd876ad: Layer already exists 05:20:52 c9d0f028a677: Layer already exists 05:20:52 24f441acbabe: Layer already exists 05:20:52 171099155cdb194629e3839231b8c199243184e3-1.3.2-dev.17: digest: sha256:df2da7e7989f744c838d6e4ac1e9b521cd1f2f9e2c64a74b1179d8a789bda3a5 size: 1365 [Pipeline] isUnix [Pipeline] sh 05:20:52 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] isUnix [Pipeline] sh 05:20:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:master 05:20:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 05:20:52 7ebf9bd876ad: Preparing 05:20:52 892223ecd24f: Preparing 05:20:52 c9d0f028a677: Preparing 05:20:52 24f441acbabe: Preparing 05:20:52 32f366d666a5: Preparing 05:20:52 32f366d666a5: Layer already exists 05:20:52 24f441acbabe: Layer already exists 05:20:52 892223ecd24f: Layer already exists 05:20:52 c9d0f028a677: Layer already exists 05:20:52 7ebf9bd876ad: Layer already exists 05:20:52 master: digest: sha256:df2da7e7989f744c838d6e4ac1e9b521cd1f2f9e2c64a74b1179d8a789bda3a5 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:20:53 ===================================================== [Pipeline] echo 05:20:53 taggedImages: 05:20:53 - nexus3.edgexfoundry.org:10004/device-mqtt:171099155cdb194629e3839231b8c199243184e3 05:20:53 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 05:20:53 - nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.17 05:20:53 - nexus3.edgexfoundry.org:10004/device-mqtt:171099155cdb194629e3839231b8c199243184e3-1.3.2-dev.17 05:20:53 - nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 05:20:53 ---> job-cost.sh 05:20:53 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BlKq 05:21:03 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:21:16 lf-activate-venv(): INFO: Adding /tmp/venv-BlKq/bin to PATH 05:21:16 INFO: No Stack... 05:21:17 INFO: Retrieving Pricing Info for: v3-standard-2 05:21:17 INFO: Archiving Costs [Pipeline] sh 05:21:17 + cat /w/workspace/device-mqtt-go/49/archives/cost.csv 05:21:17 + cut -d, -f6 [Pipeline] lock 05:21:18 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-49-stack-cost] 05:21:18 Resource [jenkins-edgexfoundry-device-mqtt-go-master-49-stack-cost] did not exist. Created. 05:21:18 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:21:18 + echo total: 0.05999999865889549 [Pipeline] stash 05:21:18 Stashed 1 file(s) [Pipeline] } 05:21:18 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-49-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:21:47 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 05:21:47 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.051s coverage: 23.0% of statements 05:21:47 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 05:21:47 GCO_ENABLED=1 GO111MODULE=on go vet ./... 05:22:13 gofmt -l . 05:22:13 ["`gofmt -l .`" = ""] 05:22:13 ./bin/test-attribution-txt.sh [Pipeline] } 05:22:14 $ docker stop --time=1 82eaa97060b9663acb562b865f4bb1d1d46474febee5d98aff1e7413fe4f9646 05:22:16 $ docker rm -f 82eaa97060b9663acb562b865f4bb1d1d46474febee5d98aff1e7413fe4f9646 [Pipeline] // withDockerContainer [Pipeline] sh 05:22:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:22:17 Warning: overwriting stash ‘coverage-report’ 05:22:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:22:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:22:18 + ls -al . 05:22:18 total 140 05:22:18 drwxrwxr-x 9 jenkins jenkins 4096 Jun 3 05:22 . 05:22:18 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 05:19 .. 05:22:18 -rw-rw-r-- 1 jenkins jenkins 140 Jun 3 05:19 .dockerignore 05:22:18 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 05:19 .git 05:22:18 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 05:19 .github 05:22:18 -rw-rw-r-- 1 jenkins jenkins 336 Jun 3 05:19 .gitignore 05:22:18 -rw-rw-r-- 1 jenkins jenkins 7100 Jun 3 05:19 Attribution.txt 05:22:18 -rw-rw-r-- 1 jenkins jenkins 1877 Jun 3 05:19 Dockerfile 05:22:18 -rw-rw-r-- 1 jenkins jenkins 994 Jun 3 05:19 Dockerfile.build 05:22:18 -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 05:19 Jenkinsfile 05:22:18 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 05:19 LICENSE 05:22:18 -rw-rw-r-- 1 jenkins jenkins 907 Jun 3 05:19 Makefile 05:22:18 -rw-rw-r-- 1 jenkins jenkins 2217 Jun 3 05:19 README.md 05:22:18 -rw-rw-r-- 1 jenkins jenkins 12 Jun 3 05:16 VERSION 05:22:18 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 05:19 bin 05:22:18 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 05:19 cmd 05:22:18 -rw-r--r-- 1 jenkins jenkins 19385 Jun 3 05:21 coverage.out 05:22:18 -rw-rw-r-- 1 jenkins jenkins 409 Jun 3 05:19 go.mod 05:22:18 -rw-r--r-- 1 jenkins jenkins 21382 Jun 3 05:20 go.sum 05:22:18 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 05:19 internal 05:22:18 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 05:19 mock 05:22:18 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 05:19 snap 05:22:18 -rw-rw-r-- 1 jenkins jenkins 227 Jun 3 05:19 version.go [Pipeline] isUnix [Pipeline] sh 05:22:19 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=171099155cdb194629e3839231b8c199243184e3 --label arch=arm64 --label version=1.3.2-dev.17 . 05:22:19 Sending build context to Docker daemon 599.6kB 05:22:19 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 05:22:19 Step 2/24 : FROM ${BASE} AS builder 05:22:19 ---> 5de3ad39766c 05:22:19 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:22:19 ---> Running in b6f54a39f110 05:22:20 Removing intermediate container b6f54a39f110 05:22:20 ---> b90431873ba1 05:22:20 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 05:22:20 ---> Running in 9fdfbbaa912a 05:22:21 Removing intermediate container 9fdfbbaa912a 05:22:21 ---> ad1b3da31019 05:22:21 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:22:21 ---> Running in 8620858db28d 05:22:23 Removing intermediate container 8620858db28d 05:22:23 ---> 561f1755a521 05:22:23 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:22:23 ---> Running in 4d9631135b88 05:22:24 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:22:25 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:22:25 OK: 145 MiB in 53 packages 05:22:26 Removing intermediate container 4d9631135b88 05:22:26 ---> 301d982101f2 05:22:26 Step 7/24 : WORKDIR /device-mqtt-go 05:22:26 ---> Running in e2ae81eff2c0 05:22:27 Removing intermediate container e2ae81eff2c0 05:22:27 ---> b6e18b56b7ba 05:22:27 Step 8/24 : COPY . . 05:22:28 ---> adb71f43b089 05:22:28 Step 9/24 : RUN go mod tidy 05:22:28 ---> Running in 968f91abeeee 05:22:31 Removing intermediate container 968f91abeeee 05:22:31 ---> c3491acfff29 05:22:31 Step 10/24 : RUN go mod download 05:22:31 ---> Running in 8181fcd92ecd 05:22:33 Removing intermediate container 8181fcd92ecd 05:22:33 ---> bfb6e34c2867 05:22:33 Step 11/24 : ARG MAKE='make build' 05:22:33 ---> Running in 0354fc4723ab 05:22:34 Removing intermediate container 0354fc4723ab 05:22:34 ---> 6f68dfadc771 05:22:34 Step 12/24 : RUN $MAKE 05:22:34 ---> Running in 325c478c9849 05:22:35 go mod tidy 05:22:36 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.17" -o cmd/device-mqtt ./cmd 05:23:15 Removing intermediate container 325c478c9849 05:23:15 ---> f216ca7880b2 05:23:15 Step 13/24 : FROM alpine:3.12 05:23:15 3.12: Pulling from library/alpine 05:23:15 d2f70382dc9a: Pulling fs layer 05:23:15 d2f70382dc9a: Download complete 05:23:15 d2f70382dc9a: Pull complete 05:23:15 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:23:15 Status: Downloaded newer image for alpine:3.12 05:23:15 ---> 9852663dfa18 05:23:15 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 05:23:15 ---> Running in 6aa61df32112 05:23:15 Removing intermediate container 6aa61df32112 05:23:15 ---> 0d52e1765774 05:23:15 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 05:23:15 ---> Running in d6ec0cb9f3a0 05:23:15 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:23:15 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:23:15 (1/6) Installing dumb-init (1.2.2-r1) 05:23:15 (2/6) Installing libgcc (9.3.0-r2) 05:23:15 (3/6) Installing libsodium (1.0.18-r0) 05:23:15 (4/6) Installing libstdc++ (9.3.0-r2) 05:23:15 (5/6) Installing libzmq (4.3.3-r0) 05:23:16 (6/6) Installing zeromq (4.3.3-r0) 05:23:16 Executing busybox-1.31.1-r20.trigger 05:23:16 OK: 8 MiB in 20 packages 05:23:17 Removing intermediate container d6ec0cb9f3a0 05:23:17 ---> e0ddfb9a4e8f 05:23:17 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 05:23:18 ---> e5e9dc4cdbdf 05:23:18 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 05:23:18 ---> 4827fcab139b 05:23:18 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 05:23:19 ---> 7168312358c1 05:23:19 Step 19/24 : EXPOSE 59982 05:23:19 ---> Running in fac92cc93eeb 05:23:20 Removing intermediate container fac92cc93eeb 05:23:20 ---> 463a50ddebb4 05:23:20 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 05:23:20 ---> Running in ac8808e53830 05:23:21 Removing intermediate container ac8808e53830 05:23:21 ---> e26f4e794626 05:23:21 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:23:21 ---> Running in c4a0a1482995 05:23:21 Removing intermediate container c4a0a1482995 05:23:21 ---> 48b605be33b9 05:23:21 Step 22/24 : LABEL arch=arm64 05:23:21 ---> Running in 528b91156241 05:23:22 Removing intermediate container 528b91156241 05:23:22 ---> bf74a92bb393 05:23:22 Step 23/24 : LABEL git_sha=171099155cdb194629e3839231b8c199243184e3 05:23:22 ---> Running in 3026de417e55 05:23:22 Removing intermediate container 3026de417e55 05:23:22 ---> 57f802c5ba33 05:23:22 Step 24/24 : LABEL version=1.3.2-dev.17 05:23:22 ---> Running in 924beb4134ed 05:23:23 Removing intermediate container 924beb4134ed 05:23:23 ---> efe5d86ff007 05:23:23 [Warning] One or more build-args [ARCH] were not consumed 05:23:23 Successfully built efe5d86ff007 05:23:23 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:23:23 provisioning config files... 05:23:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/49@tmp/config5360223130741419756tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:23:24 ---> docker-login.sh 05:23:24 nexus3.edgexfoundry.org:10001 05:23:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:24 Configure a credential helper to remove this warning. See 05:23:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:24 05:23:24 Login Succeeded 05:23:24 nexus3.edgexfoundry.org:10002 05:23:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:24 Configure a credential helper to remove this warning. See 05:23:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:24 05:23:24 Login Succeeded 05:23:24 nexus3.edgexfoundry.org:10003 05:23:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:25 Configure a credential helper to remove this warning. See 05:23:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:25 05:23:25 Login Succeeded 05:23:25 nexus3.edgexfoundry.org:10004 05:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:26 Configure a credential helper to remove this warning. See 05:23:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:26 05:23:26 Login Succeeded 05:23:26 docker.io 05:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:27 Configure a credential helper to remove this warning. See 05:23:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:27 05:23:27 Login Succeeded 05:23:27 ---> docker-login.sh ends [Pipeline] } 05:23:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:23:27 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 05:23:27 171099155cdb194629e3839231b8c199243184e3 05:23:27 latest 05:23:27 1.3.2-dev.17 05:23:27 171099155cdb194629e3839231b8c199243184e3-1.3.2-dev.17 05:23:27 master 05:23:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:23:27 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:171099155cdb194629e3839231b8c199243184e3 [Pipeline] isUnix [Pipeline] sh 05:23:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:171099155cdb194629e3839231b8c199243184e3 05:23:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:23:27 8f19adf35aa6: Preparing 05:23:27 3c6b132f450d: Preparing 05:23:27 c34f0f97a26a: Preparing 05:23:27 cb2493c129c9: Preparing 05:23:27 3fbe34a1663b: Preparing 05:23:28 3fbe34a1663b: Layer already exists 05:23:28 3c6b132f450d: Pushed 05:23:28 8f19adf35aa6: Pushed 05:23:29 cb2493c129c9: Pushed 05:23:31 c34f0f97a26a: Pushed 05:23:31 171099155cdb194629e3839231b8c199243184e3: digest: sha256:deaf756b8efa69680cf56665d5102830c74727d80cd35166fe0eea2369913c5a size: 1365 [Pipeline] isUnix [Pipeline] sh 05:23:31 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:23:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 05:23:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:23:32 8f19adf35aa6: Preparing 05:23:32 3c6b132f450d: Preparing 05:23:32 c34f0f97a26a: Preparing 05:23:32 cb2493c129c9: Preparing 05:23:32 3fbe34a1663b: Preparing 05:23:32 3fbe34a1663b: Layer already exists 05:23:32 8f19adf35aa6: Layer already exists 05:23:32 c34f0f97a26a: Layer already exists 05:23:32 cb2493c129c9: Layer already exists 05:23:32 3c6b132f450d: Layer already exists 05:23:32 latest: digest: sha256:deaf756b8efa69680cf56665d5102830c74727d80cd35166fe0eea2369913c5a size: 1365 [Pipeline] isUnix [Pipeline] sh 05:23:32 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.17 [Pipeline] isUnix [Pipeline] sh 05:23:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.17 05:23:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:23:33 8f19adf35aa6: Preparing 05:23:33 3c6b132f450d: Preparing 05:23:33 c34f0f97a26a: Preparing 05:23:33 cb2493c129c9: Preparing 05:23:33 3fbe34a1663b: Preparing 05:23:33 c34f0f97a26a: Layer already exists 05:23:33 8f19adf35aa6: Layer already exists 05:23:33 3c6b132f450d: Layer already exists 05:23:33 cb2493c129c9: Layer already exists 05:23:33 3fbe34a1663b: Layer already exists 05:23:33 1.3.2-dev.17: digest: sha256:deaf756b8efa69680cf56665d5102830c74727d80cd35166fe0eea2369913c5a size: 1365 [Pipeline] isUnix [Pipeline] sh 05:23:33 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:171099155cdb194629e3839231b8c199243184e3-1.3.2-dev.17 [Pipeline] isUnix [Pipeline] sh 05:23:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:171099155cdb194629e3839231b8c199243184e3-1.3.2-dev.17 05:23:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:23:33 8f19adf35aa6: Preparing 05:23:33 3c6b132f450d: Preparing 05:23:33 c34f0f97a26a: Preparing 05:23:33 cb2493c129c9: Preparing 05:23:33 3fbe34a1663b: Preparing 05:23:34 c34f0f97a26a: Layer already exists 05:23:34 3c6b132f450d: Layer already exists 05:23:34 3fbe34a1663b: Layer already exists 05:23:34 cb2493c129c9: Layer already exists 05:23:34 8f19adf35aa6: Layer already exists 05:23:34 171099155cdb194629e3839231b8c199243184e3-1.3.2-dev.17: digest: sha256:deaf756b8efa69680cf56665d5102830c74727d80cd35166fe0eea2369913c5a size: 1365 [Pipeline] isUnix [Pipeline] sh 05:23:34 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] isUnix [Pipeline] sh 05:23:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master 05:23:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 05:23:34 8f19adf35aa6: Preparing 05:23:34 3c6b132f450d: Preparing 05:23:34 c34f0f97a26a: Preparing 05:23:34 cb2493c129c9: Preparing 05:23:34 3fbe34a1663b: Preparing 05:23:34 cb2493c129c9: Layer already exists 05:23:34 3fbe34a1663b: Layer already exists 05:23:34 3c6b132f450d: Layer already exists 05:23:34 8f19adf35aa6: Layer already exists 05:23:35 c34f0f97a26a: Layer already exists 05:23:35 master: digest: sha256:deaf756b8efa69680cf56665d5102830c74727d80cd35166fe0eea2369913c5a size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:23:35 ===================================================== [Pipeline] echo 05:23:35 taggedImages: 05:23:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:171099155cdb194629e3839231b8c199243184e3 05:23:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 05:23:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.17 05:23:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:171099155cdb194629e3839231b8c199243184e3-1.3.2-dev.17 05:23:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 05:23:35 ---> job-cost.sh 05:23:35 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-E8Uc 05:24:14 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:25:36 lf-activate-venv(): INFO: Adding /tmp/venv-E8Uc/bin to PATH 05:25:36 INFO: No Stack... 05:25:36 INFO: Retrieving Pricing Info for: v2-standard-4 05:25:37 INFO: Archiving Costs [Pipeline] sh 05:25:37 + cut -d, -f6 05:25:37 + cat /w/workspace/device-mqtt-go/49/archives/cost.csv [Pipeline] lock 05:25:37 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-49-stack-cost] 05:25:37 Resource [jenkins-edgexfoundry-device-mqtt-go-master-49-stack-cost] did not exist. Created. 05:25:37 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:25:37 /w/workspace/device-mqtt-go/49@tmp/durable-0e94806f/script.sh: 1: /w/workspace/device-mqtt-go/49@tmp/durable-0e94806f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:25:38 + echo total: 0.18000000715255737 [Pipeline] stash 05:25:38 Warning: overwriting stash ‘stack-cost’ 05:25:38 Stashed 1 file(s) [Pipeline] } 05:25:38 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-49-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:25:39 provisioning config files... 05:25:39 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config625128177787061464tmp [Pipeline] { [Pipeline] sh 05:25:39 + set +x 05:25:39 + curl -s https://codecov.io/bash 05:25:39 + bash -s -- 05:25:39 05:25:39 _____ _ 05:25:39 / ____| | | 05:25:39 | | ___ __| | ___ ___ _____ __ 05:25:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:25:39 | |___| (_) | (_| | __/ (_| (_) \ V / 05:25:39 \_____\___/ \__,_|\___|\___\___/ \_/ 05:25:39 Bash-1.0.3 05:25:39 05:25:39 05:25:39 ==> git version 2.24.4 found 05:25:39 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 05:25:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:25:39 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:25:39 ==> Jenkins CI detected. 05:25:39 project root: . 05:25:39 --> token set from env 05:25:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:25:39 ==> Running gcov in . (disable via -X gcov) 05:25:39 ==> Python coveragepy not found 05:25:39 ==> Searching for coverage reports in: 05:25:39 + . 05:25:39 -> Found 1 reports 05:25:39 ==> Detecting git/mercurial file structure 05:25:39 ==> Reading reports 05:25:39 + ./coverage.out bytes=19385 05:25:39 ==> Appending adjustments 05:25:39 https://docs.codecov.io/docs/fixing-reports 05:25:39 + Found adjustments 05:25:39 ==> Gzipping contents 05:25:39 4.0K /tmp/codecov.kaIVlj.gz 05:25:39 ==> Uploading reports 05:25:39 url: https://codecov.io 05:25:39 query: branch=master&commit=171099155cdb194629e3839231b8c199243184e3&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F49%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:25:39 -> Pinging Codecov 05:25:39 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=171099155cdb194629e3839231b8c199243184e3&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F49%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:25:40 -> Uploading to 05:25:40 https://storage.googleapis.com/codecov/v4/raw/2021-06-03/7D719EC7BBE17E464838252E33014C33/171099155cdb194629e3839231b8c199243184e3/43f29bd6-a6da-4076-94b8-a5bd8d19a378.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210603%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210603T052540Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fa2ca34f2da5dcf5acd572b6f940b9717855849b652a2a0d912c9aa60f4a1154 05:25:40 % Total % Received % Xferd Average Speed Time Time Time Current 05:25:40 Dload Upload Total Spent Left Speed 05:25:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3416 0 0 100 3416 0 9948 --:--:-- --:--:-- --:--:-- 9930 100 3416 0 0 100 3416 0 9945 --:--:-- --:--:-- --:--:-- 9930 05:25:40 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/171099155cdb194629e3839231b8c199243184e3 [Pipeline] } 05:25:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:25:41 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:25:41 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:25:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:25:41 05:25:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 05:25:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:25:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:25:42 188c0c94c7c5: Pulling fs layer 05:25:42 0ef7d3d256c8: Pulling fs layer 05:25:42 de9db76c5a1d: Pulling fs layer 05:25:42 0eba1c9be4d2: Pulling fs layer 05:25:42 0d57e429df01: Pulling fs layer 05:25:42 4e4be7b47b0d: Pulling fs layer 05:25:42 e1f770b5df2f: Pulling fs layer 05:25:42 85a0685a4137: Pulling fs layer 05:25:42 0eba1c9be4d2: Waiting 05:25:42 0d57e429df01: Waiting 05:25:42 4e4be7b47b0d: Waiting 05:25:42 e1f770b5df2f: Waiting 05:25:42 85a0685a4137: Waiting 05:25:42 de9db76c5a1d: Verifying Checksum 05:25:42 de9db76c5a1d: Download complete 05:25:42 0ef7d3d256c8: Download complete 05:25:42 0d57e429df01: Verifying Checksum 05:25:42 0d57e429df01: Download complete 05:25:42 4e4be7b47b0d: Verifying Checksum 05:25:42 4e4be7b47b0d: Download complete 05:25:42 188c0c94c7c5: Verifying Checksum 05:25:42 188c0c94c7c5: Download complete 05:25:42 188c0c94c7c5: Pull complete 05:25:42 0ef7d3d256c8: Pull complete 05:25:42 de9db76c5a1d: Pull complete 05:25:44 e1f770b5df2f: Verifying Checksum 05:25:44 e1f770b5df2f: Download complete 05:25:47 0eba1c9be4d2: Verifying Checksum 05:25:47 0eba1c9be4d2: Download complete 05:25:47 85a0685a4137: Verifying Checksum 05:25:47 85a0685a4137: Download complete 05:25:50 0eba1c9be4d2: Pull complete 05:25:50 0d57e429df01: Pull complete 05:25:51 4e4be7b47b0d: Pull complete 05:25:51 e1f770b5df2f: Pull complete 05:25:56 85a0685a4137: Pull complete 05:25:56 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 05:25:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:25:56 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 05:25:56 prd-centos7-docker-4c-2g-240 does not seem to be running inside a container 05:25:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@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-devops/edgex-snyk-go:1.410.4 cat 05:26:01 $ docker top 4172c8bc2c306be4cfd7a431bfeb92fca2e736d51f4e7e928afdd21a636c8f25 -eo pid,comm [Pipeline] { [Pipeline] echo 05:26:01 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 05:26:01 + set -o pipefail 05:26:01 + snyk monitor '--org=edgex-jenkins' 05:26:11 05:26:11 Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... 05:26:11 05:26:11 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/14179c23-0679-4373-8c86-053dbff5b70b 05:26:11 05:26:11 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:26:11 05:26:11 [Pipeline] } 05:26:11 $ docker stop --time=1 4172c8bc2c306be4cfd7a431bfeb92fca2e736d51f4e7e928afdd21a636c8f25 05:26:14 $ docker rm -f 4172c8bc2c306be4cfd7a431bfeb92fca2e736d51f4e7e928afdd21a636c8f25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:26:15 + git log --format=format:%s -1 171099155cdb194629e3839231b8c199243184e3 [Pipeline] isUnix [Pipeline] sh 05:26:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:26:15 . [Pipeline] withDockerContainer 05:26:15 prd-centos7-docker-4c-2g-240 does not seem to be running inside a container 05:26:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:26:16 $ docker top 1bc755d72b475a001f40a7bc29ec4d817e98253f98943f31aab1dcf590539f4e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:26:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:26:16 [ssh-agent] Looking for ssh-agent implementation... 05:26:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:26:16 $ docker exec 1bc755d72b475a001f40a7bc29ec4d817e98253f98943f31aab1dcf590539f4e ssh-agent 05:26:16 SSH_AUTH_SOCK=/tmp/ssh-FZv6DAYRv68M/agent.15 05:26:16 SSH_AGENT_PID=21 05:26:16 Running ssh-add (command line suppressed) 05:26:16 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4860663153943856735.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4860663153943856735.key) 05:26:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:26:16 + git semver tag 05:26:16 # -> Open(): unable to determine branch for HEAD 05:26:16 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 05:26:16 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 05:26:16 # $SEMVER_REMOTE_NAME = origin 05:26:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:26:16 # $SEMVER_USER_NAME = edgex-jenkins 05:26:16 # $SEMVER_BRANCH = master 05:26:16 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 05:26:16 # 171099155cdb194629e3839231b8c199243184e3 HEAD 05:26:16 # -> Force: false 05:26:16 # 6de36d28116967f1830b9985bd7b09e989d3eded refs/tags/v1.3.2-dev.17 [Pipeline] } 05:26:16 $ docker exec --env ******** --env ******** 1bc755d72b475a001f40a7bc29ec4d817e98253f98943f31aab1dcf590539f4e ssh-agent -k 05:26:16 unset SSH_AUTH_SOCK; 05:26:16 unset SSH_AGENT_PID; 05:26:16 echo Agent pid 21 killed; 05:26:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:26:17 + git semver [Pipeline] } 05:26:17 $ docker stop --time=1 1bc755d72b475a001f40a7bc29ec4d817e98253f98943f31aab1dcf590539f4e 05:26:18 $ docker rm -f 1bc755d72b475a001f40a7bc29ec4d817e98253f98943f31aab1dcf590539f4e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 05:26:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:26:18 05:26:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 05:26:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:26:19 0.23.1-centos7: Pulling from edgex-lftools 05:26:19 ab5ef0e58194: Pulling fs layer 05:26:19 9712f1f96733: Pulling fs layer 05:26:19 63f879dbbcfc: Pulling fs layer 05:26:19 0d9ebad4ef96: Pulling fs layer 05:26:19 e9a5061849ea: Pulling fs layer 05:26:19 d747dcd14b5f: Pulling fs layer 05:26:19 2de7ff778b66: Pulling fs layer 05:26:19 e9a5061849ea: Waiting 05:26:19 d747dcd14b5f: Waiting 05:26:19 2de7ff778b66: Waiting 05:26:19 0d9ebad4ef96: Waiting 05:26:19 9712f1f96733: Verifying Checksum 05:26:19 9712f1f96733: Download complete 05:26:21 63f879dbbcfc: Verifying Checksum 05:26:21 63f879dbbcfc: Download complete 05:26:21 e9a5061849ea: Verifying Checksum 05:26:21 e9a5061849ea: Download complete 05:26:21 d747dcd14b5f: Verifying Checksum 05:26:21 d747dcd14b5f: Download complete 05:26:21 2de7ff778b66: Verifying Checksum 05:26:21 2de7ff778b66: Download complete 05:26:21 0d9ebad4ef96: Verifying Checksum 05:26:21 0d9ebad4ef96: Download complete 05:26:22 ab5ef0e58194: Verifying Checksum 05:26:22 ab5ef0e58194: Download complete 05:26:24 ab5ef0e58194: Pull complete 05:26:24 9712f1f96733: Pull complete 05:26:25 63f879dbbcfc: Pull complete 05:26:29 0d9ebad4ef96: Pull complete 05:26:29 e9a5061849ea: Pull complete 05:26:29 d747dcd14b5f: Pull complete 05:26:30 2de7ff778b66: Pull complete 05:26:30 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:26:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:26:30 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 05:26:30 prd-centos7-docker-4c-2g-240 does not seem to be running inside a container 05:26:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:26:39 $ docker top 5bf747a8b82d2c5f76423bd897c24cb444065ff45c78b903b7f666899fff007e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:26:39 provisioning config files... 05:26:39 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7390419610216026893tmp 05:26:39 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config5575371996847938056tmp 05:26:39 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config4993907876980545681tmp [Pipeline] { [Pipeline] echo 05:26:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:26:40 ---> sigul-configuration.sh 05:26:40 gpg: directory `/root/.gnupg' created 05:26:40 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:26:40 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:26:40 gpg: keyring `/root/.gnupg/secring.gpg' created 05:26:40 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:26:40 gpg: CAST5 encrypted data 05:26:40 gpg: encrypted with 1 passphrase 05:26:40 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:26:40 + mkdir /home/jenkins 05:26:40 + mkdir /home/jenkins/sigul [Pipeline] sh 05:26:40 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 05:26:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:26:40 ---> sigul-install.sh 05:26:46 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 05:26:46 + git tag --list 05:26:46 0.7.1 05:26:46 v1.0.0 05:26:46 v1.1.0 05:26:46 v1.1.1 05:26:46 v1.2.2 05:26:46 v1.3.0 05:26:46 v1.3.1 05:26:46 v1.3.1-dev.1 05:26:46 v1.3.1-dev.2 05:26:46 v1.3.1-dev.3 05:26:46 v1.3.1-dev.4 05:26:46 v1.3.2-dev.1 05:26:46 v1.3.2-dev.10 05:26:46 v1.3.2-dev.11 05:26:46 v1.3.2-dev.12 05:26:46 v1.3.2-dev.13 05:26:46 v1.3.2-dev.14 05:26:46 v1.3.2-dev.15 05:26:46 v1.3.2-dev.16 05:26:46 v1.3.2-dev.17 05:26:46 v1.3.2-dev.2 05:26:46 v1.3.2-dev.3 05:26:46 v1.3.2-dev.4 05:26:46 v1.3.2-dev.5 05:26:46 v1.3.2-dev.6 05:26:46 v1.3.2-dev.7 05:26:46 v1.3.2-dev.8 05:26:46 v1.3.2-dev.9 [Pipeline] sh 05:26:46 + lftools sign git-tag v1.3.2-dev.17 05:26:47 Signing Git tag with Sigul... 05:26:47 Signing v1.3.2-dev.17 [Pipeline] echo 05:26:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:26:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:26:48 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:26:48 $ docker stop --time=1 5bf747a8b82d2c5f76423bd897c24cb444065ff45c78b903b7f666899fff007e 05:26:51 $ docker rm -f 5bf747a8b82d2c5f76423bd897c24cb444065ff45c78b903b7f666899fff007e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 05:26:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:26:51 . [Pipeline] withDockerContainer 05:26:51 prd-centos7-docker-4c-2g-240 does not seem to be running inside a container 05:26:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:26:52 $ docker top 084efcf51386460152eb1bfbc532a608c270ef19403ba990d7ec1630d10f9c0e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:26:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:26:52 [ssh-agent] Looking for ssh-agent implementation... 05:26:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:26:52 $ docker exec 084efcf51386460152eb1bfbc532a608c270ef19403ba990d7ec1630d10f9c0e ssh-agent 05:26:52 SSH_AUTH_SOCK=/tmp/ssh-6eC4xzoaWBTD/agent.14 05:26:52 SSH_AGENT_PID=21 05:26:52 Running ssh-add (command line suppressed) 05:26:52 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5025154523615582583.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5025154523615582583.key) 05:26:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:26:53 + git semver bump pre 05:26:53 # -> Open(): unable to determine branch for HEAD 05:26:53 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 05:26:53 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 05:26:53 # $SEMVER_REMOTE_NAME = origin 05:26:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:26:53 # $SEMVER_USER_NAME = edgex-jenkins 05:26:53 # $SEMVER_BRANCH = master 05:26:53 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 05:26:53 1.3.2-dev.18 [Pipeline] } 05:26:53 $ docker exec --env ******** --env ******** 084efcf51386460152eb1bfbc532a608c270ef19403ba990d7ec1630d10f9c0e ssh-agent -k 05:26:53 unset SSH_AUTH_SOCK; 05:26:53 unset SSH_AGENT_PID; 05:26:53 echo Agent pid 21 killed; 05:26:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:26:53 + git semver [Pipeline] } 05:26:53 $ docker stop --time=1 084efcf51386460152eb1bfbc532a608c270ef19403ba990d7ec1630d10f9c0e 05:26:54 $ docker rm -f 084efcf51386460152eb1bfbc532a608c270ef19403ba990d7ec1630d10f9c0e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 05:26:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:26:55 . [Pipeline] withDockerContainer 05:26:55 prd-centos7-docker-4c-2g-240 does not seem to be running inside a container 05:26:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:26:55 $ docker top 7a1902196ba50d1c17efdc2f606aa4b9414180bbce2648287d1212d533d18461 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:26:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:26:55 [ssh-agent] Looking for ssh-agent implementation... 05:26:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:26:56 $ docker exec 7a1902196ba50d1c17efdc2f606aa4b9414180bbce2648287d1212d533d18461 ssh-agent 05:26:56 SSH_AUTH_SOCK=/tmp/ssh-WmzhbfO2NS0e/agent.14 05:26:56 SSH_AGENT_PID=21 05:26:56 Running ssh-add (command line suppressed) 05:26:56 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6217177457182610986.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6217177457182610986.key) 05:26:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:26:56 + git semver push 05:26:56 # -> Open(): unable to determine branch for HEAD 05:26:56 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 05:26:56 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 05:26:56 # $SEMVER_REMOTE_NAME = origin 05:26:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:26:56 # $SEMVER_USER_NAME = edgex-jenkins 05:26:56 # $SEMVER_BRANCH = master 05:26:56 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 05:27:00 $ docker exec --env ******** --env ******** 7a1902196ba50d1c17efdc2f606aa4b9414180bbce2648287d1212d533d18461 ssh-agent -k 05:27:00 unset SSH_AUTH_SOCK; 05:27:00 unset SSH_AGENT_PID; 05:27:00 echo Agent pid 21 killed; 05:27:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:27:01 + git semver [Pipeline] } 05:27:01 $ docker stop --time=1 7a1902196ba50d1c17efdc2f606aa4b9414180bbce2648287d1212d533d18461 05:27:02 $ docker rm -f 7a1902196ba50d1c17efdc2f606aa4b9414180bbce2648287d1212d533d18461 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 05:27:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:27:04 ---> package-listing.sh 05:27:04 ++ facter osfamily 05:27:04 ++ tr '[:upper:]' '[:lower:]' 05:27:04 + OS_FAMILY=redhat 05:27:04 + workspace=/w/workspace/gexfoundry_device-mqtt-go_master 05:27:04 + START_PACKAGES=/tmp/packages_start.txt 05:27:04 + END_PACKAGES=/tmp/packages_end.txt 05:27:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:27:04 + PACKAGES=/tmp/packages_start.txt 05:27:04 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 05:27:04 + PACKAGES=/tmp/packages_end.txt 05:27:04 + case "${OS_FAMILY}" in 05:27:04 + sort 05:27:04 + rpm -qa 05:27:05 + '[' -f /tmp/packages_start.txt ']' 05:27:05 + '[' -f /tmp/packages_end.txt ']' 05:27:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:27:05 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 05:27:05 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ 05:27:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo 05:27:05 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_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:27:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:27:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:27:06 05:27:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:27:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:27:06 alpine: Pulling from edgex-lftools-log-publisher 05:27:06 df20fa9351a1: Pulling fs layer 05:27:06 36b3adc4ff6f: Pulling fs layer 05:27:06 8ad3a11d3b57: Pulling fs layer 05:27:06 46f8f816bc3b: Pulling fs layer 05:27:06 93b61091891f: Pulling fs layer 05:27:06 93b9cdb0e59b: Pulling fs layer 05:27:06 5e14af77c1be: Pulling fs layer 05:27:06 01666e4c0597: Pulling fs layer 05:27:06 aa168da1d23b: Pulling fs layer 05:27:06 93b9cdb0e59b: Waiting 05:27:06 5e14af77c1be: Waiting 05:27:06 01666e4c0597: Waiting 05:27:06 aa168da1d23b: Waiting 05:27:06 46f8f816bc3b: Waiting 05:27:06 93b61091891f: Waiting 05:27:06 36b3adc4ff6f: Verifying Checksum 05:27:06 36b3adc4ff6f: Download complete 05:27:06 46f8f816bc3b: Verifying Checksum 05:27:06 46f8f816bc3b: Download complete 05:27:07 df20fa9351a1: Verifying Checksum 05:27:07 df20fa9351a1: Download complete 05:27:07 93b61091891f: Verifying Checksum 05:27:07 93b61091891f: Download complete 05:27:07 93b9cdb0e59b: Verifying Checksum 05:27:07 93b9cdb0e59b: Download complete 05:27:07 5e14af77c1be: Verifying Checksum 05:27:07 5e14af77c1be: Download complete 05:27:07 01666e4c0597: Verifying Checksum 05:27:07 01666e4c0597: Download complete 05:27:07 df20fa9351a1: Pull complete 05:27:07 36b3adc4ff6f: Pull complete 05:27:07 8ad3a11d3b57: Verifying Checksum 05:27:07 8ad3a11d3b57: Download complete 05:27:08 8ad3a11d3b57: Pull complete 05:27:08 46f8f816bc3b: Pull complete 05:27:08 93b61091891f: Pull complete 05:27:08 93b9cdb0e59b: Pull complete 05:27:08 5e14af77c1be: Pull complete 05:27:08 01666e4c0597: Pull complete 05:27:10 aa168da1d23b: Verifying Checksum 05:27:10 aa168da1d23b: Download complete 05:27:15 aa168da1d23b: Pull complete 05:27:15 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:27:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:27:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:27:15 prd-centos7-docker-4c-2g-240 does not seem to be running inside a container 05:27:15 $ 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_master/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_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 05:27:19 $ docker top 4f25bd1f946f982c1844ef58cdcee1e45c065af166134c3eaf6666f930615938 -eo pid,comm [Pipeline] { [Pipeline] sh 05:27:19 + touch /tmp/pre-build-complete [Pipeline] sh 05:27:19 + mkdir -p /var/log/sa [Pipeline] sh 05:27:20 + ls /var/log/sa-host 05:27:20 + sadf -c /var/log/sa-host/sa03 05:27:20 file_magic: OK 05:27:20 HZ: Using current value: 100 05:27:20 file_header: OK 05:27:20 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 05:27:20 Statistics: 05:27:20 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:27:20 File successfully converted to sysstat format version 12.2.1 05:27:20 + sadf -c /var/log/sa-host/sa05 05:27:20 file_magic: OK 05:27:20 HZ: Using current value: 100 05:27:20 file_header: OK 05:27:20 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 05:27:20 Statistics: 05:27:20 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:27:20 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:27:20 provisioning config files... 05:27:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config5205891434450362250tmp [Pipeline] { [Pipeline] echo 05:27:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:27:21 ---> create-netrc.sh [Pipeline] } 05:27:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:27:21 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:27:21 ---> python-tools-install.sh [Pipeline] echo 05:27:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:27:21 ---> sudo-logs.sh 05:27:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:27:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:27:22 ---> job-cost.sh 05:27:22 lf-activate-venv: SKIPPING 05:27:22 DEBUG: total: 0.18000000715255737 05:27:22 INFO: Retrieving Stack Cost... 05:27:22 INFO: Retrieving Pricing Info for: v3-standard-2 05:27:23 INFO: Archiving Costs [Pipeline] echo 05:27:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:27:23 ---> logs-deploy.sh 05:27:23 lf-activate-venv: SKIPPING 05:27:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/49 05:27:23 INFO: archiving workspace using pattern(s): 05:27:24 Archives upload complete. 05:27:24 INFO: archiving logs to Nexus 05:27:25 ---> uname -a: 05:27:25 Linux prd-centos7-docker-4c-2g-240.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 05:27:25 05:27:25 05:27:25 ---> lscpu: 05:27:25 Architecture: x86_64 05:27:25 CPU op-mode(s): 32-bit, 64-bit 05:27:25 Byte Order: Little Endian 05:27:25 Address sizes: 40 bits physical, 48 bits virtual 05:27:25 CPU(s): 2 05:27:25 On-line CPU(s) list: 0,1 05:27:25 Thread(s) per core: 1 05:27:25 Core(s) per socket: 1 05:27:25 Socket(s): 2 05:27:25 NUMA node(s): 1 05:27:25 Vendor ID: AuthenticAMD 05:27:25 CPU family: 23 05:27:25 Model: 49 05:27:25 Model name: AMD EPYC-Rome Processor 05:27:25 Stepping: 0 05:27:25 CPU MHz: 2800.000 05:27:25 BogoMIPS: 5600.00 05:27:25 Virtualization: AMD-V 05:27:25 Hypervisor vendor: KVM 05:27:25 Virtualization type: full 05:27:25 L1d cache: 64 KiB 05:27:25 L1i cache: 64 KiB 05:27:25 L2 cache: 1 MiB 05:27:25 L3 cache: 32 MiB 05:27:25 NUMA node0 CPU(s): 0,1 05:27:25 Vulnerability Itlb multihit: Not affected 05:27:25 Vulnerability L1tf: Not affected 05:27:25 Vulnerability Mds: Not affected 05:27:25 Vulnerability Meltdown: Not affected 05:27:25 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:27:25 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 05:27:25 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 05:27:25 Vulnerability Srbds: Not affected 05:27:25 Vulnerability Tsx async abort: Not affected 05:27:25 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 05:27:25 05:27:25 05:27:25 ---> nproc: 05:27:25 2 05:27:25 05:27:25 05:27:25 ---> df -h: 05:27:25 Filesystem Size Used Available Use% Mounted on 05:27:25 overlay 40.0G 8.9G 31.1G 22% / 05:27:25 tmpfs 64.0M 0 64.0M 0% /dev 05:27:25 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 05:27:25 shm 64.0M 0 64.0M 0% /dev/shm 05:27:25 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 05:27:25 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 05:27:25 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 05:27:25 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 05:27:25 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-mqtt-go_master@tmp 05:27:25 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 05:27:25 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 05:27:25 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 05:27:25 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 05:27:25 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-mqtt-go_master 05:27:25 05:27:25 05:27:25 ---> free -m: 05:27:25 total used free shared buff/cache available 05:27:25 Mem: 7821 1276 3160 0 3384 6462 05:27:25 Swap: 1023 0 1023 05:27:25 05:27:25 05:27:25 ---> ip addr: 05:27:25 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 05:27:25 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 05:27:25 inet 127.0.0.1/8 scope host lo 05:27:25 valid_lft forever preferred_lft forever 05:27:25 inet6 ::1/128 scope host 05:27:25 valid_lft forever preferred_lft forever 05:27:25 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 05:27:25 link/ether fa:16:3e:47:e0:49 brd ff:ff:ff:ff:ff:ff 05:27:25 inet 10.30.123.203/23 brd 10.30.123.255 scope global dynamic eth0 05:27:25 valid_lft 85716sec preferred_lft 85716sec 05:27:25 inet6 fe80::f816:3eff:fe47:e049/64 scope link 05:27:25 valid_lft forever preferred_lft forever 05:27:25 3: docker0: mtu 1500 qdisc noqueue state DOWN 05:27:25 link/ether 02:42:2a:d7:68:f1 brd ff:ff:ff:ff:ff:ff 05:27:25 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 05:27:25 valid_lft forever preferred_lft forever 05:27:25 inet6 fe80::42:2aff:fed7:68f1/64 scope link 05:27:25 valid_lft forever preferred_lft forever 05:27:25 05:27:25 05:27:25 ---> sar -b -r -n DEV: 05:27:25 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/03/21 _x86_64_ (2 CPU) 05:27:25 05:27:25 05:15:42 LINUX RESTART (2 CPU) 05:27:25 05:27:25 05:17:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:27:25 05:18:01 3.45 0.02 3.43 0.00 0.53 117.95 0.00 05:27:25 05:19:01 0.42 0.00 0.42 0.00 0.00 6.23 0.00 05:27:25 05:20:01 0.27 0.00 0.27 0.00 0.00 3.62 0.00 05:27:25 05:21:01 0.18 0.00 0.18 0.00 0.00 2.97 0.00 05:27:25 05:22:01 0.30 0.00 0.30 0.00 0.00 5.05 0.00 05:27:25 05:23:01 0.33 0.00 0.33 0.00 0.00 5.03 0.00 05:27:25 05:24:01 0.13 0.00 0.13 0.00 0.00 2.28 0.00 05:27:25 05:25:01 0.28 0.00 0.28 0.00 0.00 3.53 0.00 05:27:25 05:26:01 66.34 0.03 66.31 0.00 3.73 29044.18 0.00 05:27:25 05:27:01 141.02 0.00 141.02 0.00 0.00 31867.48 0.00 05:27:25 Average: 21.28 0.00 21.27 0.00 0.43 6107.35 0.00 05:27:25 05:27:25 05:17:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:27:25 05:18:01 5468084 0 801696 10.01 2620 1736540 1231500 13.60 571588 1571984 20 05:27:25 05:19:01 5467608 0 802164 10.02 2620 1736548 1231512 13.60 564056 1579704 8 05:27:25 05:20:01 5465756 0 804016 10.04 2620 1736548 1231644 13.60 565732 1579700 16 05:27:25 05:21:01 5471356 0 798412 9.97 2620 1736552 1203492 13.29 560264 1580508 16 05:27:25 05:22:01 5467332 0 802428 10.02 2620 1736560 1203760 13.29 564304 1580508 16 05:27:25 05:23:01 5466448 0 803312 10.03 2620 1736560 1203800 13.29 565380 1580508 20 05:27:25 05:24:01 5456664 0 813088 10.15 2620 1736568 1203884 13.29 574916 1580508 8 05:27:25 05:25:01 5456912 0 812832 10.15 2620 1736576 1203620 13.29 574784 1580508 8 05:27:25 05:26:01 4572876 0 978736 12.22 2620 2454708 1499540 16.56 714420 2237220 28 05:27:25 05:27:01 3724648 0 1223068 15.27 2620 3058604 1625468 17.95 941748 2704096 60 05:27:25 Average: 5201768 0 863975 10.79 2620 1940576 1283822 14.17 619719 1757524 20 05:27:25 05:27:25 05:17:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:27:25 05:18:01 eth0 4.76 1.87 3.36 0.25 0.00 0.00 0.00 0.00 05:27:25 05:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:27:25 05:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:27:25 05:19:01 eth0 2.27 0.50 0.68 0.39 0.00 0.00 0.00 0.00 05:27:25 05:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:27:25 05:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:27:25 05:20:01 eth0 1.83 0.72 0.84 0.61 0.00 0.00 0.00 0.00 05:27:25 05:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:27:25 05:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:27:25 05:21:01 eth0 0.55 0.08 0.06 0.04 0.00 0.00 0.00 0.00 05:27:25 05:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:27:25 05:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:27:25 05:22:01 eth0 1.40 0.42 0.46 0.27 0.00 0.00 0.00 0.00 05:27:25 05:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:27:25 05:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:27:25 05:23:01 eth0 1.03 0.33 0.32 0.20 0.00 0.00 0.00 0.00 05:27:25 05:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:27:25 05:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:27:25 05:24:01 eth0 0.57 0.30 0.28 0.20 0.00 0.00 0.00 0.00 05:27:25 05:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:27:25 05:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:27:25 05:25:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 05:27:25 05:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:27:25 05:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:27:25 05:26:01 veth65f9757 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 05:27:25 05:26:01 eth0 424.68 393.27 4080.90 32.50 0.00 0.00 0.00 0.00 05:27:25 05:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:27:25 05:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:27:25 05:27:01 vetha8e90e6 1.98 1.45 0.33 0.31 0.00 0.00 0.00 0.00 05:27:25 05:27:01 eth0 533.59 478.97 3915.25 131.32 0.00 0.00 0.00 0.00 05:27:25 05:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:27:25 05:27:01 docker0 101.83 109.16 7.54 653.20 0.00 0.00 0.00 0.00 05:27:25 Average: vetha8e90e6 0.20 0.14 0.03 0.03 0.00 0.00 0.00 0.00 05:27:25 Average: eth0 97.11 87.68 800.42 16.58 0.00 0.00 0.00 0.00 05:27:25 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:27:25 Average: docker0 10.19 10.92 0.75 65.34 0.00 0.00 0.00 0.00 05:27:25 05:27:25 05:27:25 ---> sar -P ALL: 05:27:25 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/03/21 _x86_64_ (2 CPU) 05:27:25 05:27:25 05:15:42 LINUX RESTART (2 CPU) 05:27:25 05:27:25 05:17:01 CPU %user %nice %system %iowait %steal %idle 05:27:25 05:18:01 all 0.14 0.00 0.05 0.00 0.03 99.78 05:27:25 05:18:01 0 0.22 0.00 0.03 0.00 0.00 99.75 05:27:25 05:18:01 1 0.07 0.00 0.07 0.00 0.05 99.82 05:27:25 05:19:01 all 0.13 0.00 0.05 0.00 0.02 99.80 05:27:25 05:19:01 0 0.15 0.00 0.02 0.00 0.02 99.82 05:27:25 05:19:01 1 0.12 0.00 0.08 0.00 0.02 99.78 05:27:25 05:20:01 all 0.08 0.00 0.03 0.00 0.03 99.85 05:27:25 05:20:01 0 0.08 0.00 0.03 0.00 0.03 99.85 05:27:25 05:20:01 1 0.08 0.00 0.03 0.00 0.03 99.85 05:27:25 05:21:01 all 0.07 0.00 0.03 0.00 0.02 99.88 05:27:25 05:21:01 0 0.07 0.00 0.05 0.00 0.02 99.87 05:27:25 05:21:01 1 0.07 0.00 0.02 0.00 0.02 99.90 05:27:25 05:22:01 all 0.10 0.00 0.02 0.00 0.03 99.86 05:27:25 05:22:01 0 0.15 0.00 0.02 0.00 0.03 99.80 05:27:25 05:22:01 1 0.05 0.00 0.02 0.00 0.02 99.92 05:27:25 05:23:01 all 0.12 0.00 0.03 0.00 0.03 99.82 05:27:25 05:23:01 0 0.17 0.00 0.02 0.00 0.03 99.78 05:27:25 05:23:01 1 0.07 0.00 0.03 0.00 0.03 99.87 05:27:25 05:24:01 all 0.14 0.00 0.04 0.00 0.02 99.80 05:27:25 05:24:01 0 0.05 0.00 0.03 0.00 0.03 99.88 05:27:25 05:24:01 1 0.23 0.00 0.05 0.00 0.00 99.72 05:27:25 05:25:01 all 0.16 0.00 0.03 0.00 0.02 99.80 05:27:25 05:25:01 0 0.05 0.00 0.03 0.00 0.02 99.90 05:27:25 05:25:01 1 0.27 0.00 0.02 0.00 0.02 99.70 05:27:25 05:26:01 all 7.81 0.00 3.47 3.48 0.05 85.19 05:27:25 05:26:01 0 7.81 0.00 3.77 4.99 0.05 83.38 05:27:25 05:26:01 1 7.81 0.00 3.16 1.98 0.05 86.99 05:27:25 05:27:01 all 16.61 0.00 7.39 8.71 0.10 67.20 05:27:25 05:27:01 0 14.76 0.00 7.40 10.47 0.11 67.26 05:27:25 05:27:01 1 18.45 0.00 7.38 6.96 0.09 67.13 05:27:25 Average: all 2.46 0.00 1.08 1.18 0.03 95.25 05:27:25 Average: 0 2.28 0.00 1.10 1.50 0.03 95.09 05:27:25 Average: 1 2.63 0.00 1.05 0.86 0.03 95.42 05:27:25 05:27:25 05:27:25