Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f18a6a3dbde834181761aee3cd8d7ae44955f149 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5474238793649217175.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4484280535968732745.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7208335039259992585.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9130966078827867592.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3292392320316367646.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-60 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision f18a6a3dbde834181761aee3cd8d7ae44955f149 (master) 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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-mqtt-go_master@tmp/jenkins-gitclient-ssh4213441733189713495.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f18a6a3dbde834181761aee3cd8d7ae44955f149 # timeout=10 Commit message: "feat: Enable using MessageBus as the default (#279)" > git rev-list --no-walk 5d8aa52d1e25508a3667e2ee886235de5ef8f7b0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-17T18:27:01.467Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-17T18:27:01.564Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-17T18:27:01.606Z] ========================================================= [2021-06-17T18:27:01.606Z] EdgeX Global Pipelines Version Info [2021-06-17T18:27:01.606Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:27:03.120Z] ------------------- [2021-06-17T18:27:03.120Z] stable info: [2021-06-17T18:27:03.120Z] ------------------- [2021-06-17T18:27:03.120Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-17T18:27:03.120Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-17T18:27:03.120Z] Message: update stable to v1.0.195 [2021-06-17T18:27:03.710Z] ------------------- [2021-06-17T18:27:03.710Z] experimental info: [2021-06-17T18:27:03.710Z] ------------------- [2021-06-17T18:27:03.710Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-17T18:27:03.710Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-17T18:27:03.710Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-17T18:27:03.848Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-06-17T18:27:03.872Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-06-17T18:27:03.897Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-17T18:27:03.923Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-17T18:27:03.949Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-17T18:27:03.973Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-17T18:27:03.998Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-17T18:27:04.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-17T18:27:04.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-17T18:27:04.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-17T18:27:04.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-17T18:27:04.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-06-17T18:27:04.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-17T18:27:04.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-17T18:27:04.210Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-17T18:27:04.238Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-17T18:27:04.265Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-17T18:27:04.290Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-17T18:27:04.314Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-17T18:27:04.338Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-06-17T18:27:04.389Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-17T18:27:04.416Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-17T18:27:04.440Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-17T18:27:04.465Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-17T18:27:04.503Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-17T18:27:04.527Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-17T18:27:04.553Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-06-17T18:27:04.578Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-06-17T18:27:04.604Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-06-17T18:27:04.639Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f18a6a3dbde834181761aee3cd8d7ae44955f149 [Pipeline] echo [2021-06-17T18:27:04.666Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f18a6a3 [Pipeline] echo [2021-06-17T18:27:04.691Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:27:04.769Z] provisioning config files... [2021-06-17T18:27:04.786Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2539417302751397225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:27:05.109Z] ---> docker-login.sh [2021-06-17T18:27:05.110Z] nexus3.edgexfoundry.org:10001 [2021-06-17T18:27:05.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:27:05.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:27:05.375Z] Configure a credential helper to remove this warning. See [2021-06-17T18:27:05.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:27:05.375Z] [2021-06-17T18:27:05.375Z] Login Succeeded [2021-06-17T18:27:05.375Z] nexus3.edgexfoundry.org:10002 [2021-06-17T18:27:05.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:27:05.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:27:05.375Z] Configure a credential helper to remove this warning. See [2021-06-17T18:27:05.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:27:05.375Z] [2021-06-17T18:27:05.375Z] Login Succeeded [2021-06-17T18:27:05.375Z] nexus3.edgexfoundry.org:10003 [2021-06-17T18:27:05.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:27:05.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:27:05.639Z] Configure a credential helper to remove this warning. See [2021-06-17T18:27:05.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:27:05.639Z] [2021-06-17T18:27:05.639Z] Login Succeeded [2021-06-17T18:27:05.639Z] nexus3.edgexfoundry.org:10004 [2021-06-17T18:27:05.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:27:05.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:27:05.639Z] Configure a credential helper to remove this warning. See [2021-06-17T18:27:05.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:27:05.639Z] [2021-06-17T18:27:05.639Z] Login Succeeded [2021-06-17T18:27:05.639Z] docker.io [2021-06-17T18:27:05.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:27:06.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:27:06.165Z] Configure a credential helper to remove this warning. See [2021-06-17T18:27:06.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:27:06.165Z] [2021-06-17T18:27:06.165Z] Login Succeeded [2021-06-17T18:27:06.165Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T18:27:06.173Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T18:27:06.710Z] + git log --format=format:%s -1 f18a6a3dbde834181761aee3cd8d7ae44955f149 [Pipeline] echo [2021-06-17T18:27:06.747Z] GIT_COMMIT: f18a6a3dbde834181761aee3cd8d7ae44955f149, Commit Message: feat: Enable using MessageBus as the default (#279) [Pipeline] echo [2021-06-17T18:27:06.761Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:27:07.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T18:27:07.695Z] [2021-06-17T18:27:07.695Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:27:08.011Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T18:27:08.012Z] latest: Pulling from edgex-devops/git-semver [2021-06-17T18:27:08.012Z] 31603596830f: Pulling fs layer [2021-06-17T18:27:08.012Z] 54011a49482f: Pulling fs layer [2021-06-17T18:27:08.012Z] a6820b24f6d8: Pulling fs layer [2021-06-17T18:27:08.012Z] f581987b2513: Pulling fs layer [2021-06-17T18:27:08.012Z] f581987b2513: Waiting [2021-06-17T18:27:08.012Z] 54011a49482f: Verifying Checksum [2021-06-17T18:27:08.012Z] 54011a49482f: Download complete [2021-06-17T18:27:08.281Z] 31603596830f: Verifying Checksum [2021-06-17T18:27:08.281Z] 31603596830f: Download complete [2021-06-17T18:27:08.281Z] f581987b2513: Verifying Checksum [2021-06-17T18:27:08.281Z] f581987b2513: Download complete [2021-06-17T18:27:08.281Z] a6820b24f6d8: Verifying Checksum [2021-06-17T18:27:08.281Z] a6820b24f6d8: Download complete [2021-06-17T18:27:08.281Z] 31603596830f: Pull complete [2021-06-17T18:27:08.574Z] 54011a49482f: Pull complete [2021-06-17T18:27:09.146Z] a6820b24f6d8: Pull complete [2021-06-17T18:27:09.146Z] f581987b2513: Pull complete [2021-06-17T18:27:09.408Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-17T18:27:09.408Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T18:27:09.408Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-17T18:27:09.495Z] prd-centos7-docker-4c-2g-60 does not seem to be running inside a container [2021-06-17T18:27:09.535Z] $ 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-06-17T18:27:10.684Z] $ docker top 27c87c03cbd88307fbd1af8da6741a92687baf4e04bb7dbd80dbd7f17208c8ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-17T18:27:10.847Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T18:27:10.847Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T18:27:10.952Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T18:27:10.953Z] $ docker exec 27c87c03cbd88307fbd1af8da6741a92687baf4e04bb7dbd80dbd7f17208c8ff ssh-agent [2021-06-17T18:27:11.072Z] SSH_AUTH_SOCK=/tmp/ssh-IvwfXSLT2QFO/agent.15 [2021-06-17T18:27:11.072Z] SSH_AGENT_PID=22 [2021-06-17T18:27:11.082Z] Running ssh-add (command line suppressed) [2021-06-17T18:27:11.183Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6417149406876107704.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6417149406876107704.key) [2021-06-17T18:27:11.202Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T18:27:11.516Z] + git tag --points-at HEAD [Pipeline] } [2021-06-17T18:27:11.533Z] $ docker exec --env ******** --env ******** 27c87c03cbd88307fbd1af8da6741a92687baf4e04bb7dbd80dbd7f17208c8ff ssh-agent -k [2021-06-17T18:27:11.631Z] unset SSH_AUTH_SOCK; [2021-06-17T18:27:11.631Z] unset SSH_AGENT_PID; [2021-06-17T18:27:11.631Z] echo Agent pid 22 killed; [2021-06-17T18:27:11.649Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-17T18:27:11.690Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T18:27:11.690Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T18:27:11.795Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T18:27:11.795Z] $ docker exec 27c87c03cbd88307fbd1af8da6741a92687baf4e04bb7dbd80dbd7f17208c8ff ssh-agent [2021-06-17T18:27:11.913Z] SSH_AUTH_SOCK=/tmp/ssh-5tv8Pqa0Hw16/agent.57 [2021-06-17T18:27:11.913Z] SSH_AGENT_PID=63 [2021-06-17T18:27:11.918Z] Running ssh-add (command line suppressed) [2021-06-17T18:27:12.015Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_799167515777768134.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_799167515777768134.key) [2021-06-17T18:27:12.031Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T18:27:12.339Z] + git semver init [2021-06-17T18:27:12.339Z] # -> Open(): unable to determine branch for HEAD [2021-06-17T18:27:12.339Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-06-17T18:27:12.339Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-06-17T18:27:12.339Z] # $SEMVER_REMOTE_NAME = origin [2021-06-17T18:27:12.339Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-17T18:27:12.339Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-17T18:27:12.339Z] # $SEMVER_BRANCH = master [2021-06-17T18:27:12.339Z] # $SEMVER_TEMP = /tmp/semver-627675591 [2021-06-17T18:27:12.339Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-06-17T18:27:12.603Z] # '/tmp/semver-627675591' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' [2021-06-17T18:27:12.603Z] # -> Force: false [2021-06-17T18:27:12.603Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-06-17T18:27:12.614Z] $ docker exec --env ******** --env ******** 27c87c03cbd88307fbd1af8da6741a92687baf4e04bb7dbd80dbd7f17208c8ff ssh-agent -k [2021-06-17T18:27:12.722Z] unset SSH_AUTH_SOCK; [2021-06-17T18:27:12.723Z] unset SSH_AGENT_PID; [2021-06-17T18:27:12.723Z] echo Agent pid 63 killed; [2021-06-17T18:27:12.742Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-17T18:27:13.168Z] + git semver [Pipeline] } [2021-06-17T18:27:13.183Z] $ docker stop --time=1 27c87c03cbd88307fbd1af8da6741a92687baf4e04bb7dbd80dbd7f17208c8ff [2021-06-17T18:27:14.440Z] $ docker rm -f 27c87c03cbd88307fbd1af8da6741a92687baf4e04bb7dbd80dbd7f17208c8ff [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-17T18:27:14.811Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-17T18:27:15.087Z] Stashed 1 file(s) [Pipeline] echo [2021-06-17T18:27:15.090Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.23 [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-06-17T18:27:15.491Z] Running on prd-centos7-docker-4c-2g-59 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-06-17T18:27:15.512Z] Running in /w/workspace/device-mqtt-go/55 [Pipeline] { [Pipeline] checkout [2021-06-17T18:27:15.624Z] Selected Git installation does not exist. Using Default [2021-06-17T18:27:15.624Z] The recommended git tool is: NONE [2021-06-17T18:27:17.859Z] using credential edgex-jenkins-ssh [2021-06-17T18:27:17.878Z] Cloning the remote Git repository [2021-06-17T18:27:17.905Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-06-17T18:27:18.702Z] Avoid second fetch [2021-06-17T18:27:18.703Z] Checking out Revision f18a6a3dbde834181761aee3cd8d7ae44955f149 (master) [2021-06-17T18:27:17.979Z] > git init /w/workspace/device-mqtt-go/55 # timeout=10 [2021-06-17T18:27:18.006Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-06-17T18:27:18.006Z] > git --version # timeout=10 [2021-06-17T18:27:18.014Z] > git --version # 'git version 2.24.4' [2021-06-17T18:27:18.015Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T18:27:18.045Z] [INFO] Currently running in a labeled security context [2021-06-17T18:27:18.045Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-17T18:27:18.045Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/55@tmp/jenkins-gitclient-ssh243646059441155691.key [2021-06-17T18:27:18.069Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T18:27:18.682Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-06-17T18:27:18.690Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T18:27:18.714Z] > git config core.sparsecheckout # timeout=10 [2021-06-17T18:27:18.726Z] > git checkout -f f18a6a3dbde834181761aee3cd8d7ae44955f149 # timeout=10 [2021-06-17T18:27:22.372Z] Commit message: "feat: Enable using MessageBus as the default (#279)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T18:27:23.250Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-17T18:27:23.582Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-17T18:27:23.884Z] + sudo service docker restart [2021-06-17T18:27:23.885Z] + true [2021-06-17T18:27:23.885Z] Redirecting to /bin/systemctl restart docker.service [2021-06-17T18:27:30.370Z] Still waiting to schedule task [2021-06-17T18:27:30.371Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:27:42.073Z] provisioning config files... [2021-06-17T18:27:42.091Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/55@tmp/config7747299853892418363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:27:42.425Z] ---> docker-login.sh [2021-06-17T18:27:42.425Z] nexus3.edgexfoundry.org:10001 [2021-06-17T18:27:42.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:27:42.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:27:42.694Z] Configure a credential helper to remove this warning. See [2021-06-17T18:27:42.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:27:42.694Z] [2021-06-17T18:27:42.694Z] Login Succeeded [2021-06-17T18:27:42.694Z] nexus3.edgexfoundry.org:10002 [2021-06-17T18:27:42.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:27:42.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:27:42.694Z] Configure a credential helper to remove this warning. See [2021-06-17T18:27:42.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:27:42.694Z] [2021-06-17T18:27:42.694Z] Login Succeeded [2021-06-17T18:27:42.694Z] nexus3.edgexfoundry.org:10003 [2021-06-17T18:27:42.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:27:42.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:27:42.959Z] Configure a credential helper to remove this warning. See [2021-06-17T18:27:42.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:27:42.959Z] [2021-06-17T18:27:42.959Z] Login Succeeded [2021-06-17T18:27:42.959Z] nexus3.edgexfoundry.org:10004 [2021-06-17T18:27:42.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:27:42.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:27:42.959Z] Configure a credential helper to remove this warning. See [2021-06-17T18:27:42.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:27:42.959Z] [2021-06-17T18:27:42.959Z] Login Succeeded [2021-06-17T18:27:42.959Z] docker.io [2021-06-17T18:27:43.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:27:43.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:27:43.481Z] Configure a credential helper to remove this warning. See [2021-06-17T18:27:43.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:27:43.481Z] [2021-06-17T18:27:43.481Z] Login Succeeded [2021-06-17T18:27:43.481Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T18:27:43.492Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-17T18:27:43.714Z] ========================================================= [2021-06-17T18:27:43.714Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-17T18:27:43.714Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:27:44.026Z] + 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-06-17T18:27:44.026Z] Sending build context to Docker daemon 614.4kB [2021-06-17T18:27:44.026Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T18:27:44.026Z] Step 2/8 : FROM ${BASE} [2021-06-17T18:27:44.026Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-17T18:27:44.026Z] 540db60ca938: Pulling fs layer [2021-06-17T18:27:44.026Z] adcc1eea9eea: Pulling fs layer [2021-06-17T18:27:44.026Z] 4c4ab2625f07: Pulling fs layer [2021-06-17T18:27:44.026Z] 0510c868ecb4: Pulling fs layer [2021-06-17T18:27:44.026Z] afea3b2eda06: Pulling fs layer [2021-06-17T18:27:44.026Z] 7809a108b3ef: Pulling fs layer [2021-06-17T18:27:44.026Z] f706445af74f: Pulling fs layer [2021-06-17T18:27:44.026Z] afea3b2eda06: Waiting [2021-06-17T18:27:44.026Z] 7809a108b3ef: Waiting [2021-06-17T18:27:44.026Z] f706445af74f: Waiting [2021-06-17T18:27:44.026Z] 0510c868ecb4: Waiting [2021-06-17T18:27:44.026Z] 4c4ab2625f07: Verifying Checksum [2021-06-17T18:27:44.026Z] 4c4ab2625f07: Download complete [2021-06-17T18:27:44.297Z] adcc1eea9eea: Verifying Checksum [2021-06-17T18:27:44.297Z] adcc1eea9eea: Download complete [2021-06-17T18:27:44.297Z] afea3b2eda06: Verifying Checksum [2021-06-17T18:27:44.297Z] afea3b2eda06: Download complete [2021-06-17T18:27:44.297Z] 7809a108b3ef: Verifying Checksum [2021-06-17T18:27:44.297Z] 7809a108b3ef: Download complete [2021-06-17T18:27:44.297Z] 540db60ca938: Verifying Checksum [2021-06-17T18:27:44.298Z] 540db60ca938: Download complete [2021-06-17T18:27:44.298Z] 540db60ca938: Pull complete [2021-06-17T18:27:44.569Z] adcc1eea9eea: Pull complete [2021-06-17T18:27:44.569Z] 4c4ab2625f07: Pull complete [2021-06-17T18:27:45.965Z] f706445af74f: Verifying Checksum [2021-06-17T18:27:45.965Z] f706445af74f: Download complete [2021-06-17T18:27:46.540Z] 0510c868ecb4: Verifying Checksum [2021-06-17T18:27:46.540Z] 0510c868ecb4: Download complete [2021-06-17T18:27:49.850Z] 0510c868ecb4: Pull complete [2021-06-17T18:27:50.111Z] afea3b2eda06: Pull complete [2021-06-17T18:27:50.376Z] 7809a108b3ef: Pull complete [2021-06-17T18:27:51.788Z] f706445af74f: Pull complete [2021-06-17T18:27:51.788Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-17T18:27:51.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-17T18:27:51.788Z] ---> b068be0155e3 [2021-06-17T18:27:51.788Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-17T18:27:58.386Z] ---> Running in 1d462568f164 [2021-06-17T18:27:58.648Z] Removing intermediate container 1d462568f164 [2021-06-17T18:27:58.648Z] ---> 76d659e69ce0 [2021-06-17T18:27:58.648Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T18:27:58.648Z] ---> Running in 531f1a80aea9 [2021-06-17T18:27:59.222Z] Removing intermediate container 531f1a80aea9 [2021-06-17T18:27:59.222Z] ---> e0bcf44d9fa7 [2021-06-17T18:27:59.222Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-17T18:27:59.222Z] ---> Running in 9327bf62a369 [2021-06-17T18:27:59.483Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-17T18:28:00.433Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-17T18:28:00.694Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-17T18:28:00.955Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-17T18:28:00.955Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-17T18:28:00.955Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-17T18:28:01.216Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-17T18:28:01.216Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-17T18:28:01.216Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-17T18:28:01.477Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-17T18:28:01.739Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-17T18:28:01.739Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-17T18:28:01.739Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-17T18:28:02.005Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-17T18:28:02.005Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-17T18:28:02.005Z] Executing busybox-1.32.1-r6.trigger [2021-06-17T18:28:02.005Z] OK: 156 MiB in 53 packages [2021-06-17T18:28:02.580Z] Removing intermediate container 9327bf62a369 [2021-06-17T18:28:02.580Z] ---> 8a1f131b09a3 [2021-06-17T18:28:02.580Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-06-17T18:28:02.849Z] ---> Running in 9b174ec8e983 [2021-06-17T18:28:02.850Z] Removing intermediate container 9b174ec8e983 [2021-06-17T18:28:02.850Z] ---> 1959232b42b3 [2021-06-17T18:28:02.850Z] Step 7/8 : COPY . . [2021-06-17T18:28:03.427Z] ---> c942bcb9ca0a [2021-06-17T18:28:03.427Z] Step 8/8 : RUN go mod download [2021-06-17T18:28:03.427Z] ---> Running in 0f7f67701cde [2021-06-17T18:28:21.586Z] Removing intermediate container 0f7f67701cde [2021-06-17T18:28:21.586Z] ---> 7f0ecae318b6 [2021-06-17T18:28:21.586Z] Successfully built 7f0ecae318b6 [2021-06-17T18:28:21.586Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:28:21.901Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-17T18:28:21.902Z] . [Pipeline] withDockerContainer [2021-06-17T18:28:21.987Z] prd-centos7-docker-4c-2g-59 does not seem to be running inside a container [2021-06-17T18:28:22.034Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/55 -v /w/workspace/device-mqtt-go/55:/w/workspace/device-mqtt-go/55:rw,z -v /w/workspace/device-mqtt-go/55@tmp:/w/workspace/device-mqtt-go/55@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-17T18:28:22.792Z] $ docker top c6d9cd3f11e2e83912ff147068c83e7b8e6d89f0620beed1365d7e79bd32d5f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T18:28:23.199Z] + go version [2021-06-17T18:28:23.199Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-17T18:28:23.213Z] $ docker stop --time=1 c6d9cd3f11e2e83912ff147068c83e7b8e6d89f0620beed1365d7e79bd32d5f9 [2021-06-17T18:28:24.444Z] $ docker rm -f c6d9cd3f11e2e83912ff147068c83e7b8e6d89f0620beed1365d7e79bd32d5f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:28:24.980Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-17T18:28:24.981Z] . [Pipeline] withDockerContainer [2021-06-17T18:28:25.057Z] prd-centos7-docker-4c-2g-59 does not seem to be running inside a container [2021-06-17T18:28:25.099Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/55 -v /w/workspace/device-mqtt-go/55:/w/workspace/device-mqtt-go/55:rw,z -v /w/workspace/device-mqtt-go/55@tmp:/w/workspace/device-mqtt-go/55@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-17T18:28:25.530Z] $ docker top 0d72a5786551cdcf2e34bb1c90d77182107b41e196c8e88cbd81fd6da1f97ef9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T18:28:25.919Z] + go mod tidy [Pipeline] sh [2021-06-17T18:28:26.494Z] + make test [2021-06-17T18:28:26.494Z] go mod tidy [2021-06-17T18:28:26.494Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-17T18:28:27.075Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-06-17T18:28:45.275Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-06-17T18:28:46.216Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 22.0% of statements [2021-06-17T18:28:46.216Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-06-17T18:28:46.216Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-17T18:28:54.444Z] gofmt -l . [2021-06-17T18:28:54.444Z] ["`gofmt -l .`" = ""] [2021-06-17T18:28:54.444Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-17T18:28:54.457Z] $ docker stop --time=1 0d72a5786551cdcf2e34bb1c90d77182107b41e196c8e88cbd81fd6da1f97ef9 [2021-06-17T18:28:58.198Z] $ docker rm -f 0d72a5786551cdcf2e34bb1c90d77182107b41e196c8e88cbd81fd6da1f97ef9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-17T18:28:58.686Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-17T18:28:58.926Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-17T18:29:00.037Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-17T18:29:00.334Z] + ls -al . [2021-06-17T18:29:00.334Z] total 112 [2021-06-17T18:29:00.335Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jun 17 18:28 . [2021-06-17T18:29:00.335Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 17 18:27 .. [2021-06-17T18:29:00.335Z] -rw-rw-r--. 1 jenkins jenkins 7100 Jun 17 18:27 Attribution.txt [2021-06-17T18:29:00.335Z] drwxrwxr-x. 2 jenkins jenkins 60 Jun 17 18:27 bin [2021-06-17T18:29:00.335Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 17 18:27 cmd [2021-06-17T18:29:00.335Z] -rw-r--r--. 1 jenkins jenkins 20788 Jun 17 18:28 coverage.out [2021-06-17T18:29:00.335Z] -rw-rw-r--. 1 jenkins jenkins 1877 Jun 17 18:27 Dockerfile [2021-06-17T18:29:00.335Z] -rw-rw-r--. 1 jenkins jenkins 994 Jun 17 18:27 Dockerfile.build [2021-06-17T18:29:00.335Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 17 18:27 .dockerignore [2021-06-17T18:29:00.335Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 17 18:27 .git [2021-06-17T18:29:00.335Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 17 18:27 .github [2021-06-17T18:29:00.335Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 17 18:27 .gitignore [2021-06-17T18:29:00.335Z] -rw-rw-r--. 1 jenkins jenkins 409 Jun 17 18:27 go.mod [2021-06-17T18:29:00.335Z] -rw-r--r--. 1 jenkins jenkins 21058 Jun 17 18:28 go.sum [2021-06-17T18:29:00.335Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 17 18:27 internal [2021-06-17T18:29:00.335Z] -rw-rw-r--. 1 jenkins jenkins 677 Jun 17 18:27 Jenkinsfile [2021-06-17T18:29:00.335Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 17 18:27 LICENSE [2021-06-17T18:29:00.335Z] -rw-rw-r--. 1 jenkins jenkins 907 Jun 17 18:27 Makefile [2021-06-17T18:29:00.335Z] drwxrwxr-x. 2 jenkins jenkins 23 Jun 17 18:27 mock [2021-06-17T18:29:00.335Z] -rw-rw-r--. 1 jenkins jenkins 2217 Jun 17 18:27 README.md [2021-06-17T18:29:00.335Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 17 18:27 snap [2021-06-17T18:29:00.335Z] -rw-rw-r--. 1 jenkins jenkins 12 Jun 17 18:27 VERSION [2021-06-17T18:29:00.335Z] -rw-rw-r--. 1 jenkins jenkins 227 Jun 17 18:27 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:29:00.647Z] + 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=f18a6a3dbde834181761aee3cd8d7ae44955f149 --label arch=amd64 --label version=1.3.2-dev.23 . [2021-06-17T18:29:00.647Z] Sending build context to Docker daemon 635.9kB [2021-06-17T18:29:00.647Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T18:29:00.647Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-17T18:29:00.647Z] ---> 7f0ecae318b6 [2021-06-17T18:29:00.647Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-17T18:29:01.230Z] ---> Running in 865d9ff40498 [2021-06-17T18:29:01.807Z] Removing intermediate container 865d9ff40498 [2021-06-17T18:29:01.807Z] ---> 160afe67b7d2 [2021-06-17T18:29:01.807Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-17T18:29:02.070Z] ---> Running in 22bf215bb548 [2021-06-17T18:29:02.331Z] Removing intermediate container 22bf215bb548 [2021-06-17T18:29:02.331Z] ---> 64e60d62d24b [2021-06-17T18:29:02.331Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T18:29:02.593Z] ---> Running in 4e7d72cd6021 [2021-06-17T18:29:04.516Z] Removing intermediate container 4e7d72cd6021 [2021-06-17T18:29:04.516Z] ---> c58f0c32c658 [2021-06-17T18:29:04.516Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-17T18:29:04.516Z] ---> Running in 44f41ef11ab3 [2021-06-17T18:29:05.089Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-17T18:29:06.480Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-17T18:29:06.740Z] OK: 156 MiB in 53 packages [2021-06-17T18:29:07.685Z] Removing intermediate container 44f41ef11ab3 [2021-06-17T18:29:07.685Z] ---> 4a3c4218988e [2021-06-17T18:29:07.685Z] Step 7/24 : WORKDIR /device-mqtt-go [2021-06-17T18:29:07.947Z] ---> Running in 641cca1c84f5 [2021-06-17T18:29:08.209Z] Removing intermediate container 641cca1c84f5 [2021-06-17T18:29:08.209Z] ---> ebe749001446 [2021-06-17T18:29:08.209Z] Step 8/24 : COPY . . [2021-06-17T18:29:09.602Z] ---> ebee8781067f [2021-06-17T18:29:09.602Z] Step 9/24 : RUN go mod tidy [2021-06-17T18:29:09.873Z] ---> Running in 630b49208b22 [2021-06-17T18:29:13.181Z] Removing intermediate container 630b49208b22 [2021-06-17T18:29:13.181Z] ---> 47abc1c48b49 [2021-06-17T18:29:13.181Z] Step 10/24 : RUN go mod download [2021-06-17T18:29:13.443Z] ---> Running in 2d39202fa7fd [2021-06-17T18:29:15.365Z] Removing intermediate container 2d39202fa7fd [2021-06-17T18:29:15.365Z] ---> 89ad06662ea7 [2021-06-17T18:29:15.365Z] Step 11/24 : ARG MAKE='make build' [2021-06-17T18:29:15.365Z] ---> Running in 5f13531dbe5f [2021-06-17T18:29:15.953Z] Removing intermediate container 5f13531dbe5f [2021-06-17T18:29:15.953Z] ---> 59396d39d5a4 [2021-06-17T18:29:15.953Z] Step 12/24 : RUN $MAKE [2021-06-17T18:29:15.953Z] ---> Running in 06fb784a6d2f [2021-06-17T18:29:16.919Z] go mod tidy [2021-06-17T18:29:16.919Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.23" -o cmd/device-mqtt ./cmd [2021-06-17T18:29:31.915Z] Removing intermediate container 06fb784a6d2f [2021-06-17T18:29:31.915Z] ---> b9c9ca6db424 [2021-06-17T18:29:31.915Z] Step 13/24 : FROM alpine:3.12 [2021-06-17T18:29:31.915Z] 3.12: Pulling from library/alpine [2021-06-17T18:29:31.915Z] 339de151aab4: Pulling fs layer [2021-06-17T18:29:31.915Z] 339de151aab4: Verifying Checksum [2021-06-17T18:29:31.915Z] 339de151aab4: Download complete [2021-06-17T18:29:31.915Z] 339de151aab4: Pull complete [2021-06-17T18:29:31.915Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-17T18:29:31.915Z] Status: Downloaded newer image for alpine:3.12 [2021-06-17T18:29:31.915Z] ---> 13621d1b12d4 [2021-06-17T18:29:31.915Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-06-17T18:29:31.915Z] ---> Running in d73de763d8f5 [2021-06-17T18:29:31.915Z] Removing intermediate container d73de763d8f5 [2021-06-17T18:29:31.915Z] ---> 29515769e79b [2021-06-17T18:29:31.915Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-17T18:29:31.915Z] ---> Running in d3c954e378aa [2021-06-17T18:29:31.915Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-17T18:29:31.915Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-17T18:29:31.915Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-17T18:29:31.915Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-17T18:29:31.915Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-17T18:29:31.916Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-17T18:29:31.916Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-17T18:29:31.916Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-17T18:29:31.916Z] Executing busybox-1.31.1-r20.trigger [2021-06-17T18:29:31.916Z] OK: 8 MiB in 20 packages [2021-06-17T18:29:32.177Z] Removing intermediate container d3c954e378aa [2021-06-17T18:29:32.177Z] ---> 51b90546d3b1 [2021-06-17T18:29:32.177Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2021-06-17T18:29:32.441Z] ---> 4f16df0db517 [2021-06-17T18:29:32.441Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-06-17T18:29:32.703Z] ---> f33457d7a61d [2021-06-17T18:29:32.703Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-06-17T18:29:32.703Z] ---> f627ba8a975b [2021-06-17T18:29:32.703Z] Step 19/24 : EXPOSE 59982 [2021-06-17T18:29:32.703Z] ---> Running in 6c37e1cc3b55 [2021-06-17T18:29:32.963Z] Removing intermediate container 6c37e1cc3b55 [2021-06-17T18:29:32.963Z] ---> 133d8b4ae775 [2021-06-17T18:29:32.963Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2021-06-17T18:29:32.963Z] ---> Running in 9130ac96eb79 [2021-06-17T18:29:32.963Z] Removing intermediate container 9130ac96eb79 [2021-06-17T18:29:32.963Z] ---> e3714f2e0ea8 [2021-06-17T18:29:32.963Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-17T18:29:32.963Z] ---> Running in 16d41239ff83 [2021-06-17T18:29:33.223Z] Removing intermediate container 16d41239ff83 [2021-06-17T18:29:33.223Z] ---> 0e9f7e125e16 [2021-06-17T18:29:33.223Z] Step 22/24 : LABEL arch=amd64 [2021-06-17T18:29:33.223Z] ---> Running in 53c7403aacf3 [2021-06-17T18:29:33.223Z] Removing intermediate container 53c7403aacf3 [2021-06-17T18:29:33.223Z] ---> 90059d784220 [2021-06-17T18:29:33.223Z] Step 23/24 : LABEL git_sha=f18a6a3dbde834181761aee3cd8d7ae44955f149 [2021-06-17T18:29:33.223Z] ---> Running in 490d7e6438e9 [2021-06-17T18:29:33.223Z] Removing intermediate container 490d7e6438e9 [2021-06-17T18:29:33.223Z] ---> 109edab0376a [2021-06-17T18:29:33.223Z] Step 24/24 : LABEL version=1.3.2-dev.23 [2021-06-17T18:29:33.483Z] ---> Running in 794e61841bee [2021-06-17T18:29:33.483Z] Removing intermediate container 794e61841bee [2021-06-17T18:29:33.483Z] ---> 3d7121671e06 [2021-06-17T18:29:33.483Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-17T18:29:33.483Z] Successfully built 3d7121671e06 [2021-06-17T18:29:33.483Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:29:33.692Z] provisioning config files... [2021-06-17T18:29:33.713Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/55@tmp/config6870936966493756990tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:29:34.049Z] ---> docker-login.sh [2021-06-17T18:29:34.049Z] nexus3.edgexfoundry.org:10001 [2021-06-17T18:29:34.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:29:34.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:29:34.049Z] Configure a credential helper to remove this warning. See [2021-06-17T18:29:34.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:29:34.049Z] [2021-06-17T18:29:34.049Z] Login Succeeded [2021-06-17T18:29:34.049Z] nexus3.edgexfoundry.org:10002 [2021-06-17T18:29:34.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:29:34.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:29:34.315Z] Configure a credential helper to remove this warning. See [2021-06-17T18:29:34.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:29:34.315Z] [2021-06-17T18:29:34.315Z] Login Succeeded [2021-06-17T18:29:34.315Z] nexus3.edgexfoundry.org:10003 [2021-06-17T18:29:34.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:29:34.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:29:34.315Z] Configure a credential helper to remove this warning. See [2021-06-17T18:29:34.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:29:34.315Z] [2021-06-17T18:29:34.315Z] Login Succeeded [2021-06-17T18:29:34.315Z] nexus3.edgexfoundry.org:10004 [2021-06-17T18:29:34.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:29:34.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:29:34.575Z] Configure a credential helper to remove this warning. See [2021-06-17T18:29:34.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:29:34.575Z] [2021-06-17T18:29:34.575Z] Login Succeeded [2021-06-17T18:29:34.575Z] docker.io [2021-06-17T18:29:34.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:29:34.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:29:34.836Z] Configure a credential helper to remove this warning. See [2021-06-17T18:29:34.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:29:34.836Z] [2021-06-17T18:29:34.836Z] Login Succeeded [2021-06-17T18:29:34.836Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T18:29:34.845Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-17T18:29:34.915Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2021-06-17T18:29:34.915Z] f18a6a3dbde834181761aee3cd8d7ae44955f149 [2021-06-17T18:29:34.915Z] latest [2021-06-17T18:29:34.915Z] 1.3.2-dev.23 [2021-06-17T18:29:34.915Z] f18a6a3dbde834181761aee3cd8d7ae44955f149-1.3.2-dev.23 [2021-06-17T18:29:34.915Z] master [2021-06-17T18:29:34.915Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:29:35.271Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:f18a6a3dbde834181761aee3cd8d7ae44955f149 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:29:35.584Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:f18a6a3dbde834181761aee3cd8d7ae44955f149 [2021-06-17T18:29:35.584Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-17T18:29:35.584Z] 0660e99d68a7: Preparing [2021-06-17T18:29:35.584Z] 92ca8e68a6f0: Preparing [2021-06-17T18:29:35.584Z] fbb3f6a064f7: Preparing [2021-06-17T18:29:35.584Z] 85a28dc7e630: Preparing [2021-06-17T18:29:35.584Z] 32f366d666a5: Preparing [2021-06-17T18:29:35.584Z] 32f366d666a5: Layer already exists [2021-06-17T18:29:35.858Z] 92ca8e68a6f0: Pushed [2021-06-17T18:29:35.858Z] 0660e99d68a7: Pushed [2021-06-17T18:29:35.858Z] 85a28dc7e630: Pushed [2021-06-17T18:29:37.248Z] fbb3f6a064f7: Pushed [2021-06-17T18:29:37.248Z] f18a6a3dbde834181761aee3cd8d7ae44955f149: digest: sha256:559f4e98912a40ca3dda4a2659490d99a7d10ff4efc6a62b7bd80ce278275c24 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:29:37.556Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:29:37.854Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-06-17T18:29:37.854Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-17T18:29:37.854Z] 0660e99d68a7: Preparing [2021-06-17T18:29:37.854Z] 92ca8e68a6f0: Preparing [2021-06-17T18:29:37.854Z] fbb3f6a064f7: Preparing [2021-06-17T18:29:37.854Z] 85a28dc7e630: Preparing [2021-06-17T18:29:37.854Z] 32f366d666a5: Preparing [2021-06-17T18:29:37.854Z] fbb3f6a064f7: Layer already exists [2021-06-17T18:29:37.854Z] 92ca8e68a6f0: Layer already exists [2021-06-17T18:29:37.854Z] 32f366d666a5: Layer already exists [2021-06-17T18:29:37.854Z] 85a28dc7e630: Layer already exists [2021-06-17T18:29:37.854Z] 0660e99d68a7: Layer already exists [2021-06-17T18:29:37.854Z] latest: digest: sha256:559f4e98912a40ca3dda4a2659490d99a7d10ff4efc6a62b7bd80ce278275c24 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:29:38.164Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.23 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:29:38.471Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.23 [2021-06-17T18:29:38.471Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-17T18:29:38.471Z] 0660e99d68a7: Preparing [2021-06-17T18:29:38.471Z] 92ca8e68a6f0: Preparing [2021-06-17T18:29:38.471Z] fbb3f6a064f7: Preparing [2021-06-17T18:29:38.471Z] 85a28dc7e630: Preparing [2021-06-17T18:29:38.471Z] 32f366d666a5: Preparing [2021-06-17T18:29:38.471Z] 32f366d666a5: Layer already exists [2021-06-17T18:29:38.471Z] 0660e99d68a7: Layer already exists [2021-06-17T18:29:38.471Z] fbb3f6a064f7: Layer already exists [2021-06-17T18:29:38.471Z] 85a28dc7e630: Layer already exists [2021-06-17T18:29:38.471Z] 92ca8e68a6f0: Layer already exists [2021-06-17T18:29:38.471Z] 1.3.2-dev.23: digest: sha256:559f4e98912a40ca3dda4a2659490d99a7d10ff4efc6a62b7bd80ce278275c24 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:29:38.777Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:f18a6a3dbde834181761aee3cd8d7ae44955f149-1.3.2-dev.23 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:29:39.074Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:f18a6a3dbde834181761aee3cd8d7ae44955f149-1.3.2-dev.23 [2021-06-17T18:29:39.074Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-17T18:29:39.074Z] 0660e99d68a7: Preparing [2021-06-17T18:29:39.074Z] 92ca8e68a6f0: Preparing [2021-06-17T18:29:39.074Z] fbb3f6a064f7: Preparing [2021-06-17T18:29:39.074Z] 85a28dc7e630: Preparing [2021-06-17T18:29:39.074Z] 32f366d666a5: Preparing [2021-06-17T18:29:39.074Z] fbb3f6a064f7: Layer already exists [2021-06-17T18:29:39.074Z] 32f366d666a5: Layer already exists [2021-06-17T18:29:39.074Z] 92ca8e68a6f0: Layer already exists [2021-06-17T18:29:39.074Z] 85a28dc7e630: Layer already exists [2021-06-17T18:29:39.074Z] 0660e99d68a7: Layer already exists [2021-06-17T18:29:39.074Z] f18a6a3dbde834181761aee3cd8d7ae44955f149-1.3.2-dev.23: digest: sha256:559f4e98912a40ca3dda4a2659490d99a7d10ff4efc6a62b7bd80ce278275c24 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:29:39.377Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:29:39.681Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:master [2021-06-17T18:29:39.682Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-17T18:29:39.682Z] 0660e99d68a7: Preparing [2021-06-17T18:29:39.682Z] 92ca8e68a6f0: Preparing [2021-06-17T18:29:39.682Z] fbb3f6a064f7: Preparing [2021-06-17T18:29:39.682Z] 85a28dc7e630: Preparing [2021-06-17T18:29:39.682Z] 32f366d666a5: Preparing [2021-06-17T18:29:39.682Z] 32f366d666a5: Layer already exists [2021-06-17T18:29:39.682Z] 92ca8e68a6f0: Layer already exists [2021-06-17T18:29:39.682Z] fbb3f6a064f7: Layer already exists [2021-06-17T18:29:39.682Z] 85a28dc7e630: Layer already exists [2021-06-17T18:29:39.682Z] 0660e99d68a7: Layer already exists [2021-06-17T18:29:39.682Z] master: digest: sha256:559f4e98912a40ca3dda4a2659490d99a7d10ff4efc6a62b7bd80ce278275c24 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-17T18:29:39.740Z] ===================================================== [Pipeline] echo [2021-06-17T18:29:39.756Z] taggedImages: [2021-06-17T18:29:39.756Z] - nexus3.edgexfoundry.org:10004/device-mqtt:f18a6a3dbde834181761aee3cd8d7ae44955f149 [2021-06-17T18:29:39.756Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-06-17T18:29:39.756Z] - nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.23 [2021-06-17T18:29:39.756Z] - nexus3.edgexfoundry.org:10004/device-mqtt:f18a6a3dbde834181761aee3cd8d7ae44955f149-1.3.2-dev.23 [2021-06-17T18:29:39.756Z] - 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-06-17T18:29:40.404Z] ---> job-cost.sh [2021-06-17T18:29:40.404Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FPDG [2021-06-17T18:29:48.568Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-17T18:30:06.742Z] lf-activate-venv(): INFO: Adding /tmp/venv-FPDG/bin to PATH [2021-06-17T18:30:06.742Z] INFO: No Stack... [2021-06-17T18:30:06.742Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-17T18:30:06.742Z] INFO: Archiving Costs [Pipeline] sh [2021-06-17T18:30:07.045Z] + cat /w/workspace/device-mqtt-go/55/archives/cost.csv [2021-06-17T18:30:07.045Z] + cut -d, -f6 [Pipeline] lock [2021-06-17T18:30:07.074Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-55-stack-cost] [2021-06-17T18:30:07.082Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-55-stack-cost] did not exist. Created. [2021-06-17T18:30:07.083Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-17T18:30:07.411Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-17T18:30:07.480Z] Stashed 1 file(s) [Pipeline] } [2021-06-17T18:30:07.493Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-55-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-17T18:31:04.220Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-61 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-06-17T18:31:04.239Z] Running in /w/workspace/device-mqtt-go/55 [Pipeline] { [Pipeline] checkout [2021-06-17T18:31:04.447Z] Selected Git installation does not exist. Using Default [2021-06-17T18:31:04.448Z] The recommended git tool is: NONE [2021-06-17T18:31:09.933Z] using credential edgex-jenkins-ssh [2021-06-17T18:31:09.955Z] Cloning the remote Git repository [2021-06-17T18:31:10.015Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-06-17T18:31:10.139Z] > git init /w/workspace/device-mqtt-go/55 # timeout=10 [2021-06-17T18:31:10.219Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-06-17T18:31:10.220Z] > git --version # timeout=10 [2021-06-17T18:31:10.238Z] > git --version # 'git version 2.17.1' [2021-06-17T18:31:10.240Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T18:31:10.327Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T18:31:11.190Z] Avoid second fetch [2021-06-17T18:31:11.191Z] Checking out Revision f18a6a3dbde834181761aee3cd8d7ae44955f149 (master) [2021-06-17T18:31:11.112Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-06-17T18:31:11.137Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T18:31:11.258Z] > git config core.sparsecheckout # timeout=10 [2021-06-17T18:31:11.303Z] > git checkout -f f18a6a3dbde834181761aee3cd8d7ae44955f149 # timeout=10 [2021-06-17T18:31:15.694Z] Commit message: "feat: Enable using MessageBus as the default (#279)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T18:31:16.943Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-17T18:31:17.372Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-17T18:31:17.714Z] + true [2021-06-17T18:31:17.714Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:31:36.085Z] provisioning config files... [2021-06-17T18:31:36.113Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/55@tmp/config4099143860245724033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:31:36.509Z] ---> docker-login.sh [2021-06-17T18:31:36.509Z] nexus3.edgexfoundry.org:10001 [2021-06-17T18:31:37.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:31:37.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:31:37.718Z] Configure a credential helper to remove this warning. See [2021-06-17T18:31:37.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:31:37.718Z] [2021-06-17T18:31:37.718Z] Login Succeeded [2021-06-17T18:31:37.718Z] nexus3.edgexfoundry.org:10002 [2021-06-17T18:31:37.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:31:38.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:31:38.268Z] Configure a credential helper to remove this warning. See [2021-06-17T18:31:38.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:31:38.268Z] [2021-06-17T18:31:38.268Z] Login Succeeded [2021-06-17T18:31:38.268Z] nexus3.edgexfoundry.org:10003 [2021-06-17T18:31:38.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:31:38.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:31:38.831Z] Configure a credential helper to remove this warning. See [2021-06-17T18:31:38.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:31:38.831Z] [2021-06-17T18:31:38.831Z] Login Succeeded [2021-06-17T18:31:38.831Z] nexus3.edgexfoundry.org:10004 [2021-06-17T18:31:39.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:31:39.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:31:39.333Z] Configure a credential helper to remove this warning. See [2021-06-17T18:31:39.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:31:39.333Z] [2021-06-17T18:31:39.333Z] Login Succeeded [2021-06-17T18:31:39.333Z] docker.io [2021-06-17T18:31:39.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:31:40.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:31:40.211Z] Configure a credential helper to remove this warning. See [2021-06-17T18:31:40.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:31:40.211Z] [2021-06-17T18:31:40.211Z] Login Succeeded [2021-06-17T18:31:40.211Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T18:31:40.230Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-17T18:31:40.541Z] ========================================================= [2021-06-17T18:31:40.541Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-17T18:31:40.541Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:31:40.896Z] + 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-06-17T18:31:41.173Z] Sending build context to Docker daemon 613.4kB [2021-06-17T18:31:41.446Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T18:31:41.446Z] Step 2/8 : FROM ${BASE} [2021-06-17T18:31:42.880Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-17T18:31:42.880Z] 595b0fe564bb: Pulling fs layer [2021-06-17T18:31:42.880Z] 3088b5b3c5c0: Pulling fs layer [2021-06-17T18:31:42.880Z] 5b7225fbf94c: Pulling fs layer [2021-06-17T18:31:42.880Z] ba82ee9f976e: Pulling fs layer [2021-06-17T18:31:42.880Z] 506bd15cee9f: Pulling fs layer [2021-06-17T18:31:42.880Z] 75a0a4a0db45: Pulling fs layer [2021-06-17T18:31:42.880Z] 618dc40b7e24: Pulling fs layer [2021-06-17T18:31:42.880Z] 506bd15cee9f: Waiting [2021-06-17T18:31:42.880Z] 75a0a4a0db45: Waiting [2021-06-17T18:31:42.880Z] 618dc40b7e24: Waiting [2021-06-17T18:31:42.880Z] ba82ee9f976e: Waiting [2021-06-17T18:31:42.880Z] 5b7225fbf94c: Download complete [2021-06-17T18:31:42.880Z] 3088b5b3c5c0: Verifying Checksum [2021-06-17T18:31:42.880Z] 3088b5b3c5c0: Download complete [2021-06-17T18:31:42.880Z] 506bd15cee9f: Download complete [2021-06-17T18:31:42.880Z] 595b0fe564bb: Download complete [2021-06-17T18:31:43.155Z] 75a0a4a0db45: Download complete [2021-06-17T18:31:43.430Z] 595b0fe564bb: Pull complete [2021-06-17T18:31:44.035Z] 3088b5b3c5c0: Pull complete [2021-06-17T18:31:44.639Z] 5b7225fbf94c: Pull complete [2021-06-17T18:31:45.628Z] 618dc40b7e24: Verifying Checksum [2021-06-17T18:31:45.628Z] 618dc40b7e24: Download complete [2021-06-17T18:31:47.615Z] ba82ee9f976e: Download complete [2021-06-17T18:31:57.808Z] ba82ee9f976e: Pull complete [2021-06-17T18:31:58.089Z] 506bd15cee9f: Pull complete [2021-06-17T18:31:58.366Z] 75a0a4a0db45: Pull complete [2021-06-17T18:32:02.702Z] 618dc40b7e24: Pull complete [2021-06-17T18:32:02.702Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-17T18:32:02.702Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-17T18:32:02.702Z] ---> a36622ca3599 [2021-06-17T18:32:02.702Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-17T18:32:04.157Z] ---> Running in 179c8c5b1d25 [2021-06-17T18:32:04.759Z] Removing intermediate container 179c8c5b1d25 [2021-06-17T18:32:04.759Z] ---> b793b72754cf [2021-06-17T18:32:04.759Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T18:32:05.034Z] ---> Running in bb220a1fb629 [2021-06-17T18:32:07.659Z] Removing intermediate container bb220a1fb629 [2021-06-17T18:32:07.659Z] ---> abf3693cbc76 [2021-06-17T18:32:07.659Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-17T18:32:07.659Z] ---> Running in a932b25d9e6d [2021-06-17T18:32:08.639Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-17T18:32:09.617Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-17T18:32:10.611Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-17T18:32:10.883Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-17T18:32:11.155Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-17T18:32:11.431Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-17T18:32:11.431Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-17T18:32:11.703Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-17T18:32:11.703Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-17T18:32:12.296Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-17T18:32:12.566Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-17T18:32:12.566Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-17T18:32:12.838Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-17T18:32:12.838Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-17T18:32:13.111Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-17T18:32:13.111Z] Executing busybox-1.32.1-r6.trigger [2021-06-17T18:32:13.386Z] OK: 145 MiB in 53 packages [2021-06-17T18:32:14.820Z] Removing intermediate container a932b25d9e6d [2021-06-17T18:32:14.820Z] ---> 2152bcd2fad9 [2021-06-17T18:32:14.820Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-06-17T18:32:14.820Z] ---> Running in ca543f58e5db [2021-06-17T18:32:15.415Z] Removing intermediate container ca543f58e5db [2021-06-17T18:32:15.415Z] ---> 469c5c09a294 [2021-06-17T18:32:15.415Z] Step 7/8 : COPY . . [2021-06-17T18:32:16.405Z] ---> 89ca27e2dea8 [2021-06-17T18:32:16.405Z] Step 8/8 : RUN go mod download [2021-06-17T18:32:16.405Z] ---> Running in 6f325683ce1a [2021-06-17T18:32:43.237Z] Removing intermediate container 6f325683ce1a [2021-06-17T18:32:43.237Z] ---> c269ca8a971c [2021-06-17T18:32:43.237Z] Successfully built c269ca8a971c [2021-06-17T18:32:43.237Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:32:43.585Z] + docker inspect -f . ci-base-image-arm64 [2021-06-17T18:32:43.585Z] . [Pipeline] withDockerContainer [2021-06-17T18:32:44.024Z] prd-ubuntu18.04-docker-arm64-4c-16g-61 does not seem to be running inside a container [2021-06-17T18:32:44.147Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/55 -v /w/workspace/device-mqtt-go/55:/w/workspace/device-mqtt-go/55:rw,z -v /w/workspace/device-mqtt-go/55@tmp:/w/workspace/device-mqtt-go/55@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-17T18:32:45.790Z] $ docker top 9824eb194188ebbe1d6b18cc57a9348ba800d5c4521ddb24fa209f25d7dfcef8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T18:32:46.806Z] + go version [2021-06-17T18:32:46.807Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-17T18:32:46.837Z] $ docker stop --time=1 9824eb194188ebbe1d6b18cc57a9348ba800d5c4521ddb24fa209f25d7dfcef8 [2021-06-17T18:32:48.614Z] $ docker rm -f 9824eb194188ebbe1d6b18cc57a9348ba800d5c4521ddb24fa209f25d7dfcef8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:32:49.387Z] + docker inspect -f . ci-base-image-arm64 [2021-06-17T18:32:49.387Z] . [Pipeline] withDockerContainer [2021-06-17T18:32:49.654Z] prd-ubuntu18.04-docker-arm64-4c-16g-61 does not seem to be running inside a container [2021-06-17T18:32:49.749Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/55 -v /w/workspace/device-mqtt-go/55:/w/workspace/device-mqtt-go/55:rw,z -v /w/workspace/device-mqtt-go/55@tmp:/w/workspace/device-mqtt-go/55@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-17T18:32:51.422Z] $ docker top 80ea971a7c71f70b2aec8caee360e9c11719372c8aa64acf74bf11d5e0979382 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T18:32:52.398Z] + go mod tidy [Pipeline] sh [2021-06-17T18:32:53.654Z] + make test [2021-06-17T18:32:53.654Z] go mod tidy [2021-06-17T18:32:53.929Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-17T18:32:55.356Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-06-17T18:33:52.054Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-06-17T18:33:52.054Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.054s coverage: 22.0% of statements [2021-06-17T18:33:52.054Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-06-17T18:33:52.054Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-17T18:34:14.247Z] gofmt -l . [2021-06-17T18:34:14.247Z] ["`gofmt -l .`" = ""] [2021-06-17T18:34:14.247Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-17T18:34:16.250Z] $ docker stop --time=1 80ea971a7c71f70b2aec8caee360e9c11719372c8aa64acf74bf11d5e0979382 [2021-06-17T18:34:18.331Z] $ docker rm -f 80ea971a7c71f70b2aec8caee360e9c11719372c8aa64acf74bf11d5e0979382 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-17T18:34:19.232Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-17T18:34:19.254Z] Warning: overwriting stash ‘coverage-report’ [2021-06-17T18:34:19.753Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T18:34:20.359Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-17T18:34:20.699Z] + ls -al . [2021-06-17T18:34:20.699Z] total 144 [2021-06-17T18:34:20.699Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 17 18:34 . [2021-06-17T18:34:20.699Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 18:31 .. [2021-06-17T18:34:20.699Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 17 18:31 .dockerignore [2021-06-17T18:34:20.699Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 18:31 .git [2021-06-17T18:34:20.699Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:31 .github [2021-06-17T18:34:20.699Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 17 18:31 .gitignore [2021-06-17T18:34:20.699Z] -rw-rw-r-- 1 jenkins jenkins 7100 Jun 17 18:31 Attribution.txt [2021-06-17T18:34:20.699Z] -rw-rw-r-- 1 jenkins jenkins 1877 Jun 17 18:31 Dockerfile [2021-06-17T18:34:20.699Z] -rw-rw-r-- 1 jenkins jenkins 994 Jun 17 18:31 Dockerfile.build [2021-06-17T18:34:20.699Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 18:31 Jenkinsfile [2021-06-17T18:34:20.699Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 18:31 LICENSE [2021-06-17T18:34:20.699Z] -rw-rw-r-- 1 jenkins jenkins 907 Jun 17 18:31 Makefile [2021-06-17T18:34:20.699Z] -rw-rw-r-- 1 jenkins jenkins 2217 Jun 17 18:31 README.md [2021-06-17T18:34:20.699Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 17 18:27 VERSION [2021-06-17T18:34:20.699Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:31 bin [2021-06-17T18:34:20.699Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 18:31 cmd [2021-06-17T18:34:20.699Z] -rw-r--r-- 1 jenkins jenkins 20788 Jun 17 18:33 coverage.out [2021-06-17T18:34:20.699Z] -rw-rw-r-- 1 jenkins jenkins 409 Jun 17 18:31 go.mod [2021-06-17T18:34:20.699Z] -rw-r--r-- 1 jenkins jenkins 21058 Jun 17 18:32 go.sum [2021-06-17T18:34:20.699Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 18:31 internal [2021-06-17T18:34:20.699Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:31 mock [2021-06-17T18:34:20.699Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 18:31 snap [2021-06-17T18:34:20.699Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 17 18:31 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:34:21.041Z] + 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=f18a6a3dbde834181761aee3cd8d7ae44955f149 --label arch=arm64 --label version=1.3.2-dev.23 . [2021-06-17T18:34:21.314Z] Sending build context to Docker daemon 634.9kB [2021-06-17T18:34:21.314Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T18:34:21.314Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-17T18:34:21.314Z] ---> c269ca8a971c [2021-06-17T18:34:21.314Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-17T18:34:21.585Z] ---> Running in 59310a2e80bd [2021-06-17T18:34:22.178Z] Removing intermediate container 59310a2e80bd [2021-06-17T18:34:22.178Z] ---> 6b6a74350b1e [2021-06-17T18:34:22.178Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-17T18:34:22.178Z] ---> Running in c2f9b8f61ae4 [2021-06-17T18:34:22.777Z] Removing intermediate container c2f9b8f61ae4 [2021-06-17T18:34:22.778Z] ---> 9fd5b2e4f137 [2021-06-17T18:34:22.778Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T18:34:22.778Z] ---> Running in 9c0f4e88394d [2021-06-17T18:34:24.815Z] Removing intermediate container 9c0f4e88394d [2021-06-17T18:34:24.815Z] ---> f9941e3b4e31 [2021-06-17T18:34:24.815Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-17T18:34:25.086Z] ---> Running in 6abf53d07269 [2021-06-17T18:34:26.067Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-17T18:34:27.499Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-17T18:34:28.476Z] OK: 145 MiB in 53 packages [2021-06-17T18:34:29.910Z] Removing intermediate container 6abf53d07269 [2021-06-17T18:34:29.910Z] ---> e5f6dc045eac [2021-06-17T18:34:29.910Z] Step 7/24 : WORKDIR /device-mqtt-go [2021-06-17T18:34:29.910Z] ---> Running in 37f5a35ea684 [2021-06-17T18:34:30.186Z] Removing intermediate container 37f5a35ea684 [2021-06-17T18:34:30.186Z] ---> 56dad75c7d40 [2021-06-17T18:34:30.186Z] Step 8/24 : COPY . . [2021-06-17T18:34:31.636Z] ---> ba6f8a23474e [2021-06-17T18:34:31.636Z] Step 9/24 : RUN go mod tidy [2021-06-17T18:34:31.636Z] ---> Running in 0e375889c0ce [2021-06-17T18:34:35.027Z] Removing intermediate container 0e375889c0ce [2021-06-17T18:34:35.027Z] ---> dd7a2ad0fac7 [2021-06-17T18:34:35.027Z] Step 10/24 : RUN go mod download [2021-06-17T18:34:35.027Z] ---> Running in 4a24b742cab2 [2021-06-17T18:34:37.010Z] Removing intermediate container 4a24b742cab2 [2021-06-17T18:34:37.010Z] ---> 04ace1f94886 [2021-06-17T18:34:37.010Z] Step 11/24 : ARG MAKE='make build' [2021-06-17T18:34:37.010Z] ---> Running in eabec3adbc9c [2021-06-17T18:34:37.606Z] Removing intermediate container eabec3adbc9c [2021-06-17T18:34:37.606Z] ---> 31731d09a93b [2021-06-17T18:34:37.606Z] Step 12/24 : RUN $MAKE [2021-06-17T18:34:37.606Z] ---> Running in 1023fe5e9805 [2021-06-17T18:34:39.094Z] go mod tidy [2021-06-17T18:34:39.420Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.23" -o cmd/device-mqtt ./cmd [2021-06-17T18:35:18.486Z] Removing intermediate container 1023fe5e9805 [2021-06-17T18:35:18.486Z] ---> f4035535c20d [2021-06-17T18:35:18.486Z] Step 13/24 : FROM alpine:3.12 [2021-06-17T18:35:18.486Z] 3.12: Pulling from library/alpine [2021-06-17T18:35:18.486Z] d2f70382dc9a: Pulling fs layer [2021-06-17T18:35:18.486Z] d2f70382dc9a: Verifying Checksum [2021-06-17T18:35:18.486Z] d2f70382dc9a: Download complete [2021-06-17T18:35:18.486Z] d2f70382dc9a: Pull complete [2021-06-17T18:35:18.486Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-17T18:35:18.486Z] Status: Downloaded newer image for alpine:3.12 [2021-06-17T18:35:18.486Z] ---> c4fd0aeabfcf [2021-06-17T18:35:18.486Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-06-17T18:35:18.486Z] ---> Running in 507599bfde5c [2021-06-17T18:35:18.758Z] Removing intermediate container 507599bfde5c [2021-06-17T18:35:18.758Z] ---> 80e188837d4a [2021-06-17T18:35:18.758Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-17T18:35:18.758Z] ---> Running in beb7f4311904 [2021-06-17T18:35:20.200Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-17T18:35:20.200Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-17T18:35:20.792Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-17T18:35:20.792Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-17T18:35:20.792Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-17T18:35:20.792Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-17T18:35:20.792Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-17T18:35:20.792Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-17T18:35:20.792Z] Executing busybox-1.31.1-r20.trigger [2021-06-17T18:35:20.792Z] OK: 8 MiB in 20 packages [2021-06-17T18:35:21.776Z] Removing intermediate container beb7f4311904 [2021-06-17T18:35:21.776Z] ---> 674c9a8cbfb2 [2021-06-17T18:35:21.776Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2021-06-17T18:35:23.213Z] ---> 26dc82147d24 [2021-06-17T18:35:23.213Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-06-17T18:35:24.201Z] ---> 3dd601a2d8e7 [2021-06-17T18:35:24.201Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-06-17T18:35:24.796Z] ---> 01f908910cda [2021-06-17T18:35:24.796Z] Step 19/24 : EXPOSE 59982 [2021-06-17T18:35:24.796Z] ---> Running in 82e923359e68 [2021-06-17T18:35:25.391Z] Removing intermediate container 82e923359e68 [2021-06-17T18:35:25.391Z] ---> f7bcc9629240 [2021-06-17T18:35:25.391Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2021-06-17T18:35:25.391Z] ---> Running in 8ca22b8f78f9 [2021-06-17T18:35:25.983Z] Removing intermediate container 8ca22b8f78f9 [2021-06-17T18:35:25.983Z] ---> 1e110df84dd8 [2021-06-17T18:35:25.983Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-17T18:35:25.983Z] ---> Running in 1f53b1988f71 [2021-06-17T18:35:26.581Z] Removing intermediate container 1f53b1988f71 [2021-06-17T18:35:26.581Z] ---> 87c38153c1e7 [2021-06-17T18:35:26.581Z] Step 22/24 : LABEL arch=arm64 [2021-06-17T18:35:26.581Z] ---> Running in 763648e05e55 [2021-06-17T18:35:27.182Z] Removing intermediate container 763648e05e55 [2021-06-17T18:35:27.182Z] ---> e93bcc9868a5 [2021-06-17T18:35:27.182Z] Step 23/24 : LABEL git_sha=f18a6a3dbde834181761aee3cd8d7ae44955f149 [2021-06-17T18:35:27.454Z] ---> Running in bbfa41efe5c2 [2021-06-17T18:35:27.726Z] Removing intermediate container bbfa41efe5c2 [2021-06-17T18:35:27.726Z] ---> fa16ffe6925c [2021-06-17T18:35:27.726Z] Step 24/24 : LABEL version=1.3.2-dev.23 [2021-06-17T18:35:28.001Z] ---> Running in cbf48e504c6b [2021-06-17T18:35:28.275Z] Removing intermediate container cbf48e504c6b [2021-06-17T18:35:28.275Z] ---> 391bcf620851 [2021-06-17T18:35:28.275Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-17T18:35:28.275Z] Successfully built 391bcf620851 [2021-06-17T18:35:28.275Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:35:28.947Z] provisioning config files... [2021-06-17T18:35:28.973Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/55@tmp/config3727165420532069974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:35:29.340Z] ---> docker-login.sh [2021-06-17T18:35:29.340Z] nexus3.edgexfoundry.org:10001 [2021-06-17T18:35:29.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:35:29.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:35:29.614Z] Configure a credential helper to remove this warning. See [2021-06-17T18:35:29.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:35:29.614Z] [2021-06-17T18:35:29.614Z] Login Succeeded [2021-06-17T18:35:29.614Z] nexus3.edgexfoundry.org:10002 [2021-06-17T18:35:30.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:35:30.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:35:30.208Z] Configure a credential helper to remove this warning. See [2021-06-17T18:35:30.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:35:30.208Z] [2021-06-17T18:35:30.208Z] Login Succeeded [2021-06-17T18:35:30.208Z] nexus3.edgexfoundry.org:10003 [2021-06-17T18:35:30.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:35:30.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:35:30.755Z] Configure a credential helper to remove this warning. See [2021-06-17T18:35:30.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:35:30.755Z] [2021-06-17T18:35:30.755Z] Login Succeeded [2021-06-17T18:35:30.755Z] nexus3.edgexfoundry.org:10004 [2021-06-17T18:35:31.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:35:31.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:35:31.303Z] Configure a credential helper to remove this warning. See [2021-06-17T18:35:31.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:35:31.303Z] [2021-06-17T18:35:31.303Z] Login Succeeded [2021-06-17T18:35:31.303Z] docker.io [2021-06-17T18:35:31.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:35:31.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:35:31.853Z] Configure a credential helper to remove this warning. See [2021-06-17T18:35:31.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:35:31.853Z] [2021-06-17T18:35:31.853Z] Login Succeeded [2021-06-17T18:35:32.136Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T18:35:32.154Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-17T18:35:32.243Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2021-06-17T18:35:32.243Z] f18a6a3dbde834181761aee3cd8d7ae44955f149 [2021-06-17T18:35:32.243Z] latest [2021-06-17T18:35:32.243Z] 1.3.2-dev.23 [2021-06-17T18:35:32.243Z] f18a6a3dbde834181761aee3cd8d7ae44955f149-1.3.2-dev.23 [2021-06-17T18:35:32.243Z] master [2021-06-17T18:35:32.243Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:35:32.631Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f18a6a3dbde834181761aee3cd8d7ae44955f149 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:35:32.973Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f18a6a3dbde834181761aee3cd8d7ae44955f149 [2021-06-17T18:35:32.973Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-17T18:35:32.973Z] 8fcd53b1eb0f: Preparing [2021-06-17T18:35:32.973Z] bbb4d2fa7e5b: Preparing [2021-06-17T18:35:32.973Z] bdebb13ec599: Preparing [2021-06-17T18:35:32.973Z] 816fba366e8c: Preparing [2021-06-17T18:35:32.973Z] 3fbe34a1663b: Preparing [2021-06-17T18:35:33.245Z] 3fbe34a1663b: Layer already exists [2021-06-17T18:35:33.245Z] bbb4d2fa7e5b: Pushed [2021-06-17T18:35:33.245Z] 8fcd53b1eb0f: Pushed [2021-06-17T18:35:33.838Z] 816fba366e8c: Pushed [2021-06-17T18:35:36.446Z] bdebb13ec599: Pushed [2021-06-17T18:35:36.446Z] f18a6a3dbde834181761aee3cd8d7ae44955f149: digest: sha256:aa9206b5875e76e1db5dfe90a2becfd2d057fa7221d990177085cb26cfccde30 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:35:36.800Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:35:37.140Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-06-17T18:35:37.140Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-17T18:35:37.140Z] 8fcd53b1eb0f: Preparing [2021-06-17T18:35:37.140Z] bbb4d2fa7e5b: Preparing [2021-06-17T18:35:37.140Z] bdebb13ec599: Preparing [2021-06-17T18:35:37.140Z] 816fba366e8c: Preparing [2021-06-17T18:35:37.140Z] 3fbe34a1663b: Preparing [2021-06-17T18:35:37.140Z] bbb4d2fa7e5b: Layer already exists [2021-06-17T18:35:37.140Z] bdebb13ec599: Layer already exists [2021-06-17T18:35:37.140Z] 3fbe34a1663b: Layer already exists [2021-06-17T18:35:37.140Z] 816fba366e8c: Layer already exists [2021-06-17T18:35:37.140Z] 8fcd53b1eb0f: Layer already exists [2021-06-17T18:35:37.422Z] latest: digest: sha256:aa9206b5875e76e1db5dfe90a2becfd2d057fa7221d990177085cb26cfccde30 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:35:37.764Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.23 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:35:38.100Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.23 [2021-06-17T18:35:38.101Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-17T18:35:38.101Z] 8fcd53b1eb0f: Preparing [2021-06-17T18:35:38.101Z] bbb4d2fa7e5b: Preparing [2021-06-17T18:35:38.101Z] bdebb13ec599: Preparing [2021-06-17T18:35:38.101Z] 816fba366e8c: Preparing [2021-06-17T18:35:38.101Z] 3fbe34a1663b: Preparing [2021-06-17T18:35:38.101Z] bdebb13ec599: Layer already exists [2021-06-17T18:35:38.101Z] bbb4d2fa7e5b: Layer already exists [2021-06-17T18:35:38.375Z] 3fbe34a1663b: Layer already exists [2021-06-17T18:35:38.375Z] 816fba366e8c: Layer already exists [2021-06-17T18:35:38.375Z] 8fcd53b1eb0f: Layer already exists [2021-06-17T18:35:38.375Z] 1.3.2-dev.23: digest: sha256:aa9206b5875e76e1db5dfe90a2becfd2d057fa7221d990177085cb26cfccde30 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:35:38.735Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f18a6a3dbde834181761aee3cd8d7ae44955f149-1.3.2-dev.23 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:35:39.084Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f18a6a3dbde834181761aee3cd8d7ae44955f149-1.3.2-dev.23 [2021-06-17T18:35:39.084Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-17T18:35:39.084Z] 8fcd53b1eb0f: Preparing [2021-06-17T18:35:39.084Z] bbb4d2fa7e5b: Preparing [2021-06-17T18:35:39.084Z] bdebb13ec599: Preparing [2021-06-17T18:35:39.084Z] 816fba366e8c: Preparing [2021-06-17T18:35:39.084Z] 3fbe34a1663b: Preparing [2021-06-17T18:35:39.084Z] 816fba366e8c: Layer already exists [2021-06-17T18:35:39.084Z] 8fcd53b1eb0f: Layer already exists [2021-06-17T18:35:39.084Z] 3fbe34a1663b: Layer already exists [2021-06-17T18:35:39.084Z] bdebb13ec599: Layer already exists [2021-06-17T18:35:39.084Z] bbb4d2fa7e5b: Layer already exists [2021-06-17T18:35:39.357Z] f18a6a3dbde834181761aee3cd8d7ae44955f149-1.3.2-dev.23: digest: sha256:aa9206b5875e76e1db5dfe90a2becfd2d057fa7221d990177085cb26cfccde30 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:35:39.703Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:35:40.040Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [2021-06-17T18:35:40.041Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-17T18:35:40.041Z] 8fcd53b1eb0f: Preparing [2021-06-17T18:35:40.041Z] bbb4d2fa7e5b: Preparing [2021-06-17T18:35:40.041Z] bdebb13ec599: Preparing [2021-06-17T18:35:40.041Z] 816fba366e8c: Preparing [2021-06-17T18:35:40.041Z] 3fbe34a1663b: Preparing [2021-06-17T18:35:40.041Z] 8fcd53b1eb0f: Layer already exists [2021-06-17T18:35:40.041Z] 816fba366e8c: Layer already exists [2021-06-17T18:35:40.041Z] bdebb13ec599: Layer already exists [2021-06-17T18:35:40.041Z] 3fbe34a1663b: Layer already exists [2021-06-17T18:35:40.041Z] bbb4d2fa7e5b: Layer already exists [2021-06-17T18:35:40.313Z] master: digest: sha256:aa9206b5875e76e1db5dfe90a2becfd2d057fa7221d990177085cb26cfccde30 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-17T18:35:40.393Z] ===================================================== [Pipeline] echo [2021-06-17T18:35:40.410Z] taggedImages: [2021-06-17T18:35:40.410Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f18a6a3dbde834181761aee3cd8d7ae44955f149 [2021-06-17T18:35:40.410Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-06-17T18:35:40.410Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.23 [2021-06-17T18:35:40.410Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f18a6a3dbde834181761aee3cd8d7ae44955f149-1.3.2-dev.23 [2021-06-17T18:35:40.410Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:35:40.946Z] ---> job-cost.sh [2021-06-17T18:35:40.946Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Svu0 [2021-06-17T18:36:19.924Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-17T18:37:56.694Z] lf-activate-venv(): INFO: Adding /tmp/venv-Svu0/bin to PATH [2021-06-17T18:37:56.694Z] INFO: No Stack... [2021-06-17T18:37:56.694Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-17T18:37:56.694Z] INFO: Archiving Costs [Pipeline] sh [2021-06-17T18:37:57.049Z] + cat /w/workspace/device-mqtt-go/55/archives/cost.csv [2021-06-17T18:37:57.049Z] + cut -d, -f6 [Pipeline] lock [2021-06-17T18:37:57.117Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-55-stack-cost] [2021-06-17T18:37:57.128Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-55-stack-cost] did not exist. Created. [2021-06-17T18:37:57.128Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-17T18:37:57.504Z] /w/workspace/device-mqtt-go/55@tmp/durable-3456e000/script.sh: 1: /w/workspace/device-mqtt-go/55@tmp/durable-3456e000/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-17T18:37:57.849Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-17T18:37:57.871Z] Warning: overwriting stash ‘stack-cost’ [2021-06-17T18:37:58.057Z] Stashed 1 file(s) [Pipeline] } [2021-06-17T18:37:58.080Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-55-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-17T18:37:58.901Z] provisioning config files... [2021-06-17T18:37:58.913Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config4651654640874421102tmp [Pipeline] { [Pipeline] sh [2021-06-17T18:37:59.255Z] + set +x [2021-06-17T18:37:59.255Z] + curl -s https://codecov.io/bash [2021-06-17T18:37:59.255Z] + bash -s -- [2021-06-17T18:37:59.520Z] [2021-06-17T18:37:59.520Z] _____ _ [2021-06-17T18:37:59.520Z] / ____| | | [2021-06-17T18:37:59.520Z] | | ___ __| | ___ ___ _____ __ [2021-06-17T18:37:59.520Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-17T18:37:59.520Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-17T18:37:59.520Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-17T18:37:59.520Z] Bash-1.0.3 [2021-06-17T18:37:59.520Z] [2021-06-17T18:37:59.520Z] [2021-06-17T18:37:59.520Z] ==> git version 2.24.4 found [2021-06-17T18:37:59.520Z] ==> 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-06-17T18:37:59.520Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-17T18:37:59.520Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-17T18:37:59.520Z] ==> Jenkins CI detected. [2021-06-17T18:37:59.520Z] project root: . [2021-06-17T18:37:59.520Z] --> token set from env [2021-06-17T18:37:59.520Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-17T18:37:59.520Z] ==> Running gcov in . (disable via -X gcov) [2021-06-17T18:37:59.520Z] ==> Python coveragepy not found [2021-06-17T18:37:59.520Z] ==> Searching for coverage reports in: [2021-06-17T18:37:59.520Z] + . [2021-06-17T18:37:59.782Z] -> Found 1 reports [2021-06-17T18:37:59.782Z] ==> Detecting git/mercurial file structure [2021-06-17T18:37:59.782Z] ==> Reading reports [2021-06-17T18:37:59.782Z] + ./coverage.out bytes=20788 [2021-06-17T18:37:59.782Z] ==> Appending adjustments [2021-06-17T18:37:59.782Z] https://docs.codecov.io/docs/fixing-reports [2021-06-17T18:37:59.782Z] + Found adjustments [2021-06-17T18:37:59.782Z] ==> Gzipping contents [2021-06-17T18:37:59.782Z] 4.0K /tmp/codecov.9FECLM.gz [2021-06-17T18:37:59.782Z] ==> Uploading reports [2021-06-17T18:37:59.782Z] url: https://codecov.io [2021-06-17T18:37:59.782Z] query: branch=master&commit=f18a6a3dbde834181761aee3cd8d7ae44955f149&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F55%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-17T18:37:59.782Z] -> Pinging Codecov [2021-06-17T18:37:59.782Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=f18a6a3dbde834181761aee3cd8d7ae44955f149&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F55%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-17T18:38:00.359Z] -> Uploading to [2021-06-17T18:38:00.359Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-17/7D719EC7BBE17E464838252E33014C33/f18a6a3dbde834181761aee3cd8d7ae44955f149/d0ce5372-812e-4365-bb13-8630b29ad2df.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210617T183800Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=da9e260e05b3139db73890d2a4411c88ccd2b10301ab0c99399fabb3bf619d9b [2021-06-17T18:38:00.359Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-17T18:38:00.359Z] Dload Upload Total Spent Left Speed [2021-06-17T18:38:00.621Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3543 0 0 100 3543 0 9816 --:--:-- --:--:-- --:--:-- 9814 100 3543 0 0 100 3543 0 9812 --:--:-- --:--:-- --:--:-- 9814 [2021-06-17T18:38:00.621Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/f18a6a3dbde834181761aee3cd8d7ae44955f149 [Pipeline] } [2021-06-17T18:38:00.630Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-06-17T18:38:01.972Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-06-17T18:38:02.007Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:38:02.321Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-17T18:38:02.321Z] [2021-06-17T18:38:02.321Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:38:02.636Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-17T18:38:02.637Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-06-17T18:38:02.637Z] 188c0c94c7c5: Pulling fs layer [2021-06-17T18:38:02.637Z] 0ef7d3d256c8: Pulling fs layer [2021-06-17T18:38:02.637Z] de9db76c5a1d: Pulling fs layer [2021-06-17T18:38:02.637Z] 0eba1c9be4d2: Pulling fs layer [2021-06-17T18:38:02.637Z] 0d57e429df01: Pulling fs layer [2021-06-17T18:38:02.637Z] 4e4be7b47b0d: Pulling fs layer [2021-06-17T18:38:02.637Z] e1f770b5df2f: Pulling fs layer [2021-06-17T18:38:02.637Z] 85a0685a4137: Pulling fs layer [2021-06-17T18:38:02.637Z] 0eba1c9be4d2: Waiting [2021-06-17T18:38:02.637Z] 0d57e429df01: Waiting [2021-06-17T18:38:02.637Z] 4e4be7b47b0d: Waiting [2021-06-17T18:38:02.637Z] e1f770b5df2f: Waiting [2021-06-17T18:38:02.637Z] 85a0685a4137: Waiting [2021-06-17T18:38:02.637Z] de9db76c5a1d: Verifying Checksum [2021-06-17T18:38:02.637Z] de9db76c5a1d: Download complete [2021-06-17T18:38:02.637Z] 0ef7d3d256c8: Verifying Checksum [2021-06-17T18:38:02.637Z] 0ef7d3d256c8: Download complete [2021-06-17T18:38:02.637Z] 0d57e429df01: Verifying Checksum [2021-06-17T18:38:02.637Z] 0d57e429df01: Download complete [2021-06-17T18:38:02.637Z] 188c0c94c7c5: Verifying Checksum [2021-06-17T18:38:02.637Z] 188c0c94c7c5: Download complete [2021-06-17T18:38:02.637Z] 4e4be7b47b0d: Verifying Checksum [2021-06-17T18:38:02.637Z] 4e4be7b47b0d: Download complete [2021-06-17T18:38:02.907Z] 188c0c94c7c5: Pull complete [2021-06-17T18:38:03.169Z] 0ef7d3d256c8: Pull complete [2021-06-17T18:38:03.170Z] de9db76c5a1d: Pull complete [2021-06-17T18:38:05.098Z] e1f770b5df2f: Verifying Checksum [2021-06-17T18:38:05.098Z] e1f770b5df2f: Download complete [2021-06-17T18:38:06.485Z] 0eba1c9be4d2: Verifying Checksum [2021-06-17T18:38:06.485Z] 0eba1c9be4d2: Download complete [2021-06-17T18:38:06.753Z] 85a0685a4137: Verifying Checksum [2021-06-17T18:38:06.753Z] 85a0685a4137: Download complete [2021-06-17T18:38:09.327Z] 0eba1c9be4d2: Pull complete [2021-06-17T18:38:09.598Z] 0d57e429df01: Pull complete [2021-06-17T18:38:09.598Z] 4e4be7b47b0d: Pull complete [2021-06-17T18:38:10.175Z] e1f770b5df2f: Pull complete [2021-06-17T18:38:13.503Z] 85a0685a4137: Pull complete [2021-06-17T18:38:13.503Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-06-17T18:38:13.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-17T18:38:13.503Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-06-17T18:38:13.596Z] prd-centos7-docker-4c-2g-60 does not seem to be running inside a container [2021-06-17T18:38:13.644Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-06-17T18:38:16.748Z] $ docker top 29227fd298b5ade8a95d1764c05432cfc677937fd443660f2df1121312e9ac3b -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-17T18:38:16.863Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-06-17T18:38:17.163Z] + set -o pipefail [2021-06-17T18:38:17.163Z] + snyk monitor '--org=edgex-jenkins' [2021-06-17T18:38:25.351Z] [2021-06-17T18:38:25.351Z] Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... [2021-06-17T18:38:25.351Z] [2021-06-17T18:38:25.351Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/6055315f-0f55-4ad7-b002-06333a0be54f [2021-06-17T18:38:25.351Z] [2021-06-17T18:38:25.351Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-06-17T18:38:25.351Z] [2021-06-17T18:38:25.351Z] [Pipeline] } [2021-06-17T18:38:25.362Z] $ docker stop --time=1 29227fd298b5ade8a95d1764c05432cfc677937fd443660f2df1121312e9ac3b [2021-06-17T18:38:27.214Z] $ docker rm -f 29227fd298b5ade8a95d1764c05432cfc677937fd443660f2df1121312e9ac3b [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-06-17T18:38:28.334Z] + git log --format=format:%s -1 f18a6a3dbde834181761aee3cd8d7ae44955f149 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:38:28.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T18:38:28.643Z] . [Pipeline] withDockerContainer [2021-06-17T18:38:28.719Z] prd-centos7-docker-4c-2g-60 does not seem to be running inside a container [2021-06-17T18:38:28.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-17T18:38:29.102Z] $ docker top 95b69bb5905491c42275c06ac1b9b1b08d8740fa497a1edee513db4e7a6e01a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-17T18:38:29.282Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T18:38:29.282Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T18:38:29.399Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T18:38:29.399Z] $ docker exec 95b69bb5905491c42275c06ac1b9b1b08d8740fa497a1edee513db4e7a6e01a0 ssh-agent [2021-06-17T18:38:29.522Z] SSH_AUTH_SOCK=/tmp/ssh-m7FcT0duD9ji/agent.14 [2021-06-17T18:38:29.522Z] SSH_AGENT_PID=20 [2021-06-17T18:38:29.527Z] Running ssh-add (command line suppressed) [2021-06-17T18:38:29.637Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6621402276815555661.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6621402276815555661.key) [2021-06-17T18:38:29.653Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T18:38:29.979Z] + git semver tag [2021-06-17T18:38:29.979Z] # -> Open(): unable to determine branch for HEAD [2021-06-17T18:38:29.979Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-06-17T18:38:29.979Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-06-17T18:38:29.979Z] # $SEMVER_REMOTE_NAME = origin [2021-06-17T18:38:29.979Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-17T18:38:29.979Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-17T18:38:29.979Z] # $SEMVER_BRANCH = master [2021-06-17T18:38:29.979Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-06-17T18:38:29.979Z] # f18a6a3dbde834181761aee3cd8d7ae44955f149 HEAD [2021-06-17T18:38:29.979Z] # -> Force: false [2021-06-17T18:38:29.979Z] # 93e507c169b1a058932a187c5b3c6b49fb6ca07d refs/tags/v1.3.2-dev.23 [Pipeline] } [2021-06-17T18:38:29.988Z] $ docker exec --env ******** --env ******** 95b69bb5905491c42275c06ac1b9b1b08d8740fa497a1edee513db4e7a6e01a0 ssh-agent -k [2021-06-17T18:38:30.083Z] unset SSH_AUTH_SOCK; [2021-06-17T18:38:30.083Z] unset SSH_AGENT_PID; [2021-06-17T18:38:30.083Z] echo Agent pid 20 killed; [2021-06-17T18:38:30.101Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-17T18:38:30.471Z] + git semver [Pipeline] } [2021-06-17T18:38:30.485Z] $ docker stop --time=1 95b69bb5905491c42275c06ac1b9b1b08d8740fa497a1edee513db4e7a6e01a0 [2021-06-17T18:38:31.743Z] $ docker rm -f 95b69bb5905491c42275c06ac1b9b1b08d8740fa497a1edee513db4e7a6e01a0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:38:32.307Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-17T18:38:32.308Z] [2021-06-17T18:38:32.308Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:38:32.637Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-17T18:38:32.637Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-06-17T18:38:32.637Z] ab5ef0e58194: Pulling fs layer [2021-06-17T18:38:32.637Z] 9712f1f96733: Pulling fs layer [2021-06-17T18:38:32.637Z] 63f879dbbcfc: Pulling fs layer [2021-06-17T18:38:32.637Z] 0d9ebad4ef96: Pulling fs layer [2021-06-17T18:38:32.637Z] e9a5061849ea: Pulling fs layer [2021-06-17T18:38:32.637Z] d747dcd14b5f: Pulling fs layer [2021-06-17T18:38:32.637Z] 2de7ff778b66: Pulling fs layer [2021-06-17T18:38:32.637Z] 0d9ebad4ef96: Waiting [2021-06-17T18:38:32.637Z] e9a5061849ea: Waiting [2021-06-17T18:38:32.637Z] d747dcd14b5f: Waiting [2021-06-17T18:38:32.637Z] 2de7ff778b66: Waiting [2021-06-17T18:38:32.637Z] 9712f1f96733: Verifying Checksum [2021-06-17T18:38:32.637Z] 9712f1f96733: Download complete [2021-06-17T18:38:34.028Z] 63f879dbbcfc: Verifying Checksum [2021-06-17T18:38:34.028Z] 63f879dbbcfc: Download complete [2021-06-17T18:38:34.290Z] e9a5061849ea: Verifying Checksum [2021-06-17T18:38:34.290Z] e9a5061849ea: Download complete [2021-06-17T18:38:34.290Z] d747dcd14b5f: Verifying Checksum [2021-06-17T18:38:34.290Z] d747dcd14b5f: Download complete [2021-06-17T18:38:34.552Z] 2de7ff778b66: Verifying Checksum [2021-06-17T18:38:34.552Z] 2de7ff778b66: Download complete [2021-06-17T18:38:34.813Z] 0d9ebad4ef96: Verifying Checksum [2021-06-17T18:38:34.813Z] 0d9ebad4ef96: Download complete [2021-06-17T18:38:34.813Z] ab5ef0e58194: Verifying Checksum [2021-06-17T18:38:34.813Z] ab5ef0e58194: Download complete [2021-06-17T18:38:37.372Z] ab5ef0e58194: Pull complete [2021-06-17T18:38:37.372Z] 9712f1f96733: Pull complete [2021-06-17T18:38:38.323Z] 63f879dbbcfc: Pull complete [2021-06-17T18:38:41.668Z] 0d9ebad4ef96: Pull complete [2021-06-17T18:38:41.668Z] e9a5061849ea: Pull complete [2021-06-17T18:38:41.668Z] d747dcd14b5f: Pull complete [2021-06-17T18:38:42.615Z] 2de7ff778b66: Pull complete [2021-06-17T18:38:42.615Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-06-17T18:38:42.615Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-17T18:38:42.615Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-06-17T18:38:42.696Z] prd-centos7-docker-4c-2g-60 does not seem to be running inside a container [2021-06-17T18:38:42.735Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-06-17T18:38:46.631Z] $ docker top 154f0ce20f36c25b759d0d2761a86c2a52ee3d18f82b5a9ac9594c6090b266ab -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:38:46.737Z] provisioning config files... [2021-06-17T18:38:46.746Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7553640405769289099tmp [2021-06-17T18:38:46.762Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7886933960239865489tmp [2021-06-17T18:38:46.774Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config6904047688854363054tmp [Pipeline] { [Pipeline] echo [2021-06-17T18:38:46.804Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:38:47.112Z] ---> sigul-configuration.sh [2021-06-17T18:38:47.112Z] gpg: directory `/root/.gnupg' created [2021-06-17T18:38:47.112Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-06-17T18:38:47.112Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-06-17T18:38:47.112Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-06-17T18:38:47.112Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-06-17T18:38:47.112Z] gpg: CAST5 encrypted data [2021-06-17T18:38:47.112Z] gpg: encrypted with 1 passphrase [2021-06-17T18:38:47.112Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-06-17T18:38:47.426Z] + mkdir /home/jenkins [2021-06-17T18:38:47.426Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-06-17T18:38:47.727Z] + 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-06-17T18:38:47.739Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:38:48.050Z] ---> sigul-install.sh [2021-06-17T18:38:52.272Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-06-17T18:38:52.583Z] + git tag --list [2021-06-17T18:38:52.583Z] 0.7.1 [2021-06-17T18:38:52.583Z] v1.0.0 [2021-06-17T18:38:52.583Z] v1.1.0 [2021-06-17T18:38:52.583Z] v1.1.1 [2021-06-17T18:38:52.583Z] v1.2.2 [2021-06-17T18:38:52.583Z] v1.3.0 [2021-06-17T18:38:52.583Z] v1.3.1 [2021-06-17T18:38:52.583Z] v1.3.1-dev.1 [2021-06-17T18:38:52.583Z] v1.3.1-dev.2 [2021-06-17T18:38:52.583Z] v1.3.1-dev.3 [2021-06-17T18:38:52.583Z] v1.3.1-dev.4 [2021-06-17T18:38:52.583Z] v1.3.2-dev.1 [2021-06-17T18:38:52.583Z] v1.3.2-dev.10 [2021-06-17T18:38:52.583Z] v1.3.2-dev.11 [2021-06-17T18:38:52.584Z] v1.3.2-dev.12 [2021-06-17T18:38:52.584Z] v1.3.2-dev.13 [2021-06-17T18:38:52.584Z] v1.3.2-dev.14 [2021-06-17T18:38:52.584Z] v1.3.2-dev.15 [2021-06-17T18:38:52.584Z] v1.3.2-dev.16 [2021-06-17T18:38:52.584Z] v1.3.2-dev.17 [2021-06-17T18:38:52.584Z] v1.3.2-dev.18 [2021-06-17T18:38:52.584Z] v1.3.2-dev.19 [2021-06-17T18:38:52.584Z] v1.3.2-dev.2 [2021-06-17T18:38:52.584Z] v1.3.2-dev.20 [2021-06-17T18:38:52.584Z] v1.3.2-dev.21 [2021-06-17T18:38:52.584Z] v1.3.2-dev.22 [2021-06-17T18:38:52.584Z] v1.3.2-dev.23 [2021-06-17T18:38:52.584Z] v1.3.2-dev.3 [2021-06-17T18:38:52.584Z] v1.3.2-dev.4 [2021-06-17T18:38:52.584Z] v1.3.2-dev.5 [2021-06-17T18:38:52.584Z] v1.3.2-dev.6 [2021-06-17T18:38:52.584Z] v1.3.2-dev.7 [2021-06-17T18:38:52.584Z] v1.3.2-dev.8 [2021-06-17T18:38:52.584Z] v1.3.2-dev.9 [Pipeline] sh [2021-06-17T18:38:52.886Z] + lftools sign git-tag v1.3.2-dev.23 [2021-06-17T18:38:53.461Z] Signing Git tag with Sigul... [2021-06-17T18:38:53.461Z] Signing v1.3.2-dev.23 [Pipeline] echo [2021-06-17T18:38:54.043Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:38:54.349Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-06-17T18:38:54.357Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-06-17T18:38:54.391Z] $ docker stop --time=1 154f0ce20f36c25b759d0d2761a86c2a52ee3d18f82b5a9ac9594c6090b266ab [2021-06-17T18:38:56.163Z] $ docker rm -f 154f0ce20f36c25b759d0d2761a86c2a52ee3d18f82b5a9ac9594c6090b266ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:38:56.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T18:38:56.845Z] . [Pipeline] withDockerContainer [2021-06-17T18:38:56.927Z] prd-centos7-docker-4c-2g-60 does not seem to be running inside a container [2021-06-17T18:38:56.967Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-17T18:38:57.351Z] $ docker top 1105a7b706877d1be37d5f7097761397f9f9d3c8d74cd5d828e8e07f30ec22f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-17T18:38:57.496Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T18:38:57.496Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T18:38:57.599Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T18:38:57.599Z] $ docker exec 1105a7b706877d1be37d5f7097761397f9f9d3c8d74cd5d828e8e07f30ec22f4 ssh-agent [2021-06-17T18:38:57.697Z] SSH_AUTH_SOCK=/tmp/ssh-AgdNXylm1N1b/agent.13 [2021-06-17T18:38:57.697Z] SSH_AGENT_PID=20 [2021-06-17T18:38:57.703Z] Running ssh-add (command line suppressed) [2021-06-17T18:38:57.794Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7614477490630294793.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7614477490630294793.key) [2021-06-17T18:38:57.824Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T18:38:58.128Z] + git semver bump pre [2021-06-17T18:38:58.128Z] # -> Open(): unable to determine branch for HEAD [2021-06-17T18:38:58.128Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-06-17T18:38:58.128Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-06-17T18:38:58.128Z] # $SEMVER_REMOTE_NAME = origin [2021-06-17T18:38:58.128Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-17T18:38:58.128Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-17T18:38:58.128Z] # $SEMVER_BRANCH = master [2021-06-17T18:38:58.128Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-06-17T18:38:58.128Z] 1.3.2-dev.24 [Pipeline] } [2021-06-17T18:38:58.136Z] $ docker exec --env ******** --env ******** 1105a7b706877d1be37d5f7097761397f9f9d3c8d74cd5d828e8e07f30ec22f4 ssh-agent -k [2021-06-17T18:38:58.222Z] unset SSH_AUTH_SOCK; [2021-06-17T18:38:58.223Z] unset SSH_AGENT_PID; [2021-06-17T18:38:58.223Z] echo Agent pid 20 killed; [2021-06-17T18:38:58.238Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-17T18:38:58.582Z] + git semver [Pipeline] } [2021-06-17T18:38:58.864Z] $ docker stop --time=1 1105a7b706877d1be37d5f7097761397f9f9d3c8d74cd5d828e8e07f30ec22f4 [2021-06-17T18:39:00.088Z] $ docker rm -f 1105a7b706877d1be37d5f7097761397f9f9d3c8d74cd5d828e8e07f30ec22f4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:39:00.537Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T18:39:00.538Z] . [Pipeline] withDockerContainer [2021-06-17T18:39:00.613Z] prd-centos7-docker-4c-2g-60 does not seem to be running inside a container [2021-06-17T18:39:00.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-17T18:39:01.000Z] $ docker top f3e1c923290598c619d5b988967ca76f25faf09fb4511d8b84157b4bd91eff55 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-17T18:39:01.138Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T18:39:01.138Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T18:39:01.266Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T18:39:01.266Z] $ docker exec f3e1c923290598c619d5b988967ca76f25faf09fb4511d8b84157b4bd91eff55 ssh-agent [2021-06-17T18:39:01.367Z] SSH_AUTH_SOCK=/tmp/ssh-E7Xek1bkKVMo/agent.14 [2021-06-17T18:39:01.367Z] SSH_AGENT_PID=20 [2021-06-17T18:39:01.372Z] Running ssh-add (command line suppressed) [2021-06-17T18:39:01.460Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7829590506383922255.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7829590506383922255.key) [2021-06-17T18:39:01.479Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T18:39:01.782Z] + git semver push [2021-06-17T18:39:01.782Z] # -> Open(): unable to determine branch for HEAD [2021-06-17T18:39:01.782Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-06-17T18:39:01.782Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-06-17T18:39:01.782Z] # $SEMVER_REMOTE_NAME = origin [2021-06-17T18:39:01.782Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-17T18:39:01.782Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-17T18:39:01.782Z] # $SEMVER_BRANCH = master [2021-06-17T18:39:01.782Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-06-17T18:39:07.083Z] $ docker exec --env ******** --env ******** f3e1c923290598c619d5b988967ca76f25faf09fb4511d8b84157b4bd91eff55 ssh-agent -k [2021-06-17T18:39:07.169Z] unset SSH_AUTH_SOCK; [2021-06-17T18:39:07.169Z] unset SSH_AGENT_PID; [2021-06-17T18:39:07.169Z] echo Agent pid 20 killed; [2021-06-17T18:39:07.184Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-17T18:39:07.515Z] + git semver [Pipeline] } [2021-06-17T18:39:07.529Z] $ docker stop --time=1 f3e1c923290598c619d5b988967ca76f25faf09fb4511d8b84157b4bd91eff55 [2021-06-17T18:39:08.710Z] $ docker rm -f f3e1c923290598c619d5b988967ca76f25faf09fb4511d8b84157b4bd91eff55 [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-06-17T18:39:09.827Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:39:10.398Z] ---> package-listing.sh [2021-06-17T18:39:10.398Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-17T18:39:10.398Z] ++ facter osfamily [2021-06-17T18:39:10.660Z] + OS_FAMILY=redhat [2021-06-17T18:39:10.660Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_master [2021-06-17T18:39:10.660Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-17T18:39:10.660Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-17T18:39:10.660Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-17T18:39:10.660Z] + PACKAGES=/tmp/packages_start.txt [2021-06-17T18:39:10.660Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-06-17T18:39:10.660Z] + PACKAGES=/tmp/packages_end.txt [2021-06-17T18:39:10.660Z] + case "${OS_FAMILY}" in [2021-06-17T18:39:10.660Z] + sort [2021-06-17T18:39:10.660Z] + rpm -qa [2021-06-17T18:39:11.236Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-17T18:39:11.237Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-17T18:39:11.237Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-17T18:39:11.237Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-06-17T18:39:11.237Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [2021-06-17T18:39:11.237Z] + 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-06-17T18:39:11.255Z] 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-06-17T18:39:11.545Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:39:12.117Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-17T18:39:12.117Z] [2021-06-17T18:39:12.117Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:39:12.428Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-17T18:39:12.428Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-17T18:39:12.428Z] df20fa9351a1: Pulling fs layer [2021-06-17T18:39:12.428Z] 36b3adc4ff6f: Pulling fs layer [2021-06-17T18:39:12.428Z] 8ad3a11d3b57: Pulling fs layer [2021-06-17T18:39:12.428Z] 46f8f816bc3b: Pulling fs layer [2021-06-17T18:39:12.428Z] 93b61091891f: Pulling fs layer [2021-06-17T18:39:12.428Z] 93b9cdb0e59b: Pulling fs layer [2021-06-17T18:39:12.428Z] 5e14af77c1be: Pulling fs layer [2021-06-17T18:39:12.428Z] 01666e4c0597: Pulling fs layer [2021-06-17T18:39:12.428Z] aa168da1d23b: Pulling fs layer [2021-06-17T18:39:12.428Z] 93b9cdb0e59b: Waiting [2021-06-17T18:39:12.428Z] 5e14af77c1be: Waiting [2021-06-17T18:39:12.428Z] 01666e4c0597: Waiting [2021-06-17T18:39:12.428Z] aa168da1d23b: Waiting [2021-06-17T18:39:12.428Z] 46f8f816bc3b: Waiting [2021-06-17T18:39:12.428Z] 93b61091891f: Waiting [2021-06-17T18:39:12.428Z] 36b3adc4ff6f: Verifying Checksum [2021-06-17T18:39:12.428Z] 36b3adc4ff6f: Download complete [2021-06-17T18:39:12.428Z] 46f8f816bc3b: Verifying Checksum [2021-06-17T18:39:12.428Z] 46f8f816bc3b: Download complete [2021-06-17T18:39:12.428Z] df20fa9351a1: Verifying Checksum [2021-06-17T18:39:12.428Z] df20fa9351a1: Download complete [2021-06-17T18:39:12.428Z] 93b9cdb0e59b: Verifying Checksum [2021-06-17T18:39:12.428Z] 93b9cdb0e59b: Download complete [2021-06-17T18:39:12.428Z] 93b61091891f: Verifying Checksum [2021-06-17T18:39:12.428Z] 93b61091891f: Download complete [2021-06-17T18:39:12.690Z] 5e14af77c1be: Verifying Checksum [2021-06-17T18:39:12.690Z] 5e14af77c1be: Download complete [2021-06-17T18:39:12.690Z] 01666e4c0597: Verifying Checksum [2021-06-17T18:39:12.690Z] 01666e4c0597: Download complete [2021-06-17T18:39:12.690Z] 8ad3a11d3b57: Verifying Checksum [2021-06-17T18:39:12.690Z] 8ad3a11d3b57: Download complete [2021-06-17T18:39:12.690Z] df20fa9351a1: Pull complete [2021-06-17T18:39:12.690Z] 36b3adc4ff6f: Pull complete [2021-06-17T18:39:13.262Z] 8ad3a11d3b57: Pull complete [2021-06-17T18:39:13.524Z] 46f8f816bc3b: Pull complete [2021-06-17T18:39:13.786Z] 93b61091891f: Pull complete [2021-06-17T18:39:13.786Z] 93b9cdb0e59b: Pull complete [2021-06-17T18:39:13.786Z] 5e14af77c1be: Pull complete [2021-06-17T18:39:14.048Z] 01666e4c0597: Pull complete [2021-06-17T18:39:14.309Z] aa168da1d23b: Download complete [2021-06-17T18:39:18.535Z] aa168da1d23b: Pull complete [2021-06-17T18:39:18.535Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-17T18:39:18.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-17T18:39:18.535Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-17T18:39:18.617Z] prd-centos7-docker-4c-2g-60 does not seem to be running inside a container [2021-06-17T18:39:18.658Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-17T18:39:21.188Z] $ docker top 87fcc1a33916a089388ef0bacedf3ab9996cf459b88303fa241d2a99400aa521 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T18:39:21.613Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-17T18:39:21.926Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-17T18:39:22.241Z] + ls /var/log/sa-host [2021-06-17T18:39:22.241Z] + sadf -c /var/log/sa-host/sa05 [2021-06-17T18:39:22.241Z] file_magic: OK [2021-06-17T18:39:22.241Z] HZ: Using current value: 100 [2021-06-17T18:39:22.241Z] file_header: OK [2021-06-17T18:39:22.241Z] 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-06-17T18:39:22.241Z] Statistics: [2021-06-17T18:39:22.241Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-17T18:39:22.241Z] File successfully converted to sysstat format version 12.2.1 [2021-06-17T18:39:22.241Z] + sadf -c /var/log/sa-host/sa17 [2021-06-17T18:39:22.241Z] file_magic: OK [2021-06-17T18:39:22.241Z] HZ: Using current value: 100 [2021-06-17T18:39:22.241Z] file_header: OK [2021-06-17T18:39:22.241Z] 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-06-17T18:39:22.241Z] Statistics: [2021-06-17T18:39:22.241Z] 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-06-17T18:39:22.241Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:39:22.456Z] provisioning config files... [2021-06-17T18:39:22.469Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config4645900749644822195tmp [Pipeline] { [Pipeline] echo [2021-06-17T18:39:22.542Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:39:22.887Z] ---> create-netrc.sh [Pipeline] } [2021-06-17T18:39:22.897Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:39:23.280Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-17T18:39:23.295Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:39:23.595Z] ---> sudo-logs.sh [2021-06-17T18:39:23.595Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-17T18:39:23.636Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:39:23.937Z] ---> job-cost.sh [2021-06-17T18:39:23.937Z] lf-activate-venv: SKIPPING [2021-06-17T18:39:23.937Z] DEBUG: total: 0.18000000715255737 [2021-06-17T18:39:23.937Z] INFO: Retrieving Stack Cost... [2021-06-17T18:39:24.881Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-17T18:39:25.143Z] INFO: Archiving Costs [Pipeline] echo [2021-06-17T18:39:25.165Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:39:25.465Z] ---> logs-deploy.sh [2021-06-17T18:39:25.465Z] lf-activate-venv: SKIPPING [2021-06-17T18:39:25.465Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/55 [2021-06-17T18:39:25.465Z] INFO: archiving workspace using pattern(s): [2021-06-17T18:39:26.411Z] Archives upload complete. [2021-06-17T18:39:26.411Z] INFO: archiving logs to Nexus