Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from efb367450ad80b3e18697bc790f198e4b3e468b1 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6438527349870668984.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6982221282672989701.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7970374004451925262.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4990802103353989537.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4396922693704010341.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-14870 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git Avoid second fetch Checking out Revision efb367450ad80b3e18697bc790f198e4b3e468b1 (master) > git init /w/workspace/gexfoundry_device-mqtt-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-mqtt-go_master@tmp/jenkins-gitclient-ssh1389500059807232410.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f efb367450ad80b3e18697bc790f198e4b3e468b1 # timeout=10 Commit message: "Merge pull request #247 from lenny-intel/service-keys" > git rev-list --no-walk 7449b2aa7b51ce87674ebf74544798bad0e4f615 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-18T22:55:15.620Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-18T22:55:15.705Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-18T22:55:15.732Z] ========================================================= [2021-05-18T22:55:15.732Z] EdgeX Global Pipelines Version Info [2021-05-18T22:55:15.732Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-18T22:55:17.172Z] ------------------- [2021-05-18T22:55:17.173Z] stable info: [2021-05-18T22:55:17.173Z] ------------------- [2021-05-18T22:55:17.173Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-18T22:55:17.173Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-18T22:55:17.173Z] Message: update stable to v1.0.192 [2021-05-18T22:55:17.751Z] ------------------- [2021-05-18T22:55:17.751Z] experimental info: [2021-05-18T22:55:17.751Z] ------------------- [2021-05-18T22:55:17.751Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-18T22:55:17.751Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-18T22:55:17.751Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-18T22:55:17.884Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-05-18T22:55:17.908Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-05-18T22:55:17.930Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-18T22:55:17.954Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-18T22:55:17.979Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-18T22:55:18.002Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-18T22:55:18.024Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-18T22:55:18.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-18T22:55:18.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-18T22:55:18.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-18T22:55:18.111Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-18T22:55:18.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-05-18T22:55:18.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-18T22:55:18.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-18T22:55:18.202Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-18T22:55:18.224Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-18T22:55:18.248Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-18T22:55:18.271Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-18T22:55:18.293Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-18T22:55:18.326Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-18T22:55:18.348Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-18T22:55:18.372Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-18T22:55:18.395Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-18T22:55:18.418Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-18T22:55:18.441Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-18T22:55:18.462Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-18T22:55:18.485Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-18T22:55:18.507Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-18T22:55:18.529Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-18T22:55:18.551Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = efb367450ad80b3e18697bc790f198e4b3e468b1 [Pipeline] echo [2021-05-18T22:55:18.573Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = efb3674 [Pipeline] echo [2021-05-18T22:55:18.596Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T22:55:18.671Z] provisioning config files... [2021-05-18T22:55:18.689Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7538375238116861724tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T22:55:19.005Z] ---> docker-login.sh [2021-05-18T22:55:19.005Z] nexus3.edgexfoundry.org:10001 [2021-05-18T22:55:19.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:55:19.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:55:19.274Z] Configure a credential helper to remove this warning. See [2021-05-18T22:55:19.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:55:19.274Z] [2021-05-18T22:55:19.274Z] Login Succeeded [2021-05-18T22:55:19.274Z] nexus3.edgexfoundry.org:10002 [2021-05-18T22:55:19.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:55:19.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:55:19.274Z] Configure a credential helper to remove this warning. See [2021-05-18T22:55:19.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:55:19.274Z] [2021-05-18T22:55:19.274Z] Login Succeeded [2021-05-18T22:55:19.274Z] nexus3.edgexfoundry.org:10003 [2021-05-18T22:55:19.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:55:19.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:55:19.534Z] Configure a credential helper to remove this warning. See [2021-05-18T22:55:19.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:55:19.534Z] [2021-05-18T22:55:19.534Z] Login Succeeded [2021-05-18T22:55:19.534Z] nexus3.edgexfoundry.org:10004 [2021-05-18T22:55:19.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:55:19.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:55:19.534Z] Configure a credential helper to remove this warning. See [2021-05-18T22:55:19.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:55:19.534Z] [2021-05-18T22:55:19.534Z] Login Succeeded [2021-05-18T22:55:19.534Z] docker.io [2021-05-18T22:55:19.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:55:19.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:55:19.795Z] Configure a credential helper to remove this warning. See [2021-05-18T22:55:19.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:55:19.795Z] [2021-05-18T22:55:19.795Z] Login Succeeded [2021-05-18T22:55:19.795Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T22:55:19.810Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-18T22:55:20.307Z] + git log --format=format:%s -1 efb367450ad80b3e18697bc790f198e4b3e468b1 [Pipeline] echo [2021-05-18T22:55:20.344Z] GIT_COMMIT: efb367450ad80b3e18697bc790f198e4b3e468b1, Commit Message: Merge pull request #247 from lenny-intel/service-keys [Pipeline] echo [2021-05-18T22:55:20.358Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:55:20.971Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T22:55:20.971Z] [2021-05-18T22:55:20.971Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:55:21.293Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T22:55:21.293Z] latest: Pulling from edgex-devops/git-semver [2021-05-18T22:55:21.293Z] 31603596830f: Pulling fs layer [2021-05-18T22:55:21.293Z] 54011a49482f: Pulling fs layer [2021-05-18T22:55:21.293Z] a6820b24f6d8: Pulling fs layer [2021-05-18T22:55:21.293Z] f581987b2513: Pulling fs layer [2021-05-18T22:55:21.293Z] f581987b2513: Waiting [2021-05-18T22:55:21.293Z] 54011a49482f: Verifying Checksum [2021-05-18T22:55:21.293Z] 54011a49482f: Download complete [2021-05-18T22:55:21.293Z] 31603596830f: Verifying Checksum [2021-05-18T22:55:21.293Z] 31603596830f: Download complete [2021-05-18T22:55:21.563Z] f581987b2513: Verifying Checksum [2021-05-18T22:55:21.563Z] f581987b2513: Download complete [2021-05-18T22:55:21.563Z] a6820b24f6d8: Verifying Checksum [2021-05-18T22:55:21.563Z] a6820b24f6d8: Download complete [2021-05-18T22:55:21.563Z] 31603596830f: Pull complete [2021-05-18T22:55:21.830Z] 54011a49482f: Pull complete [2021-05-18T22:55:22.419Z] a6820b24f6d8: Pull complete [2021-05-18T22:55:22.681Z] f581987b2513: Pull complete [2021-05-18T22:55:22.681Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-18T22:55:22.681Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T22:55:22.681Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-18T22:55:22.757Z] prd-centos7-docker-4c-2g-14870 does not seem to be running inside a container [2021-05-18T22:55:22.801Z] $ 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-05-18T22:55:23.831Z] $ docker top ab258a77c7dacc2e3362f86cc943819ffae68c88737315912ff0ee2866e11535 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-18T22:55:23.955Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-18T22:55:23.955Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-18T22:55:24.075Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-18T22:55:24.078Z] $ docker exec ab258a77c7dacc2e3362f86cc943819ffae68c88737315912ff0ee2866e11535 ssh-agent [2021-05-18T22:55:24.186Z] SSH_AUTH_SOCK=/tmp/ssh-VHfIxr0JwrqR/agent.14 [2021-05-18T22:55:24.186Z] SSH_AGENT_PID=20 [2021-05-18T22:55:24.193Z] Running ssh-add (command line suppressed) [2021-05-18T22:55:24.285Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_153520065924029373.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_153520065924029373.key) [2021-05-18T22:55:24.298Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-18T22:55:24.603Z] + git tag --points-at HEAD [Pipeline] } [2021-05-18T22:55:24.623Z] $ docker exec --env ******** --env ******** ab258a77c7dacc2e3362f86cc943819ffae68c88737315912ff0ee2866e11535 ssh-agent -k [2021-05-18T22:55:24.715Z] unset SSH_AUTH_SOCK; [2021-05-18T22:55:24.716Z] unset SSH_AGENT_PID; [2021-05-18T22:55:24.716Z] echo Agent pid 20 killed; [2021-05-18T22:55:24.730Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-18T22:55:24.772Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-18T22:55:24.772Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-18T22:55:24.892Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-18T22:55:24.895Z] $ docker exec ab258a77c7dacc2e3362f86cc943819ffae68c88737315912ff0ee2866e11535 ssh-agent [2021-05-18T22:55:24.997Z] SSH_AUTH_SOCK=/tmp/ssh-vwTvH3ytSAMm/agent.55 [2021-05-18T22:55:24.997Z] SSH_AGENT_PID=61 [2021-05-18T22:55:25.003Z] Running ssh-add (command line suppressed) [2021-05-18T22:55:25.103Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5158241154400895346.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5158241154400895346.key) [2021-05-18T22:55:25.116Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-18T22:55:25.419Z] + git semver init [2021-05-18T22:55:25.419Z] # -> Open(): unable to determine branch for HEAD [2021-05-18T22:55:25.419Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-05-18T22:55:25.419Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-05-18T22:55:25.419Z] # $SEMVER_REMOTE_NAME = origin [2021-05-18T22:55:25.419Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-18T22:55:25.419Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-18T22:55:25.419Z] # $SEMVER_BRANCH = master [2021-05-18T22:55:25.419Z] # $SEMVER_TEMP = /tmp/semver-160294374 [2021-05-18T22:55:25.419Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-05-18T22:55:25.682Z] # '/tmp/semver-160294374' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' [2021-05-18T22:55:25.682Z] # -> Force: false [2021-05-18T22:55:25.682Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-05-18T22:55:25.694Z] $ docker exec --env ******** --env ******** ab258a77c7dacc2e3362f86cc943819ffae68c88737315912ff0ee2866e11535 ssh-agent -k [2021-05-18T22:55:25.789Z] unset SSH_AUTH_SOCK; [2021-05-18T22:55:25.789Z] unset SSH_AGENT_PID; [2021-05-18T22:55:25.789Z] echo Agent pid 61 killed; [2021-05-18T22:55:25.805Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-18T22:55:26.168Z] + git semver [Pipeline] } [2021-05-18T22:55:26.186Z] $ docker stop --time=1 ab258a77c7dacc2e3362f86cc943819ffae68c88737315912ff0ee2866e11535 [2021-05-18T22:55:27.476Z] $ docker rm -f ab258a77c7dacc2e3362f86cc943819ffae68c88737315912ff0ee2866e11535 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-18T22:55:27.831Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-18T22:55:28.094Z] Stashed 1 file(s) [Pipeline] echo [2021-05-18T22:55:28.098Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.12 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-18T22:55:43.357Z] Still waiting to schedule task [2021-05-18T22:55:43.357Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-18T22:55:43.359Z] Still waiting to schedule task [2021-05-18T22:55:43.360Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-14869’ is offline [2021-05-18T22:56:23.210Z] Running on prd-centos7-docker-4c-2g-14876 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-05-18T22:56:23.227Z] Running in /w/workspace/device-mqtt-go/44 [Pipeline] { [Pipeline] checkout [2021-05-18T22:56:23.346Z] Selected Git installation does not exist. Using Default [2021-05-18T22:56:23.346Z] The recommended git tool is: NONE [2021-05-18T22:56:25.872Z] using credential edgex-jenkins-ssh [2021-05-18T22:56:25.896Z] Cloning the remote Git repository [2021-05-18T22:56:26.578Z] Avoid second fetch [2021-05-18T22:56:26.579Z] Checking out Revision efb367450ad80b3e18697bc790f198e4b3e468b1 (master) [2021-05-18T22:56:25.913Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-18T22:56:25.975Z] > git init /w/workspace/device-mqtt-go/44 # timeout=10 [2021-05-18T22:56:26.014Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-18T22:56:26.014Z] > git --version # timeout=10 [2021-05-18T22:56:26.020Z] > git --version # 'git version 2.24.4' [2021-05-18T22:56:26.020Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T22:56:26.038Z] [INFO] Currently running in a labeled security context [2021-05-18T22:56:26.039Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-18T22:56:26.039Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/44@tmp/jenkins-gitclient-ssh5966139231911647476.key [2021-05-18T22:56:26.049Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T22:56:26.563Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-05-18T22:56:26.572Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T22:56:26.589Z] > git config core.sparsecheckout # timeout=10 [2021-05-18T22:56:26.595Z] > git checkout -f efb367450ad80b3e18697bc790f198e4b3e468b1 # timeout=10 [2021-05-18T22:56:30.179Z] Commit message: "Merge pull request #247 from lenny-intel/service-keys" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-18T22:56:31.055Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-18T22:56:31.383Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-18T22:56:31.691Z] + sudo service docker restart [2021-05-18T22:56:31.691Z] + true [2021-05-18T22:56:31.691Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T22:56:49.858Z] provisioning config files... [2021-05-18T22:56:49.870Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/44@tmp/config7376598843378715676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T22:56:50.207Z] ---> docker-login.sh [2021-05-18T22:56:50.207Z] nexus3.edgexfoundry.org:10001 [2021-05-18T22:56:50.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:56:50.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:56:50.473Z] Configure a credential helper to remove this warning. See [2021-05-18T22:56:50.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:56:50.473Z] [2021-05-18T22:56:50.473Z] Login Succeeded [2021-05-18T22:56:50.473Z] nexus3.edgexfoundry.org:10002 [2021-05-18T22:56:50.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:56:50.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:56:50.473Z] Configure a credential helper to remove this warning. See [2021-05-18T22:56:50.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:56:50.473Z] [2021-05-18T22:56:50.473Z] Login Succeeded [2021-05-18T22:56:50.473Z] nexus3.edgexfoundry.org:10003 [2021-05-18T22:56:50.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:56:50.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:56:50.734Z] Configure a credential helper to remove this warning. See [2021-05-18T22:56:50.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:56:50.734Z] [2021-05-18T22:56:50.734Z] Login Succeeded [2021-05-18T22:56:50.734Z] nexus3.edgexfoundry.org:10004 [2021-05-18T22:56:50.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:56:50.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:56:50.734Z] Configure a credential helper to remove this warning. See [2021-05-18T22:56:50.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:56:50.734Z] [2021-05-18T22:56:50.734Z] Login Succeeded [2021-05-18T22:56:50.734Z] docker.io [2021-05-18T22:56:50.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:56:51.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:56:51.307Z] Configure a credential helper to remove this warning. See [2021-05-18T22:56:51.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:56:51.307Z] [2021-05-18T22:56:51.307Z] Login Succeeded [2021-05-18T22:56:51.307Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T22:56:51.316Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-18T22:56:51.490Z] ========================================================= [2021-05-18T22:56:51.490Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-18T22:56:51.490Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:56:51.810Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-18T22:56:51.810Z] Sending build context to Docker daemon 545.3kB [2021-05-18T22:56:51.810Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-18T22:56:51.810Z] Step 2/8 : FROM ${BASE} [2021-05-18T22:56:51.810Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-18T22:56:51.810Z] 540db60ca938: Pulling fs layer [2021-05-18T22:56:51.810Z] adcc1eea9eea: Pulling fs layer [2021-05-18T22:56:51.810Z] 4c4ab2625f07: Pulling fs layer [2021-05-18T22:56:51.810Z] 0510c868ecb4: Pulling fs layer [2021-05-18T22:56:51.810Z] afea3b2eda06: Pulling fs layer [2021-05-18T22:56:51.810Z] 7809a108b3ef: Pulling fs layer [2021-05-18T22:56:51.810Z] f706445af74f: Pulling fs layer [2021-05-18T22:56:51.810Z] 0510c868ecb4: Waiting [2021-05-18T22:56:51.810Z] afea3b2eda06: Waiting [2021-05-18T22:56:51.810Z] 7809a108b3ef: Waiting [2021-05-18T22:56:51.810Z] f706445af74f: Waiting [2021-05-18T22:56:51.810Z] 4c4ab2625f07: Download complete [2021-05-18T22:56:52.074Z] adcc1eea9eea: Verifying Checksum [2021-05-18T22:56:52.074Z] adcc1eea9eea: Download complete [2021-05-18T22:56:52.074Z] afea3b2eda06: Verifying Checksum [2021-05-18T22:56:52.074Z] afea3b2eda06: Download complete [2021-05-18T22:56:52.074Z] 7809a108b3ef: Verifying Checksum [2021-05-18T22:56:52.074Z] 7809a108b3ef: Download complete [2021-05-18T22:56:52.074Z] 540db60ca938: Verifying Checksum [2021-05-18T22:56:52.074Z] 540db60ca938: Download complete [2021-05-18T22:56:52.347Z] 540db60ca938: Pull complete [2021-05-18T22:56:52.347Z] adcc1eea9eea: Pull complete [2021-05-18T22:56:52.609Z] 4c4ab2625f07: Pull complete [2021-05-18T22:56:53.551Z] f706445af74f: Verifying Checksum [2021-05-18T22:56:53.551Z] f706445af74f: Download complete [2021-05-18T22:56:53.811Z] 0510c868ecb4: Verifying Checksum [2021-05-18T22:56:53.811Z] 0510c868ecb4: Download complete [2021-05-18T22:56:57.131Z] 0510c868ecb4: Pull complete [2021-05-18T22:56:57.131Z] afea3b2eda06: Pull complete [2021-05-18T22:56:57.131Z] 7809a108b3ef: Pull complete [2021-05-18T22:56:58.536Z] f706445af74f: Pull complete [2021-05-18T22:56:58.536Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-18T22:56:58.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-18T22:56:58.536Z] ---> b068be0155e3 [2021-05-18T22:56:58.536Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-18T22:57:02.752Z] ---> Running in 9ddf4c355bd1 [2021-05-18T22:57:02.752Z] Removing intermediate container 9ddf4c355bd1 [2021-05-18T22:57:02.752Z] ---> 0a5d87ffdaf7 [2021-05-18T22:57:02.752Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-18T22:57:02.752Z] ---> Running in dd24fcd8e505 [2021-05-18T22:57:03.015Z] Removing intermediate container dd24fcd8e505 [2021-05-18T22:57:03.015Z] ---> 1e27fdd88dc0 [2021-05-18T22:57:03.015Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-18T22:57:03.275Z] ---> Running in fc2349f0cce0 [2021-05-18T22:57:03.536Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-18T22:57:04.115Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-18T22:57:04.687Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-18T22:57:04.687Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-18T22:57:04.948Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-18T22:57:04.948Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-18T22:57:04.948Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-18T22:57:05.208Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-18T22:57:05.208Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-18T22:57:05.471Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-18T22:57:05.733Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-18T22:57:05.733Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-18T22:57:05.733Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-18T22:57:05.993Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-18T22:57:05.993Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-18T22:57:05.993Z] Executing busybox-1.32.1-r6.trigger [2021-05-18T22:57:05.993Z] OK: 156 MiB in 53 packages [2021-05-18T22:57:06.566Z] Removing intermediate container fc2349f0cce0 [2021-05-18T22:57:06.566Z] ---> 942745a63a6e [2021-05-18T22:57:06.566Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-05-18T22:57:06.566Z] ---> Running in 3306407ff2be [2021-05-18T22:57:06.566Z] Removing intermediate container 3306407ff2be [2021-05-18T22:57:06.566Z] ---> 595cccf7bf32 [2021-05-18T22:57:06.566Z] Step 7/8 : COPY . . [2021-05-18T22:57:06.825Z] ---> b67ad116eeb2 [2021-05-18T22:57:06.825Z] Step 8/8 : RUN go mod download [2021-05-18T22:57:06.825Z] ---> Running in 7655f8eb7169 [2021-05-18T22:57:24.959Z] Removing intermediate container 7655f8eb7169 [2021-05-18T22:57:24.959Z] ---> 82985beaaff2 [2021-05-18T22:57:24.959Z] Successfully built 82985beaaff2 [2021-05-18T22:57:24.959Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:57:25.264Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-18T22:57:25.264Z] . [Pipeline] withDockerContainer [2021-05-18T22:57:25.343Z] prd-centos7-docker-4c-2g-14876 does not seem to be running inside a container [2021-05-18T22:57:25.390Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/44 -v /w/workspace/device-mqtt-go/44:/w/workspace/device-mqtt-go/44:rw,z -v /w/workspace/device-mqtt-go/44@tmp:/w/workspace/device-mqtt-go/44@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-18T22:57:25.761Z] $ docker top ef277144a61a39da0deb1ced17d386740e9e6c4c00e5e7275fae7f8fed91a856 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-18T22:57:26.132Z] + go version [2021-05-18T22:57:26.132Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-18T22:57:26.145Z] $ docker stop --time=1 ef277144a61a39da0deb1ced17d386740e9e6c4c00e5e7275fae7f8fed91a856 [2021-05-18T22:57:27.315Z] $ docker rm -f ef277144a61a39da0deb1ced17d386740e9e6c4c00e5e7275fae7f8fed91a856 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:57:27.860Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-18T22:57:27.860Z] . [Pipeline] withDockerContainer [2021-05-18T22:57:27.931Z] prd-centos7-docker-4c-2g-14876 does not seem to be running inside a container [2021-05-18T22:57:28.139Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/44 -v /w/workspace/device-mqtt-go/44:/w/workspace/device-mqtt-go/44:rw,z -v /w/workspace/device-mqtt-go/44@tmp:/w/workspace/device-mqtt-go/44@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-18T22:57:28.560Z] $ docker top 0de3799c9dba9e6df77ca2d3cfb3189ee0a4a77ca9becc4b2a0634c85c654444 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-18T22:57:28.950Z] + go mod tidy [Pipeline] sh [2021-05-18T22:57:29.536Z] + make test [2021-05-18T22:57:29.536Z] go mod tidy [2021-05-18T22:57:29.536Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-18T22:57:30.114Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-05-18T22:57:45.111Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-05-18T22:57:46.524Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 24.9% of statements [2021-05-18T22:57:46.524Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-05-18T22:57:46.524Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-18T22:57:53.197Z] gofmt -l . [2021-05-18T22:57:53.197Z] ["`gofmt -l .`" = ""] [2021-05-18T22:57:53.197Z] ./bin/test-attribution-txt.sh [2021-05-18T22:57:53.197Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-18T22:57:53.474Z] $ docker stop --time=1 0de3799c9dba9e6df77ca2d3cfb3189ee0a4a77ca9becc4b2a0634c85c654444 [2021-05-18T22:57:54.919Z] $ docker rm -f 0de3799c9dba9e6df77ca2d3cfb3189ee0a4a77ca9becc4b2a0634c85c654444 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-18T22:57:55.333Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-18T22:57:55.513Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-18T22:57:56.722Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-18T22:57:57.018Z] + ls -al . [2021-05-18T22:57:57.018Z] total 108 [2021-05-18T22:57:57.018Z] drwxrwxr-x. 9 jenkins jenkins 4096 May 18 22:57 . [2021-05-18T22:57:57.018Z] drwxrwxr-x. 4 jenkins jenkins 30 May 18 22:56 .. [2021-05-18T22:57:57.018Z] -rw-rw-r--. 1 jenkins jenkins 7100 May 18 22:56 Attribution.txt [2021-05-18T22:57:57.018Z] drwxrwxr-x. 2 jenkins jenkins 87 May 18 22:56 bin [2021-05-18T22:57:57.018Z] drwxrwxr-x. 3 jenkins jenkins 32 May 18 22:56 cmd [2021-05-18T22:57:57.018Z] -rw-r--r--. 1 jenkins jenkins 19386 May 18 22:57 coverage.out [2021-05-18T22:57:57.018Z] -rw-rw-r--. 1 jenkins jenkins 1877 May 18 22:56 Dockerfile [2021-05-18T22:57:57.018Z] -rw-rw-r--. 1 jenkins jenkins 994 May 18 22:56 Dockerfile.build [2021-05-18T22:57:57.018Z] -rw-rw-r--. 1 jenkins jenkins 140 May 18 22:56 .dockerignore [2021-05-18T22:57:57.018Z] drwxrwxr-x. 8 jenkins jenkins 162 May 18 22:56 .git [2021-05-18T22:57:57.018Z] drwxrwxr-x. 2 jenkins jenkins 103 May 18 22:56 .github [2021-05-18T22:57:57.018Z] -rw-rw-r--. 1 jenkins jenkins 336 May 18 22:56 .gitignore [2021-05-18T22:57:57.018Z] -rw-r--r--. 1 jenkins jenkins 409 May 18 22:57 go.mod [2021-05-18T22:57:57.018Z] -rw-r--r--. 1 jenkins jenkins 21382 May 18 22:57 go.sum [2021-05-18T22:57:57.018Z] drwxrwxr-x. 3 jenkins jenkins 20 May 18 22:56 internal [2021-05-18T22:57:57.018Z] -rw-rw-r--. 1 jenkins jenkins 677 May 18 22:56 Jenkinsfile [2021-05-18T22:57:57.018Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 18 22:56 LICENSE [2021-05-18T22:57:57.018Z] -rw-rw-r--. 1 jenkins jenkins 934 May 18 22:56 Makefile [2021-05-18T22:57:57.018Z] drwxrwxr-x. 2 jenkins jenkins 23 May 18 22:56 mock [2021-05-18T22:57:57.018Z] -rw-rw-r--. 1 jenkins jenkins 2217 May 18 22:56 README.md [2021-05-18T22:57:57.018Z] drwxrwxr-x. 4 jenkins jenkins 71 May 18 22:56 snap [2021-05-18T22:57:57.018Z] -rw-rw-r--. 1 jenkins jenkins 12 May 18 22:55 VERSION [2021-05-18T22:57:57.018Z] -rw-rw-r--. 1 jenkins jenkins 227 May 18 22:56 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:57:57.321Z] + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=efb367450ad80b3e18697bc790f198e4b3e468b1 --label arch=amd64 --label version=1.3.2-dev.12 . [2021-05-18T22:57:57.321Z] Sending build context to Docker daemon 565.2kB [2021-05-18T22:57:57.321Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-18T22:57:57.321Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-18T22:57:57.321Z] ---> 82985beaaff2 [2021-05-18T22:57:57.321Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-18T22:57:57.321Z] ---> Running in 62a4920d454d [2021-05-18T22:57:57.594Z] Removing intermediate container 62a4920d454d [2021-05-18T22:57:57.594Z] ---> 0c5eb4dbe83b [2021-05-18T22:57:57.594Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-18T22:57:57.594Z] ---> Running in df7c5b61eab5 [2021-05-18T22:57:57.594Z] Removing intermediate container df7c5b61eab5 [2021-05-18T22:57:57.594Z] ---> adb227518d8d [2021-05-18T22:57:57.594Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-18T22:57:57.594Z] ---> Running in b6dce1061bd7 [2021-05-18T22:57:58.166Z] Removing intermediate container b6dce1061bd7 [2021-05-18T22:57:58.166Z] ---> 1789aa07ccb6 [2021-05-18T22:57:58.166Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-18T22:57:58.166Z] ---> Running in b705e9373f30 [2021-05-18T22:57:58.428Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-18T22:57:59.368Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-18T22:57:59.640Z] OK: 156 MiB in 53 packages [2021-05-18T22:57:59.902Z] Removing intermediate container b705e9373f30 [2021-05-18T22:57:59.902Z] ---> 249c3d8c7014 [2021-05-18T22:57:59.902Z] Step 7/24 : WORKDIR /device-mqtt-go [2021-05-18T22:57:59.902Z] ---> Running in 5bdbfb5fc18d [2021-05-18T22:57:59.902Z] Removing intermediate container 5bdbfb5fc18d [2021-05-18T22:57:59.902Z] ---> 6da37910f8ea [2021-05-18T22:57:59.902Z] Step 8/24 : COPY . . [2021-05-18T22:58:00.165Z] ---> 05b7072dadba [2021-05-18T22:58:00.165Z] Step 9/24 : RUN go mod tidy [2021-05-18T22:58:00.165Z] ---> Running in 754d3375e139 [2021-05-18T22:58:00.756Z] Removing intermediate container 754d3375e139 [2021-05-18T22:58:00.756Z] ---> 07d8c81e5093 [2021-05-18T22:58:00.756Z] Step 10/24 : RUN go mod download [2021-05-18T22:58:01.019Z] ---> Running in c3e95f7e2482 [2021-05-18T22:58:01.605Z] Removing intermediate container c3e95f7e2482 [2021-05-18T22:58:01.605Z] ---> 88f50aa37361 [2021-05-18T22:58:01.605Z] Step 11/24 : ARG MAKE='make build' [2021-05-18T22:58:01.605Z] ---> Running in 2392eab7357e [2021-05-18T22:58:01.605Z] Removing intermediate container 2392eab7357e [2021-05-18T22:58:01.605Z] ---> 2c34ce9fb081 [2021-05-18T22:58:01.605Z] Step 12/24 : RUN $MAKE [2021-05-18T22:58:01.605Z] ---> Running in 38540363aefb [2021-05-18T22:58:01.873Z] go mod tidy [2021-05-18T22:58:02.143Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.12" -o cmd/device-mqtt ./cmd [2021-05-18T22:58:14.448Z] Removing intermediate container 38540363aefb [2021-05-18T22:58:14.448Z] ---> d8eb446c7a3e [2021-05-18T22:58:14.448Z] Step 13/24 : FROM alpine:3.12 [2021-05-18T22:58:14.448Z] 3.12: Pulling from library/alpine [2021-05-18T22:58:14.448Z] 339de151aab4: Pulling fs layer [2021-05-18T22:58:14.448Z] 339de151aab4: Verifying Checksum [2021-05-18T22:58:14.448Z] 339de151aab4: Download complete [2021-05-18T22:58:14.709Z] 339de151aab4: Pull complete [2021-05-18T22:58:14.709Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-18T22:58:14.709Z] Status: Downloaded newer image for alpine:3.12 [2021-05-18T22:58:14.709Z] ---> 13621d1b12d4 [2021-05-18T22:58:14.709Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-05-18T22:58:14.709Z] ---> Running in 965a8f6c813e [2021-05-18T22:58:14.709Z] Removing intermediate container 965a8f6c813e [2021-05-18T22:58:14.710Z] ---> 3b10851c43ef [2021-05-18T22:58:14.710Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-18T22:58:14.710Z] ---> Running in 4d7561430c53 [2021-05-18T22:58:14.969Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-18T22:58:14.969Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-18T22:58:15.229Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-18T22:58:15.229Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-18T22:58:15.229Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-18T22:58:15.229Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-18T22:58:15.229Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-18T22:58:15.229Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-18T22:58:15.229Z] Executing busybox-1.31.1-r20.trigger [2021-05-18T22:58:15.229Z] OK: 8 MiB in 20 packages [2021-05-18T22:58:15.489Z] Removing intermediate container 4d7561430c53 [2021-05-18T22:58:15.489Z] ---> 62540030f1b4 [2021-05-18T22:58:15.489Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2021-05-18T22:58:15.749Z] ---> 18ff2bd65517 [2021-05-18T22:58:15.749Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-05-18T22:58:16.009Z] ---> 6c04fae53d3c [2021-05-18T22:58:16.009Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-05-18T22:58:16.009Z] ---> 90b5175413af [2021-05-18T22:58:16.009Z] Step 19/24 : EXPOSE 49982 [2021-05-18T22:58:16.274Z] ---> Running in 490666776d32 [2021-05-18T22:58:16.274Z] Removing intermediate container 490666776d32 [2021-05-18T22:58:16.274Z] ---> 21e6ff90fe98 [2021-05-18T22:58:16.274Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2021-05-18T22:58:16.274Z] ---> Running in 9ee711febe95 [2021-05-18T22:58:16.274Z] Removing intermediate container 9ee711febe95 [2021-05-18T22:58:16.274Z] ---> b0dd5bb9e447 [2021-05-18T22:58:16.274Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-18T22:58:16.274Z] ---> Running in 63c15c938574 [2021-05-18T22:58:16.535Z] Removing intermediate container 63c15c938574 [2021-05-18T22:58:16.535Z] ---> d891c64fb0fd [2021-05-18T22:58:16.535Z] Step 22/24 : LABEL arch=amd64 [2021-05-18T22:58:16.535Z] ---> Running in cbbdb40a5f7d [2021-05-18T22:58:16.535Z] Removing intermediate container cbbdb40a5f7d [2021-05-18T22:58:16.535Z] ---> 3eed1a7b69dc [2021-05-18T22:58:16.535Z] Step 23/24 : LABEL git_sha=efb367450ad80b3e18697bc790f198e4b3e468b1 [2021-05-18T22:58:16.535Z] ---> Running in f409ab85d4a2 [2021-05-18T22:58:16.797Z] Removing intermediate container f409ab85d4a2 [2021-05-18T22:58:16.797Z] ---> 2767ecea02ab [2021-05-18T22:58:16.797Z] Step 24/24 : LABEL version=1.3.2-dev.12 [2021-05-18T22:58:16.797Z] ---> Running in 0b9040244577 [2021-05-18T22:58:16.797Z] Removing intermediate container 0b9040244577 [2021-05-18T22:58:16.797Z] ---> 3a3b17d66940 [2021-05-18T22:58:16.797Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-18T22:58:16.797Z] Successfully built 3a3b17d66940 [2021-05-18T22:58:16.797Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T22:58:16.975Z] provisioning config files... [2021-05-18T22:58:16.986Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/44@tmp/config841587323498660029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T22:58:17.320Z] ---> docker-login.sh [2021-05-18T22:58:17.320Z] nexus3.edgexfoundry.org:10001 [2021-05-18T22:58:17.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:58:17.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:58:17.320Z] Configure a credential helper to remove this warning. See [2021-05-18T22:58:17.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:58:17.320Z] [2021-05-18T22:58:17.320Z] Login Succeeded [2021-05-18T22:58:17.320Z] nexus3.edgexfoundry.org:10002 [2021-05-18T22:58:17.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:58:17.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:58:17.581Z] Configure a credential helper to remove this warning. See [2021-05-18T22:58:17.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:58:17.581Z] [2021-05-18T22:58:17.581Z] Login Succeeded [2021-05-18T22:58:17.581Z] nexus3.edgexfoundry.org:10003 [2021-05-18T22:58:17.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:58:17.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:58:17.581Z] Configure a credential helper to remove this warning. See [2021-05-18T22:58:17.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:58:17.581Z] [2021-05-18T22:58:17.581Z] Login Succeeded [2021-05-18T22:58:17.581Z] nexus3.edgexfoundry.org:10004 [2021-05-18T22:58:17.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:58:17.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:58:17.840Z] Configure a credential helper to remove this warning. See [2021-05-18T22:58:17.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:58:17.840Z] [2021-05-18T22:58:17.840Z] Login Succeeded [2021-05-18T22:58:17.840Z] docker.io [2021-05-18T22:58:17.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:58:18.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:58:18.102Z] Configure a credential helper to remove this warning. See [2021-05-18T22:58:18.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:58:18.102Z] [2021-05-18T22:58:18.102Z] Login Succeeded [2021-05-18T22:58:18.102Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T22:58:18.110Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-18T22:58:18.225Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2021-05-18T22:58:18.226Z] efb367450ad80b3e18697bc790f198e4b3e468b1 [2021-05-18T22:58:18.226Z] latest [2021-05-18T22:58:18.226Z] 1.3.2-dev.12 [2021-05-18T22:58:18.226Z] efb367450ad80b3e18697bc790f198e4b3e468b1-1.3.2-dev.12 [2021-05-18T22:58:18.226Z] master [2021-05-18T22:58:18.226Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:58:18.583Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:efb367450ad80b3e18697bc790f198e4b3e468b1 [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:58:18.877Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:efb367450ad80b3e18697bc790f198e4b3e468b1 [2021-05-18T22:58:18.877Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-05-18T22:58:18.877Z] 643ca001c11d: Preparing [2021-05-18T22:58:18.877Z] b2574c7888c4: Preparing [2021-05-18T22:58:18.877Z] 5641a935531b: Preparing [2021-05-18T22:58:18.877Z] 098cb75942c2: Preparing [2021-05-18T22:58:18.877Z] 32f366d666a5: Preparing [2021-05-18T22:58:18.877Z] 643ca001c11d: Pushed [2021-05-18T22:58:19.142Z] 32f366d666a5: Layer already exists [2021-05-18T22:58:19.142Z] b2574c7888c4: Pushed [2021-05-18T22:58:19.142Z] 098cb75942c2: Pushed [2021-05-18T22:58:20.538Z] 5641a935531b: Pushed [2021-05-18T22:58:20.799Z] efb367450ad80b3e18697bc790f198e4b3e468b1: digest: sha256:2186f4d3e32088cf8c892cfcda2f32a42e9e1dc8502d1ffcbb58c23daf32da86 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:58:21.111Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:58:21.416Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-05-18T22:58:21.416Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-05-18T22:58:21.416Z] 643ca001c11d: Preparing [2021-05-18T22:58:21.416Z] b2574c7888c4: Preparing [2021-05-18T22:58:21.416Z] 5641a935531b: Preparing [2021-05-18T22:58:21.416Z] 098cb75942c2: Preparing [2021-05-18T22:58:21.416Z] 32f366d666a5: Preparing [2021-05-18T22:58:21.416Z] 098cb75942c2: Layer already exists [2021-05-18T22:58:21.416Z] 32f366d666a5: Layer already exists [2021-05-18T22:58:21.416Z] 5641a935531b: Layer already exists [2021-05-18T22:58:21.416Z] 643ca001c11d: Layer already exists [2021-05-18T22:58:21.416Z] b2574c7888c4: Layer already exists [2021-05-18T22:58:21.416Z] latest: digest: sha256:2186f4d3e32088cf8c892cfcda2f32a42e9e1dc8502d1ffcbb58c23daf32da86 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:58:21.725Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.12 [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:58:22.024Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.12 [2021-05-18T22:58:22.024Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-05-18T22:58:22.024Z] 643ca001c11d: Preparing [2021-05-18T22:58:22.024Z] b2574c7888c4: Preparing [2021-05-18T22:58:22.024Z] 5641a935531b: Preparing [2021-05-18T22:58:22.024Z] 098cb75942c2: Preparing [2021-05-18T22:58:22.024Z] 32f366d666a5: Preparing [2021-05-18T22:58:22.024Z] 098cb75942c2: Layer already exists [2021-05-18T22:58:22.024Z] 5641a935531b: Layer already exists [2021-05-18T22:58:22.024Z] 643ca001c11d: Layer already exists [2021-05-18T22:58:22.024Z] 32f366d666a5: Layer already exists [2021-05-18T22:58:22.024Z] b2574c7888c4: Layer already exists [2021-05-18T22:58:22.024Z] 1.3.2-dev.12: digest: sha256:2186f4d3e32088cf8c892cfcda2f32a42e9e1dc8502d1ffcbb58c23daf32da86 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:58:22.332Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:efb367450ad80b3e18697bc790f198e4b3e468b1-1.3.2-dev.12 [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:58:22.631Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:efb367450ad80b3e18697bc790f198e4b3e468b1-1.3.2-dev.12 [2021-05-18T22:58:22.631Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-05-18T22:58:22.631Z] 643ca001c11d: Preparing [2021-05-18T22:58:22.631Z] b2574c7888c4: Preparing [2021-05-18T22:58:22.631Z] 5641a935531b: Preparing [2021-05-18T22:58:22.631Z] 098cb75942c2: Preparing [2021-05-18T22:58:22.631Z] 32f366d666a5: Preparing [2021-05-18T22:58:22.631Z] b2574c7888c4: Layer already exists [2021-05-18T22:58:22.631Z] 643ca001c11d: Layer already exists [2021-05-18T22:58:22.631Z] 098cb75942c2: Layer already exists [2021-05-18T22:58:22.631Z] 32f366d666a5: Layer already exists [2021-05-18T22:58:22.631Z] 5641a935531b: Layer already exists [2021-05-18T22:58:22.631Z] efb367450ad80b3e18697bc790f198e4b3e468b1-1.3.2-dev.12: digest: sha256:2186f4d3e32088cf8c892cfcda2f32a42e9e1dc8502d1ffcbb58c23daf32da86 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:58:22.937Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:58:23.239Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:master [2021-05-18T22:58:23.239Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-05-18T22:58:23.239Z] 643ca001c11d: Preparing [2021-05-18T22:58:23.239Z] b2574c7888c4: Preparing [2021-05-18T22:58:23.239Z] 5641a935531b: Preparing [2021-05-18T22:58:23.239Z] 098cb75942c2: Preparing [2021-05-18T22:58:23.239Z] 32f366d666a5: Preparing [2021-05-18T22:58:23.239Z] b2574c7888c4: Layer already exists [2021-05-18T22:58:23.239Z] 32f366d666a5: Layer already exists [2021-05-18T22:58:23.239Z] 5641a935531b: Layer already exists [2021-05-18T22:58:23.239Z] 643ca001c11d: Layer already exists [2021-05-18T22:58:23.239Z] 098cb75942c2: Layer already exists [2021-05-18T22:58:23.239Z] master: digest: sha256:2186f4d3e32088cf8c892cfcda2f32a42e9e1dc8502d1ffcbb58c23daf32da86 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-18T22:58:23.293Z] ===================================================== [Pipeline] echo [2021-05-18T22:58:23.308Z] taggedImages: [2021-05-18T22:58:23.308Z] - nexus3.edgexfoundry.org:10004/device-mqtt:efb367450ad80b3e18697bc790f198e4b3e468b1 [2021-05-18T22:58:23.308Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-05-18T22:58:23.308Z] - nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.12 [2021-05-18T22:58:23.308Z] - nexus3.edgexfoundry.org:10004/device-mqtt:efb367450ad80b3e18697bc790f198e4b3e468b1-1.3.2-dev.12 [2021-05-18T22:58:23.308Z] - nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-18T22:58:24.115Z] ---> job-cost.sh [2021-05-18T22:58:24.115Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-baS0 [2021-05-18T22:58:34.129Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-18T22:58:46.377Z] lf-activate-venv(): INFO: Adding /tmp/venv-baS0/bin to PATH [2021-05-18T22:58:46.378Z] INFO: No Stack... [2021-05-18T22:58:46.378Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-18T22:58:46.378Z] INFO: Archiving Costs [Pipeline] sh [2021-05-18T22:58:46.680Z] + cat /w/workspace/device-mqtt-go/44/archives/cost.csv [2021-05-18T22:58:46.680Z] + cut -d, -f6 [Pipeline] lock [2021-05-18T22:58:46.716Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-44-stack-cost] [2021-05-18T22:58:46.729Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-44-stack-cost] did not exist. Created. [2021-05-18T22:58:46.729Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-18T22:58:47.050Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-18T22:58:47.127Z] Stashed 1 file(s) [Pipeline] } [2021-05-18T22:58:47.142Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-44-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-18T22:58:51.133Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14878 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-05-18T22:58:51.156Z] Running in /w/workspace/device-mqtt-go/44 [Pipeline] { [Pipeline] checkout [2021-05-18T22:58:51.424Z] Selected Git installation does not exist. Using Default [2021-05-18T22:58:51.424Z] The recommended git tool is: NONE [2021-05-18T22:58:57.465Z] using credential edgex-jenkins-ssh [2021-05-18T22:58:57.488Z] Cloning the remote Git repository [2021-05-18T22:58:58.737Z] Avoid second fetch [2021-05-18T22:58:58.738Z] Checking out Revision efb367450ad80b3e18697bc790f198e4b3e468b1 (master) [2021-05-18T22:58:57.563Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-18T22:58:57.736Z] > git init /w/workspace/device-mqtt-go/44 # timeout=10 [2021-05-18T22:58:57.815Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-18T22:58:57.816Z] > git --version # timeout=10 [2021-05-18T22:58:57.839Z] > git --version # 'git version 2.17.1' [2021-05-18T22:58:57.841Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-18T22:58:57.957Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T22:58:58.688Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-05-18T22:58:58.716Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-18T22:58:58.763Z] > git config core.sparsecheckout # timeout=10 [2021-05-18T22:58:58.778Z] > git checkout -f efb367450ad80b3e18697bc790f198e4b3e468b1 # timeout=10 [2021-05-18T22:59:03.027Z] Commit message: "Merge pull request #247 from lenny-intel/service-keys" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-18T22:59:04.293Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-18T22:59:04.715Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-18T22:59:05.130Z] + sudo service docker restart [2021-05-18T22:59:05.130Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T22:59:23.498Z] provisioning config files... [2021-05-18T22:59:23.526Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/44@tmp/config3355172892815136042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T22:59:23.910Z] ---> docker-login.sh [2021-05-18T22:59:23.910Z] nexus3.edgexfoundry.org:10001 [2021-05-18T22:59:24.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:59:25.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:59:25.179Z] Configure a credential helper to remove this warning. See [2021-05-18T22:59:25.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:59:25.179Z] [2021-05-18T22:59:25.179Z] Login Succeeded [2021-05-18T22:59:25.179Z] nexus3.edgexfoundry.org:10002 [2021-05-18T22:59:25.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:59:25.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:59:25.779Z] Configure a credential helper to remove this warning. See [2021-05-18T22:59:25.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:59:25.779Z] [2021-05-18T22:59:25.779Z] Login Succeeded [2021-05-18T22:59:25.779Z] nexus3.edgexfoundry.org:10003 [2021-05-18T22:59:26.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:59:26.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:59:26.378Z] Configure a credential helper to remove this warning. See [2021-05-18T22:59:26.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:59:26.378Z] [2021-05-18T22:59:26.378Z] Login Succeeded [2021-05-18T22:59:26.378Z] nexus3.edgexfoundry.org:10004 [2021-05-18T22:59:26.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:59:26.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:59:26.978Z] Configure a credential helper to remove this warning. See [2021-05-18T22:59:26.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:59:26.978Z] [2021-05-18T22:59:26.978Z] Login Succeeded [2021-05-18T22:59:26.978Z] docker.io [2021-05-18T22:59:27.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T22:59:27.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T22:59:27.853Z] Configure a credential helper to remove this warning. See [2021-05-18T22:59:27.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T22:59:27.853Z] [2021-05-18T22:59:27.853Z] Login Succeeded [2021-05-18T22:59:27.853Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T22:59:27.872Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-18T22:59:28.191Z] ========================================================= [2021-05-18T22:59:28.191Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-18T22:59:28.191Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-18T22:59:28.543Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-18T22:59:28.820Z] Sending build context to Docker daemon 544.3kB [2021-05-18T22:59:29.098Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-18T22:59:29.098Z] Step 2/8 : FROM ${BASE} [2021-05-18T22:59:29.098Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-18T22:59:29.098Z] 595b0fe564bb: Pulling fs layer [2021-05-18T22:59:29.098Z] 7186ed65a4f7: Pulling fs layer [2021-05-18T22:59:29.098Z] 316046926c0a: Pulling fs layer [2021-05-18T22:59:29.098Z] 4ebd0625c992: Pulling fs layer [2021-05-18T22:59:29.098Z] 207e8628e3a3: Pulling fs layer [2021-05-18T22:59:29.098Z] c791037a9be2: Pulling fs layer [2021-05-18T22:59:29.098Z] ffd874e62e21: Pulling fs layer [2021-05-18T22:59:29.098Z] 207e8628e3a3: Waiting [2021-05-18T22:59:29.098Z] c791037a9be2: Waiting [2021-05-18T22:59:29.098Z] ffd874e62e21: Waiting [2021-05-18T22:59:29.098Z] 4ebd0625c992: Waiting [2021-05-18T22:59:29.098Z] 316046926c0a: Verifying Checksum [2021-05-18T22:59:29.098Z] 316046926c0a: Download complete [2021-05-18T22:59:29.098Z] 7186ed65a4f7: Verifying Checksum [2021-05-18T22:59:29.098Z] 7186ed65a4f7: Download complete [2021-05-18T22:59:29.374Z] 207e8628e3a3: Download complete [2021-05-18T22:59:29.374Z] c791037a9be2: Verifying Checksum [2021-05-18T22:59:29.374Z] c791037a9be2: Download complete [2021-05-18T22:59:29.374Z] 595b0fe564bb: Download complete [2021-05-18T22:59:29.977Z] 595b0fe564bb: Pull complete [2021-05-18T22:59:30.582Z] 7186ed65a4f7: Pull complete [2021-05-18T22:59:31.185Z] 316046926c0a: Pull complete [2021-05-18T22:59:31.459Z] ffd874e62e21: Verifying Checksum [2021-05-18T22:59:31.459Z] ffd874e62e21: Download complete [2021-05-18T22:59:32.490Z] 4ebd0625c992: Verifying Checksum [2021-05-18T22:59:32.490Z] 4ebd0625c992: Download complete [2021-05-18T22:59:42.660Z] 4ebd0625c992: Pull complete [2021-05-18T22:59:42.936Z] 207e8628e3a3: Pull complete [2021-05-18T22:59:43.546Z] c791037a9be2: Pull complete [2021-05-18T22:59:46.951Z] ffd874e62e21: Pull complete [2021-05-18T22:59:46.951Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-18T22:59:46.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-18T22:59:46.951Z] ---> cfc18b08335c [2021-05-18T22:59:46.951Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-18T22:59:49.599Z] ---> Running in ff3e1ae55d47 [2021-05-18T22:59:49.599Z] Removing intermediate container ff3e1ae55d47 [2021-05-18T22:59:49.599Z] ---> ee082126dc68 [2021-05-18T22:59:49.599Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-18T22:59:49.873Z] ---> Running in d46ce494adf5 [2021-05-18T22:59:52.502Z] Removing intermediate container d46ce494adf5 [2021-05-18T22:59:52.502Z] ---> ba37498c33e9 [2021-05-18T22:59:52.502Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-18T22:59:52.502Z] ---> Running in 4c0f776c3051 [2021-05-18T22:59:53.940Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-18T22:59:54.544Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-18T22:59:55.525Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-18T22:59:55.525Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-18T22:59:56.123Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-18T22:59:56.123Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-18T22:59:56.123Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-18T22:59:56.400Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-18T22:59:56.677Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-18T22:59:58.136Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-18T22:59:58.136Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-18T22:59:58.136Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-18T22:59:58.413Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-18T22:59:58.691Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-18T22:59:58.967Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-18T22:59:58.967Z] Executing busybox-1.32.1-r6.trigger [2021-05-18T22:59:58.967Z] OK: 145 MiB in 53 packages [2021-05-18T23:00:00.413Z] Removing intermediate container 4c0f776c3051 [2021-05-18T23:00:00.413Z] ---> a07d6e913d22 [2021-05-18T23:00:00.413Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-05-18T23:00:00.914Z] ---> Running in 02d2e6621010 [2021-05-18T23:00:01.201Z] Removing intermediate container 02d2e6621010 [2021-05-18T23:00:01.201Z] ---> 6056238737a3 [2021-05-18T23:00:01.201Z] Step 7/8 : COPY . . [2021-05-18T23:00:02.243Z] ---> 2ccf23dace59 [2021-05-18T23:00:02.243Z] Step 8/8 : RUN go mod download [2021-05-18T23:00:02.523Z] ---> Running in 7d629d40f7ac [2021-05-18T23:00:34.888Z] Removing intermediate container 7d629d40f7ac [2021-05-18T23:00:34.889Z] ---> 59e934852f83 [2021-05-18T23:00:34.889Z] Successfully built 59e934852f83 [2021-05-18T23:00:34.889Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:00:35.238Z] + docker inspect -f . ci-base-image-arm64 [2021-05-18T23:00:35.238Z] . [Pipeline] withDockerContainer [2021-05-18T23:00:35.510Z] prd-ubuntu18.04-docker-arm64-4c-16g-14878 does not seem to be running inside a container [2021-05-18T23:00:35.610Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/44 -v /w/workspace/device-mqtt-go/44:/w/workspace/device-mqtt-go/44:rw,z -v /w/workspace/device-mqtt-go/44@tmp:/w/workspace/device-mqtt-go/44@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-18T23:00:37.237Z] $ docker top ad97f29b2d6c8e52db8a05e4f806ca6d8961ad798c1593a0fcb0df19bf47eaf3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-18T23:00:38.206Z] + go version [2021-05-18T23:00:38.206Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-18T23:00:38.242Z] $ docker stop --time=1 ad97f29b2d6c8e52db8a05e4f806ca6d8961ad798c1593a0fcb0df19bf47eaf3 [2021-05-18T23:00:40.093Z] $ docker rm -f ad97f29b2d6c8e52db8a05e4f806ca6d8961ad798c1593a0fcb0df19bf47eaf3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:00:41.011Z] + docker inspect -f . ci-base-image-arm64 [2021-05-18T23:00:41.011Z] . [Pipeline] withDockerContainer [2021-05-18T23:00:41.301Z] prd-ubuntu18.04-docker-arm64-4c-16g-14878 does not seem to be running inside a container [2021-05-18T23:00:41.396Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/44 -v /w/workspace/device-mqtt-go/44:/w/workspace/device-mqtt-go/44:rw,z -v /w/workspace/device-mqtt-go/44@tmp:/w/workspace/device-mqtt-go/44@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-18T23:00:43.076Z] $ docker top b37ed21da54d2be4b6df9ab1a3c2602762c44a018aea2a673ccdd8fb0b31e176 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-18T23:00:44.043Z] + go mod tidy [Pipeline] sh [2021-05-18T23:00:45.306Z] + make test [2021-05-18T23:00:45.307Z] go mod tidy [2021-05-18T23:00:45.910Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-18T23:00:46.896Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-05-18T23:01:43.503Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-05-18T23:01:44.935Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.056s coverage: 24.9% of statements [2021-05-18T23:01:44.935Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-05-18T23:01:45.535Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-18T23:02:12.392Z] gofmt -l . [2021-05-18T23:02:12.392Z] ["`gofmt -l .`" = ""] [2021-05-18T23:02:12.392Z] ./bin/test-attribution-txt.sh [2021-05-18T23:02:14.374Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-18T23:02:14.683Z] $ docker stop --time=1 b37ed21da54d2be4b6df9ab1a3c2602762c44a018aea2a673ccdd8fb0b31e176 [2021-05-18T23:02:16.533Z] $ docker rm -f b37ed21da54d2be4b6df9ab1a3c2602762c44a018aea2a673ccdd8fb0b31e176 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-18T23:02:17.348Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-18T23:02:17.416Z] Warning: overwriting stash ‘coverage-report’ [2021-05-18T23:02:17.898Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-18T23:02:18.474Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-18T23:02:18.817Z] + ls -al . [2021-05-18T23:02:18.817Z] total 140 [2021-05-18T23:02:18.817Z] drwxrwxr-x 9 jenkins jenkins 4096 May 18 23:02 . [2021-05-18T23:02:18.817Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 22:58 .. [2021-05-18T23:02:18.817Z] -rw-rw-r-- 1 jenkins jenkins 140 May 18 22:58 .dockerignore [2021-05-18T23:02:18.817Z] drwxrwxr-x 8 jenkins jenkins 4096 May 18 22:59 .git [2021-05-18T23:02:18.817Z] drwxrwxr-x 2 jenkins jenkins 4096 May 18 22:58 .github [2021-05-18T23:02:18.817Z] -rw-rw-r-- 1 jenkins jenkins 336 May 18 22:58 .gitignore [2021-05-18T23:02:18.817Z] -rw-rw-r-- 1 jenkins jenkins 7100 May 18 22:58 Attribution.txt [2021-05-18T23:02:18.817Z] -rw-rw-r-- 1 jenkins jenkins 1877 May 18 22:58 Dockerfile [2021-05-18T23:02:18.817Z] -rw-rw-r-- 1 jenkins jenkins 994 May 18 22:58 Dockerfile.build [2021-05-18T23:02:18.817Z] -rw-rw-r-- 1 jenkins jenkins 677 May 18 22:58 Jenkinsfile [2021-05-18T23:02:18.817Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 18 22:58 LICENSE [2021-05-18T23:02:18.817Z] -rw-rw-r-- 1 jenkins jenkins 934 May 18 22:58 Makefile [2021-05-18T23:02:18.817Z] -rw-rw-r-- 1 jenkins jenkins 2217 May 18 22:58 README.md [2021-05-18T23:02:18.817Z] -rw-rw-r-- 1 jenkins jenkins 12 May 18 22:55 VERSION [2021-05-18T23:02:18.817Z] drwxrwxr-x 2 jenkins jenkins 4096 May 18 22:58 bin [2021-05-18T23:02:18.817Z] drwxrwxr-x 3 jenkins jenkins 4096 May 18 22:58 cmd [2021-05-18T23:02:18.817Z] -rw-r--r-- 1 jenkins jenkins 19386 May 18 23:01 coverage.out [2021-05-18T23:02:18.817Z] -rw-r--r-- 1 jenkins jenkins 409 May 18 23:02 go.mod [2021-05-18T23:02:18.817Z] -rw-r--r-- 1 jenkins jenkins 21382 May 18 23:00 go.sum [2021-05-18T23:02:18.817Z] drwxrwxr-x 3 jenkins jenkins 4096 May 18 22:58 internal [2021-05-18T23:02:18.817Z] drwxrwxr-x 2 jenkins jenkins 4096 May 18 22:58 mock [2021-05-18T23:02:18.817Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 22:58 snap [2021-05-18T23:02:18.817Z] -rw-rw-r-- 1 jenkins jenkins 227 May 18 22:58 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:02:19.164Z] + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=efb367450ad80b3e18697bc790f198e4b3e468b1 --label arch=arm64 --label version=1.3.2-dev.12 . [2021-05-18T23:02:19.439Z] Sending build context to Docker daemon 564.2kB [2021-05-18T23:02:19.723Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-18T23:02:19.723Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-18T23:02:19.723Z] ---> 59e934852f83 [2021-05-18T23:02:19.723Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-18T23:02:19.723Z] ---> Running in 28ab066aaa72 [2021-05-18T23:02:20.320Z] Removing intermediate container 28ab066aaa72 [2021-05-18T23:02:20.320Z] ---> cf9c9b597012 [2021-05-18T23:02:20.320Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-18T23:02:20.320Z] ---> Running in 2f78f9049286 [2021-05-18T23:02:20.918Z] Removing intermediate container 2f78f9049286 [2021-05-18T23:02:20.918Z] ---> 22bc28d09446 [2021-05-18T23:02:20.918Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-18T23:02:21.199Z] ---> Running in 732f8b2090bd [2021-05-18T23:02:23.189Z] Removing intermediate container 732f8b2090bd [2021-05-18T23:02:23.189Z] ---> fda0bc0bd0b1 [2021-05-18T23:02:23.189Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-18T23:02:23.189Z] ---> Running in d3217d27c8d8 [2021-05-18T23:02:24.626Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-18T23:02:25.219Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-18T23:02:26.646Z] OK: 145 MiB in 53 packages [2021-05-18T23:02:27.630Z] Removing intermediate container d3217d27c8d8 [2021-05-18T23:02:27.630Z] ---> 09917baf6cc2 [2021-05-18T23:02:27.630Z] Step 7/24 : WORKDIR /device-mqtt-go [2021-05-18T23:02:27.905Z] ---> Running in da7acfa9a150 [2021-05-18T23:02:28.182Z] Removing intermediate container da7acfa9a150 [2021-05-18T23:02:28.182Z] ---> a9f1c65a23e3 [2021-05-18T23:02:28.182Z] Step 8/24 : COPY . . [2021-05-18T23:02:29.165Z] ---> bcef37de9267 [2021-05-18T23:02:29.165Z] Step 9/24 : RUN go mod tidy [2021-05-18T23:02:29.438Z] ---> Running in 5f41d14b5da3 [2021-05-18T23:02:32.091Z] Removing intermediate container 5f41d14b5da3 [2021-05-18T23:02:32.091Z] ---> 1af4a3df58a4 [2021-05-18T23:02:32.091Z] Step 10/24 : RUN go mod download [2021-05-18T23:02:32.091Z] ---> Running in 34f948b20492 [2021-05-18T23:02:34.717Z] Removing intermediate container 34f948b20492 [2021-05-18T23:02:34.717Z] ---> 5f83f20ac600 [2021-05-18T23:02:34.717Z] Step 11/24 : ARG MAKE='make build' [2021-05-18T23:02:34.717Z] ---> Running in ddee5e0a52ad [2021-05-18T23:02:34.997Z] Removing intermediate container ddee5e0a52ad [2021-05-18T23:02:34.997Z] ---> 6c724256616c [2021-05-18T23:02:34.997Z] Step 12/24 : RUN $MAKE [2021-05-18T23:02:34.997Z] ---> Running in 13bef2bff9fb [2021-05-18T23:02:36.440Z] go mod tidy [2021-05-18T23:02:36.715Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.12" -o cmd/device-mqtt ./cmd [2021-05-18T23:03:15.750Z] Removing intermediate container 13bef2bff9fb [2021-05-18T23:03:15.750Z] ---> 55cbdbef448b [2021-05-18T23:03:15.750Z] Step 13/24 : FROM alpine:3.12 [2021-05-18T23:03:15.750Z] 3.12: Pulling from library/alpine [2021-05-18T23:03:15.750Z] d2f70382dc9a: Pulling fs layer [2021-05-18T23:03:15.750Z] d2f70382dc9a: Download complete [2021-05-18T23:03:15.750Z] d2f70382dc9a: Pull complete [2021-05-18T23:03:15.750Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-18T23:03:15.750Z] Status: Downloaded newer image for alpine:3.12 [2021-05-18T23:03:15.750Z] ---> 9852663dfa18 [2021-05-18T23:03:15.750Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-05-18T23:03:15.750Z] ---> Running in a6e40bb935d8 [2021-05-18T23:03:15.750Z] Removing intermediate container a6e40bb935d8 [2021-05-18T23:03:15.750Z] ---> 9a2f68cf2474 [2021-05-18T23:03:15.750Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-18T23:03:15.750Z] ---> Running in 2bfa153b88ce [2021-05-18T23:03:17.180Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-18T23:03:17.180Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-18T23:03:17.777Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-18T23:03:17.777Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-18T23:03:17.777Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-18T23:03:17.777Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-18T23:03:17.777Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-18T23:03:17.777Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-18T23:03:17.777Z] Executing busybox-1.31.1-r20.trigger [2021-05-18T23:03:17.777Z] OK: 8 MiB in 20 packages [2021-05-18T23:03:18.759Z] Removing intermediate container 2bfa153b88ce [2021-05-18T23:03:18.759Z] ---> 265823426116 [2021-05-18T23:03:18.759Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2021-05-18T23:03:20.208Z] ---> 6f4a02184408 [2021-05-18T23:03:20.208Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-05-18T23:03:21.202Z] ---> edf64a6ca289 [2021-05-18T23:03:21.202Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-05-18T23:03:21.800Z] ---> f7fb4ec6697e [2021-05-18T23:03:21.800Z] Step 19/24 : EXPOSE 49982 [2021-05-18T23:03:21.800Z] ---> Running in f5cfc71d9ceb [2021-05-18T23:03:22.397Z] Removing intermediate container f5cfc71d9ceb [2021-05-18T23:03:22.397Z] ---> 066721fa31af [2021-05-18T23:03:22.397Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2021-05-18T23:03:22.397Z] ---> Running in b4a0d78bf936 [2021-05-18T23:03:22.996Z] Removing intermediate container b4a0d78bf936 [2021-05-18T23:03:22.996Z] ---> 76c222324a79 [2021-05-18T23:03:22.996Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-18T23:03:22.996Z] ---> Running in 158126a1b0eb [2021-05-18T23:03:23.592Z] Removing intermediate container 158126a1b0eb [2021-05-18T23:03:23.592Z] ---> c83ece9ffcda [2021-05-18T23:03:23.592Z] Step 22/24 : LABEL arch=arm64 [2021-05-18T23:03:23.592Z] ---> Running in d1950b0365d1 [2021-05-18T23:03:24.188Z] Removing intermediate container d1950b0365d1 [2021-05-18T23:03:24.188Z] ---> a15cdd445b98 [2021-05-18T23:03:24.188Z] Step 23/24 : LABEL git_sha=efb367450ad80b3e18697bc790f198e4b3e468b1 [2021-05-18T23:03:24.188Z] ---> Running in 03616fa32139 [2021-05-18T23:03:24.787Z] Removing intermediate container 03616fa32139 [2021-05-18T23:03:24.787Z] ---> ef6e8e291f49 [2021-05-18T23:03:24.787Z] Step 24/24 : LABEL version=1.3.2-dev.12 [2021-05-18T23:03:24.787Z] ---> Running in 46dac59e51b2 [2021-05-18T23:03:25.383Z] Removing intermediate container 46dac59e51b2 [2021-05-18T23:03:25.383Z] ---> d6c8dc26ec1c [2021-05-18T23:03:25.383Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-18T23:03:25.383Z] Successfully built d6c8dc26ec1c [2021-05-18T23:03:25.383Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T23:03:25.597Z] provisioning config files... [2021-05-18T23:03:25.618Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/44@tmp/config920107113118963510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:03:26.000Z] ---> docker-login.sh [2021-05-18T23:03:26.000Z] nexus3.edgexfoundry.org:10001 [2021-05-18T23:03:26.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T23:03:26.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T23:03:26.274Z] Configure a credential helper to remove this warning. See [2021-05-18T23:03:26.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T23:03:26.274Z] [2021-05-18T23:03:26.274Z] Login Succeeded [2021-05-18T23:03:26.549Z] nexus3.edgexfoundry.org:10002 [2021-05-18T23:03:26.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T23:03:27.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T23:03:27.098Z] Configure a credential helper to remove this warning. See [2021-05-18T23:03:27.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T23:03:27.098Z] [2021-05-18T23:03:27.098Z] Login Succeeded [2021-05-18T23:03:27.098Z] nexus3.edgexfoundry.org:10003 [2021-05-18T23:03:27.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T23:03:27.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T23:03:27.653Z] Configure a credential helper to remove this warning. See [2021-05-18T23:03:27.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T23:03:27.653Z] [2021-05-18T23:03:27.653Z] Login Succeeded [2021-05-18T23:03:27.653Z] nexus3.edgexfoundry.org:10004 [2021-05-18T23:03:27.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T23:03:28.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T23:03:28.207Z] Configure a credential helper to remove this warning. See [2021-05-18T23:03:28.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T23:03:28.207Z] [2021-05-18T23:03:28.207Z] Login Succeeded [2021-05-18T23:03:28.207Z] docker.io [2021-05-18T23:03:28.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-18T23:03:28.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-18T23:03:28.783Z] Configure a credential helper to remove this warning. See [2021-05-18T23:03:28.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-18T23:03:28.783Z] [2021-05-18T23:03:28.783Z] Login Succeeded [2021-05-18T23:03:28.783Z] ---> docker-login.sh ends [Pipeline] } [2021-05-18T23:03:28.802Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-18T23:03:28.874Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2021-05-18T23:03:28.875Z] efb367450ad80b3e18697bc790f198e4b3e468b1 [2021-05-18T23:03:28.875Z] latest [2021-05-18T23:03:28.875Z] 1.3.2-dev.12 [2021-05-18T23:03:28.875Z] efb367450ad80b3e18697bc790f198e4b3e468b1-1.3.2-dev.12 [2021-05-18T23:03:28.875Z] master [2021-05-18T23:03:28.875Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:03:29.278Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:efb367450ad80b3e18697bc790f198e4b3e468b1 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:03:29.627Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:efb367450ad80b3e18697bc790f198e4b3e468b1 [2021-05-18T23:03:29.627Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-05-18T23:03:29.627Z] 6c935b29e705: Preparing [2021-05-18T23:03:29.627Z] e2712d280c92: Preparing [2021-05-18T23:03:29.627Z] e9d9686d636b: Preparing [2021-05-18T23:03:29.627Z] 5839d2f2742b: Preparing [2021-05-18T23:03:29.627Z] 3fbe34a1663b: Preparing [2021-05-18T23:03:29.627Z] 3fbe34a1663b: Layer already exists [2021-05-18T23:03:29.912Z] 6c935b29e705: Pushed [2021-05-18T23:03:29.912Z] e2712d280c92: Pushed [2021-05-18T23:03:30.509Z] 5839d2f2742b: Pushed [2021-05-18T23:03:33.122Z] e9d9686d636b: Pushed [2021-05-18T23:03:33.122Z] efb367450ad80b3e18697bc790f198e4b3e468b1: digest: sha256:3d40fb33fc40ca565941a107d3dfab0c5ad0c8f2b43efa13a49b03229f3c1469 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:03:33.482Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:03:33.827Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-05-18T23:03:33.827Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-05-18T23:03:33.827Z] 6c935b29e705: Preparing [2021-05-18T23:03:33.827Z] e2712d280c92: Preparing [2021-05-18T23:03:33.827Z] e9d9686d636b: Preparing [2021-05-18T23:03:33.827Z] 5839d2f2742b: Preparing [2021-05-18T23:03:33.827Z] 3fbe34a1663b: Preparing [2021-05-18T23:03:33.827Z] 5839d2f2742b: Layer already exists [2021-05-18T23:03:33.827Z] e9d9686d636b: Layer already exists [2021-05-18T23:03:33.827Z] e2712d280c92: Layer already exists [2021-05-18T23:03:33.827Z] 3fbe34a1663b: Layer already exists [2021-05-18T23:03:33.827Z] 6c935b29e705: Layer already exists [2021-05-18T23:03:34.103Z] latest: digest: sha256:3d40fb33fc40ca565941a107d3dfab0c5ad0c8f2b43efa13a49b03229f3c1469 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:03:34.462Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.12 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:03:34.808Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.12 [2021-05-18T23:03:34.808Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-05-18T23:03:34.808Z] 6c935b29e705: Preparing [2021-05-18T23:03:34.808Z] e2712d280c92: Preparing [2021-05-18T23:03:34.808Z] e9d9686d636b: Preparing [2021-05-18T23:03:34.808Z] 5839d2f2742b: Preparing [2021-05-18T23:03:34.808Z] 3fbe34a1663b: Preparing [2021-05-18T23:03:34.808Z] e9d9686d636b: Layer already exists [2021-05-18T23:03:34.808Z] e2712d280c92: Layer already exists [2021-05-18T23:03:34.808Z] 3fbe34a1663b: Layer already exists [2021-05-18T23:03:34.808Z] 6c935b29e705: Layer already exists [2021-05-18T23:03:34.808Z] 5839d2f2742b: Layer already exists [2021-05-18T23:03:35.084Z] 1.3.2-dev.12: digest: sha256:3d40fb33fc40ca565941a107d3dfab0c5ad0c8f2b43efa13a49b03229f3c1469 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:03:35.433Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:efb367450ad80b3e18697bc790f198e4b3e468b1-1.3.2-dev.12 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:03:35.777Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:efb367450ad80b3e18697bc790f198e4b3e468b1-1.3.2-dev.12 [2021-05-18T23:03:35.777Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-05-18T23:03:35.777Z] 6c935b29e705: Preparing [2021-05-18T23:03:35.777Z] e2712d280c92: Preparing [2021-05-18T23:03:35.777Z] e9d9686d636b: Preparing [2021-05-18T23:03:35.777Z] 5839d2f2742b: Preparing [2021-05-18T23:03:35.777Z] 3fbe34a1663b: Preparing [2021-05-18T23:03:35.777Z] 5839d2f2742b: Layer already exists [2021-05-18T23:03:35.777Z] e9d9686d636b: Layer already exists [2021-05-18T23:03:35.777Z] 3fbe34a1663b: Layer already exists [2021-05-18T23:03:35.777Z] e2712d280c92: Layer already exists [2021-05-18T23:03:35.777Z] 6c935b29e705: Layer already exists [2021-05-18T23:03:36.054Z] efb367450ad80b3e18697bc790f198e4b3e468b1-1.3.2-dev.12: digest: sha256:3d40fb33fc40ca565941a107d3dfab0c5ad0c8f2b43efa13a49b03229f3c1469 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:03:36.412Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:03:36.757Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [2021-05-18T23:03:36.757Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-05-18T23:03:36.757Z] 6c935b29e705: Preparing [2021-05-18T23:03:36.757Z] e2712d280c92: Preparing [2021-05-18T23:03:36.757Z] e9d9686d636b: Preparing [2021-05-18T23:03:36.757Z] 5839d2f2742b: Preparing [2021-05-18T23:03:36.757Z] 3fbe34a1663b: Preparing [2021-05-18T23:03:36.757Z] 6c935b29e705: Layer already exists [2021-05-18T23:03:36.757Z] 5839d2f2742b: Layer already exists [2021-05-18T23:03:36.757Z] e2712d280c92: Layer already exists [2021-05-18T23:03:36.757Z] e9d9686d636b: Layer already exists [2021-05-18T23:03:36.757Z] 3fbe34a1663b: Layer already exists [2021-05-18T23:03:37.029Z] master: digest: sha256:3d40fb33fc40ca565941a107d3dfab0c5ad0c8f2b43efa13a49b03229f3c1469 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-18T23:03:37.098Z] ===================================================== [Pipeline] echo [2021-05-18T23:03:37.114Z] taggedImages: [2021-05-18T23:03:37.114Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:efb367450ad80b3e18697bc790f198e4b3e468b1 [2021-05-18T23:03:37.114Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-05-18T23:03:37.114Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.12 [2021-05-18T23:03:37.114Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:efb367450ad80b3e18697bc790f198e4b3e468b1-1.3.2-dev.12 [2021-05-18T23:03:37.114Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:03:37.613Z] ---> job-cost.sh [2021-05-18T23:03:37.613Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-78tn [2021-05-18T23:04:24.574Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-18T23:05:46.323Z] lf-activate-venv(): INFO: Adding /tmp/venv-78tn/bin to PATH [2021-05-18T23:05:46.323Z] INFO: No Stack... [2021-05-18T23:05:46.323Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-18T23:05:46.323Z] INFO: Archiving Costs [Pipeline] sh [2021-05-18T23:05:46.667Z] + cat /w/workspace/device-mqtt-go/44/archives/cost.csv [2021-05-18T23:05:46.667Z] + cut -d, -f6 [Pipeline] lock [2021-05-18T23:05:46.732Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-44-stack-cost] [2021-05-18T23:05:46.767Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-44-stack-cost] did not exist. Created. [2021-05-18T23:05:46.767Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-18T23:05:47.145Z] /w/workspace/device-mqtt-go/44@tmp/durable-05e69b63/script.sh: 1: /w/workspace/device-mqtt-go/44@tmp/durable-05e69b63/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-18T23:05:47.495Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-18T23:05:47.528Z] Warning: overwriting stash ‘stack-cost’ [2021-05-18T23:05:47.687Z] Stashed 1 file(s) [Pipeline] } [2021-05-18T23:05:47.703Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-44-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-05-18T23:05:48.342Z] provisioning config files... [2021-05-18T23:05:48.352Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2419330351341644373tmp [Pipeline] { [Pipeline] sh [2021-05-18T23:05:48.694Z] + set +x [2021-05-18T23:05:48.694Z] + curl -s https://codecov.io/bash [2021-05-18T23:05:48.694Z] + bash -s -- [2021-05-18T23:05:48.694Z] [2021-05-18T23:05:48.694Z] _____ _ [2021-05-18T23:05:48.694Z] / ____| | | [2021-05-18T23:05:48.694Z] | | ___ __| | ___ ___ _____ __ [2021-05-18T23:05:48.694Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-18T23:05:48.694Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-18T23:05:48.694Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-18T23:05:48.694Z] Bash-1.0.2 [2021-05-18T23:05:48.694Z] [2021-05-18T23:05:48.694Z] [2021-05-18T23:05:48.694Z] ==> git version 2.24.4 found [2021-05-18T23:05:48.694Z] ==> 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-05-18T23:05:48.694Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-18T23:05:48.694Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-18T23:05:48.694Z] ==> Jenkins CI detected. [2021-05-18T23:05:48.694Z] project root: . [2021-05-18T23:05:48.694Z] --> token set from env [2021-05-18T23:05:48.694Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-18T23:05:48.694Z] ==> Running gcov in . (disable via -X gcov) [2021-05-18T23:05:48.694Z] ==> Python coveragepy not found [2021-05-18T23:05:48.694Z] ==> Searching for coverage reports in: [2021-05-18T23:05:48.694Z] + . [2021-05-18T23:05:48.694Z] -> Found 1 reports [2021-05-18T23:05:48.694Z] ==> Detecting git/mercurial file structure [2021-05-18T23:05:48.962Z] ==> Reading reports [2021-05-18T23:05:48.962Z] + ./coverage.out bytes=19386 [2021-05-18T23:05:48.962Z] ==> Appending adjustments [2021-05-18T23:05:48.962Z] https://docs.codecov.io/docs/fixing-reports [2021-05-18T23:05:48.962Z] + Found adjustments [2021-05-18T23:05:48.962Z] ==> Gzipping contents [2021-05-18T23:05:48.962Z] 4.0K /tmp/codecov.4xECqM.gz [2021-05-18T23:05:48.962Z] ==> Uploading reports [2021-05-18T23:05:48.962Z] url: https://codecov.io [2021-05-18T23:05:48.962Z] query: branch=master&commit=efb367450ad80b3e18697bc790f198e4b3e468b1&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-18T23:05:48.962Z] -> Pinging Codecov [2021-05-18T23:05:48.962Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=efb367450ad80b3e18697bc790f198e4b3e468b1&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-18T23:05:49.544Z] -> Uploading to [2021-05-18T23:05:49.544Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-18/7D719EC7BBE17E464838252E33014C33/efb367450ad80b3e18697bc790f198e4b3e468b1/3f8e0f94-a013-40b7-af70-1c2a5ce44c4e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210518%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210518T230549Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ea27fa5700cb7e431571d693b16cc23bbe3693486e327a903b827d84572ea5ee [2021-05-18T23:05:49.544Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-18T23:05:49.544Z] Dload Upload Total Spent Left Speed [2021-05-18T23:05:49.807Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3386 0 0 100 3386 0 11062 --:--:-- --:--:-- --:--:-- 11065 100 3386 0 0 100 3386 0 11059 --:--:-- --:--:-- --:--:-- 11029 [2021-05-18T23:05:49.807Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/efb367450ad80b3e18697bc790f198e4b3e468b1 [Pipeline] } [2021-05-18T23:05:49.817Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-18T23:05:50.219Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-18T23:05:50.239Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:05:50.588Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-18T23:05:50.588Z] [2021-05-18T23:05:50.588Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:05:50.921Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-18T23:05:50.922Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-18T23:05:50.922Z] 188c0c94c7c5: Pulling fs layer [2021-05-18T23:05:50.922Z] 0ef7d3d256c8: Pulling fs layer [2021-05-18T23:05:50.922Z] de9db76c5a1d: Pulling fs layer [2021-05-18T23:05:50.922Z] 0eba1c9be4d2: Pulling fs layer [2021-05-18T23:05:50.922Z] 0d57e429df01: Pulling fs layer [2021-05-18T23:05:50.922Z] 4e4be7b47b0d: Pulling fs layer [2021-05-18T23:05:50.922Z] e1f770b5df2f: Pulling fs layer [2021-05-18T23:05:50.922Z] 85a0685a4137: Pulling fs layer [2021-05-18T23:05:50.922Z] 0eba1c9be4d2: Waiting [2021-05-18T23:05:50.922Z] 0d57e429df01: Waiting [2021-05-18T23:05:50.922Z] e1f770b5df2f: Waiting [2021-05-18T23:05:50.922Z] 85a0685a4137: Waiting [2021-05-18T23:05:50.922Z] 4e4be7b47b0d: Waiting [2021-05-18T23:05:50.922Z] de9db76c5a1d: Verifying Checksum [2021-05-18T23:05:50.922Z] de9db76c5a1d: Download complete [2021-05-18T23:05:50.922Z] 0ef7d3d256c8: Verifying Checksum [2021-05-18T23:05:50.922Z] 0ef7d3d256c8: Download complete [2021-05-18T23:05:50.922Z] 0d57e429df01: Verifying Checksum [2021-05-18T23:05:50.922Z] 0d57e429df01: Download complete [2021-05-18T23:05:50.922Z] 4e4be7b47b0d: Verifying Checksum [2021-05-18T23:05:50.922Z] 4e4be7b47b0d: Download complete [2021-05-18T23:05:50.922Z] 188c0c94c7c5: Verifying Checksum [2021-05-18T23:05:50.922Z] 188c0c94c7c5: Download complete [2021-05-18T23:05:51.193Z] 188c0c94c7c5: Pull complete [2021-05-18T23:05:51.453Z] 0ef7d3d256c8: Pull complete [2021-05-18T23:05:51.453Z] de9db76c5a1d: Pull complete [2021-05-18T23:05:52.028Z] e1f770b5df2f: Verifying Checksum [2021-05-18T23:05:52.028Z] e1f770b5df2f: Download complete [2021-05-18T23:05:54.577Z] 85a0685a4137: Verifying Checksum [2021-05-18T23:05:54.577Z] 85a0685a4137: Download complete [2021-05-18T23:05:54.577Z] 0eba1c9be4d2: Verifying Checksum [2021-05-18T23:05:54.577Z] 0eba1c9be4d2: Download complete [2021-05-18T23:05:57.154Z] 0eba1c9be4d2: Pull complete [2021-05-18T23:05:57.419Z] 0d57e429df01: Pull complete [2021-05-18T23:05:57.419Z] 4e4be7b47b0d: Pull complete [2021-05-18T23:05:58.003Z] e1f770b5df2f: Pull complete [2021-05-18T23:06:01.336Z] 85a0685a4137: Pull complete [2021-05-18T23:06:01.336Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-18T23:06:01.336Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-18T23:06:01.336Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-18T23:06:01.416Z] prd-centos7-docker-4c-2g-14870 does not seem to be running inside a container [2021-05-18T23:06:01.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-18T23:06:04.914Z] $ docker top 2450f60669c172af3e6c69f037e9956f0f393f14cd6de4a1d6a510c477153233 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-18T23:06:05.005Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-18T23:06:05.292Z] + set -o pipefail [2021-05-18T23:06:05.292Z] + snyk monitor '--org=edgex-jenkins' [2021-05-18T23:06:10.613Z] [2021-05-18T23:06:10.613Z] Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... [2021-05-18T23:06:10.613Z] [2021-05-18T23:06:10.613Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/53685280-8d59-4b7d-8c34-4f5e916ca3a1 [2021-05-18T23:06:10.613Z] [2021-05-18T23:06:10.613Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-18T23:06:10.613Z] [2021-05-18T23:06:10.613Z] [Pipeline] } [2021-05-18T23:06:10.625Z] $ docker stop --time=1 2450f60669c172af3e6c69f037e9956f0f393f14cd6de4a1d6a510c477153233 [2021-05-18T23:06:13.158Z] $ docker rm -f 2450f60669c172af3e6c69f037e9956f0f393f14cd6de4a1d6a510c477153233 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-18T23:06:14.181Z] + git log --format=format:%s -1 efb367450ad80b3e18697bc790f198e4b3e468b1 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:06:14.492Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T23:06:14.492Z] . [Pipeline] withDockerContainer [2021-05-18T23:06:14.578Z] prd-centos7-docker-4c-2g-14870 does not seem to be running inside a container [2021-05-18T23:06:14.619Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-18T23:06:14.980Z] $ docker top 4721574ce5c94719910716edebbc900cd1dea673bc2de14eae8a623445806974 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-18T23:06:15.125Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-18T23:06:15.125Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-18T23:06:15.239Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-18T23:06:15.242Z] $ docker exec 4721574ce5c94719910716edebbc900cd1dea673bc2de14eae8a623445806974 ssh-agent [2021-05-18T23:06:15.348Z] SSH_AUTH_SOCK=/tmp/ssh-tMOUhPL8XvyX/agent.13 [2021-05-18T23:06:15.348Z] SSH_AGENT_PID=20 [2021-05-18T23:06:15.353Z] Running ssh-add (command line suppressed) [2021-05-18T23:06:15.446Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7848241321075966186.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7848241321075966186.key) [2021-05-18T23:06:15.460Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-18T23:06:15.767Z] + git semver tag [2021-05-18T23:06:15.768Z] # -> Open(): unable to determine branch for HEAD [2021-05-18T23:06:15.768Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-05-18T23:06:15.768Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-05-18T23:06:15.768Z] # $SEMVER_REMOTE_NAME = origin [2021-05-18T23:06:15.768Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-18T23:06:15.768Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-18T23:06:15.768Z] # $SEMVER_BRANCH = master [2021-05-18T23:06:15.768Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-05-18T23:06:15.768Z] # efb367450ad80b3e18697bc790f198e4b3e468b1 HEAD [2021-05-18T23:06:15.768Z] # -> Force: false [2021-05-18T23:06:15.768Z] # ba3f2105fcb1af2d3cdbe5b94d5a1a02c47851dd refs/tags/v1.3.2-dev.12 [Pipeline] } [2021-05-18T23:06:15.781Z] $ docker exec --env ******** --env ******** 4721574ce5c94719910716edebbc900cd1dea673bc2de14eae8a623445806974 ssh-agent -k [2021-05-18T23:06:15.882Z] unset SSH_AUTH_SOCK; [2021-05-18T23:06:15.882Z] unset SSH_AGENT_PID; [2021-05-18T23:06:15.882Z] echo Agent pid 20 killed; [2021-05-18T23:06:15.895Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-18T23:06:16.224Z] + git semver [Pipeline] } [2021-05-18T23:06:16.240Z] $ docker stop --time=1 4721574ce5c94719910716edebbc900cd1dea673bc2de14eae8a623445806974 [2021-05-18T23:06:17.426Z] $ docker rm -f 4721574ce5c94719910716edebbc900cd1dea673bc2de14eae8a623445806974 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:06:17.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-18T23:06:17.875Z] [2021-05-18T23:06:17.875Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:06:18.191Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-18T23:06:18.191Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-18T23:06:18.191Z] ab5ef0e58194: Pulling fs layer [2021-05-18T23:06:18.191Z] 9712f1f96733: Pulling fs layer [2021-05-18T23:06:18.191Z] 63f879dbbcfc: Pulling fs layer [2021-05-18T23:06:18.191Z] 0d9ebad4ef96: Pulling fs layer [2021-05-18T23:06:18.191Z] e9a5061849ea: Pulling fs layer [2021-05-18T23:06:18.191Z] d747dcd14b5f: Pulling fs layer [2021-05-18T23:06:18.191Z] 2de7ff778b66: Pulling fs layer [2021-05-18T23:06:18.191Z] 0d9ebad4ef96: Waiting [2021-05-18T23:06:18.191Z] e9a5061849ea: Waiting [2021-05-18T23:06:18.191Z] d747dcd14b5f: Waiting [2021-05-18T23:06:18.191Z] 2de7ff778b66: Waiting [2021-05-18T23:06:18.191Z] 9712f1f96733: Verifying Checksum [2021-05-18T23:06:18.191Z] 9712f1f96733: Download complete [2021-05-18T23:06:19.582Z] 63f879dbbcfc: Verifying Checksum [2021-05-18T23:06:19.582Z] 63f879dbbcfc: Download complete [2021-05-18T23:06:19.582Z] e9a5061849ea: Verifying Checksum [2021-05-18T23:06:19.582Z] e9a5061849ea: Download complete [2021-05-18T23:06:19.582Z] d747dcd14b5f: Verifying Checksum [2021-05-18T23:06:19.582Z] d747dcd14b5f: Download complete [2021-05-18T23:06:19.842Z] 2de7ff778b66: Verifying Checksum [2021-05-18T23:06:19.842Z] 2de7ff778b66: Download complete [2021-05-18T23:06:20.105Z] ab5ef0e58194: Verifying Checksum [2021-05-18T23:06:20.105Z] ab5ef0e58194: Download complete [2021-05-18T23:06:20.376Z] 0d9ebad4ef96: Verifying Checksum [2021-05-18T23:06:20.376Z] 0d9ebad4ef96: Download complete [2021-05-18T23:06:22.931Z] ab5ef0e58194: Pull complete [2021-05-18T23:06:22.931Z] 9712f1f96733: Pull complete [2021-05-18T23:06:23.516Z] 63f879dbbcfc: Pull complete [2021-05-18T23:06:26.861Z] 0d9ebad4ef96: Pull complete [2021-05-18T23:06:26.861Z] e9a5061849ea: Pull complete [2021-05-18T23:06:26.861Z] d747dcd14b5f: Pull complete [2021-05-18T23:06:27.806Z] 2de7ff778b66: Pull complete [2021-05-18T23:06:27.806Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-18T23:06:27.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-18T23:06:27.806Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-18T23:06:27.905Z] prd-centos7-docker-4c-2g-14870 does not seem to be running inside a container [2021-05-18T23:06:27.948Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-18T23:06:33.311Z] $ docker top e9c43a265868d114c152cd9c8c448b1f009f97a4b2dec4aa82fa1fef6b90768f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-18T23:06:33.408Z] provisioning config files... [2021-05-18T23:06:33.417Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config90738394599283501tmp [2021-05-18T23:06:33.432Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config8426179983253569584tmp [2021-05-18T23:06:33.444Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2952108769745774463tmp [Pipeline] { [Pipeline] echo [2021-05-18T23:06:33.467Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:06:33.790Z] ---> sigul-configuration.sh [2021-05-18T23:06:33.790Z] gpg: directory `/root/.gnupg' created [2021-05-18T23:06:33.790Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-18T23:06:33.790Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-18T23:06:33.790Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-18T23:06:33.790Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-18T23:06:33.790Z] gpg: CAST5 encrypted data [2021-05-18T23:06:33.790Z] gpg: encrypted with 1 passphrase [2021-05-18T23:06:33.790Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-18T23:06:34.093Z] + mkdir /home/jenkins [2021-05-18T23:06:34.093Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-18T23:06:34.400Z] + 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-05-18T23:06:34.418Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:06:34.726Z] ---> sigul-install.sh [2021-05-18T23:06:40.030Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-18T23:06:40.322Z] + git tag --list [2021-05-18T23:06:40.322Z] 0.7.1 [2021-05-18T23:06:40.322Z] v1.0.0 [2021-05-18T23:06:40.322Z] v1.1.0 [2021-05-18T23:06:40.322Z] v1.1.1 [2021-05-18T23:06:40.322Z] v1.2.2 [2021-05-18T23:06:40.322Z] v1.3.0 [2021-05-18T23:06:40.322Z] v1.3.1 [2021-05-18T23:06:40.322Z] v1.3.1-dev.1 [2021-05-18T23:06:40.322Z] v1.3.1-dev.2 [2021-05-18T23:06:40.322Z] v1.3.1-dev.3 [2021-05-18T23:06:40.322Z] v1.3.1-dev.4 [2021-05-18T23:06:40.322Z] v1.3.2-dev.1 [2021-05-18T23:06:40.322Z] v1.3.2-dev.10 [2021-05-18T23:06:40.322Z] v1.3.2-dev.11 [2021-05-18T23:06:40.322Z] v1.3.2-dev.12 [2021-05-18T23:06:40.322Z] v1.3.2-dev.2 [2021-05-18T23:06:40.322Z] v1.3.2-dev.3 [2021-05-18T23:06:40.322Z] v1.3.2-dev.4 [2021-05-18T23:06:40.322Z] v1.3.2-dev.5 [2021-05-18T23:06:40.322Z] v1.3.2-dev.6 [2021-05-18T23:06:40.322Z] v1.3.2-dev.7 [2021-05-18T23:06:40.322Z] v1.3.2-dev.8 [2021-05-18T23:06:40.322Z] v1.3.2-dev.9 [Pipeline] sh [2021-05-18T23:06:40.621Z] + lftools sign git-tag v1.3.2-dev.12 [2021-05-18T23:06:41.197Z] Signing Git tag with Sigul... [2021-05-18T23:06:41.197Z] Signing v1.3.2-dev.12 [Pipeline] echo [2021-05-18T23:06:42.159Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:06:42.488Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-18T23:06:42.497Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-18T23:06:42.533Z] $ docker stop --time=1 e9c43a265868d114c152cd9c8c448b1f009f97a4b2dec4aa82fa1fef6b90768f [2021-05-18T23:06:44.562Z] $ docker rm -f e9c43a265868d114c152cd9c8c448b1f009f97a4b2dec4aa82fa1fef6b90768f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:06:45.486Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T23:06:45.486Z] . [Pipeline] withDockerContainer [2021-05-18T23:06:45.561Z] prd-centos7-docker-4c-2g-14870 does not seem to be running inside a container [2021-05-18T23:06:45.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-18T23:06:46.036Z] $ docker top c8bdb3cd8f25bc8a4e854a1ad628c205f63688a7a00e550d78ff9fe6978695aa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-18T23:06:46.157Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-18T23:06:46.157Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-18T23:06:46.277Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-18T23:06:46.280Z] $ docker exec c8bdb3cd8f25bc8a4e854a1ad628c205f63688a7a00e550d78ff9fe6978695aa ssh-agent [2021-05-18T23:06:46.394Z] SSH_AUTH_SOCK=/tmp/ssh-aXW9SGFKZ2Ei/agent.15 [2021-05-18T23:06:46.394Z] SSH_AGENT_PID=22 [2021-05-18T23:06:46.400Z] Running ssh-add (command line suppressed) [2021-05-18T23:06:46.493Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4531228235447472903.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4531228235447472903.key) [2021-05-18T23:06:46.506Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-18T23:06:46.806Z] + git semver bump pre [2021-05-18T23:06:46.806Z] # -> Open(): unable to determine branch for HEAD [2021-05-18T23:06:46.806Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-05-18T23:06:46.806Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-05-18T23:06:46.806Z] # $SEMVER_REMOTE_NAME = origin [2021-05-18T23:06:46.806Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-18T23:06:46.806Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-18T23:06:46.806Z] # $SEMVER_BRANCH = master [2021-05-18T23:06:46.806Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-05-18T23:06:46.806Z] 1.3.2-dev.13 [Pipeline] } [2021-05-18T23:06:46.817Z] $ docker exec --env ******** --env ******** c8bdb3cd8f25bc8a4e854a1ad628c205f63688a7a00e550d78ff9fe6978695aa ssh-agent -k [2021-05-18T23:06:46.919Z] unset SSH_AUTH_SOCK; [2021-05-18T23:06:46.919Z] unset SSH_AGENT_PID; [2021-05-18T23:06:46.919Z] echo Agent pid 22 killed; [2021-05-18T23:06:46.931Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-18T23:06:47.270Z] + git semver [Pipeline] } [2021-05-18T23:06:47.286Z] $ docker stop --time=1 c8bdb3cd8f25bc8a4e854a1ad628c205f63688a7a00e550d78ff9fe6978695aa [2021-05-18T23:06:48.497Z] $ docker rm -f c8bdb3cd8f25bc8a4e854a1ad628c205f63688a7a00e550d78ff9fe6978695aa [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:06:48.878Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-18T23:06:48.878Z] . [Pipeline] withDockerContainer [2021-05-18T23:06:48.951Z] prd-centos7-docker-4c-2g-14870 does not seem to be running inside a container [2021-05-18T23:06:48.996Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-18T23:06:49.360Z] $ docker top 026bea87ad0b1ede65d0aa97b9ec72cad764ca2f06a1484685309ed9c9f20dc5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-18T23:06:49.482Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-18T23:06:49.482Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-18T23:06:49.595Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-18T23:06:49.599Z] $ docker exec 026bea87ad0b1ede65d0aa97b9ec72cad764ca2f06a1484685309ed9c9f20dc5 ssh-agent [2021-05-18T23:06:49.707Z] SSH_AUTH_SOCK=/tmp/ssh-wRRXMYJSGU8D/agent.13 [2021-05-18T23:06:49.707Z] SSH_AGENT_PID=20 [2021-05-18T23:06:49.712Z] Running ssh-add (command line suppressed) [2021-05-18T23:06:49.807Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2324720119849694854.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2324720119849694854.key) [2021-05-18T23:06:49.821Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-18T23:06:50.122Z] + git semver push [2021-05-18T23:06:50.122Z] # -> Open(): unable to determine branch for HEAD [2021-05-18T23:06:50.122Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-05-18T23:06:50.122Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-05-18T23:06:50.122Z] # $SEMVER_REMOTE_NAME = origin [2021-05-18T23:06:50.122Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-18T23:06:50.122Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-18T23:06:50.122Z] # $SEMVER_BRANCH = master [2021-05-18T23:06:50.122Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-05-18T23:06:53.453Z] $ docker exec --env ******** --env ******** 026bea87ad0b1ede65d0aa97b9ec72cad764ca2f06a1484685309ed9c9f20dc5 ssh-agent -k [2021-05-18T23:06:53.541Z] unset SSH_AUTH_SOCK; [2021-05-18T23:06:53.541Z] unset SSH_AGENT_PID; [2021-05-18T23:06:53.541Z] echo Agent pid 20 killed; [2021-05-18T23:06:53.559Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-18T23:06:53.957Z] + git semver [Pipeline] } [2021-05-18T23:06:53.972Z] $ docker stop --time=1 026bea87ad0b1ede65d0aa97b9ec72cad764ca2f06a1484685309ed9c9f20dc5 [2021-05-18T23:06:55.168Z] $ docker rm -f 026bea87ad0b1ede65d0aa97b9ec72cad764ca2f06a1484685309ed9c9f20dc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:06:56.151Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:06:56.726Z] ---> package-listing.sh [2021-05-18T23:06:56.726Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-18T23:06:56.726Z] ++ facter osfamily [2021-05-18T23:06:56.991Z] + OS_FAMILY=redhat [2021-05-18T23:06:56.991Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_master [2021-05-18T23:06:56.991Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-18T23:06:56.991Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-18T23:06:56.991Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-18T23:06:56.991Z] + PACKAGES=/tmp/packages_start.txt [2021-05-18T23:06:56.991Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-05-18T23:06:56.991Z] + PACKAGES=/tmp/packages_end.txt [2021-05-18T23:06:56.991Z] + case "${OS_FAMILY}" in [2021-05-18T23:06:56.991Z] + sort [2021-05-18T23:06:56.991Z] + rpm -qa [2021-05-18T23:06:57.566Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-18T23:06:57.566Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-18T23:06:57.566Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-18T23:06:57.566Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-05-18T23:06:57.566Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [2021-05-18T23:06:57.566Z] + 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-05-18T23:06:57.583Z] 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-05-18T23:06:57.874Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:06:58.441Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-18T23:06:58.441Z] [2021-05-18T23:06:58.441Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-18T23:06:58.787Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-18T23:06:58.787Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-18T23:06:58.787Z] df20fa9351a1: Pulling fs layer [2021-05-18T23:06:58.787Z] 36b3adc4ff6f: Pulling fs layer [2021-05-18T23:06:58.787Z] 8ad3a11d3b57: Pulling fs layer [2021-05-18T23:06:58.787Z] 46f8f816bc3b: Pulling fs layer [2021-05-18T23:06:58.787Z] 93b61091891f: Pulling fs layer [2021-05-18T23:06:58.787Z] 93b9cdb0e59b: Pulling fs layer [2021-05-18T23:06:58.787Z] 5e14af77c1be: Pulling fs layer [2021-05-18T23:06:58.787Z] 01666e4c0597: Pulling fs layer [2021-05-18T23:06:58.787Z] aa168da1d23b: Pulling fs layer [2021-05-18T23:06:58.787Z] 46f8f816bc3b: Waiting [2021-05-18T23:06:58.787Z] 93b61091891f: Waiting [2021-05-18T23:06:58.787Z] 93b9cdb0e59b: Waiting [2021-05-18T23:06:58.787Z] 5e14af77c1be: Waiting [2021-05-18T23:06:58.787Z] 01666e4c0597: Waiting [2021-05-18T23:06:58.787Z] aa168da1d23b: Waiting [2021-05-18T23:06:58.787Z] 36b3adc4ff6f: Download complete [2021-05-18T23:06:58.787Z] 46f8f816bc3b: Verifying Checksum [2021-05-18T23:06:58.787Z] 46f8f816bc3b: Download complete [2021-05-18T23:06:58.787Z] df20fa9351a1: Verifying Checksum [2021-05-18T23:06:58.787Z] df20fa9351a1: Download complete [2021-05-18T23:06:58.787Z] 93b9cdb0e59b: Verifying Checksum [2021-05-18T23:06:58.787Z] 93b9cdb0e59b: Download complete [2021-05-18T23:06:58.787Z] 93b61091891f: Verifying Checksum [2021-05-18T23:06:58.787Z] 93b61091891f: Download complete [2021-05-18T23:06:58.787Z] 5e14af77c1be: Verifying Checksum [2021-05-18T23:06:58.787Z] 5e14af77c1be: Download complete [2021-05-18T23:06:59.057Z] 01666e4c0597: Verifying Checksum [2021-05-18T23:06:59.057Z] 01666e4c0597: Download complete [2021-05-18T23:06:59.057Z] 8ad3a11d3b57: Verifying Checksum [2021-05-18T23:06:59.057Z] 8ad3a11d3b57: Download complete [2021-05-18T23:06:59.057Z] df20fa9351a1: Pull complete [2021-05-18T23:06:59.057Z] 36b3adc4ff6f: Pull complete [2021-05-18T23:06:59.634Z] 8ad3a11d3b57: Pull complete [2021-05-18T23:06:59.634Z] 46f8f816bc3b: Pull complete [2021-05-18T23:06:59.904Z] 93b61091891f: Pull complete [2021-05-18T23:06:59.904Z] 93b9cdb0e59b: Pull complete [2021-05-18T23:06:59.904Z] 5e14af77c1be: Pull complete [2021-05-18T23:07:00.166Z] 01666e4c0597: Pull complete [2021-05-18T23:07:00.740Z] aa168da1d23b: Verifying Checksum [2021-05-18T23:07:00.740Z] aa168da1d23b: Download complete [2021-05-18T23:07:05.022Z] aa168da1d23b: Pull complete [2021-05-18T23:07:05.022Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-18T23:07:05.022Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-18T23:07:05.022Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-18T23:07:05.099Z] prd-centos7-docker-4c-2g-14870 does not seem to be running inside a container [2021-05-18T23:07:05.139Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-18T23:07:08.036Z] $ docker top 1fb899155347fdadb5d62c5ec10cbdf4051a4e7a0e0ea65ac8d8750f3cb8afed -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-18T23:07:08.408Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-18T23:07:08.701Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-18T23:07:08.992Z] + ls /var/log/sa-host [2021-05-18T23:07:08.992Z] + sadf -c /var/log/sa-host/sa05 [2021-05-18T23:07:08.992Z] file_magic: OK [2021-05-18T23:07:08.992Z] HZ: Using current value: 100 [2021-05-18T23:07:08.992Z] file_header: OK [2021-05-18T23:07:08.992Z] 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-05-18T23:07:08.992Z] Statistics: [2021-05-18T23:07:08.992Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-18T23:07:08.992Z] File successfully converted to sysstat format version 12.2.1 [2021-05-18T23:07:08.992Z] + sadf -c /var/log/sa-host/sa18 [2021-05-18T23:07:08.992Z] file_magic: OK [2021-05-18T23:07:08.992Z] HZ: Using current value: 100 [2021-05-18T23:07:08.992Z] file_header: OK [2021-05-18T23:07:08.992Z] 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-05-18T23:07:08.992Z] Statistics: [2021-05-18T23:07:08.992Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-18T23:07:08.992Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-18T23:07:09.253Z] provisioning config files... [2021-05-18T23:07:09.264Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3367897561267800088tmp [Pipeline] { [Pipeline] echo [2021-05-18T23:07:09.285Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:07:09.577Z] ---> create-netrc.sh [Pipeline] } [2021-05-18T23:07:09.585Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-18T23:07:09.609Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:07:09.915Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-18T23:07:09.925Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:07:10.225Z] ---> sudo-logs.sh [2021-05-18T23:07:10.225Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-18T23:07:10.250Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:07:10.547Z] ---> job-cost.sh [2021-05-18T23:07:10.547Z] lf-activate-venv: SKIPPING [2021-05-18T23:07:10.548Z] DEBUG: total: 0.18000000715255737 [2021-05-18T23:07:10.548Z] INFO: Retrieving Stack Cost... [2021-05-18T23:07:12.465Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-18T23:07:12.726Z] INFO: Archiving Costs [Pipeline] echo [2021-05-18T23:07:12.740Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-18T23:07:13.035Z] ---> logs-deploy.sh [2021-05-18T23:07:13.035Z] lf-activate-venv: SKIPPING [2021-05-18T23:07:13.035Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/44 [2021-05-18T23:07:13.035Z] INFO: archiving workspace using pattern(s): [2021-05-18T23:07:13.980Z] Archives upload complete. [2021-05-18T23:07:13.980Z] INFO: archiving logs to Nexus