Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7449b2aa7b51ce87674ebf74544798bad0e4f615 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-ssh2106443512380251724.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-ssh309717267742466472.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-ssh344199488501000713.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-ssh1711866722298799918.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-ssh4620139634822102309.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 ‘prd-centos7-docker-4c-2g-37’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-36’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-38 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 > git init /w/workspace/gexfoundry_device-mqtt-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh8461420616508804694.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 Avoid second fetch Checking out Revision 7449b2aa7b51ce87674ebf74544798bad0e4f615 (master) > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7449b2aa7b51ce87674ebf74544798bad0e4f615 # timeout=10 Commit message: "Merge pull request #236 from lenny-intel/secure-bus" > git rev-list --no-walk 3691df947a2f13c033dab4cecb2f3e43c92cf99c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-14T03:26:16.357Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-14T03:26:16.460Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-14T03:26:16.490Z] ========================================================= [2021-05-14T03:26:16.490Z] EdgeX Global Pipelines Version Info [2021-05-14T03:26:16.490Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:26:18.026Z] ------------------- [2021-05-14T03:26:18.026Z] stable info: [2021-05-14T03:26:18.026Z] ------------------- [2021-05-14T03:26:18.026Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-14T03:26:18.026Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-14T03:26:18.026Z] Message: update stable to v1.0.192 [2021-05-14T03:26:18.994Z] ------------------- [2021-05-14T03:26:18.994Z] experimental info: [2021-05-14T03:26:18.994Z] ------------------- [2021-05-14T03:26:18.994Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-14T03:26:18.994Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-14T03:26:18.994Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-14T03:26:19.122Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-05-14T03:26:19.151Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-05-14T03:26:19.181Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-14T03:26:19.222Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-14T03:26:19.249Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-14T03:26:19.271Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-14T03:26:19.294Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-14T03:26:19.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-14T03:26:19.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-14T03:26:19.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-14T03:26:19.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-14T03:26:19.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-05-14T03:26:19.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-14T03:26:19.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-14T03:26:19.486Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-14T03:26:19.517Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-14T03:26:19.541Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-14T03:26:19.564Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-14T03:26:19.588Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-14T03:26:19.611Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-14T03:26:19.634Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-14T03:26:19.658Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-14T03:26:19.681Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-14T03:26:19.704Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-14T03:26:19.726Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-14T03:26:19.748Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-14T03:26:19.777Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-14T03:26:19.801Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-14T03:26:19.835Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-14T03:26:19.869Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7449b2aa7b51ce87674ebf74544798bad0e4f615 [Pipeline] echo [2021-05-14T03:26:19.893Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7449b2a [Pipeline] echo [2021-05-14T03:26:19.916Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T03:26:20.040Z] provisioning config files... [2021-05-14T03:26:20.062Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config1382894654276000476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:26:20.425Z] ---> docker-login.sh [2021-05-14T03:26:20.425Z] nexus3.edgexfoundry.org:10001 [2021-05-14T03:26:20.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:26:25.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:26:25.993Z] Configure a credential helper to remove this warning. See [2021-05-14T03:26:25.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:26:25.993Z] [2021-05-14T03:26:25.993Z] Login Succeeded [2021-05-14T03:26:25.993Z] nexus3.edgexfoundry.org:10002 [2021-05-14T03:26:25.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:26:26.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:26:26.257Z] Configure a credential helper to remove this warning. See [2021-05-14T03:26:26.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:26:26.257Z] [2021-05-14T03:26:26.257Z] Login Succeeded [2021-05-14T03:26:26.257Z] nexus3.edgexfoundry.org:10003 [2021-05-14T03:26:26.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:26:26.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:26:26.257Z] Configure a credential helper to remove this warning. See [2021-05-14T03:26:26.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:26:26.257Z] [2021-05-14T03:26:26.257Z] Login Succeeded [2021-05-14T03:26:26.257Z] nexus3.edgexfoundry.org:10004 [2021-05-14T03:26:26.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:26:26.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:26:26.523Z] Configure a credential helper to remove this warning. See [2021-05-14T03:26:26.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:26:26.523Z] [2021-05-14T03:26:26.523Z] Login Succeeded [2021-05-14T03:26:26.523Z] docker.io [2021-05-14T03:26:26.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:26:26.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:26:26.786Z] Configure a credential helper to remove this warning. See [2021-05-14T03:26:26.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:26:26.786Z] [2021-05-14T03:26:26.786Z] Login Succeeded [2021-05-14T03:26:26.786Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T03:26:26.797Z] 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-14T03:26:27.317Z] + git log --format=format:%s -1 7449b2aa7b51ce87674ebf74544798bad0e4f615 [Pipeline] echo [2021-05-14T03:26:27.366Z] GIT_COMMIT: 7449b2aa7b51ce87674ebf74544798bad0e4f615, Commit Message: Merge pull request #236 from lenny-intel/secure-bus [Pipeline] echo [2021-05-14T03:26:27.381Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:26:28.007Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T03:26:28.007Z] [2021-05-14T03:26:28.007Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:26:28.336Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T03:26:28.337Z] latest: Pulling from edgex-devops/git-semver [2021-05-14T03:26:28.337Z] 31603596830f: Pulling fs layer [2021-05-14T03:26:28.337Z] 54011a49482f: Pulling fs layer [2021-05-14T03:26:28.337Z] a6820b24f6d8: Pulling fs layer [2021-05-14T03:26:28.337Z] f581987b2513: Pulling fs layer [2021-05-14T03:26:28.337Z] f581987b2513: Waiting [2021-05-14T03:26:28.337Z] 54011a49482f: Verifying Checksum [2021-05-14T03:26:28.337Z] 54011a49482f: Download complete [2021-05-14T03:26:28.337Z] 31603596830f: Verifying Checksum [2021-05-14T03:26:28.337Z] 31603596830f: Download complete [2021-05-14T03:26:28.610Z] f581987b2513: Verifying Checksum [2021-05-14T03:26:28.610Z] f581987b2513: Download complete [2021-05-14T03:26:28.610Z] a6820b24f6d8: Verifying Checksum [2021-05-14T03:26:28.610Z] a6820b24f6d8: Download complete [2021-05-14T03:26:28.880Z] 31603596830f: Pull complete [2021-05-14T03:26:28.880Z] 54011a49482f: Pull complete [2021-05-14T03:26:29.830Z] a6820b24f6d8: Pull complete [2021-05-14T03:26:29.830Z] f581987b2513: Pull complete [2021-05-14T03:26:29.830Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-14T03:26:30.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T03:26:30.093Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-14T03:26:30.198Z] prd-centos7-docker-4c-2g-38 does not seem to be running inside a container [2021-05-14T03:26:30.253Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-14T03:26:32.833Z] $ docker top 0ebdbf2ecf5f8afacab4b257e2215bd21c2203b388f66cc4479bf5cb85217bea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-14T03:26:32.998Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-14T03:26:32.998Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-14T03:26:33.219Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-14T03:26:33.224Z] $ docker exec 0ebdbf2ecf5f8afacab4b257e2215bd21c2203b388f66cc4479bf5cb85217bea ssh-agent [2021-05-14T03:26:33.396Z] SSH_AUTH_SOCK=/tmp/ssh-yAmpSBoyk7ER/agent.12 [2021-05-14T03:26:33.396Z] SSH_AGENT_PID=17 [2021-05-14T03:26:33.408Z] Running ssh-add (command line suppressed) [2021-05-14T03:26:33.525Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3429306134119215766.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3429306134119215766.key) [2021-05-14T03:26:33.575Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-14T03:26:33.881Z] + git tag --points-at HEAD [Pipeline] } [2021-05-14T03:26:33.917Z] $ docker exec --env ******** --env ******** 0ebdbf2ecf5f8afacab4b257e2215bd21c2203b388f66cc4479bf5cb85217bea ssh-agent -k [2021-05-14T03:26:34.030Z] unset SSH_AUTH_SOCK; [2021-05-14T03:26:34.030Z] unset SSH_AGENT_PID; [2021-05-14T03:26:34.030Z] echo Agent pid 17 killed; [2021-05-14T03:26:34.085Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-14T03:26:34.124Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-14T03:26:34.124Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-14T03:26:34.295Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-14T03:26:34.300Z] $ docker exec 0ebdbf2ecf5f8afacab4b257e2215bd21c2203b388f66cc4479bf5cb85217bea ssh-agent [2021-05-14T03:26:34.457Z] SSH_AUTH_SOCK=/tmp/ssh-dwm22kC9WUVF/agent.47 [2021-05-14T03:26:34.457Z] SSH_AGENT_PID=52 [2021-05-14T03:26:34.463Z] Running ssh-add (command line suppressed) [2021-05-14T03:26:34.580Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2654416541517035899.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2654416541517035899.key) [2021-05-14T03:26:34.629Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-14T03:26:34.942Z] + git semver init [2021-05-14T03:26:34.942Z] # -> Open(): unable to determine branch for HEAD [2021-05-14T03:26:34.942Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-05-14T03:26:34.942Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-05-14T03:26:34.942Z] # $SEMVER_REMOTE_NAME = origin [2021-05-14T03:26:34.942Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-14T03:26:34.942Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-14T03:26:34.942Z] # $SEMVER_BRANCH = master [2021-05-14T03:26:34.942Z] # $SEMVER_TEMP = /tmp/semver-872362556 [2021-05-14T03:26:34.942Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-05-14T03:26:35.266Z] # '/tmp/semver-872362556' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' [2021-05-14T03:26:35.266Z] # -> Force: false [2021-05-14T03:26:35.266Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-05-14T03:26:35.282Z] $ docker exec --env ******** --env ******** 0ebdbf2ecf5f8afacab4b257e2215bd21c2203b388f66cc4479bf5cb85217bea ssh-agent -k [2021-05-14T03:26:35.396Z] unset SSH_AUTH_SOCK; [2021-05-14T03:26:35.396Z] unset SSH_AGENT_PID; [2021-05-14T03:26:35.396Z] echo Agent pid 52 killed; [2021-05-14T03:26:35.443Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-14T03:26:35.788Z] + git semver [Pipeline] } [2021-05-14T03:26:35.810Z] $ docker stop --time=1 0ebdbf2ecf5f8afacab4b257e2215bd21c2203b388f66cc4479bf5cb85217bea [2021-05-14T03:26:37.182Z] $ docker rm -f 0ebdbf2ecf5f8afacab4b257e2215bd21c2203b388f66cc4479bf5cb85217bea [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-14T03:26:37.572Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-14T03:26:37.910Z] Stashed 1 file(s) [Pipeline] echo [2021-05-14T03:26:37.917Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.11 [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-14T03:26:53.194Z] Still waiting to schedule task [2021-05-14T03:26:53.194Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-14T03:26:53.199Z] Still waiting to schedule task [2021-05-14T03:26:53.199Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-14T03:28:33.700Z] Running on prd-centos7-docker-4c-2g-43 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-05-14T03:28:33.722Z] Running in /w/workspace/device-mqtt-go/43 [Pipeline] { [Pipeline] checkout [2021-05-14T03:28:33.858Z] Selected Git installation does not exist. Using Default [2021-05-14T03:28:33.858Z] The recommended git tool is: NONE [2021-05-14T03:28:36.916Z] using credential edgex-jenkins-ssh [2021-05-14T03:28:36.929Z] Cloning the remote Git repository [2021-05-14T03:28:36.859Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-14T03:28:36.936Z] > git init /w/workspace/device-mqtt-go/43 # timeout=10 [2021-05-14T03:28:37.004Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-14T03:28:37.004Z] > git --version # timeout=10 [2021-05-14T03:28:37.845Z] Avoid second fetch [2021-05-14T03:28:37.845Z] Checking out Revision 7449b2aa7b51ce87674ebf74544798bad0e4f615 (master) [2021-05-14T03:28:37.015Z] > git --version # 'git version 2.24.3' [2021-05-14T03:28:37.017Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T03:28:37.047Z] [INFO] Currently running in a labeled security context [2021-05-14T03:28:37.047Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-14T03:28:37.047Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/43@tmp/jenkins-gitclient-ssh4335843969996949581.key [2021-05-14T03:28:37.123Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T03:28:37.799Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-05-14T03:28:37.807Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T03:28:37.829Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T03:28:37.834Z] > git checkout -f 7449b2aa7b51ce87674ebf74544798bad0e4f615 # timeout=10 [2021-05-14T03:28:41.612Z] Commit message: "Merge pull request #236 from lenny-intel/secure-bus" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-14T03:28:42.633Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-14T03:28:42.979Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-14T03:28:43.307Z] + sudo service docker restart [2021-05-14T03:28:43.307Z] + true [2021-05-14T03:28:43.307Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T03:28:44.295Z] provisioning config files... [2021-05-14T03:28:44.315Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/43@tmp/config2119216321077396342tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:28:44.665Z] ---> docker-login.sh [2021-05-14T03:28:44.665Z] nexus3.edgexfoundry.org:10001 [2021-05-14T03:28:44.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:28:45.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:28:45.204Z] Configure a credential helper to remove this warning. See [2021-05-14T03:28:45.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:28:45.204Z] [2021-05-14T03:28:45.204Z] Login Succeeded [2021-05-14T03:28:45.204Z] nexus3.edgexfoundry.org:10002 [2021-05-14T03:28:45.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:28:45.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:28:45.204Z] Configure a credential helper to remove this warning. See [2021-05-14T03:28:45.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:28:45.204Z] [2021-05-14T03:28:45.204Z] Login Succeeded [2021-05-14T03:28:45.204Z] nexus3.edgexfoundry.org:10003 [2021-05-14T03:28:45.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:28:45.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:28:45.475Z] Configure a credential helper to remove this warning. See [2021-05-14T03:28:45.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:28:45.475Z] [2021-05-14T03:28:45.475Z] Login Succeeded [2021-05-14T03:28:45.475Z] nexus3.edgexfoundry.org:10004 [2021-05-14T03:28:45.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:28:45.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:28:45.739Z] Configure a credential helper to remove this warning. See [2021-05-14T03:28:45.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:28:45.739Z] [2021-05-14T03:28:45.739Z] Login Succeeded [2021-05-14T03:28:45.739Z] docker.io [2021-05-14T03:28:46.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:28:46.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:28:46.266Z] Configure a credential helper to remove this warning. See [2021-05-14T03:28:46.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:28:46.266Z] [2021-05-14T03:28:46.266Z] Login Succeeded [2021-05-14T03:28:46.266Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T03:28:46.277Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-14T03:28:46.476Z] ========================================================= [2021-05-14T03:28:46.476Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-14T03:28:46.476Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:28:46.799Z] + 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-14T03:28:46.799Z] Sending build context to Docker daemon 553.5kB [2021-05-14T03:28:46.799Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T03:28:46.799Z] Step 2/8 : FROM ${BASE} [2021-05-14T03:28:47.068Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-14T03:28:47.068Z] 540db60ca938: Pulling fs layer [2021-05-14T03:28:47.068Z] adcc1eea9eea: Pulling fs layer [2021-05-14T03:28:47.068Z] 4c4ab2625f07: Pulling fs layer [2021-05-14T03:28:47.068Z] 0510c868ecb4: Pulling fs layer [2021-05-14T03:28:47.068Z] afea3b2eda06: Pulling fs layer [2021-05-14T03:28:47.068Z] 7809a108b3ef: Pulling fs layer [2021-05-14T03:28:47.068Z] f706445af74f: Pulling fs layer [2021-05-14T03:28:47.068Z] afea3b2eda06: Waiting [2021-05-14T03:28:47.068Z] 7809a108b3ef: Waiting [2021-05-14T03:28:47.068Z] 0510c868ecb4: Waiting [2021-05-14T03:28:47.068Z] f706445af74f: Waiting [2021-05-14T03:28:47.068Z] 4c4ab2625f07: Verifying Checksum [2021-05-14T03:28:47.068Z] 4c4ab2625f07: Download complete [2021-05-14T03:28:47.068Z] adcc1eea9eea: Download complete [2021-05-14T03:28:47.068Z] afea3b2eda06: Verifying Checksum [2021-05-14T03:28:47.068Z] afea3b2eda06: Download complete [2021-05-14T03:28:47.068Z] 540db60ca938: Verifying Checksum [2021-05-14T03:28:47.068Z] 7809a108b3ef: Verifying Checksum [2021-05-14T03:28:47.068Z] 7809a108b3ef: Download complete [2021-05-14T03:28:47.334Z] 540db60ca938: Pull complete [2021-05-14T03:28:47.596Z] adcc1eea9eea: Pull complete [2021-05-14T03:28:47.596Z] 4c4ab2625f07: Pull complete [2021-05-14T03:28:49.026Z] f706445af74f: Verifying Checksum [2021-05-14T03:28:49.026Z] f706445af74f: Download complete [2021-05-14T03:28:49.983Z] 0510c868ecb4: Download complete [2021-05-14T03:28:56.637Z] 0510c868ecb4: Pull complete [2021-05-14T03:28:56.637Z] afea3b2eda06: Pull complete [2021-05-14T03:28:56.907Z] 7809a108b3ef: Pull complete [2021-05-14T03:29:02.295Z] f706445af74f: Pull complete [2021-05-14T03:29:02.295Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-14T03:29:02.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-14T03:29:02.295Z] ---> b068be0155e3 [2021-05-14T03:29:02.295Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-14T03:29:02.295Z] ---> Running in 61a6d3114248 [2021-05-14T03:29:02.295Z] Removing intermediate container 61a6d3114248 [2021-05-14T03:29:02.295Z] ---> b707ea14879b [2021-05-14T03:29:02.295Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T03:29:02.295Z] ---> Running in ae1321005c95 [2021-05-14T03:29:03.700Z] Removing intermediate container ae1321005c95 [2021-05-14T03:29:03.701Z] ---> 854265d90754 [2021-05-14T03:29:03.701Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-14T03:29:03.701Z] ---> Running in fb4364cb973f [2021-05-14T03:29:04.281Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-14T03:29:05.234Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-14T03:29:06.186Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-14T03:29:06.186Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-14T03:29:06.186Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-14T03:29:06.451Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-14T03:29:06.451Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-14T03:29:06.715Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-14T03:29:06.715Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-14T03:29:06.977Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-14T03:29:06.977Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-14T03:29:07.239Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-14T03:29:07.239Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-14T03:29:07.239Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-14T03:29:07.501Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-14T03:29:07.501Z] Executing busybox-1.32.1-r6.trigger [2021-05-14T03:29:07.501Z] OK: 156 MiB in 53 packages [2021-05-14T03:29:08.091Z] Removing intermediate container fb4364cb973f [2021-05-14T03:29:08.091Z] ---> f689fe608704 [2021-05-14T03:29:08.091Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-05-14T03:29:08.354Z] ---> Running in 7747be63a1ad [2021-05-14T03:29:08.354Z] Removing intermediate container 7747be63a1ad [2021-05-14T03:29:08.354Z] ---> 7376c35b426e [2021-05-14T03:29:08.354Z] Step 7/8 : COPY . . [2021-05-14T03:29:08.927Z] ---> a1874c514646 [2021-05-14T03:29:08.927Z] Step 8/8 : RUN go mod download [2021-05-14T03:29:09.191Z] ---> Running in 7f32a89d9dec [2021-05-14T03:29:35.894Z] Removing intermediate container 7f32a89d9dec [2021-05-14T03:29:35.894Z] ---> 9770ecae1904 [2021-05-14T03:29:35.894Z] Successfully built 9770ecae1904 [2021-05-14T03:29:35.894Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:29:36.224Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-14T03:29:36.224Z] . [Pipeline] withDockerContainer [2021-05-14T03:29:36.363Z] prd-centos7-docker-4c-2g-43 does not seem to be running inside a container [2021-05-14T03:29:36.432Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/43 -v /w/workspace/device-mqtt-go/43:/w/workspace/device-mqtt-go/43:rw,z -v /w/workspace/device-mqtt-go/43@tmp:/w/workspace/device-mqtt-go/43@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-x86_64 cat [2021-05-14T03:29:37.231Z] $ docker top 4f31ef1855dea0c49aaa198b81dee42c8badf5f3ec0280f1595fd35cdaf929e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T03:29:37.691Z] + go version [2021-05-14T03:29:37.691Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-14T03:29:37.724Z] $ docker stop --time=1 4f31ef1855dea0c49aaa198b81dee42c8badf5f3ec0280f1595fd35cdaf929e4 [2021-05-14T03:29:39.183Z] $ docker rm -f 4f31ef1855dea0c49aaa198b81dee42c8badf5f3ec0280f1595fd35cdaf929e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:29:39.793Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-14T03:29:39.793Z] . [Pipeline] withDockerContainer [2021-05-14T03:29:39.920Z] prd-centos7-docker-4c-2g-43 does not seem to be running inside a container [2021-05-14T03:29:39.988Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/43 -v /w/workspace/device-mqtt-go/43:/w/workspace/device-mqtt-go/43:rw,z -v /w/workspace/device-mqtt-go/43@tmp:/w/workspace/device-mqtt-go/43@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-x86_64 cat [2021-05-14T03:29:40.792Z] $ docker top 1e3302972e2b895ef1f0ce99273bbc111e4359d0d0cf6ccbf50ee1c7a9e9cefa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T03:29:41.242Z] + go mod tidy [Pipeline] sh [2021-05-14T03:29:42.169Z] + make test [2021-05-14T03:29:42.169Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-14T03:29:43.139Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-05-14T03:30:10.175Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-05-14T03:30:10.175Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.022s coverage: 24.9% of statements [2021-05-14T03:30:10.175Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-05-14T03:30:10.175Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-14T03:30:20.466Z] gofmt -l . [2021-05-14T03:30:20.466Z] ["`gofmt -l .`" = ""] [2021-05-14T03:30:20.466Z] ./bin/test-attribution-txt.sh [2021-05-14T03:30:21.047Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-14T03:30:21.333Z] $ docker stop --time=1 1e3302972e2b895ef1f0ce99273bbc111e4359d0d0cf6ccbf50ee1c7a9e9cefa [2021-05-14T03:30:23.291Z] $ docker rm -f 1e3302972e2b895ef1f0ce99273bbc111e4359d0d0cf6ccbf50ee1c7a9e9cefa [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-14T03:30:23.956Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-14T03:30:24.522Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-14T03:30:27.331Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-14T03:30:27.643Z] + ls -al . [2021-05-14T03:30:27.643Z] total 108 [2021-05-14T03:30:27.643Z] drwxrwxr-x. 9 jenkins jenkins 4096 May 14 03:30 . [2021-05-14T03:30:27.643Z] drwxrwxr-x. 4 jenkins jenkins 30 May 14 03:28 .. [2021-05-14T03:30:27.643Z] -rw-rw-r--. 1 jenkins jenkins 7100 May 14 03:28 Attribution.txt [2021-05-14T03:30:27.643Z] drwxrwxr-x. 2 jenkins jenkins 87 May 14 03:28 bin [2021-05-14T03:30:27.643Z] drwxrwxr-x. 3 jenkins jenkins 32 May 14 03:28 cmd [2021-05-14T03:30:27.643Z] -rw-r--r--. 1 jenkins jenkins 19386 May 14 03:30 coverage.out [2021-05-14T03:30:27.643Z] -rw-rw-r--. 1 jenkins jenkins 1861 May 14 03:28 Dockerfile [2021-05-14T03:30:27.643Z] -rw-rw-r--. 1 jenkins jenkins 994 May 14 03:28 Dockerfile.build [2021-05-14T03:30:27.643Z] -rw-rw-r--. 1 jenkins jenkins 140 May 14 03:28 .dockerignore [2021-05-14T03:30:27.643Z] drwxrwxr-x. 8 jenkins jenkins 162 May 14 03:28 .git [2021-05-14T03:30:27.643Z] drwxrwxr-x. 2 jenkins jenkins 103 May 14 03:28 .github [2021-05-14T03:30:27.643Z] -rw-rw-r--. 1 jenkins jenkins 336 May 14 03:28 .gitignore [2021-05-14T03:30:27.643Z] -rw-r--r--. 1 jenkins jenkins 409 May 14 03:30 go.mod [2021-05-14T03:30:27.643Z] -rw-r--r--. 1 jenkins jenkins 20987 May 14 03:29 go.sum [2021-05-14T03:30:27.643Z] drwxrwxr-x. 3 jenkins jenkins 20 May 14 03:28 internal [2021-05-14T03:30:27.643Z] -rw-rw-r--. 1 jenkins jenkins 677 May 14 03:28 Jenkinsfile [2021-05-14T03:30:27.643Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 14 03:28 LICENSE [2021-05-14T03:30:27.644Z] -rw-rw-r--. 1 jenkins jenkins 921 May 14 03:28 Makefile [2021-05-14T03:30:27.644Z] drwxrwxr-x. 2 jenkins jenkins 23 May 14 03:28 mock [2021-05-14T03:30:27.644Z] -rw-rw-r--. 1 jenkins jenkins 2217 May 14 03:28 README.md [2021-05-14T03:30:27.644Z] drwxrwxr-x. 4 jenkins jenkins 71 May 14 03:28 snap [2021-05-14T03:30:27.644Z] -rw-rw-r--. 1 jenkins jenkins 12 May 14 03:26 VERSION [2021-05-14T03:30:27.644Z] -rw-rw-r--. 1 jenkins jenkins 227 May 14 03:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:30:27.964Z] + 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=7449b2aa7b51ce87674ebf74544798bad0e4f615 --label arch=amd64 --label version=1.3.2-dev.11 . [2021-05-14T03:30:27.964Z] Sending build context to Docker daemon 573.4kB [2021-05-14T03:30:28.228Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T03:30:28.228Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-14T03:30:28.228Z] ---> 9770ecae1904 [2021-05-14T03:30:28.228Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-14T03:30:28.228Z] ---> Running in bc7149a97fca [2021-05-14T03:30:28.505Z] Removing intermediate container bc7149a97fca [2021-05-14T03:30:28.505Z] ---> 3d1091c20e75 [2021-05-14T03:30:28.505Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-05-14T03:30:28.505Z] ---> Running in 24ad61b598e1 [2021-05-14T03:30:28.772Z] Removing intermediate container 24ad61b598e1 [2021-05-14T03:30:28.772Z] ---> a3b9148d773e [2021-05-14T03:30:28.772Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T03:30:28.772Z] ---> Running in 057f65228c22 [2021-05-14T03:30:29.759Z] Removing intermediate container 057f65228c22 [2021-05-14T03:30:29.759Z] ---> 3fc284eeb290 [2021-05-14T03:30:29.759Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-14T03:30:29.759Z] ---> Running in 968f52b6d1ea [2021-05-14T03:30:30.359Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-14T03:30:31.313Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-14T03:30:31.956Z] OK: 156 MiB in 53 packages [2021-05-14T03:30:32.225Z] Removing intermediate container 968f52b6d1ea [2021-05-14T03:30:32.225Z] ---> 7abae2f21771 [2021-05-14T03:30:32.225Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-05-14T03:30:32.225Z] ---> Running in fc1332cbfd81 [2021-05-14T03:30:32.504Z] Removing intermediate container fc1332cbfd81 [2021-05-14T03:30:32.505Z] ---> 31419c097c28 [2021-05-14T03:30:32.505Z] Step 8/23 : COPY . . [2021-05-14T03:30:33.463Z] ---> d8dc30c2bdf7 [2021-05-14T03:30:33.463Z] Step 9/23 : RUN go mod download [2021-05-14T03:30:33.463Z] ---> Running in d1476e07173c [2021-05-14T03:30:34.900Z] Removing intermediate container d1476e07173c [2021-05-14T03:30:34.900Z] ---> 418d49779302 [2021-05-14T03:30:34.900Z] Step 10/23 : ARG MAKE='make build' [2021-05-14T03:30:34.900Z] ---> Running in 65f08f0eb648 [2021-05-14T03:30:35.170Z] Removing intermediate container 65f08f0eb648 [2021-05-14T03:30:35.171Z] ---> f332691b64d9 [2021-05-14T03:30:35.171Z] Step 11/23 : RUN $MAKE [2021-05-14T03:30:35.171Z] ---> Running in 850a318df98f [2021-05-14T03:30:36.164Z] go mod tidy [2021-05-14T03:30:36.164Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.11" -o cmd/device-mqtt ./cmd [2021-05-14T03:30:50.055Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-46 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-05-14T03:30:50.079Z] Running in /w/workspace/device-mqtt-go/43 [Pipeline] { [Pipeline] checkout [2021-05-14T03:30:50.384Z] Selected Git installation does not exist. Using Default [2021-05-14T03:30:50.384Z] The recommended git tool is: NONE [2021-05-14T03:30:54.485Z] Removing intermediate container 850a318df98f [2021-05-14T03:30:54.485Z] ---> 7c88e7cee1b9 [2021-05-14T03:30:54.485Z] Step 12/23 : FROM alpine:3.12 [2021-05-14T03:30:54.485Z] 3.12: Pulling from library/alpine [2021-05-14T03:30:54.485Z] 339de151aab4: Pulling fs layer [2021-05-14T03:30:54.485Z] 339de151aab4: Verifying Checksum [2021-05-14T03:30:54.485Z] 339de151aab4: Download complete [2021-05-14T03:30:54.754Z] 339de151aab4: Pull complete [2021-05-14T03:30:54.754Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-14T03:30:54.754Z] Status: Downloaded newer image for alpine:3.12 [2021-05-14T03:30:54.754Z] ---> 13621d1b12d4 [2021-05-14T03:30:54.754Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-05-14T03:30:55.016Z] ---> Running in 1ac8d391e40e [2021-05-14T03:30:55.282Z] Removing intermediate container 1ac8d391e40e [2021-05-14T03:30:55.282Z] ---> ff971e5c717c [2021-05-14T03:30:55.282Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-14T03:30:55.282Z] ---> Running in 43232a7feef5 [2021-05-14T03:30:55.361Z] using credential edgex-jenkins-ssh [2021-05-14T03:30:55.383Z] Cloning the remote Git repository [2021-05-14T03:30:55.870Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-14T03:30:56.152Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-14T03:30:56.152Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-14T03:30:56.152Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-14T03:30:56.152Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-14T03:30:56.152Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-14T03:30:56.152Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-14T03:30:55.428Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-14T03:30:55.536Z] > git init /w/workspace/device-mqtt-go/43 # timeout=10 [2021-05-14T03:30:55.668Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-14T03:30:55.669Z] > git --version # timeout=10 [2021-05-14T03:30:55.701Z] > git --version # 'git version 2.17.1' [2021-05-14T03:30:55.704Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T03:30:55.817Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T03:30:56.432Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-14T03:30:56.432Z] Executing busybox-1.31.1-r20.trigger [2021-05-14T03:30:56.432Z] OK: 8 MiB in 20 packages [2021-05-14T03:30:56.619Z] Avoid second fetch [2021-05-14T03:30:56.620Z] Checking out Revision 7449b2aa7b51ce87674ebf74544798bad0e4f615 (master) [2021-05-14T03:30:57.025Z] Removing intermediate container 43232a7feef5 [2021-05-14T03:30:57.025Z] ---> 3232a09a90df [2021-05-14T03:30:57.025Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-05-14T03:30:56.568Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-05-14T03:30:56.586Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T03:30:56.631Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T03:30:56.653Z] > git checkout -f 7449b2aa7b51ce87674ebf74544798bad0e4f615 # timeout=10 [2021-05-14T03:30:58.017Z] ---> 0d1bd33005bb [2021-05-14T03:30:58.017Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-05-14T03:30:58.625Z] ---> 0926b85371ae [2021-05-14T03:30:58.625Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-05-14T03:30:59.212Z] ---> c819fe455eaa [2021-05-14T03:30:59.212Z] Step 18/23 : EXPOSE 49982 [2021-05-14T03:30:59.212Z] ---> Running in e2d66486dd0b [2021-05-14T03:30:59.475Z] Removing intermediate container e2d66486dd0b [2021-05-14T03:30:59.475Z] ---> 24ae0a006c02 [2021-05-14T03:30:59.475Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-05-14T03:30:59.475Z] ---> Running in d7657d131b64 [2021-05-14T03:30:59.745Z] Removing intermediate container d7657d131b64 [2021-05-14T03:30:59.745Z] ---> 897a78d5267e [2021-05-14T03:30:59.745Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-14T03:30:59.745Z] ---> Running in 1b10138c2ed4 [2021-05-14T03:31:00.016Z] Removing intermediate container 1b10138c2ed4 [2021-05-14T03:31:00.016Z] ---> b059ad2b304e [2021-05-14T03:31:00.016Z] Step 21/23 : LABEL arch=amd64 [2021-05-14T03:31:00.016Z] ---> Running in 52638566cf7e [2021-05-14T03:31:00.283Z] Removing intermediate container 52638566cf7e [2021-05-14T03:31:00.283Z] ---> 61c7ea3347c0 [2021-05-14T03:31:00.283Z] Step 22/23 : LABEL git_sha=7449b2aa7b51ce87674ebf74544798bad0e4f615 [2021-05-14T03:31:00.283Z] ---> Running in 85e00970976b [2021-05-14T03:31:00.552Z] Removing intermediate container 85e00970976b [2021-05-14T03:31:00.552Z] ---> bf72221f7a87 [2021-05-14T03:31:00.552Z] Step 23/23 : LABEL version=1.3.2-dev.11 [2021-05-14T03:31:00.552Z] ---> Running in 8abe7c50529b [2021-05-14T03:31:00.816Z] Removing intermediate container 8abe7c50529b [2021-05-14T03:31:00.816Z] ---> 4cda1f01a800 [2021-05-14T03:31:00.816Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-14T03:31:00.816Z] Successfully built 4cda1f01a800 [2021-05-14T03:31:00.816Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [2021-05-14T03:31:00.917Z] Commit message: "Merge pull request #236 from lenny-intel/secure-bus" [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T03:31:01.025Z] provisioning config files... [2021-05-14T03:31:01.041Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/43@tmp/config1041151869163601509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:31:01.413Z] ---> docker-login.sh [2021-05-14T03:31:01.413Z] nexus3.edgexfoundry.org:10001 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-05-14T03:31:01.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:31:01.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:31:01.690Z] Configure a credential helper to remove this warning. See [2021-05-14T03:31:01.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:31:01.690Z] [2021-05-14T03:31:01.690Z] Login Succeeded [2021-05-14T03:31:01.690Z] nexus3.edgexfoundry.org:10002 [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-14T03:31:01.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:31:01.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:31:01.959Z] Configure a credential helper to remove this warning. See [2021-05-14T03:31:01.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:31:01.959Z] [2021-05-14T03:31:01.959Z] Login Succeeded [2021-05-14T03:31:01.959Z] nexus3.edgexfoundry.org:10003 [2021-05-14T03:31:02.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:31:02.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:31:02.223Z] Configure a credential helper to remove this warning. See [2021-05-14T03:31:02.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:31:02.223Z] [2021-05-14T03:31:02.223Z] Login Succeeded [2021-05-14T03:31:02.223Z] nexus3.edgexfoundry.org:10004 [2021-05-14T03:31:02.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:31:02.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:31:02.487Z] Configure a credential helper to remove this warning. See [2021-05-14T03:31:02.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:31:02.487Z] [2021-05-14T03:31:02.487Z] Login Succeeded [2021-05-14T03:31:02.487Z] docker.io [2021-05-14T03:31:02.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:31:02.601Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-14T03:31:02.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:31:02.752Z] Configure a credential helper to remove this warning. See [2021-05-14T03:31:02.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:31:02.752Z] [2021-05-14T03:31:02.752Z] Login Succeeded [2021-05-14T03:31:02.752Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T03:31:02.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-14T03:31:02.929Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2021-05-14T03:31:02.930Z] 7449b2aa7b51ce87674ebf74544798bad0e4f615 [2021-05-14T03:31:02.930Z] latest [2021-05-14T03:31:02.930Z] 1.3.2-dev.11 [2021-05-14T03:31:02.930Z] 7449b2aa7b51ce87674ebf74544798bad0e4f615-1.3.2-dev.11 [2021-05-14T03:31:02.930Z] master [2021-05-14T03:31:02.930Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:31:03.118Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-14T03:31:03.334Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7449b2aa7b51ce87674ebf74544798bad0e4f615 [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:31:03.476Z] + sudo service docker restart [2021-05-14T03:31:03.476Z] + true [2021-05-14T03:31:03.676Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7449b2aa7b51ce87674ebf74544798bad0e4f615 [2021-05-14T03:31:03.676Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-05-14T03:31:03.676Z] 792775aa47b0: Preparing [2021-05-14T03:31:03.676Z] c6538ecb0361: Preparing [2021-05-14T03:31:03.676Z] 5fdaaabc0a88: Preparing [2021-05-14T03:31:03.676Z] f3a533ba0596: Preparing [2021-05-14T03:31:03.676Z] 32f366d666a5: Preparing [2021-05-14T03:31:03.676Z] 32f366d666a5: Layer already exists [2021-05-14T03:31:03.943Z] c6538ecb0361: Pushed [2021-05-14T03:31:03.943Z] 792775aa47b0: Pushed [2021-05-14T03:31:04.211Z] f3a533ba0596: Pushed [2021-05-14T03:31:05.173Z] 5fdaaabc0a88: Pushed [2021-05-14T03:31:05.436Z] 7449b2aa7b51ce87674ebf74544798bad0e4f615: digest: sha256:6d135cbb5bf5de15561efc614452a1c8f92012a35d1fede82dfbb9fb4647a60c size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:31:05.753Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:31:06.064Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-05-14T03:31:06.064Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-05-14T03:31:06.064Z] 792775aa47b0: Preparing [2021-05-14T03:31:06.064Z] c6538ecb0361: Preparing [2021-05-14T03:31:06.064Z] 5fdaaabc0a88: Preparing [2021-05-14T03:31:06.064Z] f3a533ba0596: Preparing [2021-05-14T03:31:06.064Z] 32f366d666a5: Preparing [2021-05-14T03:31:06.064Z] 792775aa47b0: Layer already exists [2021-05-14T03:31:06.064Z] f3a533ba0596: Layer already exists [2021-05-14T03:31:06.064Z] 5fdaaabc0a88: Layer already exists [2021-05-14T03:31:06.064Z] 32f366d666a5: Layer already exists [2021-05-14T03:31:06.064Z] c6538ecb0361: Layer already exists [2021-05-14T03:31:06.064Z] latest: digest: sha256:6d135cbb5bf5de15561efc614452a1c8f92012a35d1fede82dfbb9fb4647a60c size: 1365 [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T03:31:06.162Z] provisioning config files... [2021-05-14T03:31:06.186Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/43@tmp/config151736327799981642tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:31:06.380Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:31:06.567Z] ---> docker-login.sh [2021-05-14T03:31:06.567Z] nexus3.edgexfoundry.org:10001 [2021-05-14T03:31:06.695Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.11 [2021-05-14T03:31:06.695Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-05-14T03:31:06.695Z] 792775aa47b0: Preparing [2021-05-14T03:31:06.695Z] c6538ecb0361: Preparing [2021-05-14T03:31:06.695Z] 5fdaaabc0a88: Preparing [2021-05-14T03:31:06.695Z] f3a533ba0596: Preparing [2021-05-14T03:31:06.695Z] 32f366d666a5: Preparing [2021-05-14T03:31:06.695Z] c6538ecb0361: Layer already exists [2021-05-14T03:31:06.695Z] f3a533ba0596: Layer already exists [2021-05-14T03:31:06.695Z] 5fdaaabc0a88: Layer already exists [2021-05-14T03:31:06.695Z] 32f366d666a5: Layer already exists [2021-05-14T03:31:06.695Z] 792775aa47b0: Layer already exists [2021-05-14T03:31:06.695Z] 1.3.2-dev.11: digest: sha256:6d135cbb5bf5de15561efc614452a1c8f92012a35d1fede82dfbb9fb4647a60c size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:31:07.040Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7449b2aa7b51ce87674ebf74544798bad0e4f615-1.3.2-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:31:07.358Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7449b2aa7b51ce87674ebf74544798bad0e4f615-1.3.2-dev.11 [2021-05-14T03:31:07.358Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-05-14T03:31:07.358Z] 792775aa47b0: Preparing [2021-05-14T03:31:07.358Z] c6538ecb0361: Preparing [2021-05-14T03:31:07.358Z] 5fdaaabc0a88: Preparing [2021-05-14T03:31:07.358Z] f3a533ba0596: Preparing [2021-05-14T03:31:07.358Z] 32f366d666a5: Preparing [2021-05-14T03:31:07.358Z] 32f366d666a5: Layer already exists [2021-05-14T03:31:07.358Z] c6538ecb0361: Layer already exists [2021-05-14T03:31:07.358Z] f3a533ba0596: Layer already exists [2021-05-14T03:31:07.358Z] 792775aa47b0: Layer already exists [2021-05-14T03:31:07.358Z] 5fdaaabc0a88: Layer already exists [2021-05-14T03:31:07.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:31:07.624Z] 7449b2aa7b51ce87674ebf74544798bad0e4f615-1.3.2-dev.11: digest: sha256:6d135cbb5bf5de15561efc614452a1c8f92012a35d1fede82dfbb9fb4647a60c size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:31:07.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:31:07.831Z] Configure a credential helper to remove this warning. See [2021-05-14T03:31:07.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:31:07.831Z] [2021-05-14T03:31:07.831Z] Login Succeeded [2021-05-14T03:31:07.831Z] nexus3.edgexfoundry.org:10002 [2021-05-14T03:31:07.950Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:31:08.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:31:08.274Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:master [2021-05-14T03:31:08.274Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-05-14T03:31:08.274Z] 792775aa47b0: Preparing [2021-05-14T03:31:08.274Z] c6538ecb0361: Preparing [2021-05-14T03:31:08.274Z] 5fdaaabc0a88: Preparing [2021-05-14T03:31:08.274Z] f3a533ba0596: Preparing [2021-05-14T03:31:08.274Z] 32f366d666a5: Preparing [2021-05-14T03:31:08.274Z] 5fdaaabc0a88: Layer already exists [2021-05-14T03:31:08.274Z] c6538ecb0361: Layer already exists [2021-05-14T03:31:08.274Z] 792775aa47b0: Layer already exists [2021-05-14T03:31:08.274Z] f3a533ba0596: Layer already exists [2021-05-14T03:31:08.274Z] 32f366d666a5: Layer already exists [2021-05-14T03:31:08.274Z] master: digest: sha256:6d135cbb5bf5de15561efc614452a1c8f92012a35d1fede82dfbb9fb4647a60c size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-14T03:31:08.333Z] ===================================================== [Pipeline] echo [2021-05-14T03:31:08.349Z] taggedImages: [2021-05-14T03:31:08.349Z] - nexus3.edgexfoundry.org:10004/device-mqtt:7449b2aa7b51ce87674ebf74544798bad0e4f615 [2021-05-14T03:31:08.349Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-05-14T03:31:08.349Z] - nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.11 [2021-05-14T03:31:08.349Z] - nexus3.edgexfoundry.org:10004/device-mqtt:7449b2aa7b51ce87674ebf74544798bad0e4f615-1.3.2-dev.11 [2021-05-14T03:31:08.349Z] - nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] } [Pipeline] // script [Pipeline] } [2021-05-14T03:31:08.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:31:08.383Z] Configure a credential helper to remove this warning. See [2021-05-14T03:31:08.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:31:08.383Z] [2021-05-14T03:31:08.383Z] Login Succeeded [2021-05-14T03:31:08.383Z] nexus3.edgexfoundry.org:10003 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [2021-05-14T03:31:08.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:31:08.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:31:08.936Z] Configure a credential helper to remove this warning. See [2021-05-14T03:31:08.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:31:08.936Z] [2021-05-14T03:31:08.936Z] Login Succeeded [2021-05-14T03:31:08.936Z] nexus3.edgexfoundry.org:10004 [2021-05-14T03:31:09.112Z] ---> job-cost.sh [2021-05-14T03:31:09.112Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-3kcQ [2021-05-14T03:31:09.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:31:09.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:31:09.211Z] Configure a credential helper to remove this warning. See [2021-05-14T03:31:09.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:31:09.211Z] [2021-05-14T03:31:09.211Z] Login Succeeded [2021-05-14T03:31:09.211Z] docker.io [2021-05-14T03:31:09.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:31:10.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:31:10.082Z] Configure a credential helper to remove this warning. See [2021-05-14T03:31:10.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:31:10.082Z] [2021-05-14T03:31:10.082Z] Login Succeeded [2021-05-14T03:31:10.082Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T03:31:10.100Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-14T03:31:10.407Z] ========================================================= [2021-05-14T03:31:10.407Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-14T03:31:10.407Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:31:10.754Z] + 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-14T03:31:11.033Z] Sending build context to Docker daemon 552.4kB [2021-05-14T03:31:11.033Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T03:31:11.033Z] Step 2/8 : FROM ${BASE} [2021-05-14T03:31:11.305Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-14T03:31:11.305Z] 595b0fe564bb: Pulling fs layer [2021-05-14T03:31:11.305Z] 7186ed65a4f7: Pulling fs layer [2021-05-14T03:31:11.305Z] 316046926c0a: Pulling fs layer [2021-05-14T03:31:11.305Z] 4ebd0625c992: Pulling fs layer [2021-05-14T03:31:11.305Z] 207e8628e3a3: Pulling fs layer [2021-05-14T03:31:11.305Z] c791037a9be2: Pulling fs layer [2021-05-14T03:31:11.305Z] ffd874e62e21: Pulling fs layer [2021-05-14T03:31:11.305Z] 4ebd0625c992: Waiting [2021-05-14T03:31:11.305Z] 207e8628e3a3: Waiting [2021-05-14T03:31:11.305Z] c791037a9be2: Waiting [2021-05-14T03:31:11.305Z] ffd874e62e21: Waiting [2021-05-14T03:31:11.305Z] 316046926c0a: Download complete [2021-05-14T03:31:11.305Z] 7186ed65a4f7: Download complete [2021-05-14T03:31:11.305Z] c791037a9be2: Verifying Checksum [2021-05-14T03:31:11.305Z] c791037a9be2: Download complete [2021-05-14T03:31:11.305Z] 595b0fe564bb: Verifying Checksum [2021-05-14T03:31:11.305Z] 595b0fe564bb: Download complete [2021-05-14T03:31:11.912Z] 595b0fe564bb: Pull complete [2021-05-14T03:31:12.516Z] 7186ed65a4f7: Pull complete [2021-05-14T03:31:12.795Z] 316046926c0a: Pull complete [2021-05-14T03:31:13.390Z] ffd874e62e21: Verifying Checksum [2021-05-14T03:31:13.390Z] ffd874e62e21: Download complete [2021-05-14T03:31:14.833Z] 4ebd0625c992: Download complete [2021-05-14T03:31:27.254Z] 4ebd0625c992: Pull complete [2021-05-14T03:31:27.254Z] 207e8628e3a3: Pull complete [2021-05-14T03:31:27.254Z] c791037a9be2: Pull complete [2021-05-14T03:31:27.332Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-14T03:31:29.908Z] ffd874e62e21: Pull complete [2021-05-14T03:31:29.908Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-14T03:31:29.908Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-14T03:31:29.908Z] ---> cfc18b08335c [2021-05-14T03:31:29.908Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-14T03:31:32.537Z] ---> Running in 10e15ebf5a9a [2021-05-14T03:31:32.807Z] Removing intermediate container 10e15ebf5a9a [2021-05-14T03:31:32.807Z] ---> cd00e753b372 [2021-05-14T03:31:32.807Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T03:31:33.079Z] ---> Running in 88dc670e164c [2021-05-14T03:31:35.058Z] Removing intermediate container 88dc670e164c [2021-05-14T03:31:35.058Z] ---> ce5189758414 [2021-05-14T03:31:35.058Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-14T03:31:35.330Z] ---> Running in abaabb25dfc5 [2021-05-14T03:31:36.780Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-14T03:31:37.392Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-14T03:31:38.374Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-14T03:31:38.374Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-14T03:31:38.645Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-14T03:31:38.645Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-14T03:31:38.915Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-14T03:31:38.915Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-14T03:31:38.915Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-14T03:31:39.508Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-14T03:31:39.508Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-14T03:31:39.508Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-14T03:31:40.101Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-14T03:31:40.373Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-14T03:31:40.647Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-14T03:31:40.647Z] Executing busybox-1.32.1-r6.trigger [2021-05-14T03:31:40.647Z] OK: 145 MiB in 53 packages [2021-05-14T03:31:42.620Z] Removing intermediate container abaabb25dfc5 [2021-05-14T03:31:42.620Z] ---> ad04b07e1c8b [2021-05-14T03:31:42.620Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-05-14T03:31:42.620Z] ---> Running in 4457ab0b56e2 [2021-05-14T03:31:42.892Z] Removing intermediate container 4457ab0b56e2 [2021-05-14T03:31:42.892Z] ---> cc3560f06832 [2021-05-14T03:31:42.892Z] Step 7/8 : COPY . . [2021-05-14T03:31:43.867Z] ---> baf56882cb99 [2021-05-14T03:31:43.867Z] Step 8/8 : RUN go mod download [2021-05-14T03:31:44.143Z] ---> Running in a832e820c415 [2021-05-14T03:31:59.594Z] lf-activate-venv(): INFO: Adding /tmp/venv-3kcQ/bin to PATH [2021-05-14T03:31:59.594Z] INFO: No Stack... [2021-05-14T03:31:59.594Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-14T03:31:59.594Z] INFO: Archiving Costs [Pipeline] sh [2021-05-14T03:31:59.928Z] + cut -d, -f6 [2021-05-14T03:31:59.928Z] + cat /w/workspace/device-mqtt-go/43/archives/cost.csv [Pipeline] lock [2021-05-14T03:31:59.984Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-43-stack-cost] [2021-05-14T03:31:59.996Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-43-stack-cost] did not exist. Created. [2021-05-14T03:31:59.996Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-14T03:32:00.334Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-14T03:32:00.470Z] Stashed 1 file(s) [Pipeline] } [2021-05-14T03:32:00.484Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-43-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-14T03:32:10.966Z] Removing intermediate container a832e820c415 [2021-05-14T03:32:10.967Z] ---> e72e74339df8 [2021-05-14T03:32:10.967Z] Successfully built e72e74339df8 [2021-05-14T03:32:10.967Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:32:11.318Z] + docker inspect -f . ci-base-image-arm64 [2021-05-14T03:32:11.318Z] . [Pipeline] withDockerContainer [2021-05-14T03:32:11.584Z] prd-ubuntu18.04-docker-arm64-4c-16g-46 does not seem to be running inside a container [2021-05-14T03:32:11.663Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/43 -v /w/workspace/device-mqtt-go/43:/w/workspace/device-mqtt-go/43:rw,z -v /w/workspace/device-mqtt-go/43@tmp:/w/workspace/device-mqtt-go/43@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-arm64 cat [2021-05-14T03:32:13.152Z] $ docker top c880dbd62c4de8cd2e1102a4bd4b3c64db58affa13b48ceabc8f0b0a2684cd43 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T03:32:14.134Z] + go version [2021-05-14T03:32:14.134Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-14T03:32:14.152Z] $ docker stop --time=1 c880dbd62c4de8cd2e1102a4bd4b3c64db58affa13b48ceabc8f0b0a2684cd43 [2021-05-14T03:32:16.063Z] $ docker rm -f c880dbd62c4de8cd2e1102a4bd4b3c64db58affa13b48ceabc8f0b0a2684cd43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:32:16.816Z] + docker inspect -f . ci-base-image-arm64 [2021-05-14T03:32:16.816Z] . [Pipeline] withDockerContainer [2021-05-14T03:32:17.076Z] prd-ubuntu18.04-docker-arm64-4c-16g-46 does not seem to be running inside a container [2021-05-14T03:32:17.147Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/43 -v /w/workspace/device-mqtt-go/43:/w/workspace/device-mqtt-go/43:rw,z -v /w/workspace/device-mqtt-go/43@tmp:/w/workspace/device-mqtt-go/43@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-arm64 cat [2021-05-14T03:32:18.639Z] $ docker top 3b51d34a906370fe222baa90dd7fa85215f298261b411c45516683f8b326dde8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T03:32:19.597Z] + go mod tidy [Pipeline] sh [2021-05-14T03:32:20.869Z] + make test [2021-05-14T03:32:20.869Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-14T03:32:21.849Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-05-14T03:33:18.480Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-05-14T03:33:18.480Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.040s coverage: 24.9% of statements [2021-05-14T03:33:18.480Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-05-14T03:33:18.480Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-14T03:33:45.302Z] gofmt -l . [2021-05-14T03:33:45.302Z] ["`gofmt -l .`" = ""] [2021-05-14T03:33:45.302Z] ./bin/test-attribution-txt.sh [2021-05-14T03:33:45.302Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-14T03:33:45.318Z] $ docker stop --time=1 3b51d34a906370fe222baa90dd7fa85215f298261b411c45516683f8b326dde8 [2021-05-14T03:33:47.446Z] $ docker rm -f 3b51d34a906370fe222baa90dd7fa85215f298261b411c45516683f8b326dde8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-14T03:33:48.330Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-14T03:33:48.364Z] Warning: overwriting stash ‘coverage-report’ [2021-05-14T03:33:48.844Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-14T03:33:49.383Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-14T03:33:49.724Z] + ls -al . [2021-05-14T03:33:49.724Z] total 140 [2021-05-14T03:33:49.724Z] drwxrwxr-x 9 jenkins jenkins 4096 May 14 03:33 . [2021-05-14T03:33:49.724Z] drwxrwxr-x 4 jenkins jenkins 4096 May 14 03:30 .. [2021-05-14T03:33:49.724Z] -rw-rw-r-- 1 jenkins jenkins 140 May 14 03:30 .dockerignore [2021-05-14T03:33:49.724Z] drwxrwxr-x 8 jenkins jenkins 4096 May 14 03:31 .git [2021-05-14T03:33:49.724Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 03:30 .github [2021-05-14T03:33:49.724Z] -rw-rw-r-- 1 jenkins jenkins 336 May 14 03:30 .gitignore [2021-05-14T03:33:49.724Z] -rw-rw-r-- 1 jenkins jenkins 7100 May 14 03:30 Attribution.txt [2021-05-14T03:33:49.724Z] -rw-rw-r-- 1 jenkins jenkins 1861 May 14 03:30 Dockerfile [2021-05-14T03:33:49.724Z] -rw-rw-r-- 1 jenkins jenkins 994 May 14 03:30 Dockerfile.build [2021-05-14T03:33:49.724Z] -rw-rw-r-- 1 jenkins jenkins 677 May 14 03:30 Jenkinsfile [2021-05-14T03:33:49.724Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 14 03:30 LICENSE [2021-05-14T03:33:49.724Z] -rw-rw-r-- 1 jenkins jenkins 921 May 14 03:30 Makefile [2021-05-14T03:33:49.724Z] -rw-rw-r-- 1 jenkins jenkins 2217 May 14 03:30 README.md [2021-05-14T03:33:49.724Z] -rw-rw-r-- 1 jenkins jenkins 12 May 14 03:26 VERSION [2021-05-14T03:33:49.724Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 03:30 bin [2021-05-14T03:33:49.724Z] drwxrwxr-x 3 jenkins jenkins 4096 May 14 03:30 cmd [2021-05-14T03:33:49.724Z] -rw-r--r-- 1 jenkins jenkins 19386 May 14 03:33 coverage.out [2021-05-14T03:33:49.724Z] -rw-r--r-- 1 jenkins jenkins 409 May 14 03:33 go.mod [2021-05-14T03:33:49.724Z] -rw-r--r-- 1 jenkins jenkins 20987 May 14 03:32 go.sum [2021-05-14T03:33:49.724Z] drwxrwxr-x 3 jenkins jenkins 4096 May 14 03:30 internal [2021-05-14T03:33:49.724Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 03:30 mock [2021-05-14T03:33:49.724Z] drwxrwxr-x 4 jenkins jenkins 4096 May 14 03:30 snap [2021-05-14T03:33:49.724Z] -rw-rw-r-- 1 jenkins jenkins 227 May 14 03:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:33:50.071Z] + 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=7449b2aa7b51ce87674ebf74544798bad0e4f615 --label arch=arm64 --label version=1.3.2-dev.11 . [2021-05-14T03:33:50.348Z] Sending build context to Docker daemon 572.4kB [2021-05-14T03:33:50.348Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T03:33:50.348Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-14T03:33:50.348Z] ---> e72e74339df8 [2021-05-14T03:33:50.348Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-14T03:33:50.622Z] ---> Running in dbee22104233 [2021-05-14T03:33:51.220Z] Removing intermediate container dbee22104233 [2021-05-14T03:33:51.220Z] ---> 3633cf280c56 [2021-05-14T03:33:51.220Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-05-14T03:33:51.220Z] ---> Running in 42fbfe851aca [2021-05-14T03:33:51.816Z] Removing intermediate container 42fbfe851aca [2021-05-14T03:33:51.816Z] ---> 7bc1e1196d34 [2021-05-14T03:33:51.816Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T03:33:51.816Z] ---> Running in 879a6a59d852 [2021-05-14T03:33:53.788Z] Removing intermediate container 879a6a59d852 [2021-05-14T03:33:53.788Z] ---> 43bff6745b47 [2021-05-14T03:33:53.788Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-14T03:33:54.062Z] ---> Running in b2e99901dced [2021-05-14T03:33:55.039Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-14T03:33:56.020Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-14T03:33:56.997Z] OK: 145 MiB in 53 packages [2021-05-14T03:33:57.978Z] Removing intermediate container b2e99901dced [2021-05-14T03:33:57.978Z] ---> 5b92e1fd4a32 [2021-05-14T03:33:57.978Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-05-14T03:33:57.978Z] ---> Running in 363cc2152634 [2021-05-14T03:33:58.570Z] Removing intermediate container 363cc2152634 [2021-05-14T03:33:58.570Z] ---> c176f1accecf [2021-05-14T03:33:58.570Z] Step 8/23 : COPY . . [2021-05-14T03:33:59.580Z] ---> 24a14975637b [2021-05-14T03:33:59.580Z] Step 9/23 : RUN go mod download [2021-05-14T03:33:59.854Z] ---> Running in 814c87f23a85 [2021-05-14T03:34:01.853Z] Removing intermediate container 814c87f23a85 [2021-05-14T03:34:01.853Z] ---> a087cb935e24 [2021-05-14T03:34:01.853Z] Step 10/23 : ARG MAKE='make build' [2021-05-14T03:34:02.131Z] ---> Running in 96a4c1f04f70 [2021-05-14T03:34:02.425Z] Removing intermediate container 96a4c1f04f70 [2021-05-14T03:34:02.425Z] ---> 4eee1b41c612 [2021-05-14T03:34:02.425Z] Step 11/23 : RUN $MAKE [2021-05-14T03:34:02.700Z] ---> Running in 3f17e4f72bb4 [2021-05-14T03:34:03.677Z] go mod tidy [2021-05-14T03:34:04.280Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.11" -o cmd/device-mqtt ./cmd [2021-05-14T03:34:43.332Z] Removing intermediate container 3f17e4f72bb4 [2021-05-14T03:34:43.332Z] ---> 6e35e95703de [2021-05-14T03:34:43.332Z] Step 12/23 : FROM alpine:3.12 [2021-05-14T03:34:43.332Z] 3.12: Pulling from library/alpine [2021-05-14T03:34:43.332Z] d2f70382dc9a: Pulling fs layer [2021-05-14T03:34:43.332Z] d2f70382dc9a: Download complete [2021-05-14T03:34:43.332Z] d2f70382dc9a: Pull complete [2021-05-14T03:34:43.332Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-14T03:34:43.332Z] Status: Downloaded newer image for alpine:3.12 [2021-05-14T03:34:43.332Z] ---> 9852663dfa18 [2021-05-14T03:34:43.332Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-05-14T03:34:43.332Z] ---> Running in 3a6530f542dd [2021-05-14T03:34:43.332Z] Removing intermediate container 3a6530f542dd [2021-05-14T03:34:43.332Z] ---> 73ccbca9e704 [2021-05-14T03:34:43.332Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-14T03:34:43.332Z] ---> Running in 4e6dba85b2f9 [2021-05-14T03:34:43.332Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-14T03:34:43.605Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-14T03:34:44.195Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-14T03:34:44.195Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-14T03:34:44.195Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-14T03:34:44.195Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-14T03:34:44.195Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-14T03:34:44.195Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-14T03:34:44.195Z] Executing busybox-1.31.1-r20.trigger [2021-05-14T03:34:44.195Z] OK: 8 MiB in 20 packages [2021-05-14T03:34:45.173Z] Removing intermediate container 4e6dba85b2f9 [2021-05-14T03:34:45.173Z] ---> 4ec49490aa45 [2021-05-14T03:34:45.173Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-05-14T03:34:46.622Z] ---> 9170629599f3 [2021-05-14T03:34:46.622Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-05-14T03:34:47.211Z] ---> 1c36efc6bf9c [2021-05-14T03:34:47.211Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-05-14T03:34:47.803Z] ---> 1e7521aa4144 [2021-05-14T03:34:47.803Z] Step 18/23 : EXPOSE 49982 [2021-05-14T03:34:48.074Z] ---> Running in 9ba544512b3e [2021-05-14T03:34:48.347Z] Removing intermediate container 9ba544512b3e [2021-05-14T03:34:48.347Z] ---> 598dc056129f [2021-05-14T03:34:48.347Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-05-14T03:34:48.620Z] ---> Running in abdc8e02987f [2021-05-14T03:34:48.893Z] Removing intermediate container abdc8e02987f [2021-05-14T03:34:48.893Z] ---> 74d89fd85b48 [2021-05-14T03:34:48.893Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-14T03:34:49.165Z] ---> Running in ec2170c50da3 [2021-05-14T03:34:49.443Z] Removing intermediate container ec2170c50da3 [2021-05-14T03:34:49.443Z] ---> c688dc9b2aaf [2021-05-14T03:34:49.443Z] Step 21/23 : LABEL arch=arm64 [2021-05-14T03:34:49.715Z] ---> Running in fdd58275d9a1 [2021-05-14T03:34:49.985Z] Removing intermediate container fdd58275d9a1 [2021-05-14T03:34:49.986Z] ---> 29c072bfe983 [2021-05-14T03:34:49.986Z] Step 22/23 : LABEL git_sha=7449b2aa7b51ce87674ebf74544798bad0e4f615 [2021-05-14T03:34:50.258Z] ---> Running in f27c38839c58 [2021-05-14T03:34:50.530Z] Removing intermediate container f27c38839c58 [2021-05-14T03:34:50.530Z] ---> 7e036ae727a2 [2021-05-14T03:34:50.530Z] Step 23/23 : LABEL version=1.3.2-dev.11 [2021-05-14T03:34:50.803Z] ---> Running in 71be93802927 [2021-05-14T03:34:51.073Z] Removing intermediate container 71be93802927 [2021-05-14T03:34:51.073Z] ---> 629ab8b40357 [2021-05-14T03:34:51.073Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-14T03:34:51.346Z] Successfully built 629ab8b40357 [2021-05-14T03:34:51.346Z] 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-14T03:34:51.618Z] provisioning config files... [2021-05-14T03:34:51.648Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/43@tmp/config3155444628060954056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:34:52.006Z] ---> docker-login.sh [2021-05-14T03:34:52.007Z] nexus3.edgexfoundry.org:10001 [2021-05-14T03:34:52.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:34:52.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:34:52.280Z] Configure a credential helper to remove this warning. See [2021-05-14T03:34:52.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:34:52.280Z] [2021-05-14T03:34:52.280Z] Login Succeeded [2021-05-14T03:34:52.280Z] nexus3.edgexfoundry.org:10002 [2021-05-14T03:34:52.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:34:52.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:34:52.876Z] Configure a credential helper to remove this warning. See [2021-05-14T03:34:52.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:34:52.876Z] [2021-05-14T03:34:52.876Z] Login Succeeded [2021-05-14T03:34:52.876Z] nexus3.edgexfoundry.org:10003 [2021-05-14T03:34:53.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:34:53.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:34:53.425Z] Configure a credential helper to remove this warning. See [2021-05-14T03:34:53.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:34:53.425Z] [2021-05-14T03:34:53.425Z] Login Succeeded [2021-05-14T03:34:53.425Z] nexus3.edgexfoundry.org:10004 [2021-05-14T03:34:53.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:34:53.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:34:53.973Z] Configure a credential helper to remove this warning. See [2021-05-14T03:34:53.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:34:53.973Z] [2021-05-14T03:34:53.973Z] Login Succeeded [2021-05-14T03:34:53.973Z] docker.io [2021-05-14T03:34:54.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T03:34:54.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T03:34:54.841Z] Configure a credential helper to remove this warning. See [2021-05-14T03:34:54.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T03:34:54.841Z] [2021-05-14T03:34:54.841Z] Login Succeeded [2021-05-14T03:34:54.841Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T03:34:54.860Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-14T03:34:54.945Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2021-05-14T03:34:54.945Z] 7449b2aa7b51ce87674ebf74544798bad0e4f615 [2021-05-14T03:34:54.945Z] latest [2021-05-14T03:34:54.945Z] 1.3.2-dev.11 [2021-05-14T03:34:54.945Z] 7449b2aa7b51ce87674ebf74544798bad0e4f615-1.3.2-dev.11 [2021-05-14T03:34:54.945Z] master [2021-05-14T03:34:54.945Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:34:55.333Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7449b2aa7b51ce87674ebf74544798bad0e4f615 [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:34:55.702Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7449b2aa7b51ce87674ebf74544798bad0e4f615 [2021-05-14T03:34:55.702Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-05-14T03:34:55.702Z] d69ddfeaf353: Preparing [2021-05-14T03:34:55.702Z] 9f82284cd32d: Preparing [2021-05-14T03:34:55.702Z] e48cf779c2f7: Preparing [2021-05-14T03:34:55.702Z] f1e7679fe19c: Preparing [2021-05-14T03:34:55.702Z] 3fbe34a1663b: Preparing [2021-05-14T03:34:55.990Z] 3fbe34a1663b: Layer already exists [2021-05-14T03:34:55.990Z] 9f82284cd32d: Pushed [2021-05-14T03:34:55.990Z] d69ddfeaf353: Pushed [2021-05-14T03:34:56.586Z] f1e7679fe19c: Pushed [2021-05-14T03:34:59.207Z] e48cf779c2f7: Pushed [2021-05-14T03:34:59.207Z] 7449b2aa7b51ce87674ebf74544798bad0e4f615: digest: sha256:f493bfea5cc81a8e16c58787525a28cfa0cc2d0e0b3e95c5836a6a5caebee74d size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:34:59.560Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:34:59.903Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-05-14T03:34:59.903Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-05-14T03:34:59.903Z] d69ddfeaf353: Preparing [2021-05-14T03:34:59.903Z] 9f82284cd32d: Preparing [2021-05-14T03:34:59.903Z] e48cf779c2f7: Preparing [2021-05-14T03:34:59.903Z] f1e7679fe19c: Preparing [2021-05-14T03:34:59.904Z] 3fbe34a1663b: Preparing [2021-05-14T03:34:59.904Z] 3fbe34a1663b: Layer already exists [2021-05-14T03:34:59.904Z] 9f82284cd32d: Layer already exists [2021-05-14T03:34:59.904Z] e48cf779c2f7: Layer already exists [2021-05-14T03:34:59.904Z] f1e7679fe19c: Layer already exists [2021-05-14T03:35:00.178Z] d69ddfeaf353: Layer already exists [2021-05-14T03:35:00.178Z] latest: digest: sha256:f493bfea5cc81a8e16c58787525a28cfa0cc2d0e0b3e95c5836a6a5caebee74d size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:35:00.527Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:35:00.881Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.11 [2021-05-14T03:35:00.881Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-05-14T03:35:00.881Z] d69ddfeaf353: Preparing [2021-05-14T03:35:00.881Z] 9f82284cd32d: Preparing [2021-05-14T03:35:00.881Z] e48cf779c2f7: Preparing [2021-05-14T03:35:00.881Z] f1e7679fe19c: Preparing [2021-05-14T03:35:00.881Z] 3fbe34a1663b: Preparing [2021-05-14T03:35:01.157Z] 3fbe34a1663b: Layer already exists [2021-05-14T03:35:01.157Z] e48cf779c2f7: Layer already exists [2021-05-14T03:35:01.157Z] f1e7679fe19c: Layer already exists [2021-05-14T03:35:01.157Z] d69ddfeaf353: Layer already exists [2021-05-14T03:35:01.157Z] 9f82284cd32d: Layer already exists [2021-05-14T03:35:01.157Z] 1.3.2-dev.11: digest: sha256:f493bfea5cc81a8e16c58787525a28cfa0cc2d0e0b3e95c5836a6a5caebee74d size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:35:01.508Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7449b2aa7b51ce87674ebf74544798bad0e4f615-1.3.2-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:35:01.855Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7449b2aa7b51ce87674ebf74544798bad0e4f615-1.3.2-dev.11 [2021-05-14T03:35:01.855Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-05-14T03:35:01.855Z] d69ddfeaf353: Preparing [2021-05-14T03:35:01.855Z] 9f82284cd32d: Preparing [2021-05-14T03:35:01.855Z] e48cf779c2f7: Preparing [2021-05-14T03:35:01.855Z] f1e7679fe19c: Preparing [2021-05-14T03:35:01.855Z] 3fbe34a1663b: Preparing [2021-05-14T03:35:01.855Z] e48cf779c2f7: Layer already exists [2021-05-14T03:35:01.855Z] 9f82284cd32d: Layer already exists [2021-05-14T03:35:01.855Z] d69ddfeaf353: Layer already exists [2021-05-14T03:35:01.855Z] f1e7679fe19c: Layer already exists [2021-05-14T03:35:01.855Z] 3fbe34a1663b: Layer already exists [2021-05-14T03:35:02.129Z] 7449b2aa7b51ce87674ebf74544798bad0e4f615-1.3.2-dev.11: digest: sha256:f493bfea5cc81a8e16c58787525a28cfa0cc2d0e0b3e95c5836a6a5caebee74d size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:35:02.482Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:35:02.891Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [2021-05-14T03:35:02.891Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-05-14T03:35:02.891Z] d69ddfeaf353: Preparing [2021-05-14T03:35:02.891Z] 9f82284cd32d: Preparing [2021-05-14T03:35:02.891Z] e48cf779c2f7: Preparing [2021-05-14T03:35:02.891Z] f1e7679fe19c: Preparing [2021-05-14T03:35:02.891Z] 3fbe34a1663b: Preparing [2021-05-14T03:35:02.891Z] 9f82284cd32d: Layer already exists [2021-05-14T03:35:02.891Z] 3fbe34a1663b: Layer already exists [2021-05-14T03:35:02.891Z] f1e7679fe19c: Layer already exists [2021-05-14T03:35:02.891Z] d69ddfeaf353: Layer already exists [2021-05-14T03:35:03.167Z] e48cf779c2f7: Layer already exists [2021-05-14T03:35:03.167Z] master: digest: sha256:f493bfea5cc81a8e16c58787525a28cfa0cc2d0e0b3e95c5836a6a5caebee74d size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-14T03:35:03.242Z] ===================================================== [Pipeline] echo [2021-05-14T03:35:03.267Z] taggedImages: [2021-05-14T03:35:03.267Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7449b2aa7b51ce87674ebf74544798bad0e4f615 [2021-05-14T03:35:03.267Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-05-14T03:35:03.267Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.11 [2021-05-14T03:35:03.267Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7449b2aa7b51ce87674ebf74544798bad0e4f615-1.3.2-dev.11 [2021-05-14T03:35:03.267Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:35:03.779Z] ---> job-cost.sh [2021-05-14T03:35:03.779Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ER4i [2021-05-14T03:35:42.745Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-14T03:37:04.538Z] lf-activate-venv(): INFO: Adding /tmp/venv-ER4i/bin to PATH [2021-05-14T03:37:04.538Z] INFO: No Stack... [2021-05-14T03:37:04.538Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-14T03:37:04.538Z] INFO: Archiving Costs [Pipeline] sh [2021-05-14T03:37:04.878Z] + cat /w/workspace/device-mqtt-go/43/archives/cost.csv [2021-05-14T03:37:04.878Z] + cut -d, -f6 [Pipeline] lock [2021-05-14T03:37:04.981Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-43-stack-cost] [2021-05-14T03:37:04.989Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-43-stack-cost] did not exist. Created. [2021-05-14T03:37:04.990Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-14T03:37:05.387Z] /w/workspace/device-mqtt-go/43@tmp/durable-f90c5f89/script.sh: 1: /w/workspace/device-mqtt-go/43@tmp/durable-f90c5f89/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-14T03:37:05.730Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-14T03:37:05.762Z] Warning: overwriting stash ‘stack-cost’ [2021-05-14T03:37:05.921Z] Stashed 1 file(s) [Pipeline] } [2021-05-14T03:37:05.929Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-43-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-14T03:37:06.625Z] provisioning config files... [2021-05-14T03:37:06.646Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3980355052781484262tmp [Pipeline] { [Pipeline] sh [2021-05-14T03:37:06.976Z] + set +x [2021-05-14T03:37:06.976Z] + curl -s https://codecov.io/bash [2021-05-14T03:37:06.976Z] + bash -s -- [2021-05-14T03:37:07.243Z] [2021-05-14T03:37:07.243Z] _____ _ [2021-05-14T03:37:07.243Z] / ____| | | [2021-05-14T03:37:07.243Z] | | ___ __| | ___ ___ _____ __ [2021-05-14T03:37:07.243Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-14T03:37:07.243Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-14T03:37:07.243Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-14T03:37:07.243Z] Bash-1.0.2 [2021-05-14T03:37:07.243Z] [2021-05-14T03:37:07.243Z] [2021-05-14T03:37:07.243Z] ==> git version 2.24.3 found [2021-05-14T03:37:07.243Z] ==> 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-14T03:37:07.243Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-14T03:37:07.243Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-14T03:37:07.243Z] ==> Jenkins CI detected. [2021-05-14T03:37:07.243Z] project root: . [2021-05-14T03:37:07.243Z] --> token set from env [2021-05-14T03:37:07.243Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-14T03:37:07.243Z] ==> Running gcov in . (disable via -X gcov) [2021-05-14T03:37:07.243Z] ==> Python coveragepy not found [2021-05-14T03:37:07.243Z] ==> Searching for coverage reports in: [2021-05-14T03:37:07.243Z] + . [2021-05-14T03:37:07.243Z] -> Found 1 reports [2021-05-14T03:37:07.243Z] ==> Detecting git/mercurial file structure [2021-05-14T03:37:07.243Z] ==> Reading reports [2021-05-14T03:37:07.243Z] + ./coverage.out bytes=19386 [2021-05-14T03:37:07.243Z] ==> Appending adjustments [2021-05-14T03:37:07.243Z] https://docs.codecov.io/docs/fixing-reports [2021-05-14T03:37:07.243Z] + Found adjustments [2021-05-14T03:37:07.243Z] ==> Gzipping contents [2021-05-14T03:37:07.243Z] 4.0K /tmp/codecov.KGdYun.gz [2021-05-14T03:37:07.243Z] ==> Uploading reports [2021-05-14T03:37:07.243Z] url: https://codecov.io [2021-05-14T03:37:07.243Z] query: branch=master&commit=7449b2aa7b51ce87674ebf74544798bad0e4f615&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-14T03:37:07.506Z] -> Pinging Codecov [2021-05-14T03:37:07.506Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=7449b2aa7b51ce87674ebf74544798bad0e4f615&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-14T03:37:07.768Z] -> Uploading to [2021-05-14T03:37:07.768Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-14/7D719EC7BBE17E464838252E33014C33/7449b2aa7b51ce87674ebf74544798bad0e4f615/30198046-55c5-47fa-8aa0-982627121239.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210514%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210514T033707Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a664e7da4648f4ccad836299559483c056a99e76b1c87093f339d1d440ada811 [2021-05-14T03:37:07.768Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-14T03:37:07.768Z] Dload Upload Total Spent Left Speed [2021-05-14T03:37:08.717Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3390 0 0 100 3390 0 5571 --:--:-- --:--:-- --:--:-- 5575 [2021-05-14T03:37:08.717Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/7449b2aa7b51ce87674ebf74544798bad0e4f615 [Pipeline] } [2021-05-14T03:37:08.727Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-14T03:37:09.470Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-14T03:37:09.484Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:37:09.796Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-14T03:37:09.796Z] [2021-05-14T03:37:09.796Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:37:10.125Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-14T03:37:10.125Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-14T03:37:10.125Z] 188c0c94c7c5: Pulling fs layer [2021-05-14T03:37:10.125Z] 0ef7d3d256c8: Pulling fs layer [2021-05-14T03:37:10.125Z] de9db76c5a1d: Pulling fs layer [2021-05-14T03:37:10.125Z] 0eba1c9be4d2: Pulling fs layer [2021-05-14T03:37:10.125Z] 0d57e429df01: Pulling fs layer [2021-05-14T03:37:10.125Z] 4e4be7b47b0d: Pulling fs layer [2021-05-14T03:37:10.125Z] e1f770b5df2f: Pulling fs layer [2021-05-14T03:37:10.125Z] 85a0685a4137: Pulling fs layer [2021-05-14T03:37:10.125Z] 0eba1c9be4d2: Waiting [2021-05-14T03:37:10.125Z] 0d57e429df01: Waiting [2021-05-14T03:37:10.125Z] 4e4be7b47b0d: Waiting [2021-05-14T03:37:10.125Z] e1f770b5df2f: Waiting [2021-05-14T03:37:10.125Z] 85a0685a4137: Waiting [2021-05-14T03:37:10.125Z] de9db76c5a1d: Verifying Checksum [2021-05-14T03:37:10.125Z] de9db76c5a1d: Download complete [2021-05-14T03:37:10.125Z] 0ef7d3d256c8: Verifying Checksum [2021-05-14T03:37:10.125Z] 0ef7d3d256c8: Download complete [2021-05-14T03:37:10.125Z] 0d57e429df01: Download complete [2021-05-14T03:37:10.125Z] 4e4be7b47b0d: Verifying Checksum [2021-05-14T03:37:10.125Z] 4e4be7b47b0d: Download complete [2021-05-14T03:37:10.125Z] 188c0c94c7c5: Verifying Checksum [2021-05-14T03:37:10.125Z] 188c0c94c7c5: Download complete [2021-05-14T03:37:10.711Z] 188c0c94c7c5: Pull complete [2021-05-14T03:37:10.711Z] 0ef7d3d256c8: Pull complete [2021-05-14T03:37:10.988Z] de9db76c5a1d: Pull complete [2021-05-14T03:37:11.564Z] e1f770b5df2f: Verifying Checksum [2021-05-14T03:37:11.564Z] e1f770b5df2f: Download complete [2021-05-14T03:37:13.534Z] 0eba1c9be4d2: Verifying Checksum [2021-05-14T03:37:13.534Z] 0eba1c9be4d2: Download complete [2021-05-14T03:37:14.169Z] 85a0685a4137: Verifying Checksum [2021-05-14T03:37:14.169Z] 85a0685a4137: Download complete [2021-05-14T03:37:19.567Z] 0eba1c9be4d2: Pull complete [2021-05-14T03:37:19.567Z] 0d57e429df01: Pull complete [2021-05-14T03:37:19.567Z] 4e4be7b47b0d: Pull complete [2021-05-14T03:37:20.978Z] e1f770b5df2f: Pull complete [2021-05-14T03:37:27.618Z] 85a0685a4137: Pull complete [2021-05-14T03:37:27.618Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-14T03:37:27.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-14T03:37:27.890Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-14T03:37:28.097Z] prd-centos7-docker-4c-2g-38 does not seem to be running inside a container [2021-05-14T03:37:28.147Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-14T03:37:29.158Z] $ docker top 51759ad776476a7bb540f2e250717857e3c7c60bf09aaf7651ada136b8b81e90 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-14T03:37:29.341Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-14T03:37:29.639Z] + set -o pipefail [2021-05-14T03:37:29.639Z] + snyk monitor '--org=edgex-jenkins' [2021-05-14T03:38:01.806Z] [2021-05-14T03:38:01.806Z] Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... [2021-05-14T03:38:01.807Z] [2021-05-14T03:38:01.807Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/56d3d8a3-1c38-4e12-9801-164ad01a0143 [2021-05-14T03:38:01.807Z] [2021-05-14T03:38:01.807Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-14T03:38:01.807Z] [2021-05-14T03:38:01.807Z] [Pipeline] } [2021-05-14T03:38:01.836Z] $ docker stop --time=1 51759ad776476a7bb540f2e250717857e3c7c60bf09aaf7651ada136b8b81e90 [2021-05-14T03:38:04.303Z] $ docker rm -f 51759ad776476a7bb540f2e250717857e3c7c60bf09aaf7651ada136b8b81e90 [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-14T03:38:05.556Z] + git log --format=format:%s -1 7449b2aa7b51ce87674ebf74544798bad0e4f615 [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:38:05.885Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T03:38:05.885Z] . [Pipeline] withDockerContainer [2021-05-14T03:38:05.996Z] prd-centos7-docker-4c-2g-38 does not seem to be running inside a container [2021-05-14T03:38:06.053Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-14T03:38:06.871Z] $ docker top ec8a71565edf7e28aefbdaff5d0f250965a8e93aa8a0a9312d32b2c96a0b8f85 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-14T03:38:07.015Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-14T03:38:07.015Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-14T03:38:07.242Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-14T03:38:07.249Z] $ docker exec ec8a71565edf7e28aefbdaff5d0f250965a8e93aa8a0a9312d32b2c96a0b8f85 ssh-agent [2021-05-14T03:38:07.413Z] SSH_AUTH_SOCK=/tmp/ssh-5VRFoxNGzJlt/agent.11 [2021-05-14T03:38:07.413Z] SSH_AGENT_PID=16 [2021-05-14T03:38:07.423Z] Running ssh-add (command line suppressed) [2021-05-14T03:38:07.561Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5662860590534600845.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5662860590534600845.key) [2021-05-14T03:38:07.611Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-14T03:38:07.915Z] + git semver tag [2021-05-14T03:38:07.915Z] # -> Open(): unable to determine branch for HEAD [2021-05-14T03:38:07.915Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-05-14T03:38:07.915Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-05-14T03:38:07.915Z] # $SEMVER_REMOTE_NAME = origin [2021-05-14T03:38:07.915Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-14T03:38:07.915Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-14T03:38:07.915Z] # $SEMVER_BRANCH = master [2021-05-14T03:38:07.915Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-05-14T03:38:07.915Z] # 7449b2aa7b51ce87674ebf74544798bad0e4f615 HEAD [2021-05-14T03:38:07.915Z] # -> Force: false [2021-05-14T03:38:07.915Z] # 82ffa08b79c72d453844dd2550060e4827d5d7a8 refs/tags/v1.3.2-dev.11 [Pipeline] } [2021-05-14T03:38:07.931Z] $ docker exec --env ******** --env ******** ec8a71565edf7e28aefbdaff5d0f250965a8e93aa8a0a9312d32b2c96a0b8f85 ssh-agent -k [2021-05-14T03:38:08.042Z] unset SSH_AUTH_SOCK; [2021-05-14T03:38:08.042Z] unset SSH_AGENT_PID; [2021-05-14T03:38:08.042Z] echo Agent pid 16 killed; [2021-05-14T03:38:08.092Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-14T03:38:08.431Z] + git semver [Pipeline] } [2021-05-14T03:38:08.452Z] $ docker stop --time=1 ec8a71565edf7e28aefbdaff5d0f250965a8e93aa8a0a9312d32b2c96a0b8f85 [2021-05-14T03:38:09.779Z] $ docker rm -f ec8a71565edf7e28aefbdaff5d0f250965a8e93aa8a0a9312d32b2c96a0b8f85 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:38:10.283Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-14T03:38:10.283Z] [2021-05-14T03:38:10.283Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:38:10.596Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-14T03:38:10.596Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-14T03:38:10.596Z] ab5ef0e58194: Pulling fs layer [2021-05-14T03:38:10.596Z] 9712f1f96733: Pulling fs layer [2021-05-14T03:38:10.596Z] 63f879dbbcfc: Pulling fs layer [2021-05-14T03:38:10.596Z] 0d9ebad4ef96: Pulling fs layer [2021-05-14T03:38:10.596Z] e9a5061849ea: Pulling fs layer [2021-05-14T03:38:10.596Z] d747dcd14b5f: Pulling fs layer [2021-05-14T03:38:10.596Z] 2de7ff778b66: Pulling fs layer [2021-05-14T03:38:10.596Z] d747dcd14b5f: Waiting [2021-05-14T03:38:10.596Z] 2de7ff778b66: Waiting [2021-05-14T03:38:10.596Z] 0d9ebad4ef96: Waiting [2021-05-14T03:38:10.596Z] e9a5061849ea: Waiting [2021-05-14T03:38:10.596Z] 9712f1f96733: Verifying Checksum [2021-05-14T03:38:10.596Z] 9712f1f96733: Download complete [2021-05-14T03:38:11.990Z] 63f879dbbcfc: Verifying Checksum [2021-05-14T03:38:11.990Z] 63f879dbbcfc: Download complete [2021-05-14T03:38:12.255Z] e9a5061849ea: Verifying Checksum [2021-05-14T03:38:12.255Z] e9a5061849ea: Download complete [2021-05-14T03:38:12.255Z] d747dcd14b5f: Download complete [2021-05-14T03:38:12.534Z] 2de7ff778b66: Verifying Checksum [2021-05-14T03:38:12.534Z] 2de7ff778b66: Download complete [2021-05-14T03:38:12.804Z] ab5ef0e58194: Verifying Checksum [2021-05-14T03:38:12.804Z] ab5ef0e58194: Download complete [2021-05-14T03:38:13.065Z] 0d9ebad4ef96: Verifying Checksum [2021-05-14T03:38:17.290Z] ab5ef0e58194: Pull complete [2021-05-14T03:38:17.290Z] 9712f1f96733: Pull complete [2021-05-14T03:38:19.860Z] 63f879dbbcfc: Pull complete [2021-05-14T03:38:26.490Z] 0d9ebad4ef96: Pull complete [2021-05-14T03:38:27.082Z] e9a5061849ea: Pull complete [2021-05-14T03:38:27.082Z] d747dcd14b5f: Pull complete [2021-05-14T03:38:29.639Z] 2de7ff778b66: Pull complete [2021-05-14T03:38:29.639Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-14T03:38:29.639Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-14T03:38:29.639Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-14T03:38:29.834Z] prd-centos7-docker-4c-2g-38 does not seem to be running inside a container [2021-05-14T03:38:29.880Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-14T03:38:33.780Z] $ docker top 7d6ea1df510a973f8c4381eff3c07692b8d2679d964a96808bd8483756a69de8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-14T03:38:33.985Z] provisioning config files... [2021-05-14T03:38:34.001Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config6732522010093978510tmp [2021-05-14T03:38:34.017Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config8807480087503070718tmp [2021-05-14T03:38:34.032Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config6693784934341142943tmp [Pipeline] { [Pipeline] echo [2021-05-14T03:38:34.054Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:38:34.359Z] ---> sigul-configuration.sh [2021-05-14T03:38:34.359Z] gpg: directory `/root/.gnupg' created [2021-05-14T03:38:34.359Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-14T03:38:34.359Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-14T03:38:34.359Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-14T03:38:34.359Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-14T03:38:34.359Z] gpg: CAST5 encrypted data [2021-05-14T03:38:34.623Z] gpg: encrypted with 1 passphrase [2021-05-14T03:38:34.623Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-14T03:38:34.927Z] + mkdir /home/jenkins [2021-05-14T03:38:34.927Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-14T03:38:35.225Z] + 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-14T03:38:35.237Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:38:35.542Z] ---> sigul-install.sh [2021-05-14T03:38:42.148Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-14T03:38:42.595Z] + git tag --list [2021-05-14T03:38:42.595Z] 0.7.1 [2021-05-14T03:38:42.595Z] v1.0.0 [2021-05-14T03:38:42.595Z] v1.1.0 [2021-05-14T03:38:42.595Z] v1.1.1 [2021-05-14T03:38:42.595Z] v1.2.2 [2021-05-14T03:38:42.595Z] v1.3.0 [2021-05-14T03:38:42.595Z] v1.3.1 [2021-05-14T03:38:42.595Z] v1.3.1-dev.1 [2021-05-14T03:38:42.595Z] v1.3.1-dev.2 [2021-05-14T03:38:42.595Z] v1.3.1-dev.3 [2021-05-14T03:38:42.595Z] v1.3.1-dev.4 [2021-05-14T03:38:42.595Z] v1.3.2-dev.1 [2021-05-14T03:38:42.595Z] v1.3.2-dev.10 [2021-05-14T03:38:42.595Z] v1.3.2-dev.11 [2021-05-14T03:38:42.595Z] v1.3.2-dev.2 [2021-05-14T03:38:42.595Z] v1.3.2-dev.3 [2021-05-14T03:38:42.595Z] v1.3.2-dev.4 [2021-05-14T03:38:42.595Z] v1.3.2-dev.5 [2021-05-14T03:38:42.595Z] v1.3.2-dev.6 [2021-05-14T03:38:42.595Z] v1.3.2-dev.7 [2021-05-14T03:38:42.595Z] v1.3.2-dev.8 [2021-05-14T03:38:42.595Z] v1.3.2-dev.9 [Pipeline] sh [2021-05-14T03:38:42.906Z] + lftools sign git-tag v1.3.2-dev.11 [2021-05-14T03:38:44.304Z] Signing Git tag with Sigul... [2021-05-14T03:38:44.304Z] Signing v1.3.2-dev.11 [Pipeline] echo [2021-05-14T03:38:44.977Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:38:45.313Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-14T03:38:45.344Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-14T03:38:45.404Z] $ docker stop --time=1 7d6ea1df510a973f8c4381eff3c07692b8d2679d964a96808bd8483756a69de8 [2021-05-14T03:38:46.871Z] $ docker rm -f 7d6ea1df510a973f8c4381eff3c07692b8d2679d964a96808bd8483756a69de8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:38:47.586Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T03:38:47.586Z] . [Pipeline] withDockerContainer [2021-05-14T03:38:47.683Z] prd-centos7-docker-4c-2g-38 does not seem to be running inside a container [2021-05-14T03:38:47.731Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-14T03:38:48.388Z] $ docker top f27dda98f98afcda46e4715f2ef36087f8bdc97e23fc7425113f1029ed00606b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-14T03:38:48.576Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-14T03:38:48.576Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-14T03:38:48.775Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-14T03:38:48.782Z] $ docker exec f27dda98f98afcda46e4715f2ef36087f8bdc97e23fc7425113f1029ed00606b ssh-agent [2021-05-14T03:38:48.945Z] SSH_AUTH_SOCK=/tmp/ssh-gQRPL8R9fwfL/agent.11 [2021-05-14T03:38:48.945Z] SSH_AGENT_PID=16 [2021-05-14T03:38:48.951Z] Running ssh-add (command line suppressed) [2021-05-14T03:38:49.079Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8164432152660435095.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8164432152660435095.key) [2021-05-14T03:38:49.132Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-14T03:38:49.434Z] + git semver bump pre [2021-05-14T03:38:49.434Z] # -> Open(): unable to determine branch for HEAD [2021-05-14T03:38:49.434Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-05-14T03:38:49.434Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-05-14T03:38:49.434Z] # $SEMVER_REMOTE_NAME = origin [2021-05-14T03:38:49.434Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-14T03:38:49.434Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-14T03:38:49.434Z] # $SEMVER_BRANCH = master [2021-05-14T03:38:49.434Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-05-14T03:38:49.434Z] 1.3.2-dev.12 [Pipeline] } [2021-05-14T03:38:49.449Z] $ docker exec --env ******** --env ******** f27dda98f98afcda46e4715f2ef36087f8bdc97e23fc7425113f1029ed00606b ssh-agent -k [2021-05-14T03:38:49.572Z] unset SSH_AUTH_SOCK; [2021-05-14T03:38:49.572Z] unset SSH_AGENT_PID; [2021-05-14T03:38:49.572Z] echo Agent pid 16 killed; [2021-05-14T03:38:49.621Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-14T03:38:49.971Z] + git semver [Pipeline] } [2021-05-14T03:38:49.992Z] $ docker stop --time=1 f27dda98f98afcda46e4715f2ef36087f8bdc97e23fc7425113f1029ed00606b [2021-05-14T03:38:51.358Z] $ docker rm -f f27dda98f98afcda46e4715f2ef36087f8bdc97e23fc7425113f1029ed00606b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:38:51.798Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T03:38:51.798Z] . [Pipeline] withDockerContainer [2021-05-14T03:38:51.951Z] prd-centos7-docker-4c-2g-38 does not seem to be running inside a container [2021-05-14T03:38:51.999Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-14T03:38:52.719Z] $ docker top 04e88fd05490f92ec035d0e69b33f8add3f86875046e120396ce29195924d09e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-14T03:38:52.906Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-14T03:38:52.906Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-14T03:38:53.124Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-14T03:38:53.132Z] $ docker exec 04e88fd05490f92ec035d0e69b33f8add3f86875046e120396ce29195924d09e ssh-agent [2021-05-14T03:38:53.328Z] SSH_AUTH_SOCK=/tmp/ssh-O15UgFGWzwu3/agent.12 [2021-05-14T03:38:53.328Z] SSH_AGENT_PID=17 [2021-05-14T03:38:53.336Z] Running ssh-add (command line suppressed) [2021-05-14T03:38:53.473Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8557104688645857910.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8557104688645857910.key) [2021-05-14T03:38:53.524Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-14T03:38:53.826Z] + git semver push [2021-05-14T03:38:53.826Z] # -> Open(): unable to determine branch for HEAD [2021-05-14T03:38:53.826Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-05-14T03:38:53.826Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-05-14T03:38:53.826Z] # $SEMVER_REMOTE_NAME = origin [2021-05-14T03:38:53.826Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-14T03:38:53.826Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-14T03:38:53.826Z] # $SEMVER_BRANCH = master [2021-05-14T03:38:53.826Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-05-14T03:38:58.084Z] $ docker exec --env ******** --env ******** 04e88fd05490f92ec035d0e69b33f8add3f86875046e120396ce29195924d09e ssh-agent -k [2021-05-14T03:38:58.229Z] unset SSH_AUTH_SOCK; [2021-05-14T03:38:58.230Z] unset SSH_AGENT_PID; [2021-05-14T03:38:58.230Z] echo Agent pid 17 killed; [2021-05-14T03:38:58.287Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-14T03:38:58.642Z] + git semver [Pipeline] } [2021-05-14T03:38:58.664Z] $ docker stop --time=1 04e88fd05490f92ec035d0e69b33f8add3f86875046e120396ce29195924d09e [2021-05-14T03:39:00.032Z] $ docker rm -f 04e88fd05490f92ec035d0e69b33f8add3f86875046e120396ce29195924d09e [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-14T03:39:01.077Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:39:01.653Z] ---> package-listing.sh [2021-05-14T03:39:01.653Z] ++ facter osfamily [2021-05-14T03:39:01.653Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-14T03:39:01.653Z] + OS_FAMILY=redhat [2021-05-14T03:39:01.653Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_master [2021-05-14T03:39:01.653Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-14T03:39:01.653Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-14T03:39:01.653Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-14T03:39:01.653Z] + PACKAGES=/tmp/packages_start.txt [2021-05-14T03:39:01.653Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-05-14T03:39:01.653Z] + PACKAGES=/tmp/packages_end.txt [2021-05-14T03:39:01.653Z] + case "${OS_FAMILY}" in [2021-05-14T03:39:01.653Z] + rpm -qa [2021-05-14T03:39:01.653Z] + sort [2021-05-14T03:39:06.971Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-14T03:39:06.971Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-14T03:39:06.971Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-14T03:39:06.971Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-05-14T03:39:06.971Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [2021-05-14T03:39:06.971Z] + 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-14T03:39:06.985Z] 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-14T03:39:07.288Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:39:07.599Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T03:39:07.599Z] [2021-05-14T03:39:07.599Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-14T03:39:07.931Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T03:39:07.931Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-14T03:39:07.931Z] df20fa9351a1: Pulling fs layer [2021-05-14T03:39:07.931Z] 36b3adc4ff6f: Pulling fs layer [2021-05-14T03:39:07.931Z] 8ad3a11d3b57: Pulling fs layer [2021-05-14T03:39:07.931Z] 46f8f816bc3b: Pulling fs layer [2021-05-14T03:39:07.931Z] 93b61091891f: Pulling fs layer [2021-05-14T03:39:07.931Z] 93b9cdb0e59b: Pulling fs layer [2021-05-14T03:39:07.931Z] 5e14af77c1be: Pulling fs layer [2021-05-14T03:39:07.931Z] 01666e4c0597: Pulling fs layer [2021-05-14T03:39:07.931Z] aa168da1d23b: Pulling fs layer [2021-05-14T03:39:07.931Z] 46f8f816bc3b: Waiting [2021-05-14T03:39:07.931Z] 93b61091891f: Waiting [2021-05-14T03:39:07.931Z] 93b9cdb0e59b: Waiting [2021-05-14T03:39:07.931Z] 5e14af77c1be: Waiting [2021-05-14T03:39:07.931Z] 01666e4c0597: Waiting [2021-05-14T03:39:07.931Z] aa168da1d23b: Waiting [2021-05-14T03:39:07.931Z] 36b3adc4ff6f: Download complete [2021-05-14T03:39:07.931Z] 46f8f816bc3b: Verifying Checksum [2021-05-14T03:39:07.931Z] 46f8f816bc3b: Download complete [2021-05-14T03:39:08.195Z] df20fa9351a1: Verifying Checksum [2021-05-14T03:39:08.195Z] 93b9cdb0e59b: Verifying Checksum [2021-05-14T03:39:08.195Z] 93b9cdb0e59b: Download complete [2021-05-14T03:39:08.195Z] 5e14af77c1be: Download complete [2021-05-14T03:39:08.195Z] 01666e4c0597: Verifying Checksum [2021-05-14T03:39:08.195Z] 01666e4c0597: Download complete [2021-05-14T03:39:08.195Z] 93b61091891f: Verifying Checksum [2021-05-14T03:39:08.195Z] 93b61091891f: Download complete [2021-05-14T03:39:08.465Z] 8ad3a11d3b57: Verifying Checksum [2021-05-14T03:39:08.465Z] 8ad3a11d3b57: Download complete [2021-05-14T03:39:08.465Z] df20fa9351a1: Pull complete [2021-05-14T03:39:08.734Z] 36b3adc4ff6f: Pull complete [2021-05-14T03:39:09.692Z] 8ad3a11d3b57: Pull complete [2021-05-14T03:39:09.956Z] 46f8f816bc3b: Pull complete [2021-05-14T03:39:10.530Z] aa168da1d23b: Verifying Checksum [2021-05-14T03:39:10.530Z] aa168da1d23b: Download complete [2021-05-14T03:39:10.530Z] 93b61091891f: Pull complete [2021-05-14T03:39:10.530Z] 93b9cdb0e59b: Pull complete [2021-05-14T03:39:10.530Z] 5e14af77c1be: Pull complete [2021-05-14T03:39:10.804Z] 01666e4c0597: Pull complete [2021-05-14T03:39:17.466Z] aa168da1d23b: Pull complete [2021-05-14T03:39:17.466Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-14T03:39:17.466Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T03:39:17.466Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-14T03:39:17.607Z] prd-centos7-docker-4c-2g-38 does not seem to be running inside a container [2021-05-14T03:39:17.660Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-14T03:39:20.005Z] $ docker top 431b7bcfa7d2731d2eda16bf9822bce6b40d8c97ccf5254e9ec872cc0792442a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T03:39:20.424Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-14T03:39:20.724Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-14T03:39:21.038Z] + ls /var/log/sa-host [2021-05-14T03:39:21.038Z] + sadf -c /var/log/sa-host/sa14 [2021-05-14T03:39:21.038Z] file_magic: OK [2021-05-14T03:39:21.038Z] HZ: Using current value: 100 [2021-05-14T03:39:21.038Z] file_header: OK [2021-05-14T03:39:21.038Z] 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-14T03:39:21.038Z] Statistics: [2021-05-14T03:39:21.038Z] 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...Hnuu...uuuununununu... [2021-05-14T03:39:21.038Z] File successfully converted to sysstat format version 12.2.1 [2021-05-14T03:39:21.038Z] + sadf -c /var/log/sa-host/sa23 [2021-05-14T03:39:21.038Z] file_magic: OK [2021-05-14T03:39:21.038Z] HZ: Using current value: 100 [2021-05-14T03:39:21.038Z] file_header: OK [2021-05-14T03:39:21.038Z] 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-14T03:39:21.038Z] Statistics: [2021-05-14T03:39:21.038Z] Hnuu...uuuununununu... [2021-05-14T03:39:21.038Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T03:39:21.243Z] provisioning config files... [2021-05-14T03:39:21.257Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3665698447550792622tmp [Pipeline] { [Pipeline] echo [2021-05-14T03:39:21.279Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:39:21.582Z] ---> create-netrc.sh [Pipeline] } [2021-05-14T03:39:21.595Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-14T03:39:21.621Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:39:21.974Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-14T03:39:22.031Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:39:22.466Z] ---> sudo-logs.sh [2021-05-14T03:39:22.466Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-14T03:39:22.504Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:39:22.804Z] ---> job-cost.sh [2021-05-14T03:39:22.804Z] lf-activate-venv: SKIPPING [2021-05-14T03:39:22.804Z] DEBUG: total: 0.20999999344348907 [2021-05-14T03:39:22.804Z] INFO: Retrieving Stack Cost... [2021-05-14T03:39:24.728Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-14T03:39:25.301Z] INFO: Archiving Costs [Pipeline] echo [2021-05-14T03:39:25.316Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T03:39:25.624Z] ---> logs-deploy.sh [2021-05-14T03:39:25.624Z] lf-activate-venv: SKIPPING [2021-05-14T03:39:25.624Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/43 [2021-05-14T03:39:25.624Z] INFO: archiving workspace using pattern(s): [2021-05-14T03:39:27.015Z] Archives upload complete. [2021-05-14T03:39:27.278Z] INFO: archiving logs to Nexus