Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from efb367450ad80b3e18697bc790f198e4b3e468b1 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-ssh6438527349870668984.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --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-ssh6982221282672989701.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 9d0281235b943b7ad605f650702698f9078b2862 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-ssh7970374004451925262.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh4990802103353989537.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-ssh4396922693704010341.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-14870 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 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git Avoid second fetch Checking out Revision efb367450ad80b3e18697bc790f198e4b3e468b1 (master) > 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-ssh1389500059807232410.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 efb367450ad80b3e18697bc790f198e4b3e468b1 # timeout=10 Commit message: "Merge pull request #247 from lenny-intel/service-keys" > git rev-list --no-walk 7449b2aa7b51ce87674ebf74544798bad0e4f615 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:55:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:55:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:55:15 ========================================================= 22:55:15 EdgeX Global Pipelines Version Info 22:55:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:55:17 ------------------- 22:55:17 stable info: 22:55:17 ------------------- 22:55:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:55:17 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 22:55:17 Message: update stable to v1.0.192 22:55:17 ------------------- 22:55:17 experimental info: 22:55:17 ------------------- 22:55:17 Commited By: **** collab-it+edgex@linuxfoundation.org 22:55:17 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 22:55:17 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:55:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 22:55:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 22:55:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:55:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:55:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = efb367450ad80b3e18697bc790f198e4b3e468b1 [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = efb3674 [Pipeline] echo 22:55:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:55:18 provisioning config files... 22:55:18 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7538375238116861724tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:55:19 ---> docker-login.sh 22:55:19 nexus3.edgexfoundry.org:10001 22:55:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:19 Configure a credential helper to remove this warning. See 22:55:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:19 22:55:19 Login Succeeded 22:55:19 nexus3.edgexfoundry.org:10002 22:55:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:19 Configure a credential helper to remove this warning. See 22:55:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:19 22:55:19 Login Succeeded 22:55:19 nexus3.edgexfoundry.org:10003 22:55:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:19 Configure a credential helper to remove this warning. See 22:55:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:19 22:55:19 Login Succeeded 22:55:19 nexus3.edgexfoundry.org:10004 22:55:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:19 Configure a credential helper to remove this warning. See 22:55:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:19 22:55:19 Login Succeeded 22:55:19 docker.io 22:55:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:19 Configure a credential helper to remove this warning. See 22:55:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:19 22:55:19 Login Succeeded 22:55:19 ---> docker-login.sh ends [Pipeline] } 22:55:19 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 22:55:20 + git log --format=format:%s -1 efb367450ad80b3e18697bc790f198e4b3e468b1 [Pipeline] echo 22:55:20 GIT_COMMIT: efb367450ad80b3e18697bc790f198e4b3e468b1, Commit Message: Merge pull request #247 from lenny-intel/service-keys [Pipeline] echo 22:55:20 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:55:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:55:20 22:55:20 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:55:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:55:21 latest: Pulling from edgex-devops/git-semver 22:55:21 31603596830f: Pulling fs layer 22:55:21 54011a49482f: Pulling fs layer 22:55:21 a6820b24f6d8: Pulling fs layer 22:55:21 f581987b2513: Pulling fs layer 22:55:21 f581987b2513: Waiting 22:55:21 54011a49482f: Verifying Checksum 22:55:21 54011a49482f: Download complete 22:55:21 31603596830f: Verifying Checksum 22:55:21 31603596830f: Download complete 22:55:21 f581987b2513: Verifying Checksum 22:55:21 f581987b2513: Download complete 22:55:21 a6820b24f6d8: Verifying Checksum 22:55:21 a6820b24f6d8: Download complete 22:55:21 31603596830f: Pull complete 22:55:21 54011a49482f: Pull complete 22:55:22 a6820b24f6d8: Pull complete 22:55:22 f581987b2513: Pull complete 22:55:22 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 22:55:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:55:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:55:22 prd-centos7-docker-4c-2g-14870 does not seem to be running inside a container 22:55:22 $ 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 22:55:23 $ docker top ab258a77c7dacc2e3362f86cc943819ffae68c88737315912ff0ee2866e11535 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:55:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:55:23 [ssh-agent] Looking for ssh-agent implementation... 22:55:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:55:24 $ docker exec ab258a77c7dacc2e3362f86cc943819ffae68c88737315912ff0ee2866e11535 ssh-agent 22:55:24 SSH_AUTH_SOCK=/tmp/ssh-VHfIxr0JwrqR/agent.14 22:55:24 SSH_AGENT_PID=20 22:55:24 Running ssh-add (command line suppressed) 22:55:24 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_153520065924029373.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_153520065924029373.key) 22:55:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:55:24 + git tag --points-at HEAD [Pipeline] } 22:55:24 $ docker exec --env ******** --env ******** ab258a77c7dacc2e3362f86cc943819ffae68c88737315912ff0ee2866e11535 ssh-agent -k 22:55:24 unset SSH_AUTH_SOCK; 22:55:24 unset SSH_AGENT_PID; 22:55:24 echo Agent pid 20 killed; 22:55:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:55:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:55:24 [ssh-agent] Looking for ssh-agent implementation... 22:55:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:55:24 $ docker exec ab258a77c7dacc2e3362f86cc943819ffae68c88737315912ff0ee2866e11535 ssh-agent 22:55:24 SSH_AUTH_SOCK=/tmp/ssh-vwTvH3ytSAMm/agent.55 22:55:24 SSH_AGENT_PID=61 22:55:25 Running ssh-add (command line suppressed) 22:55:25 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5158241154400895346.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5158241154400895346.key) 22:55:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:55:25 + git semver init 22:55:25 # -> Open(): unable to determine branch for HEAD 22:55:25 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 22:55:25 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 22:55:25 # $SEMVER_REMOTE_NAME = origin 22:55:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:55:25 # $SEMVER_USER_NAME = edgex-jenkins 22:55:25 # $SEMVER_BRANCH = master 22:55:25 # $SEMVER_TEMP = /tmp/semver-160294374 22:55:25 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 22:55:25 # '/tmp/semver-160294374' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' 22:55:25 # -> Force: false 22:55:25 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 22:55:25 $ docker exec --env ******** --env ******** ab258a77c7dacc2e3362f86cc943819ffae68c88737315912ff0ee2866e11535 ssh-agent -k 22:55:25 unset SSH_AUTH_SOCK; 22:55:25 unset SSH_AGENT_PID; 22:55:25 echo Agent pid 61 killed; 22:55:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:55:26 + git semver [Pipeline] } 22:55:26 $ docker stop --time=1 ab258a77c7dacc2e3362f86cc943819ffae68c88737315912ff0ee2866e11535 22:55:27 $ docker rm -f ab258a77c7dacc2e3362f86cc943819ffae68c88737315912ff0ee2866e11535 [Pipeline] // withDockerContainer [Pipeline] sh 22:55:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:55:28 Stashed 1 file(s) [Pipeline] echo 22:55:28 [edgeXSemver]: initialized semver on version 1.3.2-dev.12 [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 22:55:43 Still waiting to schedule task 22:55:43 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:55:43 Still waiting to schedule task 22:55:43 ‘prd-ubuntu18.04-docker-arm64-4c-16g-14869’ is offline 22:56:23 Running on prd-centos7-docker-4c-2g-14876 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 22:56:23 Running in /w/workspace/device-mqtt-go/44 [Pipeline] { [Pipeline] checkout 22:56:23 Selected Git installation does not exist. Using Default 22:56:23 The recommended git tool is: NONE 22:56:25 using credential edgex-jenkins-ssh 22:56:25 Cloning the remote Git repository 22:56:26 Avoid second fetch 22:56:26 Checking out Revision efb367450ad80b3e18697bc790f198e4b3e468b1 (master) 22:56:25 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 22:56:25 > git init /w/workspace/device-mqtt-go/44 # timeout=10 22:56:26 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 22:56:26 > git --version # timeout=10 22:56:26 > git --version # 'git version 2.24.4' 22:56:26 using GIT_SSH to set credentials SSH Credentials for GitHub 22:56:26 [INFO] Currently running in a labeled security context 22:56:26 [INFO] Currently SELinux is 'enforcing' on the host 22:56:26 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/44@tmp/jenkins-gitclient-ssh5966139231911647476.key 22:56:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:56:26 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 22:56:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:56:26 > git config core.sparsecheckout # timeout=10 22:56:26 > git checkout -f efb367450ad80b3e18697bc790f198e4b3e468b1 # timeout=10 22:56:30 Commit message: "Merge pull request #247 from lenny-intel/service-keys" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:56:31 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:56:31 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:56:31 + sudo service docker restart 22:56:31 + true 22:56:31 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:56:49 provisioning config files... 22:56:49 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/44@tmp/config7376598843378715676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:56:50 ---> docker-login.sh 22:56:50 nexus3.edgexfoundry.org:10001 22:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:50 Configure a credential helper to remove this warning. See 22:56:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:50 22:56:50 Login Succeeded 22:56:50 nexus3.edgexfoundry.org:10002 22:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:50 Configure a credential helper to remove this warning. See 22:56:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:50 22:56:50 Login Succeeded 22:56:50 nexus3.edgexfoundry.org:10003 22:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:50 Configure a credential helper to remove this warning. See 22:56:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:50 22:56:50 Login Succeeded 22:56:50 nexus3.edgexfoundry.org:10004 22:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:50 Configure a credential helper to remove this warning. See 22:56:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:50 22:56:50 Login Succeeded 22:56:50 docker.io 22:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:51 Configure a credential helper to remove this warning. See 22:56:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:51 22:56:51 Login Succeeded 22:56:51 ---> docker-login.sh ends [Pipeline] } 22:56:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:56:51 ========================================================= 22:56:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 22:56:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:56:51 + 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 . 22:56:51 Sending build context to Docker daemon 545.3kB 22:56:51 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 22:56:51 Step 2/8 : FROM ${BASE} 22:56:51 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 22:56:51 540db60ca938: Pulling fs layer 22:56:51 adcc1eea9eea: Pulling fs layer 22:56:51 4c4ab2625f07: Pulling fs layer 22:56:51 0510c868ecb4: Pulling fs layer 22:56:51 afea3b2eda06: Pulling fs layer 22:56:51 7809a108b3ef: Pulling fs layer 22:56:51 f706445af74f: Pulling fs layer 22:56:51 0510c868ecb4: Waiting 22:56:51 afea3b2eda06: Waiting 22:56:51 7809a108b3ef: Waiting 22:56:51 f706445af74f: Waiting 22:56:51 4c4ab2625f07: Download complete 22:56:52 adcc1eea9eea: Verifying Checksum 22:56:52 adcc1eea9eea: Download complete 22:56:52 afea3b2eda06: Verifying Checksum 22:56:52 afea3b2eda06: Download complete 22:56:52 7809a108b3ef: Verifying Checksum 22:56:52 7809a108b3ef: Download complete 22:56:52 540db60ca938: Verifying Checksum 22:56:52 540db60ca938: Download complete 22:56:52 540db60ca938: Pull complete 22:56:52 adcc1eea9eea: Pull complete 22:56:52 4c4ab2625f07: Pull complete 22:56:53 f706445af74f: Verifying Checksum 22:56:53 f706445af74f: Download complete 22:56:53 0510c868ecb4: Verifying Checksum 22:56:53 0510c868ecb4: Download complete 22:56:57 0510c868ecb4: Pull complete 22:56:57 afea3b2eda06: Pull complete 22:56:57 7809a108b3ef: Pull complete 22:56:58 f706445af74f: Pull complete 22:56:58 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 22:56:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 22:56:58 ---> b068be0155e3 22:56:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 22:57:02 ---> Running in 9ddf4c355bd1 22:57:02 Removing intermediate container 9ddf4c355bd1 22:57:02 ---> 0a5d87ffdaf7 22:57:02 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:57:02 ---> Running in dd24fcd8e505 22:57:03 Removing intermediate container dd24fcd8e505 22:57:03 ---> 1e27fdd88dc0 22:57:03 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:57:03 ---> Running in fc2349f0cce0 22:57:03 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:57:04 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:57:04 (1/13) Installing libc-dev (0.7.2-r3) 22:57:04 (2/13) Installing libsodium (1.0.18-r0) 22:57:04 (3/13) Installing pkgconf (1.7.3-r0) 22:57:04 (4/13) Installing libsodium-dev (1.0.18-r0) 22:57:04 (5/13) Installing openssh-keygen (8.4_p1-r3) 22:57:05 (6/13) Installing libedit (20191231.3.1-r1) 22:57:05 (7/13) Installing openssh-client (8.4_p1-r3) 22:57:05 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 22:57:05 (9/13) Installing openssh-server-common (8.4_p1-r3) 22:57:05 (10/13) Installing openssh-server (8.4_p1-r3) 22:57:05 (11/13) Installing openssh (8.4_p1-r3) 22:57:05 (12/13) Installing libzmq (4.3.3-r1) 22:57:05 (13/13) Installing zeromq-dev (4.3.3-r1) 22:57:05 Executing busybox-1.32.1-r6.trigger 22:57:05 OK: 156 MiB in 53 packages 22:57:06 Removing intermediate container fc2349f0cce0 22:57:06 ---> 942745a63a6e 22:57:06 Step 6/8 : WORKDIR /device-mqtt-go 22:57:06 ---> Running in 3306407ff2be 22:57:06 Removing intermediate container 3306407ff2be 22:57:06 ---> 595cccf7bf32 22:57:06 Step 7/8 : COPY . . 22:57:06 ---> b67ad116eeb2 22:57:06 Step 8/8 : RUN go mod download 22:57:06 ---> Running in 7655f8eb7169 22:57:24 Removing intermediate container 7655f8eb7169 22:57:24 ---> 82985beaaff2 22:57:24 Successfully built 82985beaaff2 22:57:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:57:25 + docker inspect -f . ci-base-image-x86_64 22:57:25 . [Pipeline] withDockerContainer 22:57:25 prd-centos7-docker-4c-2g-14876 does not seem to be running inside a container 22:57:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/44 -v /w/workspace/device-mqtt-go/44:/w/workspace/device-mqtt-go/44:rw,z -v /w/workspace/device-mqtt-go/44@tmp:/w/workspace/device-mqtt-go/44@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:57:25 $ docker top ef277144a61a39da0deb1ced17d386740e9e6c4c00e5e7275fae7f8fed91a856 -eo pid,comm [Pipeline] { [Pipeline] sh 22:57:26 + go version 22:57:26 go version go1.16.3 linux/amd64 [Pipeline] } 22:57:26 $ docker stop --time=1 ef277144a61a39da0deb1ced17d386740e9e6c4c00e5e7275fae7f8fed91a856 22:57:27 $ docker rm -f ef277144a61a39da0deb1ced17d386740e9e6c4c00e5e7275fae7f8fed91a856 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:57:27 + docker inspect -f . ci-base-image-x86_64 22:57:27 . [Pipeline] withDockerContainer 22:57:27 prd-centos7-docker-4c-2g-14876 does not seem to be running inside a container 22:57:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/44 -v /w/workspace/device-mqtt-go/44:/w/workspace/device-mqtt-go/44:rw,z -v /w/workspace/device-mqtt-go/44@tmp:/w/workspace/device-mqtt-go/44@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:57:28 $ docker top 0de3799c9dba9e6df77ca2d3cfb3189ee0a4a77ca9becc4b2a0634c85c654444 -eo pid,comm [Pipeline] { [Pipeline] sh 22:57:28 + go mod tidy [Pipeline] sh 22:57:29 + make test 22:57:29 go mod tidy 22:57:29 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:57:30 ? github.com/edgexfoundry/device-mqtt-go [no test files] 22:57:45 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 22:57:46 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 24.9% of statements 22:57:46 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 22:57:46 GCO_ENABLED=1 GO111MODULE=on go vet ./... 22:57:53 gofmt -l . 22:57:53 ["`gofmt -l .`" = ""] 22:57:53 ./bin/test-attribution-txt.sh 22:57:53 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:57:53 $ docker stop --time=1 0de3799c9dba9e6df77ca2d3cfb3189ee0a4a77ca9becc4b2a0634c85c654444 22:57:54 $ docker rm -f 0de3799c9dba9e6df77ca2d3cfb3189ee0a4a77ca9becc4b2a0634c85c654444 [Pipeline] // withDockerContainer [Pipeline] sh 22:57:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:57:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:57:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:57:57 + ls -al . 22:57:57 total 108 22:57:57 drwxrwxr-x. 9 jenkins jenkins 4096 May 18 22:57 . 22:57:57 drwxrwxr-x. 4 jenkins jenkins 30 May 18 22:56 .. 22:57:57 -rw-rw-r--. 1 jenkins jenkins 7100 May 18 22:56 Attribution.txt 22:57:57 drwxrwxr-x. 2 jenkins jenkins 87 May 18 22:56 bin 22:57:57 drwxrwxr-x. 3 jenkins jenkins 32 May 18 22:56 cmd 22:57:57 -rw-r--r--. 1 jenkins jenkins 19386 May 18 22:57 coverage.out 22:57:57 -rw-rw-r--. 1 jenkins jenkins 1877 May 18 22:56 Dockerfile 22:57:57 -rw-rw-r--. 1 jenkins jenkins 994 May 18 22:56 Dockerfile.build 22:57:57 -rw-rw-r--. 1 jenkins jenkins 140 May 18 22:56 .dockerignore 22:57:57 drwxrwxr-x. 8 jenkins jenkins 162 May 18 22:56 .git 22:57:57 drwxrwxr-x. 2 jenkins jenkins 103 May 18 22:56 .github 22:57:57 -rw-rw-r--. 1 jenkins jenkins 336 May 18 22:56 .gitignore 22:57:57 -rw-r--r--. 1 jenkins jenkins 409 May 18 22:57 go.mod 22:57:57 -rw-r--r--. 1 jenkins jenkins 21382 May 18 22:57 go.sum 22:57:57 drwxrwxr-x. 3 jenkins jenkins 20 May 18 22:56 internal 22:57:57 -rw-rw-r--. 1 jenkins jenkins 677 May 18 22:56 Jenkinsfile 22:57:57 -rw-rw-r--. 1 jenkins jenkins 11340 May 18 22:56 LICENSE 22:57:57 -rw-rw-r--. 1 jenkins jenkins 934 May 18 22:56 Makefile 22:57:57 drwxrwxr-x. 2 jenkins jenkins 23 May 18 22:56 mock 22:57:57 -rw-rw-r--. 1 jenkins jenkins 2217 May 18 22:56 README.md 22:57:57 drwxrwxr-x. 4 jenkins jenkins 71 May 18 22:56 snap 22:57:57 -rw-rw-r--. 1 jenkins jenkins 12 May 18 22:55 VERSION 22:57:57 -rw-rw-r--. 1 jenkins jenkins 227 May 18 22:56 version.go [Pipeline] isUnix [Pipeline] sh 22:57:57 + 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=efb367450ad80b3e18697bc790f198e4b3e468b1 --label arch=amd64 --label version=1.3.2-dev.12 . 22:57:57 Sending build context to Docker daemon 565.2kB 22:57:57 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 22:57:57 Step 2/24 : FROM ${BASE} AS builder 22:57:57 ---> 82985beaaff2 22:57:57 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:57:57 ---> Running in 62a4920d454d 22:57:57 Removing intermediate container 62a4920d454d 22:57:57 ---> 0c5eb4dbe83b 22:57:57 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 22:57:57 ---> Running in df7c5b61eab5 22:57:57 Removing intermediate container df7c5b61eab5 22:57:57 ---> adb227518d8d 22:57:57 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:57:57 ---> Running in b6dce1061bd7 22:57:58 Removing intermediate container b6dce1061bd7 22:57:58 ---> 1789aa07ccb6 22:57:58 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:57:58 ---> Running in b705e9373f30 22:57:58 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:57:59 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:57:59 OK: 156 MiB in 53 packages 22:57:59 Removing intermediate container b705e9373f30 22:57:59 ---> 249c3d8c7014 22:57:59 Step 7/24 : WORKDIR /device-mqtt-go 22:57:59 ---> Running in 5bdbfb5fc18d 22:57:59 Removing intermediate container 5bdbfb5fc18d 22:57:59 ---> 6da37910f8ea 22:57:59 Step 8/24 : COPY . . 22:58:00 ---> 05b7072dadba 22:58:00 Step 9/24 : RUN go mod tidy 22:58:00 ---> Running in 754d3375e139 22:58:00 Removing intermediate container 754d3375e139 22:58:00 ---> 07d8c81e5093 22:58:00 Step 10/24 : RUN go mod download 22:58:01 ---> Running in c3e95f7e2482 22:58:01 Removing intermediate container c3e95f7e2482 22:58:01 ---> 88f50aa37361 22:58:01 Step 11/24 : ARG MAKE='make build' 22:58:01 ---> Running in 2392eab7357e 22:58:01 Removing intermediate container 2392eab7357e 22:58:01 ---> 2c34ce9fb081 22:58:01 Step 12/24 : RUN $MAKE 22:58:01 ---> Running in 38540363aefb 22:58:01 go mod tidy 22:58:02 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.12" -o cmd/device-mqtt ./cmd 22:58:14 Removing intermediate container 38540363aefb 22:58:14 ---> d8eb446c7a3e 22:58:14 Step 13/24 : FROM alpine:3.12 22:58:14 3.12: Pulling from library/alpine 22:58:14 339de151aab4: Pulling fs layer 22:58:14 339de151aab4: Verifying Checksum 22:58:14 339de151aab4: Download complete 22:58:14 339de151aab4: Pull complete 22:58:14 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 22:58:14 Status: Downloaded newer image for alpine:3.12 22:58:14 ---> 13621d1b12d4 22:58:14 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 22:58:14 ---> Running in 965a8f6c813e 22:58:14 Removing intermediate container 965a8f6c813e 22:58:14 ---> 3b10851c43ef 22:58:14 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 22:58:14 ---> Running in 4d7561430c53 22:58:14 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:58:14 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:58:15 (1/6) Installing dumb-init (1.2.2-r1) 22:58:15 (2/6) Installing libgcc (9.3.0-r2) 22:58:15 (3/6) Installing libsodium (1.0.18-r0) 22:58:15 (4/6) Installing libstdc++ (9.3.0-r2) 22:58:15 (5/6) Installing libzmq (4.3.3-r0) 22:58:15 (6/6) Installing zeromq (4.3.3-r0) 22:58:15 Executing busybox-1.31.1-r20.trigger 22:58:15 OK: 8 MiB in 20 packages 22:58:15 Removing intermediate container 4d7561430c53 22:58:15 ---> 62540030f1b4 22:58:15 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 22:58:15 ---> 18ff2bd65517 22:58:15 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 22:58:16 ---> 6c04fae53d3c 22:58:16 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 22:58:16 ---> 90b5175413af 22:58:16 Step 19/24 : EXPOSE 49982 22:58:16 ---> Running in 490666776d32 22:58:16 Removing intermediate container 490666776d32 22:58:16 ---> 21e6ff90fe98 22:58:16 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 22:58:16 ---> Running in 9ee711febe95 22:58:16 Removing intermediate container 9ee711febe95 22:58:16 ---> b0dd5bb9e447 22:58:16 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:58:16 ---> Running in 63c15c938574 22:58:16 Removing intermediate container 63c15c938574 22:58:16 ---> d891c64fb0fd 22:58:16 Step 22/24 : LABEL arch=amd64 22:58:16 ---> Running in cbbdb40a5f7d 22:58:16 Removing intermediate container cbbdb40a5f7d 22:58:16 ---> 3eed1a7b69dc 22:58:16 Step 23/24 : LABEL git_sha=efb367450ad80b3e18697bc790f198e4b3e468b1 22:58:16 ---> Running in f409ab85d4a2 22:58:16 Removing intermediate container f409ab85d4a2 22:58:16 ---> 2767ecea02ab 22:58:16 Step 24/24 : LABEL version=1.3.2-dev.12 22:58:16 ---> Running in 0b9040244577 22:58:16 Removing intermediate container 0b9040244577 22:58:16 ---> 3a3b17d66940 22:58:16 [Warning] One or more build-args [ARCH] were not consumed 22:58:16 Successfully built 3a3b17d66940 22:58:16 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:58:16 provisioning config files... 22:58:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/44@tmp/config841587323498660029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:58:17 ---> docker-login.sh 22:58:17 nexus3.edgexfoundry.org:10001 22:58:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:17 Configure a credential helper to remove this warning. See 22:58:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:17 22:58:17 Login Succeeded 22:58:17 nexus3.edgexfoundry.org:10002 22:58:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:17 Configure a credential helper to remove this warning. See 22:58:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:17 22:58:17 Login Succeeded 22:58:17 nexus3.edgexfoundry.org:10003 22:58:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:17 Configure a credential helper to remove this warning. See 22:58:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:17 22:58:17 Login Succeeded 22:58:17 nexus3.edgexfoundry.org:10004 22:58:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:17 Configure a credential helper to remove this warning. See 22:58:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:17 22:58:17 Login Succeeded 22:58:17 docker.io 22:58:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:18 Configure a credential helper to remove this warning. See 22:58:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:18 22:58:18 Login Succeeded 22:58:18 ---> docker-login.sh ends [Pipeline] } 22:58:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:58:18 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 22:58:18 efb367450ad80b3e18697bc790f198e4b3e468b1 22:58:18 latest 22:58:18 1.3.2-dev.12 22:58:18 efb367450ad80b3e18697bc790f198e4b3e468b1-1.3.2-dev.12 22:58:18 master 22:58:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:58:18 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:efb367450ad80b3e18697bc790f198e4b3e468b1 [Pipeline] isUnix [Pipeline] sh 22:58:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:efb367450ad80b3e18697bc790f198e4b3e468b1 22:58:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 22:58:18 643ca001c11d: Preparing 22:58:18 b2574c7888c4: Preparing 22:58:18 5641a935531b: Preparing 22:58:18 098cb75942c2: Preparing 22:58:18 32f366d666a5: Preparing 22:58:18 643ca001c11d: Pushed 22:58:19 32f366d666a5: Layer already exists 22:58:19 b2574c7888c4: Pushed 22:58:19 098cb75942c2: Pushed 22:58:20 5641a935531b: Pushed 22:58:20 efb367450ad80b3e18697bc790f198e4b3e468b1: digest: sha256:2186f4d3e32088cf8c892cfcda2f32a42e9e1dc8502d1ffcbb58c23daf32da86 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:58:21 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 22:58:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 22:58:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 22:58:21 643ca001c11d: Preparing 22:58:21 b2574c7888c4: Preparing 22:58:21 5641a935531b: Preparing 22:58:21 098cb75942c2: Preparing 22:58:21 32f366d666a5: Preparing 22:58:21 098cb75942c2: Layer already exists 22:58:21 32f366d666a5: Layer already exists 22:58:21 5641a935531b: Layer already exists 22:58:21 643ca001c11d: Layer already exists 22:58:21 b2574c7888c4: Layer already exists 22:58:21 latest: digest: sha256:2186f4d3e32088cf8c892cfcda2f32a42e9e1dc8502d1ffcbb58c23daf32da86 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:58:21 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.12 [Pipeline] isUnix [Pipeline] sh 22:58:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.12 22:58:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 22:58:22 643ca001c11d: Preparing 22:58:22 b2574c7888c4: Preparing 22:58:22 5641a935531b: Preparing 22:58:22 098cb75942c2: Preparing 22:58:22 32f366d666a5: Preparing 22:58:22 098cb75942c2: Layer already exists 22:58:22 5641a935531b: Layer already exists 22:58:22 643ca001c11d: Layer already exists 22:58:22 32f366d666a5: Layer already exists 22:58:22 b2574c7888c4: Layer already exists 22:58:22 1.3.2-dev.12: digest: sha256:2186f4d3e32088cf8c892cfcda2f32a42e9e1dc8502d1ffcbb58c23daf32da86 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:58:22 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:efb367450ad80b3e18697bc790f198e4b3e468b1-1.3.2-dev.12 [Pipeline] isUnix [Pipeline] sh 22:58:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:efb367450ad80b3e18697bc790f198e4b3e468b1-1.3.2-dev.12 22:58:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 22:58:22 643ca001c11d: Preparing 22:58:22 b2574c7888c4: Preparing 22:58:22 5641a935531b: Preparing 22:58:22 098cb75942c2: Preparing 22:58:22 32f366d666a5: Preparing 22:58:22 b2574c7888c4: Layer already exists 22:58:22 643ca001c11d: Layer already exists 22:58:22 098cb75942c2: Layer already exists 22:58:22 32f366d666a5: Layer already exists 22:58:22 5641a935531b: Layer already exists 22:58:22 efb367450ad80b3e18697bc790f198e4b3e468b1-1.3.2-dev.12: digest: sha256:2186f4d3e32088cf8c892cfcda2f32a42e9e1dc8502d1ffcbb58c23daf32da86 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:58:22 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] isUnix [Pipeline] sh 22:58:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:master 22:58:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 22:58:23 643ca001c11d: Preparing 22:58:23 b2574c7888c4: Preparing 22:58:23 5641a935531b: Preparing 22:58:23 098cb75942c2: Preparing 22:58:23 32f366d666a5: Preparing 22:58:23 b2574c7888c4: Layer already exists 22:58:23 32f366d666a5: Layer already exists 22:58:23 5641a935531b: Layer already exists 22:58:23 643ca001c11d: Layer already exists 22:58:23 098cb75942c2: Layer already exists 22:58:23 master: digest: sha256:2186f4d3e32088cf8c892cfcda2f32a42e9e1dc8502d1ffcbb58c23daf32da86 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:58:23 ===================================================== [Pipeline] echo 22:58:23 taggedImages: 22:58:23 - nexus3.edgexfoundry.org:10004/device-mqtt:efb367450ad80b3e18697bc790f198e4b3e468b1 22:58:23 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 22:58:23 - nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.12 22:58:23 - nexus3.edgexfoundry.org:10004/device-mqtt:efb367450ad80b3e18697bc790f198e4b3e468b1-1.3.2-dev.12 22:58:23 - 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 22:58:24 ---> job-cost.sh 22:58:24 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-baS0 22:58:34 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:58:46 lf-activate-venv(): INFO: Adding /tmp/venv-baS0/bin to PATH 22:58:46 INFO: No Stack... 22:58:46 INFO: Retrieving Pricing Info for: v3-standard-2 22:58:46 INFO: Archiving Costs [Pipeline] sh 22:58:46 + cat /w/workspace/device-mqtt-go/44/archives/cost.csv 22:58:46 + cut -d, -f6 [Pipeline] lock 22:58:46 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-44-stack-cost] 22:58:46 Resource [jenkins-edgexfoundry-device-mqtt-go-master-44-stack-cost] did not exist. Created. 22:58:46 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:58:47 + echo total: 0.05999999865889549 [Pipeline] stash 22:58:47 Stashed 1 file(s) [Pipeline] } 22:58:47 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-44-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:58:51 Running on prd-ubuntu18.04-docker-arm64-4c-16g-14878 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 22:58:51 Running in /w/workspace/device-mqtt-go/44 [Pipeline] { [Pipeline] checkout 22:58:51 Selected Git installation does not exist. Using Default 22:58:51 The recommended git tool is: NONE 22:58:57 using credential edgex-jenkins-ssh 22:58:57 Cloning the remote Git repository 22:58:58 Avoid second fetch 22:58:58 Checking out Revision efb367450ad80b3e18697bc790f198e4b3e468b1 (master) 22:58:57 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 22:58:57 > git init /w/workspace/device-mqtt-go/44 # timeout=10 22:58:57 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 22:58:57 > git --version # timeout=10 22:58:57 > git --version # 'git version 2.17.1' 22:58:57 using GIT_SSH to set credentials SSH Credentials for GitHub 22:58:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:58:58 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 22:58:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:58:58 > git config core.sparsecheckout # timeout=10 22:58:58 > git checkout -f efb367450ad80b3e18697bc790f198e4b3e468b1 # timeout=10 22:59:03 Commit message: "Merge pull request #247 from lenny-intel/service-keys" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:59:04 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:59:04 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:59:05 + sudo service docker restart 22:59:05 + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:59:23 provisioning config files... 22:59:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/44@tmp/config3355172892815136042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:59:23 ---> docker-login.sh 22:59:23 nexus3.edgexfoundry.org:10001 22:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:25 Configure a credential helper to remove this warning. See 22:59:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:25 22:59:25 Login Succeeded 22:59:25 nexus3.edgexfoundry.org:10002 22:59:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:25 Configure a credential helper to remove this warning. See 22:59:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:25 22:59:25 Login Succeeded 22:59:25 nexus3.edgexfoundry.org:10003 22:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:26 Configure a credential helper to remove this warning. See 22:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:26 22:59:26 Login Succeeded 22:59:26 nexus3.edgexfoundry.org:10004 22:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:26 Configure a credential helper to remove this warning. See 22:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:26 22:59:26 Login Succeeded 22:59:26 docker.io 22:59:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:27 Configure a credential helper to remove this warning. See 22:59:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:27 22:59:27 Login Succeeded 22:59:27 ---> docker-login.sh ends [Pipeline] } 22:59:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:59:28 ========================================================= 22:59:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 22:59:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:59:28 + 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 . 22:59:28 Sending build context to Docker daemon 544.3kB 22:59:29 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 22:59:29 Step 2/8 : FROM ${BASE} 22:59:29 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:59:29 595b0fe564bb: Pulling fs layer 22:59:29 7186ed65a4f7: Pulling fs layer 22:59:29 316046926c0a: Pulling fs layer 22:59:29 4ebd0625c992: Pulling fs layer 22:59:29 207e8628e3a3: Pulling fs layer 22:59:29 c791037a9be2: Pulling fs layer 22:59:29 ffd874e62e21: Pulling fs layer 22:59:29 207e8628e3a3: Waiting 22:59:29 c791037a9be2: Waiting 22:59:29 ffd874e62e21: Waiting 22:59:29 4ebd0625c992: Waiting 22:59:29 316046926c0a: Verifying Checksum 22:59:29 316046926c0a: Download complete 22:59:29 7186ed65a4f7: Verifying Checksum 22:59:29 7186ed65a4f7: Download complete 22:59:29 207e8628e3a3: Download complete 22:59:29 c791037a9be2: Verifying Checksum 22:59:29 c791037a9be2: Download complete 22:59:29 595b0fe564bb: Download complete 22:59:29 595b0fe564bb: Pull complete 22:59:30 7186ed65a4f7: Pull complete 22:59:31 316046926c0a: Pull complete 22:59:31 ffd874e62e21: Verifying Checksum 22:59:31 ffd874e62e21: Download complete 22:59:32 4ebd0625c992: Verifying Checksum 22:59:32 4ebd0625c992: Download complete 22:59:42 4ebd0625c992: Pull complete 22:59:42 207e8628e3a3: Pull complete 22:59:43 c791037a9be2: Pull complete 22:59:46 ffd874e62e21: Pull complete 22:59:46 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 22:59:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 22:59:46 ---> cfc18b08335c 22:59:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 22:59:49 ---> Running in ff3e1ae55d47 22:59:49 Removing intermediate container ff3e1ae55d47 22:59:49 ---> ee082126dc68 22:59:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:59:49 ---> Running in d46ce494adf5 22:59:52 Removing intermediate container d46ce494adf5 22:59:52 ---> ba37498c33e9 22:59:52 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:59:52 ---> Running in 4c0f776c3051 22:59:53 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:59:54 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:59:55 (1/13) Installing libc-dev (0.7.2-r3) 22:59:55 (2/13) Installing libsodium (1.0.18-r0) 22:59:56 (3/13) Installing pkgconf (1.7.3-r0) 22:59:56 (4/13) Installing libsodium-dev (1.0.18-r0) 22:59:56 (5/13) Installing openssh-keygen (8.4_p1-r3) 22:59:56 (6/13) Installing libedit (20191231.3.1-r1) 22:59:56 (7/13) Installing openssh-client (8.4_p1-r3) 22:59:58 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 22:59:58 (9/13) Installing openssh-server-common (8.4_p1-r3) 22:59:58 (10/13) Installing openssh-server (8.4_p1-r3) 22:59:58 (11/13) Installing openssh (8.4_p1-r3) 22:59:58 (12/13) Installing libzmq (4.3.3-r1) 22:59:58 (13/13) Installing zeromq-dev (4.3.3-r1) 22:59:58 Executing busybox-1.32.1-r6.trigger 22:59:58 OK: 145 MiB in 53 packages 23:00:00 Removing intermediate container 4c0f776c3051 23:00:00 ---> a07d6e913d22 23:00:00 Step 6/8 : WORKDIR /device-mqtt-go 23:00:00 ---> Running in 02d2e6621010 23:00:01 Removing intermediate container 02d2e6621010 23:00:01 ---> 6056238737a3 23:00:01 Step 7/8 : COPY . . 23:00:02 ---> 2ccf23dace59 23:00:02 Step 8/8 : RUN go mod download 23:00:02 ---> Running in 7d629d40f7ac 23:00:34 Removing intermediate container 7d629d40f7ac 23:00:34 ---> 59e934852f83 23:00:34 Successfully built 59e934852f83 23:00:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:00:35 + docker inspect -f . ci-base-image-arm64 23:00:35 . [Pipeline] withDockerContainer 23:00:35 prd-ubuntu18.04-docker-arm64-4c-16g-14878 does not seem to be running inside a container 23:00:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/44 -v /w/workspace/device-mqtt-go/44:/w/workspace/device-mqtt-go/44:rw,z -v /w/workspace/device-mqtt-go/44@tmp:/w/workspace/device-mqtt-go/44@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-arm64 cat 23:00:37 $ docker top ad97f29b2d6c8e52db8a05e4f806ca6d8961ad798c1593a0fcb0df19bf47eaf3 -eo pid,comm [Pipeline] { [Pipeline] sh 23:00:38 + go version 23:00:38 go version go1.16.3 linux/arm64 [Pipeline] } 23:00:38 $ docker stop --time=1 ad97f29b2d6c8e52db8a05e4f806ca6d8961ad798c1593a0fcb0df19bf47eaf3 23:00:40 $ docker rm -f ad97f29b2d6c8e52db8a05e4f806ca6d8961ad798c1593a0fcb0df19bf47eaf3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:00:41 + docker inspect -f . ci-base-image-arm64 23:00:41 . [Pipeline] withDockerContainer 23:00:41 prd-ubuntu18.04-docker-arm64-4c-16g-14878 does not seem to be running inside a container 23:00:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/44 -v /w/workspace/device-mqtt-go/44:/w/workspace/device-mqtt-go/44:rw,z -v /w/workspace/device-mqtt-go/44@tmp:/w/workspace/device-mqtt-go/44@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-arm64 cat 23:00:43 $ docker top b37ed21da54d2be4b6df9ab1a3c2602762c44a018aea2a673ccdd8fb0b31e176 -eo pid,comm [Pipeline] { [Pipeline] sh 23:00:44 + go mod tidy [Pipeline] sh 23:00:45 + make test 23:00:45 go mod tidy 23:00:45 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:00:46 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:01:43 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:01:44 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.056s coverage: 24.9% of statements 23:01:44 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:01:45 GCO_ENABLED=1 GO111MODULE=on go vet ./... 23:02:12 gofmt -l . 23:02:12 ["`gofmt -l .`" = ""] 23:02:12 ./bin/test-attribution-txt.sh 23:02:14 ./bin/test-go-mod-tidy.sh [Pipeline] } 23:02:14 $ docker stop --time=1 b37ed21da54d2be4b6df9ab1a3c2602762c44a018aea2a673ccdd8fb0b31e176 23:02:16 $ docker rm -f b37ed21da54d2be4b6df9ab1a3c2602762c44a018aea2a673ccdd8fb0b31e176 [Pipeline] // withDockerContainer [Pipeline] sh 23:02:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:02:17 Warning: overwriting stash ‘coverage-report’ 23:02:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:02:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:02:18 + ls -al . 23:02:18 total 140 23:02:18 drwxrwxr-x 9 jenkins jenkins 4096 May 18 23:02 . 23:02:18 drwxrwxr-x 4 jenkins jenkins 4096 May 18 22:58 .. 23:02:18 -rw-rw-r-- 1 jenkins jenkins 140 May 18 22:58 .dockerignore 23:02:18 drwxrwxr-x 8 jenkins jenkins 4096 May 18 22:59 .git 23:02:18 drwxrwxr-x 2 jenkins jenkins 4096 May 18 22:58 .github 23:02:18 -rw-rw-r-- 1 jenkins jenkins 336 May 18 22:58 .gitignore 23:02:18 -rw-rw-r-- 1 jenkins jenkins 7100 May 18 22:58 Attribution.txt 23:02:18 -rw-rw-r-- 1 jenkins jenkins 1877 May 18 22:58 Dockerfile 23:02:18 -rw-rw-r-- 1 jenkins jenkins 994 May 18 22:58 Dockerfile.build 23:02:18 -rw-rw-r-- 1 jenkins jenkins 677 May 18 22:58 Jenkinsfile 23:02:18 -rw-rw-r-- 1 jenkins jenkins 11340 May 18 22:58 LICENSE 23:02:18 -rw-rw-r-- 1 jenkins jenkins 934 May 18 22:58 Makefile 23:02:18 -rw-rw-r-- 1 jenkins jenkins 2217 May 18 22:58 README.md 23:02:18 -rw-rw-r-- 1 jenkins jenkins 12 May 18 22:55 VERSION 23:02:18 drwxrwxr-x 2 jenkins jenkins 4096 May 18 22:58 bin 23:02:18 drwxrwxr-x 3 jenkins jenkins 4096 May 18 22:58 cmd 23:02:18 -rw-r--r-- 1 jenkins jenkins 19386 May 18 23:01 coverage.out 23:02:18 -rw-r--r-- 1 jenkins jenkins 409 May 18 23:02 go.mod 23:02:18 -rw-r--r-- 1 jenkins jenkins 21382 May 18 23:00 go.sum 23:02:18 drwxrwxr-x 3 jenkins jenkins 4096 May 18 22:58 internal 23:02:18 drwxrwxr-x 2 jenkins jenkins 4096 May 18 22:58 mock 23:02:18 drwxrwxr-x 4 jenkins jenkins 4096 May 18 22:58 snap 23:02:18 -rw-rw-r-- 1 jenkins jenkins 227 May 18 22:58 version.go [Pipeline] isUnix [Pipeline] sh 23:02: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=efb367450ad80b3e18697bc790f198e4b3e468b1 --label arch=arm64 --label version=1.3.2-dev.12 . 23:02:19 Sending build context to Docker daemon 564.2kB 23:02:19 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 23:02:19 Step 2/24 : FROM ${BASE} AS builder 23:02:19 ---> 59e934852f83 23:02:19 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:02:19 ---> Running in 28ab066aaa72 23:02:20 Removing intermediate container 28ab066aaa72 23:02:20 ---> cf9c9b597012 23:02:20 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 23:02:20 ---> Running in 2f78f9049286 23:02:20 Removing intermediate container 2f78f9049286 23:02:20 ---> 22bc28d09446 23:02:20 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:02:21 ---> Running in 732f8b2090bd 23:02:23 Removing intermediate container 732f8b2090bd 23:02:23 ---> fda0bc0bd0b1 23:02:23 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:02:23 ---> Running in d3217d27c8d8 23:02:24 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 23:02:25 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 23:02:26 OK: 145 MiB in 53 packages 23:02:27 Removing intermediate container d3217d27c8d8 23:02:27 ---> 09917baf6cc2 23:02:27 Step 7/24 : WORKDIR /device-mqtt-go 23:02:27 ---> Running in da7acfa9a150 23:02:28 Removing intermediate container da7acfa9a150 23:02:28 ---> a9f1c65a23e3 23:02:28 Step 8/24 : COPY . . 23:02:29 ---> bcef37de9267 23:02:29 Step 9/24 : RUN go mod tidy 23:02:29 ---> Running in 5f41d14b5da3 23:02:32 Removing intermediate container 5f41d14b5da3 23:02:32 ---> 1af4a3df58a4 23:02:32 Step 10/24 : RUN go mod download 23:02:32 ---> Running in 34f948b20492 23:02:34 Removing intermediate container 34f948b20492 23:02:34 ---> 5f83f20ac600 23:02:34 Step 11/24 : ARG MAKE='make build' 23:02:34 ---> Running in ddee5e0a52ad 23:02:34 Removing intermediate container ddee5e0a52ad 23:02:34 ---> 6c724256616c 23:02:34 Step 12/24 : RUN $MAKE 23:02:34 ---> Running in 13bef2bff9fb 23:02:36 go mod tidy 23:02:36 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.12" -o cmd/device-mqtt ./cmd 23:03:15 Removing intermediate container 13bef2bff9fb 23:03:15 ---> 55cbdbef448b 23:03:15 Step 13/24 : FROM alpine:3.12 23:03:15 3.12: Pulling from library/alpine 23:03:15 d2f70382dc9a: Pulling fs layer 23:03:15 d2f70382dc9a: Download complete 23:03:15 d2f70382dc9a: Pull complete 23:03:15 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 23:03:15 Status: Downloaded newer image for alpine:3.12 23:03:15 ---> 9852663dfa18 23:03:15 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:03:15 ---> Running in a6e40bb935d8 23:03:15 Removing intermediate container a6e40bb935d8 23:03:15 ---> 9a2f68cf2474 23:03:15 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 23:03:15 ---> Running in 2bfa153b88ce 23:03:17 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:03:17 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:03:17 (1/6) Installing dumb-init (1.2.2-r1) 23:03:17 (2/6) Installing libgcc (9.3.0-r2) 23:03:17 (3/6) Installing libsodium (1.0.18-r0) 23:03:17 (4/6) Installing libstdc++ (9.3.0-r2) 23:03:17 (5/6) Installing libzmq (4.3.3-r0) 23:03:17 (6/6) Installing zeromq (4.3.3-r0) 23:03:17 Executing busybox-1.31.1-r20.trigger 23:03:17 OK: 8 MiB in 20 packages 23:03:18 Removing intermediate container 2bfa153b88ce 23:03:18 ---> 265823426116 23:03:18 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:03:20 ---> 6f4a02184408 23:03:20 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:03:21 ---> edf64a6ca289 23:03:21 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:03:21 ---> f7fb4ec6697e 23:03:21 Step 19/24 : EXPOSE 49982 23:03:21 ---> Running in f5cfc71d9ceb 23:03:22 Removing intermediate container f5cfc71d9ceb 23:03:22 ---> 066721fa31af 23:03:22 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:03:22 ---> Running in b4a0d78bf936 23:03:22 Removing intermediate container b4a0d78bf936 23:03:22 ---> 76c222324a79 23:03:22 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:03:22 ---> Running in 158126a1b0eb 23:03:23 Removing intermediate container 158126a1b0eb 23:03:23 ---> c83ece9ffcda 23:03:23 Step 22/24 : LABEL arch=arm64 23:03:23 ---> Running in d1950b0365d1 23:03:24 Removing intermediate container d1950b0365d1 23:03:24 ---> a15cdd445b98 23:03:24 Step 23/24 : LABEL git_sha=efb367450ad80b3e18697bc790f198e4b3e468b1 23:03:24 ---> Running in 03616fa32139 23:03:24 Removing intermediate container 03616fa32139 23:03:24 ---> ef6e8e291f49 23:03:24 Step 24/24 : LABEL version=1.3.2-dev.12 23:03:24 ---> Running in 46dac59e51b2 23:03:25 Removing intermediate container 46dac59e51b2 23:03:25 ---> d6c8dc26ec1c 23:03:25 [Warning] One or more build-args [ARCH] were not consumed 23:03:25 Successfully built d6c8dc26ec1c 23:03:25 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 23:03:25 provisioning config files... 23:03:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/44@tmp/config920107113118963510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:03:26 ---> docker-login.sh 23:03:26 nexus3.edgexfoundry.org:10001 23:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:26 Configure a credential helper to remove this warning. See 23:03:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:26 23:03:26 Login Succeeded 23:03:26 nexus3.edgexfoundry.org:10002 23:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:27 Configure a credential helper to remove this warning. See 23:03:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:27 23:03:27 Login Succeeded 23:03:27 nexus3.edgexfoundry.org:10003 23:03:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:27 Configure a credential helper to remove this warning. See 23:03:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:27 23:03:27 Login Succeeded 23:03:27 nexus3.edgexfoundry.org:10004 23:03:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:28 Configure a credential helper to remove this warning. See 23:03:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:28 23:03:28 Login Succeeded 23:03:28 docker.io 23:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:28 Configure a credential helper to remove this warning. See 23:03:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:28 23:03:28 Login Succeeded 23:03:28 ---> docker-login.sh ends [Pipeline] } 23:03:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:03:28 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 23:03:28 efb367450ad80b3e18697bc790f198e4b3e468b1 23:03:28 latest 23:03:28 1.3.2-dev.12 23:03:28 efb367450ad80b3e18697bc790f198e4b3e468b1-1.3.2-dev.12 23:03:28 master 23:03:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:03:29 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:efb367450ad80b3e18697bc790f198e4b3e468b1 [Pipeline] isUnix [Pipeline] sh 23:03:29 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:efb367450ad80b3e18697bc790f198e4b3e468b1 23:03:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:03:29 6c935b29e705: Preparing 23:03:29 e2712d280c92: Preparing 23:03:29 e9d9686d636b: Preparing 23:03:29 5839d2f2742b: Preparing 23:03:29 3fbe34a1663b: Preparing 23:03:29 3fbe34a1663b: Layer already exists 23:03:29 6c935b29e705: Pushed 23:03:29 e2712d280c92: Pushed 23:03:30 5839d2f2742b: Pushed 23:03:33 e9d9686d636b: Pushed 23:03:33 efb367450ad80b3e18697bc790f198e4b3e468b1: digest: sha256:3d40fb33fc40ca565941a107d3dfab0c5ad0c8f2b43efa13a49b03229f3c1469 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:03:33 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:03:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 23:03:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:03:33 6c935b29e705: Preparing 23:03:33 e2712d280c92: Preparing 23:03:33 e9d9686d636b: Preparing 23:03:33 5839d2f2742b: Preparing 23:03:33 3fbe34a1663b: Preparing 23:03:33 5839d2f2742b: Layer already exists 23:03:33 e9d9686d636b: Layer already exists 23:03:33 e2712d280c92: Layer already exists 23:03:33 3fbe34a1663b: Layer already exists 23:03:33 6c935b29e705: Layer already exists 23:03:34 latest: digest: sha256:3d40fb33fc40ca565941a107d3dfab0c5ad0c8f2b43efa13a49b03229f3c1469 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:03:34 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.12 [Pipeline] isUnix [Pipeline] sh 23:03:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.12 23:03:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:03:34 6c935b29e705: Preparing 23:03:34 e2712d280c92: Preparing 23:03:34 e9d9686d636b: Preparing 23:03:34 5839d2f2742b: Preparing 23:03:34 3fbe34a1663b: Preparing 23:03:34 e9d9686d636b: Layer already exists 23:03:34 e2712d280c92: Layer already exists 23:03:34 3fbe34a1663b: Layer already exists 23:03:34 6c935b29e705: Layer already exists 23:03:34 5839d2f2742b: Layer already exists 23:03:35 1.3.2-dev.12: digest: sha256:3d40fb33fc40ca565941a107d3dfab0c5ad0c8f2b43efa13a49b03229f3c1469 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:03:35 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:efb367450ad80b3e18697bc790f198e4b3e468b1-1.3.2-dev.12 [Pipeline] isUnix [Pipeline] sh 23:03:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:efb367450ad80b3e18697bc790f198e4b3e468b1-1.3.2-dev.12 23:03:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:03:35 6c935b29e705: Preparing 23:03:35 e2712d280c92: Preparing 23:03:35 e9d9686d636b: Preparing 23:03:35 5839d2f2742b: Preparing 23:03:35 3fbe34a1663b: Preparing 23:03:35 5839d2f2742b: Layer already exists 23:03:35 e9d9686d636b: Layer already exists 23:03:35 3fbe34a1663b: Layer already exists 23:03:35 e2712d280c92: Layer already exists 23:03:35 6c935b29e705: Layer already exists 23:03:36 efb367450ad80b3e18697bc790f198e4b3e468b1-1.3.2-dev.12: digest: sha256:3d40fb33fc40ca565941a107d3dfab0c5ad0c8f2b43efa13a49b03229f3c1469 size: 1365 [Pipeline] isUnix [Pipeline] sh 23:03:36 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] isUnix [Pipeline] sh 23:03:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master 23:03:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:03:36 6c935b29e705: Preparing 23:03:36 e2712d280c92: Preparing 23:03:36 e9d9686d636b: Preparing 23:03:36 5839d2f2742b: Preparing 23:03:36 3fbe34a1663b: Preparing 23:03:36 6c935b29e705: Layer already exists 23:03:36 5839d2f2742b: Layer already exists 23:03:36 e2712d280c92: Layer already exists 23:03:36 e9d9686d636b: Layer already exists 23:03:36 3fbe34a1663b: Layer already exists 23:03:37 master: digest: sha256:3d40fb33fc40ca565941a107d3dfab0c5ad0c8f2b43efa13a49b03229f3c1469 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:03:37 ===================================================== [Pipeline] echo 23:03:37 taggedImages: 23:03:37 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:efb367450ad80b3e18697bc790f198e4b3e468b1 23:03:37 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 23:03:37 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.12 23:03:37 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:efb367450ad80b3e18697bc790f198e4b3e468b1-1.3.2-dev.12 23:03:37 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 23:03:37 ---> job-cost.sh 23:03:37 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-78tn 23:04:24 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 23:05:46 lf-activate-venv(): INFO: Adding /tmp/venv-78tn/bin to PATH 23:05:46 INFO: No Stack... 23:05:46 INFO: Retrieving Pricing Info for: v2-standard-4 23:05:46 INFO: Archiving Costs [Pipeline] sh 23:05:46 + cat /w/workspace/device-mqtt-go/44/archives/cost.csv 23:05:46 + cut -d, -f6 [Pipeline] lock 23:05:46 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-44-stack-cost] 23:05:46 Resource [jenkins-edgexfoundry-device-mqtt-go-master-44-stack-cost] did not exist. Created. 23:05:46 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:05:47 /w/workspace/device-mqtt-go/44@tmp/durable-05e69b63/script.sh: 1: /w/workspace/device-mqtt-go/44@tmp/durable-05e69b63/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:05:47 + echo total: 0.18000000715255737 [Pipeline] stash 23:05:47 Warning: overwriting stash ‘stack-cost’ 23:05:47 Stashed 1 file(s) [Pipeline] } 23:05:47 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-44-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 23:05:48 provisioning config files... 23:05:48 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2419330351341644373tmp [Pipeline] { [Pipeline] sh 23:05:48 + set +x 23:05:48 + curl -s https://codecov.io/bash 23:05:48 + bash -s -- 23:05:48 23:05:48 _____ _ 23:05:48 / ____| | | 23:05:48 | | ___ __| | ___ ___ _____ __ 23:05:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:05:48 | |___| (_) | (_| | __/ (_| (_) \ V / 23:05:48 \_____\___/ \__,_|\___|\___\___/ \_/ 23:05:48 Bash-1.0.2 23:05:48 23:05:48 23:05:48 ==> git version 2.24.4 found 23:05:48 ==> 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 23:05:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:05:48 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:05:48 ==> Jenkins CI detected. 23:05:48 project root: . 23:05:48 --> token set from env 23:05:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:05:48 ==> Running gcov in . (disable via -X gcov) 23:05:48 ==> Python coveragepy not found 23:05:48 ==> Searching for coverage reports in: 23:05:48 + . 23:05:48 -> Found 1 reports 23:05:48 ==> Detecting git/mercurial file structure 23:05:48 ==> Reading reports 23:05:48 + ./coverage.out bytes=19386 23:05:48 ==> Appending adjustments 23:05:48 https://docs.codecov.io/docs/fixing-reports 23:05:48 + Found adjustments 23:05:48 ==> Gzipping contents 23:05:48 4.0K /tmp/codecov.4xECqM.gz 23:05:48 ==> Uploading reports 23:05:48 url: https://codecov.io 23:05:48 query: branch=master&commit=efb367450ad80b3e18697bc790f198e4b3e468b1&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:05:48 -> Pinging Codecov 23:05:48 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=efb367450ad80b3e18697bc790f198e4b3e468b1&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:05:49 -> Uploading to 23:05:49 https://storage.googleapis.com/codecov/v4/raw/2021-05-18/7D719EC7BBE17E464838252E33014C33/efb367450ad80b3e18697bc790f198e4b3e468b1/3f8e0f94-a013-40b7-af70-1c2a5ce44c4e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210518%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210518T230549Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ea27fa5700cb7e431571d693b16cc23bbe3693486e327a903b827d84572ea5ee 23:05:49 % Total % Received % Xferd Average Speed Time Time Time Current 23:05:49 Dload Upload Total Spent Left Speed 23:05:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3386 0 0 100 3386 0 11062 --:--:-- --:--:-- --:--:-- 11065 100 3386 0 0 100 3386 0 11059 --:--:-- --:--:-- --:--:-- 11029 23:05:49 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/efb367450ad80b3e18697bc790f198e4b3e468b1 [Pipeline] } 23:05:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:05:50 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:05:50 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:05:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:05:50 23:05:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 23:05:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:05:50 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:05:50 188c0c94c7c5: Pulling fs layer 23:05:50 0ef7d3d256c8: Pulling fs layer 23:05:50 de9db76c5a1d: Pulling fs layer 23:05:50 0eba1c9be4d2: Pulling fs layer 23:05:50 0d57e429df01: Pulling fs layer 23:05:50 4e4be7b47b0d: Pulling fs layer 23:05:50 e1f770b5df2f: Pulling fs layer 23:05:50 85a0685a4137: Pulling fs layer 23:05:50 0eba1c9be4d2: Waiting 23:05:50 0d57e429df01: Waiting 23:05:50 e1f770b5df2f: Waiting 23:05:50 85a0685a4137: Waiting 23:05:50 4e4be7b47b0d: Waiting 23:05:50 de9db76c5a1d: Verifying Checksum 23:05:50 de9db76c5a1d: Download complete 23:05:50 0ef7d3d256c8: Verifying Checksum 23:05:50 0ef7d3d256c8: Download complete 23:05:50 0d57e429df01: Verifying Checksum 23:05:50 0d57e429df01: Download complete 23:05:50 4e4be7b47b0d: Verifying Checksum 23:05:50 4e4be7b47b0d: Download complete 23:05:50 188c0c94c7c5: Verifying Checksum 23:05:50 188c0c94c7c5: Download complete 23:05:51 188c0c94c7c5: Pull complete 23:05:51 0ef7d3d256c8: Pull complete 23:05:51 de9db76c5a1d: Pull complete 23:05:52 e1f770b5df2f: Verifying Checksum 23:05:52 e1f770b5df2f: Download complete 23:05:54 85a0685a4137: Verifying Checksum 23:05:54 85a0685a4137: Download complete 23:05:54 0eba1c9be4d2: Verifying Checksum 23:05:54 0eba1c9be4d2: Download complete 23:05:57 0eba1c9be4d2: Pull complete 23:05:57 0d57e429df01: Pull complete 23:05:57 4e4be7b47b0d: Pull complete 23:05:58 e1f770b5df2f: Pull complete 23:06:01 85a0685a4137: Pull complete 23:06:01 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 23:06:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:06:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 23:06:01 prd-centos7-docker-4c-2g-14870 does not seem to be running inside a container 23:06:01 $ 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 23:06:04 $ docker top 2450f60669c172af3e6c69f037e9956f0f393f14cd6de4a1d6a510c477153233 -eo pid,comm [Pipeline] { [Pipeline] echo 23:06:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 23:06:05 + set -o pipefail 23:06:05 + snyk monitor '--org=edgex-jenkins' 23:06:10 23:06:10 Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... 23:06:10 23:06:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/53685280-8d59-4b7d-8c34-4f5e916ca3a1 23:06:10 23:06:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:06:10 23:06:10 [Pipeline] } 23:06:10 $ docker stop --time=1 2450f60669c172af3e6c69f037e9956f0f393f14cd6de4a1d6a510c477153233 23:06:13 $ docker rm -f 2450f60669c172af3e6c69f037e9956f0f393f14cd6de4a1d6a510c477153233 [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 23:06:14 + git log --format=format:%s -1 efb367450ad80b3e18697bc790f198e4b3e468b1 [Pipeline] isUnix [Pipeline] sh 23:06:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:06:14 . [Pipeline] withDockerContainer 23:06:14 prd-centos7-docker-4c-2g-14870 does not seem to be running inside a container 23:06:14 $ 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 23:06:14 $ docker top 4721574ce5c94719910716edebbc900cd1dea673bc2de14eae8a623445806974 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:06:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:06:15 [ssh-agent] Looking for ssh-agent implementation... 23:06:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:06:15 $ docker exec 4721574ce5c94719910716edebbc900cd1dea673bc2de14eae8a623445806974 ssh-agent 23:06:15 SSH_AUTH_SOCK=/tmp/ssh-tMOUhPL8XvyX/agent.13 23:06:15 SSH_AGENT_PID=20 23:06:15 Running ssh-add (command line suppressed) 23:06:15 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7848241321075966186.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7848241321075966186.key) 23:06:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:06:15 + git semver tag 23:06:15 # -> Open(): unable to determine branch for HEAD 23:06:15 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 23:06:15 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 23:06:15 # $SEMVER_REMOTE_NAME = origin 23:06:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:06:15 # $SEMVER_USER_NAME = edgex-jenkins 23:06:15 # $SEMVER_BRANCH = master 23:06:15 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 23:06:15 # efb367450ad80b3e18697bc790f198e4b3e468b1 HEAD 23:06:15 # -> Force: false 23:06:15 # ba3f2105fcb1af2d3cdbe5b94d5a1a02c47851dd refs/tags/v1.3.2-dev.12 [Pipeline] } 23:06:15 $ docker exec --env ******** --env ******** 4721574ce5c94719910716edebbc900cd1dea673bc2de14eae8a623445806974 ssh-agent -k 23:06:15 unset SSH_AUTH_SOCK; 23:06:15 unset SSH_AGENT_PID; 23:06:15 echo Agent pid 20 killed; 23:06:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:06:16 + git semver [Pipeline] } 23:06:16 $ docker stop --time=1 4721574ce5c94719910716edebbc900cd1dea673bc2de14eae8a623445806974 23:06:17 $ docker rm -f 4721574ce5c94719910716edebbc900cd1dea673bc2de14eae8a623445806974 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 23:06:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:06:17 23:06:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 23:06:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:06:18 0.23.1-centos7: Pulling from edgex-lftools 23:06:18 ab5ef0e58194: Pulling fs layer 23:06:18 9712f1f96733: Pulling fs layer 23:06:18 63f879dbbcfc: Pulling fs layer 23:06:18 0d9ebad4ef96: Pulling fs layer 23:06:18 e9a5061849ea: Pulling fs layer 23:06:18 d747dcd14b5f: Pulling fs layer 23:06:18 2de7ff778b66: Pulling fs layer 23:06:18 0d9ebad4ef96: Waiting 23:06:18 e9a5061849ea: Waiting 23:06:18 d747dcd14b5f: Waiting 23:06:18 2de7ff778b66: Waiting 23:06:18 9712f1f96733: Verifying Checksum 23:06:18 9712f1f96733: Download complete 23:06:19 63f879dbbcfc: Verifying Checksum 23:06:19 63f879dbbcfc: Download complete 23:06:19 e9a5061849ea: Verifying Checksum 23:06:19 e9a5061849ea: Download complete 23:06:19 d747dcd14b5f: Verifying Checksum 23:06:19 d747dcd14b5f: Download complete 23:06:19 2de7ff778b66: Verifying Checksum 23:06:19 2de7ff778b66: Download complete 23:06:20 ab5ef0e58194: Verifying Checksum 23:06:20 ab5ef0e58194: Download complete 23:06:20 0d9ebad4ef96: Verifying Checksum 23:06:20 0d9ebad4ef96: Download complete 23:06:22 ab5ef0e58194: Pull complete 23:06:22 9712f1f96733: Pull complete 23:06:23 63f879dbbcfc: Pull complete 23:06:26 0d9ebad4ef96: Pull complete 23:06:26 e9a5061849ea: Pull complete 23:06:26 d747dcd14b5f: Pull complete 23:06:27 2de7ff778b66: Pull complete 23:06:27 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:06:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:06:27 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 23:06:27 prd-centos7-docker-4c-2g-14870 does not seem to be running inside a container 23:06:27 $ 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 23:06:33 $ docker top e9c43a265868d114c152cd9c8c448b1f009f97a4b2dec4aa82fa1fef6b90768f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:06:33 provisioning config files... 23:06:33 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config90738394599283501tmp 23:06:33 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config8426179983253569584tmp 23:06:33 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2952108769745774463tmp [Pipeline] { [Pipeline] echo 23:06:33 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:06:33 ---> sigul-configuration.sh 23:06:33 gpg: directory `/root/.gnupg' created 23:06:33 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:06:33 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:06:33 gpg: keyring `/root/.gnupg/secring.gpg' created 23:06:33 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:06:33 gpg: CAST5 encrypted data 23:06:33 gpg: encrypted with 1 passphrase 23:06:33 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:06:34 + mkdir /home/jenkins 23:06:34 + mkdir /home/jenkins/sigul [Pipeline] sh 23:06:34 + 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 23:06:34 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:06:34 ---> sigul-install.sh 23:06:40 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 23:06:40 + git tag --list 23:06:40 0.7.1 23:06:40 v1.0.0 23:06:40 v1.1.0 23:06:40 v1.1.1 23:06:40 v1.2.2 23:06:40 v1.3.0 23:06:40 v1.3.1 23:06:40 v1.3.1-dev.1 23:06:40 v1.3.1-dev.2 23:06:40 v1.3.1-dev.3 23:06:40 v1.3.1-dev.4 23:06:40 v1.3.2-dev.1 23:06:40 v1.3.2-dev.10 23:06:40 v1.3.2-dev.11 23:06:40 v1.3.2-dev.12 23:06:40 v1.3.2-dev.2 23:06:40 v1.3.2-dev.3 23:06:40 v1.3.2-dev.4 23:06:40 v1.3.2-dev.5 23:06:40 v1.3.2-dev.6 23:06:40 v1.3.2-dev.7 23:06:40 v1.3.2-dev.8 23:06:40 v1.3.2-dev.9 [Pipeline] sh 23:06:40 + lftools sign git-tag v1.3.2-dev.12 23:06:41 Signing Git tag with Sigul... 23:06:41 Signing v1.3.2-dev.12 [Pipeline] echo 23:06:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:06:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:06:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:06:42 $ docker stop --time=1 e9c43a265868d114c152cd9c8c448b1f009f97a4b2dec4aa82fa1fef6b90768f 23:06:44 $ docker rm -f e9c43a265868d114c152cd9c8c448b1f009f97a4b2dec4aa82fa1fef6b90768f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 23:06:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:06:45 . [Pipeline] withDockerContainer 23:06:45 prd-centos7-docker-4c-2g-14870 does not seem to be running inside a container 23:06:45 $ 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 23:06:46 $ docker top c8bdb3cd8f25bc8a4e854a1ad628c205f63688a7a00e550d78ff9fe6978695aa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:06:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:06:46 [ssh-agent] Looking for ssh-agent implementation... 23:06:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:06:46 $ docker exec c8bdb3cd8f25bc8a4e854a1ad628c205f63688a7a00e550d78ff9fe6978695aa ssh-agent 23:06:46 SSH_AUTH_SOCK=/tmp/ssh-aXW9SGFKZ2Ei/agent.15 23:06:46 SSH_AGENT_PID=22 23:06:46 Running ssh-add (command line suppressed) 23:06:46 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4531228235447472903.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4531228235447472903.key) 23:06:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:06:46 + git semver bump pre 23:06:46 # -> Open(): unable to determine branch for HEAD 23:06:46 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 23:06:46 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 23:06:46 # $SEMVER_REMOTE_NAME = origin 23:06:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:06:46 # $SEMVER_USER_NAME = edgex-jenkins 23:06:46 # $SEMVER_BRANCH = master 23:06:46 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 23:06:46 1.3.2-dev.13 [Pipeline] } 23:06:46 $ docker exec --env ******** --env ******** c8bdb3cd8f25bc8a4e854a1ad628c205f63688a7a00e550d78ff9fe6978695aa ssh-agent -k 23:06:46 unset SSH_AUTH_SOCK; 23:06:46 unset SSH_AGENT_PID; 23:06:46 echo Agent pid 22 killed; 23:06:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:06:47 + git semver [Pipeline] } 23:06:47 $ docker stop --time=1 c8bdb3cd8f25bc8a4e854a1ad628c205f63688a7a00e550d78ff9fe6978695aa 23:06:48 $ docker rm -f c8bdb3cd8f25bc8a4e854a1ad628c205f63688a7a00e550d78ff9fe6978695aa [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 23:06:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:06:48 . [Pipeline] withDockerContainer 23:06:48 prd-centos7-docker-4c-2g-14870 does not seem to be running inside a container 23:06:48 $ 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 23:06:49 $ docker top 026bea87ad0b1ede65d0aa97b9ec72cad764ca2f06a1484685309ed9c9f20dc5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:06:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:06:49 [ssh-agent] Looking for ssh-agent implementation... 23:06:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:06:49 $ docker exec 026bea87ad0b1ede65d0aa97b9ec72cad764ca2f06a1484685309ed9c9f20dc5 ssh-agent 23:06:49 SSH_AUTH_SOCK=/tmp/ssh-wRRXMYJSGU8D/agent.13 23:06:49 SSH_AGENT_PID=20 23:06:49 Running ssh-add (command line suppressed) 23:06:49 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2324720119849694854.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2324720119849694854.key) 23:06:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:06:50 + git semver push 23:06:50 # -> Open(): unable to determine branch for HEAD 23:06:50 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 23:06:50 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 23:06:50 # $SEMVER_REMOTE_NAME = origin 23:06:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:06:50 # $SEMVER_USER_NAME = edgex-jenkins 23:06:50 # $SEMVER_BRANCH = master 23:06:50 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 23:06:53 $ docker exec --env ******** --env ******** 026bea87ad0b1ede65d0aa97b9ec72cad764ca2f06a1484685309ed9c9f20dc5 ssh-agent -k 23:06:53 unset SSH_AUTH_SOCK; 23:06:53 unset SSH_AGENT_PID; 23:06:53 echo Agent pid 20 killed; 23:06:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:06:53 + git semver [Pipeline] } 23:06:53 $ docker stop --time=1 026bea87ad0b1ede65d0aa97b9ec72cad764ca2f06a1484685309ed9c9f20dc5 23:06:55 $ docker rm -f 026bea87ad0b1ede65d0aa97b9ec72cad764ca2f06a1484685309ed9c9f20dc5 [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 23:06:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:06:56 ---> package-listing.sh 23:06:56 ++ tr '[:upper:]' '[:lower:]' 23:06:56 ++ facter osfamily 23:06:56 + OS_FAMILY=redhat 23:06:56 + workspace=/w/workspace/gexfoundry_device-mqtt-go_master 23:06:56 + START_PACKAGES=/tmp/packages_start.txt 23:06:56 + END_PACKAGES=/tmp/packages_end.txt 23:06:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:06:56 + PACKAGES=/tmp/packages_start.txt 23:06:56 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 23:06:56 + PACKAGES=/tmp/packages_end.txt 23:06:56 + case "${OS_FAMILY}" in 23:06:56 + sort 23:06:56 + rpm -qa 23:06:57 + '[' -f /tmp/packages_start.txt ']' 23:06:57 + '[' -f /tmp/packages_end.txt ']' 23:06:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:06:57 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 23:06:57 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ 23:06:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo 23:06:57 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 23:06:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:06:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:06:58 23:06:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:06:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:06:58 alpine: Pulling from edgex-lftools-log-publisher 23:06:58 df20fa9351a1: Pulling fs layer 23:06:58 36b3adc4ff6f: Pulling fs layer 23:06:58 8ad3a11d3b57: Pulling fs layer 23:06:58 46f8f816bc3b: Pulling fs layer 23:06:58 93b61091891f: Pulling fs layer 23:06:58 93b9cdb0e59b: Pulling fs layer 23:06:58 5e14af77c1be: Pulling fs layer 23:06:58 01666e4c0597: Pulling fs layer 23:06:58 aa168da1d23b: Pulling fs layer 23:06:58 46f8f816bc3b: Waiting 23:06:58 93b61091891f: Waiting 23:06:58 93b9cdb0e59b: Waiting 23:06:58 5e14af77c1be: Waiting 23:06:58 01666e4c0597: Waiting 23:06:58 aa168da1d23b: Waiting 23:06:58 36b3adc4ff6f: Download complete 23:06:58 46f8f816bc3b: Verifying Checksum 23:06:58 46f8f816bc3b: Download complete 23:06:58 df20fa9351a1: Verifying Checksum 23:06:58 df20fa9351a1: Download complete 23:06:58 93b9cdb0e59b: Verifying Checksum 23:06:58 93b9cdb0e59b: Download complete 23:06:58 93b61091891f: Verifying Checksum 23:06:58 93b61091891f: Download complete 23:06:58 5e14af77c1be: Verifying Checksum 23:06:58 5e14af77c1be: Download complete 23:06:59 01666e4c0597: Verifying Checksum 23:06:59 01666e4c0597: Download complete 23:06:59 8ad3a11d3b57: Verifying Checksum 23:06:59 8ad3a11d3b57: Download complete 23:06:59 df20fa9351a1: Pull complete 23:06:59 36b3adc4ff6f: Pull complete 23:06:59 8ad3a11d3b57: Pull complete 23:06:59 46f8f816bc3b: Pull complete 23:06:59 93b61091891f: Pull complete 23:06:59 93b9cdb0e59b: Pull complete 23:06:59 5e14af77c1be: Pull complete 23:07:00 01666e4c0597: Pull complete 23:07:00 aa168da1d23b: Verifying Checksum 23:07:00 aa168da1d23b: Download complete 23:07:05 aa168da1d23b: Pull complete 23:07:05 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:07:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:07:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:07:05 prd-centos7-docker-4c-2g-14870 does not seem to be running inside a container 23:07:05 $ 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 23:07:08 $ docker top 1fb899155347fdadb5d62c5ec10cbdf4051a4e7a0e0ea65ac8d8750f3cb8afed -eo pid,comm [Pipeline] { [Pipeline] sh 23:07:08 + touch /tmp/pre-build-complete [Pipeline] sh 23:07:08 + mkdir -p /var/log/sa [Pipeline] sh 23:07:08 + ls /var/log/sa-host 23:07:08 + sadf -c /var/log/sa-host/sa05 23:07:08 file_magic: OK 23:07:08 HZ: Using current value: 100 23:07:08 file_header: OK 23:07:08 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 23:07:08 Statistics: 23:07:08 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:07:08 File successfully converted to sysstat format version 12.2.1 23:07:08 + sadf -c /var/log/sa-host/sa18 23:07:08 file_magic: OK 23:07:08 HZ: Using current value: 100 23:07:08 file_header: OK 23:07:08 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 23:07:08 Statistics: 23:07:08 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:07:08 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:07:09 provisioning config files... 23:07:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3367897561267800088tmp [Pipeline] { [Pipeline] echo 23:07:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:07:09 ---> create-netrc.sh [Pipeline] } 23:07:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:07:09 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:07:09 ---> python-tools-install.sh [Pipeline] echo 23:07:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:07:10 ---> sudo-logs.sh 23:07:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:07:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:07:10 ---> job-cost.sh 23:07:10 lf-activate-venv: SKIPPING 23:07:10 DEBUG: total: 0.18000000715255737 23:07:10 INFO: Retrieving Stack Cost... 23:07:12 INFO: Retrieving Pricing Info for: v3-standard-2 23:07:12 INFO: Archiving Costs [Pipeline] echo 23:07:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:07:13 ---> logs-deploy.sh 23:07:13 lf-activate-venv: SKIPPING 23:07:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/44 23:07:13 INFO: archiving workspace using pattern(s): 23:07:13 Archives upload complete. 23:07:13 INFO: archiving logs to Nexus 23:07:14 ---> uname -a: 23:07:14 Linux prd-centos7-docker-4c-2g-14870.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 23:07:14 23:07:14 23:07:14 ---> lscpu: 23:07:14 Architecture: x86_64 23:07:14 CPU op-mode(s): 32-bit, 64-bit 23:07:14 Byte Order: Little Endian 23:07:14 Address sizes: 40 bits physical, 48 bits virtual 23:07:14 CPU(s): 2 23:07:14 On-line CPU(s) list: 0,1 23:07:14 Thread(s) per core: 1 23:07:14 Core(s) per socket: 1 23:07:14 Socket(s): 2 23:07:14 NUMA node(s): 1 23:07:14 Vendor ID: AuthenticAMD 23:07:14 CPU family: 23 23:07:14 Model: 49 23:07:14 Model name: AMD EPYC-Rome Processor 23:07:14 Stepping: 0 23:07:14 CPU MHz: 2800.000 23:07:14 BogoMIPS: 5600.00 23:07:14 Virtualization: AMD-V 23:07:14 Hypervisor vendor: KVM 23:07:14 Virtualization type: full 23:07:14 L1d cache: 64 KiB 23:07:14 L1i cache: 64 KiB 23:07:14 L2 cache: 1 MiB 23:07:14 L3 cache: 32 MiB 23:07:14 NUMA node0 CPU(s): 0,1 23:07:14 Vulnerability Itlb multihit: Not affected 23:07:14 Vulnerability L1tf: Not affected 23:07:14 Vulnerability Mds: Not affected 23:07:14 Vulnerability Meltdown: Not affected 23:07:14 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:07:14 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 23:07:14 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 23:07:14 Vulnerability Srbds: Not affected 23:07:14 Vulnerability Tsx async abort: Not affected 23:07:14 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 23:07:14 23:07:14 23:07:14 ---> nproc: 23:07:14 2 23:07:14 23:07:14 23:07:14 ---> df -h: 23:07:14 Filesystem Size Used Available Use% Mounted on 23:07:14 overlay 40.0G 8.9G 31.1G 22% / 23:07:14 tmpfs 64.0M 0 64.0M 0% /dev 23:07:14 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 23:07:14 shm 64.0M 0 64.0M 0% /dev/shm 23:07:14 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 23:07:14 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 23:07:14 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 23:07:14 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 23:07:14 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-mqtt-go_master 23:07:14 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/gexfoundry_device-mqtt-go_master@tmp 23:07:14 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 23:07:14 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 23:07:14 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 23:07:14 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 23:07:14 23:07:14 23:07:14 ---> free -m: 23:07:14 total used free shared buff/cache available 23:07:14 Mem: 7821 1276 3160 0 3384 6462 23:07:14 Swap: 1023 0 1023 23:07:14 23:07:14 23:07:14 ---> ip addr: 23:07:14 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 23:07:14 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 23:07:14 inet 127.0.0.1/8 scope host lo 23:07:14 valid_lft forever preferred_lft forever 23:07:14 inet6 ::1/128 scope host 23:07:14 valid_lft forever preferred_lft forever 23:07:14 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 23:07:14 link/ether fa:16:3e:b3:3c:f2 brd ff:ff:ff:ff:ff:ff 23:07:14 inet 10.30.123.10/23 brd 10.30.123.255 scope global dynamic eth0 23:07:14 valid_lft 85653sec preferred_lft 85653sec 23:07:14 inet6 fe80::f816:3eff:feb3:3cf2/64 scope link 23:07:14 valid_lft forever preferred_lft forever 23:07:14 3: docker0: mtu 1500 qdisc noqueue state DOWN 23:07:14 link/ether 02:42:98:51:f0:89 brd ff:ff:ff:ff:ff:ff 23:07:14 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 23:07:14 valid_lft forever preferred_lft forever 23:07:14 inet6 fe80::42:98ff:fe51:f089/64 scope link 23:07:14 valid_lft forever preferred_lft forever 23:07:14 23:07:14 23:07:14 ---> sar -b -r -n DEV: 23:07:14 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/18/21 _x86_64_ (2 CPU) 23:07:14 23:07:14 22:54:35 LINUX RESTART (2 CPU) 23:07:14 23:07:14 22:55:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 23:07:14 22:56:01 105.05 16.59 88.45 0.00 5614.36 4544.01 0.00 23:07:14 22:57:01 1.62 0.00 1.62 0.00 0.00 29.70 0.00 23:07:14 22:58:01 0.25 0.00 0.25 0.00 0.00 3.76 0.00 23:07:14 22:59:01 0.30 0.00 0.30 0.00 0.00 4.28 0.00 23:07:14 23:00:01 0.22 0.00 0.22 0.00 0.00 3.60 0.00 23:07:14 23:01:01 0.40 0.02 0.38 0.00 0.13 5.50 0.00 23:07:14 23:02:01 0.38 0.10 0.28 0.00 1.73 5.06 0.00 23:07:14 23:03:01 0.27 0.00 0.27 0.00 0.00 3.40 0.00 23:07:14 23:04:01 0.18 0.00 0.18 0.00 0.00 1.75 0.00 23:07:14 23:05:01 0.23 0.00 0.23 0.00 0.00 3.37 0.00 23:07:14 23:06:01 19.79 0.03 19.76 0.00 3.73 7256.80 0.00 23:07:14 23:07:01 195.05 0.10 194.95 0.00 9.99 51534.55 0.00 23:07:14 Average: 26.88 1.38 25.49 0.00 462.21 5285.26 0.00 23:07:14 23:07:14 22:55:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:07:14 22:56:01 5461404 0 808472 10.09 2620 1736444 1295044 14.30 572628 1575720 12 23:07:14 22:57:01 5467816 0 802052 10.01 2620 1736452 1245256 13.75 567452 1575688 12 23:07:14 22:58:01 5471980 0 797888 9.96 2620 1736452 1206444 13.32 568188 1571484 16 23:07:14 22:59:01 5470956 0 798908 9.98 2620 1736456 1206456 13.32 569316 1571484 20 23:07:14 23:00:01 5471900 0 797956 9.96 2620 1736464 1206324 13.32 560964 1579228 16 23:07:14 23:01:01 5466860 0 802996 10.03 2620 1736464 1209096 13.35 565276 1579228 8 23:07:14 23:02:01 5469356 0 800372 9.99 2620 1736592 1206700 13.32 564220 1579288 20 23:07:14 23:03:01 5467888 0 801832 10.01 2620 1736600 1206700 13.32 565116 1579288 8 23:07:14 23:04:01 5455656 0 814064 10.16 2620 1736600 1206700 13.32 577076 1579288 8 23:07:14 23:05:01 5454876 0 814840 10.17 2620 1736604 1206892 13.32 579352 1578104 8 23:07:14 23:06:01 4630888 0 920760 11.50 2620 2454672 1208608 13.34 667732 2233812 572552 23:07:14 23:07:01 3440716 0 1282840 16.02 2620 3282764 1729056 19.09 1159460 2752180 223436 23:07:14 Average: 5227525 0 853582 10.66 2620 1925214 1261106 13.92 626398 1729566 66343 23:07:14 23:07:14 22:55:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:07:14 22:56:01 eth0 590.38 400.68 1088.05 86.42 0.00 0.00 0.00 0.00 23:07:14 22:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 22:56:01 docker0 2.39 1.86 0.49 5.12 0.00 0.00 0.00 0.00 23:07:14 22:57:01 eth0 2.63 0.73 0.91 0.55 0.00 0.00 0.00 0.00 23:07:14 22:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 22:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 22:58:01 eth0 2.25 0.57 0.64 0.40 0.00 0.00 0.00 0.00 23:07:14 22:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 22:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 22:59:01 eth0 0.87 0.32 0.30 0.23 0.00 0.00 0.00 0.00 23:07:14 22:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 22:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 23:00:01 eth0 0.55 0.35 0.27 0.20 0.00 0.00 0.00 0.00 23:07:14 23:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 23:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 23:01:01 eth0 0.30 0.22 0.14 0.07 0.00 0.00 0.00 0.00 23:07:14 23:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 23:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 23:02:01 eth0 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 23:07:14 23:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 23:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 23:03:01 eth0 0.17 0.08 0.01 0.01 0.00 0.00 0.00 0.00 23:07:14 23:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 23:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 23:04:01 eth0 0.98 0.08 0.10 0.01 0.00 0.00 0.00 0.00 23:07:14 23:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 23:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 23:05:01 eth0 1.03 0.52 0.54 0.39 0.00 0.00 0.00 0.00 23:07:14 23:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 23:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 23:06:01 eth0 497.67 458.27 4081.83 35.17 0.00 0.00 0.00 0.00 23:07:14 23:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 23:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 23:07:01 eth0 817.80 706.74 6089.40 149.03 0.00 0.00 0.00 0.00 23:07:14 23:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 23:07:01 docker0 134.92 172.22 9.29 655.88 0.00 0.00 0.00 0.00 23:07:14 Average: eth0 159.00 130.37 938.46 22.63 0.00 0.00 0.00 0.00 23:07:14 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:14 Average: docker0 11.46 14.53 0.82 55.17 0.00 0.00 0.00 0.00 23:07:14 23:07:14 23:07:14 ---> sar -P ALL: 23:07:14 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/18/21 _x86_64_ (2 CPU) 23:07:14 23:07:14 22:54:35 LINUX RESTART (2 CPU) 23:07:14 23:07:14 22:55:01 CPU %user %nice %system %iowait %steal %idle 23:07:14 22:56:01 all 14.33 0.00 3.22 2.41 0.06 79.99 23:07:14 22:56:01 0 14.35 0.00 3.58 2.15 0.05 79.87 23:07:14 22:56:01 1 14.30 0.00 2.86 2.67 0.07 80.10 23:07:14 22:57:01 all 0.12 0.00 0.03 0.00 0.03 99.82 23:07:14 22:57:01 0 0.05 0.00 0.03 0.00 0.03 99.88 23:07:14 22:57:01 1 0.18 0.00 0.03 0.00 0.03 99.75 23:07:14 22:58:01 all 0.14 0.00 0.04 0.00 0.04 99.77 23:07:14 22:58:01 0 0.05 0.00 0.03 0.00 0.03 99.88 23:07:14 22:58:01 1 0.23 0.00 0.05 0.00 0.05 99.67 23:07:14 22:59:01 all 0.09 0.00 0.03 0.00 0.03 99.85 23:07:14 22:59:01 0 0.03 0.00 0.03 0.00 0.03 99.90 23:07:14 22:59:01 1 0.15 0.00 0.02 0.00 0.03 99.80 23:07:14 23:00:01 all 0.13 0.00 0.02 0.00 0.02 99.84 23:07:14 23:00:01 0 0.07 0.00 0.02 0.00 0.02 99.90 23:07:14 23:00:01 1 0.18 0.00 0.02 0.00 0.02 99.78 23:07:14 23:01:01 all 0.06 0.00 0.04 0.00 0.03 99.87 23:07:14 23:01:01 0 0.02 0.00 0.05 0.00 0.05 99.88 23:07:14 23:01:01 1 0.10 0.00 0.03 0.00 0.02 99.85 23:07:14 23:02:01 all 0.10 0.00 0.03 0.00 0.03 99.84 23:07:14 23:02:01 0 0.08 0.00 0.03 0.00 0.03 99.85 23:07:14 23:02:01 1 0.12 0.00 0.03 0.00 0.02 99.83 23:07:14 23:03:01 all 0.04 0.00 0.03 0.00 0.03 99.90 23:07:14 23:03:01 0 0.03 0.00 0.02 0.00 0.02 99.93 23:07:14 23:03:01 1 0.05 0.00 0.03 0.00 0.05 99.87 23:07:14 23:04:01 all 0.08 0.00 0.03 0.00 0.03 99.86 23:07:14 23:04:01 0 0.03 0.00 0.02 0.00 0.03 99.92 23:07:14 23:04:01 1 0.12 0.00 0.05 0.00 0.03 99.80 23:07:14 23:05:01 all 0.04 0.00 0.02 0.00 0.02 99.92 23:07:14 23:05:01 0 0.03 0.00 0.02 0.00 0.02 99.93 23:07:14 23:05:01 1 0.05 0.00 0.02 0.00 0.02 99.92 23:07:14 23:06:01 all 7.38 0.00 2.96 0.28 0.04 89.34 23:07:14 23:06:01 0 7.53 0.00 3.00 0.46 0.03 88.97 23:07:14 23:06:01 1 7.22 0.00 2.93 0.10 0.05 89.70 23:07:14 23:07:14 23:06:01 CPU %user %nice %system %iowait %steal %idle 23:07:14 23:07:01 all 20.58 0.00 9.02 5.25 0.09 65.06 23:07:14 23:07:01 0 18.56 0.00 8.95 5.95 0.09 66.44 23:07:14 23:07:01 1 22.60 0.00 9.09 4.54 0.09 63.68 23:07:14 Average: all 3.47 0.00 1.25 0.64 0.04 94.61 23:07:14 Average: 0 3.29 0.00 1.27 0.68 0.04 94.72 23:07:14 Average: 1 3.65 0.00 1.22 0.59 0.04 94.50 23:07:14 23:07:14 23:07:14