Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ba13f39da15fded8dc9ca6171c9bf6786df660a0 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > 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. [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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-168 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 with configured refspecs honoured and without tags 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 --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision ba13f39da15fded8dc9ca6171c9bf6786df660a0 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-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 ba13f39da15fded8dc9ca6171c9bf6786df660a0 # timeout=10 Commit message: "Merge pull request #173 from hahattan/issue-172" > git rev-list --no-walk a4d671bc363cd3b6b16a5de27983df7bd02b35a1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:57:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:57:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:57:50 ========================================================= 08:57:50 EdgeX Global Pipelines Version Info 08:57:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:57:52 ------------------- 08:57:52 stable info: 08:57:52 ------------------- 08:57:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:57:52 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 08:57:52 Message: update stable to v1.0.122 08:57:52 ------------------- 08:57:52 experimental info: 08:57:52 ------------------- 08:57:52 Commited By: **** collab-it+edgex@linuxfoundation.org 08:57:52 Commit SHA: 84d9a0843d1df7ebf9e0c4533e50f756df06f1d7 08:57:52 Message: update experimental to v1.0.124 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 08:57:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 08:57:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 08:57:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:57:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:57:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:57:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:57:53 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:57:53 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:57:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:57:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:57:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:57:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo 08:57:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:57:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:57:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:57:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:57:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:57:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:57:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:57:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 08:57:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:57:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:57:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 08:57:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 08:57:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 08:57:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba13f39da15fded8dc9ca6171c9bf6786df660a0 [Pipeline] echo 08:57:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba13f39 [Pipeline] echo 08:57:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:57:56 + git log --format=format:%s -1 ba13f39da15fded8dc9ca6171c9bf6786df660a0 [Pipeline] echo 08:57:56 GIT_COMMIT: ba13f39da15fded8dc9ca6171c9bf6786df660a0, Commit Message: Merge pull request #173 from hahattan/issue-172 [Pipeline] echo 08:57:56 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:57:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:57:57 08:57:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:57:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:57:57 latest: Pulling from edgex-devops/git-semver 08:57:57 31603596830f: Pulling fs layer 08:57:57 2a8b12db71e7: Pulling fs layer 08:57:57 6ca5941a6612: Pulling fs layer 08:57:57 ecc8261a40a4: Pulling fs layer 08:57:57 ecc8261a40a4: Waiting 08:57:57 2a8b12db71e7: Verifying Checksum 08:57:57 2a8b12db71e7: Download complete 08:57:57 31603596830f: Download complete 08:57:58 ecc8261a40a4: Verifying Checksum 08:57:58 ecc8261a40a4: Download complete 08:57:58 6ca5941a6612: Verifying Checksum 08:57:58 6ca5941a6612: Download complete 08:57:58 31603596830f: Pull complete 08:57:58 2a8b12db71e7: Pull complete 08:57:58 6ca5941a6612: Pull complete 08:57:59 ecc8261a40a4: Pull complete 08:57:59 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:57:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:57:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:57:59 prd-centos7-docker-4c-2g-168 does not seem to be running inside a container 08:57:59 $ docker run -t -d -u 1001:1001 -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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:58:01 $ docker top 51c2904da93a5c572a72c0e764869da77260fb2de99490b58f3f41c8a4d7e800 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:58:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:58:02 [ssh-agent] Looking for ssh-agent implementation... 08:58:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:58:02 $ docker exec 51c2904da93a5c572a72c0e764869da77260fb2de99490b58f3f41c8a4d7e800 ssh-agent 08:58:02 SSH_AUTH_SOCK=/tmp/ssh-hVof8RjYLfz9/agent.12 08:58:02 SSH_AGENT_PID=17 08:58:02 Running ssh-add (command line suppressed) 08:58:02 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8407803097531518934.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8407803097531518934.key) 08:58:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:58:03 + git describe --exact-match --tags HEAD 08:58:03 fatal: No names found, cannot describe anything. [Pipeline] } 08:58:03 $ docker exec --env ******** --env ******** 51c2904da93a5c572a72c0e764869da77260fb2de99490b58f3f41c8a4d7e800 ssh-agent -k 08:58:03 unset SSH_AUTH_SOCK; 08:58:03 unset SSH_AGENT_PID; 08:58:03 echo Agent pid 17 killed; 08:58:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:58:03 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:58:03 This usually means this commit has not been tagged. [Pipeline] sshagent 08:58:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:58:03 [ssh-agent] Looking for ssh-agent implementation... 08:58:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:58:03 $ docker exec 51c2904da93a5c572a72c0e764869da77260fb2de99490b58f3f41c8a4d7e800 ssh-agent 08:58:03 SSH_AUTH_SOCK=/tmp/ssh-Ln6N7HIIEWv6/agent.45 08:58:03 SSH_AGENT_PID=50 08:58:03 Running ssh-add (command line suppressed) 08:58:03 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2654609806444918343.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2654609806444918343.key) 08:58:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:58:04 + git semver init 08:58:04 # -> Open(): unable to determine branch for HEAD 08:58:04 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 08:58:04 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 08:58:04 # $SEMVER_REMOTE_NAME = origin 08:58:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:58:04 # $SEMVER_USER_NAME = edgex-jenkins 08:58:04 # $SEMVER_BRANCH = master 08:58:04 # $SEMVER_TEMP = /tmp/semver-423204134 08:58:04 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 08:58:04 # '/tmp/semver-423204134' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' 08:58:04 # -> Force: false 08:58:04 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 08:58:04 $ docker exec --env ******** --env ******** 51c2904da93a5c572a72c0e764869da77260fb2de99490b58f3f41c8a4d7e800 ssh-agent -k 08:58:04 unset SSH_AUTH_SOCK; 08:58:04 unset SSH_AGENT_PID; 08:58:04 echo Agent pid 50 killed; 08:58:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:58:05 + git semver [Pipeline] } 08:58:05 $ docker stop --time=1 51c2904da93a5c572a72c0e764869da77260fb2de99490b58f3f41c8a4d7e800 08:58:06 $ docker rm -f 51c2904da93a5c572a72c0e764869da77260fb2de99490b58f3f41c8a4d7e800 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:58:07 Stashed 22 file(s) [Pipeline] echo 08:58:07 [edgeXSemver]: initialized semver on version 1.2.3-dev.4 [Pipeline] echo 08:58:07 Archived original version: [1.2.3-dev.4] [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 08:58:23 Still waiting to schedule task 08:58:23 ‘prd-centos7-docker-4c-2g-148’ is offline; ‘prd-centos7-docker-4c-2g-149’ is offline; ‘prd-centos7-docker-4c-2g-150’ is offline; ‘prd-centos7-docker-4c-2g-153’ is offline; ‘prd-centos7-docker-4c-2g-158’ is offline; ‘prd-centos7-docker-4c-2g-159’ is offline; ‘prd-centos7-docker-4c-2g-162’ is offline; ‘prd-centos7-docker-4c-2g-163’ is offline; ‘prd-centos7-docker-4c-2g-164’ is offline; ‘prd-centos7-docker-4c-2g-170’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-152’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-155’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-157’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-160’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-161’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-165’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-166’ doesn’t have label ‘centos7-docker-4c-2g’ 08:58:23 Still waiting to schedule task 08:58:23 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 09:01:55 Running on prd-centos7-docker-4c-2g-176 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 09:01:56 Running in /w/workspace/device-mqtt-go/18 [Pipeline] { [Pipeline] checkout 09:01:58 using credential edgex-jenkins-ssh 09:01:59 Cloning the remote Git repository 09:01:59 Cloning with configured refspecs honoured and without tags 09:01:59 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:01:59 > git init /w/workspace/device-mqtt-go/18 # timeout=10 09:01:59 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:01:59 > git --version # timeout=10 09:01:59 > git --version # 'git version 2.16.5' 09:01:59 using GIT_SSH to set credentials SSH Credentials for GitHub 09:01:59 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 09:01:59 Fetching without tags 09:02:00 Checking out Revision ba13f39da15fded8dc9ca6171c9bf6786df660a0 (master) 09:01:59 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:01:59 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:01:59 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:01:59 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:01:59 using GIT_SSH to set credentials SSH Credentials for GitHub 09:01:59 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 09:02:00 > git config core.sparsecheckout # timeout=10 09:02:00 > git checkout -f ba13f39da15fded8dc9ca6171c9bf6786df660a0 # timeout=10 09:02:03 Commit message: "Merge pull request #173 from hahattan/issue-172" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:02:04 ========================================================= 09:02:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:02:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:02:05 + 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:02:05 Sending build context to Docker daemon 613.4kB 09:02:05 Step 1/8 : ARG BASE=golang:1.15-alpine 09:02:05 Step 2/8 : FROM ${BASE} 09:02:05 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:02:05 df20fa9351a1: Pulling fs layer 09:02:05 ed8968b2872e: Pulling fs layer 09:02:05 a92cc7c5fd73: Pulling fs layer 09:02:05 e871e8e8d7a9: Pulling fs layer 09:02:05 e73272ec9a57: Pulling fs layer 09:02:05 1e910a182e73: Pulling fs layer 09:02:05 4e634b169226: Pulling fs layer 09:02:05 e871e8e8d7a9: Waiting 09:02:05 e73272ec9a57: Waiting 09:02:05 1e910a182e73: Waiting 09:02:05 4e634b169226: Waiting 09:02:05 a92cc7c5fd73: Download complete 09:02:05 ed8968b2872e: Download complete 09:02:05 e73272ec9a57: Verifying Checksum 09:02:05 e73272ec9a57: Download complete 09:02:05 1e910a182e73: Verifying Checksum 09:02:05 1e910a182e73: Download complete 09:02:05 df20fa9351a1: Verifying Checksum 09:02:05 df20fa9351a1: Download complete 09:02:06 df20fa9351a1: Pull complete 09:02:06 ed8968b2872e: Pull complete 09:02:06 a92cc7c5fd73: Pull complete 09:02:09 4e634b169226: Verifying Checksum 09:02:09 4e634b169226: Download complete 09:02:09 e871e8e8d7a9: Verifying Checksum 09:02:09 e871e8e8d7a9: Download complete 09:02:14 e871e8e8d7a9: Pull complete 09:02:14 e73272ec9a57: Pull complete 09:02:14 1e910a182e73: Pull complete 09:02:19 4e634b169226: Pull complete 09:02:19 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 09:02:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:02:19 ---> f7629b54cfaa 09:02:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 09:02:20 ---> Running in d46f110ea24a 09:02:20 Removing intermediate container d46f110ea24a 09:02:20 ---> a47ec2ecb520 09:02:20 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:02:20 ---> Running in f43fb9619f64 09:02:21 Removing intermediate container f43fb9619f64 09:02:21 ---> 86393dd81d1c 09:02:21 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 09:02:21 ---> Running in 9f9f8f46cb03 09:02:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:02:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:02:24 (1/14) Installing libmagic (5.38-r0) 09:02:24 (2/14) Installing file (5.38-r0) 09:02:24 (3/14) Installing libc-dev (0.7.2-r3) 09:02:24 (4/14) Installing g++ (9.3.0-r2) 09:02:29 (5/14) Installing fortify-headers (1.1-r0) 09:02:29 (6/14) Installing patch (2.7.6-r6) 09:02:29 (7/14) Installing build-base (0.5-r2) 09:02:29 (8/14) Installing openssh-keygen (8.3_p1-r0) 09:02:29 (9/14) Installing libedit (20191231.3.1-r0) 09:02:29 (10/14) Installing openssh-client (8.3_p1-r0) 09:02:30 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 09:02:30 (12/14) Installing openssh-server-common (8.3_p1-r0) 09:02:30 (13/14) Installing openssh-server (8.3_p1-r0) 09:02:30 (14/14) Installing openssh (8.3_p1-r0) 09:02:30 Executing busybox-1.31.1-r16.trigger 09:02:30 OK: 237 MiB in 53 packages 09:02:33 Removing intermediate container 9f9f8f46cb03 09:02:33 ---> 9d2bd78b2d8d 09:02:33 Step 6/8 : WORKDIR /device-mqtt-go 09:02:33 ---> Running in 645c2687c1a1 09:02:34 Removing intermediate container 645c2687c1a1 09:02:34 ---> 8bae3f307498 09:02:34 Step 7/8 : COPY . . 09:02:34 ---> 3ce4624bb063 09:02:34 Step 8/8 : RUN go mod download 09:02:34 ---> Running in 65cf9b248cbe 09:02:49 Removing intermediate container 65cf9b248cbe 09:02:49 ---> 75201376da32 09:02:49 Successfully built 75201376da32 09:02:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:02:49 + docker inspect -f . ci-base-image-x86_64 09:02:49 . [Pipeline] withDockerContainer 09:02:50 prd-centos7-docker-4c-2g-176 does not seem to be running inside a container 09:02:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/18 -v /w/workspace/device-mqtt-go/18:/w/workspace/device-mqtt-go/18:rw,z -v /w/workspace/device-mqtt-go/18@tmp:/w/workspace/device-mqtt-go/18@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 ******** ci-base-image-x86_64 cat 09:02:51 $ docker top 65959026ea18aea1edfb5ac1f62cb79eeef65cdc87ef42e293672e36b7f26f9f -eo pid,comm [Pipeline] { [Pipeline] sh 09:02:51 + go version 09:02:51 go version go1.15.2 linux/amd64 [Pipeline] } 09:02:51 $ docker stop --time=1 65959026ea18aea1edfb5ac1f62cb79eeef65cdc87ef42e293672e36b7f26f9f 09:02:53 $ docker rm -f 65959026ea18aea1edfb5ac1f62cb79eeef65cdc87ef42e293672e36b7f26f9f [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:02:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:02:57 + ls -al . 09:02:57 total 64 09:02:57 drwxrwxr-x. 10 jenkins jenkins 4096 Sep 17 09:02 . 09:02:57 drwxrwxr-x. 4 jenkins jenkins 30 Sep 17 09:01 .. 09:02:57 -rw-rw-r--. 1 jenkins jenkins 4896 Sep 17 09:02 Attribution.txt 09:02:57 drwxrwxr-x. 2 jenkins jenkins 87 Sep 17 09:02 bin 09:02:57 drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 09:02 cmd 09:02:57 -rw-rw-r--. 1 jenkins jenkins 1784 Sep 17 09:02 Dockerfile 09:02:57 -rw-rw-r--. 1 jenkins jenkins 953 Sep 17 09:02 Dockerfile.build 09:02:57 -rw-rw-r--. 1 jenkins jenkins 140 Sep 17 09:02 .dockerignore 09:02:57 drwxrwxr-x. 8 jenkins jenkins 162 Sep 17 09:02 .git 09:02:57 drwxrwxr-x. 2 jenkins jenkins 60 Sep 17 09:02 .github 09:02:57 -rw-rw-r--. 1 jenkins jenkins 336 Sep 17 09:02 .gitignore 09:02:57 -rw-rw-r--. 1 jenkins jenkins 510 Sep 17 09:02 go.mod 09:02:57 drwxrwxr-x. 3 jenkins jenkins 20 Sep 17 09:02 internal 09:02:57 -rw-rw-r--. 1 jenkins jenkins 677 Sep 17 09:02 Jenkinsfile 09:02:57 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 17 09:02 LICENSE 09:02:57 -rw-rw-r--. 1 jenkins jenkins 902 Sep 17 09:02 Makefile 09:02:57 drwxrwxr-x. 2 jenkins jenkins 23 Sep 17 09:02 mock 09:02:57 -rw-rw-r--. 1 jenkins jenkins 444 Sep 17 09:02 README.md 09:02:57 drwxrwxr-x. 3 jenkins jenkins 44 Sep 17 09:02 .semver 09:02:57 drwxrwxr-x. 4 jenkins jenkins 54 Sep 17 09:02 snap 09:02:57 -rw-rw-r--. 1 jenkins jenkins 11 Sep 17 08:58 VERSION 09:02:57 -rw-rw-r--. 1 jenkins jenkins 227 Sep 17 09:02 version.go [Pipeline] isUnix [Pipeline] sh 09:02:57 + 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=ba13f39da15fded8dc9ca6171c9bf6786df660a0 --label arch=amd64 --label version=1.2.3-dev.4 . 09:02:57 Sending build context to Docker daemon 613.4kB 09:02:57 Step 1/22 : ARG BASE=golang:1.15-alpine 09:02:57 Step 2/22 : FROM ${BASE} AS builder 09:02:57 ---> 75201376da32 09:02:57 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 09:02:57 ---> Running in 9852d6026821 09:02:57 Removing intermediate container 9852d6026821 09:02:57 ---> 70e00b0ef305 09:02:57 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 09:02:58 ---> Running in 23141b28dd4f 09:02:58 Removing intermediate container 23141b28dd4f 09:02:58 ---> 2e6ce3fbdd7d 09:02:58 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:02:58 ---> Running in 472702e572cd 09:02:59 Removing intermediate container 472702e572cd 09:02:59 ---> 4375da1d360c 09:02:59 Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:02:59 ---> Running in e1f210dc7d2f 09:02:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:03:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:03:01 OK: 237 MiB in 53 packages 09:03:01 Removing intermediate container e1f210dc7d2f 09:03:01 ---> 33cc68e6cc8c 09:03:01 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 09:03:01 ---> Running in 4f08fe3a9134 09:03:01 Removing intermediate container 4f08fe3a9134 09:03:01 ---> ff7def774ec8 09:03:01 Step 8/22 : COPY . . 09:03:02 ---> 10f0f00ecfbf 09:03:02 Step 9/22 : ARG MAKE='make build' 09:03:02 ---> Running in 3ebd773ff119 09:03:02 Removing intermediate container 3ebd773ff119 09:03:02 ---> fefffcf42955 09:03:02 Step 10/22 : RUN $MAKE 09:03:02 ---> Running in 30aabb251f5e 09:03:03 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.2.3-dev.4" -o cmd/device-mqtt ./cmd 09:03:11 CGO_ENABLED=0 GO111MODULE=on go build ./... 09:03:14 Removing intermediate container 30aabb251f5e 09:03:14 ---> 0274ca41048c 09:03:14 Step 11/22 : FROM alpine 09:03:15 latest: Pulling from library/alpine 09:03:15 df20fa9351a1: Already exists 09:03:15 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 09:03:15 Status: Downloaded newer image for alpine:latest 09:03:15 ---> a24bb4013296 09:03:15 Step 12/22 : ENV APP_PORT=49982 09:03:15 ---> Running in b002dd55b200 09:03:15 Removing intermediate container b002dd55b200 09:03:15 ---> c94621948aae 09:03:15 Step 13/22 : EXPOSE $APP_PORT 09:03:15 ---> Running in ef1ba54a7ac8 09:03:15 Removing intermediate container ef1ba54a7ac8 09:03:15 ---> b4abcb4cad23 09:03:15 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 09:03:16 ---> 972725256582 09:03:16 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 09:03:16 ---> 969b93742469 09:03:16 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 09:03:16 ---> 92f557f5ad15 09:03:16 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 09:03:17 ---> Running in b0a48e52f4a4 09:03:17 Removing intermediate container b0a48e52f4a4 09:03:17 ---> 7ec9681d7c66 09:03:17 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 09:03:17 ---> Running in 651e744eb6ec 09:03:17 Removing intermediate container 651e744eb6ec 09:03:17 ---> 7ee8cfbe7bfa 09:03:17 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:03:17 ---> Running in a54c07115fe2 09:03:17 Removing intermediate container a54c07115fe2 09:03:17 ---> 34e6f9f46917 09:03:17 Step 20/22 : LABEL arch=amd64 09:03:17 ---> Running in b2284fbdd77b 09:03:17 Removing intermediate container b2284fbdd77b 09:03:17 ---> 8ad6c598380f 09:03:17 Step 21/22 : LABEL git_sha=ba13f39da15fded8dc9ca6171c9bf6786df660a0 09:03:17 ---> Running in 99783bad6cdc 09:03:18 Removing intermediate container 99783bad6cdc 09:03:18 ---> e07ad5e73a59 09:03:18 Step 22/22 : LABEL version=1.2.3-dev.4 09:03:18 ---> Running in 76f446a8ae30 09:03:18 Removing intermediate container 76f446a8ae30 09:03:18 ---> 4ed1227d20f3 09:03:18 [Warning] One or more build-args [ARCH] were not consumed 09:03:18 Successfully built 4ed1227d20f3 09:03:18 Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:03:18 provisioning config files... 09:03:18 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/18@tmp/config6915943657262958468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:03:19 ---> docker-login.sh 09:03:19 nexus3.edgexfoundry.org:10001 09:03:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:19 Configure a credential helper to remove this warning. See 09:03:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:19 09:03:19 Login Succeeded 09:03:19 nexus3.edgexfoundry.org:10002 09:03:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:19 Configure a credential helper to remove this warning. See 09:03:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:19 09:03:19 Login Succeeded 09:03:19 nexus3.edgexfoundry.org:10003 09:03:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:19 Configure a credential helper to remove this warning. See 09:03:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:19 09:03:19 Login Succeeded 09:03:19 nexus3.edgexfoundry.org:10004 09:03:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:20 Configure a credential helper to remove this warning. See 09:03:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:20 09:03:20 Login Succeeded 09:03:20 docker.io 09:03:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:20 Running on prd-ubuntu18.04-docker-arm64-4c-16g-179 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 09:03:20 Running in /w/workspace/device-mqtt-go/18 [Pipeline] { [Pipeline] checkout 09:03:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:21 Configure a credential helper to remove this warning. See 09:03:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:21 09:03:21 Login Succeeded 09:03:21 ---> docker-login.sh ends [Pipeline] } 09:03:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:03:21 [edgeXDocker.push] Tagging docker image docker-device-mqtt-go with the following tags: 09:03:21 ba13f39da15fded8dc9ca6171c9bf6786df660a0 09:03:21 latest 09:03:21 1.2.3-dev.4 09:03:21 ba13f39da15fded8dc9ca6171c9bf6786df660a0-1.2.3-dev.4 09:03:21 master 09:03:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:03:22 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:ba13f39da15fded8dc9ca6171c9bf6786df660a0 [Pipeline] isUnix [Pipeline] sh 09:03:22 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:ba13f39da15fded8dc9ca6171c9bf6786df660a0 09:03:22 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 09:03:22 ec9fadfc0836: Preparing 09:03:22 8ea2d22171a6: Preparing 09:03:22 8661c29408eb: Preparing 09:03:22 50644c29ef5a: Preparing 09:03:22 50644c29ef5a: Layer already exists 09:03:23 ec9fadfc0836: Pushed 09:03:23 8ea2d22171a6: Pushed 09:03:24 8661c29408eb: Pushed 09:03:24 ba13f39da15fded8dc9ca6171c9bf6786df660a0: digest: sha256:e5a6b29d54d8c9ce75464232f1d9d9392b2f0b312df0f08ea960cec3389dfb45 size: 1155 [Pipeline] isUnix [Pipeline] sh 09:03:24 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [Pipeline] isUnix [Pipeline] sh 09:03:24 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest 09:03:24 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 09:03:24 ec9fadfc0836: Preparing 09:03:24 8ea2d22171a6: Preparing 09:03:24 8661c29408eb: Preparing 09:03:24 50644c29ef5a: Preparing 09:03:24 8661c29408eb: Layer already exists 09:03:24 50644c29ef5a: Layer already exists 09:03:24 ec9fadfc0836: Layer already exists 09:03:24 8ea2d22171a6: Layer already exists 09:03:24 latest: digest: sha256:e5a6b29d54d8c9ce75464232f1d9d9392b2f0b312df0f08ea960cec3389dfb45 size: 1155 [Pipeline] isUnix [Pipeline] sh 09:03:24 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.2.3-dev.4 [Pipeline] isUnix [Pipeline] sh 09:03:25 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.2.3-dev.4 09:03:25 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 09:03:25 ec9fadfc0836: Preparing 09:03:25 8ea2d22171a6: Preparing 09:03:25 8661c29408eb: Preparing 09:03:25 50644c29ef5a: Preparing 09:03:25 8ea2d22171a6: Layer already exists 09:03:25 8661c29408eb: Layer already exists 09:03:25 ec9fadfc0836: Layer already exists 09:03:25 50644c29ef5a: Layer already exists 09:03:25 1.2.3-dev.4: digest: sha256:e5a6b29d54d8c9ce75464232f1d9d9392b2f0b312df0f08ea960cec3389dfb45 size: 1155 [Pipeline] isUnix [Pipeline] sh 09:03:25 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:ba13f39da15fded8dc9ca6171c9bf6786df660a0-1.2.3-dev.4 [Pipeline] isUnix [Pipeline] sh 09:03:25 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:ba13f39da15fded8dc9ca6171c9bf6786df660a0-1.2.3-dev.4 09:03:25 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 09:03:25 ec9fadfc0836: Preparing 09:03:25 8ea2d22171a6: Preparing 09:03:25 8661c29408eb: Preparing 09:03:25 50644c29ef5a: Preparing 09:03:25 8ea2d22171a6: Layer already exists 09:03:25 ec9fadfc0836: Layer already exists 09:03:25 50644c29ef5a: Layer already exists 09:03:25 8661c29408eb: Layer already exists 09:03:25 ba13f39da15fded8dc9ca6171c9bf6786df660a0-1.2.3-dev.4: digest: sha256:e5a6b29d54d8c9ce75464232f1d9d9392b2f0b312df0f08ea960cec3389dfb45 size: 1155 [Pipeline] isUnix [Pipeline] sh 09:03:25 using credential edgex-jenkins-ssh 09:03:26 Cloning the remote Git repository 09:03:26 Cloning with configured refspecs honoured and without tags 09:03:26 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] isUnix [Pipeline] sh 09:03:26 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master 09:03:26 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 09:03:26 ec9fadfc0836: Preparing 09:03:26 8ea2d22171a6: Preparing 09:03:26 8661c29408eb: Preparing 09:03:26 50644c29ef5a: Preparing 09:03:26 ec9fadfc0836: Layer already exists 09:03:26 8ea2d22171a6: Layer already exists 09:03:26 50644c29ef5a: Layer already exists 09:03:26 8661c29408eb: Layer already exists 09:03:26 master: digest: sha256:e5a6b29d54d8c9ce75464232f1d9d9392b2f0b312df0f08ea960cec3389dfb45 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:03:26 ===================================================== 09:03:26 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:03:26 > git init /w/workspace/device-mqtt-go/18 # timeout=10 09:03:26 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:03:26 > git --version # timeout=10 09:03:26 > git --version # 'git version 2.17.1' 09:03:26 using GIT_SSH to set credentials SSH Credentials for GitHub 09:03:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [Pipeline] echo 09:03:26 taggedImages: 09:03:26 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:ba13f39da15fded8dc9ca6171c9bf6786df660a0 09:03:26 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest 09:03:26 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.2.3-dev.4 09:03:26 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:ba13f39da15fded8dc9ca6171c9bf6786df660a0-1.2.3-dev.4 09:03:26 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles 09:03:27 Fetching without tags Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws 09:03:27 Checking out Revision ba13f39da15fded8dc9ca6171c9bf6786df660a0 (master) [Pipeline] } [Pipeline] // node [Pipeline] } 09:03:27 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:03:27 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:03:27 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:03:27 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:03:27 using GIT_SSH to set credentials SSH Credentials for GitHub 09:03:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 09:03:27 > git config core.sparsecheckout # timeout=10 09:03:27 > git checkout -f ba13f39da15fded8dc9ca6171c9bf6786df660a0 # timeout=10 [Pipeline] // stage [Pipeline] } 09:03:32 Commit message: "Merge pull request #173 from hahattan/issue-172" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:03:33 ========================================================= 09:03:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:03:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:03:34 + 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:03:35 Sending build context to Docker daemon 613.4kB 09:03:35 Step 1/8 : ARG BASE=golang:1.15-alpine 09:03:35 Step 2/8 : FROM ${BASE} 09:03:35 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:03:35 b538f80385f9: Pulling fs layer 09:03:35 74f711af9a0d: Pulling fs layer 09:03:35 99f96fe45779: Pulling fs layer 09:03:35 8529a6b9a6be: Pulling fs layer 09:03:35 45590311c82a: Pulling fs layer 09:03:35 69ca0ff8b7b3: Pulling fs layer 09:03:35 209524e5b208: Pulling fs layer 09:03:35 45590311c82a: Waiting 09:03:35 69ca0ff8b7b3: Waiting 09:03:35 209524e5b208: Waiting 09:03:35 8529a6b9a6be: Waiting 09:03:35 99f96fe45779: Verifying Checksum 09:03:35 99f96fe45779: Download complete 09:03:35 74f711af9a0d: Verifying Checksum 09:03:35 74f711af9a0d: Download complete 09:03:35 45590311c82a: Verifying Checksum 09:03:35 45590311c82a: Download complete 09:03:35 69ca0ff8b7b3: Download complete 09:03:35 b538f80385f9: Verifying Checksum 09:03:35 b538f80385f9: Download complete 09:03:36 b538f80385f9: Pull complete 09:03:37 74f711af9a0d: Pull complete 09:03:37 99f96fe45779: Pull complete 09:03:38 209524e5b208: Verifying Checksum 09:03:38 209524e5b208: Download complete 09:03:39 8529a6b9a6be: Verifying Checksum 09:03:39 8529a6b9a6be: Download complete 09:03:49 8529a6b9a6be: Pull complete 09:03:50 45590311c82a: Pull complete 09:03:50 69ca0ff8b7b3: Pull complete 09:03:53 209524e5b208: Pull complete 09:03:53 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 09:03:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:03:54 ---> 5bddaf1c2fca 09:03:54 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 09:03:57 ---> Running in f4845f137685 09:03:57 Removing intermediate container f4845f137685 09:03:57 ---> 0c0a4fae595a 09:03:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:03:57 ---> Running in 9118b9b7c1b5 09:04:01 Removing intermediate container 9118b9b7c1b5 09:04:01 ---> 22ea7db933c7 09:04:01 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 09:04:01 ---> Running in 1301c86d2ece 09:04:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:04:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:04:04 (1/14) Installing libmagic (5.38-r0) 09:04:05 (2/14) Installing file (5.38-r0) 09:04:05 (3/14) Installing libc-dev (0.7.2-r3) 09:04:05 (4/14) Installing g++ (9.3.0-r2) 09:04:13 (5/14) Installing fortify-headers (1.1-r0) 09:04:13 (6/14) Installing patch (2.7.6-r6) 09:04:13 (7/14) Installing build-base (0.5-r2) 09:04:13 (8/14) Installing openssh-keygen (8.3_p1-r0) 09:04:13 (9/14) Installing libedit (20191231.3.1-r0) 09:04:13 (10/14) Installing openssh-client (8.3_p1-r0) 09:04:13 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 09:04:14 (12/14) Installing openssh-server-common (8.3_p1-r0) 09:04:14 (13/14) Installing openssh-server (8.3_p1-r0) 09:04:14 (14/14) Installing openssh (8.3_p1-r0) 09:04:14 Executing busybox-1.31.1-r16.trigger 09:04:14 OK: 221 MiB in 53 packages 09:04:19 Removing intermediate container 1301c86d2ece 09:04:19 ---> 7379aeb7ee0f 09:04:19 Step 6/8 : WORKDIR /device-mqtt-go 09:04:19 ---> Running in fd413a14444f 09:04:19 Removing intermediate container fd413a14444f 09:04:19 ---> 35aef02f4e2a 09:04:19 Step 7/8 : COPY . . 09:04:20 ---> 8ed4d665c132 09:04:20 Step 8/8 : RUN go mod download 09:04:20 ---> Running in 23439c8be0d5 09:04:35 Removing intermediate container 23439c8be0d5 09:04:35 ---> 4ba6210182b4 09:04:35 Successfully built 4ba6210182b4 09:04:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:04:35 + docker inspect -f . ci-base-image-arm64 09:04:35 . [Pipeline] withDockerContainer 09:04:36 prd-ubuntu18.04-docker-arm64-4c-16g-179 does not seem to be running inside a container 09:04:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/18 -v /w/workspace/device-mqtt-go/18:/w/workspace/device-mqtt-go/18:rw,z -v /w/workspace/device-mqtt-go/18@tmp:/w/workspace/device-mqtt-go/18@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 ******** ci-base-image-arm64 cat 09:04:38 $ docker top 13a2f3b23f9caef1b53118f06e5595b1cf7e3f51afd85b9469bb3b72455210b6 -eo pid,comm [Pipeline] { [Pipeline] sh 09:04:39 + go version 09:04:39 go version go1.15.2 linux/arm64 [Pipeline] } 09:04:39 $ docker stop --time=1 13a2f3b23f9caef1b53118f06e5595b1cf7e3f51afd85b9469bb3b72455210b6 09:04:41 $ docker rm -f 13a2f3b23f9caef1b53118f06e5595b1cf7e3f51afd85b9469bb3b72455210b6 [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:04:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:04:43 + ls -al . 09:04:43 total 100 09:04:43 drwxrwxr-x 10 jenkins jenkins 4096 Sep 17 09:03 . 09:04:43 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 09:03 .. 09:04:43 -rw-rw-r-- 1 jenkins jenkins 140 Sep 17 09:03 .dockerignore 09:04:43 drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 09:03 .git 09:04:43 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 09:03 .github 09:04:43 -rw-rw-r-- 1 jenkins jenkins 336 Sep 17 09:03 .gitignore 09:04:43 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 09:03 .semver 09:04:43 -rw-rw-r-- 1 jenkins jenkins 4896 Sep 17 09:03 Attribution.txt 09:04:43 -rw-rw-r-- 1 jenkins jenkins 1784 Sep 17 09:03 Dockerfile 09:04:43 -rw-rw-r-- 1 jenkins jenkins 953 Sep 17 09:03 Dockerfile.build 09:04:43 -rw-rw-r-- 1 jenkins jenkins 677 Sep 17 09:03 Jenkinsfile 09:04:43 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 17 09:03 LICENSE 09:04:43 -rw-rw-r-- 1 jenkins jenkins 902 Sep 17 09:03 Makefile 09:04:43 -rw-rw-r-- 1 jenkins jenkins 444 Sep 17 09:03 README.md 09:04:43 -rw-rw-r-- 1 jenkins jenkins 11 Sep 17 08:58 VERSION 09:04:43 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 09:03 bin 09:04:43 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 09:03 cmd 09:04:43 -rw-rw-r-- 1 jenkins jenkins 510 Sep 17 09:03 go.mod 09:04:43 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 09:03 internal 09:04:43 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 09:03 mock 09:04:43 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 09:03 snap 09:04:43 -rw-rw-r-- 1 jenkins jenkins 227 Sep 17 09:03 version.go [Pipeline] isUnix [Pipeline] sh 09:04:43 + 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=ba13f39da15fded8dc9ca6171c9bf6786df660a0 --label arch=arm64 --label version=1.2.3-dev.4 . 09:04:43 Sending build context to Docker daemon 613.4kB 09:04:43 Step 1/22 : ARG BASE=golang:1.15-alpine 09:04:43 Step 2/22 : FROM ${BASE} AS builder 09:04:43 ---> 4ba6210182b4 09:04:43 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 09:04:44 ---> Running in 34d13edc5912 09:04:44 Removing intermediate container 34d13edc5912 09:04:44 ---> b6cb05a6b9ba 09:04:44 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 09:04:44 ---> Running in 836f7ba89c99 09:04:45 Removing intermediate container 836f7ba89c99 09:04:45 ---> 98cc92b08392 09:04:45 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:04:45 ---> Running in f57fc1c2c871 09:04:47 Removing intermediate container f57fc1c2c871 09:04:47 ---> 3220203c1c45 09:04:47 Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:04:47 ---> Running in 7f188eaf4aa7 09:04:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:04:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:04:51 OK: 221 MiB in 53 packages 09:04:52 Removing intermediate container 7f188eaf4aa7 09:04:52 ---> 2e9c9839ca53 09:04:52 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 09:04:53 ---> Running in 598f2836873d 09:04:53 Removing intermediate container 598f2836873d 09:04:53 ---> aebb0fa0cf00 09:04:53 Step 8/22 : COPY . . 09:04:54 ---> e1494c79cb34 09:04:54 Step 9/22 : ARG MAKE='make build' 09:04:54 ---> Running in eeb1a4b66542 09:04:55 Removing intermediate container eeb1a4b66542 09:04:55 ---> 5d4d74707393 09:04:55 Step 10/22 : RUN $MAKE 09:04:55 ---> Running in b07f52c06ba0 09:04:56 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.2.3-dev.4" -o cmd/device-mqtt ./cmd 09:05:29 CGO_ENABLED=0 GO111MODULE=on go build ./... 09:05:31 Removing intermediate container b07f52c06ba0 09:05:31 ---> 3dcc01c8cad1 09:05:31 Step 11/22 : FROM alpine 09:05:31 latest: Pulling from library/alpine 09:05:31 b538f80385f9: Already exists 09:05:31 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 09:05:31 Status: Downloaded newer image for alpine:latest 09:05:31 ---> 62ee0e9f8440 09:05:31 Step 12/22 : ENV APP_PORT=49982 09:05:32 ---> Running in 66af66456990 09:05:32 Removing intermediate container 66af66456990 09:05:32 ---> f776d846c6e2 09:05:32 Step 13/22 : EXPOSE $APP_PORT 09:05:32 ---> Running in dd2dd4ba0730 09:05:33 Removing intermediate container dd2dd4ba0730 09:05:33 ---> e2052469c0fb 09:05:33 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 09:05:34 ---> f7e980d5ce50 09:05:34 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 09:05:35 ---> 345174e51e46 09:05:35 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 09:05:36 ---> 31b86733f477 09:05:36 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 09:05:36 ---> Running in e2834c806673 09:05:36 Removing intermediate container e2834c806673 09:05:36 ---> 57fe85b3119c 09:05:36 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 09:05:36 ---> Running in 9132f5cb0864 09:05:37 Removing intermediate container 9132f5cb0864 09:05:37 ---> fb669711265b 09:05:37 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:05:37 ---> Running in a2e17282523b 09:05:38 Removing intermediate container a2e17282523b 09:05:38 ---> 7816c85e699a 09:05:38 Step 20/22 : LABEL arch=arm64 09:05:38 ---> Running in 5f8b0bf2180c 09:05:38 Removing intermediate container 5f8b0bf2180c 09:05:38 ---> f5ecd484cf0c 09:05:38 Step 21/22 : LABEL git_sha=ba13f39da15fded8dc9ca6171c9bf6786df660a0 09:05:38 ---> Running in 1deee1ef90f9 09:05:39 Removing intermediate container 1deee1ef90f9 09:05:39 ---> 816128a6c431 09:05:39 Step 22/22 : LABEL version=1.2.3-dev.4 09:05:39 ---> Running in aabecdc4884b 09:05:39 Removing intermediate container aabecdc4884b 09:05:39 ---> 32ac119e19d8 09:05:39 [Warning] One or more build-args [ARCH] were not consumed 09:05:39 Successfully built 32ac119e19d8 09:05:39 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:05:40 provisioning config files... 09:05:40 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/18@tmp/config5235653127033085855tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:05:41 ---> docker-login.sh 09:05:41 nexus3.edgexfoundry.org:10001 09:05:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:41 Configure a credential helper to remove this warning. See 09:05:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:41 09:05:41 Login Succeeded 09:05:41 nexus3.edgexfoundry.org:10002 09:05:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:42 Configure a credential helper to remove this warning. See 09:05:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:42 09:05:42 Login Succeeded 09:05:42 nexus3.edgexfoundry.org:10003 09:05:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:42 Configure a credential helper to remove this warning. See 09:05:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:42 09:05:42 Login Succeeded 09:05:42 nexus3.edgexfoundry.org:10004 09:05:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:43 Configure a credential helper to remove this warning. See 09:05:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:43 09:05:43 Login Succeeded 09:05:43 docker.io 09:05:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:43 Configure a credential helper to remove this warning. See 09:05:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:43 09:05:43 Login Succeeded 09:05:44 ---> docker-login.sh ends [Pipeline] } 09:05:44 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:05:44 [edgeXDocker.push] Tagging docker image docker-device-mqtt-go-arm64 with the following tags: 09:05:44 ba13f39da15fded8dc9ca6171c9bf6786df660a0 09:05:44 latest 09:05:44 1.2.3-dev.4 09:05:44 ba13f39da15fded8dc9ca6171c9bf6786df660a0-1.2.3-dev.4 09:05:44 master 09:05:44 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:05:45 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:ba13f39da15fded8dc9ca6171c9bf6786df660a0 [Pipeline] isUnix [Pipeline] sh 09:05:45 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:ba13f39da15fded8dc9ca6171c9bf6786df660a0 09:05:45 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 09:05:45 5d4739301b78: Preparing 09:05:45 e73da4704570: Preparing 09:05:45 8ec1236df8ba: Preparing 09:05:45 e2f13739ad41: Preparing 09:05:45 e2f13739ad41: Layer already exists 09:05:45 e73da4704570: Pushed 09:05:45 5d4739301b78: Pushed 09:05:48 8ec1236df8ba: Pushed 09:05:48 ba13f39da15fded8dc9ca6171c9bf6786df660a0: digest: sha256:a742221493af7d59e20b9ce95c99389d1a2df1e9e5caa0cf3de8d65668bfe18a size: 1155 [Pipeline] isUnix [Pipeline] sh 09:05:49 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:05:49 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest 09:05:49 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 09:05:49 5d4739301b78: Preparing 09:05:49 e73da4704570: Preparing 09:05:49 8ec1236df8ba: Preparing 09:05:49 e2f13739ad41: Preparing 09:05:49 5d4739301b78: Layer already exists 09:05:49 8ec1236df8ba: Layer already exists 09:05:49 e73da4704570: Layer already exists 09:05:49 e2f13739ad41: Layer already exists 09:05:49 latest: digest: sha256:a742221493af7d59e20b9ce95c99389d1a2df1e9e5caa0cf3de8d65668bfe18a size: 1155 [Pipeline] isUnix [Pipeline] sh 09:05:50 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.2.3-dev.4 [Pipeline] isUnix [Pipeline] sh 09:05:50 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.2.3-dev.4 09:05:50 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 09:05:50 5d4739301b78: Preparing 09:05:50 e73da4704570: Preparing 09:05:50 8ec1236df8ba: Preparing 09:05:50 e2f13739ad41: Preparing 09:05:50 e2f13739ad41: Layer already exists 09:05:50 8ec1236df8ba: Layer already exists 09:05:50 5d4739301b78: Layer already exists 09:05:50 e73da4704570: Layer already exists 09:05:50 1.2.3-dev.4: digest: sha256:a742221493af7d59e20b9ce95c99389d1a2df1e9e5caa0cf3de8d65668bfe18a size: 1155 [Pipeline] isUnix [Pipeline] sh 09:05:50 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:ba13f39da15fded8dc9ca6171c9bf6786df660a0-1.2.3-dev.4 [Pipeline] isUnix [Pipeline] sh 09:05:51 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:ba13f39da15fded8dc9ca6171c9bf6786df660a0-1.2.3-dev.4 09:05:51 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 09:05:51 5d4739301b78: Preparing 09:05:51 e73da4704570: Preparing 09:05:51 8ec1236df8ba: Preparing 09:05:51 e2f13739ad41: Preparing 09:05:51 e2f13739ad41: Layer already exists 09:05:51 e73da4704570: Layer already exists 09:05:51 5d4739301b78: Layer already exists 09:05:51 8ec1236df8ba: Layer already exists 09:05:51 ba13f39da15fded8dc9ca6171c9bf6786df660a0-1.2.3-dev.4: digest: sha256:a742221493af7d59e20b9ce95c99389d1a2df1e9e5caa0cf3de8d65668bfe18a size: 1155 [Pipeline] isUnix [Pipeline] sh 09:05:51 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] isUnix [Pipeline] sh 09:05:52 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master 09:05:52 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 09:05:52 5d4739301b78: Preparing 09:05:52 e73da4704570: Preparing 09:05:52 8ec1236df8ba: Preparing 09:05:52 e2f13739ad41: Preparing 09:05:52 5d4739301b78: Layer already exists 09:05:52 e2f13739ad41: Layer already exists 09:05:52 8ec1236df8ba: Layer already exists 09:05:52 e73da4704570: Layer already exists 09:05:52 master: digest: sha256:a742221493af7d59e20b9ce95c99389d1a2df1e9e5caa0cf3de8d65668bfe18a size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:05:52 ===================================================== [Pipeline] echo 09:05:52 taggedImages: 09:05:52 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:ba13f39da15fded8dc9ca6171c9bf6786df660a0 09:05:52 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest 09:05:52 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.2.3-dev.4 09:05:52 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:ba13f39da15fded8dc9ca6171c9bf6786df660a0-1.2.3-dev.4 09:05:52 - 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:05:55 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 09:05:55 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 09:05:55 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:05:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 09:05:55 09:05:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 09:05:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 09:05:56 1.317.0: Pulling from edgex-devops/edgex-snyk-go 09:05:56 cbdbe7a5bc2a: Pulling fs layer 09:05:56 408f87550127: Pulling fs layer 09:05:56 fe522b08c979: Pulling fs layer 09:05:56 221eaa008020: Pulling fs layer 09:05:56 2a4607e5d6b9: Pulling fs layer 09:05:56 8f79b27c4fd2: Pulling fs layer 09:05:56 e5c8dbe1645b: Pulling fs layer 09:05:56 23e8b3b47431: Pulling fs layer 09:05:56 5c568d65a230: Pulling fs layer 09:05:56 8f79b27c4fd2: Waiting 09:05:56 e5c8dbe1645b: Waiting 09:05:56 23e8b3b47431: Waiting 09:05:56 221eaa008020: Waiting 09:05:56 2a4607e5d6b9: Waiting 09:05:56 fe522b08c979: Verifying Checksum 09:05:56 fe522b08c979: Download complete 09:05:56 408f87550127: Verifying Checksum 09:05:56 408f87550127: Download complete 09:05:56 2a4607e5d6b9: Verifying Checksum 09:05:56 2a4607e5d6b9: Download complete 09:05:56 8f79b27c4fd2: Verifying Checksum 09:05:56 8f79b27c4fd2: Download complete 09:05:56 cbdbe7a5bc2a: Download complete 09:05:56 cbdbe7a5bc2a: Pull complete 09:05:56 408f87550127: Pull complete 09:05:56 fe522b08c979: Pull complete 09:05:58 e5c8dbe1645b: Verifying Checksum 09:05:58 e5c8dbe1645b: Download complete 09:05:58 23e8b3b47431: Verifying Checksum 09:05:58 23e8b3b47431: Download complete 09:05:59 5c568d65a230: Verifying Checksum 09:05:59 5c568d65a230: Download complete 09:06:00 221eaa008020: Verifying Checksum 09:06:00 221eaa008020: Download complete 09:06:05 221eaa008020: Pull complete 09:06:05 2a4607e5d6b9: Pull complete 09:06:05 8f79b27c4fd2: Pull complete 09:06:07 e5c8dbe1645b: Pull complete 09:06:11 23e8b3b47431: Pull complete 09:06:13 5c568d65a230: Pull complete 09:06:13 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 09:06:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 09:06:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 09:06:13 prd-centos7-docker-4c-2g-168 does not seem to be running inside a container 09:06:13 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 09:06:14 $ docker top cc546b0b1d22f37f170b27f1480e73df3cd1fd906eb2dbcfbdd9ce5ce47105a2 -eo pid,comm [Pipeline] { [Pipeline] sh 09:06:15 + snyk monitor '--org=edgex-jenkins' 09:06:23 09:06:23 Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... 09:06:23 09:06:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/ebd824e8-2201-4cdf-a31d-bd31d4b18ef9 09:06:23 09:06:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:06:23 09:06:23 09:06:23 Snyk CLI supports Node.js 8 and higher. 09:06:23 Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. 09:06:23 Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. 09:06:23 09:06:23 The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. 09:06:23 The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } 09:06:23 $ docker stop --time=1 cc546b0b1d22f37f170b27f1480e73df3cd1fd906eb2dbcfbdd9ce5ce47105a2 09:06:25 $ docker rm -f cc546b0b1d22f37f170b27f1480e73df3cd1fd906eb2dbcfbdd9ce5ce47105a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:06:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 09:06:27 09:06:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 09:06:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 09:06:27 latest: Pulling from edgex-devops/edgex-klar 09:06:27 e7c96db7181b: Pulling fs layer 09:06:27 1868ca2cb446: Pulling fs layer 09:06:27 136be5d0fe8e: Pulling fs layer 09:06:27 894bfe63afcb: Pulling fs layer 09:06:27 894bfe63afcb: Waiting 09:06:27 1868ca2cb446: Verifying Checksum 09:06:27 1868ca2cb446: Download complete 09:06:27 136be5d0fe8e: Verifying Checksum 09:06:27 136be5d0fe8e: Download complete 09:06:27 e7c96db7181b: Verifying Checksum 09:06:27 e7c96db7181b: Download complete 09:06:28 894bfe63afcb: Verifying Checksum 09:06:28 894bfe63afcb: Download complete 09:06:28 e7c96db7181b: Pull complete 09:06:28 1868ca2cb446: Pull complete 09:06:28 136be5d0fe8e: Pull complete 09:06:28 894bfe63afcb: Pull complete 09:06:28 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 09:06:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 09:06:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 09:06:28 prd-centos7-docker-4c-2g-168 does not seem to be running inside a container 09:06:28 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 09:06:30 $ docker top b9c1816216eac0c2c74315453785710edcdea49d41f785c3f96be8e7298a91f7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:30 + /klar nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:ba13f39da15fded8dc9ca6171c9bf6786df660a0 09:06:30 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 09:06:35 $ docker stop --time=1 b9c1816216eac0c2c74315453785710edcdea49d41f785c3f96be8e7298a91f7 09:06:36 $ docker rm -f b9c1816216eac0c2c74315453785710edcdea49d41f785c3f96be8e7298a91f7 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 09:06:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 09:06:37 . [Pipeline] withDockerContainer 09:06:37 prd-centos7-docker-4c-2g-168 does not seem to be running inside a container 09:06:37 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 09:06:38 $ docker top 2c4c48362bdc1c6dfd41d16a724443d214a3fc47be39dc720ece51f2a037e62c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:38 + /klar+ nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:ba13f39da15fded8dc9ca6171c9bf6786df660a0tee 09:06:38 09:06:38 clair timeout 1m0s 09:06:38 docker timeout: 1m0s 09:06:38 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 09:06:39 $ docker stop --time=1 2c4c48362bdc1c6dfd41d16a724443d214a3fc47be39dc720ece51f2a037e62c 09:06:40 $ docker rm -f 2c4c48362bdc1c6dfd41d16a724443d214a3fc47be39dc720ece51f2a037e62c [Pipeline] // withDockerContainer [Pipeline] sh 09:06:41 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/clair-reports [Pipeline] echo 09:06:41 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-mqtt-go_master/clair-reports/clair_results_docker-device-mqtt-go_ba13f39da15fded8dc9ca6171c9bf6786df660a0.html [Pipeline] writeFile [Pipeline] step 09:06:41 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 09:06:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 09:06:41 . [Pipeline] withDockerContainer 09:06:41 prd-centos7-docker-4c-2g-168 does not seem to be running inside a container 09:06:41 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 09:06:42 $ docker top 049e372e8dd2f89ebf8ae11c0339dffbe1bb2949e409bcf441025173013c313c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:43 + /klar nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:ba13f39da15fded8dc9ca6171c9bf6786df660a0 09:06:43 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 09:06:46 $ docker stop --time=1 049e372e8dd2f89ebf8ae11c0339dffbe1bb2949e409bcf441025173013c313c 09:06:47 $ docker rm -f 049e372e8dd2f89ebf8ae11c0339dffbe1bb2949e409bcf441025173013c313c [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 09:06:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 09:06:48 . [Pipeline] withDockerContainer 09:06:48 prd-centos7-docker-4c-2g-168 does not seem to be running inside a container 09:06:48 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 09:06:49 $ docker top fdb9224ff559e685c2212886a2e3cf36a35a507de29a385b059e4b4b2a61ffe1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:49 + /klar nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:ba13f39da15fded8dc9ca6171c9bf6786df660a0 09:06:49 + tee 09:06:49 clair timeout 1m0s 09:06:49 docker timeout: 1m0s 09:06:49 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 09:06:50 $ docker stop --time=1 fdb9224ff559e685c2212886a2e3cf36a35a507de29a385b059e4b4b2a61ffe1 09:06:51 $ docker rm -f fdb9224ff559e685c2212886a2e3cf36a35a507de29a385b059e4b4b2a61ffe1 [Pipeline] // withDockerContainer [Pipeline] sh 09:06:52 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/clair-reports [Pipeline] echo 09:06:52 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-mqtt-go_master/clair-reports/clair_results_docker-device-mqtt-go-arm64_ba13f39da15fded8dc9ca6171c9bf6786df660a0.html [Pipeline] writeFile [Pipeline] step 09:06:52 Archiving artifacts [Pipeline] } [Pipeline] // script [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] unstash [Pipeline] isUnix [Pipeline] sh 09:06:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:06:53 . [Pipeline] withDockerContainer 09:06:53 prd-centos7-docker-4c-2g-168 does not seem to be running inside a container 09:06:53 $ docker run -t -d -u 1001:1001 -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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:06:54 $ docker top fa3231432eb2d4e10074a760eb8ea170fc2cd0b9cc08cded4fb6cb86516ed7d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:06:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:06:54 [ssh-agent] Looking for ssh-agent implementation... 09:06:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:06:54 $ docker exec fa3231432eb2d4e10074a760eb8ea170fc2cd0b9cc08cded4fb6cb86516ed7d1 ssh-agent 09:06:54 SSH_AUTH_SOCK=/tmp/ssh-ojDmXzRcjzO7/agent.12 09:06:54 SSH_AGENT_PID=17 09:06:54 Running ssh-add (command line suppressed) 09:06:54 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4304257103412328788.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4304257103412328788.key) 09:06:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:06:55 + git semver tag 09:06:55 # -> Open(): unable to determine branch for HEAD 09:06:55 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 09:06:55 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 09:06:55 # $SEMVER_REMOTE_NAME = origin 09:06:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:06:55 # $SEMVER_USER_NAME = edgex-jenkins 09:06:55 # $SEMVER_BRANCH = master 09:06:55 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 09:06:55 # ba13f39da15fded8dc9ca6171c9bf6786df660a0 HEAD 09:06:55 # -> Force: false 09:06:55 # 099bc31cf4251b06d3bff8ce0081ac278292c99d refs/tags/v1.2.3-dev.4 [Pipeline] } 09:06:55 $ docker exec --env ******** --env ******** fa3231432eb2d4e10074a760eb8ea170fc2cd0b9cc08cded4fb6cb86516ed7d1 ssh-agent -k 09:06:55 unset SSH_AUTH_SOCK; 09:06:55 unset SSH_AGENT_PID; 09:06:55 echo Agent pid 17 killed; 09:06:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:06:56 + git semver [Pipeline] } 09:06:56 $ docker stop --time=1 fa3231432eb2d4e10074a760eb8ea170fc2cd0b9cc08cded4fb6cb86516ed7d1 09:06:57 $ docker rm -f fa3231432eb2d4e10074a760eb8ea170fc2cd0b9cc08cded4fb6cb86516ed7d1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 09:06:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:06:58 09:06:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 09:06:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:06:58 0.23.1-centos7: Pulling from edgex-lftools 09:06:58 ab5ef0e58194: Pulling fs layer 09:06:58 9712f1f96733: Pulling fs layer 09:06:58 63f879dbbcfc: Pulling fs layer 09:06:58 0d9ebad4ef96: Pulling fs layer 09:06:58 e9a5061849ea: Pulling fs layer 09:06:58 d747dcd14b5f: Pulling fs layer 09:06:58 2de7ff778b66: Pulling fs layer 09:06:58 e9a5061849ea: Waiting 09:06:58 d747dcd14b5f: Waiting 09:06:58 2de7ff778b66: Waiting 09:06:58 0d9ebad4ef96: Waiting 09:06:58 9712f1f96733: Verifying Checksum 09:06:58 9712f1f96733: Download complete 09:06:59 63f879dbbcfc: Verifying Checksum 09:06:59 63f879dbbcfc: Download complete 09:07:00 e9a5061849ea: Verifying Checksum 09:07:00 e9a5061849ea: Download complete 09:07:00 d747dcd14b5f: Verifying Checksum 09:07:00 d747dcd14b5f: Download complete 09:07:00 2de7ff778b66: Verifying Checksum 09:07:00 2de7ff778b66: Download complete 09:07:00 ab5ef0e58194: Verifying Checksum 09:07:00 ab5ef0e58194: Download complete 09:07:00 0d9ebad4ef96: Verifying Checksum 09:07:00 0d9ebad4ef96: Download complete 09:07:05 ab5ef0e58194: Pull complete 09:07:05 9712f1f96733: Pull complete 09:07:07 63f879dbbcfc: Pull complete 09:07:13 0d9ebad4ef96: Pull complete 09:07:15 e9a5061849ea: Pull complete 09:07:15 d747dcd14b5f: Pull complete 09:07:19 2de7ff778b66: Pull complete 09:07:19 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:07:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:07:19 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 09:07:19 prd-centos7-docker-4c-2g-168 does not seem to be running inside a container 09:07:19 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:07:22 $ docker top f8263946f01b3b76bd56d364973e33915c712332ed0bb8f23142e9a43c060306 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:07:22 provisioning config files... 09:07:22 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config5482228764827893394tmp 09:07:22 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config9170048354726725751tmp 09:07:22 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2643208897976735077tmp [Pipeline] { [Pipeline] echo 09:07:22 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:07:22 ---> sigul-configuration.sh 09:07:22 gpg: directory `/root/.gnupg' created 09:07:22 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:07:22 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:07:22 gpg: keyring `/root/.gnupg/secring.gpg' created 09:07:22 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:07:22 gpg: CAST5 encrypted data 09:07:23 gpg: encrypted with 1 passphrase 09:07:23 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:07:23 + mkdir /home/jenkins 09:07:23 + mkdir /home/jenkins/sigul [Pipeline] sh 09:07:23 + 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:07:23 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:07:23 ---> sigul-install.sh 09:07:29 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 09:07:29 + git tag --list 09:07:29 v1.2.3-dev.4 [Pipeline] sh 09:07:30 + lftools sign git-tag v1.2.3-dev.4 09:07:31 Signing Git tag with Sigul... 09:07:31 Signing v1.2.3-dev.4 [Pipeline] echo 09:07:32 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:07:32 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:07:32 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:07:33 $ docker stop --time=1 f8263946f01b3b76bd56d364973e33915c712332ed0bb8f23142e9a43c060306 09:07:35 $ docker rm -f f8263946f01b3b76bd56d364973e33915c712332ed0bb8f23142e9a43c060306 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 09:07:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:07:35 . [Pipeline] withDockerContainer 09:07:36 prd-centos7-docker-4c-2g-168 does not seem to be running inside a container 09:07:36 $ docker run -t -d -u 1001:1001 -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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:07:36 $ docker top 0ca7a7c6fbd3def441fcc85399b8c5cba09797a19bd9234c92c75d832346af89 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:07:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:07:37 [ssh-agent] Looking for ssh-agent implementation... 09:07:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:07:37 $ docker exec 0ca7a7c6fbd3def441fcc85399b8c5cba09797a19bd9234c92c75d832346af89 ssh-agent 09:07:37 SSH_AUTH_SOCK=/tmp/ssh-X8BoKESJyjeO/agent.11 09:07:37 SSH_AGENT_PID=16 09:07:37 Running ssh-add (command line suppressed) 09:07:37 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_833675420986098910.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_833675420986098910.key) 09:07:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:07:37 + git semver bump pre 09:07:37 # -> Open(): unable to determine branch for HEAD 09:07:37 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 09:07:37 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 09:07:37 # $SEMVER_REMOTE_NAME = origin 09:07:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:07:37 # $SEMVER_USER_NAME = edgex-jenkins 09:07:37 # $SEMVER_BRANCH = master 09:07:37 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 09:07:37 1.2.3-dev.5 [Pipeline] } 09:07:37 $ docker exec --env ******** --env ******** 0ca7a7c6fbd3def441fcc85399b8c5cba09797a19bd9234c92c75d832346af89 ssh-agent -k 09:07:37 unset SSH_AUTH_SOCK; 09:07:37 unset SSH_AGENT_PID; 09:07:37 echo Agent pid 16 killed; 09:07:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:07:38 + git semver [Pipeline] } 09:07:38 $ docker stop --time=1 0ca7a7c6fbd3def441fcc85399b8c5cba09797a19bd9234c92c75d832346af89 09:07:39 $ docker rm -f 0ca7a7c6fbd3def441fcc85399b8c5cba09797a19bd9234c92c75d832346af89 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 09:07:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:07:40 . [Pipeline] withDockerContainer 09:07:40 prd-centos7-docker-4c-2g-168 does not seem to be running inside a container 09:07:40 $ docker run -t -d -u 1001:1001 -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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:07:41 $ docker top e38bb4b29678e30a72bcbc4c59dfbe370bd612868632db00fd0d694ef05c6a3a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:07:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:07:41 [ssh-agent] Looking for ssh-agent implementation... 09:07:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:07:41 $ docker exec e38bb4b29678e30a72bcbc4c59dfbe370bd612868632db00fd0d694ef05c6a3a ssh-agent 09:07:41 SSH_AUTH_SOCK=/tmp/ssh-FnXm2kWZMveN/agent.13 09:07:41 SSH_AGENT_PID=18 09:07:41 Running ssh-add (command line suppressed) 09:07:42 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7706796181161106995.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7706796181161106995.key) 09:07:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:07:42 + git semver push 09:07:42 # -> Open(): unable to determine branch for HEAD 09:07:42 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 09:07:42 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 09:07:42 # $SEMVER_REMOTE_NAME = origin 09:07:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:07:42 # $SEMVER_USER_NAME = edgex-jenkins 09:07:42 # $SEMVER_BRANCH = master 09:07:42 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 09:07:49 $ docker exec --env ******** --env ******** e38bb4b29678e30a72bcbc4c59dfbe370bd612868632db00fd0d694ef05c6a3a ssh-agent -k 09:07:49 unset SSH_AUTH_SOCK; 09:07:49 unset SSH_AGENT_PID; 09:07:49 echo Agent pid 18 killed; 09:07:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:07:49 + git semver [Pipeline] } 09:07:49 $ docker stop --time=1 e38bb4b29678e30a72bcbc4c59dfbe370bd612868632db00fd0d694ef05c6a3a 09:07:51 $ docker rm -f e38bb4b29678e30a72bcbc4c59dfbe370bd612868632db00fd0d694ef05c6a3a [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:07:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:07:53 ---> package-listing.sh 09:07:53 ++ facter osfamily 09:07:53 ++ tr '[:upper:]' '[:lower:]' 09:07:53 + OS_FAMILY=redhat 09:07:53 + workspace=/w/workspace/gexfoundry_device-mqtt-go_master 09:07:53 + START_PACKAGES=/tmp/packages_start.txt 09:07:53 + END_PACKAGES=/tmp/packages_end.txt 09:07:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:07:53 + PACKAGES=/tmp/packages_start.txt 09:07:53 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 09:07:53 + PACKAGES=/tmp/packages_end.txt 09:07:53 + case "${OS_FAMILY}" in 09:07:53 + rpm -qa 09:07:53 + sort 09:07:57 + '[' -f /tmp/packages_start.txt ']' 09:07:57 + '[' -f /tmp/packages_end.txt ']' 09:07:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:07:57 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 09:07:57 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ 09:07:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] isUnix [Pipeline] sh 09:07:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:07:58 09:07:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:07:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:07:58 alpine: Pulling from edgex-lftools-log-publisher 09:07:58 df20fa9351a1: Pulling fs layer 09:07:58 36b3adc4ff6f: Pulling fs layer 09:07:58 8ad3a11d3b57: Pulling fs layer 09:07:58 46f8f816bc3b: Pulling fs layer 09:07:58 0dadc02b9964: Pulling fs layer 09:07:58 ce6a7cf60c04: Pulling fs layer 09:07:58 7a184a31f384: Pulling fs layer 09:07:58 0879bd2ef858: Pulling fs layer 09:07:58 ce6a7cf60c04: Waiting 09:07:58 7a184a31f384: Waiting 09:07:58 0879bd2ef858: Waiting 09:07:58 46f8f816bc3b: Waiting 09:07:58 0dadc02b9964: Waiting 09:07:58 36b3adc4ff6f: Download complete 09:07:58 46f8f816bc3b: Download complete 09:07:58 df20fa9351a1: Download complete 09:07:58 ce6a7cf60c04: Verifying Checksum 09:07:58 ce6a7cf60c04: Download complete 09:07:58 7a184a31f384: Verifying Checksum 09:07:58 7a184a31f384: Download complete 09:07:58 0dadc02b9964: Verifying Checksum 09:07:58 0dadc02b9964: Download complete 09:07:58 8ad3a11d3b57: Verifying Checksum 09:07:58 8ad3a11d3b57: Download complete 09:07:59 df20fa9351a1: Pull complete 09:07:59 0879bd2ef858: Verifying Checksum 09:07:59 0879bd2ef858: Download complete 09:07:59 36b3adc4ff6f: Pull complete 09:07:59 8ad3a11d3b57: Pull complete 09:08:00 46f8f816bc3b: Pull complete 09:08:00 0dadc02b9964: Pull complete 09:08:00 ce6a7cf60c04: Pull complete 09:08:00 7a184a31f384: Pull complete 09:08:03 0879bd2ef858: Pull complete 09:08:03 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 09:08:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:08:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:08:03 prd-centos7-docker-4c-2g-168 does not seem to be running inside a container 09:08:03 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:08:07 $ docker top 7c09a60a951a520e57c4d07771456a9f20790d4c285f89fee4e3b85441fc3e06 -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:07 + mkdir -p /var/log/sa [Pipeline] sh 09:08:07 + ls /var/log/sa-host 09:08:07 + sadf -c /var/log/sa-host/sa05 09:08:07 file_magic: OK 09:08:07 HZ: Using current value: 100 09:08:07 file_header: OK 09:08:07 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:08:07 Statistics: 09:08:07 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:08:07 File successfully converted to sysstat format version 12.2.1 09:08:07 + sadf -c /var/log/sa-host/sa17 09:08:07 file_magic: OK 09:08:07 HZ: Using current value: 100 09:08:07 file_header: OK 09:08:07 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:08:07 Statistics: 09:08:07 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:08:07 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:08:08 provisioning config files... 09:08:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config8050110122966368754tmp [Pipeline] { [Pipeline] echo 09:08:08 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:08:08 ---> create-netrc.sh [Pipeline] echo 09:08:08 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:08:08 ---> logs-deploy.sh 09:08:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/18 09:08:08 INFO: archiving workspace using pattern(s): 09:08:10 Archives upload complete. 09:08:10 INFO: archiving logs to Nexus