Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f5de971355c2828ff055b6ba79681098725335d7 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-mqtt-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1000 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision f5de971355c2828ff055b6ba79681098725335d7 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f f5de971355c2828ff055b6ba79681098725335d7 # timeout=10 Commit message: "Merge pull request #221 from soda480/US149" > git rev-list --no-walk 2de84ed3a33e57cbb484e8c5506a067ab9af376b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-19T22:35:21.199Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-19T22:35:21.294Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-19T22:35:21.325Z] ========================================================= [2021-04-19T22:35:21.326Z] EdgeX Global Pipelines Version Info [2021-04-19T22:35:21.326Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:35:22.796Z] ------------------- [2021-04-19T22:35:22.796Z] stable info: [2021-04-19T22:35:22.796Z] ------------------- [2021-04-19T22:35:22.796Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-19T22:35:22.796Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-19T22:35:22.796Z] Message: update stable to v1.0.186 [2021-04-19T22:35:23.740Z] ------------------- [2021-04-19T22:35:23.740Z] experimental info: [2021-04-19T22:35:23.740Z] ------------------- [2021-04-19T22:35:23.740Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-19T22:35:23.740Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-19T22:35:23.740Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-19T22:35:23.914Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-04-19T22:35:23.939Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-04-19T22:35:23.963Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-19T22:35:23.987Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-19T22:35:24.010Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-19T22:35:24.031Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-19T22:35:24.057Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-19T22:35:24.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-19T22:35:24.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-19T22:35:24.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-19T22:35:24.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-19T22:35:24.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2021-04-19T22:35:24.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-19T22:35:24.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-19T22:35:24.274Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T22:35:24.309Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T22:35:24.334Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T22:35:24.357Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T22:35:24.378Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-19T22:35:24.400Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-04-19T22:35:24.423Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-04-19T22:35:24.447Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-04-19T22:35:24.469Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-19T22:35:24.491Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-19T22:35:24.513Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-19T22:35:24.544Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-19T22:35:24.568Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-04-19T22:35:24.618Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-04-19T22:35:24.642Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-04-19T22:35:24.664Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f5de971355c2828ff055b6ba79681098725335d7 [Pipeline] echo [2021-04-19T22:35:24.686Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f5de971 [Pipeline] echo [2021-04-19T22:35:24.709Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:35:24.781Z] provisioning config files... [2021-04-19T22:35:24.831Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7339793779135605898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:35:25.152Z] ---> docker-login.sh [2021-04-19T22:35:25.152Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:35:25.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:35:25.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:35:25.676Z] Configure a credential helper to remove this warning. See [2021-04-19T22:35:25.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:35:25.676Z] [2021-04-19T22:35:25.676Z] Login Succeeded [2021-04-19T22:35:25.676Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:35:25.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:35:25.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:35:25.676Z] Configure a credential helper to remove this warning. See [2021-04-19T22:35:25.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:35:25.676Z] [2021-04-19T22:35:25.676Z] Login Succeeded [2021-04-19T22:35:25.676Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:35:25.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:35:25.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:35:25.937Z] Configure a credential helper to remove this warning. See [2021-04-19T22:35:25.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:35:25.937Z] [2021-04-19T22:35:25.937Z] Login Succeeded [2021-04-19T22:35:25.937Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:35:25.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:35:26.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:35:26.200Z] Configure a credential helper to remove this warning. See [2021-04-19T22:35:26.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:35:26.200Z] [2021-04-19T22:35:26.200Z] Login Succeeded [2021-04-19T22:35:26.200Z] docker.io [2021-04-19T22:35:26.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:35:26.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:35:26.462Z] Configure a credential helper to remove this warning. See [2021-04-19T22:35:26.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:35:26.462Z] [2021-04-19T22:35:26.462Z] Login Succeeded [2021-04-19T22:35:26.462Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:35:26.471Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T22:35:26.920Z] + git log --format=format:%s -1 f5de971355c2828ff055b6ba79681098725335d7 [Pipeline] echo [2021-04-19T22:35:27.014Z] GIT_COMMIT: f5de971355c2828ff055b6ba79681098725335d7, Commit Message: Merge pull request #221 from soda480/US149 [Pipeline] echo [2021-04-19T22:35:27.029Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:35:27.776Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:35:27.776Z] [2021-04-19T22:35:27.776Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:35:28.110Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:35:28.110Z] latest: Pulling from edgex-devops/git-semver [2021-04-19T22:35:28.110Z] 31603596830f: Pulling fs layer [2021-04-19T22:35:28.110Z] 2a8b12db71e7: Pulling fs layer [2021-04-19T22:35:28.110Z] 6ca5941a6612: Pulling fs layer [2021-04-19T22:35:28.110Z] ecc8261a40a4: Pulling fs layer [2021-04-19T22:35:28.110Z] ecc8261a40a4: Waiting [2021-04-19T22:35:28.110Z] 2a8b12db71e7: Download complete [2021-04-19T22:35:28.110Z] 31603596830f: Verifying Checksum [2021-04-19T22:35:28.110Z] 31603596830f: Download complete [2021-04-19T22:35:28.374Z] ecc8261a40a4: Verifying Checksum [2021-04-19T22:35:28.374Z] ecc8261a40a4: Download complete [2021-04-19T22:35:28.374Z] 6ca5941a6612: Verifying Checksum [2021-04-19T22:35:28.374Z] 6ca5941a6612: Download complete [2021-04-19T22:35:28.636Z] 31603596830f: Pull complete [2021-04-19T22:35:28.636Z] 2a8b12db71e7: Pull complete [2021-04-19T22:35:29.580Z] 6ca5941a6612: Pull complete [2021-04-19T22:35:29.842Z] ecc8261a40a4: Pull complete [2021-04-19T22:35:29.842Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-19T22:35:29.842Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:35:29.842Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-19T22:35:29.945Z] prd-centos7-docker-4c-2g-1000 does not seem to be running inside a container [2021-04-19T22:35:29.994Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-19T22:35:31.762Z] $ docker top 3328e43cd16e93c5b2a6fcc531ffbad73608ad256b5adfb9c0d589bf06632153 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T22:35:31.912Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T22:35:31.912Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T22:35:32.125Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T22:35:32.128Z] $ docker exec 3328e43cd16e93c5b2a6fcc531ffbad73608ad256b5adfb9c0d589bf06632153 ssh-agent [2021-04-19T22:35:32.295Z] SSH_AUTH_SOCK=/tmp/ssh-0lZ1hiDtnDEH/agent.12 [2021-04-19T22:35:32.295Z] SSH_AGENT_PID=17 [2021-04-19T22:35:32.305Z] Running ssh-add (command line suppressed) [2021-04-19T22:35:32.433Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_636865252428907936.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_636865252428907936.key) [2021-04-19T22:35:32.483Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:35:32.810Z] + git tag --points-at HEAD [Pipeline] } [2021-04-19T22:35:32.829Z] $ docker exec --env ******** --env ******** 3328e43cd16e93c5b2a6fcc531ffbad73608ad256b5adfb9c0d589bf06632153 ssh-agent -k [2021-04-19T22:35:32.941Z] unset SSH_AUTH_SOCK; [2021-04-19T22:35:32.941Z] unset SSH_AGENT_PID; [2021-04-19T22:35:32.941Z] echo Agent pid 17 killed; [2021-04-19T22:35:32.993Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-19T22:35:33.037Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T22:35:33.037Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T22:35:33.211Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T22:35:33.215Z] $ docker exec 3328e43cd16e93c5b2a6fcc531ffbad73608ad256b5adfb9c0d589bf06632153 ssh-agent [2021-04-19T22:35:33.384Z] SSH_AUTH_SOCK=/tmp/ssh-0desk6uijHvP/agent.46 [2021-04-19T22:35:33.384Z] SSH_AGENT_PID=51 [2021-04-19T22:35:33.390Z] Running ssh-add (command line suppressed) [2021-04-19T22:35:33.507Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8887295905580868429.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8887295905580868429.key) [2021-04-19T22:35:33.562Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:35:33.863Z] + git semver init [2021-04-19T22:35:33.863Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T22:35:33.863Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-04-19T22:35:33.863Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-04-19T22:35:33.863Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T22:35:33.863Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T22:35:33.863Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T22:35:33.863Z] # $SEMVER_BRANCH = master [2021-04-19T22:35:33.863Z] # $SEMVER_TEMP = /tmp/semver-505362006 [2021-04-19T22:35:33.863Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-04-19T22:35:34.437Z] # '/tmp/semver-505362006' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' [2021-04-19T22:35:34.437Z] # -> Force: false [2021-04-19T22:35:34.437Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-04-19T22:35:34.449Z] $ docker exec --env ******** --env ******** 3328e43cd16e93c5b2a6fcc531ffbad73608ad256b5adfb9c0d589bf06632153 ssh-agent -k [2021-04-19T22:35:34.567Z] unset SSH_AUTH_SOCK; [2021-04-19T22:35:34.567Z] unset SSH_AGENT_PID; [2021-04-19T22:35:34.567Z] echo Agent pid 51 killed; [2021-04-19T22:35:34.621Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T22:35:34.971Z] + git semver [Pipeline] } [2021-04-19T22:35:34.992Z] $ docker stop --time=1 3328e43cd16e93c5b2a6fcc531ffbad73608ad256b5adfb9c0d589bf06632153 [2021-04-19T22:35:36.340Z] $ docker rm -f 3328e43cd16e93c5b2a6fcc531ffbad73608ad256b5adfb9c0d589bf06632153 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T22:35:36.730Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-19T22:35:37.041Z] Stashed 1 file(s) [Pipeline] echo [2021-04-19T22:35:37.045Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.7 [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 [2021-04-19T22:35:52.230Z] Still waiting to schedule task [2021-04-19T22:35:52.231Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1000’ [2021-04-19T22:35:52.233Z] Still waiting to schedule task [2021-04-19T22:35:52.233Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-19T22:37:37.118Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1001 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-04-19T22:37:37.137Z] Running in /w/workspace/device-mqtt-go/38 [Pipeline] { [Pipeline] checkout [2021-04-19T22:37:42.748Z] using credential edgex-jenkins-ssh [2021-04-19T22:37:42.771Z] Cloning the remote Git repository [2021-04-19T22:37:42.822Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-04-19T22:37:42.925Z] > git init /w/workspace/device-mqtt-go/38 # timeout=10 [2021-04-19T22:37:43.018Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-04-19T22:37:43.019Z] > git --version # timeout=10 [2021-04-19T22:37:43.044Z] > git --version # 'git version 2.17.1' [2021-04-19T22:37:43.046Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:37:43.100Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:37:44.480Z] Checking out Revision f5de971355c2828ff055b6ba79681098725335d7 (master) [2021-04-19T22:37:43.935Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-04-19T22:37:43.958Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:37:43.992Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-04-19T22:37:44.033Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-04-19T22:37:44.034Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:37:44.045Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T22:37:44.504Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T22:37:44.519Z] > git checkout -f f5de971355c2828ff055b6ba79681098725335d7 # timeout=10 [2021-04-19T22:37:48.713Z] Commit message: "Merge pull request #221 from soda480/US149" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T22:37:50.081Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:37:50.490Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:37:50.837Z] + sudo service docker restart [2021-04-19T22:37:50.838Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:37:52.865Z] provisioning config files... [2021-04-19T22:37:52.922Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/38@tmp/config8946785425723857270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:37:53.298Z] ---> docker-login.sh [2021-04-19T22:37:53.298Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:37:54.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:37:54.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:37:54.563Z] Configure a credential helper to remove this warning. See [2021-04-19T22:37:54.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:37:54.563Z] [2021-04-19T22:37:54.563Z] Login Succeeded [2021-04-19T22:37:54.563Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:37:54.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:37:55.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:37:55.114Z] Configure a credential helper to remove this warning. See [2021-04-19T22:37:55.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:37:55.114Z] [2021-04-19T22:37:55.114Z] Login Succeeded [2021-04-19T22:37:55.114Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:37:55.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:37:55.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:37:55.665Z] Configure a credential helper to remove this warning. See [2021-04-19T22:37:55.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:37:55.665Z] [2021-04-19T22:37:55.665Z] Login Succeeded [2021-04-19T22:37:55.665Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:37:55.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:37:56.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:37:56.223Z] Configure a credential helper to remove this warning. See [2021-04-19T22:37:56.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:37:56.223Z] [2021-04-19T22:37:56.223Z] Login Succeeded [2021-04-19T22:37:56.223Z] docker.io [2021-04-19T22:37:56.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:37:57.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:37:57.096Z] Configure a credential helper to remove this warning. See [2021-04-19T22:37:57.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:37:57.096Z] [2021-04-19T22:37:57.096Z] Login Succeeded [2021-04-19T22:37:57.096Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:37:57.114Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T22:37:57.429Z] ========================================================= [2021-04-19T22:37:57.429Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-19T22:37:57.429Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:37:57.778Z] + 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 . [2021-04-19T22:37:58.052Z] Sending build context to Docker daemon 536.6kB [2021-04-19T22:37:58.052Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:37:58.052Z] Step 2/8 : FROM ${BASE} [2021-04-19T22:37:58.328Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-19T22:37:58.328Z] 5f621e34cdf4: Pulling fs layer [2021-04-19T22:37:58.328Z] a4357932f1b6: Pulling fs layer [2021-04-19T22:37:58.328Z] 18c013af1878: Pulling fs layer [2021-04-19T22:37:58.328Z] 00ac8860ef70: Pulling fs layer [2021-04-19T22:37:58.328Z] 63d7cb157983: Pulling fs layer [2021-04-19T22:37:58.328Z] b116817d02f9: Pulling fs layer [2021-04-19T22:37:58.328Z] 745a02a5169b: Pulling fs layer [2021-04-19T22:37:58.328Z] 00ac8860ef70: Waiting [2021-04-19T22:37:58.328Z] b116817d02f9: Waiting [2021-04-19T22:37:58.328Z] 63d7cb157983: Waiting [2021-04-19T22:37:58.328Z] 745a02a5169b: Waiting [2021-04-19T22:37:58.328Z] 18c013af1878: Download complete [2021-04-19T22:37:58.328Z] a4357932f1b6: Verifying Checksum [2021-04-19T22:37:58.328Z] a4357932f1b6: Download complete [2021-04-19T22:37:58.328Z] 63d7cb157983: Download complete [2021-04-19T22:37:58.328Z] b116817d02f9: Verifying Checksum [2021-04-19T22:37:58.328Z] b116817d02f9: Download complete [2021-04-19T22:37:58.328Z] 5f621e34cdf4: Download complete [2021-04-19T22:37:58.927Z] 5f621e34cdf4: Pull complete [2021-04-19T22:37:59.532Z] a4357932f1b6: Pull complete [2021-04-19T22:37:59.815Z] 18c013af1878: Pull complete [2021-04-19T22:38:00.801Z] 745a02a5169b: Verifying Checksum [2021-04-19T22:38:00.801Z] 745a02a5169b: Download complete [2021-04-19T22:38:02.242Z] 00ac8860ef70: Verifying Checksum [2021-04-19T22:38:02.242Z] 00ac8860ef70: Download complete [2021-04-19T22:38:12.419Z] 00ac8860ef70: Pull complete [2021-04-19T22:38:12.703Z] 63d7cb157983: Pull complete [2021-04-19T22:38:12.976Z] b116817d02f9: Pull complete [2021-04-19T22:38:17.297Z] 745a02a5169b: Pull complete [2021-04-19T22:38:17.297Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-19T22:38:17.297Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-19T22:38:17.297Z] ---> b7e6874047d6 [2021-04-19T22:38:17.297Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-04-19T22:38:19.926Z] ---> Running in 3e865ae1808d [2021-04-19T22:38:19.926Z] Removing intermediate container 3e865ae1808d [2021-04-19T22:38:19.926Z] ---> 7f513fd56e9b [2021-04-19T22:38:19.926Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:38:19.926Z] ---> Running in 9b0e80063b13 [2021-04-19T22:38:22.610Z] Removing intermediate container 9b0e80063b13 [2021-04-19T22:38:22.610Z] ---> 3f1201820f3f [2021-04-19T22:38:22.610Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-04-19T22:38:22.610Z] ---> Running in 04c90b75802a [2021-04-19T22:38:23.599Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T22:38:24.196Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T22:38:24.794Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-04-19T22:38:25.064Z] (2/13) Installing libsodium (1.0.18-r0) [2021-04-19T22:38:25.064Z] (3/13) Installing pkgconf (1.7.2-r0) [2021-04-19T22:38:25.064Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-04-19T22:38:25.334Z] (5/13) Installing openssh-keygen (8.3_p1-r2) [2021-04-19T22:38:25.334Z] (6/13) Installing libedit (20191231.3.1-r0) [2021-04-19T22:38:25.334Z] (7/13) Installing openssh-client (8.3_p1-r2) [2021-04-19T22:38:25.602Z] (8/13) Installing openssh-sftp-server (8.3_p1-r2) [2021-04-19T22:38:25.871Z] (9/13) Installing openssh-server-common (8.3_p1-r2) [2021-04-19T22:38:25.871Z] (10/13) Installing openssh-server (8.3_p1-r2) [2021-04-19T22:38:26.459Z] (11/13) Installing openssh (8.3_p1-r2) [2021-04-19T22:38:26.459Z] (12/13) Installing libzmq (4.3.3-r0) [2021-04-19T22:38:26.730Z] (13/13) Installing zeromq-dev (4.3.3-r0) [2021-04-19T22:38:26.730Z] Executing busybox-1.31.1-r19.trigger [2021-04-19T22:38:26.730Z] OK: 149 MiB in 52 packages [2021-04-19T22:38:28.158Z] Removing intermediate container 04c90b75802a [2021-04-19T22:38:28.158Z] ---> 8938ca6d859b [2021-04-19T22:38:28.158Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-04-19T22:38:28.432Z] ---> Running in f00ee4d1e72b [2021-04-19T22:38:29.028Z] Removing intermediate container f00ee4d1e72b [2021-04-19T22:38:29.028Z] ---> de21944e7abd [2021-04-19T22:38:29.028Z] Step 7/8 : COPY . . [2021-04-19T22:38:30.009Z] ---> 63daf9046afd [2021-04-19T22:38:30.009Z] Step 8/8 : RUN go mod download [2021-04-19T22:38:30.009Z] ---> Running in af83d0acfdb0 [2021-04-19T22:38:53.401Z] Running on prd-centos7-docker-4c-2g-1004 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-04-19T22:38:53.421Z] Running in /w/workspace/device-mqtt-go/38 [Pipeline] { [Pipeline] checkout [2021-04-19T22:38:56.809Z] Removing intermediate container af83d0acfdb0 [2021-04-19T22:38:56.809Z] ---> 9f534f8a2363 [2021-04-19T22:38:56.809Z] Successfully built 9f534f8a2363 [2021-04-19T22:38:56.809Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:38:57.164Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T22:38:57.164Z] . [Pipeline] withDockerContainer [2021-04-19T22:38:57.434Z] prd-ubuntu18.04-docker-arm64-4c-16g-1001 does not seem to be running inside a container [2021-04-19T22:38:57.526Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/38 -v /w/workspace/device-mqtt-go/38:/w/workspace/device-mqtt-go/38:rw,z -v /w/workspace/device-mqtt-go/38@tmp:/w/workspace/device-mqtt-go/38@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-19T22:38:59.007Z] $ docker top d1491219889a005f7b7459ff0ab7bb54749e0542973f234c23dc0ff75890a46f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:38:59.955Z] + go version [2021-04-19T22:38:59.955Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-19T22:38:59.983Z] $ docker stop --time=1 d1491219889a005f7b7459ff0ab7bb54749e0542973f234c23dc0ff75890a46f [2021-04-19T22:39:01.867Z] $ docker rm -f d1491219889a005f7b7459ff0ab7bb54749e0542973f234c23dc0ff75890a46f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:39:02.500Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T22:39:02.500Z] . [Pipeline] withDockerContainer [2021-04-19T22:39:02.724Z] prd-ubuntu18.04-docker-arm64-4c-16g-1001 does not seem to be running inside a container [2021-04-19T22:39:02.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/38 -v /w/workspace/device-mqtt-go/38:/w/workspace/device-mqtt-go/38:rw,z -v /w/workspace/device-mqtt-go/38@tmp:/w/workspace/device-mqtt-go/38@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-19T22:39:04.230Z] $ docker top e098e2ff633e9516392e09473347cee7a4fa45c5133d5e49676ee7318bff760f -eo pid,comm [2021-04-19T22:39:04.359Z] using credential edgex-jenkins-ssh [2021-04-19T22:39:04.389Z] Cloning the remote Git repository [Pipeline] { [2021-04-19T22:39:04.484Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [Pipeline] sh [2021-04-19T22:39:05.182Z] + make test [2021-04-19T22:39:05.183Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-04-19T22:39:04.587Z] > git init /w/workspace/device-mqtt-go/38 # timeout=10 [2021-04-19T22:39:04.793Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-04-19T22:39:04.793Z] > git --version # timeout=10 [2021-04-19T22:39:04.850Z] > git --version # 'git version 2.24.3' [2021-04-19T22:39:04.853Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:39:05.035Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:39:05.924Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-04-19T22:39:06.627Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-04-19T22:39:06.789Z] Checking out Revision f5de971355c2828ff055b6ba79681098725335d7 (master) [2021-04-19T22:39:06.025Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:39:06.196Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-04-19T22:39:06.308Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-04-19T22:39:06.308Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:39:06.316Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T22:39:06.803Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T22:39:06.824Z] > git checkout -f f5de971355c2828ff055b6ba79681098725335d7 # timeout=10 [2021-04-19T22:39:10.809Z] Commit message: "Merge pull request #221 from soda480/US149" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T22:39:11.994Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:39:12.352Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:39:12.785Z] + sudo service docker restart [2021-04-19T22:39:12.786Z] + true [2021-04-19T22:39:12.786Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:39:14.901Z] provisioning config files... [2021-04-19T22:39:14.936Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/38@tmp/config7084656324810138831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:39:15.333Z] ---> docker-login.sh [2021-04-19T22:39:15.333Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:39:17.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:39:17.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:39:17.403Z] Configure a credential helper to remove this warning. See [2021-04-19T22:39:17.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:39:17.403Z] [2021-04-19T22:39:17.403Z] Login Succeeded [2021-04-19T22:39:17.403Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:39:18.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:39:18.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:39:18.386Z] Configure a credential helper to remove this warning. See [2021-04-19T22:39:18.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:39:18.386Z] [2021-04-19T22:39:18.386Z] Login Succeeded [2021-04-19T22:39:18.386Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:39:18.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:39:18.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:39:18.671Z] Configure a credential helper to remove this warning. See [2021-04-19T22:39:18.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:39:18.671Z] [2021-04-19T22:39:18.671Z] Login Succeeded [2021-04-19T22:39:18.961Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:39:18.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:39:18.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:39:18.961Z] Configure a credential helper to remove this warning. See [2021-04-19T22:39:18.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:39:18.961Z] [2021-04-19T22:39:18.961Z] Login Succeeded [2021-04-19T22:39:18.961Z] docker.io [2021-04-19T22:39:19.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:39:19.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:39:19.911Z] Configure a credential helper to remove this warning. See [2021-04-19T22:39:19.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:39:19.911Z] [2021-04-19T22:39:19.911Z] Login Succeeded [2021-04-19T22:39:19.911Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:39:19.967Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T22:39:20.410Z] ========================================================= [2021-04-19T22:39:20.410Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-19T22:39:20.410Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:39:20.771Z] + 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 . [2021-04-19T22:39:21.244Z] Sending build context to Docker daemon 537.6kB [2021-04-19T22:39:21.244Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:39:21.244Z] Step 2/8 : FROM ${BASE} [2021-04-19T22:39:21.536Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-19T22:39:21.536Z] 188c0c94c7c5: Pulling fs layer [2021-04-19T22:39:21.536Z] 0ef7d3d256c8: Pulling fs layer [2021-04-19T22:39:21.536Z] de9db76c5a1d: Pulling fs layer [2021-04-19T22:39:21.536Z] bca2f99d35d6: Pulling fs layer [2021-04-19T22:39:21.536Z] 93359f2a8cfa: Pulling fs layer [2021-04-19T22:39:21.536Z] 7c6f9722023f: Pulling fs layer [2021-04-19T22:39:21.536Z] a35cf1a2eb13: Pulling fs layer [2021-04-19T22:39:21.536Z] 93359f2a8cfa: Waiting [2021-04-19T22:39:21.536Z] 7c6f9722023f: Waiting [2021-04-19T22:39:21.536Z] a35cf1a2eb13: Waiting [2021-04-19T22:39:21.536Z] bca2f99d35d6: Waiting [2021-04-19T22:39:21.536Z] de9db76c5a1d: Verifying Checksum [2021-04-19T22:39:21.536Z] de9db76c5a1d: Download complete [2021-04-19T22:39:21.536Z] 0ef7d3d256c8: Verifying Checksum [2021-04-19T22:39:21.536Z] 0ef7d3d256c8: Download complete [2021-04-19T22:39:21.536Z] 93359f2a8cfa: Download complete [2021-04-19T22:39:21.536Z] 7c6f9722023f: Download complete [2021-04-19T22:39:21.536Z] 188c0c94c7c5: Verifying Checksum [2021-04-19T22:39:21.536Z] 188c0c94c7c5: Download complete [2021-04-19T22:39:22.148Z] 188c0c94c7c5: Pull complete [2021-04-19T22:39:22.791Z] 0ef7d3d256c8: Pull complete [2021-04-19T22:39:23.070Z] de9db76c5a1d: Pull complete [2021-04-19T22:39:24.558Z] a35cf1a2eb13: Verifying Checksum [2021-04-19T22:39:24.558Z] a35cf1a2eb13: Download complete [2021-04-19T22:39:26.551Z] bca2f99d35d6: Verifying Checksum [2021-04-19T22:39:26.551Z] bca2f99d35d6: Download complete [2021-04-19T22:39:41.950Z] bca2f99d35d6: Pull complete [2021-04-19T22:39:41.950Z] 93359f2a8cfa: Pull complete [2021-04-19T22:39:42.239Z] 7c6f9722023f: Pull complete [2021-04-19T22:39:49.205Z] a35cf1a2eb13: Pull complete [2021-04-19T22:39:49.205Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-19T22:39:49.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-19T22:39:49.205Z] ---> a62c8e92a672 [2021-04-19T22:39:49.205Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-04-19T22:39:49.495Z] ---> Running in 67d09be04397 [2021-04-19T22:39:50.137Z] Removing intermediate container 67d09be04397 [2021-04-19T22:39:50.137Z] ---> 64f3fb6582e5 [2021-04-19T22:39:50.137Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:39:50.137Z] ---> Running in a9c65969d76d [2021-04-19T22:39:52.834Z] Removing intermediate container a9c65969d76d [2021-04-19T22:39:52.834Z] ---> 6532c3d6283d [2021-04-19T22:39:52.834Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-04-19T22:39:52.834Z] ---> Running in 1c368d72d478 [2021-04-19T22:39:53.654Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-04-19T22:39:53.654Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.041s coverage: 24.9% of statements [2021-04-19T22:39:53.654Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-04-19T22:39:53.654Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-19T22:39:55.049Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T22:39:55.325Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T22:39:55.951Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-04-19T22:39:55.951Z] (2/13) Installing libsodium (1.0.18-r0) [2021-04-19T22:39:55.951Z] (3/13) Installing pkgconf (1.7.2-r0) [2021-04-19T22:39:56.224Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-04-19T22:39:56.224Z] (5/13) Installing openssh-keygen (8.3_p1-r2) [2021-04-19T22:39:56.224Z] (6/13) Installing libedit (20191231.3.1-r0) [2021-04-19T22:39:56.504Z] (7/13) Installing openssh-client (8.3_p1-r2) [2021-04-19T22:39:56.788Z] (8/13) Installing openssh-sftp-server (8.3_p1-r2) [2021-04-19T22:39:56.788Z] (9/13) Installing openssh-server-common (8.3_p1-r2) [2021-04-19T22:39:57.081Z] (10/13) Installing openssh-server (8.3_p1-r2) [2021-04-19T22:39:57.081Z] (11/13) Installing openssh (8.3_p1-r2) [2021-04-19T22:39:57.081Z] (12/13) Installing libzmq (4.3.3-r0) [2021-04-19T22:39:57.379Z] (13/13) Installing zeromq-dev (4.3.3-r0) [2021-04-19T22:39:57.379Z] Executing busybox-1.31.1-r19.trigger [2021-04-19T22:39:57.379Z] OK: 173 MiB in 52 packages [2021-04-19T22:39:58.831Z] Removing intermediate container 1c368d72d478 [2021-04-19T22:39:58.831Z] ---> cab0e2e5b4fc [2021-04-19T22:39:58.831Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-04-19T22:39:58.831Z] ---> Running in cfdfbf449896 [2021-04-19T22:39:59.473Z] Removing intermediate container cfdfbf449896 [2021-04-19T22:39:59.473Z] ---> 147cf8d9fe64 [2021-04-19T22:39:59.473Z] Step 7/8 : COPY . . [2021-04-19T22:40:00.998Z] ---> 5cdd95ab32a6 [2021-04-19T22:40:00.998Z] Step 8/8 : RUN go mod download [2021-04-19T22:40:00.998Z] ---> Running in ba71d5e5e9c1 [2021-04-19T22:40:03.829Z] gofmt -l . [2021-04-19T22:40:03.829Z] ["`gofmt -l .`" = ""] [2021-04-19T22:40:03.829Z] ./bin/test-attribution-txt.sh [2021-04-19T22:40:04.426Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-19T22:40:05.064Z] $ docker stop --time=1 e098e2ff633e9516392e09473347cee7a4fa45c5133d5e49676ee7318bff760f [2021-04-19T22:40:07.326Z] $ docker rm -f e098e2ff633e9516392e09473347cee7a4fa45c5133d5e49676ee7318bff760f [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T22:40:08.175Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T22:40:09.099Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T22:40:11.975Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T22:40:12.407Z] + ls -al . [2021-04-19T22:40:12.407Z] total 140 [2021-04-19T22:40:12.407Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 22:40 . [2021-04-19T22:40:12.407Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 22:37 .. [2021-04-19T22:40:12.407Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 19 22:37 .dockerignore [2021-04-19T22:40:12.407Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 22:37 .git [2021-04-19T22:40:12.407Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 22:37 .github [2021-04-19T22:40:12.407Z] -rw-rw-r-- 1 jenkins jenkins 336 Apr 19 22:37 .gitignore [2021-04-19T22:40:12.407Z] -rw-rw-r-- 1 jenkins jenkins 7100 Apr 19 22:37 Attribution.txt [2021-04-19T22:40:12.407Z] -rw-rw-r-- 1 jenkins jenkins 1861 Apr 19 22:37 Dockerfile [2021-04-19T22:40:12.407Z] -rw-rw-r-- 1 jenkins jenkins 994 Apr 19 22:37 Dockerfile.build [2021-04-19T22:40:12.407Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 22:37 Jenkinsfile [2021-04-19T22:40:12.407Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 22:37 LICENSE [2021-04-19T22:40:12.407Z] -rw-rw-r-- 1 jenkins jenkins 950 Apr 19 22:37 Makefile [2021-04-19T22:40:12.407Z] -rw-rw-r-- 1 jenkins jenkins 2217 Apr 19 22:37 README.md [2021-04-19T22:40:12.407Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 19 22:35 VERSION [2021-04-19T22:40:12.407Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 22:37 bin [2021-04-19T22:40:12.407Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 22:37 cmd [2021-04-19T22:40:12.407Z] -rw-r--r-- 1 jenkins jenkins 19386 Apr 19 22:39 coverage.out [2021-04-19T22:40:12.407Z] -rw-r--r-- 1 jenkins jenkins 409 Apr 19 22:40 go.mod [2021-04-19T22:40:12.407Z] -rw-r--r-- 1 jenkins jenkins 21534 Apr 19 22:40 go.sum [2021-04-19T22:40:12.407Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 22:37 internal [2021-04-19T22:40:12.407Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 22:37 mock [2021-04-19T22:40:12.407Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 22:37 snap [2021-04-19T22:40:12.407Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 19 22:37 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:40:12.877Z] + 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=f5de971355c2828ff055b6ba79681098725335d7 --label arch=arm64 --label version=1.3.2-dev.7 . [2021-04-19T22:40:13.189Z] Sending build context to Docker daemon 556.5kB [2021-04-19T22:40:13.189Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:40:13.189Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-19T22:40:13.189Z] ---> 9f534f8a2363 [2021-04-19T22:40:13.189Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-19T22:40:13.464Z] ---> Running in 01f33ecb0d6a [2021-04-19T22:40:13.758Z] Removing intermediate container 01f33ecb0d6a [2021-04-19T22:40:13.758Z] ---> 74d4f72871d1 [2021-04-19T22:40:13.758Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-04-19T22:40:14.042Z] ---> Running in 677309698af6 [2021-04-19T22:40:14.315Z] Removing intermediate container 677309698af6 [2021-04-19T22:40:14.315Z] ---> ae3fdf4b63b3 [2021-04-19T22:40:14.315Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:40:14.587Z] ---> Running in a3ecb897c9f6 [2021-04-19T22:40:16.568Z] Removing intermediate container a3ecb897c9f6 [2021-04-19T22:40:16.568Z] ---> 87abe0aa3151 [2021-04-19T22:40:16.568Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-19T22:40:16.843Z] ---> Running in c8a39d4f4cbe [2021-04-19T22:40:17.821Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T22:40:18.412Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T22:40:19.402Z] OK: 149 MiB in 52 packages [2021-04-19T22:40:20.384Z] Removing intermediate container c8a39d4f4cbe [2021-04-19T22:40:20.384Z] ---> 6e401764ca76 [2021-04-19T22:40:20.384Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-04-19T22:40:20.384Z] ---> Running in 91c90333115e [2021-04-19T22:40:20.984Z] Removing intermediate container 91c90333115e [2021-04-19T22:40:20.984Z] ---> 4a046f247ce2 [2021-04-19T22:40:20.984Z] Step 8/23 : COPY . . [2021-04-19T22:40:21.964Z] ---> e5f29ee529f3 [2021-04-19T22:40:21.964Z] Step 9/23 : RUN go mod download [2021-04-19T22:40:21.964Z] ---> Running in 73599d97de32 [2021-04-19T22:40:24.580Z] Removing intermediate container 73599d97de32 [2021-04-19T22:40:24.580Z] ---> 74c963220f24 [2021-04-19T22:40:24.580Z] Step 10/23 : ARG MAKE='make build' [2021-04-19T22:40:24.580Z] ---> Running in 68cb8c052916 [2021-04-19T22:40:24.852Z] Removing intermediate container 68cb8c052916 [2021-04-19T22:40:24.852Z] ---> 7b7fef1ceba3 [2021-04-19T22:40:24.852Z] Step 11/23 : RUN $MAKE [2021-04-19T22:40:25.129Z] ---> Running in 90e2d5e015b5 [2021-04-19T22:40:26.121Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.7" -o cmd/device-mqtt ./cmd [2021-04-19T22:40:40.914Z] Removing intermediate container ba71d5e5e9c1 [2021-04-19T22:40:40.914Z] ---> 301ff9bb181e [2021-04-19T22:40:40.914Z] Successfully built 301ff9bb181e [2021-04-19T22:40:40.914Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:40:41.283Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T22:40:41.549Z] . [Pipeline] withDockerContainer [2021-04-19T22:40:41.705Z] prd-centos7-docker-4c-2g-1004 does not seem to be running inside a container [2021-04-19T22:40:41.791Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/38 -v /w/workspace/device-mqtt-go/38:/w/workspace/device-mqtt-go/38:rw,z -v /w/workspace/device-mqtt-go/38@tmp:/w/workspace/device-mqtt-go/38@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-19T22:40:43.025Z] $ docker top 6bd3a60996358d2991ef69e4dbcb81f357f6109d3661007d80dbc4987d877e99 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:40:43.859Z] + go version [2021-04-19T22:40:43.859Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-19T22:40:43.891Z] $ docker stop --time=1 6bd3a60996358d2991ef69e4dbcb81f357f6109d3661007d80dbc4987d877e99 [2021-04-19T22:40:45.778Z] $ docker rm -f 6bd3a60996358d2991ef69e4dbcb81f357f6109d3661007d80dbc4987d877e99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:40:46.871Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T22:40:46.871Z] . [Pipeline] withDockerContainer [2021-04-19T22:40:47.453Z] prd-centos7-docker-4c-2g-1004 does not seem to be running inside a container [2021-04-19T22:40:47.917Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/38 -v /w/workspace/device-mqtt-go/38:/w/workspace/device-mqtt-go/38:rw,z -v /w/workspace/device-mqtt-go/38@tmp:/w/workspace/device-mqtt-go/38@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-19T22:40:48.972Z] $ docker top 9a43626b1cbba50f5043df239b498e4a1108a6113d9e97365600a39a52214ad2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:40:49.466Z] + make test [2021-04-19T22:40:49.467Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-04-19T22:40:53.082Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-04-19T22:41:05.125Z] GCO_ENABLED=1 GO111MODULE=on go build ./... [2021-04-19T22:41:13.380Z] Removing intermediate container 90e2d5e015b5 [2021-04-19T22:41:13.380Z] ---> f88ea6bb4e8c [2021-04-19T22:41:13.380Z] Step 12/23 : FROM alpine:3.12 [2021-04-19T22:41:13.380Z] 3.12: Pulling from library/alpine [2021-04-19T22:41:13.380Z] d2f70382dc9a: Pulling fs layer [2021-04-19T22:41:13.652Z] d2f70382dc9a: Verifying Checksum [2021-04-19T22:41:13.652Z] d2f70382dc9a: Download complete [2021-04-19T22:41:14.247Z] d2f70382dc9a: Pull complete [2021-04-19T22:41:14.247Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T22:41:14.247Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T22:41:14.247Z] ---> 9852663dfa18 [2021-04-19T22:41:14.247Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-04-19T22:41:14.518Z] ---> Running in 6554047460bb [2021-04-19T22:41:14.791Z] Removing intermediate container 6554047460bb [2021-04-19T22:41:14.791Z] ---> e2031fa19eb8 [2021-04-19T22:41:14.791Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-19T22:41:15.065Z] ---> Running in 03d8fb6b5fed [2021-04-19T22:41:16.043Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T22:41:16.313Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T22:41:16.903Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-19T22:41:16.903Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-19T22:41:16.903Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-19T22:41:16.903Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-19T22:41:16.903Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-19T22:41:16.903Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-19T22:41:16.903Z] Executing busybox-1.31.1-r20.trigger [2021-04-19T22:41:16.903Z] OK: 8 MiB in 20 packages [2021-04-19T22:41:18.338Z] Removing intermediate container 03d8fb6b5fed [2021-04-19T22:41:18.338Z] ---> e09fd46ddf62 [2021-04-19T22:41:18.338Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-04-19T22:41:19.765Z] ---> a0c5d83aae7e [2021-04-19T22:41:19.765Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-04-19T22:41:20.356Z] ---> 1292a03592ad [2021-04-19T22:41:20.356Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-04-19T22:41:20.951Z] ---> 817151f705ac [2021-04-19T22:41:20.951Z] Step 18/23 : EXPOSE 49982 [2021-04-19T22:41:20.951Z] ---> Running in 2f59c22859af [2021-04-19T22:41:21.542Z] Removing intermediate container 2f59c22859af [2021-04-19T22:41:21.542Z] ---> 3d3bc4e5f8cf [2021-04-19T22:41:21.542Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-04-19T22:41:21.542Z] ---> Running in b068948dac11 [2021-04-19T22:41:21.812Z] Removing intermediate container b068948dac11 [2021-04-19T22:41:21.812Z] ---> 737c9dbfc0de [2021-04-19T22:41:21.812Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-19T22:41:22.087Z] ---> Running in d5e92cd73c94 [2021-04-19T22:41:22.680Z] Removing intermediate container d5e92cd73c94 [2021-04-19T22:41:22.680Z] ---> 4365a56a6112 [2021-04-19T22:41:22.680Z] Step 21/23 : LABEL arch=arm64 [2021-04-19T22:41:22.680Z] ---> Running in 93d406a07090 [2021-04-19T22:41:23.275Z] Removing intermediate container 93d406a07090 [2021-04-19T22:41:23.275Z] ---> 1497ffd82b1f [2021-04-19T22:41:23.275Z] Step 22/23 : LABEL git_sha=f5de971355c2828ff055b6ba79681098725335d7 [2021-04-19T22:41:23.275Z] ---> Running in 15b5b05b4546 [2021-04-19T22:41:23.867Z] Removing intermediate container 15b5b05b4546 [2021-04-19T22:41:23.867Z] ---> 4d625ccd0eb1 [2021-04-19T22:41:23.867Z] Step 23/23 : LABEL version=1.3.2-dev.7 [2021-04-19T22:41:23.867Z] ---> Running in 9d32f50cb91b [2021-04-19T22:41:24.462Z] Removing intermediate container 9d32f50cb91b [2021-04-19T22:41:24.462Z] ---> 2a20ed377d8d [2021-04-19T22:41:24.462Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-19T22:41:24.462Z] Successfully built 2a20ed377d8d [2021-04-19T22:41:24.462Z] 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 [2021-04-19T22:41:24.609Z] provisioning config files... [2021-04-19T22:41:24.645Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/38@tmp/config2063037602996298447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:41:25.005Z] ---> docker-login.sh [2021-04-19T22:41:25.005Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:41:25.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:41:25.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:41:25.278Z] Configure a credential helper to remove this warning. See [2021-04-19T22:41:25.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:41:25.278Z] [2021-04-19T22:41:25.278Z] Login Succeeded [2021-04-19T22:41:25.550Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:41:25.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:41:25.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:41:25.823Z] Configure a credential helper to remove this warning. See [2021-04-19T22:41:25.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:41:25.823Z] [2021-04-19T22:41:25.823Z] Login Succeeded [2021-04-19T22:41:25.823Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:41:26.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:41:26.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:41:26.419Z] Configure a credential helper to remove this warning. See [2021-04-19T22:41:26.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:41:26.419Z] [2021-04-19T22:41:26.419Z] Login Succeeded [2021-04-19T22:41:26.419Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:41:27.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:41:27.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:41:27.016Z] Configure a credential helper to remove this warning. See [2021-04-19T22:41:27.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:41:27.016Z] [2021-04-19T22:41:27.016Z] Login Succeeded [2021-04-19T22:41:27.016Z] docker.io [2021-04-19T22:41:27.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:41:27.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:41:27.875Z] Configure a credential helper to remove this warning. See [2021-04-19T22:41:27.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:41:27.875Z] [2021-04-19T22:41:27.875Z] Login Succeeded [2021-04-19T22:41:27.875Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:41:27.891Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-19T22:41:27.961Z] [edgeXDocker.push] Tagging docker image docker-device-mqtt-go-arm64 with the following tags: [2021-04-19T22:41:27.962Z] f5de971355c2828ff055b6ba79681098725335d7 [2021-04-19T22:41:27.962Z] latest [2021-04-19T22:41:27.962Z] 1.3.2-dev.7 [2021-04-19T22:41:27.962Z] f5de971355c2828ff055b6ba79681098725335d7-1.3.2-dev.7 [2021-04-19T22:41:27.962Z] master [2021-04-19T22:41:27.962Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:28.339Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:f5de971355c2828ff055b6ba79681098725335d7 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:28.672Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:f5de971355c2828ff055b6ba79681098725335d7 [2021-04-19T22:41:28.672Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-04-19T22:41:28.672Z] b855c7de4400: Preparing [2021-04-19T22:41:28.672Z] 712147065719: Preparing [2021-04-19T22:41:28.672Z] 6fed214fd4fb: Preparing [2021-04-19T22:41:28.672Z] 87aa2a05b858: Preparing [2021-04-19T22:41:28.672Z] 3fbe34a1663b: Preparing [2021-04-19T22:41:28.949Z] 3fbe34a1663b: Layer already exists [2021-04-19T22:41:28.949Z] b855c7de4400: Pushed [2021-04-19T22:41:28.949Z] 712147065719: Pushed [2021-04-19T22:41:29.540Z] 87aa2a05b858: Pushed [2021-04-19T22:41:32.154Z] 6fed214fd4fb: Pushed [2021-04-19T22:41:32.154Z] f5de971355c2828ff055b6ba79681098725335d7: digest: sha256:7cf24389ea6981ccac6a868ddb66d0fe43f753c3241ddf8586aa5fed9afdf8b1 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:32.503Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:32.836Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [2021-04-19T22:41:32.836Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-04-19T22:41:32.836Z] b855c7de4400: Preparing [2021-04-19T22:41:32.836Z] 712147065719: Preparing [2021-04-19T22:41:32.836Z] 6fed214fd4fb: Preparing [2021-04-19T22:41:32.836Z] 87aa2a05b858: Preparing [2021-04-19T22:41:32.836Z] 3fbe34a1663b: Preparing [2021-04-19T22:41:32.836Z] 712147065719: Layer already exists [2021-04-19T22:41:32.836Z] 6fed214fd4fb: Layer already exists [2021-04-19T22:41:33.107Z] b855c7de4400: Layer already exists [2021-04-19T22:41:33.107Z] 3fbe34a1663b: Layer already exists [2021-04-19T22:41:33.107Z] 87aa2a05b858: Layer already exists [2021-04-19T22:41:33.107Z] latest: digest: sha256:7cf24389ea6981ccac6a868ddb66d0fe43f753c3241ddf8586aa5fed9afdf8b1 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:33.452Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.2-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:33.796Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.2-dev.7 [2021-04-19T22:41:33.796Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-04-19T22:41:33.796Z] b855c7de4400: Preparing [2021-04-19T22:41:33.796Z] 712147065719: Preparing [2021-04-19T22:41:33.796Z] 6fed214fd4fb: Preparing [2021-04-19T22:41:33.796Z] 87aa2a05b858: Preparing [2021-04-19T22:41:33.796Z] 3fbe34a1663b: Preparing [2021-04-19T22:41:34.021Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-04-19T22:41:34.069Z] 6fed214fd4fb: Layer already exists [2021-04-19T22:41:34.069Z] b855c7de4400: Layer already exists [2021-04-19T22:41:34.069Z] 3fbe34a1663b: Layer already exists [2021-04-19T22:41:34.069Z] 712147065719: Layer already exists [2021-04-19T22:41:34.069Z] 87aa2a05b858: Layer already exists [2021-04-19T22:41:34.069Z] 1.3.2-dev.7: digest: sha256:7cf24389ea6981ccac6a868ddb66d0fe43f753c3241ddf8586aa5fed9afdf8b1 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:34.417Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:f5de971355c2828ff055b6ba79681098725335d7-1.3.2-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:34.756Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:f5de971355c2828ff055b6ba79681098725335d7-1.3.2-dev.7 [2021-04-19T22:41:34.756Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-04-19T22:41:34.756Z] b855c7de4400: Preparing [2021-04-19T22:41:34.756Z] 712147065719: Preparing [2021-04-19T22:41:34.756Z] 6fed214fd4fb: Preparing [2021-04-19T22:41:34.756Z] 87aa2a05b858: Preparing [2021-04-19T22:41:34.756Z] 3fbe34a1663b: Preparing [2021-04-19T22:41:34.756Z] 3fbe34a1663b: Layer already exists [2021-04-19T22:41:34.756Z] 6fed214fd4fb: Layer already exists [2021-04-19T22:41:34.756Z] b855c7de4400: Layer already exists [2021-04-19T22:41:34.756Z] 712147065719: Layer already exists [2021-04-19T22:41:34.756Z] 87aa2a05b858: Layer already exists [2021-04-19T22:41:35.028Z] f5de971355c2828ff055b6ba79681098725335d7-1.3.2-dev.7: digest: sha256:7cf24389ea6981ccac6a868ddb66d0fe43f753c3241ddf8586aa5fed9afdf8b1 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:35.378Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:35.462Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.023s coverage: 24.9% of statements [2021-04-19T22:41:35.462Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-04-19T22:41:35.462Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-19T22:41:35.714Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [2021-04-19T22:41:35.714Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-04-19T22:41:35.714Z] b855c7de4400: Preparing [2021-04-19T22:41:35.714Z] 712147065719: Preparing [2021-04-19T22:41:35.714Z] 6fed214fd4fb: Preparing [2021-04-19T22:41:35.714Z] 87aa2a05b858: Preparing [2021-04-19T22:41:35.714Z] 3fbe34a1663b: Preparing [2021-04-19T22:41:35.986Z] 87aa2a05b858: Layer already exists [2021-04-19T22:41:35.986Z] 3fbe34a1663b: Layer already exists [2021-04-19T22:41:35.986Z] 712147065719: Layer already exists [2021-04-19T22:41:35.986Z] b855c7de4400: Layer already exists [2021-04-19T22:41:35.986Z] 6fed214fd4fb: Layer already exists [2021-04-19T22:41:35.986Z] master: digest: sha256:7cf24389ea6981ccac6a868ddb66d0fe43f753c3241ddf8586aa5fed9afdf8b1 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-19T22:41:36.051Z] ===================================================== [Pipeline] echo [2021-04-19T22:41:36.069Z] taggedImages: [2021-04-19T22:41:36.069Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:f5de971355c2828ff055b6ba79681098725335d7 [2021-04-19T22:41:36.069Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [2021-04-19T22:41:36.069Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.2-dev.7 [2021-04-19T22:41:36.069Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:f5de971355c2828ff055b6ba79681098725335d7-1.3.2-dev.7 [2021-04-19T22:41:36.069Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:41:36.641Z] ---> job-cost.sh [2021-04-19T22:41:36.641Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Dli1 [2021-04-19T22:41:43.952Z] gofmt -l . [2021-04-19T22:41:43.953Z] ["`gofmt -l .`" = ""] [2021-04-19T22:41:43.953Z] ./bin/test-attribution-txt.sh [2021-04-19T22:41:45.396Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-19T22:41:46.013Z] $ docker stop --time=1 9a43626b1cbba50f5043df239b498e4a1108a6113d9e97365600a39a52214ad2 [2021-04-19T22:41:48.127Z] $ docker rm -f 9a43626b1cbba50f5043df239b498e4a1108a6113d9e97365600a39a52214ad2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T22:41:49.255Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T22:41:49.310Z] Warning: overwriting stash ‘coverage-report’ [2021-04-19T22:41:50.006Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-19T22:41:50.414Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T22:41:50.786Z] + ls -al . [2021-04-19T22:41:50.786Z] total 108 [2021-04-19T22:41:50.786Z] drwxrwxr-x. 9 jenkins jenkins 4096 Apr 19 22:41 . [2021-04-19T22:41:50.786Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 19 22:39 .. [2021-04-19T22:41:50.786Z] -rw-rw-r--. 1 jenkins jenkins 7100 Apr 19 22:39 Attribution.txt [2021-04-19T22:41:50.786Z] drwxrwxr-x. 2 jenkins jenkins 87 Apr 19 22:39 bin [2021-04-19T22:41:50.786Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 19 22:39 cmd [2021-04-19T22:41:50.786Z] -rw-r--r--. 1 jenkins jenkins 19386 Apr 19 22:41 coverage.out [2021-04-19T22:41:50.786Z] -rw-rw-r--. 1 jenkins jenkins 1861 Apr 19 22:39 Dockerfile [2021-04-19T22:41:50.786Z] -rw-rw-r--. 1 jenkins jenkins 994 Apr 19 22:39 Dockerfile.build [2021-04-19T22:41:50.786Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 19 22:39 .dockerignore [2021-04-19T22:41:50.786Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 19 22:39 .git [2021-04-19T22:41:50.786Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 19 22:39 .github [2021-04-19T22:41:50.786Z] -rw-rw-r--. 1 jenkins jenkins 336 Apr 19 22:39 .gitignore [2021-04-19T22:41:50.786Z] -rw-r--r--. 1 jenkins jenkins 409 Apr 19 22:41 go.mod [2021-04-19T22:41:50.786Z] -rw-r--r--. 1 jenkins jenkins 21534 Apr 19 22:41 go.sum [2021-04-19T22:41:50.786Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 19 22:39 internal [2021-04-19T22:41:50.786Z] -rw-rw-r--. 1 jenkins jenkins 677 Apr 19 22:39 Jenkinsfile [2021-04-19T22:41:50.786Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 19 22:39 LICENSE [2021-04-19T22:41:50.786Z] -rw-rw-r--. 1 jenkins jenkins 950 Apr 19 22:39 Makefile [2021-04-19T22:41:50.786Z] drwxrwxr-x. 2 jenkins jenkins 23 Apr 19 22:39 mock [2021-04-19T22:41:50.786Z] -rw-rw-r--. 1 jenkins jenkins 2217 Apr 19 22:39 README.md [2021-04-19T22:41:50.786Z] drwxrwxr-x. 4 jenkins jenkins 71 Apr 19 22:39 snap [2021-04-19T22:41:50.786Z] -rw-rw-r--. 1 jenkins jenkins 11 Apr 19 22:35 VERSION [2021-04-19T22:41:50.786Z] -rw-rw-r--. 1 jenkins jenkins 227 Apr 19 22:39 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:41:51.129Z] + 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=f5de971355c2828ff055b6ba79681098725335d7 --label arch=amd64 --label version=1.3.2-dev.7 . [2021-04-19T22:41:51.412Z] Sending build context to Docker daemon 557.6kB [2021-04-19T22:41:51.412Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:41:51.412Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-19T22:41:51.412Z] ---> 301ff9bb181e [2021-04-19T22:41:51.412Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-04-19T22:41:51.995Z] ---> Running in 3b7290bae79d [2021-04-19T22:41:51.995Z] Removing intermediate container 3b7290bae79d [2021-04-19T22:41:51.995Z] ---> 2dafc7bbd007 [2021-04-19T22:41:51.995Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-04-19T22:41:52.268Z] ---> Running in cf4830767f9a [2021-04-19T22:41:52.703Z] Removing intermediate container cf4830767f9a [2021-04-19T22:41:52.704Z] ---> 9cb60fce467f [2021-04-19T22:41:52.704Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:41:52.704Z] ---> Running in 9cf2568d2fd8 [2021-04-19T22:41:55.474Z] Removing intermediate container 9cf2568d2fd8 [2021-04-19T22:41:55.474Z] ---> 81543faf01b8 [2021-04-19T22:41:55.474Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-04-19T22:41:55.474Z] ---> Running in 626fd4aa3694 [2021-04-19T22:41:56.476Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T22:41:57.059Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T22:41:57.699Z] OK: 173 MiB in 52 packages [2021-04-19T22:42:00.078Z] Removing intermediate container 626fd4aa3694 [2021-04-19T22:42:00.078Z] ---> 4290cabf788c [2021-04-19T22:42:00.078Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-04-19T22:42:00.078Z] ---> Running in c1bec55c5e14 [2021-04-19T22:42:01.158Z] Removing intermediate container c1bec55c5e14 [2021-04-19T22:42:01.158Z] ---> c6181d4544e4 [2021-04-19T22:42:01.158Z] Step 8/23 : COPY . . [2021-04-19T22:42:02.217Z] ---> 09822629ab99 [2021-04-19T22:42:02.217Z] Step 9/23 : RUN go mod download [2021-04-19T22:42:02.490Z] ---> Running in 10352786d4c5 [2021-04-19T22:42:06.095Z] Removing intermediate container 10352786d4c5 [2021-04-19T22:42:06.095Z] ---> 7aa33d9170e3 [2021-04-19T22:42:06.095Z] Step 10/23 : ARG MAKE='make build' [2021-04-19T22:42:06.095Z] ---> Running in 2a00a2924923 [2021-04-19T22:42:06.888Z] Removing intermediate container 2a00a2924923 [2021-04-19T22:42:06.888Z] ---> 72098726d8c7 [2021-04-19T22:42:06.888Z] Step 11/23 : RUN $MAKE [2021-04-19T22:42:06.888Z] ---> Running in 396c0951f882 [2021-04-19T22:42:09.030Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.7" -o cmd/device-mqtt ./cmd [2021-04-19T22:42:15.607Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T22:42:49.078Z] GCO_ENABLED=1 GO111MODULE=on go build ./... [2021-04-19T22:42:52.634Z] Removing intermediate container 396c0951f882 [2021-04-19T22:42:52.634Z] ---> ac54a332b7f1 [2021-04-19T22:42:52.634Z] Step 12/23 : FROM alpine:3.12 [2021-04-19T22:42:52.634Z] 3.12: Pulling from library/alpine [2021-04-19T22:42:52.915Z] 339de151aab4: Pulling fs layer [2021-04-19T22:42:53.195Z] 339de151aab4: Verifying Checksum [2021-04-19T22:42:53.195Z] 339de151aab4: Download complete [2021-04-19T22:42:53.484Z] 339de151aab4: Pull complete [2021-04-19T22:42:53.484Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T22:42:53.484Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T22:42:53.484Z] ---> 13621d1b12d4 [2021-04-19T22:42:53.484Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-04-19T22:42:53.484Z] ---> Running in 9e01459fa942 [2021-04-19T22:42:53.761Z] Removing intermediate container 9e01459fa942 [2021-04-19T22:42:53.761Z] ---> 1161e8e7d318 [2021-04-19T22:42:53.761Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-04-19T22:42:54.068Z] ---> Running in 829e6039e455 [2021-04-19T22:42:56.821Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T22:42:56.822Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T22:42:57.126Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-04-19T22:42:57.126Z] (2/6) Installing libgcc (9.3.0-r2) [2021-04-19T22:42:57.126Z] (3/6) Installing libsodium (1.0.18-r0) [2021-04-19T22:42:57.126Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-04-19T22:42:57.126Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-19T22:42:57.126Z] (6/6) Installing zeromq (4.3.3-r0) [2021-04-19T22:42:57.126Z] Executing busybox-1.31.1-r20.trigger [2021-04-19T22:42:57.126Z] OK: 8 MiB in 20 packages [2021-04-19T22:42:58.202Z] Removing intermediate container 829e6039e455 [2021-04-19T22:42:58.202Z] ---> 474b26878aea [2021-04-19T22:42:58.202Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-04-19T22:42:59.736Z] ---> 56b8288aa12d [2021-04-19T22:42:59.736Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-04-19T22:43:00.407Z] ---> 93e5451ad314 [2021-04-19T22:43:00.407Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-04-19T22:43:00.802Z] ---> 3c5133b4bf9c [2021-04-19T22:43:00.802Z] Step 18/23 : EXPOSE 49982 [2021-04-19T22:43:01.180Z] ---> Running in f461f427f740 [2021-04-19T22:43:01.829Z] Removing intermediate container f461f427f740 [2021-04-19T22:43:01.830Z] ---> 48e8a8379007 [2021-04-19T22:43:01.830Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-04-19T22:43:01.830Z] ---> Running in 1f2989940403 [2021-04-19T22:43:02.128Z] Removing intermediate container 1f2989940403 [2021-04-19T22:43:02.128Z] ---> 09db93f856f0 [2021-04-19T22:43:02.128Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-19T22:43:02.441Z] ---> Running in 6e541cbcfcf3 [2021-04-19T22:43:02.746Z] Removing intermediate container 6e541cbcfcf3 [2021-04-19T22:43:02.746Z] ---> b6224cf01db9 [2021-04-19T22:43:02.746Z] Step 21/23 : LABEL arch=amd64 [2021-04-19T22:43:03.022Z] ---> Running in a22033857695 [2021-04-19T22:43:03.319Z] Removing intermediate container a22033857695 [2021-04-19T22:43:03.319Z] ---> 80972e2ad165 [2021-04-19T22:43:03.319Z] Step 22/23 : LABEL git_sha=f5de971355c2828ff055b6ba79681098725335d7 [2021-04-19T22:43:03.634Z] ---> Running in e2d51d18a4d1 [2021-04-19T22:43:03.911Z] Removing intermediate container e2d51d18a4d1 [2021-04-19T22:43:03.911Z] ---> ba712528f38a [2021-04-19T22:43:03.911Z] Step 23/23 : LABEL version=1.3.2-dev.7 [2021-04-19T22:43:04.201Z] ---> Running in d5db43d8c686 [2021-04-19T22:43:04.834Z] Removing intermediate container d5db43d8c686 [2021-04-19T22:43:04.834Z] ---> 62063b105456 [2021-04-19T22:43:04.834Z] [Warning] One or more build-args [ARCH] were not consumed [2021-04-19T22:43:04.834Z] Successfully built 62063b105456 [2021-04-19T22:43:04.834Z] Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:43:04.960Z] provisioning config files... [2021-04-19T22:43:05.025Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/38@tmp/config1899927602659032538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:43:05.424Z] ---> docker-login.sh [2021-04-19T22:43:05.424Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:43:06.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:43:06.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:43:06.069Z] Configure a credential helper to remove this warning. See [2021-04-19T22:43:06.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:43:06.069Z] [2021-04-19T22:43:06.069Z] Login Succeeded [2021-04-19T22:43:06.069Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:43:06.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:43:06.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:43:06.745Z] Configure a credential helper to remove this warning. See [2021-04-19T22:43:06.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:43:06.745Z] [2021-04-19T22:43:06.745Z] Login Succeeded [2021-04-19T22:43:06.745Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:43:07.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:43:07.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:43:07.057Z] Configure a credential helper to remove this warning. See [2021-04-19T22:43:07.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:43:07.057Z] [2021-04-19T22:43:07.057Z] Login Succeeded [2021-04-19T22:43:07.057Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:43:07.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:43:08.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:43:08.000Z] Configure a credential helper to remove this warning. See [2021-04-19T22:43:08.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:43:08.000Z] [2021-04-19T22:43:08.000Z] Login Succeeded [2021-04-19T22:43:08.000Z] docker.io [2021-04-19T22:43:08.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:43:08.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:43:08.711Z] Configure a credential helper to remove this warning. See [2021-04-19T22:43:08.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:43:08.711Z] [2021-04-19T22:43:08.711Z] Login Succeeded [2021-04-19T22:43:08.711Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:43:08.849Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-19T22:43:08.942Z] [edgeXDocker.push] Tagging docker image docker-device-mqtt-go with the following tags: [2021-04-19T22:43:08.943Z] f5de971355c2828ff055b6ba79681098725335d7 [2021-04-19T22:43:08.943Z] latest [2021-04-19T22:43:08.943Z] 1.3.2-dev.7 [2021-04-19T22:43:08.943Z] f5de971355c2828ff055b6ba79681098725335d7-1.3.2-dev.7 [2021-04-19T22:43:08.943Z] master [2021-04-19T22:43:08.943Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:43:09.538Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:f5de971355c2828ff055b6ba79681098725335d7 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:43:09.893Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:f5de971355c2828ff055b6ba79681098725335d7 [2021-04-19T22:43:09.893Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-04-19T22:43:09.893Z] 503c805de5fa: Preparing [2021-04-19T22:43:09.893Z] afff23f8180a: Preparing [2021-04-19T22:43:09.893Z] e8e76b63623d: Preparing [2021-04-19T22:43:09.893Z] 60ef9861c11d: Preparing [2021-04-19T22:43:09.893Z] 32f366d666a5: Preparing [2021-04-19T22:43:09.893Z] 32f366d666a5: Layer already exists [2021-04-19T22:43:10.173Z] 503c805de5fa: Pushed [2021-04-19T22:43:10.519Z] afff23f8180a: Pushed [2021-04-19T22:43:10.796Z] 60ef9861c11d: Pushed [2021-04-19T22:43:12.809Z] e8e76b63623d: Pushed [2021-04-19T22:43:12.809Z] f5de971355c2828ff055b6ba79681098725335d7: digest: sha256:482c42d7162462c85c63518c7ba8e7fb91eb0b2b10a98960ef1a4ba4d9da203c size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:43:13.268Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:43:13.633Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [2021-04-19T22:43:13.633Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-04-19T22:43:13.633Z] 503c805de5fa: Preparing [2021-04-19T22:43:13.633Z] afff23f8180a: Preparing [2021-04-19T22:43:13.633Z] e8e76b63623d: Preparing [2021-04-19T22:43:13.633Z] 60ef9861c11d: Preparing [2021-04-19T22:43:13.633Z] 32f366d666a5: Preparing [2021-04-19T22:43:13.633Z] afff23f8180a: Layer already exists [2021-04-19T22:43:13.633Z] 32f366d666a5: Layer already exists [2021-04-19T22:43:13.633Z] e8e76b63623d: Layer already exists [2021-04-19T22:43:13.633Z] 503c805de5fa: Layer already exists [2021-04-19T22:43:13.633Z] 60ef9861c11d: Layer already exists [2021-04-19T22:43:13.905Z] latest: digest: sha256:482c42d7162462c85c63518c7ba8e7fb91eb0b2b10a98960ef1a4ba4d9da203c size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:43:14.303Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.2-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:43:14.677Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.2-dev.7 [2021-04-19T22:43:14.677Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-04-19T22:43:14.678Z] 503c805de5fa: Preparing [2021-04-19T22:43:14.678Z] afff23f8180a: Preparing [2021-04-19T22:43:14.678Z] e8e76b63623d: Preparing [2021-04-19T22:43:14.678Z] 60ef9861c11d: Preparing [2021-04-19T22:43:14.678Z] 32f366d666a5: Preparing [2021-04-19T22:43:14.678Z] 60ef9861c11d: Layer already exists [2021-04-19T22:43:14.678Z] 32f366d666a5: Layer already exists [2021-04-19T22:43:14.678Z] afff23f8180a: Layer already exists [2021-04-19T22:43:14.678Z] e8e76b63623d: Layer already exists [2021-04-19T22:43:14.678Z] 503c805de5fa: Layer already exists [2021-04-19T22:43:14.947Z] 1.3.2-dev.7: digest: sha256:482c42d7162462c85c63518c7ba8e7fb91eb0b2b10a98960ef1a4ba4d9da203c size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:43:15.289Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:f5de971355c2828ff055b6ba79681098725335d7-1.3.2-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:43:15.603Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:f5de971355c2828ff055b6ba79681098725335d7-1.3.2-dev.7 [2021-04-19T22:43:15.603Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-04-19T22:43:15.603Z] 503c805de5fa: Preparing [2021-04-19T22:43:15.603Z] afff23f8180a: Preparing [2021-04-19T22:43:15.603Z] e8e76b63623d: Preparing [2021-04-19T22:43:15.603Z] 60ef9861c11d: Preparing [2021-04-19T22:43:15.603Z] 32f366d666a5: Preparing [2021-04-19T22:43:15.603Z] 32f366d666a5: Layer already exists [2021-04-19T22:43:15.603Z] e8e76b63623d: Layer already exists [2021-04-19T22:43:15.603Z] 60ef9861c11d: Layer already exists [2021-04-19T22:43:15.603Z] afff23f8180a: Layer already exists [2021-04-19T22:43:15.603Z] 503c805de5fa: Layer already exists [2021-04-19T22:43:15.603Z] f5de971355c2828ff055b6ba79681098725335d7-1.3.2-dev.7: digest: sha256:482c42d7162462c85c63518c7ba8e7fb91eb0b2b10a98960ef1a4ba4d9da203c size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:43:15.918Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:43:16.233Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [2021-04-19T22:43:16.233Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-04-19T22:43:16.233Z] 503c805de5fa: Preparing [2021-04-19T22:43:16.233Z] afff23f8180a: Preparing [2021-04-19T22:43:16.233Z] e8e76b63623d: Preparing [2021-04-19T22:43:16.233Z] 60ef9861c11d: Preparing [2021-04-19T22:43:16.233Z] 32f366d666a5: Preparing [2021-04-19T22:43:16.233Z] 503c805de5fa: Layer already exists [2021-04-19T22:43:16.233Z] 32f366d666a5: Layer already exists [2021-04-19T22:43:16.233Z] afff23f8180a: Layer already exists [2021-04-19T22:43:16.233Z] 60ef9861c11d: Layer already exists [2021-04-19T22:43:16.233Z] e8e76b63623d: Layer already exists [2021-04-19T22:43:16.499Z] master: digest: sha256:482c42d7162462c85c63518c7ba8e7fb91eb0b2b10a98960ef1a4ba4d9da203c size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-04-19T22:43:16.562Z] ===================================================== [Pipeline] echo [2021-04-19T22:43:16.578Z] taggedImages: [2021-04-19T22:43:16.578Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:f5de971355c2828ff055b6ba79681098725335d7 [2021-04-19T22:43:16.578Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [2021-04-19T22:43:16.578Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.2-dev.7 [2021-04-19T22:43:16.578Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:f5de971355c2828ff055b6ba79681098725335d7-1.3.2-dev.7 [2021-04-19T22:43:16.578Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:43:17.041Z] ---> job-cost.sh [2021-04-19T22:43:17.041Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-CIOW [2021-04-19T22:43:43.940Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T22:43:52.432Z] lf-activate-venv(): INFO: Adding /tmp/venv-Dli1/bin to PATH [2021-04-19T22:43:52.432Z] INFO: No Stack... [2021-04-19T22:43:52.432Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-19T22:43:52.432Z] INFO: Archiving Costs [Pipeline] sh [2021-04-19T22:43:52.774Z] + cat /w/workspace/device-mqtt-go/38/archives/cost.csv [2021-04-19T22:43:52.774Z] + cut -d, -f6 [Pipeline] lock [2021-04-19T22:43:52.919Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-38-stack-cost] [2021-04-19T22:43:52.928Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-38-stack-cost] did not exist. Created. [2021-04-19T22:43:52.928Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-38-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T22:43:53.287Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-19T22:43:53.469Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T22:43:53.485Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-38-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-19T22:44:23.274Z] lf-activate-venv(): INFO: Adding /tmp/venv-CIOW/bin to PATH [2021-04-19T22:44:23.274Z] INFO: No Stack... [2021-04-19T22:44:23.864Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T22:44:24.839Z] INFO: Archiving Costs [Pipeline] sh [2021-04-19T22:44:25.169Z] + cat /w/workspace/device-mqtt-go/38/archives/cost.csv [2021-04-19T22:44:25.169Z] + cut -d, -f6 [Pipeline] lock [2021-04-19T22:44:25.284Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-38-stack-cost] [2021-04-19T22:44:25.296Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-38-stack-cost] did not exist. Created. [2021-04-19T22:44:25.297Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-38-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T22:44:25.712Z] /w/workspace/device-mqtt-go/38@tmp/durable-cd123b0f/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-04-19T22:44:26.051Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-19T22:44:26.087Z] Warning: overwriting stash ‘stack-cost’ [2021-04-19T22:44:26.237Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T22:44:26.252Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-38-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-04-19T22:44:26.769Z] provisioning config files... [2021-04-19T22:44:26.782Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2043300279841446640tmp [Pipeline] { [Pipeline] sh [2021-04-19T22:44:27.110Z] + set +x [2021-04-19T22:44:27.110Z] + curl -s https://codecov.io/bash [2021-04-19T22:44:27.110Z] + bash -s -- [2021-04-19T22:44:27.373Z] [2021-04-19T22:44:27.373Z] _____ _ [2021-04-19T22:44:27.373Z] / ____| | | [2021-04-19T22:44:27.373Z] | | ___ __| | ___ ___ _____ __ [2021-04-19T22:44:27.373Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-19T22:44:27.373Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-19T22:44:27.373Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-19T22:44:27.373Z] Bash-1.0.1 [2021-04-19T22:44:27.373Z] [2021-04-19T22:44:27.373Z] [2021-04-19T22:44:27.373Z] ==> git version 2.24.3 found [2021-04-19T22:44:27.373Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-04-19T22:44:27.373Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-19T22:44:27.373Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-19T22:44:27.373Z] ==> Jenkins CI detected. [2021-04-19T22:44:27.373Z] project root: . [2021-04-19T22:44:27.373Z] --> token set from env [2021-04-19T22:44:27.373Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-19T22:44:27.373Z] ==> Running gcov in . (disable via -X gcov) [2021-04-19T22:44:27.373Z] ==> Python coveragepy not found [2021-04-19T22:44:27.373Z] ==> Searching for coverage reports in: [2021-04-19T22:44:27.373Z] + . [2021-04-19T22:44:27.373Z] -> Found 1 reports [2021-04-19T22:44:27.373Z] ==> Detecting git/mercurial file structure [2021-04-19T22:44:27.373Z] ==> Reading reports [2021-04-19T22:44:27.373Z] + ./coverage.out bytes=19386 [2021-04-19T22:44:27.373Z] ==> Appending adjustments [2021-04-19T22:44:27.373Z] https://docs.codecov.io/docs/fixing-reports [2021-04-19T22:44:27.640Z] + Found adjustments [2021-04-19T22:44:27.640Z] ==> Gzipping contents [2021-04-19T22:44:27.640Z] 4.0K /tmp/codecov.NPlAv8.gz [2021-04-19T22:44:27.640Z] ==> Uploading reports [2021-04-19T22:44:27.640Z] url: https://codecov.io [2021-04-19T22:44:27.640Z] query: branch=master&commit=f5de971355c2828ff055b6ba79681098725335d7&build=38&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F38%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-19T22:44:27.640Z] -> Pinging Codecov [2021-04-19T22:44:27.640Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=master&commit=f5de971355c2828ff055b6ba79681098725335d7&build=38&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F38%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-19T22:44:28.228Z] -> Uploading to [2021-04-19T22:44:28.228Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-19/7D719EC7BBE17E464838252E33014C33/f5de971355c2828ff055b6ba79681098725335d7/ee0c8e3c-d3f7-45ac-a7fa-372a8565977e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210419T224427Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=692035d1467064105299c7de4414f13795d628dec7a8af37946782b101535445 [2021-04-19T22:44:28.228Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-19T22:44:28.228Z] Dload Upload Total Spent Left Speed [2021-04-19T22:44:28.811Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3410 0 0 100 3410 0 5653 --:--:-- --:--:-- --:--:-- 5655 100 3410 0 0 100 3410 0 5651 --:--:-- --:--:-- --:--:-- 5645 [2021-04-19T22:44:28.811Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/f5de971355c2828ff055b6ba79681098725335d7 [Pipeline] } [2021-04-19T22:44:28.825Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-04-19T22:44:29.520Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-04-19T22:44:29.544Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:44:29.867Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-19T22:44:29.867Z] [2021-04-19T22:44:29.867Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:44:30.195Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-19T22:44:30.195Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-04-19T22:44:30.195Z] 188c0c94c7c5: Pulling fs layer [2021-04-19T22:44:30.195Z] 0ef7d3d256c8: Pulling fs layer [2021-04-19T22:44:30.195Z] de9db76c5a1d: Pulling fs layer [2021-04-19T22:44:30.195Z] 0eba1c9be4d2: Pulling fs layer [2021-04-19T22:44:30.195Z] 0d57e429df01: Pulling fs layer [2021-04-19T22:44:30.195Z] 4e4be7b47b0d: Pulling fs layer [2021-04-19T22:44:30.195Z] e1f770b5df2f: Pulling fs layer [2021-04-19T22:44:30.195Z] 85a0685a4137: Pulling fs layer [2021-04-19T22:44:30.195Z] 0eba1c9be4d2: Waiting [2021-04-19T22:44:30.195Z] 0d57e429df01: Waiting [2021-04-19T22:44:30.195Z] 4e4be7b47b0d: Waiting [2021-04-19T22:44:30.195Z] e1f770b5df2f: Waiting [2021-04-19T22:44:30.195Z] 85a0685a4137: Waiting [2021-04-19T22:44:30.195Z] de9db76c5a1d: Verifying Checksum [2021-04-19T22:44:30.195Z] de9db76c5a1d: Download complete [2021-04-19T22:44:30.195Z] 0ef7d3d256c8: Verifying Checksum [2021-04-19T22:44:30.195Z] 0ef7d3d256c8: Download complete [2021-04-19T22:44:30.195Z] 0d57e429df01: Verifying Checksum [2021-04-19T22:44:30.195Z] 0d57e429df01: Download complete [2021-04-19T22:44:30.195Z] 4e4be7b47b0d: Verifying Checksum [2021-04-19T22:44:30.195Z] 4e4be7b47b0d: Download complete [2021-04-19T22:44:30.195Z] 188c0c94c7c5: Download complete [2021-04-19T22:44:30.786Z] 188c0c94c7c5: Pull complete [2021-04-19T22:44:31.049Z] 0ef7d3d256c8: Pull complete [2021-04-19T22:44:31.049Z] de9db76c5a1d: Pull complete [2021-04-19T22:44:31.049Z] e1f770b5df2f: Verifying Checksum [2021-04-19T22:44:31.049Z] e1f770b5df2f: Download complete [2021-04-19T22:44:33.630Z] 0eba1c9be4d2: Verifying Checksum [2021-04-19T22:44:33.630Z] 0eba1c9be4d2: Download complete [2021-04-19T22:44:33.900Z] 85a0685a4137: Verifying Checksum [2021-04-19T22:44:33.900Z] 85a0685a4137: Download complete [2021-04-19T22:44:40.573Z] 0eba1c9be4d2: Pull complete [2021-04-19T22:44:40.573Z] 0d57e429df01: Pull complete [2021-04-19T22:44:40.573Z] 4e4be7b47b0d: Pull complete [2021-04-19T22:44:42.517Z] e1f770b5df2f: Pull complete [2021-04-19T22:44:50.719Z] 85a0685a4137: Pull complete [2021-04-19T22:44:50.719Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-04-19T22:44:50.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-19T22:44:50.719Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-04-19T22:44:50.918Z] prd-centos7-docker-4c-2g-1000 does not seem to be running inside a container [2021-04-19T22:44:50.974Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-04-19T22:44:51.939Z] $ docker top 6f44d1041d9173298e13fb51b0f292353f96a375d1215f9312f29d3712d06bac -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-19T22:44:52.086Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-04-19T22:44:52.388Z] + set -o pipefail [2021-04-19T22:44:52.388Z] + snyk monitor '--org=edgex-jenkins' [2021-04-19T22:45:02.470Z] [2021-04-19T22:45:02.471Z] Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... [2021-04-19T22:45:02.471Z] [2021-04-19T22:45:02.471Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/b9d10c69-2cc5-4ccc-88ef-dc5baa76b2d3 [2021-04-19T22:45:02.471Z] [2021-04-19T22:45:02.471Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-04-19T22:45:02.471Z] [2021-04-19T22:45:03.434Z] [2021-04-19T22:45:03.434Z] You have reached your monthly limit of 300 private tests for your edgex-jenkins org. [2021-04-19T22:45:03.434Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-04-19T22:45:03.454Z] $ docker stop --time=1 6f44d1041d9173298e13fb51b0f292353f96a375d1215f9312f29d3712d06bac [2021-04-19T22:45:07.323Z] $ docker rm -f 6f44d1041d9173298e13fb51b0f292353f96a375d1215f9312f29d3712d06bac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T22:45:08.586Z] + git log --format=format:%s -1 f5de971355c2828ff055b6ba79681098725335d7 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:45:08.938Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:45:08.939Z] . [Pipeline] withDockerContainer [2021-04-19T22:45:09.071Z] prd-centos7-docker-4c-2g-1000 does not seem to be running inside a container [2021-04-19T22:45:09.154Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-19T22:45:10.083Z] $ docker top 575f160ee3dfaef9515c6edff8bd4be7f6c9365fcdfba205e12d04460f8c2906 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T22:45:10.265Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T22:45:10.265Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T22:45:10.539Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T22:45:10.545Z] $ docker exec 575f160ee3dfaef9515c6edff8bd4be7f6c9365fcdfba205e12d04460f8c2906 ssh-agent [2021-04-19T22:45:10.751Z] SSH_AUTH_SOCK=/tmp/ssh-6iKmROb9Kf7N/agent.12 [2021-04-19T22:45:10.752Z] SSH_AGENT_PID=17 [2021-04-19T22:45:10.760Z] Running ssh-add (command line suppressed) [2021-04-19T22:45:10.907Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2564948474121224870.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2564948474121224870.key) [2021-04-19T22:45:10.966Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:45:11.276Z] + git semver tag [2021-04-19T22:45:11.277Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T22:45:11.277Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-04-19T22:45:11.277Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-04-19T22:45:11.277Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T22:45:11.277Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T22:45:11.277Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T22:45:11.277Z] # $SEMVER_BRANCH = master [2021-04-19T22:45:11.277Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-04-19T22:45:11.277Z] # f5de971355c2828ff055b6ba79681098725335d7 HEAD [2021-04-19T22:45:11.277Z] # -> Force: false [2021-04-19T22:45:11.277Z] # 8829086b28591b07f631eda8a0a6de8deee9c106 refs/tags/v1.3.2-dev.7 [Pipeline] } [2021-04-19T22:45:11.296Z] $ docker exec --env ******** --env ******** 575f160ee3dfaef9515c6edff8bd4be7f6c9365fcdfba205e12d04460f8c2906 ssh-agent -k [2021-04-19T22:45:11.420Z] unset SSH_AUTH_SOCK; [2021-04-19T22:45:11.420Z] unset SSH_AGENT_PID; [2021-04-19T22:45:11.420Z] echo Agent pid 17 killed; [2021-04-19T22:45:11.490Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T22:45:11.851Z] + git semver [Pipeline] } [2021-04-19T22:45:11.881Z] $ docker stop --time=1 575f160ee3dfaef9515c6edff8bd4be7f6c9365fcdfba205e12d04460f8c2906 [2021-04-19T22:45:13.302Z] $ docker rm -f 575f160ee3dfaef9515c6edff8bd4be7f6c9365fcdfba205e12d04460f8c2906 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:45:13.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-19T22:45:13.910Z] [2021-04-19T22:45:13.910Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:45:14.240Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-19T22:45:14.240Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-04-19T22:45:14.240Z] ab5ef0e58194: Pulling fs layer [2021-04-19T22:45:14.240Z] 9712f1f96733: Pulling fs layer [2021-04-19T22:45:14.240Z] 63f879dbbcfc: Pulling fs layer [2021-04-19T22:45:14.240Z] 0d9ebad4ef96: Pulling fs layer [2021-04-19T22:45:14.240Z] e9a5061849ea: Pulling fs layer [2021-04-19T22:45:14.240Z] d747dcd14b5f: Pulling fs layer [2021-04-19T22:45:14.240Z] 2de7ff778b66: Pulling fs layer [2021-04-19T22:45:14.240Z] e9a5061849ea: Waiting [2021-04-19T22:45:14.240Z] d747dcd14b5f: Waiting [2021-04-19T22:45:14.240Z] 0d9ebad4ef96: Waiting [2021-04-19T22:45:14.240Z] 2de7ff778b66: Waiting [2021-04-19T22:45:14.240Z] 9712f1f96733: Verifying Checksum [2021-04-19T22:45:14.240Z] 9712f1f96733: Download complete [2021-04-19T22:45:15.648Z] 63f879dbbcfc: Verifying Checksum [2021-04-19T22:45:15.648Z] 63f879dbbcfc: Download complete [2021-04-19T22:45:15.648Z] e9a5061849ea: Verifying Checksum [2021-04-19T22:45:15.648Z] e9a5061849ea: Download complete [2021-04-19T22:45:15.915Z] d747dcd14b5f: Verifying Checksum [2021-04-19T22:45:15.915Z] d747dcd14b5f: Download complete [2021-04-19T22:45:16.188Z] 2de7ff778b66: Verifying Checksum [2021-04-19T22:45:16.188Z] 2de7ff778b66: Download complete [2021-04-19T22:45:16.458Z] 0d9ebad4ef96: Verifying Checksum [2021-04-19T22:45:16.458Z] 0d9ebad4ef96: Download complete [2021-04-19T22:45:16.724Z] ab5ef0e58194: Verifying Checksum [2021-04-19T22:45:16.724Z] ab5ef0e58194: Download complete [2021-04-19T22:45:22.142Z] ab5ef0e58194: Pull complete [2021-04-19T22:45:22.143Z] 9712f1f96733: Pull complete [2021-04-19T22:45:24.085Z] 63f879dbbcfc: Pull complete [2021-04-19T22:45:30.723Z] 0d9ebad4ef96: Pull complete [2021-04-19T22:45:32.690Z] e9a5061849ea: Pull complete [2021-04-19T22:45:32.954Z] d747dcd14b5f: Pull complete [2021-04-19T22:45:36.317Z] 2de7ff778b66: Pull complete [2021-04-19T22:45:36.317Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-04-19T22:45:36.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-19T22:45:36.317Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-04-19T22:45:36.571Z] prd-centos7-docker-4c-2g-1000 does not seem to be running inside a container [2021-04-19T22:45:36.651Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-04-19T22:45:40.185Z] $ docker top 13100ee37316576dda7e2bf70d3a85d83a52f77884155c5a85e6d0af79eefae9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-04-19T22:45:40.429Z] provisioning config files... [2021-04-19T22:45:40.471Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config6134231394084534556tmp [2021-04-19T22:45:40.498Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config5526647004718337993tmp [2021-04-19T22:45:40.524Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config5919602399436114882tmp [Pipeline] { [Pipeline] echo [2021-04-19T22:45:40.555Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:45:40.984Z] ---> sigul-configuration.sh [2021-04-19T22:45:40.984Z] gpg: directory `/root/.gnupg' created [2021-04-19T22:45:40.984Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-04-19T22:45:40.984Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-04-19T22:45:40.984Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-04-19T22:45:40.984Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-04-19T22:45:40.984Z] gpg: CAST5 encrypted data [2021-04-19T22:45:41.297Z] gpg: encrypted with 1 passphrase [2021-04-19T22:45:41.297Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-04-19T22:45:41.600Z] + mkdir /home/jenkins [2021-04-19T22:45:41.600Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-04-19T22:45:41.903Z] + 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 [2021-04-19T22:45:41.916Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:45:42.231Z] ---> sigul-install.sh [2021-04-19T22:45:48.894Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-04-19T22:45:49.208Z] + git tag --list [2021-04-19T22:45:49.208Z] 0.7.1 [2021-04-19T22:45:49.208Z] v1.0.0 [2021-04-19T22:45:49.208Z] v1.1.0 [2021-04-19T22:45:49.208Z] v1.1.1 [2021-04-19T22:45:49.208Z] v1.2.2 [2021-04-19T22:45:49.208Z] v1.3.0 [2021-04-19T22:45:49.208Z] v1.3.1 [2021-04-19T22:45:49.208Z] v1.3.1-dev.1 [2021-04-19T22:45:49.208Z] v1.3.1-dev.2 [2021-04-19T22:45:49.208Z] v1.3.1-dev.3 [2021-04-19T22:45:49.208Z] v1.3.1-dev.4 [2021-04-19T22:45:49.208Z] v1.3.2-dev.1 [2021-04-19T22:45:49.208Z] v1.3.2-dev.2 [2021-04-19T22:45:49.208Z] v1.3.2-dev.3 [2021-04-19T22:45:49.208Z] v1.3.2-dev.4 [2021-04-19T22:45:49.208Z] v1.3.2-dev.5 [2021-04-19T22:45:49.208Z] v1.3.2-dev.6 [2021-04-19T22:45:49.208Z] v1.3.2-dev.7 [Pipeline] sh [2021-04-19T22:45:49.515Z] + lftools sign git-tag v1.3.2-dev.7 [2021-04-19T22:45:50.913Z] Signing Git tag with Sigul... [2021-04-19T22:45:50.913Z] Signing v1.3.2-dev.7 [Pipeline] echo [2021-04-19T22:45:52.858Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:45:53.166Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-04-19T22:45:53.177Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-04-19T22:45:53.210Z] $ docker stop --time=1 13100ee37316576dda7e2bf70d3a85d83a52f77884155c5a85e6d0af79eefae9 [2021-04-19T22:45:55.352Z] $ docker rm -f 13100ee37316576dda7e2bf70d3a85d83a52f77884155c5a85e6d0af79eefae9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:45:55.958Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:45:55.958Z] . [Pipeline] withDockerContainer [2021-04-19T22:45:56.077Z] prd-centos7-docker-4c-2g-1000 does not seem to be running inside a container [2021-04-19T22:45:56.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-19T22:45:56.863Z] $ docker top 9cd5a8d747483c6ce3604c434999db17a789536d23ccf8ccf49fac589b83a355 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T22:45:57.068Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T22:45:57.068Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T22:45:57.299Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T22:45:57.304Z] $ docker exec 9cd5a8d747483c6ce3604c434999db17a789536d23ccf8ccf49fac589b83a355 ssh-agent [2021-04-19T22:45:57.493Z] SSH_AUTH_SOCK=/tmp/ssh-QQFny2FH3BN8/agent.12 [2021-04-19T22:45:57.493Z] SSH_AGENT_PID=18 [2021-04-19T22:45:57.501Z] Running ssh-add (command line suppressed) [2021-04-19T22:45:57.639Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3889211564648961599.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3889211564648961599.key) [2021-04-19T22:45:57.704Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:45:58.018Z] + git semver bump pre [2021-04-19T22:45:58.018Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T22:45:58.018Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-04-19T22:45:58.018Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-04-19T22:45:58.018Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T22:45:58.018Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T22:45:58.018Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T22:45:58.018Z] # $SEMVER_BRANCH = master [2021-04-19T22:45:58.018Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-04-19T22:45:58.018Z] 1.3.2-dev.8 [Pipeline] } [2021-04-19T22:45:58.036Z] $ docker exec --env ******** --env ******** 9cd5a8d747483c6ce3604c434999db17a789536d23ccf8ccf49fac589b83a355 ssh-agent -k [2021-04-19T22:45:58.223Z] unset SSH_AUTH_SOCK; [2021-04-19T22:45:58.223Z] unset SSH_AGENT_PID; [2021-04-19T22:45:58.223Z] echo Agent pid 18 killed; [2021-04-19T22:45:58.311Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T22:45:58.654Z] + git semver [Pipeline] } [2021-04-19T22:45:58.675Z] $ docker stop --time=1 9cd5a8d747483c6ce3604c434999db17a789536d23ccf8ccf49fac589b83a355 [2021-04-19T22:46:00.047Z] $ docker rm -f 9cd5a8d747483c6ce3604c434999db17a789536d23ccf8ccf49fac589b83a355 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:46:00.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:46:00.512Z] . [Pipeline] withDockerContainer [2021-04-19T22:46:00.623Z] prd-centos7-docker-4c-2g-1000 does not seem to be running inside a container [2021-04-19T22:46:00.674Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-19T22:46:01.425Z] $ docker top 06dd614c0eeb9bacaa444d5d8bd1697a63f59dbfe1f44ed0b7e03613b852ce08 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T22:46:01.592Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T22:46:01.592Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T22:46:01.820Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T22:46:01.825Z] $ docker exec 06dd614c0eeb9bacaa444d5d8bd1697a63f59dbfe1f44ed0b7e03613b852ce08 ssh-agent [2021-04-19T22:46:02.008Z] SSH_AUTH_SOCK=/tmp/ssh-5TaAYOUak9Ru/agent.11 [2021-04-19T22:46:02.008Z] SSH_AGENT_PID=16 [2021-04-19T22:46:02.016Z] Running ssh-add (command line suppressed) [2021-04-19T22:46:02.147Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_275191814548997531.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_275191814548997531.key) [2021-04-19T22:46:02.209Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:46:02.520Z] + git semver push [2021-04-19T22:46:02.520Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T22:46:02.520Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-04-19T22:46:02.520Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-04-19T22:46:02.520Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T22:46:02.520Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T22:46:02.520Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T22:46:02.520Z] # $SEMVER_BRANCH = master [2021-04-19T22:46:02.520Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-04-19T22:46:07.852Z] $ docker exec --env ******** --env ******** 06dd614c0eeb9bacaa444d5d8bd1697a63f59dbfe1f44ed0b7e03613b852ce08 ssh-agent -k [2021-04-19T22:46:07.981Z] unset SSH_AUTH_SOCK; [2021-04-19T22:46:07.983Z] unset SSH_AGENT_PID; [2021-04-19T22:46:07.983Z] echo Agent pid 16 killed; [2021-04-19T22:46:08.035Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T22:46:08.384Z] + git semver [Pipeline] } [2021-04-19T22:46:08.403Z] $ docker stop --time=1 06dd614c0eeb9bacaa444d5d8bd1697a63f59dbfe1f44ed0b7e03613b852ce08 [2021-04-19T22:46:09.856Z] $ docker rm -f 06dd614c0eeb9bacaa444d5d8bd1697a63f59dbfe1f44ed0b7e03613b852ce08 [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 [2021-04-19T22:46:10.767Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:46:11.336Z] ---> package-listing.sh [2021-04-19T22:46:11.336Z] ++ facter osfamily [2021-04-19T22:46:11.336Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-19T22:46:11.336Z] + OS_FAMILY=redhat [2021-04-19T22:46:11.336Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_master [2021-04-19T22:46:11.336Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-19T22:46:11.336Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-19T22:46:11.336Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-19T22:46:11.336Z] + PACKAGES=/tmp/packages_start.txt [2021-04-19T22:46:11.336Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-04-19T22:46:11.336Z] + PACKAGES=/tmp/packages_end.txt [2021-04-19T22:46:11.336Z] + case "${OS_FAMILY}" in [2021-04-19T22:46:11.336Z] + rpm -qa [2021-04-19T22:46:11.336Z] + sort [2021-04-19T22:46:16.650Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-19T22:46:16.650Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-19T22:46:16.650Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-19T22:46:16.650Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-04-19T22:46:16.650Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [2021-04-19T22:46:16.650Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo [2021-04-19T22:46:16.665Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-19T22:46:17.003Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:46:17.421Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T22:46:17.421Z] [2021-04-19T22:46:17.421Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:46:17.747Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T22:46:17.747Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-19T22:46:17.747Z] df20fa9351a1: Pulling fs layer [2021-04-19T22:46:17.747Z] 36b3adc4ff6f: Pulling fs layer [2021-04-19T22:46:17.747Z] 8ad3a11d3b57: Pulling fs layer [2021-04-19T22:46:17.747Z] 46f8f816bc3b: Pulling fs layer [2021-04-19T22:46:17.747Z] 93b61091891f: Pulling fs layer [2021-04-19T22:46:17.747Z] 93b9cdb0e59b: Pulling fs layer [2021-04-19T22:46:17.747Z] 5e14af77c1be: Pulling fs layer [2021-04-19T22:46:17.747Z] 01666e4c0597: Pulling fs layer [2021-04-19T22:46:17.747Z] aa168da1d23b: Pulling fs layer [2021-04-19T22:46:17.747Z] 93b9cdb0e59b: Waiting [2021-04-19T22:46:17.747Z] 5e14af77c1be: Waiting [2021-04-19T22:46:17.747Z] 46f8f816bc3b: Waiting [2021-04-19T22:46:17.747Z] 93b61091891f: Waiting [2021-04-19T22:46:17.747Z] aa168da1d23b: Waiting [2021-04-19T22:46:17.747Z] 36b3adc4ff6f: Download complete [2021-04-19T22:46:17.747Z] 46f8f816bc3b: Verifying Checksum [2021-04-19T22:46:17.747Z] 46f8f816bc3b: Download complete [2021-04-19T22:46:17.747Z] df20fa9351a1: Verifying Checksum [2021-04-19T22:46:17.747Z] df20fa9351a1: Download complete [2021-04-19T22:46:17.747Z] 93b9cdb0e59b: Verifying Checksum [2021-04-19T22:46:17.747Z] 93b9cdb0e59b: Download complete [2021-04-19T22:46:17.747Z] 5e14af77c1be: Verifying Checksum [2021-04-19T22:46:17.747Z] 5e14af77c1be: Download complete [2021-04-19T22:46:18.009Z] 01666e4c0597: Verifying Checksum [2021-04-19T22:46:18.009Z] 01666e4c0597: Download complete [2021-04-19T22:46:18.009Z] 93b61091891f: Download complete [2021-04-19T22:46:18.009Z] 8ad3a11d3b57: Verifying Checksum [2021-04-19T22:46:18.009Z] 8ad3a11d3b57: Download complete [2021-04-19T22:46:18.277Z] df20fa9351a1: Pull complete [2021-04-19T22:46:18.542Z] 36b3adc4ff6f: Pull complete [2021-04-19T22:46:19.943Z] 8ad3a11d3b57: Pull complete [2021-04-19T22:46:19.943Z] aa168da1d23b: Verifying Checksum [2021-04-19T22:46:19.943Z] aa168da1d23b: Download complete [2021-04-19T22:46:20.210Z] 46f8f816bc3b: Pull complete [2021-04-19T22:46:20.789Z] 93b61091891f: Pull complete [2021-04-19T22:46:20.789Z] 93b9cdb0e59b: Pull complete [2021-04-19T22:46:20.789Z] 5e14af77c1be: Pull complete [2021-04-19T22:46:21.053Z] 01666e4c0597: Pull complete [2021-04-19T22:46:31.153Z] aa168da1d23b: Pull complete [2021-04-19T22:46:31.153Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-19T22:46:31.154Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T22:46:31.154Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-19T22:46:31.352Z] prd-centos7-docker-4c-2g-1000 does not seem to be running inside a container [2021-04-19T22:46:31.413Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-19T22:46:33.857Z] $ docker top df670afc568eb7bd8ffdbb616189e8dc198ef6daa85617a0c04a4298138ce4a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:46:34.328Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-19T22:46:34.670Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-19T22:46:34.999Z] + ls /var/log/sa-host [2021-04-19T22:46:34.999Z] + sadf -c /var/log/sa-host/sa19 [2021-04-19T22:46:34.999Z] file_magic: OK [2021-04-19T22:46:34.999Z] HZ: Using current value: 100 [2021-04-19T22:46:34.999Z] file_header: OK [2021-04-19T22:46:34.999Z] 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 [2021-04-19T22:46:34.999Z] Statistics: [2021-04-19T22:46:34.999Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-19T22:46:34.999Z] File successfully converted to sysstat format version 12.2.1 [2021-04-19T22:46:34.999Z] + sadf -c /var/log/sa-host/sa23 [2021-04-19T22:46:34.999Z] file_magic: OK [2021-04-19T22:46:34.999Z] HZ: Using current value: 100 [2021-04-19T22:46:34.999Z] file_header: OK [2021-04-19T22:46:34.999Z] 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 [2021-04-19T22:46:34.999Z] Statistics: [2021-04-19T22:46:34.999Z] Hnuu...uuuununununu... [2021-04-19T22:46:34.999Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-19T22:46:35.626Z] provisioning config files... [2021-04-19T22:46:35.641Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config337952746025075864tmp [Pipeline] { [Pipeline] echo [2021-04-19T22:46:35.668Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:46:35.977Z] ---> create-netrc.sh [Pipeline] } [2021-04-19T22:46:35.987Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-19T22:46:36.014Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:46:36.314Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-19T22:46:36.328Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:46:36.641Z] ---> sudo-logs.sh [2021-04-19T22:46:36.642Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-19T22:46:36.688Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:46:36.993Z] ---> job-cost.sh [2021-04-19T22:46:36.993Z] lf-activate-venv: SKIPPING [2021-04-19T22:46:36.993Z] DEBUG: total: 0.029999999329447746 [2021-04-19T22:46:36.993Z] INFO: Retrieving Stack Cost... [2021-04-19T22:46:37.951Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T22:46:38.528Z] INFO: Archiving Costs [Pipeline] echo [2021-04-19T22:46:38.550Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:46:38.876Z] ---> logs-deploy.sh [2021-04-19T22:46:38.876Z] lf-activate-venv: SKIPPING [2021-04-19T22:46:38.876Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/38 [2021-04-19T22:46:38.876Z] INFO: archiving workspace using pattern(s): [2021-04-19T22:46:40.832Z] Archives upload complete. [2021-04-19T22:46:40.832Z] INFO: archiving logs to Nexus