Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3691df947a2f13c033dab4cecb2f3e43c92cf99c Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4780’ is offline; ‘prd-centos7-docker-4c-2g-4782’ is offline; ‘prd-centos7-docker-4c-2g-4783’ is offline; ‘prd-centos7-docker-4c-2g-4784’ is offline; ‘prd-centos7-docker-4c-2g-4785’ is offline; ‘prd-centos7-docker-4c-2g-4786’ is offline; ‘prd-centos7-docker-4c-2g-4788’ is offline; ‘prd-centos7-docker-4c-2g-4791’ is offline; ‘prd-centos7-docker-4c-2g-4797’ is offline; ‘prd-centos7-docker-4c-2g-4800’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-4793’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4781’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4787’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4789’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4792’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4802 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 3691df947a2f13c033dab4cecb2f3e43c92cf99c (master) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3691df947a2f13c033dab4cecb2f3e43c92cf99c # timeout=10 Commit message: "Merge pull request #237 from tonyespy/go-116" > git rev-list --no-walk e697b4492d61b291e25afe90594ef703f17e91d3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-12T20:06:38.737Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-12T20:06:38.839Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-12T20:06:38.869Z] ========================================================= [2021-05-12T20:06:38.869Z] EdgeX Global Pipelines Version Info [2021-05-12T20:06:38.869Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:06:40.436Z] ------------------- [2021-05-12T20:06:40.436Z] stable info: [2021-05-12T20:06:40.436Z] ------------------- [2021-05-12T20:06:40.436Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-12T20:06:40.436Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T20:06:40.436Z] Message: update stable to v1.0.192 [2021-05-12T20:06:41.381Z] ------------------- [2021-05-12T20:06:41.381Z] experimental info: [2021-05-12T20:06:41.381Z] ------------------- [2021-05-12T20:06:41.381Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-12T20:06:41.381Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T20:06:41.381Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-12T20:06:41.503Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-05-12T20:06:41.527Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-05-12T20:06:41.550Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-12T20:06:41.573Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-12T20:06:41.596Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-12T20:06:41.617Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-12T20:06:41.641Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-12T20:06:41.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-12T20:06:41.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-12T20:06:41.730Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-12T20:06:41.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-12T20:06:41.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-05-12T20:06:41.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-12T20:06:41.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-12T20:06:41.849Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T20:06:41.887Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T20:06:41.911Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T20:06:41.935Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T20:06:41.959Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-12T20:06:41.984Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-12T20:06:42.010Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-12T20:06:42.034Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-12T20:06:42.058Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-12T20:06:42.099Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-12T20:06:42.122Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-12T20:06:42.147Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-12T20:06:42.171Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-12T20:06:42.194Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-12T20:06:42.218Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-12T20:06:42.241Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3691df947a2f13c033dab4cecb2f3e43c92cf99c [Pipeline] echo [2021-05-12T20:06:42.263Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3691df9 [Pipeline] echo [2021-05-12T20:06:42.300Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:06:42.375Z] provisioning config files... [2021-05-12T20:06:42.407Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config5543601175189812787tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:06:42.737Z] ---> docker-login.sh [2021-05-12T20:06:42.737Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:06:43.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:06:43.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:06:43.271Z] Configure a credential helper to remove this warning. See [2021-05-12T20:06:43.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:06:43.271Z] [2021-05-12T20:06:43.271Z] Login Succeeded [2021-05-12T20:06:43.271Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:06:43.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:06:43.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:06:43.539Z] Configure a credential helper to remove this warning. See [2021-05-12T20:06:43.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:06:43.539Z] [2021-05-12T20:06:43.539Z] Login Succeeded [2021-05-12T20:06:43.539Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:06:43.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:06:43.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:06:43.801Z] Configure a credential helper to remove this warning. See [2021-05-12T20:06:43.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:06:43.801Z] [2021-05-12T20:06:43.801Z] Login Succeeded [2021-05-12T20:06:43.801Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:06:43.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:06:43.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:06:43.801Z] Configure a credential helper to remove this warning. See [2021-05-12T20:06:43.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:06:43.801Z] [2021-05-12T20:06:43.801Z] Login Succeeded [2021-05-12T20:06:43.801Z] docker.io [2021-05-12T20:06:44.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:06:44.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:06:44.327Z] Configure a credential helper to remove this warning. See [2021-05-12T20:06:44.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:06:44.327Z] [2021-05-12T20:06:44.327Z] Login Succeeded [2021-05-12T20:06:44.327Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:06:44.340Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:06:44.870Z] + git log --format=format:%s -1 3691df947a2f13c033dab4cecb2f3e43c92cf99c [Pipeline] echo [2021-05-12T20:06:44.946Z] GIT_COMMIT: 3691df947a2f13c033dab4cecb2f3e43c92cf99c, Commit Message: Merge pull request #237 from tonyespy/go-116 [Pipeline] echo [2021-05-12T20:06:44.959Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:06:45.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:06:45.869Z] [2021-05-12T20:06:45.869Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:06:46.180Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:06:46.180Z] latest: Pulling from edgex-devops/git-semver [2021-05-12T20:06:46.181Z] 31603596830f: Pulling fs layer [2021-05-12T20:06:46.181Z] 54011a49482f: Pulling fs layer [2021-05-12T20:06:46.181Z] a6820b24f6d8: Pulling fs layer [2021-05-12T20:06:46.181Z] f581987b2513: Pulling fs layer [2021-05-12T20:06:46.181Z] f581987b2513: Waiting [2021-05-12T20:06:46.181Z] 54011a49482f: Verifying Checksum [2021-05-12T20:06:46.181Z] 54011a49482f: Download complete [2021-05-12T20:06:46.451Z] 31603596830f: Verifying Checksum [2021-05-12T20:06:46.451Z] 31603596830f: Download complete [2021-05-12T20:06:46.451Z] f581987b2513: Verifying Checksum [2021-05-12T20:06:46.451Z] f581987b2513: Download complete [2021-05-12T20:06:46.451Z] a6820b24f6d8: Verifying Checksum [2021-05-12T20:06:46.718Z] 31603596830f: Pull complete [2021-05-12T20:06:46.718Z] 54011a49482f: Pull complete [2021-05-12T20:06:47.669Z] a6820b24f6d8: Pull complete [2021-05-12T20:06:47.932Z] f581987b2513: Pull complete [2021-05-12T20:06:47.932Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-12T20:06:47.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:06:47.932Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-12T20:06:48.034Z] prd-centos7-docker-4c-2g-4802 does not seem to be running inside a container [2021-05-12T20:06:48.086Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T20:06:50.136Z] $ docker top 40bc01952c95e640cd3e7c59d4cbead7d4ab08d994f7d54a62b696e2dad47cd2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T20:06:50.330Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:06:50.330Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:06:50.607Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:06:50.615Z] $ docker exec 40bc01952c95e640cd3e7c59d4cbead7d4ab08d994f7d54a62b696e2dad47cd2 ssh-agent [2021-05-12T20:06:50.864Z] SSH_AUTH_SOCK=/tmp/ssh-dxJqRmf2u48P/agent.12 [2021-05-12T20:06:50.864Z] SSH_AGENT_PID=17 [2021-05-12T20:06:50.876Z] Running ssh-add (command line suppressed) [2021-05-12T20:06:51.010Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2511563841839267845.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2511563841839267845.key) [2021-05-12T20:06:51.071Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:06:51.380Z] + git tag --points-at HEAD [Pipeline] } [2021-05-12T20:06:51.408Z] $ docker exec --env ******** --env ******** 40bc01952c95e640cd3e7c59d4cbead7d4ab08d994f7d54a62b696e2dad47cd2 ssh-agent -k [2021-05-12T20:06:51.525Z] unset SSH_AUTH_SOCK; [2021-05-12T20:06:51.525Z] unset SSH_AGENT_PID; [2021-05-12T20:06:51.525Z] echo Agent pid 17 killed; [2021-05-12T20:06:51.569Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-12T20:06:51.647Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:06:51.647Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:06:51.813Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:06:51.820Z] $ docker exec 40bc01952c95e640cd3e7c59d4cbead7d4ab08d994f7d54a62b696e2dad47cd2 ssh-agent [2021-05-12T20:06:51.982Z] SSH_AUTH_SOCK=/tmp/ssh-OreGce82SKXl/agent.46 [2021-05-12T20:06:51.982Z] SSH_AGENT_PID=51 [2021-05-12T20:06:51.989Z] Running ssh-add (command line suppressed) [2021-05-12T20:06:52.122Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2424660660995976225.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2424660660995976225.key) [2021-05-12T20:06:52.171Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:06:52.478Z] + git semver init [2021-05-12T20:06:52.478Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T20:06:52.478Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-05-12T20:06:52.478Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-05-12T20:06:52.478Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T20:06:52.478Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T20:06:52.478Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T20:06:52.478Z] # $SEMVER_BRANCH = master [2021-05-12T20:06:52.478Z] # $SEMVER_TEMP = /tmp/semver-957760419 [2021-05-12T20:06:52.478Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-05-12T20:06:52.742Z] # '/tmp/semver-957760419' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' [2021-05-12T20:06:53.005Z] # -> Force: false [2021-05-12T20:06:53.005Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-05-12T20:06:53.022Z] $ docker exec --env ******** --env ******** 40bc01952c95e640cd3e7c59d4cbead7d4ab08d994f7d54a62b696e2dad47cd2 ssh-agent -k [2021-05-12T20:06:53.146Z] unset SSH_AUTH_SOCK; [2021-05-12T20:06:53.147Z] unset SSH_AGENT_PID; [2021-05-12T20:06:53.147Z] echo Agent pid 51 killed; [2021-05-12T20:06:53.201Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T20:06:53.539Z] + git semver [Pipeline] } [2021-05-12T20:06:53.561Z] $ docker stop --time=1 40bc01952c95e640cd3e7c59d4cbead7d4ab08d994f7d54a62b696e2dad47cd2 [2021-05-12T20:06:55.029Z] $ docker rm -f 40bc01952c95e640cd3e7c59d4cbead7d4ab08d994f7d54a62b696e2dad47cd2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:06:55.442Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-12T20:06:55.802Z] Stashed 1 file(s) [Pipeline] echo [2021-05-12T20:06:55.805Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.10 [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-12T20:07:10.993Z] Still waiting to schedule task [2021-05-12T20:07:10.993Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4803’ is offline; ‘prd-centos7-docker-4c-2g-4806’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-12T20:07:10.996Z] Still waiting to schedule task [2021-05-12T20:07:10.996Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-12T20:08:42.883Z] Running on prd-centos7-docker-4c-2g-4812 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-05-12T20:08:42.908Z] Running in /w/workspace/device-mqtt-go/42 [Pipeline] { [Pipeline] checkout [2021-05-12T20:08:46.042Z] using credential edgex-jenkins-ssh [2021-05-12T20:08:46.059Z] Cloning the remote Git repository [2021-05-12T20:08:46.094Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-12T20:08:46.170Z] > git init /w/workspace/device-mqtt-go/42 # timeout=10 [2021-05-12T20:08:46.247Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-12T20:08:46.247Z] > git --version # timeout=10 [2021-05-12T20:08:46.269Z] > git --version # 'git version 2.24.3' [2021-05-12T20:08:46.270Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:08:46.309Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:08:47.288Z] Checking out Revision 3691df947a2f13c033dab4cecb2f3e43c92cf99c (master) [2021-05-12T20:08:46.881Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-05-12T20:08:46.892Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:08:46.910Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-05-12T20:08:46.930Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-12T20:08:46.930Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:08:46.935Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T20:08:47.305Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:08:47.311Z] > git checkout -f 3691df947a2f13c033dab4cecb2f3e43c92cf99c # timeout=10 [2021-05-12T20:08:51.186Z] Commit message: "Merge pull request #237 from tonyespy/go-116" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:08:52.368Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:08:52.782Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:08:53.107Z] + sudo service docker restart [2021-05-12T20:08:53.107Z] + true [2021-05-12T20:08:53.107Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:08:54.563Z] provisioning config files... [2021-05-12T20:08:54.611Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/42@tmp/config810231881165689643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:08:54.989Z] ---> docker-login.sh [2021-05-12T20:08:54.989Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:08:55.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:08:55.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:08:55.524Z] Configure a credential helper to remove this warning. See [2021-05-12T20:08:55.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:08:55.524Z] [2021-05-12T20:08:55.524Z] Login Succeeded [2021-05-12T20:08:55.524Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:08:55.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:08:55.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:08:55.794Z] Configure a credential helper to remove this warning. See [2021-05-12T20:08:55.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:08:55.794Z] [2021-05-12T20:08:55.794Z] Login Succeeded [2021-05-12T20:08:55.794Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:08:55.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:08:55.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:08:55.794Z] Configure a credential helper to remove this warning. See [2021-05-12T20:08:55.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:08:55.794Z] [2021-05-12T20:08:55.794Z] Login Succeeded [2021-05-12T20:08:55.794Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:08:56.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:08:56.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:08:56.070Z] Configure a credential helper to remove this warning. See [2021-05-12T20:08:56.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:08:56.070Z] [2021-05-12T20:08:56.070Z] Login Succeeded [2021-05-12T20:08:56.070Z] docker.io [2021-05-12T20:08:56.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:08:56.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:08:56.607Z] Configure a credential helper to remove this warning. See [2021-05-12T20:08:56.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:08:56.607Z] [2021-05-12T20:08:56.607Z] Login Succeeded [2021-05-12T20:08:56.607Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:08:56.619Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T20:08:56.866Z] ========================================================= [2021-05-12T20:08:56.866Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-12T20:08:56.866Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:08:57.192Z] + 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-12T20:08:57.192Z] Sending build context to Docker daemon 555kB [2021-05-12T20:08:57.192Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:08:57.192Z] Step 2/8 : FROM ${BASE} [2021-05-12T20:08:57.469Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-12T20:08:57.469Z] 540db60ca938: Pulling fs layer [2021-05-12T20:08:57.469Z] adcc1eea9eea: Pulling fs layer [2021-05-12T20:08:57.469Z] 4c4ab2625f07: Pulling fs layer [2021-05-12T20:08:57.469Z] 0510c868ecb4: Pulling fs layer [2021-05-12T20:08:57.469Z] afea3b2eda06: Pulling fs layer [2021-05-12T20:08:57.469Z] 7809a108b3ef: Pulling fs layer [2021-05-12T20:08:57.469Z] f706445af74f: Pulling fs layer [2021-05-12T20:08:57.469Z] afea3b2eda06: Waiting [2021-05-12T20:08:57.469Z] 7809a108b3ef: Waiting [2021-05-12T20:08:57.469Z] f706445af74f: Waiting [2021-05-12T20:08:57.469Z] 0510c868ecb4: Waiting [2021-05-12T20:08:57.469Z] 4c4ab2625f07: Download complete [2021-05-12T20:08:57.469Z] adcc1eea9eea: Verifying Checksum [2021-05-12T20:08:57.469Z] adcc1eea9eea: Download complete [2021-05-12T20:08:57.469Z] afea3b2eda06: Verifying Checksum [2021-05-12T20:08:57.469Z] afea3b2eda06: Download complete [2021-05-12T20:08:57.469Z] 7809a108b3ef: Download complete [2021-05-12T20:08:57.469Z] 540db60ca938: Verifying Checksum [2021-05-12T20:08:57.469Z] 540db60ca938: Download complete [2021-05-12T20:08:57.746Z] 540db60ca938: Pull complete [2021-05-12T20:08:58.019Z] adcc1eea9eea: Pull complete [2021-05-12T20:08:58.295Z] 4c4ab2625f07: Pull complete [2021-05-12T20:08:58.892Z] f706445af74f: Verifying Checksum [2021-05-12T20:08:58.892Z] f706445af74f: Download complete [2021-05-12T20:09:00.315Z] 0510c868ecb4: Verifying Checksum [2021-05-12T20:09:00.315Z] 0510c868ecb4: Download complete [2021-05-12T20:09:06.970Z] 0510c868ecb4: Pull complete [2021-05-12T20:09:06.970Z] afea3b2eda06: Pull complete [2021-05-12T20:09:06.970Z] 7809a108b3ef: Pull complete [2021-05-12T20:09:15.234Z] f706445af74f: Pull complete [2021-05-12T20:09:15.234Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-12T20:09:15.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-12T20:09:15.234Z] ---> b068be0155e3 [2021-05-12T20:09:15.234Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-12T20:09:15.515Z] ---> Running in 2ca2799dc839 [2021-05-12T20:09:15.779Z] Removing intermediate container 2ca2799dc839 [2021-05-12T20:09:15.779Z] ---> e353d3de6e05 [2021-05-12T20:09:15.779Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:09:15.779Z] ---> Running in f720f0541fbf [2021-05-12T20:09:17.210Z] Removing intermediate container f720f0541fbf [2021-05-12T20:09:17.210Z] ---> 77e072025f4f [2021-05-12T20:09:17.210Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-12T20:09:17.210Z] ---> Running in 691ebf35691b [2021-05-12T20:09:18.662Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:09:19.295Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:09:19.892Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-12T20:09:19.892Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-12T20:09:19.892Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-12T20:09:20.166Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-12T20:09:20.166Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-12T20:09:20.166Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-12T20:09:20.444Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-12T20:09:20.717Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-12T20:09:20.717Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-12T20:09:20.717Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-12T20:09:21.001Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-12T20:09:21.001Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-12T20:09:21.001Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-12T20:09:21.271Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T20:09:21.271Z] OK: 156 MiB in 53 packages [2021-05-12T20:09:22.252Z] Removing intermediate container 691ebf35691b [2021-05-12T20:09:22.252Z] ---> 3aecb14cf5a3 [2021-05-12T20:09:22.252Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-05-12T20:09:22.252Z] ---> Running in 51cee7fed762 [2021-05-12T20:09:22.558Z] Removing intermediate container 51cee7fed762 [2021-05-12T20:09:22.558Z] ---> ced18e4f9efd [2021-05-12T20:09:22.558Z] Step 7/8 : COPY . . [2021-05-12T20:09:23.549Z] ---> dd4b32977646 [2021-05-12T20:09:23.549Z] Step 8/8 : RUN go mod download [2021-05-12T20:09:23.549Z] ---> Running in 3b47c594cd0f [2021-05-12T20:09:50.326Z] Removing intermediate container 3b47c594cd0f [2021-05-12T20:09:50.326Z] ---> 43523afc8598 [2021-05-12T20:09:50.326Z] Successfully built 43523afc8598 [2021-05-12T20:09:50.326Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:09:50.688Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T20:09:50.956Z] . [Pipeline] withDockerContainer [2021-05-12T20:09:51.132Z] prd-centos7-docker-4c-2g-4812 does not seem to be running inside a container [2021-05-12T20:09:51.204Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/42 -v /w/workspace/device-mqtt-go/42:/w/workspace/device-mqtt-go/42:rw,z -v /w/workspace/device-mqtt-go/42@tmp:/w/workspace/device-mqtt-go/42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-12T20:09:52.106Z] $ docker top ca28becc7e19f2066d7006824ba01aa31aefc53c4f9c152da6ba6a5c603b61d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:09:52.543Z] + go version [2021-05-12T20:09:52.543Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-12T20:09:52.557Z] $ docker stop --time=1 ca28becc7e19f2066d7006824ba01aa31aefc53c4f9c152da6ba6a5c603b61d5 [2021-05-12T20:09:53.975Z] $ docker rm -f ca28becc7e19f2066d7006824ba01aa31aefc53c4f9c152da6ba6a5c603b61d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:09:54.516Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T20:09:54.516Z] . [Pipeline] withDockerContainer [2021-05-12T20:09:54.629Z] prd-centos7-docker-4c-2g-4812 does not seem to be running inside a container [2021-05-12T20:09:54.685Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/42 -v /w/workspace/device-mqtt-go/42:/w/workspace/device-mqtt-go/42:rw,z -v /w/workspace/device-mqtt-go/42@tmp:/w/workspace/device-mqtt-go/42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-12T20:09:55.427Z] $ docker top 62cb16124c161ac34f28284182d68c3ccced3b4f9b8620521355cd5da383fabd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:09:55.917Z] + go mod tidy [Pipeline] sh [2021-05-12T20:09:56.829Z] + make test [2021-05-12T20:09:56.829Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-12T20:09:57.798Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-05-12T20:10:20.127Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-05-12T20:10:20.127Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 24.9% of statements [2021-05-12T20:10:20.127Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-05-12T20:10:20.127Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T20:10:28.466Z] gofmt -l . [2021-05-12T20:10:28.466Z] ["`gofmt -l .`" = ""] [2021-05-12T20:10:28.466Z] ./bin/test-attribution-txt.sh [2021-05-12T20:10:29.869Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-12T20:10:29.892Z] $ docker stop --time=1 62cb16124c161ac34f28284182d68c3ccced3b4f9b8620521355cd5da383fabd [2021-05-12T20:10:32.780Z] $ docker rm -f 62cb16124c161ac34f28284182d68c3ccced3b4f9b8620521355cd5da383fabd [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:10:33.405Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T20:10:33.743Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-12T20:10:36.158Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T20:10:36.489Z] + ls -al . [2021-05-12T20:10:36.489Z] total 108 [2021-05-12T20:10:36.489Z] drwxrwxr-x. 9 jenkins jenkins 4096 May 12 20:10 . [2021-05-12T20:10:36.489Z] drwxrwxr-x. 4 jenkins jenkins 30 May 12 20:08 .. [2021-05-12T20:10:36.489Z] -rw-rw-r--. 1 jenkins jenkins 7100 May 12 20:08 Attribution.txt [2021-05-12T20:10:36.489Z] drwxrwxr-x. 2 jenkins jenkins 87 May 12 20:08 bin [2021-05-12T20:10:36.489Z] drwxrwxr-x. 3 jenkins jenkins 32 May 12 20:08 cmd [2021-05-12T20:10:36.489Z] -rw-r--r--. 1 jenkins jenkins 19386 May 12 20:10 coverage.out [2021-05-12T20:10:36.489Z] -rw-rw-r--. 1 jenkins jenkins 1861 May 12 20:08 Dockerfile [2021-05-12T20:10:36.489Z] -rw-rw-r--. 1 jenkins jenkins 994 May 12 20:08 Dockerfile.build [2021-05-12T20:10:36.489Z] -rw-rw-r--. 1 jenkins jenkins 140 May 12 20:08 .dockerignore [2021-05-12T20:10:36.489Z] drwxrwxr-x. 8 jenkins jenkins 162 May 12 20:08 .git [2021-05-12T20:10:36.489Z] drwxrwxr-x. 2 jenkins jenkins 103 May 12 20:08 .github [2021-05-12T20:10:36.489Z] -rw-rw-r--. 1 jenkins jenkins 336 May 12 20:08 .gitignore [2021-05-12T20:10:36.489Z] -rw-r--r--. 1 jenkins jenkins 409 May 12 20:10 go.mod [2021-05-12T20:10:36.489Z] -rw-r--r--. 1 jenkins jenkins 21267 May 12 20:09 go.sum [2021-05-12T20:10:36.489Z] drwxrwxr-x. 3 jenkins jenkins 20 May 12 20:08 internal [2021-05-12T20:10:36.489Z] -rw-rw-r--. 1 jenkins jenkins 677 May 12 20:08 Jenkinsfile [2021-05-12T20:10:36.489Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 12 20:08 LICENSE [2021-05-12T20:10:36.489Z] -rw-rw-r--. 1 jenkins jenkins 930 May 12 20:08 Makefile [2021-05-12T20:10:36.489Z] drwxrwxr-x. 2 jenkins jenkins 23 May 12 20:08 mock [2021-05-12T20:10:36.489Z] -rw-rw-r--. 1 jenkins jenkins 2217 May 12 20:08 README.md [2021-05-12T20:10:36.489Z] drwxrwxr-x. 4 jenkins jenkins 71 May 12 20:08 snap [2021-05-12T20:10:36.489Z] -rw-rw-r--. 1 jenkins jenkins 12 May 12 20:06 VERSION [2021-05-12T20:10:36.489Z] -rw-rw-r--. 1 jenkins jenkins 227 May 12 20:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:10:36.816Z] + 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=3691df947a2f13c033dab4cecb2f3e43c92cf99c --label arch=amd64 --label version=1.3.2-dev.10 . [2021-05-12T20:10:37.079Z] Sending build context to Docker daemon 575kB [2021-05-12T20:10:37.079Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:10:37.079Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-12T20:10:37.079Z] ---> 43523afc8598 [2021-05-12T20:10:37.079Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T20:10:37.343Z] ---> Running in 8944e74ae647 [2021-05-12T20:10:37.607Z] Removing intermediate container 8944e74ae647 [2021-05-12T20:10:37.607Z] ---> 016765099d08 [2021-05-12T20:10:37.607Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:10:37.607Z] ---> Running in e0e3c7288c5e [2021-05-12T20:10:37.870Z] Removing intermediate container e0e3c7288c5e [2021-05-12T20:10:37.870Z] ---> 557088606e13 [2021-05-12T20:10:37.870Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:10:37.870Z] ---> Running in e8d994bcca59 [2021-05-12T20:10:38.822Z] Removing intermediate container e8d994bcca59 [2021-05-12T20:10:38.822Z] ---> 691d3fdbb9e0 [2021-05-12T20:10:38.822Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:10:38.822Z] ---> Running in 41488d7b9403 [2021-05-12T20:10:39.401Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:10:40.351Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:10:40.931Z] OK: 156 MiB in 53 packages [2021-05-12T20:10:41.196Z] Removing intermediate container 41488d7b9403 [2021-05-12T20:10:41.196Z] ---> 17631cca09e5 [2021-05-12T20:10:41.196Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-05-12T20:10:41.460Z] ---> Running in 3c03466d73a4 [2021-05-12T20:10:41.460Z] Removing intermediate container 3c03466d73a4 [2021-05-12T20:10:41.460Z] ---> 3a78020df0d8 [2021-05-12T20:10:41.460Z] Step 8/23 : COPY . . [2021-05-12T20:10:42.421Z] ---> 36bf6b67c6ba [2021-05-12T20:10:42.421Z] Step 9/23 : RUN go mod download [2021-05-12T20:10:42.421Z] ---> Running in 0b1312c38ed0 [2021-05-12T20:10:43.833Z] Removing intermediate container 0b1312c38ed0 [2021-05-12T20:10:43.833Z] ---> 98f5704c8a3c [2021-05-12T20:10:43.833Z] Step 10/23 : ARG MAKE='make build' [2021-05-12T20:10:43.833Z] ---> Running in f76168e7db65 [2021-05-12T20:10:44.098Z] Removing intermediate container f76168e7db65 [2021-05-12T20:10:44.098Z] ---> a47463eed5e4 [2021-05-12T20:10:44.098Z] Step 11/23 : RUN $MAKE [2021-05-12T20:10:44.098Z] ---> Running in f6fd1ab39770 [2021-05-12T20:10:44.698Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.10" -o cmd/device-mqtt ./cmd [2021-05-12T20:10:49.075Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4818 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-05-12T20:10:49.095Z] Running in /w/workspace/device-mqtt-go/42 [Pipeline] { [Pipeline] checkout [2021-05-12T20:10:55.683Z] using credential edgex-jenkins-ssh [2021-05-12T20:10:55.704Z] Cloning the remote Git repository [2021-05-12T20:10:55.757Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-12T20:10:55.896Z] > git init /w/workspace/device-mqtt-go/42 # timeout=10 [2021-05-12T20:10:55.958Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-12T20:10:55.959Z] > git --version # timeout=10 [2021-05-12T20:10:55.975Z] > git --version # 'git version 2.17.1' [2021-05-12T20:10:55.977Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:10:56.032Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:10:57.414Z] Checking out Revision 3691df947a2f13c033dab4cecb2f3e43c92cf99c (master) [2021-05-12T20:10:56.872Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-05-12T20:10:56.895Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:10:56.923Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-05-12T20:10:56.959Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-12T20:10:56.960Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:10:56.973Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T20:10:57.436Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:10:57.453Z] > git checkout -f 3691df947a2f13c033dab4cecb2f3e43c92cf99c # timeout=10 [2021-05-12T20:11:00.601Z] GCO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-12T20:11:01.717Z] Commit message: "Merge pull request #237 from tonyespy/go-116" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:11:03.166Z] Removing intermediate container f6fd1ab39770 [2021-05-12T20:11:03.166Z] ---> d8a643bb095a [2021-05-12T20:11:03.166Z] Step 12/23 : FROM alpine:3.12 [2021-05-12T20:11:03.198Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:11:03.617Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:11:03.742Z] 3.12: Pulling from library/alpine [2021-05-12T20:11:03.742Z] 339de151aab4: Pulling fs layer [2021-05-12T20:11:03.963Z] + + true [2021-05-12T20:11:03.963Z] sudo service docker restart [2021-05-12T20:11:04.007Z] 339de151aab4: Download complete [2021-05-12T20:11:04.271Z] 339de151aab4: Pull complete [2021-05-12T20:11:04.271Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T20:11:04.271Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T20:11:04.271Z] ---> 13621d1b12d4 [2021-05-12T20:11:04.271Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-05-12T20:11:04.271Z] ---> Running in 5a3716c9b385 [2021-05-12T20:11:04.541Z] Removing intermediate container 5a3716c9b385 [2021-05-12T20:11:04.541Z] ---> 2d79c0076063 [2021-05-12T20:11:04.541Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-12T20:11:04.541Z] ---> Running in 0eddd216853d [2021-05-12T20:11:05.130Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:11:05.130Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:11:05.395Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-12T20:11:05.395Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-12T20:11:05.395Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-12T20:11:05.395Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-12T20:11:05.395Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-12T20:11:05.395Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-12T20:11:05.395Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T20:11:05.395Z] OK: 8 MiB in 20 packages [2021-05-12T20:11:06.350Z] Removing intermediate container 0eddd216853d [2021-05-12T20:11:06.350Z] ---> 138409fc7f43 [2021-05-12T20:11:06.350Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:11:06.636Z] provisioning config files... [2021-05-12T20:11:06.682Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/42@tmp/config1448626895841795192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:11:06.940Z] ---> 29efe4dc7d73 [2021-05-12T20:11:06.940Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-05-12T20:11:07.062Z] ---> docker-login.sh [2021-05-12T20:11:07.062Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:11:07.203Z] ---> 053a4416e46d [2021-05-12T20:11:07.203Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-05-12T20:11:07.467Z] ---> cbc79caf26b6 [2021-05-12T20:11:07.467Z] Step 18/23 : EXPOSE 49982 [2021-05-12T20:11:07.467Z] ---> Running in 859e70bb9bc1 [2021-05-12T20:11:07.732Z] Removing intermediate container 859e70bb9bc1 [2021-05-12T20:11:07.732Z] ---> 31c8c7381eac [2021-05-12T20:11:07.732Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-05-12T20:11:07.732Z] ---> Running in 8a49a1d463e1 [2021-05-12T20:11:07.732Z] Removing intermediate container 8a49a1d463e1 [2021-05-12T20:11:07.732Z] ---> a1aeac946392 [2021-05-12T20:11:07.732Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-12T20:11:08.004Z] ---> Running in bd64eea7ace1 [2021-05-12T20:11:08.004Z] Removing intermediate container bd64eea7ace1 [2021-05-12T20:11:08.004Z] ---> bc43990864be [2021-05-12T20:11:08.004Z] Step 21/23 : LABEL arch=amd64 [2021-05-12T20:11:08.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:11:08.268Z] ---> Running in 2f22092581e0 [2021-05-12T20:11:08.268Z] Removing intermediate container 2f22092581e0 [2021-05-12T20:11:08.268Z] ---> b050c18a4244 [2021-05-12T20:11:08.268Z] Step 22/23 : LABEL git_sha=3691df947a2f13c033dab4cecb2f3e43c92cf99c [2021-05-12T20:11:08.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:11:08.320Z] Configure a credential helper to remove this warning. See [2021-05-12T20:11:08.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:11:08.320Z] [2021-05-12T20:11:08.320Z] Login Succeeded [2021-05-12T20:11:08.320Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:11:08.542Z] ---> Running in fd6a670f2a21 [2021-05-12T20:11:08.543Z] Removing intermediate container fd6a670f2a21 [2021-05-12T20:11:08.543Z] ---> ce78c532ef37 [2021-05-12T20:11:08.543Z] Step 23/23 : LABEL version=1.3.2-dev.10 [2021-05-12T20:11:08.543Z] ---> Running in b42e8d3da0b9 [2021-05-12T20:11:08.807Z] Removing intermediate container b42e8d3da0b9 [2021-05-12T20:11:08.807Z] ---> 49fdf95fc2bd [2021-05-12T20:11:08.807Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T20:11:08.807Z] Successfully built 49fdf95fc2bd [2021-05-12T20:11:08.807Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-05-12T20:11:08.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:11:08.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:11:08.921Z] Configure a credential helper to remove this warning. See [2021-05-12T20:11:08.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:11:08.921Z] [2021-05-12T20:11:08.921Z] Login Succeeded [2021-05-12T20:11:08.922Z] nexus3.edgexfoundry.org:10003 [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:11:08.983Z] provisioning config files... [2021-05-12T20:11:09.015Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/42@tmp/config963230288458284878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:11:09.349Z] ---> docker-login.sh [2021-05-12T20:11:09.349Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:11:09.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:11:09.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:11:09.525Z] Configure a credential helper to remove this warning. See [2021-05-12T20:11:09.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:11:09.525Z] [2021-05-12T20:11:09.525Z] Login Succeeded [2021-05-12T20:11:09.525Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:11:09.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:11:09.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:11:09.615Z] Configure a credential helper to remove this warning. See [2021-05-12T20:11:09.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:11:09.615Z] [2021-05-12T20:11:09.615Z] Login Succeeded [2021-05-12T20:11:09.615Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:11:09.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:11:09.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:11:09.881Z] Configure a credential helper to remove this warning. See [2021-05-12T20:11:09.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:11:09.881Z] [2021-05-12T20:11:09.881Z] Login Succeeded [2021-05-12T20:11:09.881Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:11:09.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:11:09.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:11:09.881Z] Configure a credential helper to remove this warning. See [2021-05-12T20:11:09.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:11:09.881Z] [2021-05-12T20:11:09.881Z] Login Succeeded [2021-05-12T20:11:09.881Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:11:10.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:11:10.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:11:10.123Z] Configure a credential helper to remove this warning. See [2021-05-12T20:11:10.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:11:10.124Z] [2021-05-12T20:11:10.124Z] Login Succeeded [2021-05-12T20:11:10.124Z] docker.io [2021-05-12T20:11:10.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:11:10.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:11:10.158Z] Configure a credential helper to remove this warning. See [2021-05-12T20:11:10.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:11:10.158Z] [2021-05-12T20:11:10.158Z] Login Succeeded [2021-05-12T20:11:10.158Z] docker.io [2021-05-12T20:11:10.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:11:10.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:11:10.685Z] Configure a credential helper to remove this warning. See [2021-05-12T20:11:10.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:11:10.685Z] [2021-05-12T20:11:10.685Z] Login Succeeded [2021-05-12T20:11:10.685Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:11:10.696Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [2021-05-12T20:11:10.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withEnv [Pipeline] echo [2021-05-12T20:11:10.785Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2021-05-12T20:11:10.785Z] 3691df947a2f13c033dab4cecb2f3e43c92cf99c [2021-05-12T20:11:10.785Z] latest [2021-05-12T20:11:10.785Z] 1.3.2-dev.10 [2021-05-12T20:11:10.785Z] 3691df947a2f13c033dab4cecb2f3e43c92cf99c-1.3.2-dev.10 [2021-05-12T20:11:10.785Z] master [2021-05-12T20:11:10.785Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:11:10.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:11:10.995Z] Configure a credential helper to remove this warning. See [2021-05-12T20:11:10.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:11:10.995Z] [2021-05-12T20:11:10.995Z] Login Succeeded [2021-05-12T20:11:10.995Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:11:11.011Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-05-12T20:11:11.153Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3691df947a2f13c033dab4cecb2f3e43c92cf99c [Pipeline] isUnix [Pipeline] sh [Pipeline] echo [2021-05-12T20:11:11.311Z] ========================================================= [2021-05-12T20:11:11.311Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-12T20:11:11.311Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:11:11.474Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3691df947a2f13c033dab4cecb2f3e43c92cf99c [2021-05-12T20:11:11.474Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-05-12T20:11:11.474Z] c046abc1492c: Preparing [2021-05-12T20:11:11.474Z] 04d6f66c039e: Preparing [2021-05-12T20:11:11.474Z] cb1984fb56d7: Preparing [2021-05-12T20:11:11.474Z] 82546ee56329: Preparing [2021-05-12T20:11:11.474Z] 32f366d666a5: Preparing [2021-05-12T20:11:11.474Z] 32f366d666a5: Layer already exists [2021-05-12T20:11:11.682Z] + 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-12T20:11:11.740Z] 04d6f66c039e: Pushed [2021-05-12T20:11:11.740Z] c046abc1492c: Pushed [2021-05-12T20:11:11.740Z] 82546ee56329: Pushed [2021-05-12T20:11:11.957Z] Sending build context to Docker daemon 554kB [2021-05-12T20:11:12.234Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:11:12.234Z] Step 2/8 : FROM ${BASE} [2021-05-12T20:11:12.234Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-12T20:11:12.234Z] 595b0fe564bb: Pulling fs layer [2021-05-12T20:11:12.234Z] 7186ed65a4f7: Pulling fs layer [2021-05-12T20:11:12.234Z] 316046926c0a: Pulling fs layer [2021-05-12T20:11:12.234Z] 4ebd0625c992: Pulling fs layer [2021-05-12T20:11:12.234Z] 207e8628e3a3: Pulling fs layer [2021-05-12T20:11:12.234Z] c791037a9be2: Pulling fs layer [2021-05-12T20:11:12.234Z] ffd874e62e21: Pulling fs layer [2021-05-12T20:11:12.234Z] 207e8628e3a3: Waiting [2021-05-12T20:11:12.234Z] c791037a9be2: Waiting [2021-05-12T20:11:12.234Z] ffd874e62e21: Waiting [2021-05-12T20:11:12.234Z] 4ebd0625c992: Waiting [2021-05-12T20:11:12.234Z] 316046926c0a: Verifying Checksum [2021-05-12T20:11:12.234Z] 316046926c0a: Download complete [2021-05-12T20:11:12.234Z] 7186ed65a4f7: Download complete [2021-05-12T20:11:12.234Z] 207e8628e3a3: Verifying Checksum [2021-05-12T20:11:12.234Z] 207e8628e3a3: Download complete [2021-05-12T20:11:12.234Z] c791037a9be2: Verifying Checksum [2021-05-12T20:11:12.234Z] c791037a9be2: Download complete [2021-05-12T20:11:12.234Z] 595b0fe564bb: Verifying Checksum [2021-05-12T20:11:12.234Z] 595b0fe564bb: Download complete [2021-05-12T20:11:13.134Z] cb1984fb56d7: Pushed [2021-05-12T20:11:13.226Z] 595b0fe564bb: Pull complete [2021-05-12T20:11:13.405Z] 3691df947a2f13c033dab4cecb2f3e43c92cf99c: digest: sha256:9c10db50c2bc521a41e5d1eb31b2fa07a05cd45b9268d55e52aad386bc42f3fb size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:11:13.720Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:11:13.866Z] 7186ed65a4f7: Pull complete [2021-05-12T20:11:14.037Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-05-12T20:11:14.037Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-05-12T20:11:14.037Z] c046abc1492c: Preparing [2021-05-12T20:11:14.037Z] 04d6f66c039e: Preparing [2021-05-12T20:11:14.037Z] cb1984fb56d7: Preparing [2021-05-12T20:11:14.037Z] 82546ee56329: Preparing [2021-05-12T20:11:14.037Z] 32f366d666a5: Preparing [2021-05-12T20:11:14.037Z] 32f366d666a5: Layer already exists [2021-05-12T20:11:14.037Z] 82546ee56329: Layer already exists [2021-05-12T20:11:14.037Z] 04d6f66c039e: Layer already exists [2021-05-12T20:11:14.037Z] c046abc1492c: Layer already exists [2021-05-12T20:11:14.037Z] cb1984fb56d7: Layer already exists [2021-05-12T20:11:14.037Z] latest: digest: sha256:9c10db50c2bc521a41e5d1eb31b2fa07a05cd45b9268d55e52aad386bc42f3fb size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:11:14.142Z] 316046926c0a: Pull complete [2021-05-12T20:11:14.361Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:11:14.708Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.10 [2021-05-12T20:11:14.708Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-05-12T20:11:14.708Z] c046abc1492c: Preparing [2021-05-12T20:11:14.708Z] 04d6f66c039e: Preparing [2021-05-12T20:11:14.708Z] cb1984fb56d7: Preparing [2021-05-12T20:11:14.708Z] 82546ee56329: Preparing [2021-05-12T20:11:14.708Z] 32f366d666a5: Preparing [2021-05-12T20:11:14.708Z] 32f366d666a5: Layer already exists [2021-05-12T20:11:14.708Z] 82546ee56329: Layer already exists [2021-05-12T20:11:14.708Z] cb1984fb56d7: Layer already exists [2021-05-12T20:11:14.708Z] c046abc1492c: Layer already exists [2021-05-12T20:11:14.708Z] 04d6f66c039e: Layer already exists [2021-05-12T20:11:14.708Z] 1.3.2-dev.10: digest: sha256:9c10db50c2bc521a41e5d1eb31b2fa07a05cd45b9268d55e52aad386bc42f3fb size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:11:14.779Z] ffd874e62e21: Verifying Checksum [2021-05-12T20:11:14.779Z] ffd874e62e21: Download complete [2021-05-12T20:11:15.029Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3691df947a2f13c033dab4cecb2f3e43c92cf99c-1.3.2-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:11:15.352Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3691df947a2f13c033dab4cecb2f3e43c92cf99c-1.3.2-dev.10 [2021-05-12T20:11:15.352Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-05-12T20:11:15.352Z] c046abc1492c: Preparing [2021-05-12T20:11:15.352Z] 04d6f66c039e: Preparing [2021-05-12T20:11:15.352Z] cb1984fb56d7: Preparing [2021-05-12T20:11:15.352Z] 82546ee56329: Preparing [2021-05-12T20:11:15.352Z] 32f366d666a5: Preparing [2021-05-12T20:11:15.352Z] 04d6f66c039e: Layer already exists [2021-05-12T20:11:15.352Z] cb1984fb56d7: Layer already exists [2021-05-12T20:11:15.352Z] 32f366d666a5: Layer already exists [2021-05-12T20:11:15.352Z] c046abc1492c: Layer already exists [2021-05-12T20:11:15.352Z] 82546ee56329: Layer already exists [2021-05-12T20:11:15.352Z] 3691df947a2f13c033dab4cecb2f3e43c92cf99c-1.3.2-dev.10: digest: sha256:9c10db50c2bc521a41e5d1eb31b2fa07a05cd45b9268d55e52aad386bc42f3fb size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:11:15.687Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:11:15.761Z] 4ebd0625c992: Verifying Checksum [2021-05-12T20:11:15.761Z] 4ebd0625c992: Download complete [2021-05-12T20:11:15.995Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:master [2021-05-12T20:11:15.995Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-05-12T20:11:15.995Z] c046abc1492c: Preparing [2021-05-12T20:11:15.995Z] 04d6f66c039e: Preparing [2021-05-12T20:11:15.995Z] cb1984fb56d7: Preparing [2021-05-12T20:11:15.995Z] 82546ee56329: Preparing [2021-05-12T20:11:15.995Z] 32f366d666a5: Preparing [2021-05-12T20:11:15.995Z] 82546ee56329: Layer already exists [2021-05-12T20:11:15.995Z] cb1984fb56d7: Layer already exists [2021-05-12T20:11:15.995Z] c046abc1492c: Layer already exists [2021-05-12T20:11:15.995Z] 32f366d666a5: Layer already exists [2021-05-12T20:11:15.995Z] 04d6f66c039e: Layer already exists [2021-05-12T20:11:16.259Z] master: digest: sha256:9c10db50c2bc521a41e5d1eb31b2fa07a05cd45b9268d55e52aad386bc42f3fb size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-12T20:11:16.332Z] ===================================================== [Pipeline] echo [2021-05-12T20:11:16.349Z] taggedImages: [2021-05-12T20:11:16.349Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3691df947a2f13c033dab4cecb2f3e43c92cf99c [2021-05-12T20:11:16.349Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-05-12T20:11:16.349Z] - nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.10 [2021-05-12T20:11:16.349Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3691df947a2f13c033dab4cecb2f3e43c92cf99c-1.3.2-dev.10 [2021-05-12T20:11:16.349Z] - nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:11:17.006Z] ---> job-cost.sh [2021-05-12T20:11:17.006Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jows [2021-05-12T20:11:25.936Z] 4ebd0625c992: Pull complete [2021-05-12T20:11:26.209Z] 207e8628e3a3: Pull complete [2021-05-12T20:11:26.487Z] c791037a9be2: Pull complete [2021-05-12T20:11:29.923Z] ffd874e62e21: Pull complete [2021-05-12T20:11:29.923Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-12T20:11:29.923Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-12T20:11:29.923Z] ---> cfc18b08335c [2021-05-12T20:11:29.923Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-12T20:11:33.385Z] ---> Running in 2dd8d6fb5b8f [2021-05-12T20:11:33.385Z] Removing intermediate container 2dd8d6fb5b8f [2021-05-12T20:11:33.385Z] ---> 6f3f4204e874 [2021-05-12T20:11:33.385Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:11:33.385Z] ---> Running in 3a9862cf8ca1 [2021-05-12T20:11:35.182Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T20:11:36.023Z] Removing intermediate container 3a9862cf8ca1 [2021-05-12T20:11:36.024Z] ---> b833a2e8af1d [2021-05-12T20:11:36.024Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-12T20:11:36.024Z] ---> Running in 9bbe9e316ca6 [2021-05-12T20:11:37.016Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:11:37.996Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:11:38.979Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-12T20:11:38.979Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-12T20:11:38.979Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-12T20:11:39.260Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-12T20:11:39.260Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-12T20:11:39.260Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-12T20:11:39.535Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-12T20:11:39.817Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-12T20:11:39.817Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-12T20:11:39.817Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-12T20:11:40.090Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-12T20:11:40.090Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-12T20:11:40.367Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-12T20:11:40.367Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T20:11:40.367Z] OK: 145 MiB in 53 packages [2021-05-12T20:11:41.801Z] Removing intermediate container 9bbe9e316ca6 [2021-05-12T20:11:41.801Z] ---> ab1c23fc9e20 [2021-05-12T20:11:41.801Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-05-12T20:11:42.076Z] ---> Running in 69b9b5ea2d6f [2021-05-12T20:11:42.675Z] Removing intermediate container 69b9b5ea2d6f [2021-05-12T20:11:42.675Z] ---> 9c348053eaeb [2021-05-12T20:11:42.675Z] Step 7/8 : COPY . . [2021-05-12T20:11:43.654Z] ---> 734bd771d87f [2021-05-12T20:11:43.655Z] Step 8/8 : RUN go mod download [2021-05-12T20:11:43.655Z] ---> Running in 781087a14c42 [2021-05-12T20:12:01.861Z] lf-activate-venv(): INFO: Adding /tmp/venv-jows/bin to PATH [2021-05-12T20:12:01.861Z] INFO: No Stack... [2021-05-12T20:12:01.861Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T20:12:01.861Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T20:12:02.174Z] + cat /w/workspace/device-mqtt-go/42/archives/cost.csv [2021-05-12T20:12:02.174Z] + cut -d, -f6 [Pipeline] lock [2021-05-12T20:12:02.259Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-42-stack-cost] [2021-05-12T20:12:02.270Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-42-stack-cost] did not exist. Created. [2021-05-12T20:12:02.270Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T20:12:02.603Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-12T20:12:02.753Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T20:12:02.765Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-42-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-12T20:12:10.497Z] Removing intermediate container 781087a14c42 [2021-05-12T20:12:10.497Z] ---> 5d36dc8295cb [2021-05-12T20:12:10.497Z] Successfully built 5d36dc8295cb [2021-05-12T20:12:10.497Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:12:10.843Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T20:12:10.843Z] . [Pipeline] withDockerContainer [2021-05-12T20:12:11.120Z] prd-ubuntu18.04-docker-arm64-4c-16g-4818 does not seem to be running inside a container [2021-05-12T20:12:11.212Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/42 -v /w/workspace/device-mqtt-go/42:/w/workspace/device-mqtt-go/42:rw,z -v /w/workspace/device-mqtt-go/42@tmp:/w/workspace/device-mqtt-go/42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-12T20:12:12.735Z] $ docker top 03895ed682fde2becfe9e918de0224aaa100860de716892c57a4f31a0b2c7f0c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:12:13.676Z] + go version [2021-05-12T20:12:13.676Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-12T20:12:13.702Z] $ docker stop --time=1 03895ed682fde2becfe9e918de0224aaa100860de716892c57a4f31a0b2c7f0c [2021-05-12T20:12:15.673Z] $ docker rm -f 03895ed682fde2becfe9e918de0224aaa100860de716892c57a4f31a0b2c7f0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:12:16.328Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T20:12:16.328Z] . [Pipeline] withDockerContainer [2021-05-12T20:12:16.556Z] prd-ubuntu18.04-docker-arm64-4c-16g-4818 does not seem to be running inside a container [2021-05-12T20:12:16.643Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/42 -v /w/workspace/device-mqtt-go/42:/w/workspace/device-mqtt-go/42:rw,z -v /w/workspace/device-mqtt-go/42@tmp:/w/workspace/device-mqtt-go/42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-12T20:12:18.223Z] $ docker top ee073e5ff2433ca7d386cac9c1ed0ea4bbb919afc0a9b89632d14add95a35ed7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:12:19.193Z] + go mod tidy [Pipeline] sh [2021-05-12T20:12:20.459Z] + make test [2021-05-12T20:12:20.461Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-12T20:12:21.919Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-05-12T20:13:18.633Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-05-12T20:13:18.633Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.045s coverage: 24.9% of statements [2021-05-12T20:13:18.633Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-05-12T20:13:18.633Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T20:13:45.501Z] gofmt -l . [2021-05-12T20:13:45.501Z] ["`gofmt -l .`" = ""] [2021-05-12T20:13:45.501Z] ./bin/test-attribution-txt.sh [2021-05-12T20:13:45.501Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-12T20:13:46.129Z] $ docker stop --time=1 ee073e5ff2433ca7d386cac9c1ed0ea4bbb919afc0a9b89632d14add95a35ed7 [2021-05-12T20:13:48.184Z] $ docker rm -f ee073e5ff2433ca7d386cac9c1ed0ea4bbb919afc0a9b89632d14add95a35ed7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:13:49.060Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T20:13:49.081Z] Warning: overwriting stash ‘coverage-report’ [2021-05-12T20:13:50.035Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:13:50.505Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T20:13:50.886Z] + ls -al . [2021-05-12T20:13:50.886Z] total 140 [2021-05-12T20:13:50.886Z] drwxrwxr-x 9 jenkins jenkins 4096 May 12 20:13 . [2021-05-12T20:13:50.886Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 20:10 .. [2021-05-12T20:13:50.886Z] -rw-rw-r-- 1 jenkins jenkins 140 May 12 20:10 .dockerignore [2021-05-12T20:13:50.886Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 20:11 .git [2021-05-12T20:13:50.886Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:10 .github [2021-05-12T20:13:50.886Z] -rw-rw-r-- 1 jenkins jenkins 336 May 12 20:10 .gitignore [2021-05-12T20:13:50.886Z] -rw-rw-r-- 1 jenkins jenkins 7100 May 12 20:10 Attribution.txt [2021-05-12T20:13:50.886Z] -rw-rw-r-- 1 jenkins jenkins 1861 May 12 20:10 Dockerfile [2021-05-12T20:13:50.886Z] -rw-rw-r-- 1 jenkins jenkins 994 May 12 20:10 Dockerfile.build [2021-05-12T20:13:50.886Z] -rw-rw-r-- 1 jenkins jenkins 677 May 12 20:10 Jenkinsfile [2021-05-12T20:13:50.886Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 12 20:10 LICENSE [2021-05-12T20:13:50.886Z] -rw-rw-r-- 1 jenkins jenkins 930 May 12 20:10 Makefile [2021-05-12T20:13:50.886Z] -rw-rw-r-- 1 jenkins jenkins 2217 May 12 20:10 README.md [2021-05-12T20:13:50.886Z] -rw-rw-r-- 1 jenkins jenkins 12 May 12 20:06 VERSION [2021-05-12T20:13:50.886Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:10 bin [2021-05-12T20:13:50.886Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:10 cmd [2021-05-12T20:13:50.886Z] -rw-r--r-- 1 jenkins jenkins 19386 May 12 20:13 coverage.out [2021-05-12T20:13:50.886Z] -rw-r--r-- 1 jenkins jenkins 409 May 12 20:13 go.mod [2021-05-12T20:13:50.886Z] -rw-r--r-- 1 jenkins jenkins 21267 May 12 20:12 go.sum [2021-05-12T20:13:50.886Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:10 internal [2021-05-12T20:13:50.886Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:10 mock [2021-05-12T20:13:50.886Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 20:10 snap [2021-05-12T20:13:50.886Z] -rw-rw-r-- 1 jenkins jenkins 227 May 12 20:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:13:51.258Z] + 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=3691df947a2f13c033dab4cecb2f3e43c92cf99c --label arch=arm64 --label version=1.3.2-dev.10 . [2021-05-12T20:13:51.872Z] Sending build context to Docker daemon 574kB [2021-05-12T20:13:51.872Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:13:51.872Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-12T20:13:51.872Z] ---> 5d36dc8295cb [2021-05-12T20:13:51.872Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T20:13:52.150Z] ---> Running in cdfc2844acdb [2021-05-12T20:13:52.743Z] Removing intermediate container cdfc2844acdb [2021-05-12T20:13:52.743Z] ---> c4b1cca83531 [2021-05-12T20:13:52.743Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:13:52.743Z] ---> Running in df6a61db8020 [2021-05-12T20:13:53.016Z] Removing intermediate container df6a61db8020 [2021-05-12T20:13:53.017Z] ---> 927acfaf29e5 [2021-05-12T20:13:53.017Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:13:53.291Z] ---> Running in cb6fb0b18640 [2021-05-12T20:13:55.264Z] Removing intermediate container cb6fb0b18640 [2021-05-12T20:13:55.265Z] ---> 31e5818831db [2021-05-12T20:13:55.265Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:13:55.538Z] ---> Running in b60318d87f69 [2021-05-12T20:13:56.519Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:13:57.489Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:13:58.472Z] OK: 145 MiB in 53 packages [2021-05-12T20:13:59.909Z] Removing intermediate container b60318d87f69 [2021-05-12T20:13:59.909Z] ---> 1b663a953914 [2021-05-12T20:13:59.909Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-05-12T20:13:59.909Z] ---> Running in 7b91f3bf1c04 [2021-05-12T20:14:00.503Z] Removing intermediate container 7b91f3bf1c04 [2021-05-12T20:14:00.503Z] ---> 08a4a821ef57 [2021-05-12T20:14:00.503Z] Step 8/23 : COPY . . [2021-05-12T20:14:01.490Z] ---> f1a80ee5e2d9 [2021-05-12T20:14:01.491Z] Step 9/23 : RUN go mod download [2021-05-12T20:14:01.491Z] ---> Running in 511865af8567 [2021-05-12T20:14:04.127Z] Removing intermediate container 511865af8567 [2021-05-12T20:14:04.127Z] ---> 729651089d45 [2021-05-12T20:14:04.127Z] Step 10/23 : ARG MAKE='make build' [2021-05-12T20:14:04.127Z] ---> Running in 8396459fad14 [2021-05-12T20:14:04.397Z] Removing intermediate container 8396459fad14 [2021-05-12T20:14:04.397Z] ---> ea435b748370 [2021-05-12T20:14:04.397Z] Step 11/23 : RUN $MAKE [2021-05-12T20:14:04.671Z] ---> Running in c43cacbf151b [2021-05-12T20:14:05.684Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.10" -o cmd/device-mqtt ./cmd [2021-05-12T20:14:44.691Z] GCO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-12T20:14:51.420Z] Removing intermediate container c43cacbf151b [2021-05-12T20:14:51.420Z] ---> 6c231e0bf7cb [2021-05-12T20:14:51.420Z] Step 12/23 : FROM alpine:3.12 [2021-05-12T20:14:51.420Z] 3.12: Pulling from library/alpine [2021-05-12T20:14:51.420Z] d2f70382dc9a: Pulling fs layer [2021-05-12T20:14:51.420Z] d2f70382dc9a: Verifying Checksum [2021-05-12T20:14:51.420Z] d2f70382dc9a: Download complete [2021-05-12T20:14:52.013Z] d2f70382dc9a: Pull complete [2021-05-12T20:14:52.013Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T20:14:52.013Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T20:14:52.013Z] ---> 9852663dfa18 [2021-05-12T20:14:52.013Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-05-12T20:14:52.286Z] ---> Running in ce38e96cd598 [2021-05-12T20:14:52.881Z] Removing intermediate container ce38e96cd598 [2021-05-12T20:14:52.881Z] ---> eed3bb4cd455 [2021-05-12T20:14:52.881Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-12T20:14:52.881Z] ---> Running in aece586eec8c [2021-05-12T20:14:54.311Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:14:54.311Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:14:54.909Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-12T20:14:54.909Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-12T20:14:54.909Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-12T20:14:54.909Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-12T20:14:54.909Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-12T20:14:54.909Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-12T20:14:54.909Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T20:14:54.909Z] OK: 8 MiB in 20 packages [2021-05-12T20:14:56.355Z] Removing intermediate container aece586eec8c [2021-05-12T20:14:56.355Z] ---> fd4672eda57f [2021-05-12T20:14:56.355Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-05-12T20:14:57.342Z] ---> 29507eaeb9b6 [2021-05-12T20:14:57.342Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-05-12T20:14:58.315Z] ---> 2efaf01735fe [2021-05-12T20:14:58.315Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-05-12T20:14:58.911Z] ---> 103710b623b0 [2021-05-12T20:14:58.911Z] Step 18/23 : EXPOSE 49982 [2021-05-12T20:14:58.911Z] ---> Running in c5ec7fe20821 [2021-05-12T20:14:59.504Z] Removing intermediate container c5ec7fe20821 [2021-05-12T20:14:59.504Z] ---> a006a07fcee2 [2021-05-12T20:14:59.504Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-05-12T20:14:59.504Z] ---> Running in 34ab8e69f86d [2021-05-12T20:15:00.102Z] Removing intermediate container 34ab8e69f86d [2021-05-12T20:15:00.102Z] ---> 48ed376c2eda [2021-05-12T20:15:00.102Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-12T20:15:00.102Z] ---> Running in 2c76dce50665 [2021-05-12T20:15:00.699Z] Removing intermediate container 2c76dce50665 [2021-05-12T20:15:00.699Z] ---> 5344e7784bf8 [2021-05-12T20:15:00.699Z] Step 21/23 : LABEL arch=arm64 [2021-05-12T20:15:00.699Z] ---> Running in 5301c3766465 [2021-05-12T20:15:01.294Z] Removing intermediate container 5301c3766465 [2021-05-12T20:15:01.294Z] ---> 019f157b2a89 [2021-05-12T20:15:01.294Z] Step 22/23 : LABEL git_sha=3691df947a2f13c033dab4cecb2f3e43c92cf99c [2021-05-12T20:15:01.294Z] ---> Running in cd453b53db3c [2021-05-12T20:15:01.887Z] Removing intermediate container cd453b53db3c [2021-05-12T20:15:01.887Z] ---> 0122d8614bf9 [2021-05-12T20:15:01.887Z] Step 23/23 : LABEL version=1.3.2-dev.10 [2021-05-12T20:15:01.887Z] ---> Running in 44f6aa186a53 [2021-05-12T20:15:02.163Z] Removing intermediate container 44f6aa186a53 [2021-05-12T20:15:02.163Z] ---> 5eb83bd5078f [2021-05-12T20:15:02.163Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T20:15:02.437Z] Successfully built 5eb83bd5078f [2021-05-12T20:15:02.437Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:15:02.594Z] provisioning config files... [2021-05-12T20:15:02.635Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/42@tmp/config4637333698232428864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:15:02.998Z] ---> docker-login.sh [2021-05-12T20:15:02.999Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:15:03.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:15:03.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:15:03.545Z] Configure a credential helper to remove this warning. See [2021-05-12T20:15:03.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:15:03.545Z] [2021-05-12T20:15:03.545Z] Login Succeeded [2021-05-12T20:15:03.545Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:15:03.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:15:04.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:15:04.089Z] Configure a credential helper to remove this warning. See [2021-05-12T20:15:04.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:15:04.089Z] [2021-05-12T20:15:04.089Z] Login Succeeded [2021-05-12T20:15:04.089Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:15:04.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:15:04.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:15:04.634Z] Configure a credential helper to remove this warning. See [2021-05-12T20:15:04.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:15:04.634Z] [2021-05-12T20:15:04.634Z] Login Succeeded [2021-05-12T20:15:04.634Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:15:04.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:15:05.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:15:05.183Z] Configure a credential helper to remove this warning. See [2021-05-12T20:15:05.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:15:05.183Z] [2021-05-12T20:15:05.183Z] Login Succeeded [2021-05-12T20:15:05.183Z] docker.io [2021-05-12T20:15:05.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:15:06.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:15:06.051Z] Configure a credential helper to remove this warning. See [2021-05-12T20:15:06.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:15:06.051Z] [2021-05-12T20:15:06.051Z] Login Succeeded [2021-05-12T20:15:06.051Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:15:06.068Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-12T20:15:06.143Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2021-05-12T20:15:06.144Z] 3691df947a2f13c033dab4cecb2f3e43c92cf99c [2021-05-12T20:15:06.144Z] latest [2021-05-12T20:15:06.144Z] 1.3.2-dev.10 [2021-05-12T20:15:06.144Z] 3691df947a2f13c033dab4cecb2f3e43c92cf99c-1.3.2-dev.10 [2021-05-12T20:15:06.144Z] master [2021-05-12T20:15:06.144Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:15:06.513Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3691df947a2f13c033dab4cecb2f3e43c92cf99c [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:15:06.878Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3691df947a2f13c033dab4cecb2f3e43c92cf99c [2021-05-12T20:15:06.878Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-05-12T20:15:06.878Z] b5f9b7b61749: Preparing [2021-05-12T20:15:06.878Z] 47ef9471e894: Preparing [2021-05-12T20:15:06.879Z] 3aee07aa1148: Preparing [2021-05-12T20:15:06.879Z] c9ada3786347: Preparing [2021-05-12T20:15:06.879Z] 3fbe34a1663b: Preparing [2021-05-12T20:15:06.879Z] 3fbe34a1663b: Layer already exists [2021-05-12T20:15:07.154Z] b5f9b7b61749: Pushed [2021-05-12T20:15:07.155Z] 47ef9471e894: Pushed [2021-05-12T20:15:07.746Z] c9ada3786347: Pushed [2021-05-12T20:15:10.356Z] 3aee07aa1148: Pushed [2021-05-12T20:15:10.356Z] 3691df947a2f13c033dab4cecb2f3e43c92cf99c: digest: sha256:422157e064d391351fcf43e739cacd939c47bee066e21df4c83f3b9c9315d780 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:15:10.702Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:15:11.040Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-05-12T20:15:11.040Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-05-12T20:15:11.040Z] b5f9b7b61749: Preparing [2021-05-12T20:15:11.040Z] 47ef9471e894: Preparing [2021-05-12T20:15:11.040Z] 3aee07aa1148: Preparing [2021-05-12T20:15:11.040Z] c9ada3786347: Preparing [2021-05-12T20:15:11.040Z] 3fbe34a1663b: Preparing [2021-05-12T20:15:11.040Z] 3aee07aa1148: Layer already exists [2021-05-12T20:15:11.040Z] 47ef9471e894: Layer already exists [2021-05-12T20:15:11.040Z] c9ada3786347: Layer already exists [2021-05-12T20:15:11.040Z] 3fbe34a1663b: Layer already exists [2021-05-12T20:15:11.311Z] b5f9b7b61749: Layer already exists [2021-05-12T20:15:11.311Z] latest: digest: sha256:422157e064d391351fcf43e739cacd939c47bee066e21df4c83f3b9c9315d780 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:15:11.653Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:15:11.986Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.10 [2021-05-12T20:15:11.986Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-05-12T20:15:11.986Z] b5f9b7b61749: Preparing [2021-05-12T20:15:11.986Z] 47ef9471e894: Preparing [2021-05-12T20:15:11.986Z] 3aee07aa1148: Preparing [2021-05-12T20:15:11.986Z] c9ada3786347: Preparing [2021-05-12T20:15:11.986Z] 3fbe34a1663b: Preparing [2021-05-12T20:15:12.262Z] 3aee07aa1148: Layer already exists [2021-05-12T20:15:12.262Z] 3fbe34a1663b: Layer already exists [2021-05-12T20:15:12.262Z] c9ada3786347: Layer already exists [2021-05-12T20:15:12.262Z] 47ef9471e894: Layer already exists [2021-05-12T20:15:12.262Z] b5f9b7b61749: Layer already exists [2021-05-12T20:15:12.262Z] 1.3.2-dev.10: digest: sha256:422157e064d391351fcf43e739cacd939c47bee066e21df4c83f3b9c9315d780 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:15:12.620Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3691df947a2f13c033dab4cecb2f3e43c92cf99c-1.3.2-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:15:12.975Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3691df947a2f13c033dab4cecb2f3e43c92cf99c-1.3.2-dev.10 [2021-05-12T20:15:12.975Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-05-12T20:15:12.975Z] b5f9b7b61749: Preparing [2021-05-12T20:15:12.975Z] 47ef9471e894: Preparing [2021-05-12T20:15:12.975Z] 3aee07aa1148: Preparing [2021-05-12T20:15:12.975Z] c9ada3786347: Preparing [2021-05-12T20:15:12.975Z] 3fbe34a1663b: Preparing [2021-05-12T20:15:12.975Z] 3aee07aa1148: Layer already exists [2021-05-12T20:15:12.975Z] 47ef9471e894: Layer already exists [2021-05-12T20:15:12.975Z] 3fbe34a1663b: Layer already exists [2021-05-12T20:15:12.975Z] c9ada3786347: Layer already exists [2021-05-12T20:15:12.975Z] b5f9b7b61749: Layer already exists [2021-05-12T20:15:13.247Z] 3691df947a2f13c033dab4cecb2f3e43c92cf99c-1.3.2-dev.10: digest: sha256:422157e064d391351fcf43e739cacd939c47bee066e21df4c83f3b9c9315d780 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:15:13.588Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:15:13.922Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [2021-05-12T20:15:13.922Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-05-12T20:15:13.922Z] b5f9b7b61749: Preparing [2021-05-12T20:15:13.922Z] 47ef9471e894: Preparing [2021-05-12T20:15:13.922Z] 3aee07aa1148: Preparing [2021-05-12T20:15:13.922Z] c9ada3786347: Preparing [2021-05-12T20:15:13.922Z] 3fbe34a1663b: Preparing [2021-05-12T20:15:13.922Z] b5f9b7b61749: Layer already exists [2021-05-12T20:15:13.922Z] 3aee07aa1148: Layer already exists [2021-05-12T20:15:13.922Z] c9ada3786347: Layer already exists [2021-05-12T20:15:13.922Z] 3fbe34a1663b: Layer already exists [2021-05-12T20:15:13.922Z] 47ef9471e894: Layer already exists [2021-05-12T20:15:14.194Z] master: digest: sha256:422157e064d391351fcf43e739cacd939c47bee066e21df4c83f3b9c9315d780 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-12T20:15:14.260Z] ===================================================== [Pipeline] echo [2021-05-12T20:15:14.276Z] taggedImages: [2021-05-12T20:15:14.276Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3691df947a2f13c033dab4cecb2f3e43c92cf99c [2021-05-12T20:15:14.276Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-05-12T20:15:14.276Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.10 [2021-05-12T20:15:14.276Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3691df947a2f13c033dab4cecb2f3e43c92cf99c-1.3.2-dev.10 [2021-05-12T20:15:14.276Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:15:14.650Z] ---> job-cost.sh [2021-05-12T20:15:14.650Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-VECv [2021-05-12T20:15:53.594Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T20:17:30.353Z] lf-activate-venv(): INFO: Adding /tmp/venv-VECv/bin to PATH [2021-05-12T20:17:30.353Z] INFO: No Stack... [2021-05-12T20:17:30.353Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-12T20:17:30.353Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T20:17:30.694Z] + cat /w/workspace/device-mqtt-go/42/archives/cost.csv [2021-05-12T20:17:30.694Z] + cut -d, -f6 [Pipeline] lock [2021-05-12T20:17:30.813Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-42-stack-cost] [2021-05-12T20:17:30.818Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-42-stack-cost] did not exist. Created. [2021-05-12T20:17:30.819Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T20:17:31.192Z] /w/workspace/device-mqtt-go/42@tmp/durable-574152df/script.sh: 1: /w/workspace/device-mqtt-go/42@tmp/durable-574152df/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-12T20:17:31.539Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-12T20:17:31.583Z] Warning: overwriting stash ‘stack-cost’ [2021-05-12T20:17:31.742Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T20:17:31.751Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-42-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-12T20:17:32.215Z] provisioning config files... [2021-05-12T20:17:32.227Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7642336260915117983tmp [Pipeline] { [Pipeline] sh [2021-05-12T20:17:32.559Z] + set +x [2021-05-12T20:17:32.559Z] + curl -s https://codecov.io/bash [2021-05-12T20:17:32.559Z] + bash -s -- [2021-05-12T20:17:32.822Z] [2021-05-12T20:17:32.822Z] _____ _ [2021-05-12T20:17:32.822Z] / ____| | | [2021-05-12T20:17:32.822Z] | | ___ __| | ___ ___ _____ __ [2021-05-12T20:17:32.822Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-12T20:17:32.822Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-12T20:17:32.822Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-12T20:17:32.822Z] Bash-1.0.2 [2021-05-12T20:17:32.822Z] [2021-05-12T20:17:32.822Z] [2021-05-12T20:17:32.822Z] ==> git version 2.24.3 found [2021-05-12T20:17:32.822Z] ==> 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-12T20:17:32.822Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-12T20:17:32.823Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-12T20:17:32.823Z] ==> Jenkins CI detected. [2021-05-12T20:17:32.823Z] project root: . [2021-05-12T20:17:32.823Z] --> token set from env [2021-05-12T20:17:32.823Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-12T20:17:32.823Z] ==> Running gcov in . (disable via -X gcov) [2021-05-12T20:17:32.823Z] ==> Python coveragepy not found [2021-05-12T20:17:32.823Z] ==> Searching for coverage reports in: [2021-05-12T20:17:32.823Z] + . [2021-05-12T20:17:32.823Z] -> Found 1 reports [2021-05-12T20:17:32.823Z] ==> Detecting git/mercurial file structure [2021-05-12T20:17:32.823Z] ==> Reading reports [2021-05-12T20:17:32.823Z] + ./coverage.out bytes=19386 [2021-05-12T20:17:32.823Z] ==> Appending adjustments [2021-05-12T20:17:32.823Z] https://docs.codecov.io/docs/fixing-reports [2021-05-12T20:17:32.823Z] + Found adjustments [2021-05-12T20:17:32.823Z] ==> Gzipping contents [2021-05-12T20:17:32.823Z] 4.0K /tmp/codecov.IgtRob.gz [2021-05-12T20:17:32.823Z] ==> Uploading reports [2021-05-12T20:17:32.823Z] url: https://codecov.io [2021-05-12T20:17:32.823Z] query: branch=master&commit=3691df947a2f13c033dab4cecb2f3e43c92cf99c&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-12T20:17:33.085Z] -> Pinging Codecov [2021-05-12T20:17:33.085Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=3691df947a2f13c033dab4cecb2f3e43c92cf99c&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-12T20:17:33.349Z] -> Uploading to [2021-05-12T20:17:33.349Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-12/7D719EC7BBE17E464838252E33014C33/3691df947a2f13c033dab4cecb2f3e43c92cf99c/7f9fe916-8290-4de7-bdff-a05672b80df7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210512T201733Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d825907adf0c09d928cc03b59333332a69762d1f5821efa36d9016305e94b3d7 [2021-05-12T20:17:33.349Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-12T20:17:33.349Z] Dload Upload Total Spent Left Speed [2021-05-12T20:17:33.924Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3390 0 0 100 3390 0 6251 --:--:-- --:--:-- --:--:-- 6243 100 3390 0 0 100 3390 0 6249 --:--:-- --:--:-- --:--:-- 6243 [2021-05-12T20:17:33.924Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/3691df947a2f13c033dab4cecb2f3e43c92cf99c [Pipeline] } [2021-05-12T20:17:33.934Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-12T20:17:34.179Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-12T20:17:34.217Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:17:34.532Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-12T20:17:34.532Z] [2021-05-12T20:17:34.532Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:17:34.851Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-12T20:17:34.851Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-12T20:17:34.851Z] 188c0c94c7c5: Pulling fs layer [2021-05-12T20:17:34.851Z] 0ef7d3d256c8: Pulling fs layer [2021-05-12T20:17:34.851Z] de9db76c5a1d: Pulling fs layer [2021-05-12T20:17:34.851Z] 0eba1c9be4d2: Pulling fs layer [2021-05-12T20:17:34.851Z] 0d57e429df01: Pulling fs layer [2021-05-12T20:17:34.851Z] 4e4be7b47b0d: Pulling fs layer [2021-05-12T20:17:34.851Z] e1f770b5df2f: Pulling fs layer [2021-05-12T20:17:34.851Z] 85a0685a4137: Pulling fs layer [2021-05-12T20:17:34.851Z] 0d57e429df01: Waiting [2021-05-12T20:17:34.851Z] 4e4be7b47b0d: Waiting [2021-05-12T20:17:34.851Z] e1f770b5df2f: Waiting [2021-05-12T20:17:34.851Z] 85a0685a4137: Waiting [2021-05-12T20:17:34.851Z] 0eba1c9be4d2: Waiting [2021-05-12T20:17:34.851Z] de9db76c5a1d: Verifying Checksum [2021-05-12T20:17:34.851Z] de9db76c5a1d: Download complete [2021-05-12T20:17:34.851Z] 0ef7d3d256c8: Verifying Checksum [2021-05-12T20:17:34.851Z] 0ef7d3d256c8: Download complete [2021-05-12T20:17:34.851Z] 0d57e429df01: Verifying Checksum [2021-05-12T20:17:34.851Z] 0d57e429df01: Download complete [2021-05-12T20:17:34.851Z] 4e4be7b47b0d: Verifying Checksum [2021-05-12T20:17:34.851Z] 4e4be7b47b0d: Download complete [2021-05-12T20:17:35.116Z] 188c0c94c7c5: Download complete [2021-05-12T20:17:35.691Z] 188c0c94c7c5: Pull complete [2021-05-12T20:17:35.691Z] 0ef7d3d256c8: Pull complete [2021-05-12T20:17:35.954Z] de9db76c5a1d: Pull complete [2021-05-12T20:17:36.970Z] e1f770b5df2f: Verifying Checksum [2021-05-12T20:17:36.970Z] e1f770b5df2f: Download complete [2021-05-12T20:17:39.584Z] 0eba1c9be4d2: Verifying Checksum [2021-05-12T20:17:39.585Z] 0eba1c9be4d2: Download complete [2021-05-12T20:17:39.847Z] 85a0685a4137: Verifying Checksum [2021-05-12T20:17:39.847Z] 85a0685a4137: Download complete [2021-05-12T20:17:46.478Z] 0eba1c9be4d2: Pull complete [2021-05-12T20:17:46.478Z] 0d57e429df01: Pull complete [2021-05-12T20:17:46.478Z] 4e4be7b47b0d: Pull complete [2021-05-12T20:17:47.887Z] e1f770b5df2f: Pull complete [2021-05-12T20:17:56.080Z] 85a0685a4137: Pull complete [2021-05-12T20:17:56.080Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-12T20:17:56.080Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-12T20:17:56.080Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-12T20:17:56.330Z] prd-centos7-docker-4c-2g-4802 does not seem to be running inside a container [2021-05-12T20:17:56.384Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-12T20:17:57.445Z] $ docker top e996e5f1837e7a2baade37d6f78f736dd7ccbdb919c9bf23bd1c6593b5d636a2 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-12T20:17:57.561Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-12T20:17:57.859Z] + set -o pipefail [2021-05-12T20:17:57.860Z] + snyk monitor '--org=edgex-jenkins' [2021-05-12T20:18:19.953Z] [2021-05-12T20:18:19.953Z] Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... [2021-05-12T20:18:19.953Z] [2021-05-12T20:18:19.953Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/81642605-0338-4f97-97a3-46ab372380fe [2021-05-12T20:18:19.953Z] [2021-05-12T20:18:19.953Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-12T20:18:19.953Z] [2021-05-12T20:18:19.953Z] [Pipeline] } [2021-05-12T20:18:19.974Z] $ docker stop --time=1 e996e5f1837e7a2baade37d6f78f736dd7ccbdb919c9bf23bd1c6593b5d636a2 [2021-05-12T20:18:22.147Z] $ docker rm -f e996e5f1837e7a2baade37d6f78f736dd7ccbdb919c9bf23bd1c6593b5d636a2 [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-12T20:18:23.327Z] + git log --format=format:%s -1 3691df947a2f13c033dab4cecb2f3e43c92cf99c [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:18:23.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:18:23.638Z] . [Pipeline] withDockerContainer [2021-05-12T20:18:23.742Z] prd-centos7-docker-4c-2g-4802 does not seem to be running inside a container [2021-05-12T20:18:23.791Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T20:18:24.581Z] $ docker top 8959fc723476152cab99d3b987997d70df696925a51203e61ff06c9e8da3ef28 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T20:18:24.775Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:18:24.775Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:18:24.983Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:18:24.989Z] $ docker exec 8959fc723476152cab99d3b987997d70df696925a51203e61ff06c9e8da3ef28 ssh-agent [2021-05-12T20:18:25.166Z] SSH_AUTH_SOCK=/tmp/ssh-uEWH2L5XJL2Q/agent.11 [2021-05-12T20:18:25.166Z] SSH_AGENT_PID=17 [2021-05-12T20:18:25.176Z] Running ssh-add (command line suppressed) [2021-05-12T20:18:25.314Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5826547534174608999.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5826547534174608999.key) [2021-05-12T20:18:25.364Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:18:25.668Z] + git semver tag [2021-05-12T20:18:25.668Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T20:18:25.668Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-05-12T20:18:25.668Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-05-12T20:18:25.668Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T20:18:25.668Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T20:18:25.668Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T20:18:25.668Z] # $SEMVER_BRANCH = master [2021-05-12T20:18:25.668Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-05-12T20:18:25.668Z] # 3691df947a2f13c033dab4cecb2f3e43c92cf99c HEAD [2021-05-12T20:18:25.668Z] # -> Force: false [2021-05-12T20:18:25.668Z] # cca7b334aaa2cd750fde3e1cdd5531f59c835988 refs/tags/v1.3.2-dev.10 [Pipeline] } [2021-05-12T20:18:25.684Z] $ docker exec --env ******** --env ******** 8959fc723476152cab99d3b987997d70df696925a51203e61ff06c9e8da3ef28 ssh-agent -k [2021-05-12T20:18:25.797Z] unset SSH_AUTH_SOCK; [2021-05-12T20:18:25.797Z] unset SSH_AGENT_PID; [2021-05-12T20:18:25.797Z] echo Agent pid 17 killed; [2021-05-12T20:18:25.845Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T20:18:26.204Z] + git semver [Pipeline] } [2021-05-12T20:18:26.225Z] $ docker stop --time=1 8959fc723476152cab99d3b987997d70df696925a51203e61ff06c9e8da3ef28 [2021-05-12T20:18:27.597Z] $ docker rm -f 8959fc723476152cab99d3b987997d70df696925a51203e61ff06c9e8da3ef28 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:18:28.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-12T20:18:28.113Z] [2021-05-12T20:18:28.113Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:18:28.431Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-12T20:18:28.431Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-12T20:18:28.431Z] ab5ef0e58194: Pulling fs layer [2021-05-12T20:18:28.431Z] 9712f1f96733: Pulling fs layer [2021-05-12T20:18:28.431Z] 63f879dbbcfc: Pulling fs layer [2021-05-12T20:18:28.431Z] 0d9ebad4ef96: Pulling fs layer [2021-05-12T20:18:28.431Z] e9a5061849ea: Pulling fs layer [2021-05-12T20:18:28.431Z] d747dcd14b5f: Pulling fs layer [2021-05-12T20:18:28.431Z] 2de7ff778b66: Pulling fs layer [2021-05-12T20:18:28.431Z] 0d9ebad4ef96: Waiting [2021-05-12T20:18:28.431Z] e9a5061849ea: Waiting [2021-05-12T20:18:28.431Z] d747dcd14b5f: Waiting [2021-05-12T20:18:28.431Z] 2de7ff778b66: Waiting [2021-05-12T20:18:28.431Z] 9712f1f96733: Verifying Checksum [2021-05-12T20:18:28.431Z] 9712f1f96733: Download complete [2021-05-12T20:18:30.382Z] 63f879dbbcfc: Verifying Checksum [2021-05-12T20:18:30.382Z] 63f879dbbcfc: Download complete [2021-05-12T20:18:30.382Z] e9a5061849ea: Verifying Checksum [2021-05-12T20:18:30.382Z] e9a5061849ea: Download complete [2021-05-12T20:18:30.382Z] d747dcd14b5f: Verifying Checksum [2021-05-12T20:18:30.382Z] d747dcd14b5f: Download complete [2021-05-12T20:18:30.646Z] 2de7ff778b66: Verifying Checksum [2021-05-12T20:18:30.646Z] 2de7ff778b66: Download complete [2021-05-12T20:18:30.909Z] 0d9ebad4ef96: Verifying Checksum [2021-05-12T20:18:31.174Z] ab5ef0e58194: Verifying Checksum [2021-05-12T20:18:31.174Z] ab5ef0e58194: Download complete [2021-05-12T20:18:35.402Z] ab5ef0e58194: Pull complete [2021-05-12T20:18:35.402Z] 9712f1f96733: Pull complete [2021-05-12T20:18:37.338Z] 63f879dbbcfc: Pull complete [2021-05-12T20:18:43.969Z] 0d9ebad4ef96: Pull complete [2021-05-12T20:18:44.919Z] e9a5061849ea: Pull complete [2021-05-12T20:18:45.182Z] d747dcd14b5f: Pull complete [2021-05-12T20:18:47.740Z] 2de7ff778b66: Pull complete [2021-05-12T20:18:47.740Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-12T20:18:47.740Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-12T20:18:47.740Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-12T20:18:47.955Z] prd-centos7-docker-4c-2g-4802 does not seem to be running inside a container [2021-05-12T20:18:48.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-12T20:18:51.820Z] $ docker top 440f978bc34c69199fdf5a07c1697b0b9d7a1edd03e998c9fcd25d66b15777f2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-12T20:18:51.969Z] provisioning config files... [2021-05-12T20:18:51.985Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config4889637777495629577tmp [2021-05-12T20:18:52.004Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config460001480264520012tmp [2021-05-12T20:18:52.033Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config737733662330189090tmp [Pipeline] { [Pipeline] echo [2021-05-12T20:18:52.064Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:18:52.365Z] ---> sigul-configuration.sh [2021-05-12T20:18:52.365Z] gpg: directory `/root/.gnupg' created [2021-05-12T20:18:52.365Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-12T20:18:52.365Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-12T20:18:52.365Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-12T20:18:52.365Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-12T20:18:52.365Z] gpg: CAST5 encrypted data [2021-05-12T20:18:52.633Z] gpg: encrypted with 1 passphrase [2021-05-12T20:18:52.633Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-12T20:18:52.951Z] + mkdir /home/jenkins [2021-05-12T20:18:52.951Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-12T20:18:53.280Z] + 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-12T20:18:53.292Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:18:53.599Z] ---> sigul-install.sh [2021-05-12T20:19:01.777Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-12T20:19:02.092Z] + git tag --list [2021-05-12T20:19:02.092Z] 0.7.1 [2021-05-12T20:19:02.092Z] v1.0.0 [2021-05-12T20:19:02.092Z] v1.1.0 [2021-05-12T20:19:02.092Z] v1.1.1 [2021-05-12T20:19:02.092Z] v1.2.2 [2021-05-12T20:19:02.092Z] v1.3.0 [2021-05-12T20:19:02.092Z] v1.3.1 [2021-05-12T20:19:02.092Z] v1.3.1-dev.1 [2021-05-12T20:19:02.092Z] v1.3.1-dev.2 [2021-05-12T20:19:02.092Z] v1.3.1-dev.3 [2021-05-12T20:19:02.092Z] v1.3.1-dev.4 [2021-05-12T20:19:02.092Z] v1.3.2-dev.1 [2021-05-12T20:19:02.092Z] v1.3.2-dev.10 [2021-05-12T20:19:02.092Z] v1.3.2-dev.2 [2021-05-12T20:19:02.092Z] v1.3.2-dev.3 [2021-05-12T20:19:02.092Z] v1.3.2-dev.4 [2021-05-12T20:19:02.092Z] v1.3.2-dev.5 [2021-05-12T20:19:02.092Z] v1.3.2-dev.6 [2021-05-12T20:19:02.092Z] v1.3.2-dev.7 [2021-05-12T20:19:02.092Z] v1.3.2-dev.8 [2021-05-12T20:19:02.092Z] v1.3.2-dev.9 [Pipeline] sh [2021-05-12T20:19:02.411Z] + lftools sign git-tag v1.3.2-dev.10 [2021-05-12T20:19:03.824Z] Signing Git tag with Sigul... [2021-05-12T20:19:03.824Z] Signing v1.3.2-dev.10 [Pipeline] echo [2021-05-12T20:19:05.254Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:19:05.617Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-12T20:19:05.634Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-12T20:19:05.729Z] $ docker stop --time=1 440f978bc34c69199fdf5a07c1697b0b9d7a1edd03e998c9fcd25d66b15777f2 [2021-05-12T20:19:08.035Z] $ docker rm -f 440f978bc34c69199fdf5a07c1697b0b9d7a1edd03e998c9fcd25d66b15777f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:19:08.689Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:19:08.689Z] . [Pipeline] withDockerContainer [2021-05-12T20:19:08.798Z] prd-centos7-docker-4c-2g-4802 does not seem to be running inside a container [2021-05-12T20:19:08.852Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T20:19:09.645Z] $ docker top 27bd784c3184f6d6c1254199b4cd148676d2afcee4667d43ba9070098cfac1cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T20:19:09.818Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:19:09.818Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:19:10.048Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:19:10.054Z] $ docker exec 27bd784c3184f6d6c1254199b4cd148676d2afcee4667d43ba9070098cfac1cb ssh-agent [2021-05-12T20:19:10.224Z] SSH_AUTH_SOCK=/tmp/ssh-Fx7s23hD5PuG/agent.11 [2021-05-12T20:19:10.224Z] SSH_AGENT_PID=16 [2021-05-12T20:19:10.233Z] Running ssh-add (command line suppressed) [2021-05-12T20:19:10.361Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_1954218052285072210.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_1954218052285072210.key) [2021-05-12T20:19:10.416Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:19:10.720Z] + git semver bump pre [2021-05-12T20:19:10.720Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T20:19:10.720Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-05-12T20:19:10.720Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-05-12T20:19:10.720Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T20:19:10.720Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T20:19:10.720Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T20:19:10.720Z] # $SEMVER_BRANCH = master [2021-05-12T20:19:10.720Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-05-12T20:19:10.720Z] 1.3.2-dev.11 [Pipeline] } [2021-05-12T20:19:10.745Z] $ docker exec --env ******** --env ******** 27bd784c3184f6d6c1254199b4cd148676d2afcee4667d43ba9070098cfac1cb ssh-agent -k [2021-05-12T20:19:10.881Z] unset SSH_AUTH_SOCK; [2021-05-12T20:19:10.881Z] unset SSH_AGENT_PID; [2021-05-12T20:19:10.881Z] echo Agent pid 16 killed; [2021-05-12T20:19:10.937Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T20:19:11.276Z] + git semver [Pipeline] } [2021-05-12T20:19:11.297Z] $ docker stop --time=1 27bd784c3184f6d6c1254199b4cd148676d2afcee4667d43ba9070098cfac1cb [2021-05-12T20:19:12.665Z] $ docker rm -f 27bd784c3184f6d6c1254199b4cd148676d2afcee4667d43ba9070098cfac1cb [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:19:13.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:19:13.120Z] . [Pipeline] withDockerContainer [2021-05-12T20:19:13.218Z] prd-centos7-docker-4c-2g-4802 does not seem to be running inside a container [2021-05-12T20:19:13.266Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T20:19:13.911Z] $ docker top 4f26433ae7598973029acabe7c1b99e744ee1f4c56061dd7a5a732ed96e7ee0b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T20:19:14.068Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:19:14.068Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:19:14.277Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:19:14.283Z] $ docker exec 4f26433ae7598973029acabe7c1b99e744ee1f4c56061dd7a5a732ed96e7ee0b ssh-agent [2021-05-12T20:19:14.470Z] SSH_AUTH_SOCK=/tmp/ssh-XZXefEYK3hWM/agent.12 [2021-05-12T20:19:14.470Z] SSH_AGENT_PID=18 [2021-05-12T20:19:14.477Z] Running ssh-add (command line suppressed) [2021-05-12T20:19:14.617Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4466503106202239053.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4466503106202239053.key) [2021-05-12T20:19:14.677Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:19:14.982Z] + git semver push [2021-05-12T20:19:14.982Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T20:19:14.982Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-05-12T20:19:14.982Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-05-12T20:19:14.982Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T20:19:14.982Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T20:19:14.982Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T20:19:14.982Z] # $SEMVER_BRANCH = master [2021-05-12T20:19:14.982Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-05-12T20:19:19.303Z] $ docker exec --env ******** --env ******** 4f26433ae7598973029acabe7c1b99e744ee1f4c56061dd7a5a732ed96e7ee0b ssh-agent -k [2021-05-12T20:19:19.447Z] unset SSH_AUTH_SOCK; [2021-05-12T20:19:19.448Z] unset SSH_AGENT_PID; [2021-05-12T20:19:19.448Z] echo Agent pid 18 killed; [2021-05-12T20:19:19.497Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T20:19:19.842Z] + git semver [Pipeline] } [2021-05-12T20:19:19.862Z] $ docker stop --time=1 4f26433ae7598973029acabe7c1b99e744ee1f4c56061dd7a5a732ed96e7ee0b [2021-05-12T20:19:21.235Z] $ docker rm -f 4f26433ae7598973029acabe7c1b99e744ee1f4c56061dd7a5a732ed96e7ee0b [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-12T20:19:22.165Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:19:22.733Z] ---> package-listing.sh [2021-05-12T20:19:22.733Z] ++ facter osfamily [2021-05-12T20:19:22.733Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-12T20:19:22.733Z] + OS_FAMILY=redhat [2021-05-12T20:19:22.733Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_master [2021-05-12T20:19:22.733Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-12T20:19:22.733Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-12T20:19:22.733Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-12T20:19:22.733Z] + PACKAGES=/tmp/packages_start.txt [2021-05-12T20:19:22.733Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-05-12T20:19:22.733Z] + PACKAGES=/tmp/packages_end.txt [2021-05-12T20:19:22.733Z] + case "${OS_FAMILY}" in [2021-05-12T20:19:22.733Z] + rpm -qa [2021-05-12T20:19:22.733Z] + sort [2021-05-12T20:19:28.074Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-12T20:19:28.074Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-12T20:19:28.074Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-12T20:19:28.074Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-05-12T20:19:28.074Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [2021-05-12T20:19:28.074Z] + 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-12T20:19:28.092Z] 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-12T20:19:28.394Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:19:28.719Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:19:28.720Z] [2021-05-12T20:19:28.720Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:19:29.049Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:19:29.049Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-12T20:19:29.049Z] df20fa9351a1: Pulling fs layer [2021-05-12T20:19:29.049Z] 36b3adc4ff6f: Pulling fs layer [2021-05-12T20:19:29.049Z] 8ad3a11d3b57: Pulling fs layer [2021-05-12T20:19:29.049Z] 46f8f816bc3b: Pulling fs layer [2021-05-12T20:19:29.049Z] 93b61091891f: Pulling fs layer [2021-05-12T20:19:29.049Z] 93b9cdb0e59b: Pulling fs layer [2021-05-12T20:19:29.049Z] 5e14af77c1be: Pulling fs layer [2021-05-12T20:19:29.049Z] 01666e4c0597: Pulling fs layer [2021-05-12T20:19:29.049Z] aa168da1d23b: Pulling fs layer [2021-05-12T20:19:29.049Z] 93b9cdb0e59b: Waiting [2021-05-12T20:19:29.049Z] 5e14af77c1be: Waiting [2021-05-12T20:19:29.049Z] 01666e4c0597: Waiting [2021-05-12T20:19:29.049Z] 46f8f816bc3b: Waiting [2021-05-12T20:19:29.049Z] 93b61091891f: Waiting [2021-05-12T20:19:29.049Z] aa168da1d23b: Waiting [2021-05-12T20:19:29.049Z] 36b3adc4ff6f: Verifying Checksum [2021-05-12T20:19:29.049Z] 36b3adc4ff6f: Download complete [2021-05-12T20:19:29.049Z] 46f8f816bc3b: Verifying Checksum [2021-05-12T20:19:29.312Z] 93b61091891f: Verifying Checksum [2021-05-12T20:19:29.312Z] 93b61091891f: Download complete [2021-05-12T20:19:29.312Z] 93b9cdb0e59b: Verifying Checksum [2021-05-12T20:19:29.312Z] 93b9cdb0e59b: Download complete [2021-05-12T20:19:29.312Z] df20fa9351a1: Verifying Checksum [2021-05-12T20:19:29.312Z] df20fa9351a1: Download complete [2021-05-12T20:19:29.312Z] 5e14af77c1be: Verifying Checksum [2021-05-12T20:19:29.312Z] 5e14af77c1be: Download complete [2021-05-12T20:19:29.312Z] 01666e4c0597: Download complete [2021-05-12T20:19:29.574Z] df20fa9351a1: Pull complete [2021-05-12T20:19:29.835Z] 8ad3a11d3b57: Verifying Checksum [2021-05-12T20:19:29.835Z] 8ad3a11d3b57: Download complete [2021-05-12T20:19:29.835Z] 36b3adc4ff6f: Pull complete [2021-05-12T20:19:31.767Z] 8ad3a11d3b57: Pull complete [2021-05-12T20:19:31.767Z] aa168da1d23b: Verifying Checksum [2021-05-12T20:19:31.767Z] aa168da1d23b: Download complete [2021-05-12T20:19:32.036Z] 46f8f816bc3b: Pull complete [2021-05-12T20:19:32.297Z] 93b61091891f: Pull complete [2021-05-12T20:19:32.297Z] 93b9cdb0e59b: Pull complete [2021-05-12T20:19:32.560Z] 5e14af77c1be: Pull complete [2021-05-12T20:19:32.560Z] 01666e4c0597: Pull complete [2021-05-12T20:19:40.747Z] aa168da1d23b: Pull complete [2021-05-12T20:19:40.747Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-12T20:19:40.747Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:19:40.747Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-12T20:19:40.936Z] prd-centos7-docker-4c-2g-4802 does not seem to be running inside a container [2021-05-12T20:19:40.988Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-12T20:19:43.972Z] $ docker top 4a041b66efae292b347387be07b8767196fd9abf80eb507bde97193d6e0e7af5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:19:44.441Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-12T20:19:44.745Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-12T20:19:45.062Z] + ls /var/log/sa-host [2021-05-12T20:19:45.063Z] + sadf -c /var/log/sa-host/sa12 [2021-05-12T20:19:45.063Z] file_magic: OK [2021-05-12T20:19:45.063Z] HZ: Using current value: 100 [2021-05-12T20:19:45.063Z] file_header: OK [2021-05-12T20:19:45.063Z] 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-12T20:19:45.063Z] Statistics: [2021-05-12T20:19:45.063Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-12T20:19:45.063Z] File successfully converted to sysstat format version 12.2.1 [2021-05-12T20:19:45.063Z] + sadf -c /var/log/sa-host/sa23 [2021-05-12T20:19:45.063Z] file_magic: OK [2021-05-12T20:19:45.063Z] HZ: Using current value: 100 [2021-05-12T20:19:45.063Z] file_header: OK [2021-05-12T20:19:45.063Z] 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-12T20:19:45.063Z] Statistics: [2021-05-12T20:19:45.063Z] Hnuu...uuuununununu... [2021-05-12T20:19:45.063Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-12T20:19:45.336Z] provisioning config files... [2021-05-12T20:19:45.370Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config5856453391372908731tmp [Pipeline] { [Pipeline] echo [2021-05-12T20:19:45.415Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:19:45.790Z] ---> create-netrc.sh [Pipeline] } [2021-05-12T20:19:45.804Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-12T20:19:45.833Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:19:46.130Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-12T20:19:46.143Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:19:46.450Z] ---> sudo-logs.sh [2021-05-12T20:19:46.450Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-12T20:19:46.480Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:19:46.777Z] ---> job-cost.sh [2021-05-12T20:19:46.777Z] lf-activate-venv: SKIPPING [2021-05-12T20:19:46.777Z] DEBUG: total: 0.20999999344348907 [2021-05-12T20:19:46.777Z] INFO: Retrieving Stack Cost... [2021-05-12T20:19:47.725Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T20:19:48.301Z] INFO: Archiving Costs [Pipeline] echo [2021-05-12T20:19:48.322Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:19:48.627Z] ---> logs-deploy.sh [2021-05-12T20:19:48.627Z] lf-activate-venv: SKIPPING [2021-05-12T20:19:48.627Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/42 [2021-05-12T20:19:48.627Z] INFO: archiving workspace using pattern(s): [2021-05-12T20:19:50.552Z] Archives upload complete. [2021-05-12T20:19:50.552Z] INFO: archiving logs to Nexus