Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f7b704da3e9a84fb10464ba1b2bdd449b0700fcc Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-mqtt-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5854 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision f7b704da3e9a84fb10464ba1b2bdd449b0700fcc (master) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f7b704da3e9a84fb10464ba1b2bdd449b0700fcc # timeout=10 Commit message: "Merge pull request #178 from weichou1229/issue-143" > git rev-list --no-walk ba13f39da15fded8dc9ca6171c9bf6786df660a0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:30:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:30:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:30:58 ========================================================= 09:30:58 EdgeX Global Pipelines Version Info 09:30:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:30:59 ------------------- 09:30:59 stable info: 09:30:59 ------------------- 09:30:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:30:59 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 09:30:59 Message: update stable to v1.0.144 09:31:00 ------------------- 09:31:00 experimental info: 09:31:00 ------------------- 09:31:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:31:00 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 09:31:00 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 09:31:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 09:31:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 09:31:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:31:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:31:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:31:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:31:01 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:31:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:31:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:31:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:31:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:31:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo 09:31:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:31:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:31:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:31:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:31:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:31:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:31:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:31:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 09:31:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:31:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:31:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:31:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:31:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:31:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 09:31:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 09:31:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 09:31:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f7b704da3e9a84fb10464ba1b2bdd449b0700fcc [Pipeline] echo 09:31:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f7b704d [Pipeline] echo 09:31:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:31:04 + git log --format=format:%s -1 f7b704da3e9a84fb10464ba1b2bdd449b0700fcc [Pipeline] echo 09:31:04 GIT_COMMIT: f7b704da3e9a84fb10464ba1b2bdd449b0700fcc, Commit Message: Merge pull request #178 from weichou1229/issue-143 [Pipeline] echo 09:31:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:31:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:31:06 09:31:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:31:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:31:06 latest: Pulling from edgex-devops/git-semver 09:31:06 31603596830f: Pulling fs layer 09:31:06 2a8b12db71e7: Pulling fs layer 09:31:06 6ca5941a6612: Pulling fs layer 09:31:06 ecc8261a40a4: Pulling fs layer 09:31:06 ecc8261a40a4: Waiting 09:31:06 2a8b12db71e7: Verifying Checksum 09:31:06 2a8b12db71e7: Download complete 09:31:06 31603596830f: Verifying Checksum 09:31:06 31603596830f: Download complete 09:31:06 ecc8261a40a4: Verifying Checksum 09:31:06 ecc8261a40a4: Download complete 09:31:06 6ca5941a6612: Verifying Checksum 09:31:06 6ca5941a6612: Download complete 09:31:06 31603596830f: Pull complete 09:31:06 2a8b12db71e7: Pull complete 09:31:07 6ca5941a6612: Pull complete 09:31:08 ecc8261a40a4: Pull complete 09:31:08 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:31:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:31:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:31:08 prd-centos7-docker-4c-2g-5854 does not seem to be running inside a container 09:31:08 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:31:10 $ docker top 6509457b89306c6fa54a33a98184003c51846fced6143538b077f1f7c137e2a9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:31:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:31:11 [ssh-agent] Looking for ssh-agent implementation... 09:31:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:31:11 $ docker exec 6509457b89306c6fa54a33a98184003c51846fced6143538b077f1f7c137e2a9 ssh-agent 09:31:11 SSH_AUTH_SOCK=/tmp/ssh-ekeZEvlwfkqt/agent.12 09:31:11 SSH_AGENT_PID=17 09:31:11 Running ssh-add (command line suppressed) 09:31:11 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3136368357849469040.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3136368357849469040.key) 09:31:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:31:12 + git tag --points-at HEAD [Pipeline] } 09:31:12 $ docker exec --env ******** --env ******** 6509457b89306c6fa54a33a98184003c51846fced6143538b077f1f7c137e2a9 ssh-agent -k 09:31:12 unset SSH_AUTH_SOCK; 09:31:12 unset SSH_AGENT_PID; 09:31:12 echo Agent pid 17 killed; 09:31:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:31:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:31:12 [ssh-agent] Looking for ssh-agent implementation... 09:31:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:31:12 $ docker exec 6509457b89306c6fa54a33a98184003c51846fced6143538b077f1f7c137e2a9 ssh-agent 09:31:12 SSH_AUTH_SOCK=/tmp/ssh-JJyUWo7esRNk/agent.45 09:31:12 SSH_AGENT_PID=51 09:31:12 Running ssh-add (command line suppressed) 09:31:13 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8301438915490358342.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8301438915490358342.key) 09:31:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:31:13 + git semver init 09:31:13 # -> Open(): unable to determine branch for HEAD 09:31:13 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 09:31:13 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 09:31:13 # $SEMVER_REMOTE_NAME = origin 09:31:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:31:13 # $SEMVER_USER_NAME = edgex-jenkins 09:31:13 # $SEMVER_BRANCH = master 09:31:13 # $SEMVER_TEMP = /tmp/semver-412577219 09:31:13 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 09:31:13 # '/tmp/semver-412577219' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' 09:31:13 # -> Force: false 09:31:13 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 09:31:13 $ docker exec --env ******** --env ******** 6509457b89306c6fa54a33a98184003c51846fced6143538b077f1f7c137e2a9 ssh-agent -k 09:31:13 unset SSH_AUTH_SOCK; 09:31:13 unset SSH_AGENT_PID; 09:31:13 echo Agent pid 51 killed; 09:31:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:31:14 + git semver [Pipeline] } 09:31:14 $ docker stop --time=1 6509457b89306c6fa54a33a98184003c51846fced6143538b077f1f7c137e2a9 09:31:15 $ docker rm -f 6509457b89306c6fa54a33a98184003c51846fced6143538b077f1f7c137e2a9 [Pipeline] // withDockerContainer [Pipeline] sh 09:31:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:31:16 Stashed 1 file(s) [Pipeline] echo 09:31:16 [edgeXSemver]: initialized semver on version 1.2.3-dev.5 [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 09:31:32 Still waiting to schedule task 09:31:32 ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-5838’ is offline; ‘prd-centos7-docker-4c-2g-5841’ is offline; ‘prd-centos7-docker-4c-2g-5845’ is offline; ‘prd-centos7-docker-4c-2g-5846’ is offline; ‘prd-centos7-docker-4c-2g-5847’ is offline; ‘prd-centos7-docker-4c-2g-5851’ is offline; ‘prd-centos7-docker-4c-2g-5856’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’ 09:31:32 Still waiting to schedule task 09:31:32 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 09:33:17 Running on prd-centos7-docker-4c-2g-5863 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 09:33:17 Running in /w/workspace/device-mqtt-go/19 [Pipeline] { [Pipeline] checkout 09:33:20 using credential edgex-jenkins-ssh 09:33:20 Cloning the remote Git repository 09:33:20 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:33:20 > git init /w/workspace/device-mqtt-go/19 # timeout=10 09:33:20 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:33:20 > git --version # timeout=10 09:33:20 > git --version # 'git version 2.16.5' 09:33:20 using GIT_SSH to set credentials SSH Credentials for GitHub 09:33:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:33:22 Checking out Revision f7b704da3e9a84fb10464ba1b2bdd449b0700fcc (master) 09:33:21 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:33:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:33:21 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:33:21 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:33:21 using GIT_SSH to set credentials SSH Credentials for GitHub 09:33:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 09:33:22 > git config core.sparsecheckout # timeout=10 09:33:22 > git checkout -f f7b704da3e9a84fb10464ba1b2bdd449b0700fcc # timeout=10 09:33:25 Commit message: "Merge pull request #178 from weichou1229/issue-143" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:33:26 ========================================================= 09:33:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:33:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:33:27 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 09:33:27 Sending build context to Docker daemon 447kB 09:33:27 Step 1/8 : ARG BASE=golang:1.15-alpine 09:33:27 Step 2/8 : FROM ${BASE} 09:33:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:33:27 df20fa9351a1: Pulling fs layer 09:33:27 ed8968b2872e: Pulling fs layer 09:33:27 a92cc7c5fd73: Pulling fs layer 09:33:27 e871e8e8d7a9: Pulling fs layer 09:33:27 e73272ec9a57: Pulling fs layer 09:33:27 1e910a182e73: Pulling fs layer 09:33:27 4e634b169226: Pulling fs layer 09:33:27 1e910a182e73: Waiting 09:33:27 e871e8e8d7a9: Waiting 09:33:27 4e634b169226: Waiting 09:33:27 e73272ec9a57: Waiting 09:33:27 a92cc7c5fd73: Download complete 09:33:27 ed8968b2872e: Download complete 09:33:27 e73272ec9a57: Verifying Checksum 09:33:27 e73272ec9a57: Download complete 09:33:27 1e910a182e73: Verifying Checksum 09:33:27 1e910a182e73: Download complete 09:33:28 df20fa9351a1: Verifying Checksum 09:33:28 df20fa9351a1: Download complete 09:33:28 df20fa9351a1: Pull complete 09:33:28 ed8968b2872e: Pull complete 09:33:28 a92cc7c5fd73: Pull complete 09:33:30 4e634b169226: Verifying Checksum 09:33:30 4e634b169226: Download complete 09:33:30 e871e8e8d7a9: Verifying Checksum 09:33:30 e871e8e8d7a9: Download complete 09:33:37 e871e8e8d7a9: Pull complete 09:33:37 e73272ec9a57: Pull complete 09:33:37 1e910a182e73: Pull complete 09:33:41 4e634b169226: Pull complete 09:33:41 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 09:33:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:33:41 ---> f7629b54cfaa 09:33:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 09:33:41 ---> Running in 8c25d450c2ca 09:33:41 Removing intermediate container 8c25d450c2ca 09:33:41 ---> e32e741214b9 09:33:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:33:41 ---> Running in 8466b40789d2 09:33:43 Removing intermediate container 8466b40789d2 09:33:43 ---> 931505612646 09:33:43 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 09:33:43 ---> Running in ef6e4702da8f 09:33:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:33:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:33:45 (1/14) Installing libmagic (5.38-r0) 09:33:46 (2/14) Installing file (5.38-r0) 09:33:46 (3/14) Installing libc-dev (0.7.2-r3) 09:33:46 (4/14) Installing g++ (9.3.0-r2) 09:34:04 (5/14) Installing fortify-headers (1.1-r0) 09:34:04 (6/14) Installing patch (2.7.6-r6) 09:34:04 (7/14) Installing build-base (0.5-r2) 09:34:04 (8/14) Installing openssh-keygen (8.3_p1-r0) 09:34:04 (9/14) Installing libedit (20191231.3.1-r0) 09:34:04 (10/14) Installing openssh-client (8.3_p1-r0) 09:34:04 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 09:34:04 (12/14) Installing openssh-server-common (8.3_p1-r0) 09:34:04 (13/14) Installing openssh-server (8.3_p1-r0) 09:34:04 (14/14) Installing openssh (8.3_p1-r0) 09:34:04 Executing busybox-1.31.1-r16.trigger 09:34:04 OK: 237 MiB in 53 packages 09:34:08 Removing intermediate container ef6e4702da8f 09:34:08 ---> 3c6e38b79fb5 09:34:08 Step 6/8 : WORKDIR /device-mqtt-go 09:34:08 ---> Running in 2964ff487ec4 09:34:08 Removing intermediate container 2964ff487ec4 09:34:08 ---> 10995bb5519a 09:34:08 Step 7/8 : COPY . . 09:34:09 ---> 0f39613fb91c 09:34:09 Step 8/8 : RUN go mod download 09:34:09 ---> Running in 445227cf95bf 09:34:21 Removing intermediate container 445227cf95bf 09:34:21 ---> 0c65cc5cccb5 09:34:21 Successfully built 0c65cc5cccb5 09:34:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:34:22 + docker inspect -f . ci-base-image-x86_64 09:34:22 . [Pipeline] withDockerContainer 09:34:22 prd-centos7-docker-4c-2g-5863 does not seem to be running inside a container 09:34:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/19 -v /w/workspace/device-mqtt-go/19:/w/workspace/device-mqtt-go/19:rw,z -v /w/workspace/device-mqtt-go/19@tmp:/w/workspace/device-mqtt-go/19@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 ******** ci-base-image-x86_64 cat 09:34:23 $ docker top 5715564ed02ae2d7d1c26520eb65103224d235a384b35e84e2a41b95c965f762 -eo pid,comm [Pipeline] { [Pipeline] sh 09:34:24 + go version 09:34:24 go version go1.15.2 linux/amd64 [Pipeline] } 09:34:24 $ docker stop --time=1 5715564ed02ae2d7d1c26520eb65103224d235a384b35e84e2a41b95c965f762 09:34:25 $ docker rm -f 5715564ed02ae2d7d1c26520eb65103224d235a384b35e84e2a41b95c965f762 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:34:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:34:27 + ls -al . 09:34:27 total 64 09:34:27 drwxrwxr-x. 9 jenkins jenkins 4096 Oct 16 09:33 . 09:34:27 drwxrwxr-x. 4 jenkins jenkins 30 Oct 16 09:33 .. 09:34:27 -rw-rw-r--. 1 jenkins jenkins 5255 Oct 16 09:33 Attribution.txt 09:34:27 drwxrwxr-x. 2 jenkins jenkins 87 Oct 16 09:33 bin 09:34:27 drwxrwxr-x. 3 jenkins jenkins 32 Oct 16 09:33 cmd 09:34:27 -rw-rw-r--. 1 jenkins jenkins 1784 Oct 16 09:33 Dockerfile 09:34:27 -rw-rw-r--. 1 jenkins jenkins 953 Oct 16 09:33 Dockerfile.build 09:34:27 -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 09:33 .dockerignore 09:34:27 drwxrwxr-x. 8 jenkins jenkins 162 Oct 16 09:33 .git 09:34:27 drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 09:33 .github 09:34:27 -rw-rw-r--. 1 jenkins jenkins 336 Oct 16 09:33 .gitignore 09:34:27 -rw-rw-r--. 1 jenkins jenkins 546 Oct 16 09:33 go.mod 09:34:27 drwxrwxr-x. 3 jenkins jenkins 20 Oct 16 09:33 internal 09:34:27 -rw-rw-r--. 1 jenkins jenkins 677 Oct 16 09:33 Jenkinsfile 09:34:27 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 16 09:33 LICENSE 09:34:27 -rw-rw-r--. 1 jenkins jenkins 902 Oct 16 09:33 Makefile 09:34:27 drwxrwxr-x. 2 jenkins jenkins 23 Oct 16 09:33 mock 09:34:27 -rw-rw-r--. 1 jenkins jenkins 444 Oct 16 09:33 README.md 09:34:27 drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 09:33 snap 09:34:27 -rw-rw-r--. 1 jenkins jenkins 11 Oct 16 09:31 VERSION 09:34:27 -rw-rw-r--. 1 jenkins jenkins 227 Oct 16 09:33 version.go [Pipeline] isUnix [Pipeline] sh 09:34:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5864 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 09:34:28 Running in /w/workspace/device-mqtt-go/19 [Pipeline] { [Pipeline] checkout 09:34:28 + docker build -t docker-device-mqtt-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=f7b704da3e9a84fb10464ba1b2bdd449b0700fcc --label arch=amd64 --label version=1.2.3-dev.5 . 09:34:28 Sending build context to Docker daemon 447kB 09:34:28 Step 1/22 : ARG BASE=golang:1.15-alpine 09:34:28 Step 2/22 : FROM ${BASE} AS builder 09:34:28 ---> 0c65cc5cccb5 09:34:28 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 09:34:28 ---> Running in aa3d213f4c23 09:34:28 Removing intermediate container aa3d213f4c23 09:34:28 ---> 5c7cd7fc3493 09:34:28 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 09:34:28 ---> Running in 712aed7742fa 09:34:28 Removing intermediate container 712aed7742fa 09:34:28 ---> e8146b20d2f5 09:34:28 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:34:28 ---> Running in 86b8f837af8b 09:34:29 Removing intermediate container 86b8f837af8b 09:34:29 ---> f70aee2d4517 09:34:29 Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:34:29 ---> Running in 607b6dd454fe 09:34:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:34:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:34:31 OK: 237 MiB in 53 packages 09:34:32 Removing intermediate container 607b6dd454fe 09:34:32 ---> f7ec20ccd962 09:34:32 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 09:34:32 ---> Running in 8d45d5e6c196 09:34:32 Removing intermediate container 8d45d5e6c196 09:34:32 ---> 1b886e2d067f 09:34:32 Step 8/22 : COPY . . 09:34:33 ---> fbbd6a5f3fcf 09:34:33 Step 9/22 : ARG MAKE='make build' 09:34:33 ---> Running in 223fc14fb08c 09:34:33 Removing intermediate container 223fc14fb08c 09:34:33 ---> 0eddfb3a1635 09:34:33 Step 10/22 : RUN $MAKE 09:34:33 ---> Running in 78ee08da7837 09:34:34 using credential edgex-jenkins-ssh 09:34:34 Cloning the remote Git repository 09:34:34 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.2.3-dev.5" -o cmd/device-mqtt ./cmd 09:34:34 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:34:34 > git init /w/workspace/device-mqtt-go/19 # timeout=10 09:34:34 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:34:34 > git --version # timeout=10 09:34:34 > git --version # 'git version 2.17.1' 09:34:34 using GIT_SSH to set credentials SSH Credentials for GitHub 09:34:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:34:35 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:34:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:34:35 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:34:35 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:34:35 using GIT_SSH to set credentials SSH Credentials for GitHub 09:34:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 09:34:36 Checking out Revision f7b704da3e9a84fb10464ba1b2bdd449b0700fcc (master) 09:34:36 > git config core.sparsecheckout # timeout=10 09:34:36 > git checkout -f f7b704da3e9a84fb10464ba1b2bdd449b0700fcc # timeout=10 09:34:40 Commit message: "Merge pull request #178 from weichou1229/issue-143" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:34:41 ========================================================= 09:34:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:34:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:34:42 CGO_ENABLED=0 GO111MODULE=on go build ./... 09:34:42 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 09:34:43 Sending build context to Docker daemon 447kB 09:34:43 Step 1/8 : ARG BASE=golang:1.15-alpine 09:34:43 Step 2/8 : FROM ${BASE} 09:34:43 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:34:43 b538f80385f9: Pulling fs layer 09:34:43 74f711af9a0d: Pulling fs layer 09:34:43 99f96fe45779: Pulling fs layer 09:34:43 8529a6b9a6be: Pulling fs layer 09:34:43 45590311c82a: Pulling fs layer 09:34:43 69ca0ff8b7b3: Pulling fs layer 09:34:43 209524e5b208: Pulling fs layer 09:34:43 8529a6b9a6be: Waiting 09:34:43 45590311c82a: Waiting 09:34:43 69ca0ff8b7b3: Waiting 09:34:43 209524e5b208: Waiting 09:34:43 99f96fe45779: Download complete 09:34:44 74f711af9a0d: Download complete 09:34:44 45590311c82a: Download complete 09:34:44 69ca0ff8b7b3: Verifying Checksum 09:34:44 69ca0ff8b7b3: Download complete 09:34:44 b538f80385f9: Verifying Checksum 09:34:44 b538f80385f9: Download complete 09:34:45 b538f80385f9: Pull complete 09:34:45 74f711af9a0d: Pull complete 09:34:46 99f96fe45779: Pull complete 09:34:46 Removing intermediate container 78ee08da7837 09:34:46 ---> f81db34d4bed 09:34:46 Step 11/22 : FROM alpine 09:34:46 latest: Pulling from library/alpine 09:34:46 df20fa9351a1: Already exists 09:34:46 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 09:34:46 Status: Downloaded newer image for alpine:latest 09:34:46 ---> a24bb4013296 09:34:46 Step 12/22 : ENV APP_PORT=49982 09:34:47 209524e5b208: Verifying Checksum 09:34:47 209524e5b208: Download complete 09:34:47 ---> Running in 54949eb0a067 09:34:47 Removing intermediate container 54949eb0a067 09:34:47 ---> aed2afc91063 09:34:47 Step 13/22 : EXPOSE $APP_PORT 09:34:47 ---> Running in 97d984c54ac7 09:34:47 Removing intermediate container 97d984c54ac7 09:34:47 ---> 2f5304585641 09:34:47 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 09:34:48 ---> 1827fd189f6a 09:34:48 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 09:34:48 ---> bc4a7efa43e7 09:34:48 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 09:34:48 ---> acf5f7190844 09:34:48 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 09:34:48 ---> Running in 3b049b792700 09:34:48 Removing intermediate container 3b049b792700 09:34:48 ---> 1c5067133fdc 09:34:48 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 09:34:48 ---> Running in db7f2282076d 09:34:49 8529a6b9a6be: Verifying Checksum 09:34:49 8529a6b9a6be: Download complete 09:34:49 Removing intermediate container db7f2282076d 09:34:49 ---> 2bfc7b9a079b 09:34:49 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:34:49 ---> Running in d610756ab710 09:34:49 Removing intermediate container d610756ab710 09:34:49 ---> b751671d951c 09:34:49 Step 20/22 : LABEL arch=amd64 09:34:49 ---> Running in 9c3b6ad264fe 09:34:49 Removing intermediate container 9c3b6ad264fe 09:34:49 ---> 02faf1d19208 09:34:49 Step 21/22 : LABEL git_sha=f7b704da3e9a84fb10464ba1b2bdd449b0700fcc 09:34:49 ---> Running in 3d5fa42ac9f5 09:34:49 Removing intermediate container 3d5fa42ac9f5 09:34:49 ---> 3c215d28b73e 09:34:49 Step 22/22 : LABEL version=1.2.3-dev.5 09:34:49 ---> Running in eab4c67e6abc 09:34:49 Removing intermediate container eab4c67e6abc 09:34:49 ---> 994a527c4efe 09:34:49 [Warning] One or more build-args [ARCH] were not consumed 09:34:49 Successfully built 994a527c4efe 09:34:50 Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:34:50 provisioning config files... 09:34:50 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/19@tmp/config2711946163270853383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:34:51 ---> docker-login.sh 09:34:51 nexus3.edgexfoundry.org:10001 09:34:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:51 Configure a credential helper to remove this warning. See 09:34:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:51 09:34:51 Login Succeeded 09:34:51 nexus3.edgexfoundry.org:10002 09:34:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:51 Configure a credential helper to remove this warning. See 09:34:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:51 09:34:51 Login Succeeded 09:34:51 nexus3.edgexfoundry.org:10003 09:34:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:51 Configure a credential helper to remove this warning. See 09:34:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:51 09:34:51 Login Succeeded 09:34:51 nexus3.edgexfoundry.org:10004 09:34:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:52 Configure a credential helper to remove this warning. See 09:34:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:52 09:34:52 Login Succeeded 09:34:52 docker.io 09:34:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:52 Configure a credential helper to remove this warning. See 09:34:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:52 09:34:52 Login Succeeded 09:34:52 ---> docker-login.sh ends [Pipeline] } 09:34:52 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:34:52 [edgeXDocker.push] Tagging docker image docker-device-mqtt-go with the following tags: 09:34:52 f7b704da3e9a84fb10464ba1b2bdd449b0700fcc 09:34:52 latest 09:34:52 1.2.3-dev.5 09:34:52 f7b704da3e9a84fb10464ba1b2bdd449b0700fcc-1.2.3-dev.5 09:34:52 master 09:34:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:34:53 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:f7b704da3e9a84fb10464ba1b2bdd449b0700fcc [Pipeline] isUnix [Pipeline] sh 09:34:53 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:f7b704da3e9a84fb10464ba1b2bdd449b0700fcc 09:34:53 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 09:34:53 8971f1845930: Preparing 09:34:53 fde7901f5f89: Preparing 09:34:53 9209d68f76d2: Preparing 09:34:53 50644c29ef5a: Preparing 09:34:53 50644c29ef5a: Layer already exists 09:34:53 fde7901f5f89: Pushed 09:34:53 8971f1845930: Pushed 09:34:54 9209d68f76d2: Pushed 09:34:55 f7b704da3e9a84fb10464ba1b2bdd449b0700fcc: digest: sha256:b6dd2c5759838646b7b19f63b2cd7acac9aa53659555159442bb77f89b56a16f size: 1155 [Pipeline] isUnix [Pipeline] sh 09:34:55 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [Pipeline] isUnix [Pipeline] sh 09:34:55 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest 09:34:55 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 09:34:55 8971f1845930: Preparing 09:34:55 fde7901f5f89: Preparing 09:34:55 9209d68f76d2: Preparing 09:34:55 50644c29ef5a: Preparing 09:34:55 fde7901f5f89: Layer already exists 09:34:55 9209d68f76d2: Layer already exists 09:34:55 50644c29ef5a: Layer already exists 09:34:55 8971f1845930: Layer already exists 09:34:55 latest: digest: sha256:b6dd2c5759838646b7b19f63b2cd7acac9aa53659555159442bb77f89b56a16f size: 1155 [Pipeline] isUnix [Pipeline] sh 09:34:56 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.2.3-dev.5 [Pipeline] isUnix [Pipeline] sh 09:34:56 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.2.3-dev.5 09:34:56 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 09:34:56 8971f1845930: Preparing 09:34:56 fde7901f5f89: Preparing 09:34:56 9209d68f76d2: Preparing 09:34:56 50644c29ef5a: Preparing 09:34:56 8971f1845930: Layer already exists 09:34:56 50644c29ef5a: Layer already exists 09:34:56 9209d68f76d2: Layer already exists 09:34:56 fde7901f5f89: Layer already exists 09:34:56 1.2.3-dev.5: digest: sha256:b6dd2c5759838646b7b19f63b2cd7acac9aa53659555159442bb77f89b56a16f size: 1155 [Pipeline] isUnix [Pipeline] sh 09:34:56 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:f7b704da3e9a84fb10464ba1b2bdd449b0700fcc-1.2.3-dev.5 [Pipeline] isUnix [Pipeline] sh 09:34:56 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:f7b704da3e9a84fb10464ba1b2bdd449b0700fcc-1.2.3-dev.5 09:34:56 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 09:34:56 8971f1845930: Preparing 09:34:56 fde7901f5f89: Preparing 09:34:56 9209d68f76d2: Preparing 09:34:56 50644c29ef5a: Preparing 09:34:56 50644c29ef5a: Layer already exists 09:34:56 8971f1845930: Layer already exists 09:34:56 9209d68f76d2: Layer already exists 09:34:56 fde7901f5f89: Layer already exists 09:34:56 f7b704da3e9a84fb10464ba1b2bdd449b0700fcc-1.2.3-dev.5: digest: sha256:b6dd2c5759838646b7b19f63b2cd7acac9aa53659555159442bb77f89b56a16f size: 1155 [Pipeline] isUnix [Pipeline] sh 09:34:57 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] isUnix [Pipeline] sh 09:34:57 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master 09:34:57 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 09:34:57 8971f1845930: Preparing 09:34:57 fde7901f5f89: Preparing 09:34:57 9209d68f76d2: Preparing 09:34:57 50644c29ef5a: Preparing 09:34:57 fde7901f5f89: Layer already exists 09:34:57 8971f1845930: Layer already exists 09:34:57 50644c29ef5a: Layer already exists 09:34:57 9209d68f76d2: Layer already exists 09:34:57 master: digest: sha256:b6dd2c5759838646b7b19f63b2cd7acac9aa53659555159442bb77f89b56a16f size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:34:57 ===================================================== [Pipeline] echo 09:34:57 taggedImages: 09:34:57 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:f7b704da3e9a84fb10464ba1b2bdd449b0700fcc 09:34:57 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest 09:34:57 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.2.3-dev.5 09:34:57 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:f7b704da3e9a84fb10464ba1b2bdd449b0700fcc-1.2.3-dev.5 09:34:57 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage 09:34:59 8529a6b9a6be: Pull complete 09:34:59 45590311c82a: Pull complete 09:34:59 69ca0ff8b7b3: Pull complete [Pipeline] } 09:35:02 209524e5b208: Pull complete 09:35:02 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 09:35:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:35:02 ---> 5bddaf1c2fca 09:35:02 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 09:35:05 ---> Running in cf8794b61a5a 09:35:05 Removing intermediate container cf8794b61a5a 09:35:05 ---> 5093729fb79f 09:35:05 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:35:05 ---> Running in 60297b335a0b 09:35:09 Removing intermediate container 60297b335a0b 09:35:09 ---> ce6e9e0e1fa8 09:35:09 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 09:35:09 ---> Running in f0c3148857af 09:35:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:35:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:35:11 (1/14) Installing libmagic (5.38-r0) 09:35:12 (2/14) Installing file (5.38-r0) 09:35:12 (3/14) Installing libc-dev (0.7.2-r3) 09:35:12 (4/14) Installing g++ (9.3.0-r2) 09:35:17 (5/14) Installing fortify-headers (1.1-r0) 09:35:17 (6/14) Installing patch (2.7.6-r6) 09:35:17 (7/14) Installing build-base (0.5-r2) 09:35:18 (8/14) Installing openssh-keygen (8.3_p1-r0) 09:35:18 (9/14) Installing libedit (20191231.3.1-r0) 09:35:18 (10/14) Installing openssh-client (8.3_p1-r0) 09:35:18 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 09:35:18 (12/14) Installing openssh-server-common (8.3_p1-r0) 09:35:18 (13/14) Installing openssh-server (8.3_p1-r0) 09:35:18 (14/14) Installing openssh (8.3_p1-r0) 09:35:18 Executing busybox-1.31.1-r16.trigger 09:35:19 OK: 221 MiB in 53 packages 09:35:23 Removing intermediate container f0c3148857af 09:35:23 ---> 7da331ad7e09 09:35:23 Step 6/8 : WORKDIR /device-mqtt-go 09:35:23 ---> Running in 83bdc9c8bad9 09:35:24 Removing intermediate container 83bdc9c8bad9 09:35:24 ---> d5e9a160dcb4 09:35:24 Step 7/8 : COPY . . 09:35:25 ---> cffd2704c3d3 09:35:25 Step 8/8 : RUN go mod download 09:35:25 ---> Running in 296f79542c4f 09:35:40 Removing intermediate container 296f79542c4f 09:35:40 ---> 2334b80256e1 09:35:40 Successfully built 2334b80256e1 09:35:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:35:40 + docker inspect -f . ci-base-image-arm64 09:35:40 . [Pipeline] withDockerContainer 09:35:41 prd-ubuntu18.04-docker-arm64-4c-16g-5864 does not seem to be running inside a container 09:35:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/19 -v /w/workspace/device-mqtt-go/19:/w/workspace/device-mqtt-go/19:rw,z -v /w/workspace/device-mqtt-go/19@tmp:/w/workspace/device-mqtt-go/19@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 ******** ci-base-image-arm64 cat 09:35:43 $ docker top 1a185f09b9328dbfda3dd99f371f84776a40276136c6b381460f97d31f48ad7e -eo pid,comm [Pipeline] { [Pipeline] sh 09:35:44 + go version 09:35:44 go version go1.15.2 linux/arm64 [Pipeline] } 09:35:44 $ docker stop --time=1 1a185f09b9328dbfda3dd99f371f84776a40276136c6b381460f97d31f48ad7e 09:35:46 $ docker rm -f 1a185f09b9328dbfda3dd99f371f84776a40276136c6b381460f97d31f48ad7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:35:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:35:48 + ls -al . 09:35:48 total 96 09:35:48 drwxrwxr-x 9 jenkins jenkins 4096 Oct 16 09:34 . 09:35:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:34 .. 09:35:48 -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 09:34 .dockerignore 09:35:48 drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 09:34 .git 09:35:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:34 .github 09:35:48 -rw-rw-r-- 1 jenkins jenkins 336 Oct 16 09:34 .gitignore 09:35:48 -rw-rw-r-- 1 jenkins jenkins 5255 Oct 16 09:34 Attribution.txt 09:35:48 -rw-rw-r-- 1 jenkins jenkins 1784 Oct 16 09:34 Dockerfile 09:35:48 -rw-rw-r-- 1 jenkins jenkins 953 Oct 16 09:34 Dockerfile.build 09:35:48 -rw-rw-r-- 1 jenkins jenkins 677 Oct 16 09:34 Jenkinsfile 09:35:48 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 16 09:34 LICENSE 09:35:48 -rw-rw-r-- 1 jenkins jenkins 902 Oct 16 09:34 Makefile 09:35:48 -rw-rw-r-- 1 jenkins jenkins 444 Oct 16 09:34 README.md 09:35:48 -rw-rw-r-- 1 jenkins jenkins 11 Oct 16 09:31 VERSION 09:35:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:34 bin 09:35:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 16 09:34 cmd 09:35:48 -rw-rw-r-- 1 jenkins jenkins 546 Oct 16 09:34 go.mod 09:35:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 16 09:34 internal 09:35:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:34 mock 09:35:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:34 snap 09:35:48 -rw-rw-r-- 1 jenkins jenkins 227 Oct 16 09:34 version.go [Pipeline] isUnix [Pipeline] sh 09:35:48 + docker build -t docker-device-mqtt-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f7b704da3e9a84fb10464ba1b2bdd449b0700fcc --label arch=arm64 --label version=1.2.3-dev.5 . 09:35:49 Sending build context to Docker daemon 447kB 09:35:49 Step 1/22 : ARG BASE=golang:1.15-alpine 09:35:49 Step 2/22 : FROM ${BASE} AS builder 09:35:49 ---> 2334b80256e1 09:35:49 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 09:35:49 ---> Running in 76901b2b2d03 09:35:49 Removing intermediate container 76901b2b2d03 09:35:49 ---> d702465f902b 09:35:49 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 09:35:50 ---> Running in 8c0c399b49bb 09:35:50 Removing intermediate container 8c0c399b49bb 09:35:50 ---> 4b35242f6c52 09:35:50 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:35:50 ---> Running in 68a90af4bedd 09:35:53 Removing intermediate container 68a90af4bedd 09:35:53 ---> db60c6107ee6 09:35:53 Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:35:53 ---> Running in d1dd448b4db0 09:35:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:35:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:35:57 OK: 221 MiB in 53 packages 09:35:58 Removing intermediate container d1dd448b4db0 09:35:58 ---> d4eb1aab8b3d 09:35:58 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 09:35:58 ---> Running in b0deab1983e9 09:35:59 Removing intermediate container b0deab1983e9 09:35:59 ---> c02493550c96 09:35:59 Step 8/22 : COPY . . 09:36:00 ---> 6c3826702f72 09:36:00 Step 9/22 : ARG MAKE='make build' 09:36:00 ---> Running in a819d8cbb5e0 09:36:01 Removing intermediate container a819d8cbb5e0 09:36:01 ---> 12bbc46fe92c 09:36:01 Step 10/22 : RUN $MAKE 09:36:01 ---> Running in ad7a7223d744 09:36:02 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.2.3-dev.5" -o cmd/device-mqtt ./cmd 09:36:34 CGO_ENABLED=0 GO111MODULE=on go build ./... 09:36:36 Removing intermediate container ad7a7223d744 09:36:36 ---> 1855e0e1452c 09:36:36 Step 11/22 : FROM alpine 09:36:37 latest: Pulling from library/alpine 09:36:37 b538f80385f9: Already exists 09:36:37 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 09:36:37 Status: Downloaded newer image for alpine:latest 09:36:37 ---> 62ee0e9f8440 09:36:37 Step 12/22 : ENV APP_PORT=49982 09:36:37 ---> Running in 61fe86ee510a 09:36:38 Removing intermediate container 61fe86ee510a 09:36:38 ---> 2c432a97a235 09:36:38 Step 13/22 : EXPOSE $APP_PORT 09:36:38 ---> Running in b75e032015c6 09:36:39 Removing intermediate container b75e032015c6 09:36:39 ---> 471cfa327ca7 09:36:39 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 09:36:40 ---> bb9b52b0c366 09:36:40 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 09:36:41 ---> faba0594df2b 09:36:41 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 09:36:42 ---> 6ada66dab473 09:36:42 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 09:36:42 ---> Running in 5cab55d2b678 09:36:42 Removing intermediate container 5cab55d2b678 09:36:42 ---> 13bb81c06a15 09:36:42 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 09:36:42 ---> Running in 9984e749790a 09:36:43 Removing intermediate container 9984e749790a 09:36:43 ---> 6534df1a5636 09:36:43 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:36:43 ---> Running in 1581da2416fa 09:36:43 Removing intermediate container 1581da2416fa 09:36:43 ---> 8fe3235ee3c2 09:36:43 Step 20/22 : LABEL arch=arm64 09:36:43 ---> Running in 41caeedfbf12 09:36:44 Removing intermediate container 41caeedfbf12 09:36:44 ---> 09f61acf98d0 09:36:44 Step 21/22 : LABEL git_sha=f7b704da3e9a84fb10464ba1b2bdd449b0700fcc 09:36:44 ---> Running in 137d0fcf0648 09:36:45 Removing intermediate container 137d0fcf0648 09:36:45 ---> de678e2711b5 09:36:45 Step 22/22 : LABEL version=1.2.3-dev.5 09:36:45 ---> Running in 2e5f322be92f 09:36:45 Removing intermediate container 2e5f322be92f 09:36:45 ---> d8371be2e0ae 09:36:45 [Warning] One or more build-args [ARCH] were not consumed 09:36:45 Successfully built d8371be2e0ae 09:36:45 Successfully tagged docker-device-mqtt-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:36:46 provisioning config files... 09:36:46 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/19@tmp/config5119097000788071608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:36:46 ---> docker-login.sh 09:36:46 nexus3.edgexfoundry.org:10001 09:36:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:47 Configure a credential helper to remove this warning. See 09:36:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:47 09:36:47 Login Succeeded 09:36:47 nexus3.edgexfoundry.org:10002 09:36:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:47 Configure a credential helper to remove this warning. See 09:36:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:47 09:36:47 Login Succeeded 09:36:47 nexus3.edgexfoundry.org:10003 09:36:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:48 Configure a credential helper to remove this warning. See 09:36:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:48 09:36:48 Login Succeeded 09:36:48 nexus3.edgexfoundry.org:10004 09:36:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:48 Configure a credential helper to remove this warning. See 09:36:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:48 09:36:48 Login Succeeded 09:36:48 docker.io 09:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:49 Configure a credential helper to remove this warning. See 09:36:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:49 09:36:49 Login Succeeded 09:36:49 ---> docker-login.sh ends [Pipeline] } 09:36:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:36:50 [edgeXDocker.push] Tagging docker image docker-device-mqtt-go-arm64 with the following tags: 09:36:50 f7b704da3e9a84fb10464ba1b2bdd449b0700fcc 09:36:50 latest 09:36:50 1.2.3-dev.5 09:36:50 f7b704da3e9a84fb10464ba1b2bdd449b0700fcc-1.2.3-dev.5 09:36:50 master 09:36:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:36:50 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:f7b704da3e9a84fb10464ba1b2bdd449b0700fcc [Pipeline] isUnix [Pipeline] sh 09:36:51 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:f7b704da3e9a84fb10464ba1b2bdd449b0700fcc 09:36:51 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 09:36:51 3513baf38dd1: Preparing 09:36:51 6404db7447a8: Preparing 09:36:51 6191d3a562b9: Preparing 09:36:51 e2f13739ad41: Preparing 09:36:51 e2f13739ad41: Layer already exists 09:36:51 3513baf38dd1: Pushed 09:36:51 6404db7447a8: Pushed 09:36:53 6191d3a562b9: Pushed 09:36:53 f7b704da3e9a84fb10464ba1b2bdd449b0700fcc: digest: sha256:2c6ca9488e59f020d55bb79f4a142dc49444a9bdba1a0146debf409b68389293 size: 1155 [Pipeline] isUnix [Pipeline] sh 09:36:54 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:36:54 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest 09:36:54 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 09:36:54 3513baf38dd1: Preparing 09:36:54 6404db7447a8: Preparing 09:36:54 6191d3a562b9: Preparing 09:36:54 e2f13739ad41: Preparing 09:36:54 e2f13739ad41: Layer already exists 09:36:54 6191d3a562b9: Layer already exists 09:36:54 6404db7447a8: Layer already exists 09:36:54 3513baf38dd1: Layer already exists 09:36:54 latest: digest: sha256:2c6ca9488e59f020d55bb79f4a142dc49444a9bdba1a0146debf409b68389293 size: 1155 [Pipeline] isUnix [Pipeline] sh 09:36:55 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.2.3-dev.5 [Pipeline] isUnix [Pipeline] sh 09:36:55 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.2.3-dev.5 09:36:55 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 09:36:55 3513baf38dd1: Preparing 09:36:55 6404db7447a8: Preparing 09:36:55 6191d3a562b9: Preparing 09:36:55 e2f13739ad41: Preparing 09:36:55 e2f13739ad41: Layer already exists 09:36:55 6191d3a562b9: Layer already exists 09:36:55 3513baf38dd1: Layer already exists 09:36:55 6404db7447a8: Layer already exists 09:36:55 1.2.3-dev.5: digest: sha256:2c6ca9488e59f020d55bb79f4a142dc49444a9bdba1a0146debf409b68389293 size: 1155 [Pipeline] isUnix [Pipeline] sh 09:36:56 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:f7b704da3e9a84fb10464ba1b2bdd449b0700fcc-1.2.3-dev.5 [Pipeline] isUnix [Pipeline] sh 09:36:56 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:f7b704da3e9a84fb10464ba1b2bdd449b0700fcc-1.2.3-dev.5 09:36:56 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 09:36:56 3513baf38dd1: Preparing 09:36:56 6404db7447a8: Preparing 09:36:56 6191d3a562b9: Preparing 09:36:56 e2f13739ad41: Preparing 09:36:56 3513baf38dd1: Layer already exists 09:36:56 6191d3a562b9: Layer already exists 09:36:56 6404db7447a8: Layer already exists 09:36:56 e2f13739ad41: Layer already exists 09:36:56 f7b704da3e9a84fb10464ba1b2bdd449b0700fcc-1.2.3-dev.5: digest: sha256:2c6ca9488e59f020d55bb79f4a142dc49444a9bdba1a0146debf409b68389293 size: 1155 [Pipeline] isUnix [Pipeline] sh 09:36:57 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] isUnix [Pipeline] sh 09:36:57 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master 09:36:57 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 09:36:57 3513baf38dd1: Preparing 09:36:57 6404db7447a8: Preparing 09:36:57 6191d3a562b9: Preparing 09:36:57 e2f13739ad41: Preparing 09:36:57 3513baf38dd1: Layer already exists 09:36:57 6191d3a562b9: Layer already exists 09:36:57 6404db7447a8: Layer already exists 09:36:57 e2f13739ad41: Layer already exists 09:36:57 master: digest: sha256:2c6ca9488e59f020d55bb79f4a142dc49444a9bdba1a0146debf409b68389293 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:36:58 ===================================================== [Pipeline] echo 09:36:58 taggedImages: 09:36:58 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:f7b704da3e9a84fb10464ba1b2bdd449b0700fcc 09:36:58 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest 09:36:58 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.2.3-dev.5 09:36:58 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:f7b704da3e9a84fb10464ba1b2bdd449b0700fcc-1.2.3-dev.5 09:36:58 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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) Stage "CodeCov" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 09:37:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 09:37:00 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 09:37:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:37:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 09:37:00 09:37:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 09:37:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 09:37:01 1.317.0: Pulling from edgex-devops/edgex-snyk-go 09:37:01 cbdbe7a5bc2a: Pulling fs layer 09:37:01 408f87550127: Pulling fs layer 09:37:01 fe522b08c979: Pulling fs layer 09:37:01 221eaa008020: Pulling fs layer 09:37:01 2a4607e5d6b9: Pulling fs layer 09:37:01 8f79b27c4fd2: Pulling fs layer 09:37:01 e5c8dbe1645b: Pulling fs layer 09:37:01 23e8b3b47431: Pulling fs layer 09:37:01 5c568d65a230: Pulling fs layer 09:37:01 221eaa008020: Waiting 09:37:01 2a4607e5d6b9: Waiting 09:37:01 8f79b27c4fd2: Waiting 09:37:01 e5c8dbe1645b: Waiting 09:37:01 23e8b3b47431: Waiting 09:37:01 5c568d65a230: Waiting 09:37:01 fe522b08c979: Verifying Checksum 09:37:01 fe522b08c979: Download complete 09:37:01 408f87550127: Verifying Checksum 09:37:01 408f87550127: Download complete 09:37:01 2a4607e5d6b9: Verifying Checksum 09:37:01 2a4607e5d6b9: Download complete 09:37:01 8f79b27c4fd2: Download complete 09:37:01 cbdbe7a5bc2a: Verifying Checksum 09:37:01 cbdbe7a5bc2a: Download complete 09:37:01 cbdbe7a5bc2a: Pull complete 09:37:01 408f87550127: Pull complete 09:37:02 fe522b08c979: Pull complete 09:37:02 e5c8dbe1645b: Download complete 09:37:04 5c568d65a230: Verifying Checksum 09:37:04 5c568d65a230: Download complete 09:37:04 23e8b3b47431: Verifying Checksum 09:37:04 23e8b3b47431: Download complete 09:37:06 221eaa008020: Verifying Checksum 09:37:06 221eaa008020: Download complete 09:37:12 221eaa008020: Pull complete 09:37:12 2a4607e5d6b9: Pull complete 09:37:12 8f79b27c4fd2: Pull complete 09:37:14 e5c8dbe1645b: Pull complete 09:37:17 23e8b3b47431: Pull complete 09:37:18 5c568d65a230: Pull complete 09:37:18 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 09:37:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 09:37:18 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 09:37:18 prd-centos7-docker-4c-2g-5854 does not seem to be running inside a container 09:37:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/gexfoundry_device-mqtt-go_master:/ws -w /ws --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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 09:37:19 $ docker top 91fdad7ce5c405e67e406a68f0b4c67408f3019653a3fa2a0045641d99ade95a -eo pid,comm [Pipeline] { [Pipeline] sh 09:37:20 + snyk monitor '--org=edgex-jenkins' 09:37:28 09:37:28 Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... 09:37:28 09:37:28 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/daae75eb-226e-4aa5-94ca-702f908ecc11 09:37:28 09:37:28 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:37:28 09:37:28 09:37:28 Snyk CLI supports Node.js 8 and higher. 09:37:28 Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. 09:37:28 Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. 09:37:28 09:37:28 The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. 09:37:28 The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. 09:37:28 You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. 09:37:28 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 09:37:28 $ docker stop --time=1 91fdad7ce5c405e67e406a68f0b4c67408f3019653a3fa2a0045641d99ade95a 09:37:31 $ docker rm -f 91fdad7ce5c405e67e406a68f0b4c67408f3019653a3fa2a0045641d99ade95a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:37:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 09:37:33 09:37:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 09:37:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 09:37:33 latest: Pulling from edgex-devops/edgex-klar 09:37:33 e7c96db7181b: Pulling fs layer 09:37:33 1868ca2cb446: Pulling fs layer 09:37:33 136be5d0fe8e: Pulling fs layer 09:37:33 894bfe63afcb: Pulling fs layer 09:37:33 894bfe63afcb: Waiting 09:37:33 1868ca2cb446: Verifying Checksum 09:37:33 1868ca2cb446: Download complete 09:37:33 136be5d0fe8e: Verifying Checksum 09:37:33 136be5d0fe8e: Download complete 09:37:33 e7c96db7181b: Verifying Checksum 09:37:33 e7c96db7181b: Download complete 09:37:33 894bfe63afcb: Verifying Checksum 09:37:33 894bfe63afcb: Download complete 09:37:33 e7c96db7181b: Pull complete 09:37:34 1868ca2cb446: Pull complete 09:37:34 136be5d0fe8e: Pull complete 09:37:34 894bfe63afcb: Pull complete 09:37:34 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 09:37:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 09:37:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 09:37:34 prd-centos7-docker-4c-2g-5854 does not seem to be running inside a container 09:37:34 $ docker run -t -d -u 1001:1001 --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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 09:37:35 $ docker top 5dde2000fc462a30cb0b24cd681c94e3f012627ffc0bd3ff330564443bdab218 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:36 + /klar nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:f7b704da3e9a84fb10464ba1b2bdd449b0700fcc 09:37:36 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 09:37:39 $ docker stop --time=1 5dde2000fc462a30cb0b24cd681c94e3f012627ffc0bd3ff330564443bdab218 09:37:41 $ docker rm -f 5dde2000fc462a30cb0b24cd681c94e3f012627ffc0bd3ff330564443bdab218 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 09:37:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 09:37:41 . [Pipeline] withDockerContainer 09:37:42 prd-centos7-docker-4c-2g-5854 does not seem to be running inside a container 09:37:42 $ docker run -t -d -u 1001:1001 --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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 09:37:42 $ docker top d34bdae102c01c4d32fd3db3337bfc2c70ece60edd99239fa4fb1607ab7e9044 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:43 + /klar nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:f7b704da3e9a84fb10464ba1b2bdd449b0700fcc 09:37:43 + tee 09:37:43 clair timeout 1m0s 09:37:43 docker timeout: 1m0s 09:37:43 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 09:37:44 $ docker stop --time=1 d34bdae102c01c4d32fd3db3337bfc2c70ece60edd99239fa4fb1607ab7e9044 09:37:45 $ docker rm -f d34bdae102c01c4d32fd3db3337bfc2c70ece60edd99239fa4fb1607ab7e9044 [Pipeline] // withDockerContainer [Pipeline] sh 09:37:46 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/clair-reports [Pipeline] echo 09:37:46 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-mqtt-go_master/clair-reports/clair_results_docker-device-mqtt-go_f7b704da3e9a84fb10464ba1b2bdd449b0700fcc.html [Pipeline] writeFile [Pipeline] step 09:37:46 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 09:37:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 09:37:46 . [Pipeline] withDockerContainer 09:37:46 prd-centos7-docker-4c-2g-5854 does not seem to be running inside a container 09:37:46 $ docker run -t -d -u 1001:1001 --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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 09:37:47 $ docker top 697ffb379314ff8ebcd9dff6f22248bc0dbc83f97a7f2387f1f26f4a4c5641da -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:48 + /klar nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:f7b704da3e9a84fb10464ba1b2bdd449b0700fcc 09:37:48 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 09:37:51 $ docker stop --time=1 697ffb379314ff8ebcd9dff6f22248bc0dbc83f97a7f2387f1f26f4a4c5641da 09:37:53 $ docker rm -f 697ffb379314ff8ebcd9dff6f22248bc0dbc83f97a7f2387f1f26f4a4c5641da [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 09:37:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 09:37:53 . [Pipeline] withDockerContainer 09:37:53 prd-centos7-docker-4c-2g-5854 does not seem to be running inside a container 09:37:53 $ docker run -t -d -u 1001:1001 --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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 09:37:54 $ docker top d035de3ed4787acfa6f05008235cba34943caa7546dd3ae232c869b116ef6e09 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:54 + /klar nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:f7b704da3e9a84fb10464ba1b2bdd449b0700fcc 09:37:54 + tee 09:37:54 clair timeout 1m0s 09:37:54 docker timeout: 1m0s 09:37:54 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 09:37:55 $ docker stop --time=1 d035de3ed4787acfa6f05008235cba34943caa7546dd3ae232c869b116ef6e09 09:37:57 $ docker rm -f d035de3ed4787acfa6f05008235cba34943caa7546dd3ae232c869b116ef6e09 [Pipeline] // withDockerContainer [Pipeline] sh 09:37:57 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/clair-reports [Pipeline] echo 09:37:57 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-mqtt-go_master/clair-reports/clair_results_docker-device-mqtt-go-arm64_f7b704da3e9a84fb10464ba1b2bdd449b0700fcc.html [Pipeline] writeFile [Pipeline] step 09:37:57 Archiving artifacts [Pipeline] } [Pipeline] // script [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 09:37:59 + git log --format=format:%s -1 f7b704da3e9a84fb10464ba1b2bdd449b0700fcc [Pipeline] isUnix [Pipeline] sh 09:37:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:37:59 . [Pipeline] withDockerContainer 09:37:59 prd-centos7-docker-4c-2g-5854 does not seem to be running inside a container 09:37:59 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:38:00 $ docker top b4a64d805b9a00d9d0815dbe936eed899f59c17baa20202660b34124a3819606 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:38:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:38:00 [ssh-agent] Looking for ssh-agent implementation... 09:38:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:38:01 $ docker exec b4a64d805b9a00d9d0815dbe936eed899f59c17baa20202660b34124a3819606 ssh-agent 09:38:01 SSH_AUTH_SOCK=/tmp/ssh-3GZRk2ifMvuH/agent.11 09:38:01 SSH_AGENT_PID=16 09:38:01 Running ssh-add (command line suppressed) 09:38:01 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7692031580021894276.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7692031580021894276.key) 09:38:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:38:01 + git semver tag 09:38:01 # -> Open(): unable to determine branch for HEAD 09:38:01 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 09:38:01 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 09:38:01 # $SEMVER_REMOTE_NAME = origin 09:38:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:38:01 # $SEMVER_USER_NAME = edgex-jenkins 09:38:01 # $SEMVER_BRANCH = master 09:38:01 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 09:38:01 # f7b704da3e9a84fb10464ba1b2bdd449b0700fcc HEAD 09:38:01 # -> Force: false 09:38:01 # 5b154464238e05d018dc72c48d4f857bb619866a refs/tags/v1.2.3-dev.5 [Pipeline] } 09:38:01 $ docker exec --env ******** --env ******** b4a64d805b9a00d9d0815dbe936eed899f59c17baa20202660b34124a3819606 ssh-agent -k 09:38:01 unset SSH_AUTH_SOCK; 09:38:01 unset SSH_AGENT_PID; 09:38:01 echo Agent pid 16 killed; 09:38:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:38:02 + git semver [Pipeline] } 09:38:02 $ docker stop --time=1 b4a64d805b9a00d9d0815dbe936eed899f59c17baa20202660b34124a3819606 09:38:03 $ docker rm -f b4a64d805b9a00d9d0815dbe936eed899f59c17baa20202660b34124a3819606 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 09:38:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:38:04 09:38:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 09:38:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:38:04 0.23.1-centos7: Pulling from edgex-lftools 09:38:04 ab5ef0e58194: Pulling fs layer 09:38:04 9712f1f96733: Pulling fs layer 09:38:04 63f879dbbcfc: Pulling fs layer 09:38:04 0d9ebad4ef96: Pulling fs layer 09:38:04 e9a5061849ea: Pulling fs layer 09:38:04 d747dcd14b5f: Pulling fs layer 09:38:04 2de7ff778b66: Pulling fs layer 09:38:04 e9a5061849ea: Waiting 09:38:04 d747dcd14b5f: Waiting 09:38:04 2de7ff778b66: Waiting 09:38:04 0d9ebad4ef96: Waiting 09:38:04 9712f1f96733: Verifying Checksum 09:38:04 9712f1f96733: Download complete 09:38:06 63f879dbbcfc: Verifying Checksum 09:38:06 63f879dbbcfc: Download complete 09:38:06 e9a5061849ea: Verifying Checksum 09:38:06 e9a5061849ea: Download complete 09:38:06 d747dcd14b5f: Verifying Checksum 09:38:06 d747dcd14b5f: Download complete 09:38:06 2de7ff778b66: Verifying Checksum 09:38:06 2de7ff778b66: Download complete 09:38:07 0d9ebad4ef96: Verifying Checksum 09:38:07 0d9ebad4ef96: Download complete 09:38:07 ab5ef0e58194: Verifying Checksum 09:38:07 ab5ef0e58194: Download complete 09:38:11 ab5ef0e58194: Pull complete 09:38:11 9712f1f96733: Pull complete 09:38:13 63f879dbbcfc: Pull complete 09:38:20 0d9ebad4ef96: Pull complete 09:38:20 e9a5061849ea: Pull complete 09:38:20 d747dcd14b5f: Pull complete 09:38:24 2de7ff778b66: Pull complete 09:38:24 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:38:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:38:24 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 09:38:24 prd-centos7-docker-4c-2g-5854 does not seem to be running inside a container 09:38:24 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:38:28 $ docker top c19480ed02b5a345c26b9434b06e2ca72cefe569eaf9b1280dc8da1932b67cd3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:38:28 provisioning config files... 09:38:28 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config6281454379120416864tmp 09:38:28 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config6308428173372290936tmp 09:38:28 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config8655922752327021194tmp [Pipeline] { [Pipeline] echo 09:38:28 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:38:29 ---> sigul-configuration.sh 09:38:29 gpg: directory `/root/.gnupg' created 09:38:29 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:38:29 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:38:29 gpg: keyring `/root/.gnupg/secring.gpg' created 09:38:29 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:38:29 gpg: CAST5 encrypted data 09:38:29 gpg: encrypted with 1 passphrase 09:38:29 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:38:29 + mkdir /home/jenkins 09:38:29 + mkdir /home/jenkins/sigul [Pipeline] sh 09:38:29 + 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 09:38:29 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:38:30 ---> sigul-install.sh 09:38:36 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 09:38:37 + git tag --list 09:38:37 0.7.1 09:38:37 v1.0.0 09:38:37 v1.1.0 09:38:37 v1.1.1 09:38:37 v1.2.0 09:38:37 v1.2.1 09:38:37 v1.2.2 09:38:37 v1.2.2-dev.1 09:38:37 v1.2.2-dev.2 09:38:37 v1.2.3-dev.1 09:38:37 v1.2.3-dev.2 09:38:37 v1.2.3-dev.3 09:38:37 v1.2.3-dev.4 09:38:37 v1.2.3-dev.5 [Pipeline] sh 09:38:37 + lftools sign git-tag v1.2.3-dev.5 09:38:39 Signing Git tag with Sigul... 09:38:39 Signing v1.2.3-dev.5 [Pipeline] echo 09:38:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:38:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:38:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:38:40 $ docker stop --time=1 c19480ed02b5a345c26b9434b06e2ca72cefe569eaf9b1280dc8da1932b67cd3 09:38:42 $ docker rm -f c19480ed02b5a345c26b9434b06e2ca72cefe569eaf9b1280dc8da1932b67cd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 09:38:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:38:43 . [Pipeline] withDockerContainer 09:38:43 prd-centos7-docker-4c-2g-5854 does not seem to be running inside a container 09:38:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:38:44 $ docker top ee6b054d0b97f416a54a3b6a673b3bfc780b6bc8a027d997ac46ffee2b07f690 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:38:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:38:44 [ssh-agent] Looking for ssh-agent implementation... 09:38:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:38:45 $ docker exec ee6b054d0b97f416a54a3b6a673b3bfc780b6bc8a027d997ac46ffee2b07f690 ssh-agent 09:38:45 SSH_AUTH_SOCK=/tmp/ssh-qMY8vRpB8zkl/agent.11 09:38:45 SSH_AGENT_PID=16 09:38:45 Running ssh-add (command line suppressed) 09:38:45 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8365130984262841876.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8365130984262841876.key) 09:38:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:38:45 + git semver bump pre 09:38:45 # -> Open(): unable to determine branch for HEAD 09:38:45 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 09:38:45 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 09:38:45 # $SEMVER_REMOTE_NAME = origin 09:38:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:38:45 # $SEMVER_USER_NAME = edgex-jenkins 09:38:45 # $SEMVER_BRANCH = master 09:38:45 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 09:38:45 1.2.3-dev.6 [Pipeline] } 09:38:45 $ docker exec --env ******** --env ******** ee6b054d0b97f416a54a3b6a673b3bfc780b6bc8a027d997ac46ffee2b07f690 ssh-agent -k 09:38:46 unset SSH_AUTH_SOCK; 09:38:46 unset SSH_AGENT_PID; 09:38:46 echo Agent pid 16 killed; 09:38:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:38:46 + git semver [Pipeline] } 09:38:46 $ docker stop --time=1 ee6b054d0b97f416a54a3b6a673b3bfc780b6bc8a027d997ac46ffee2b07f690 09:38:48 $ docker rm -f ee6b054d0b97f416a54a3b6a673b3bfc780b6bc8a027d997ac46ffee2b07f690 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 09:38:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:38:48 . [Pipeline] withDockerContainer 09:38:48 prd-centos7-docker-4c-2g-5854 does not seem to be running inside a container 09:38: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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:38:49 $ docker top 2cdb23f5723765aa7d92bafa630e4b513e3f357005e64fa502545999b198faa6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:38:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:38:49 [ssh-agent] Looking for ssh-agent implementation... 09:38:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:38:50 $ docker exec 2cdb23f5723765aa7d92bafa630e4b513e3f357005e64fa502545999b198faa6 ssh-agent 09:38:50 SSH_AUTH_SOCK=/tmp/ssh-x9Zlh1LLdzEN/agent.11 09:38:50 SSH_AGENT_PID=17 09:38:50 Running ssh-add (command line suppressed) 09:38:50 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2839771569763560569.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2839771569763560569.key) 09:38:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:38:51 + git semver push 09:38:51 # -> Open(): unable to determine branch for HEAD 09:38:51 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 09:38:51 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 09:38:51 # $SEMVER_REMOTE_NAME = origin 09:38:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:38:51 # $SEMVER_USER_NAME = edgex-jenkins 09:38:51 # $SEMVER_BRANCH = master 09:38:51 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 09:38:57 $ docker exec --env ******** --env ******** 2cdb23f5723765aa7d92bafa630e4b513e3f357005e64fa502545999b198faa6 ssh-agent -k 09:38:57 unset SSH_AUTH_SOCK; 09:38:57 unset SSH_AGENT_PID; 09:38:57 echo Agent pid 17 killed; 09:38:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:38:58 + git semver [Pipeline] } 09:38:58 $ docker stop --time=1 2cdb23f5723765aa7d92bafa630e4b513e3f357005e64fa502545999b198faa6 09:38:59 $ docker rm -f 2cdb23f5723765aa7d92bafa630e4b513e3f357005e64fa502545999b198faa6 [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 09:39:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:39:02 ---> package-listing.sh 09:39:02 ++ facter osfamily 09:39:02 ++ tr '[:upper:]' '[:lower:]' 09:39:02 + OS_FAMILY=redhat 09:39:02 + workspace=/w/workspace/gexfoundry_device-mqtt-go_master 09:39:02 + START_PACKAGES=/tmp/packages_start.txt 09:39:02 + END_PACKAGES=/tmp/packages_end.txt 09:39:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:39:02 + PACKAGES=/tmp/packages_start.txt 09:39:02 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 09:39:02 + PACKAGES=/tmp/packages_end.txt 09:39:02 + case "${OS_FAMILY}" in 09:39:02 + rpm -qa 09:39:02 + sort 09:39:06 + '[' -f /tmp/packages_start.txt ']' 09:39:06 + '[' -f /tmp/packages_end.txt ']' 09:39:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:39:06 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 09:39:06 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ 09:39:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo 09:39:06 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 09:39:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:39:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:39:07 09:39:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:39:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:39:07 alpine: Pulling from edgex-lftools-log-publisher 09:39:07 df20fa9351a1: Pulling fs layer 09:39:07 36b3adc4ff6f: Pulling fs layer 09:39:07 8ad3a11d3b57: Pulling fs layer 09:39:07 46f8f816bc3b: Pulling fs layer 09:39:07 93b61091891f: Pulling fs layer 09:39:07 93b9cdb0e59b: Pulling fs layer 09:39:07 5e14af77c1be: Pulling fs layer 09:39:07 01666e4c0597: Pulling fs layer 09:39:07 aa168da1d23b: Pulling fs layer 09:39:07 93b61091891f: Waiting 09:39:07 93b9cdb0e59b: Waiting 09:39:07 5e14af77c1be: Waiting 09:39:07 46f8f816bc3b: Waiting 09:39:07 aa168da1d23b: Waiting 09:39:07 01666e4c0597: Waiting 09:39:07 36b3adc4ff6f: Verifying Checksum 09:39:07 36b3adc4ff6f: Download complete 09:39:07 46f8f816bc3b: Verifying Checksum 09:39:07 46f8f816bc3b: Download complete 09:39:07 df20fa9351a1: Verifying Checksum 09:39:07 df20fa9351a1: Download complete 09:39:07 93b9cdb0e59b: Verifying Checksum 09:39:07 93b9cdb0e59b: Download complete 09:39:07 5e14af77c1be: Verifying Checksum 09:39:07 5e14af77c1be: Download complete 09:39:07 01666e4c0597: Verifying Checksum 09:39:07 01666e4c0597: Download complete 09:39:07 8ad3a11d3b57: Verifying Checksum 09:39:07 8ad3a11d3b57: Download complete 09:39:07 93b61091891f: Verifying Checksum 09:39:07 93b61091891f: Download complete 09:39:07 df20fa9351a1: Pull complete 09:39:08 36b3adc4ff6f: Pull complete 09:39:10 8ad3a11d3b57: Pull complete 09:39:10 aa168da1d23b: Verifying Checksum 09:39:10 46f8f816bc3b: Pull complete 09:39:11 93b61091891f: Pull complete 09:39:11 93b9cdb0e59b: Pull complete 09:39:11 5e14af77c1be: Pull complete 09:39:11 01666e4c0597: Pull complete 09:39:18 aa168da1d23b: Pull complete 09:39:18 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:39:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:39:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:39:18 prd-centos7-docker-4c-2g-5854 does not seem to be running inside a container 09:39:18 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:39:21 $ docker top 93290e0586a4fef726dc01dd448e55738dcd996491341ffb5aa363b070609024 -eo pid,comm [Pipeline] { [Pipeline] sh 09:39:21 + touch /tmp/pre-build-complete [Pipeline] sh 09:39:21 + mkdir -p /var/log/sa [Pipeline] sh 09:39:22 + ls /var/log/sa-host 09:39:22 + sadf -c /var/log/sa-host/sa05 09:39:22 file_magic: OK 09:39:22 HZ: Using current value: 100 09:39:22 file_header: OK 09:39:22 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 09:39:22 Statistics: 09:39:22 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:39:22 File successfully converted to sysstat format version 12.2.1 09:39:22 + sadf -c /var/log/sa-host/sa16 09:39:22 file_magic: OK 09:39:22 HZ: Using current value: 100 09:39:22 file_header: OK 09:39:22 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 09:39:22 Statistics: 09:39:22 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:39:22 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:39:22 provisioning config files... 09:39:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config8720819318790736275tmp [Pipeline] { [Pipeline] echo 09:39:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:39:23 ---> create-netrc.sh [Pipeline] } 09:39:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:39:23 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:39:23 ---> python-tools-install.sh [Pipeline] echo 09:39:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:39:24 ---> sudo-logs.sh 09:39:24 Archiving 'sudo' log.. [Pipeline] echo 09:39:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:39:24 ---> job-cost.sh 09:39:24 lf-activate-venv: SKIPPING 09:39:24 INFO: No Stack... 09:39:25 INFO: Retrieving Pricing Info for: v1-standard-2 09:39:26 INFO: Archiving Costs [Pipeline] echo 09:39:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:39:26 ---> logs-deploy.sh 09:39:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/19 09:39:26 INFO: archiving workspace using pattern(s): 09:39:28 Archives upload complete. 09:39:28 INFO: archiving logs to Nexus