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 [2020-09-17T08:57:50.088Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-17T08:57:50.413Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-17T08:57:50.594Z] ========================================================= [2020-09-17T08:57:50.594Z] EdgeX Global Pipelines Version Info [2020-09-17T08:57:50.594Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-17T08:57:52.048Z] ------------------- [2020-09-17T08:57:52.048Z] stable info: [2020-09-17T08:57:52.048Z] ------------------- [2020-09-17T08:57:52.048Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-17T08:57:52.048Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-17T08:57:52.048Z] Message: update stable to v1.0.122 [2020-09-17T08:57:52.625Z] ------------------- [2020-09-17T08:57:52.625Z] experimental info: [2020-09-17T08:57:52.625Z] ------------------- [2020-09-17T08:57:52.625Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-17T08:57:52.625Z] Commit SHA: 84d9a0843d1df7ebf9e0c4533e50f756df06f1d7 [2020-09-17T08:57:52.625Z] Message: update experimental to v1.0.124 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-17T08:57:53.026Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2020-09-17T08:57:53.112Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2020-09-17T08:57:53.198Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-17T08:57:53.284Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-17T08:57:53.372Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-17T08:57:53.461Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-17T08:57:53.551Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-17T08:57:53.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-17T08:57:53.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-17T08:57:53.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-17T08:57:53.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-17T08:57:54.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2020-09-17T08:57:54.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-17T08:57:54.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-17T08:57:54.281Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-17T08:57:54.378Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-17T08:57:54.462Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T08:57:54.551Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T08:57:54.639Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-17T08:57:54.732Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-09-17T08:57:54.811Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-17T08:57:54.903Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-17T08:57:55.011Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-09-17T08:57:55.123Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-09-17T08:57:55.206Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-09-17T08:57:55.300Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba13f39da15fded8dc9ca6171c9bf6786df660a0 [Pipeline] echo [2020-09-17T08:57:55.389Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba13f39 [Pipeline] echo [2020-09-17T08:57:55.485Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-17T08:57:56.121Z] + git log --format=format:%s -1 ba13f39da15fded8dc9ca6171c9bf6786df660a0 [Pipeline] echo [2020-09-17T08:57:56.180Z] GIT_COMMIT: ba13f39da15fded8dc9ca6171c9bf6786df660a0, Commit Message: Merge pull request #173 from hahattan/issue-172 [Pipeline] echo [2020-09-17T08:57:56.225Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:57:57.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T08:57:57.432Z] [2020-09-17T08:57:57.432Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:57:57.784Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T08:57:57.784Z] latest: Pulling from edgex-devops/git-semver [2020-09-17T08:57:57.784Z] 31603596830f: Pulling fs layer [2020-09-17T08:57:57.784Z] 2a8b12db71e7: Pulling fs layer [2020-09-17T08:57:57.784Z] 6ca5941a6612: Pulling fs layer [2020-09-17T08:57:57.784Z] ecc8261a40a4: Pulling fs layer [2020-09-17T08:57:57.784Z] ecc8261a40a4: Waiting [2020-09-17T08:57:57.784Z] 2a8b12db71e7: Verifying Checksum [2020-09-17T08:57:57.784Z] 2a8b12db71e7: Download complete [2020-09-17T08:57:57.784Z] 31603596830f: Download complete [2020-09-17T08:57:58.047Z] ecc8261a40a4: Verifying Checksum [2020-09-17T08:57:58.047Z] ecc8261a40a4: Download complete [2020-09-17T08:57:58.047Z] 6ca5941a6612: Verifying Checksum [2020-09-17T08:57:58.047Z] 6ca5941a6612: Download complete [2020-09-17T08:57:58.324Z] 31603596830f: Pull complete [2020-09-17T08:57:58.324Z] 2a8b12db71e7: Pull complete [2020-09-17T08:57:58.904Z] 6ca5941a6612: Pull complete [2020-09-17T08:57:59.166Z] ecc8261a40a4: Pull complete [2020-09-17T08:57:59.166Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-17T08:57:59.166Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T08:57:59.166Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-17T08:57:59.307Z] prd-centos7-docker-4c-2g-168 does not seem to be running inside a container [2020-09-17T08:57:59.359Z] $ 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 [2020-09-17T08:58:01.816Z] $ docker top 51c2904da93a5c572a72c0e764869da77260fb2de99490b58f3f41c8a4d7e800 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T08:58:02.119Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T08:58:02.119Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T08:58:02.324Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T08:58:02.329Z] $ docker exec 51c2904da93a5c572a72c0e764869da77260fb2de99490b58f3f41c8a4d7e800 ssh-agent [2020-09-17T08:58:02.483Z] SSH_AUTH_SOCK=/tmp/ssh-hVof8RjYLfz9/agent.12 [2020-09-17T08:58:02.483Z] SSH_AGENT_PID=17 [2020-09-17T08:58:02.493Z] Running ssh-add (command line suppressed) [2020-09-17T08:58:02.609Z] 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) [2020-09-17T08:58:02.658Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T08:58:03.000Z] + git describe --exact-match --tags HEAD [2020-09-17T08:58:03.000Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-17T08:58:03.094Z] $ docker exec --env ******** --env ******** 51c2904da93a5c572a72c0e764869da77260fb2de99490b58f3f41c8a4d7e800 ssh-agent -k [2020-09-17T08:58:03.220Z] unset SSH_AUTH_SOCK; [2020-09-17T08:58:03.221Z] unset SSH_AGENT_PID; [2020-09-17T08:58:03.221Z] echo Agent pid 17 killed; [2020-09-17T08:58:03.267Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-17T08:58:03.356Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-17T08:58:03.356Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-17T08:58:03.459Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T08:58:03.459Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T08:58:03.619Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T08:58:03.624Z] $ docker exec 51c2904da93a5c572a72c0e764869da77260fb2de99490b58f3f41c8a4d7e800 ssh-agent [2020-09-17T08:58:03.776Z] SSH_AUTH_SOCK=/tmp/ssh-Ln6N7HIIEWv6/agent.45 [2020-09-17T08:58:03.776Z] SSH_AGENT_PID=50 [2020-09-17T08:58:03.784Z] Running ssh-add (command line suppressed) [2020-09-17T08:58:03.900Z] 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) [2020-09-17T08:58:03.948Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T08:58:04.292Z] + git semver init [2020-09-17T08:58:04.292Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T08:58:04.292Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2020-09-17T08:58:04.292Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2020-09-17T08:58:04.292Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T08:58:04.292Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T08:58:04.292Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T08:58:04.292Z] # $SEMVER_BRANCH = master [2020-09-17T08:58:04.292Z] # $SEMVER_TEMP = /tmp/semver-423204134 [2020-09-17T08:58:04.292Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2020-09-17T08:58:04.872Z] # '/tmp/semver-423204134' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' [2020-09-17T08:58:04.872Z] # -> Force: false [2020-09-17T08:58:04.872Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2020-09-17T08:58:04.886Z] $ docker exec --env ******** --env ******** 51c2904da93a5c572a72c0e764869da77260fb2de99490b58f3f41c8a4d7e800 ssh-agent -k [2020-09-17T08:58:04.991Z] unset SSH_AUTH_SOCK; [2020-09-17T08:58:04.992Z] unset SSH_AGENT_PID; [2020-09-17T08:58:04.992Z] echo Agent pid 50 killed; [2020-09-17T08:58:05.032Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T08:58:05.512Z] + git semver [Pipeline] } [2020-09-17T08:58:05.529Z] $ docker stop --time=1 51c2904da93a5c572a72c0e764869da77260fb2de99490b58f3f41c8a4d7e800 [2020-09-17T08:58:06.865Z] $ docker rm -f 51c2904da93a5c572a72c0e764869da77260fb2de99490b58f3f41c8a4d7e800 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-17T08:58:07.604Z] Stashed 22 file(s) [Pipeline] echo [2020-09-17T08:58:07.608Z] [edgeXSemver]: initialized semver on version 1.2.3-dev.4 [Pipeline] echo [2020-09-17T08:58:07.718Z] 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 [2020-09-17T08:58:23.190Z] Still waiting to schedule task [2020-09-17T08:58:23.191Z] ‘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’ [2020-09-17T08:58:23.194Z] Still waiting to schedule task [2020-09-17T08:58:23.194Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-09-17T09:01:55.992Z] Running on prd-centos7-docker-4c-2g-176 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2020-09-17T09:01:56.059Z] Running in /w/workspace/device-mqtt-go/18 [Pipeline] { [Pipeline] checkout [2020-09-17T09:01:58.993Z] using credential edgex-jenkins-ssh [2020-09-17T09:01:59.081Z] Cloning the remote Git repository [2020-09-17T09:01:59.081Z] Cloning with configured refspecs honoured and without tags [2020-09-17T09:01:59.106Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-09-17T09:01:59.180Z] > git init /w/workspace/device-mqtt-go/18 # timeout=10 [2020-09-17T09:01:59.228Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-09-17T09:01:59.229Z] > git --version # timeout=10 [2020-09-17T09:01:59.236Z] > git --version # 'git version 2.16.5' [2020-09-17T09:01:59.236Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T09:01:59.264Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T09:01:59.787Z] Fetching without tags [2020-09-17T09:02:00.155Z] Checking out Revision ba13f39da15fded8dc9ca6171c9bf6786df660a0 (master) [2020-09-17T09:01:59.761Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-09-17T09:01:59.766Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T09:01:59.782Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-09-17T09:01:59.794Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-09-17T09:01:59.794Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T09:01:59.799Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T09:02:00.166Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T09:02:00.171Z] > git checkout -f ba13f39da15fded8dc9ca6171c9bf6786df660a0 # timeout=10 [2020-09-17T09:02:03.885Z] 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 [2020-09-17T09:02:04.702Z] ========================================================= [2020-09-17T09:02:04.702Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-17T09:02:04.702Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:02:05.364Z] + 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 . [2020-09-17T09:02:05.627Z] Sending build context to Docker daemon 613.4kB [2020-09-17T09:02:05.627Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-17T09:02:05.627Z] Step 2/8 : FROM ${BASE} [2020-09-17T09:02:05.627Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-17T09:02:05.627Z] df20fa9351a1: Pulling fs layer [2020-09-17T09:02:05.627Z] ed8968b2872e: Pulling fs layer [2020-09-17T09:02:05.627Z] a92cc7c5fd73: Pulling fs layer [2020-09-17T09:02:05.627Z] e871e8e8d7a9: Pulling fs layer [2020-09-17T09:02:05.627Z] e73272ec9a57: Pulling fs layer [2020-09-17T09:02:05.627Z] 1e910a182e73: Pulling fs layer [2020-09-17T09:02:05.627Z] 4e634b169226: Pulling fs layer [2020-09-17T09:02:05.627Z] e871e8e8d7a9: Waiting [2020-09-17T09:02:05.627Z] e73272ec9a57: Waiting [2020-09-17T09:02:05.627Z] 1e910a182e73: Waiting [2020-09-17T09:02:05.627Z] 4e634b169226: Waiting [2020-09-17T09:02:05.907Z] a92cc7c5fd73: Download complete [2020-09-17T09:02:05.907Z] ed8968b2872e: Download complete [2020-09-17T09:02:05.907Z] e73272ec9a57: Verifying Checksum [2020-09-17T09:02:05.907Z] e73272ec9a57: Download complete [2020-09-17T09:02:05.907Z] 1e910a182e73: Verifying Checksum [2020-09-17T09:02:05.907Z] 1e910a182e73: Download complete [2020-09-17T09:02:05.907Z] df20fa9351a1: Verifying Checksum [2020-09-17T09:02:05.907Z] df20fa9351a1: Download complete [2020-09-17T09:02:06.173Z] df20fa9351a1: Pull complete [2020-09-17T09:02:06.173Z] ed8968b2872e: Pull complete [2020-09-17T09:02:06.435Z] a92cc7c5fd73: Pull complete [2020-09-17T09:02:09.010Z] 4e634b169226: Verifying Checksum [2020-09-17T09:02:09.010Z] 4e634b169226: Download complete [2020-09-17T09:02:09.276Z] e871e8e8d7a9: Verifying Checksum [2020-09-17T09:02:09.276Z] e871e8e8d7a9: Download complete [2020-09-17T09:02:14.670Z] e871e8e8d7a9: Pull complete [2020-09-17T09:02:14.670Z] e73272ec9a57: Pull complete [2020-09-17T09:02:14.670Z] 1e910a182e73: Pull complete [2020-09-17T09:02:19.986Z] 4e634b169226: Pull complete [2020-09-17T09:02:19.986Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-17T09:02:19.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-17T09:02:19.986Z] ---> f7629b54cfaa [2020-09-17T09:02:19.986Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-09-17T09:02:20.249Z] ---> Running in d46f110ea24a [2020-09-17T09:02:20.511Z] Removing intermediate container d46f110ea24a [2020-09-17T09:02:20.511Z] ---> a47ec2ecb520 [2020-09-17T09:02:20.511Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T09:02:20.511Z] ---> Running in f43fb9619f64 [2020-09-17T09:02:21.910Z] Removing intermediate container f43fb9619f64 [2020-09-17T09:02:21.910Z] ---> 86393dd81d1c [2020-09-17T09:02:21.910Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-09-17T09:02:21.910Z] ---> Running in 9f9f8f46cb03 [2020-09-17T09:02:22.867Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-17T09:02:23.464Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-17T09:02:24.082Z] (1/14) Installing libmagic (5.38-r0) [2020-09-17T09:02:24.082Z] (2/14) Installing file (5.38-r0) [2020-09-17T09:02:24.082Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-09-17T09:02:24.344Z] (4/14) Installing g++ (9.3.0-r2) [2020-09-17T09:02:29.648Z] (5/14) Installing fortify-headers (1.1-r0) [2020-09-17T09:02:29.648Z] (6/14) Installing patch (2.7.6-r6) [2020-09-17T09:02:29.648Z] (7/14) Installing build-base (0.5-r2) [2020-09-17T09:02:29.648Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-09-17T09:02:29.648Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-09-17T09:02:29.648Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-09-17T09:02:30.223Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-09-17T09:02:30.223Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-09-17T09:02:30.223Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-09-17T09:02:30.487Z] (14/14) Installing openssh (8.3_p1-r0) [2020-09-17T09:02:30.487Z] Executing busybox-1.31.1-r16.trigger [2020-09-17T09:02:30.487Z] OK: 237 MiB in 53 packages [2020-09-17T09:02:33.814Z] Removing intermediate container 9f9f8f46cb03 [2020-09-17T09:02:33.814Z] ---> 9d2bd78b2d8d [2020-09-17T09:02:33.814Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-09-17T09:02:33.814Z] ---> Running in 645c2687c1a1 [2020-09-17T09:02:34.081Z] Removing intermediate container 645c2687c1a1 [2020-09-17T09:02:34.081Z] ---> 8bae3f307498 [2020-09-17T09:02:34.081Z] Step 7/8 : COPY . . [2020-09-17T09:02:34.657Z] ---> 3ce4624bb063 [2020-09-17T09:02:34.658Z] Step 8/8 : RUN go mod download [2020-09-17T09:02:34.658Z] ---> Running in 65cf9b248cbe [2020-09-17T09:02:49.617Z] Removing intermediate container 65cf9b248cbe [2020-09-17T09:02:49.617Z] ---> 75201376da32 [2020-09-17T09:02:49.617Z] Successfully built 75201376da32 [2020-09-17T09:02:49.617Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:02:49.967Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-17T09:02:49.967Z] . [Pipeline] withDockerContainer [2020-09-17T09:02:50.072Z] prd-centos7-docker-4c-2g-176 does not seem to be running inside a container [2020-09-17T09:02:50.127Z] $ 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 [2020-09-17T09:02:51.444Z] $ docker top 65959026ea18aea1edfb5ac1f62cb79eeef65cdc87ef42e293672e36b7f26f9f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T09:02:51.956Z] + go version [2020-09-17T09:02:51.956Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-17T09:02:51.977Z] $ docker stop --time=1 65959026ea18aea1edfb5ac1f62cb79eeef65cdc87ef42e293672e36b7f26f9f [2020-09-17T09:02:53.361Z] $ 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 [2020-09-17T09:02:56.743Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-17T09:02:57.048Z] + ls -al . [2020-09-17T09:02:57.048Z] total 64 [2020-09-17T09:02:57.048Z] drwxrwxr-x. 10 jenkins jenkins 4096 Sep 17 09:02 . [2020-09-17T09:02:57.048Z] drwxrwxr-x. 4 jenkins jenkins 30 Sep 17 09:01 .. [2020-09-17T09:02:57.048Z] -rw-rw-r--. 1 jenkins jenkins 4896 Sep 17 09:02 Attribution.txt [2020-09-17T09:02:57.048Z] drwxrwxr-x. 2 jenkins jenkins 87 Sep 17 09:02 bin [2020-09-17T09:02:57.048Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 09:02 cmd [2020-09-17T09:02:57.048Z] -rw-rw-r--. 1 jenkins jenkins 1784 Sep 17 09:02 Dockerfile [2020-09-17T09:02:57.048Z] -rw-rw-r--. 1 jenkins jenkins 953 Sep 17 09:02 Dockerfile.build [2020-09-17T09:02:57.048Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 17 09:02 .dockerignore [2020-09-17T09:02:57.048Z] drwxrwxr-x. 8 jenkins jenkins 162 Sep 17 09:02 .git [2020-09-17T09:02:57.048Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 17 09:02 .github [2020-09-17T09:02:57.048Z] -rw-rw-r--. 1 jenkins jenkins 336 Sep 17 09:02 .gitignore [2020-09-17T09:02:57.048Z] -rw-rw-r--. 1 jenkins jenkins 510 Sep 17 09:02 go.mod [2020-09-17T09:02:57.048Z] drwxrwxr-x. 3 jenkins jenkins 20 Sep 17 09:02 internal [2020-09-17T09:02:57.048Z] -rw-rw-r--. 1 jenkins jenkins 677 Sep 17 09:02 Jenkinsfile [2020-09-17T09:02:57.048Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 17 09:02 LICENSE [2020-09-17T09:02:57.048Z] -rw-rw-r--. 1 jenkins jenkins 902 Sep 17 09:02 Makefile [2020-09-17T09:02:57.048Z] drwxrwxr-x. 2 jenkins jenkins 23 Sep 17 09:02 mock [2020-09-17T09:02:57.048Z] -rw-rw-r--. 1 jenkins jenkins 444 Sep 17 09:02 README.md [2020-09-17T09:02:57.048Z] drwxrwxr-x. 3 jenkins jenkins 44 Sep 17 09:02 .semver [2020-09-17T09:02:57.048Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 17 09:02 snap [2020-09-17T09:02:57.048Z] -rw-rw-r--. 1 jenkins jenkins 11 Sep 17 08:58 VERSION [2020-09-17T09:02:57.048Z] -rw-rw-r--. 1 jenkins jenkins 227 Sep 17 09:02 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:02:57.354Z] + 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 . [2020-09-17T09:02:57.354Z] Sending build context to Docker daemon 613.4kB [2020-09-17T09:02:57.354Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-09-17T09:02:57.354Z] Step 2/22 : FROM ${BASE} AS builder [2020-09-17T09:02:57.354Z] ---> 75201376da32 [2020-09-17T09:02:57.354Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-09-17T09:02:57.626Z] ---> Running in 9852d6026821 [2020-09-17T09:02:57.889Z] Removing intermediate container 9852d6026821 [2020-09-17T09:02:57.889Z] ---> 70e00b0ef305 [2020-09-17T09:02:57.889Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-09-17T09:02:58.153Z] ---> Running in 23141b28dd4f [2020-09-17T09:02:58.153Z] Removing intermediate container 23141b28dd4f [2020-09-17T09:02:58.153Z] ---> 2e6ce3fbdd7d [2020-09-17T09:02:58.153Z] Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T09:02:58.415Z] ---> Running in 472702e572cd [2020-09-17T09:02:59.365Z] Removing intermediate container 472702e572cd [2020-09-17T09:02:59.365Z] ---> 4375da1d360c [2020-09-17T09:02:59.365Z] Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-17T09:02:59.365Z] ---> Running in e1f210dc7d2f [2020-09-17T09:02:59.628Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-17T09:03:00.681Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-17T09:03:01.332Z] OK: 237 MiB in 53 packages [2020-09-17T09:03:01.599Z] Removing intermediate container e1f210dc7d2f [2020-09-17T09:03:01.599Z] ---> 33cc68e6cc8c [2020-09-17T09:03:01.599Z] Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-09-17T09:03:01.599Z] ---> Running in 4f08fe3a9134 [2020-09-17T09:03:01.863Z] Removing intermediate container 4f08fe3a9134 [2020-09-17T09:03:01.863Z] ---> ff7def774ec8 [2020-09-17T09:03:01.863Z] Step 8/22 : COPY . . [2020-09-17T09:03:02.438Z] ---> 10f0f00ecfbf [2020-09-17T09:03:02.438Z] Step 9/22 : ARG MAKE='make build' [2020-09-17T09:03:02.438Z] ---> Running in 3ebd773ff119 [2020-09-17T09:03:02.700Z] Removing intermediate container 3ebd773ff119 [2020-09-17T09:03:02.700Z] ---> fefffcf42955 [2020-09-17T09:03:02.700Z] Step 10/22 : RUN $MAKE [2020-09-17T09:03:02.700Z] ---> Running in 30aabb251f5e [2020-09-17T09:03:03.283Z] 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 [2020-09-17T09:03:11.526Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-17T09:03:14.858Z] Removing intermediate container 30aabb251f5e [2020-09-17T09:03:14.858Z] ---> 0274ca41048c [2020-09-17T09:03:14.858Z] Step 11/22 : FROM alpine [2020-09-17T09:03:15.120Z] latest: Pulling from library/alpine [2020-09-17T09:03:15.382Z] df20fa9351a1: Already exists [2020-09-17T09:03:15.382Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-17T09:03:15.382Z] Status: Downloaded newer image for alpine:latest [2020-09-17T09:03:15.382Z] ---> a24bb4013296 [2020-09-17T09:03:15.382Z] Step 12/22 : ENV APP_PORT=49982 [2020-09-17T09:03:15.382Z] ---> Running in b002dd55b200 [2020-09-17T09:03:15.646Z] Removing intermediate container b002dd55b200 [2020-09-17T09:03:15.646Z] ---> c94621948aae [2020-09-17T09:03:15.646Z] Step 13/22 : EXPOSE $APP_PORT [2020-09-17T09:03:15.646Z] ---> Running in ef1ba54a7ac8 [2020-09-17T09:03:15.911Z] Removing intermediate container ef1ba54a7ac8 [2020-09-17T09:03:15.911Z] ---> b4abcb4cad23 [2020-09-17T09:03:15.911Z] Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-09-17T09:03:16.485Z] ---> 972725256582 [2020-09-17T09:03:16.485Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2020-09-17T09:03:16.485Z] ---> 969b93742469 [2020-09-17T09:03:16.485Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2020-09-17T09:03:16.750Z] ---> 92f557f5ad15 [2020-09-17T09:03:16.750Z] Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-09-17T09:03:17.032Z] ---> Running in b0a48e52f4a4 [2020-09-17T09:03:17.032Z] Removing intermediate container b0a48e52f4a4 [2020-09-17T09:03:17.032Z] ---> 7ec9681d7c66 [2020-09-17T09:03:17.032Z] Step 18/22 : ENTRYPOINT ["/device-mqtt"] [2020-09-17T09:03:17.032Z] ---> Running in 651e744eb6ec [2020-09-17T09:03:17.298Z] Removing intermediate container 651e744eb6ec [2020-09-17T09:03:17.298Z] ---> 7ee8cfbe7bfa [2020-09-17T09:03:17.298Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-17T09:03:17.298Z] ---> Running in a54c07115fe2 [2020-09-17T09:03:17.568Z] Removing intermediate container a54c07115fe2 [2020-09-17T09:03:17.568Z] ---> 34e6f9f46917 [2020-09-17T09:03:17.568Z] Step 20/22 : LABEL arch=amd64 [2020-09-17T09:03:17.568Z] ---> Running in b2284fbdd77b [2020-09-17T09:03:17.832Z] Removing intermediate container b2284fbdd77b [2020-09-17T09:03:17.832Z] ---> 8ad6c598380f [2020-09-17T09:03:17.832Z] Step 21/22 : LABEL git_sha=ba13f39da15fded8dc9ca6171c9bf6786df660a0 [2020-09-17T09:03:17.832Z] ---> Running in 99783bad6cdc [2020-09-17T09:03:18.094Z] Removing intermediate container 99783bad6cdc [2020-09-17T09:03:18.094Z] ---> e07ad5e73a59 [2020-09-17T09:03:18.094Z] Step 22/22 : LABEL version=1.2.3-dev.4 [2020-09-17T09:03:18.094Z] ---> Running in 76f446a8ae30 [2020-09-17T09:03:18.356Z] Removing intermediate container 76f446a8ae30 [2020-09-17T09:03:18.356Z] ---> 4ed1227d20f3 [2020-09-17T09:03:18.356Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-17T09:03:18.356Z] Successfully built 4ed1227d20f3 [2020-09-17T09:03:18.356Z] 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 [2020-09-17T09:03:18.886Z] provisioning config files... [2020-09-17T09:03:18.918Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/18@tmp/config6915943657262958468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-09-17T09:03:19.305Z] ---> docker-login.sh [2020-09-17T09:03:19.305Z] nexus3.edgexfoundry.org:10001 [2020-09-17T09:03:19.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T09:03:19.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T09:03:19.571Z] Configure a credential helper to remove this warning. See [2020-09-17T09:03:19.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T09:03:19.571Z] [2020-09-17T09:03:19.571Z] Login Succeeded [2020-09-17T09:03:19.571Z] nexus3.edgexfoundry.org:10002 [2020-09-17T09:03:19.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T09:03:19.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T09:03:19.838Z] Configure a credential helper to remove this warning. See [2020-09-17T09:03:19.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T09:03:19.838Z] [2020-09-17T09:03:19.838Z] Login Succeeded [2020-09-17T09:03:19.838Z] nexus3.edgexfoundry.org:10003 [2020-09-17T09:03:19.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T09:03:19.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T09:03:19.838Z] Configure a credential helper to remove this warning. See [2020-09-17T09:03:19.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T09:03:19.838Z] [2020-09-17T09:03:19.838Z] Login Succeeded [2020-09-17T09:03:19.838Z] nexus3.edgexfoundry.org:10004 [2020-09-17T09:03:20.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T09:03:20.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T09:03:20.102Z] Configure a credential helper to remove this warning. See [2020-09-17T09:03:20.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T09:03:20.102Z] [2020-09-17T09:03:20.102Z] Login Succeeded [2020-09-17T09:03:20.102Z] docker.io [2020-09-17T09:03:20.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T09:03:20.158Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-179 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2020-09-17T09:03:20.231Z] Running in /w/workspace/device-mqtt-go/18 [Pipeline] { [Pipeline] checkout [2020-09-17T09:03:21.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T09:03:21.535Z] Configure a credential helper to remove this warning. See [2020-09-17T09:03:21.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T09:03:21.535Z] [2020-09-17T09:03:21.535Z] Login Succeeded [2020-09-17T09:03:21.535Z] ---> docker-login.sh ends [Pipeline] } [2020-09-17T09:03:21.550Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-17T09:03:21.789Z] [edgeXDocker.push] Tagging docker image docker-device-mqtt-go with the following tags: [2020-09-17T09:03:21.789Z] ba13f39da15fded8dc9ca6171c9bf6786df660a0 [2020-09-17T09:03:21.789Z] latest [2020-09-17T09:03:21.789Z] 1.2.3-dev.4 [2020-09-17T09:03:21.789Z] ba13f39da15fded8dc9ca6171c9bf6786df660a0-1.2.3-dev.4 [2020-09-17T09:03:21.789Z] master [2020-09-17T09:03:21.789Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:03:22.349Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:ba13f39da15fded8dc9ca6171c9bf6786df660a0 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:03:22.777Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:ba13f39da15fded8dc9ca6171c9bf6786df660a0 [2020-09-17T09:03:22.777Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2020-09-17T09:03:22.777Z] ec9fadfc0836: Preparing [2020-09-17T09:03:22.777Z] 8ea2d22171a6: Preparing [2020-09-17T09:03:22.777Z] 8661c29408eb: Preparing [2020-09-17T09:03:22.777Z] 50644c29ef5a: Preparing [2020-09-17T09:03:22.777Z] 50644c29ef5a: Layer already exists [2020-09-17T09:03:23.044Z] ec9fadfc0836: Pushed [2020-09-17T09:03:23.044Z] 8ea2d22171a6: Pushed [2020-09-17T09:03:24.011Z] 8661c29408eb: Pushed [2020-09-17T09:03:24.011Z] ba13f39da15fded8dc9ca6171c9bf6786df660a0: digest: sha256:e5a6b29d54d8c9ce75464232f1d9d9392b2f0b312df0f08ea960cec3389dfb45 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:03:24.340Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:03:24.642Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [2020-09-17T09:03:24.642Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2020-09-17T09:03:24.642Z] ec9fadfc0836: Preparing [2020-09-17T09:03:24.642Z] 8ea2d22171a6: Preparing [2020-09-17T09:03:24.642Z] 8661c29408eb: Preparing [2020-09-17T09:03:24.642Z] 50644c29ef5a: Preparing [2020-09-17T09:03:24.642Z] 8661c29408eb: Layer already exists [2020-09-17T09:03:24.642Z] 50644c29ef5a: Layer already exists [2020-09-17T09:03:24.642Z] ec9fadfc0836: Layer already exists [2020-09-17T09:03:24.642Z] 8ea2d22171a6: Layer already exists [2020-09-17T09:03:24.642Z] latest: digest: sha256:e5a6b29d54d8c9ce75464232f1d9d9392b2f0b312df0f08ea960cec3389dfb45 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:03:24.954Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.2.3-dev.4 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:03:25.287Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.2.3-dev.4 [2020-09-17T09:03:25.287Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2020-09-17T09:03:25.287Z] ec9fadfc0836: Preparing [2020-09-17T09:03:25.287Z] 8ea2d22171a6: Preparing [2020-09-17T09:03:25.287Z] 8661c29408eb: Preparing [2020-09-17T09:03:25.287Z] 50644c29ef5a: Preparing [2020-09-17T09:03:25.287Z] 8ea2d22171a6: Layer already exists [2020-09-17T09:03:25.287Z] 8661c29408eb: Layer already exists [2020-09-17T09:03:25.287Z] ec9fadfc0836: Layer already exists [2020-09-17T09:03:25.287Z] 50644c29ef5a: Layer already exists [2020-09-17T09:03:25.287Z] 1.2.3-dev.4: digest: sha256:e5a6b29d54d8c9ce75464232f1d9d9392b2f0b312df0f08ea960cec3389dfb45 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:03:25.619Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:ba13f39da15fded8dc9ca6171c9bf6786df660a0-1.2.3-dev.4 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:03:25.928Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:ba13f39da15fded8dc9ca6171c9bf6786df660a0-1.2.3-dev.4 [2020-09-17T09:03:25.928Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2020-09-17T09:03:25.928Z] ec9fadfc0836: Preparing [2020-09-17T09:03:25.928Z] 8ea2d22171a6: Preparing [2020-09-17T09:03:25.928Z] 8661c29408eb: Preparing [2020-09-17T09:03:25.928Z] 50644c29ef5a: Preparing [2020-09-17T09:03:25.928Z] 8ea2d22171a6: Layer already exists [2020-09-17T09:03:25.928Z] ec9fadfc0836: Layer already exists [2020-09-17T09:03:25.928Z] 50644c29ef5a: Layer already exists [2020-09-17T09:03:25.928Z] 8661c29408eb: Layer already exists [2020-09-17T09:03:25.928Z] ba13f39da15fded8dc9ca6171c9bf6786df660a0-1.2.3-dev.4: digest: sha256:e5a6b29d54d8c9ce75464232f1d9d9392b2f0b312df0f08ea960cec3389dfb45 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:03:25.982Z] using credential edgex-jenkins-ssh [2020-09-17T09:03:26.075Z] Cloning the remote Git repository [2020-09-17T09:03:26.075Z] Cloning with configured refspecs honoured and without tags [2020-09-17T09:03:26.235Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:03:26.537Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [2020-09-17T09:03:26.537Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2020-09-17T09:03:26.537Z] ec9fadfc0836: Preparing [2020-09-17T09:03:26.537Z] 8ea2d22171a6: Preparing [2020-09-17T09:03:26.537Z] 8661c29408eb: Preparing [2020-09-17T09:03:26.537Z] 50644c29ef5a: Preparing [2020-09-17T09:03:26.537Z] ec9fadfc0836: Layer already exists [2020-09-17T09:03:26.537Z] 8ea2d22171a6: Layer already exists [2020-09-17T09:03:26.537Z] 50644c29ef5a: Layer already exists [2020-09-17T09:03:26.537Z] 8661c29408eb: Layer already exists [2020-09-17T09:03:26.537Z] master: digest: sha256:e5a6b29d54d8c9ce75464232f1d9d9392b2f0b312df0f08ea960cec3389dfb45 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-17T09:03:26.764Z] ===================================================== [2020-09-17T09:03:26.128Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-09-17T09:03:26.247Z] > git init /w/workspace/device-mqtt-go/18 # timeout=10 [2020-09-17T09:03:26.315Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-09-17T09:03:26.316Z] > git --version # timeout=10 [2020-09-17T09:03:26.340Z] > git --version # 'git version 2.17.1' [2020-09-17T09:03:26.342Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T09:03:26.418Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [Pipeline] echo [2020-09-17T09:03:26.826Z] taggedImages: [2020-09-17T09:03:26.826Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:ba13f39da15fded8dc9ca6171c9bf6786df660a0 [2020-09-17T09:03:26.826Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [2020-09-17T09:03:26.826Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.2.3-dev.4 [2020-09-17T09:03:26.826Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:ba13f39da15fded8dc9ca6171c9bf6786df660a0-1.2.3-dev.4 [2020-09-17T09:03:26.826Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [2020-09-17T09:03:27.295Z] Fetching without tags Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [2020-09-17T09:03:27.791Z] Checking out Revision ba13f39da15fded8dc9ca6171c9bf6786df660a0 (master) [Pipeline] } [Pipeline] // node [Pipeline] } [2020-09-17T09:03:27.207Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-09-17T09:03:27.224Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T09:03:27.254Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-09-17T09:03:27.295Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-09-17T09:03:27.296Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T09:03:27.316Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T09:03:27.800Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T09:03:27.828Z] > git checkout -f ba13f39da15fded8dc9ca6171c9bf6786df660a0 # timeout=10 [Pipeline] // stage [Pipeline] } [2020-09-17T09:03:32.535Z] 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 [2020-09-17T09:03:33.505Z] ========================================================= [2020-09-17T09:03:33.505Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-17T09:03:33.505Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:03:34.579Z] + 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 . [2020-09-17T09:03:35.195Z] Sending build context to Docker daemon 613.4kB [2020-09-17T09:03:35.195Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-17T09:03:35.195Z] Step 2/8 : FROM ${BASE} [2020-09-17T09:03:35.798Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-17T09:03:35.798Z] b538f80385f9: Pulling fs layer [2020-09-17T09:03:35.798Z] 74f711af9a0d: Pulling fs layer [2020-09-17T09:03:35.798Z] 99f96fe45779: Pulling fs layer [2020-09-17T09:03:35.798Z] 8529a6b9a6be: Pulling fs layer [2020-09-17T09:03:35.798Z] 45590311c82a: Pulling fs layer [2020-09-17T09:03:35.798Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-17T09:03:35.798Z] 209524e5b208: Pulling fs layer [2020-09-17T09:03:35.798Z] 45590311c82a: Waiting [2020-09-17T09:03:35.798Z] 69ca0ff8b7b3: Waiting [2020-09-17T09:03:35.798Z] 209524e5b208: Waiting [2020-09-17T09:03:35.798Z] 8529a6b9a6be: Waiting [2020-09-17T09:03:35.798Z] 99f96fe45779: Verifying Checksum [2020-09-17T09:03:35.798Z] 99f96fe45779: Download complete [2020-09-17T09:03:35.798Z] 74f711af9a0d: Verifying Checksum [2020-09-17T09:03:35.798Z] 74f711af9a0d: Download complete [2020-09-17T09:03:35.798Z] 45590311c82a: Verifying Checksum [2020-09-17T09:03:35.798Z] 45590311c82a: Download complete [2020-09-17T09:03:35.798Z] 69ca0ff8b7b3: Download complete [2020-09-17T09:03:35.798Z] b538f80385f9: Verifying Checksum [2020-09-17T09:03:35.798Z] b538f80385f9: Download complete [2020-09-17T09:03:36.826Z] b538f80385f9: Pull complete [2020-09-17T09:03:37.435Z] 74f711af9a0d: Pull complete [2020-09-17T09:03:37.717Z] 99f96fe45779: Pull complete [2020-09-17T09:03:38.320Z] 209524e5b208: Verifying Checksum [2020-09-17T09:03:38.320Z] 209524e5b208: Download complete [2020-09-17T09:03:39.773Z] 8529a6b9a6be: Verifying Checksum [2020-09-17T09:03:39.773Z] 8529a6b9a6be: Download complete [2020-09-17T09:03:49.975Z] 8529a6b9a6be: Pull complete [2020-09-17T09:03:50.253Z] 45590311c82a: Pull complete [2020-09-17T09:03:50.531Z] 69ca0ff8b7b3: Pull complete [2020-09-17T09:03:53.953Z] 209524e5b208: Pull complete [2020-09-17T09:03:53.953Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-17T09:03:54.232Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-17T09:03:54.232Z] ---> 5bddaf1c2fca [2020-09-17T09:03:54.232Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-09-17T09:03:57.647Z] ---> Running in f4845f137685 [2020-09-17T09:03:57.921Z] Removing intermediate container f4845f137685 [2020-09-17T09:03:57.921Z] ---> 0c0a4fae595a [2020-09-17T09:03:57.921Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T09:03:57.921Z] ---> Running in 9118b9b7c1b5 [2020-09-17T09:04:01.338Z] Removing intermediate container 9118b9b7c1b5 [2020-09-17T09:04:01.338Z] ---> 22ea7db933c7 [2020-09-17T09:04:01.338Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-09-17T09:04:01.338Z] ---> Running in 1301c86d2ece [2020-09-17T09:04:02.796Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-17T09:04:03.778Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-17T09:04:04.758Z] (1/14) Installing libmagic (5.38-r0) [2020-09-17T09:04:05.034Z] (2/14) Installing file (5.38-r0) [2020-09-17T09:04:05.034Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-09-17T09:04:05.034Z] (4/14) Installing g++ (9.3.0-r2) [2020-09-17T09:04:13.318Z] (5/14) Installing fortify-headers (1.1-r0) [2020-09-17T09:04:13.318Z] (6/14) Installing patch (2.7.6-r6) [2020-09-17T09:04:13.318Z] (7/14) Installing build-base (0.5-r2) [2020-09-17T09:04:13.318Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-09-17T09:04:13.318Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-09-17T09:04:13.318Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-09-17T09:04:13.918Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-09-17T09:04:14.191Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-09-17T09:04:14.191Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-09-17T09:04:14.191Z] (14/14) Installing openssh (8.3_p1-r0) [2020-09-17T09:04:14.464Z] Executing busybox-1.31.1-r16.trigger [2020-09-17T09:04:14.739Z] OK: 221 MiB in 53 packages [2020-09-17T09:04:19.056Z] Removing intermediate container 1301c86d2ece [2020-09-17T09:04:19.056Z] ---> 7379aeb7ee0f [2020-09-17T09:04:19.056Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-09-17T09:04:19.056Z] ---> Running in fd413a14444f [2020-09-17T09:04:19.332Z] Removing intermediate container fd413a14444f [2020-09-17T09:04:19.332Z] ---> 35aef02f4e2a [2020-09-17T09:04:19.332Z] Step 7/8 : COPY . . [2020-09-17T09:04:20.316Z] ---> 8ed4d665c132 [2020-09-17T09:04:20.316Z] Step 8/8 : RUN go mod download [2020-09-17T09:04:20.316Z] ---> Running in 23439c8be0d5 [2020-09-17T09:04:35.425Z] Removing intermediate container 23439c8be0d5 [2020-09-17T09:04:35.425Z] ---> 4ba6210182b4 [2020-09-17T09:04:35.425Z] Successfully built 4ba6210182b4 [2020-09-17T09:04:35.425Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:04:35.841Z] + docker inspect -f . ci-base-image-arm64 [2020-09-17T09:04:35.841Z] . [Pipeline] withDockerContainer [2020-09-17T09:04:36.137Z] prd-ubuntu18.04-docker-arm64-4c-16g-179 does not seem to be running inside a container [2020-09-17T09:04:36.240Z] $ 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 [2020-09-17T09:04:38.096Z] $ docker top 13a2f3b23f9caef1b53118f06e5595b1cf7e3f51afd85b9469bb3b72455210b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T09:04:39.501Z] + go version [2020-09-17T09:04:39.501Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-17T09:04:39.533Z] $ docker stop --time=1 13a2f3b23f9caef1b53118f06e5595b1cf7e3f51afd85b9469bb3b72455210b6 [2020-09-17T09:04:41.406Z] $ 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 [2020-09-17T09:04:42.851Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-17T09:04:43.192Z] + ls -al . [2020-09-17T09:04:43.192Z] total 100 [2020-09-17T09:04:43.192Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 17 09:03 . [2020-09-17T09:04:43.192Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 09:03 .. [2020-09-17T09:04:43.192Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 17 09:03 .dockerignore [2020-09-17T09:04:43.192Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 09:03 .git [2020-09-17T09:04:43.192Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 09:03 .github [2020-09-17T09:04:43.192Z] -rw-rw-r-- 1 jenkins jenkins 336 Sep 17 09:03 .gitignore [2020-09-17T09:04:43.192Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 09:03 .semver [2020-09-17T09:04:43.192Z] -rw-rw-r-- 1 jenkins jenkins 4896 Sep 17 09:03 Attribution.txt [2020-09-17T09:04:43.193Z] -rw-rw-r-- 1 jenkins jenkins 1784 Sep 17 09:03 Dockerfile [2020-09-17T09:04:43.193Z] -rw-rw-r-- 1 jenkins jenkins 953 Sep 17 09:03 Dockerfile.build [2020-09-17T09:04:43.193Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 17 09:03 Jenkinsfile [2020-09-17T09:04:43.193Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 17 09:03 LICENSE [2020-09-17T09:04:43.193Z] -rw-rw-r-- 1 jenkins jenkins 902 Sep 17 09:03 Makefile [2020-09-17T09:04:43.193Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 17 09:03 README.md [2020-09-17T09:04:43.193Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 17 08:58 VERSION [2020-09-17T09:04:43.193Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 09:03 bin [2020-09-17T09:04:43.193Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 09:03 cmd [2020-09-17T09:04:43.193Z] -rw-rw-r-- 1 jenkins jenkins 510 Sep 17 09:03 go.mod [2020-09-17T09:04:43.193Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 09:03 internal [2020-09-17T09:04:43.193Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 09:03 mock [2020-09-17T09:04:43.193Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 09:03 snap [2020-09-17T09:04:43.193Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 17 09:03 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:04:43.548Z] + 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 . [2020-09-17T09:04:43.851Z] Sending build context to Docker daemon 613.4kB [2020-09-17T09:04:43.851Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-09-17T09:04:43.851Z] Step 2/22 : FROM ${BASE} AS builder [2020-09-17T09:04:43.851Z] ---> 4ba6210182b4 [2020-09-17T09:04:43.851Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-09-17T09:04:44.126Z] ---> Running in 34d13edc5912 [2020-09-17T09:04:44.729Z] Removing intermediate container 34d13edc5912 [2020-09-17T09:04:44.729Z] ---> b6cb05a6b9ba [2020-09-17T09:04:44.729Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-09-17T09:04:44.729Z] ---> Running in 836f7ba89c99 [2020-09-17T09:04:45.329Z] Removing intermediate container 836f7ba89c99 [2020-09-17T09:04:45.330Z] ---> 98cc92b08392 [2020-09-17T09:04:45.330Z] Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T09:04:45.330Z] ---> Running in f57fc1c2c871 [2020-09-17T09:04:47.958Z] Removing intermediate container f57fc1c2c871 [2020-09-17T09:04:47.958Z] ---> 3220203c1c45 [2020-09-17T09:04:47.958Z] Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-17T09:04:47.958Z] ---> Running in 7f188eaf4aa7 [2020-09-17T09:04:49.940Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-17T09:04:50.536Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-17T09:04:51.967Z] OK: 221 MiB in 53 packages [2020-09-17T09:04:52.944Z] Removing intermediate container 7f188eaf4aa7 [2020-09-17T09:04:52.944Z] ---> 2e9c9839ca53 [2020-09-17T09:04:52.944Z] Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-09-17T09:04:53.218Z] ---> Running in 598f2836873d [2020-09-17T09:04:53.813Z] Removing intermediate container 598f2836873d [2020-09-17T09:04:53.813Z] ---> aebb0fa0cf00 [2020-09-17T09:04:53.813Z] Step 8/22 : COPY . . [2020-09-17T09:04:54.793Z] ---> e1494c79cb34 [2020-09-17T09:04:54.793Z] Step 9/22 : ARG MAKE='make build' [2020-09-17T09:04:54.793Z] ---> Running in eeb1a4b66542 [2020-09-17T09:04:55.389Z] Removing intermediate container eeb1a4b66542 [2020-09-17T09:04:55.389Z] ---> 5d4d74707393 [2020-09-17T09:04:55.389Z] Step 10/22 : RUN $MAKE [2020-09-17T09:04:55.389Z] ---> Running in b07f52c06ba0 [2020-09-17T09:04:56.835Z] 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 [2020-09-17T09:05:29.239Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-17T09:05:31.228Z] Removing intermediate container b07f52c06ba0 [2020-09-17T09:05:31.228Z] ---> 3dcc01c8cad1 [2020-09-17T09:05:31.228Z] Step 11/22 : FROM alpine [2020-09-17T09:05:31.499Z] latest: Pulling from library/alpine [2020-09-17T09:05:31.777Z] b538f80385f9: Already exists [2020-09-17T09:05:31.777Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-17T09:05:31.778Z] Status: Downloaded newer image for alpine:latest [2020-09-17T09:05:31.778Z] ---> 62ee0e9f8440 [2020-09-17T09:05:31.778Z] Step 12/22 : ENV APP_PORT=49982 [2020-09-17T09:05:32.055Z] ---> Running in 66af66456990 [2020-09-17T09:05:32.658Z] Removing intermediate container 66af66456990 [2020-09-17T09:05:32.658Z] ---> f776d846c6e2 [2020-09-17T09:05:32.658Z] Step 13/22 : EXPOSE $APP_PORT [2020-09-17T09:05:32.658Z] ---> Running in dd2dd4ba0730 [2020-09-17T09:05:33.258Z] Removing intermediate container dd2dd4ba0730 [2020-09-17T09:05:33.258Z] ---> e2052469c0fb [2020-09-17T09:05:33.258Z] Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-09-17T09:05:34.700Z] ---> f7e980d5ce50 [2020-09-17T09:05:34.700Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2020-09-17T09:05:35.310Z] ---> 345174e51e46 [2020-09-17T09:05:35.310Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2020-09-17T09:05:36.304Z] ---> 31b86733f477 [2020-09-17T09:05:36.304Z] Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-09-17T09:05:36.304Z] ---> Running in e2834c806673 [2020-09-17T09:05:36.900Z] Removing intermediate container e2834c806673 [2020-09-17T09:05:36.900Z] ---> 57fe85b3119c [2020-09-17T09:05:36.900Z] Step 18/22 : ENTRYPOINT ["/device-mqtt"] [2020-09-17T09:05:36.900Z] ---> Running in 9132f5cb0864 [2020-09-17T09:05:37.496Z] Removing intermediate container 9132f5cb0864 [2020-09-17T09:05:37.496Z] ---> fb669711265b [2020-09-17T09:05:37.496Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-17T09:05:37.496Z] ---> Running in a2e17282523b [2020-09-17T09:05:38.098Z] Removing intermediate container a2e17282523b [2020-09-17T09:05:38.098Z] ---> 7816c85e699a [2020-09-17T09:05:38.098Z] Step 20/22 : LABEL arch=arm64 [2020-09-17T09:05:38.098Z] ---> Running in 5f8b0bf2180c [2020-09-17T09:05:38.695Z] Removing intermediate container 5f8b0bf2180c [2020-09-17T09:05:38.695Z] ---> f5ecd484cf0c [2020-09-17T09:05:38.695Z] Step 21/22 : LABEL git_sha=ba13f39da15fded8dc9ca6171c9bf6786df660a0 [2020-09-17T09:05:38.695Z] ---> Running in 1deee1ef90f9 [2020-09-17T09:05:39.313Z] Removing intermediate container 1deee1ef90f9 [2020-09-17T09:05:39.313Z] ---> 816128a6c431 [2020-09-17T09:05:39.313Z] Step 22/22 : LABEL version=1.2.3-dev.4 [2020-09-17T09:05:39.313Z] ---> Running in aabecdc4884b [2020-09-17T09:05:39.979Z] Removing intermediate container aabecdc4884b [2020-09-17T09:05:39.979Z] ---> 32ac119e19d8 [2020-09-17T09:05:39.979Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-17T09:05:39.979Z] Successfully built 32ac119e19d8 [2020-09-17T09:05:39.979Z] 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 [2020-09-17T09:05:40.633Z] provisioning config files... [2020-09-17T09:05:40.679Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/18@tmp/config5235653127033085855tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-09-17T09:05:41.093Z] ---> docker-login.sh [2020-09-17T09:05:41.093Z] nexus3.edgexfoundry.org:10001 [2020-09-17T09:05:41.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T09:05:41.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T09:05:41.647Z] Configure a credential helper to remove this warning. See [2020-09-17T09:05:41.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T09:05:41.647Z] [2020-09-17T09:05:41.647Z] Login Succeeded [2020-09-17T09:05:41.647Z] nexus3.edgexfoundry.org:10002 [2020-09-17T09:05:42.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T09:05:42.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T09:05:42.244Z] Configure a credential helper to remove this warning. See [2020-09-17T09:05:42.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T09:05:42.244Z] [2020-09-17T09:05:42.244Z] Login Succeeded [2020-09-17T09:05:42.244Z] nexus3.edgexfoundry.org:10003 [2020-09-17T09:05:42.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T09:05:42.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T09:05:42.843Z] Configure a credential helper to remove this warning. See [2020-09-17T09:05:42.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T09:05:42.843Z] [2020-09-17T09:05:42.843Z] Login Succeeded [2020-09-17T09:05:42.843Z] nexus3.edgexfoundry.org:10004 [2020-09-17T09:05:43.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T09:05:43.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T09:05:43.441Z] Configure a credential helper to remove this warning. See [2020-09-17T09:05:43.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T09:05:43.441Z] [2020-09-17T09:05:43.441Z] Login Succeeded [2020-09-17T09:05:43.441Z] docker.io [2020-09-17T09:05:43.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-17T09:05:43.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-17T09:05:43.998Z] Configure a credential helper to remove this warning. See [2020-09-17T09:05:43.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-17T09:05:43.998Z] [2020-09-17T09:05:43.998Z] Login Succeeded [2020-09-17T09:05:44.272Z] ---> docker-login.sh ends [Pipeline] } [2020-09-17T09:05:44.291Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-17T09:05:44.605Z] [edgeXDocker.push] Tagging docker image docker-device-mqtt-go-arm64 with the following tags: [2020-09-17T09:05:44.605Z] ba13f39da15fded8dc9ca6171c9bf6786df660a0 [2020-09-17T09:05:44.605Z] latest [2020-09-17T09:05:44.605Z] 1.2.3-dev.4 [2020-09-17T09:05:44.605Z] ba13f39da15fded8dc9ca6171c9bf6786df660a0-1.2.3-dev.4 [2020-09-17T09:05:44.605Z] master [2020-09-17T09:05:44.605Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:05:45.151Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:ba13f39da15fded8dc9ca6171c9bf6786df660a0 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:05:45.497Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:ba13f39da15fded8dc9ca6171c9bf6786df660a0 [2020-09-17T09:05:45.497Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2020-09-17T09:05:45.497Z] 5d4739301b78: Preparing [2020-09-17T09:05:45.497Z] e73da4704570: Preparing [2020-09-17T09:05:45.497Z] 8ec1236df8ba: Preparing [2020-09-17T09:05:45.497Z] e2f13739ad41: Preparing [2020-09-17T09:05:45.778Z] e2f13739ad41: Layer already exists [2020-09-17T09:05:45.778Z] e73da4704570: Pushed [2020-09-17T09:05:45.778Z] 5d4739301b78: Pushed [2020-09-17T09:05:48.397Z] 8ec1236df8ba: Pushed [2020-09-17T09:05:48.670Z] ba13f39da15fded8dc9ca6171c9bf6786df660a0: digest: sha256:a742221493af7d59e20b9ce95c99389d1a2df1e9e5caa0cf3de8d65668bfe18a size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:05:49.017Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:05:49.366Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [2020-09-17T09:05:49.366Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2020-09-17T09:05:49.366Z] 5d4739301b78: Preparing [2020-09-17T09:05:49.366Z] e73da4704570: Preparing [2020-09-17T09:05:49.366Z] 8ec1236df8ba: Preparing [2020-09-17T09:05:49.366Z] e2f13739ad41: Preparing [2020-09-17T09:05:49.649Z] 5d4739301b78: Layer already exists [2020-09-17T09:05:49.649Z] 8ec1236df8ba: Layer already exists [2020-09-17T09:05:49.649Z] e73da4704570: Layer already exists [2020-09-17T09:05:49.649Z] e2f13739ad41: Layer already exists [2020-09-17T09:05:49.649Z] latest: digest: sha256:a742221493af7d59e20b9ce95c99389d1a2df1e9e5caa0cf3de8d65668bfe18a size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:05:50.002Z] + 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 [2020-09-17T09:05:50.357Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.2.3-dev.4 [2020-09-17T09:05:50.358Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2020-09-17T09:05:50.358Z] 5d4739301b78: Preparing [2020-09-17T09:05:50.358Z] e73da4704570: Preparing [2020-09-17T09:05:50.358Z] 8ec1236df8ba: Preparing [2020-09-17T09:05:50.358Z] e2f13739ad41: Preparing [2020-09-17T09:05:50.639Z] e2f13739ad41: Layer already exists [2020-09-17T09:05:50.639Z] 8ec1236df8ba: Layer already exists [2020-09-17T09:05:50.639Z] 5d4739301b78: Layer already exists [2020-09-17T09:05:50.639Z] e73da4704570: Layer already exists [2020-09-17T09:05:50.639Z] 1.2.3-dev.4: digest: sha256:a742221493af7d59e20b9ce95c99389d1a2df1e9e5caa0cf3de8d65668bfe18a size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:05:50.997Z] + 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 [2020-09-17T09:05:51.345Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:ba13f39da15fded8dc9ca6171c9bf6786df660a0-1.2.3-dev.4 [2020-09-17T09:05:51.345Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2020-09-17T09:05:51.345Z] 5d4739301b78: Preparing [2020-09-17T09:05:51.345Z] e73da4704570: Preparing [2020-09-17T09:05:51.345Z] 8ec1236df8ba: Preparing [2020-09-17T09:05:51.345Z] e2f13739ad41: Preparing [2020-09-17T09:05:51.620Z] e2f13739ad41: Layer already exists [2020-09-17T09:05:51.620Z] e73da4704570: Layer already exists [2020-09-17T09:05:51.620Z] 5d4739301b78: Layer already exists [2020-09-17T09:05:51.620Z] 8ec1236df8ba: Layer already exists [2020-09-17T09:05:51.620Z] ba13f39da15fded8dc9ca6171c9bf6786df660a0-1.2.3-dev.4: digest: sha256:a742221493af7d59e20b9ce95c99389d1a2df1e9e5caa0cf3de8d65668bfe18a size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:05:51.978Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:05:52.339Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [2020-09-17T09:05:52.339Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2020-09-17T09:05:52.339Z] 5d4739301b78: Preparing [2020-09-17T09:05:52.339Z] e73da4704570: Preparing [2020-09-17T09:05:52.339Z] 8ec1236df8ba: Preparing [2020-09-17T09:05:52.339Z] e2f13739ad41: Preparing [2020-09-17T09:05:52.622Z] 5d4739301b78: Layer already exists [2020-09-17T09:05:52.622Z] e2f13739ad41: Layer already exists [2020-09-17T09:05:52.622Z] 8ec1236df8ba: Layer already exists [2020-09-17T09:05:52.622Z] e73da4704570: Layer already exists [2020-09-17T09:05:52.622Z] master: digest: sha256:a742221493af7d59e20b9ce95c99389d1a2df1e9e5caa0cf3de8d65668bfe18a size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-17T09:05:52.909Z] ===================================================== [Pipeline] echo [2020-09-17T09:05:52.970Z] taggedImages: [2020-09-17T09:05:52.970Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:ba13f39da15fded8dc9ca6171c9bf6786df660a0 [2020-09-17T09:05:52.970Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [2020-09-17T09:05:52.970Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.2.3-dev.4 [2020-09-17T09:05:52.970Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:ba13f39da15fded8dc9ca6171c9bf6786df660a0-1.2.3-dev.4 [2020-09-17T09:05:52.970Z] - 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 [2020-09-17T09:05:55.241Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-09-17T09:05:55.243Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-09-17T09:05:55.290Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:05:55.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-17T09:05:55.705Z] [2020-09-17T09:05:55.705Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:05:56.073Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-17T09:05:56.073Z] 1.317.0: Pulling from edgex-devops/edgex-snyk-go [2020-09-17T09:05:56.073Z] cbdbe7a5bc2a: Pulling fs layer [2020-09-17T09:05:56.073Z] 408f87550127: Pulling fs layer [2020-09-17T09:05:56.073Z] fe522b08c979: Pulling fs layer [2020-09-17T09:05:56.073Z] 221eaa008020: Pulling fs layer [2020-09-17T09:05:56.073Z] 2a4607e5d6b9: Pulling fs layer [2020-09-17T09:05:56.073Z] 8f79b27c4fd2: Pulling fs layer [2020-09-17T09:05:56.073Z] e5c8dbe1645b: Pulling fs layer [2020-09-17T09:05:56.073Z] 23e8b3b47431: Pulling fs layer [2020-09-17T09:05:56.073Z] 5c568d65a230: Pulling fs layer [2020-09-17T09:05:56.073Z] 8f79b27c4fd2: Waiting [2020-09-17T09:05:56.073Z] e5c8dbe1645b: Waiting [2020-09-17T09:05:56.073Z] 23e8b3b47431: Waiting [2020-09-17T09:05:56.073Z] 221eaa008020: Waiting [2020-09-17T09:05:56.073Z] 2a4607e5d6b9: Waiting [2020-09-17T09:05:56.073Z] fe522b08c979: Verifying Checksum [2020-09-17T09:05:56.073Z] fe522b08c979: Download complete [2020-09-17T09:05:56.073Z] 408f87550127: Verifying Checksum [2020-09-17T09:05:56.073Z] 408f87550127: Download complete [2020-09-17T09:05:56.073Z] 2a4607e5d6b9: Verifying Checksum [2020-09-17T09:05:56.073Z] 2a4607e5d6b9: Download complete [2020-09-17T09:05:56.073Z] 8f79b27c4fd2: Verifying Checksum [2020-09-17T09:05:56.073Z] 8f79b27c4fd2: Download complete [2020-09-17T09:05:56.073Z] cbdbe7a5bc2a: Download complete [2020-09-17T09:05:56.347Z] cbdbe7a5bc2a: Pull complete [2020-09-17T09:05:56.608Z] 408f87550127: Pull complete [2020-09-17T09:05:56.608Z] fe522b08c979: Pull complete [2020-09-17T09:05:58.003Z] e5c8dbe1645b: Verifying Checksum [2020-09-17T09:05:58.003Z] e5c8dbe1645b: Download complete [2020-09-17T09:05:58.962Z] 23e8b3b47431: Verifying Checksum [2020-09-17T09:05:58.962Z] 23e8b3b47431: Download complete [2020-09-17T09:05:59.230Z] 5c568d65a230: Verifying Checksum [2020-09-17T09:05:59.230Z] 5c568d65a230: Download complete [2020-09-17T09:06:00.190Z] 221eaa008020: Verifying Checksum [2020-09-17T09:06:00.190Z] 221eaa008020: Download complete [2020-09-17T09:06:05.571Z] 221eaa008020: Pull complete [2020-09-17T09:06:05.571Z] 2a4607e5d6b9: Pull complete [2020-09-17T09:06:05.571Z] 8f79b27c4fd2: Pull complete [2020-09-17T09:06:07.495Z] e5c8dbe1645b: Pull complete [2020-09-17T09:06:11.751Z] 23e8b3b47431: Pull complete [2020-09-17T09:06:13.152Z] 5c568d65a230: Pull complete [2020-09-17T09:06:13.152Z] Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 [2020-09-17T09:06:13.152Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-09-17T09:06:13.152Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer [2020-09-17T09:06:13.347Z] prd-centos7-docker-4c-2g-168 does not seem to be running inside a container [2020-09-17T09:06:13.415Z] $ 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 [2020-09-17T09:06:14.501Z] $ docker top cc546b0b1d22f37f170b27f1480e73df3cd1fd906eb2dbcfbdd9ce5ce47105a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T09:06:15.013Z] + snyk monitor '--org=edgex-jenkins' [2020-09-17T09:06:23.208Z] [2020-09-17T09:06:23.208Z] Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... [2020-09-17T09:06:23.208Z] [2020-09-17T09:06:23.208Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/ebd824e8-2201-4cdf-a31d-bd31d4b18ef9 [2020-09-17T09:06:23.208Z] [2020-09-17T09:06:23.208Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-09-17T09:06:23.208Z] [2020-09-17T09:06:23.208Z] [2020-09-17T09:06:23.208Z] Snyk CLI supports Node.js 8 and higher. [2020-09-17T09:06:23.209Z] Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. [2020-09-17T09:06:23.209Z] Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. [2020-09-17T09:06:23.209Z] [2020-09-17T09:06:23.209Z] The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. [2020-09-17T09:06:23.209Z] The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } [2020-09-17T09:06:23.224Z] $ docker stop --time=1 cc546b0b1d22f37f170b27f1480e73df3cd1fd906eb2dbcfbdd9ce5ce47105a2 [2020-09-17T09:06:25.968Z] $ docker rm -f cc546b0b1d22f37f170b27f1480e73df3cd1fd906eb2dbcfbdd9ce5ce47105a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:06:27.399Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T09:06:27.400Z] [2020-09-17T09:06:27.400Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:06:27.767Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T09:06:27.767Z] latest: Pulling from edgex-devops/edgex-klar [2020-09-17T09:06:27.767Z] e7c96db7181b: Pulling fs layer [2020-09-17T09:06:27.767Z] 1868ca2cb446: Pulling fs layer [2020-09-17T09:06:27.767Z] 136be5d0fe8e: Pulling fs layer [2020-09-17T09:06:27.767Z] 894bfe63afcb: Pulling fs layer [2020-09-17T09:06:27.767Z] 894bfe63afcb: Waiting [2020-09-17T09:06:27.767Z] 1868ca2cb446: Verifying Checksum [2020-09-17T09:06:27.767Z] 1868ca2cb446: Download complete [2020-09-17T09:06:27.767Z] 136be5d0fe8e: Verifying Checksum [2020-09-17T09:06:27.767Z] 136be5d0fe8e: Download complete [2020-09-17T09:06:27.767Z] e7c96db7181b: Verifying Checksum [2020-09-17T09:06:27.767Z] e7c96db7181b: Download complete [2020-09-17T09:06:28.044Z] 894bfe63afcb: Verifying Checksum [2020-09-17T09:06:28.044Z] 894bfe63afcb: Download complete [2020-09-17T09:06:28.312Z] e7c96db7181b: Pull complete [2020-09-17T09:06:28.312Z] 1868ca2cb446: Pull complete [2020-09-17T09:06:28.575Z] 136be5d0fe8e: Pull complete [2020-09-17T09:06:28.575Z] 894bfe63afcb: Pull complete [2020-09-17T09:06:28.839Z] Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 [2020-09-17T09:06:28.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T09:06:28.839Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer [2020-09-17T09:06:28.942Z] prd-centos7-docker-4c-2g-168 does not seem to be running inside a container [2020-09-17T09:06:28.996Z] $ 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 [2020-09-17T09:06:30.375Z] $ docker top b9c1816216eac0c2c74315453785710edcdea49d41f785c3f96be8e7298a91f7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-17T09:06:30.944Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:ba13f39da15fded8dc9ca6171c9bf6786df660a0 [2020-09-17T09:06:30.945Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-17T09:06:35.419Z] $ docker stop --time=1 b9c1816216eac0c2c74315453785710edcdea49d41f785c3f96be8e7298a91f7 [2020-09-17T09:06:36.776Z] $ docker rm -f b9c1816216eac0c2c74315453785710edcdea49d41f785c3f96be8e7298a91f7 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:06:37.304Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T09:06:37.305Z] . [Pipeline] withDockerContainer [2020-09-17T09:06:37.399Z] prd-centos7-docker-4c-2g-168 does not seem to be running inside a container [2020-09-17T09:06:37.448Z] $ 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 [2020-09-17T09:06:38.018Z] $ docker top 2c4c48362bdc1c6dfd41d16a724443d214a3fc47be39dc720ece51f2a037e62c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-17T09:06:38.544Z] + /klar+ nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:ba13f39da15fded8dc9ca6171c9bf6786df660a0tee [2020-09-17T09:06:38.544Z] [2020-09-17T09:06:38.544Z] clair timeout 1m0s [2020-09-17T09:06:38.544Z] docker timeout: 1m0s [2020-09-17T09:06:38.544Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-17T09:06:39.249Z] $ docker stop --time=1 2c4c48362bdc1c6dfd41d16a724443d214a3fc47be39dc720ece51f2a037e62c [2020-09-17T09:06:40.593Z] $ docker rm -f 2c4c48362bdc1c6dfd41d16a724443d214a3fc47be39dc720ece51f2a037e62c [Pipeline] // withDockerContainer [Pipeline] sh [2020-09-17T09:06:41.113Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/clair-reports [Pipeline] echo [2020-09-17T09:06:41.130Z] 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 [2020-09-17T09:06:41.197Z] Archiving artifacts [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:06:41.562Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T09:06:41.562Z] . [Pipeline] withDockerContainer [2020-09-17T09:06:41.655Z] prd-centos7-docker-4c-2g-168 does not seem to be running inside a container [2020-09-17T09:06:41.708Z] $ 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 [2020-09-17T09:06:42.394Z] $ docker top 049e372e8dd2f89ebf8ae11c0339dffbe1bb2949e409bcf441025173013c313c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-17T09:06:43.066Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:ba13f39da15fded8dc9ca6171c9bf6786df660a0 [2020-09-17T09:06:43.066Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-17T09:06:46.603Z] $ docker stop --time=1 049e372e8dd2f89ebf8ae11c0339dffbe1bb2949e409bcf441025173013c313c [2020-09-17T09:06:47.923Z] $ docker rm -f 049e372e8dd2f89ebf8ae11c0339dffbe1bb2949e409bcf441025173013c313c [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:06:48.390Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-17T09:06:48.390Z] . [Pipeline] withDockerContainer [2020-09-17T09:06:48.482Z] prd-centos7-docker-4c-2g-168 does not seem to be running inside a container [2020-09-17T09:06:48.535Z] $ 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 [2020-09-17T09:06:49.086Z] $ docker top fdb9224ff559e685c2212886a2e3cf36a35a507de29a385b059e4b4b2a61ffe1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-17T09:06:49.674Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:ba13f39da15fded8dc9ca6171c9bf6786df660a0 [2020-09-17T09:06:49.674Z] + tee [2020-09-17T09:06:49.674Z] clair timeout 1m0s [2020-09-17T09:06:49.674Z] docker timeout: 1m0s [2020-09-17T09:06:49.674Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-17T09:06:50.398Z] $ docker stop --time=1 fdb9224ff559e685c2212886a2e3cf36a35a507de29a385b059e4b4b2a61ffe1 [2020-09-17T09:06:51.708Z] $ docker rm -f fdb9224ff559e685c2212886a2e3cf36a35a507de29a385b059e4b4b2a61ffe1 [Pipeline] // withDockerContainer [Pipeline] sh [2020-09-17T09:06:52.182Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/clair-reports [Pipeline] echo [2020-09-17T09:06:52.200Z] 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 [2020-09-17T09:06:52.273Z] 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 [2020-09-17T09:06:53.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T09:06:53.370Z] . [Pipeline] withDockerContainer [2020-09-17T09:06:53.468Z] prd-centos7-docker-4c-2g-168 does not seem to be running inside a container [2020-09-17T09:06:53.515Z] $ 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 [2020-09-17T09:06:54.114Z] $ docker top fa3231432eb2d4e10074a760eb8ea170fc2cd0b9cc08cded4fb6cb86516ed7d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T09:06:54.441Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T09:06:54.441Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T09:06:54.618Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T09:06:54.624Z] $ docker exec fa3231432eb2d4e10074a760eb8ea170fc2cd0b9cc08cded4fb6cb86516ed7d1 ssh-agent [2020-09-17T09:06:54.768Z] SSH_AUTH_SOCK=/tmp/ssh-ojDmXzRcjzO7/agent.12 [2020-09-17T09:06:54.768Z] SSH_AGENT_PID=17 [2020-09-17T09:06:54.777Z] Running ssh-add (command line suppressed) [2020-09-17T09:06:54.900Z] 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) [2020-09-17T09:06:54.949Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T09:06:55.296Z] + git semver tag [2020-09-17T09:06:55.296Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T09:06:55.296Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2020-09-17T09:06:55.296Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2020-09-17T09:06:55.296Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T09:06:55.296Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T09:06:55.296Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T09:06:55.296Z] # $SEMVER_BRANCH = master [2020-09-17T09:06:55.296Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2020-09-17T09:06:55.296Z] # ba13f39da15fded8dc9ca6171c9bf6786df660a0 HEAD [2020-09-17T09:06:55.296Z] # -> Force: false [2020-09-17T09:06:55.296Z] # 099bc31cf4251b06d3bff8ce0081ac278292c99d refs/tags/v1.2.3-dev.4 [Pipeline] } [2020-09-17T09:06:55.312Z] $ docker exec --env ******** --env ******** fa3231432eb2d4e10074a760eb8ea170fc2cd0b9cc08cded4fb6cb86516ed7d1 ssh-agent -k [2020-09-17T09:06:55.416Z] unset SSH_AUTH_SOCK; [2020-09-17T09:06:55.416Z] unset SSH_AGENT_PID; [2020-09-17T09:06:55.416Z] echo Agent pid 17 killed; [2020-09-17T09:06:55.461Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T09:06:56.012Z] + git semver [Pipeline] } [2020-09-17T09:06:56.034Z] $ docker stop --time=1 fa3231432eb2d4e10074a760eb8ea170fc2cd0b9cc08cded4fb6cb86516ed7d1 [2020-09-17T09:06:57.352Z] $ docker rm -f fa3231432eb2d4e10074a760eb8ea170fc2cd0b9cc08cded4fb6cb86516ed7d1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:06:58.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-17T09:06:58.016Z] [2020-09-17T09:06:58.016Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:06:58.379Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-17T09:06:58.379Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-09-17T09:06:58.379Z] ab5ef0e58194: Pulling fs layer [2020-09-17T09:06:58.379Z] 9712f1f96733: Pulling fs layer [2020-09-17T09:06:58.379Z] 63f879dbbcfc: Pulling fs layer [2020-09-17T09:06:58.379Z] 0d9ebad4ef96: Pulling fs layer [2020-09-17T09:06:58.379Z] e9a5061849ea: Pulling fs layer [2020-09-17T09:06:58.379Z] d747dcd14b5f: Pulling fs layer [2020-09-17T09:06:58.379Z] 2de7ff778b66: Pulling fs layer [2020-09-17T09:06:58.379Z] e9a5061849ea: Waiting [2020-09-17T09:06:58.379Z] d747dcd14b5f: Waiting [2020-09-17T09:06:58.379Z] 2de7ff778b66: Waiting [2020-09-17T09:06:58.379Z] 0d9ebad4ef96: Waiting [2020-09-17T09:06:58.379Z] 9712f1f96733: Verifying Checksum [2020-09-17T09:06:58.379Z] 9712f1f96733: Download complete [2020-09-17T09:06:59.790Z] 63f879dbbcfc: Verifying Checksum [2020-09-17T09:06:59.790Z] 63f879dbbcfc: Download complete [2020-09-17T09:07:00.067Z] e9a5061849ea: Verifying Checksum [2020-09-17T09:07:00.067Z] e9a5061849ea: Download complete [2020-09-17T09:07:00.067Z] d747dcd14b5f: Verifying Checksum [2020-09-17T09:07:00.067Z] d747dcd14b5f: Download complete [2020-09-17T09:07:00.663Z] 2de7ff778b66: Verifying Checksum [2020-09-17T09:07:00.663Z] 2de7ff778b66: Download complete [2020-09-17T09:07:00.663Z] ab5ef0e58194: Verifying Checksum [2020-09-17T09:07:00.663Z] ab5ef0e58194: Download complete [2020-09-17T09:07:00.928Z] 0d9ebad4ef96: Verifying Checksum [2020-09-17T09:07:00.928Z] 0d9ebad4ef96: Download complete [2020-09-17T09:07:05.205Z] ab5ef0e58194: Pull complete [2020-09-17T09:07:05.205Z] 9712f1f96733: Pull complete [2020-09-17T09:07:07.816Z] 63f879dbbcfc: Pull complete [2020-09-17T09:07:13.164Z] 0d9ebad4ef96: Pull complete [2020-09-17T09:07:15.111Z] e9a5061849ea: Pull complete [2020-09-17T09:07:15.111Z] d747dcd14b5f: Pull complete [2020-09-17T09:07:19.376Z] 2de7ff778b66: Pull complete [2020-09-17T09:07:19.376Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-09-17T09:07:19.376Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-09-17T09:07:19.376Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-09-17T09:07:19.554Z] prd-centos7-docker-4c-2g-168 does not seem to be running inside a container [2020-09-17T09:07:19.611Z] $ 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 [2020-09-17T09:07:22.098Z] $ docker top f8263946f01b3b76bd56d364973e33915c712332ed0bb8f23142e9a43c060306 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-09-17T09:07:22.316Z] provisioning config files... [2020-09-17T09:07:22.332Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config5482228764827893394tmp [2020-09-17T09:07:22.352Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config9170048354726725751tmp [2020-09-17T09:07:22.369Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2643208897976735077tmp [Pipeline] { [Pipeline] echo [2020-09-17T09:07:22.462Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T09:07:22.767Z] ---> sigul-configuration.sh [2020-09-17T09:07:22.767Z] gpg: directory `/root/.gnupg' created [2020-09-17T09:07:22.767Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-09-17T09:07:22.767Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-09-17T09:07:22.767Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-09-17T09:07:22.767Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-09-17T09:07:22.767Z] gpg: CAST5 encrypted data [2020-09-17T09:07:23.035Z] gpg: encrypted with 1 passphrase [2020-09-17T09:07:23.035Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-09-17T09:07:23.342Z] + mkdir /home/jenkins [2020-09-17T09:07:23.342Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-09-17T09:07:23.647Z] + 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 [2020-09-17T09:07:23.658Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T09:07:23.962Z] ---> sigul-install.sh [2020-09-17T09:07:29.292Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-09-17T09:07:29.731Z] + git tag --list [2020-09-17T09:07:29.732Z] v1.2.3-dev.4 [Pipeline] sh [2020-09-17T09:07:30.239Z] + lftools sign git-tag v1.2.3-dev.4 [2020-09-17T09:07:31.196Z] Signing Git tag with Sigul... [2020-09-17T09:07:31.196Z] Signing v1.2.3-dev.4 [Pipeline] echo [2020-09-17T09:07:32.604Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T09:07:32.918Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-09-17T09:07:32.929Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-09-17T09:07:33.070Z] $ docker stop --time=1 f8263946f01b3b76bd56d364973e33915c712332ed0bb8f23142e9a43c060306 [2020-09-17T09:07:35.010Z] $ docker rm -f f8263946f01b3b76bd56d364973e33915c712332ed0bb8f23142e9a43c060306 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:07:35.929Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T09:07:35.929Z] . [Pipeline] withDockerContainer [2020-09-17T09:07:36.032Z] prd-centos7-docker-4c-2g-168 does not seem to be running inside a container [2020-09-17T09:07:36.098Z] $ 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 [2020-09-17T09:07:36.703Z] $ docker top 0ca7a7c6fbd3def441fcc85399b8c5cba09797a19bd9234c92c75d832346af89 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T09:07:37.029Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T09:07:37.029Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T09:07:37.199Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T09:07:37.204Z] $ docker exec 0ca7a7c6fbd3def441fcc85399b8c5cba09797a19bd9234c92c75d832346af89 ssh-agent [2020-09-17T09:07:37.361Z] SSH_AUTH_SOCK=/tmp/ssh-X8BoKESJyjeO/agent.11 [2020-09-17T09:07:37.361Z] SSH_AGENT_PID=16 [2020-09-17T09:07:37.370Z] Running ssh-add (command line suppressed) [2020-09-17T09:07:37.484Z] 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) [2020-09-17T09:07:37.533Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T09:07:37.869Z] + git semver bump pre [2020-09-17T09:07:37.869Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T09:07:37.869Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2020-09-17T09:07:37.869Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2020-09-17T09:07:37.869Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T09:07:37.869Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T09:07:37.869Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T09:07:37.869Z] # $SEMVER_BRANCH = master [2020-09-17T09:07:37.869Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2020-09-17T09:07:37.869Z] 1.2.3-dev.5 [Pipeline] } [2020-09-17T09:07:37.883Z] $ docker exec --env ******** --env ******** 0ca7a7c6fbd3def441fcc85399b8c5cba09797a19bd9234c92c75d832346af89 ssh-agent -k [2020-09-17T09:07:37.989Z] unset SSH_AUTH_SOCK; [2020-09-17T09:07:37.989Z] unset SSH_AGENT_PID; [2020-09-17T09:07:37.989Z] echo Agent pid 16 killed; [2020-09-17T09:07:38.032Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T09:07:38.563Z] + git semver [Pipeline] } [2020-09-17T09:07:38.586Z] $ docker stop --time=1 0ca7a7c6fbd3def441fcc85399b8c5cba09797a19bd9234c92c75d832346af89 [2020-09-17T09:07:39.908Z] $ docker rm -f 0ca7a7c6fbd3def441fcc85399b8c5cba09797a19bd9234c92c75d832346af89 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:07:40.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T09:07:40.528Z] . [Pipeline] withDockerContainer [2020-09-17T09:07:40.634Z] prd-centos7-docker-4c-2g-168 does not seem to be running inside a container [2020-09-17T09:07:40.689Z] $ 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 [2020-09-17T09:07:41.229Z] $ docker top e38bb4b29678e30a72bcbc4c59dfbe370bd612868632db00fd0d694ef05c6a3a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T09:07:41.575Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T09:07:41.576Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T09:07:41.744Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T09:07:41.749Z] $ docker exec e38bb4b29678e30a72bcbc4c59dfbe370bd612868632db00fd0d694ef05c6a3a ssh-agent [2020-09-17T09:07:41.902Z] SSH_AUTH_SOCK=/tmp/ssh-FnXm2kWZMveN/agent.13 [2020-09-17T09:07:41.902Z] SSH_AGENT_PID=18 [2020-09-17T09:07:41.912Z] Running ssh-add (command line suppressed) [2020-09-17T09:07:42.022Z] 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) [2020-09-17T09:07:42.070Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T09:07:42.430Z] + git semver push [2020-09-17T09:07:42.430Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T09:07:42.430Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2020-09-17T09:07:42.430Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2020-09-17T09:07:42.430Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T09:07:42.430Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T09:07:42.430Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T09:07:42.430Z] # $SEMVER_BRANCH = master [2020-09-17T09:07:42.430Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2020-09-17T09:07:49.058Z] $ docker exec --env ******** --env ******** e38bb4b29678e30a72bcbc4c59dfbe370bd612868632db00fd0d694ef05c6a3a ssh-agent -k [2020-09-17T09:07:49.166Z] unset SSH_AUTH_SOCK; [2020-09-17T09:07:49.166Z] unset SSH_AGENT_PID; [2020-09-17T09:07:49.166Z] echo Agent pid 18 killed; [2020-09-17T09:07:49.213Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T09:07:49.737Z] + git semver [Pipeline] } [2020-09-17T09:07:49.757Z] $ docker stop --time=1 e38bb4b29678e30a72bcbc4c59dfbe370bd612868632db00fd0d694ef05c6a3a [2020-09-17T09:07:51.086Z] $ 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 [2020-09-17T09:07:52.710Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T09:07:53.285Z] ---> package-listing.sh [2020-09-17T09:07:53.285Z] ++ facter osfamily [2020-09-17T09:07:53.285Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-17T09:07:53.285Z] + OS_FAMILY=redhat [2020-09-17T09:07:53.285Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_master [2020-09-17T09:07:53.285Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-17T09:07:53.285Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-17T09:07:53.285Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-17T09:07:53.285Z] + PACKAGES=/tmp/packages_start.txt [2020-09-17T09:07:53.285Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2020-09-17T09:07:53.285Z] + PACKAGES=/tmp/packages_end.txt [2020-09-17T09:07:53.285Z] + case "${OS_FAMILY}" in [2020-09-17T09:07:53.285Z] + rpm -qa [2020-09-17T09:07:53.285Z] + sort [2020-09-17T09:07:57.527Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-17T09:07:57.527Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-17T09:07:57.527Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-17T09:07:57.527Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2020-09-17T09:07:57.527Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [2020-09-17T09:07:57.527Z] + 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 [2020-09-17T09:07:58.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T09:07:58.061Z] [2020-09-17T09:07:58.061Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-17T09:07:58.408Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T09:07:58.408Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-17T09:07:58.408Z] df20fa9351a1: Pulling fs layer [2020-09-17T09:07:58.408Z] 36b3adc4ff6f: Pulling fs layer [2020-09-17T09:07:58.408Z] 8ad3a11d3b57: Pulling fs layer [2020-09-17T09:07:58.408Z] 46f8f816bc3b: Pulling fs layer [2020-09-17T09:07:58.408Z] 0dadc02b9964: Pulling fs layer [2020-09-17T09:07:58.408Z] ce6a7cf60c04: Pulling fs layer [2020-09-17T09:07:58.408Z] 7a184a31f384: Pulling fs layer [2020-09-17T09:07:58.408Z] 0879bd2ef858: Pulling fs layer [2020-09-17T09:07:58.408Z] ce6a7cf60c04: Waiting [2020-09-17T09:07:58.408Z] 7a184a31f384: Waiting [2020-09-17T09:07:58.408Z] 0879bd2ef858: Waiting [2020-09-17T09:07:58.408Z] 46f8f816bc3b: Waiting [2020-09-17T09:07:58.408Z] 0dadc02b9964: Waiting [2020-09-17T09:07:58.408Z] 36b3adc4ff6f: Download complete [2020-09-17T09:07:58.408Z] 46f8f816bc3b: Download complete [2020-09-17T09:07:58.408Z] df20fa9351a1: Download complete [2020-09-17T09:07:58.673Z] ce6a7cf60c04: Verifying Checksum [2020-09-17T09:07:58.673Z] ce6a7cf60c04: Download complete [2020-09-17T09:07:58.673Z] 7a184a31f384: Verifying Checksum [2020-09-17T09:07:58.673Z] 7a184a31f384: Download complete [2020-09-17T09:07:58.673Z] 0dadc02b9964: Verifying Checksum [2020-09-17T09:07:58.673Z] 0dadc02b9964: Download complete [2020-09-17T09:07:58.935Z] 8ad3a11d3b57: Verifying Checksum [2020-09-17T09:07:58.935Z] 8ad3a11d3b57: Download complete [2020-09-17T09:07:59.209Z] df20fa9351a1: Pull complete [2020-09-17T09:07:59.209Z] 0879bd2ef858: Verifying Checksum [2020-09-17T09:07:59.209Z] 0879bd2ef858: Download complete [2020-09-17T09:07:59.209Z] 36b3adc4ff6f: Pull complete [2020-09-17T09:07:59.790Z] 8ad3a11d3b57: Pull complete [2020-09-17T09:08:00.054Z] 46f8f816bc3b: Pull complete [2020-09-17T09:08:00.054Z] 0dadc02b9964: Pull complete [2020-09-17T09:08:00.317Z] ce6a7cf60c04: Pull complete [2020-09-17T09:08:00.317Z] 7a184a31f384: Pull complete [2020-09-17T09:08:03.679Z] 0879bd2ef858: Pull complete [2020-09-17T09:08:03.679Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-17T09:08:03.679Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T09:08:03.679Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-17T09:08:03.842Z] prd-centos7-docker-4c-2g-168 does not seem to be running inside a container [2020-09-17T09:08:03.893Z] $ 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 [2020-09-17T09:08:07.163Z] $ docker top 7c09a60a951a520e57c4d07771456a9f20790d4c285f89fee4e3b85441fc3e06 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T09:08:07.668Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-17T09:08:07.978Z] + ls /var/log/sa-host [2020-09-17T09:08:07.978Z] + sadf -c /var/log/sa-host/sa05 [2020-09-17T09:08:07.978Z] file_magic: OK [2020-09-17T09:08:07.978Z] HZ: Using current value: 100 [2020-09-17T09:08:07.978Z] file_header: OK [2020-09-17T09:08:07.979Z] 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 [2020-09-17T09:08:07.979Z] Statistics: [2020-09-17T09:08:07.979Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T09:08:07.979Z] File successfully converted to sysstat format version 12.2.1 [2020-09-17T09:08:07.979Z] + sadf -c /var/log/sa-host/sa17 [2020-09-17T09:08:07.979Z] file_magic: OK [2020-09-17T09:08:07.979Z] HZ: Using current value: 100 [2020-09-17T09:08:07.979Z] file_header: OK [2020-09-17T09:08:07.979Z] 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 [2020-09-17T09:08:07.979Z] Statistics: [2020-09-17T09:08:07.979Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T09:08:07.979Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-17T09:08:08.054Z] provisioning config files... [2020-09-17T09:08:08.073Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config8050110122966368754tmp [Pipeline] { [Pipeline] echo [2020-09-17T09:08:08.156Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T09:08:08.460Z] ---> create-netrc.sh [Pipeline] echo [2020-09-17T09:08:08.471Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T09:08:08.769Z] ---> logs-deploy.sh [2020-09-17T09:08:08.769Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/18 [2020-09-17T09:08:08.769Z] INFO: archiving workspace using pattern(s): [2020-09-17T09:08:10.180Z] Archives upload complete. [2020-09-17T09:08:10.180Z] INFO: archiving logs to Nexus