Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b 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-ssh2333566748739297724.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-ssh3853665887925941707.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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-ssh764956839291755342.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > 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-ssh5968783539864401504.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-ssh8288174361708873264.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 ‘prd-centos7-docker-4c-2g-232’ Running on prd-centos7-docker-4c-2g-235 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 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b (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-ssh7285821235706117997.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 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b # timeout=10 Commit message: "fix: Add AuthMode settings so have ability to enable/disable Auth MQTT connections (#269)" > git rev-list --no-walk 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-10T16:17:57.997Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-10T16:17:58.104Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-10T16:17:58.135Z] ========================================================= [2021-06-10T16:17:58.135Z] EdgeX Global Pipelines Version Info [2021-06-10T16:17:58.135Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:17:59.608Z] ------------------- [2021-06-10T16:17:59.608Z] stable info: [2021-06-10T16:17:59.608Z] ------------------- [2021-06-10T16:17:59.608Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-10T16:17:59.608Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-10T16:17:59.608Z] Message: update stable to v1.0.194 [2021-06-10T16:18:00.186Z] ------------------- [2021-06-10T16:18:00.186Z] experimental info: [2021-06-10T16:18:00.186Z] ------------------- [2021-06-10T16:18:00.186Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-10T16:18:00.186Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-10T16:18:00.186Z] Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-10T16:18:00.309Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-06-10T16:18:00.334Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-06-10T16:18:00.358Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-10T16:18:00.383Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-10T16:18:00.408Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-10T16:18:00.433Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-10T16:18:00.457Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-10T16:18:00.481Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-10T16:18:00.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-10T16:18:00.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-10T16:18:00.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-10T16:18:00.583Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-06-10T16:18:00.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-10T16:18:00.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-10T16:18:00.660Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-10T16:18:00.711Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-10T16:18:00.737Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T16:18:00.763Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T16:18:00.788Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-10T16:18:00.866Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-06-10T16:18:00.918Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-10T16:18:00.945Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-10T16:18:00.974Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-10T16:18:01.000Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-10T16:18:01.029Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-10T16:18:01.055Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-10T16:18:01.082Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-06-10T16:18:01.106Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-06-10T16:18:01.132Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-06-10T16:18:01.157Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b [Pipeline] echo [2021-06-10T16:18:01.182Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9a33ad5 [Pipeline] echo [2021-06-10T16:18:01.207Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T16:18:01.281Z] provisioning config files... [2021-06-10T16:18:01.297Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config1090168026516541026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:18:01.666Z] ---> docker-login.sh [2021-06-10T16:18:01.666Z] nexus3.edgexfoundry.org:10001 [2021-06-10T16:18:02.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:18:02.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:18:02.890Z] Configure a credential helper to remove this warning. See [2021-06-10T16:18:02.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:18:02.890Z] [2021-06-10T16:18:02.890Z] Login Succeeded [2021-06-10T16:18:02.890Z] nexus3.edgexfoundry.org:10002 [2021-06-10T16:18:02.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:18:02.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:18:02.890Z] Configure a credential helper to remove this warning. See [2021-06-10T16:18:02.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:18:02.890Z] [2021-06-10T16:18:02.890Z] Login Succeeded [2021-06-10T16:18:02.890Z] nexus3.edgexfoundry.org:10003 [2021-06-10T16:18:03.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:18:03.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:18:03.157Z] Configure a credential helper to remove this warning. See [2021-06-10T16:18:03.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:18:03.157Z] [2021-06-10T16:18:03.157Z] Login Succeeded [2021-06-10T16:18:03.157Z] nexus3.edgexfoundry.org:10004 [2021-06-10T16:18:03.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:18:03.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:18:03.429Z] Configure a credential helper to remove this warning. See [2021-06-10T16:18:03.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:18:03.429Z] [2021-06-10T16:18:03.429Z] Login Succeeded [2021-06-10T16:18:03.429Z] docker.io [2021-06-10T16:18:03.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:18:03.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:18:03.695Z] Configure a credential helper to remove this warning. See [2021-06-10T16:18:03.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:18:03.695Z] [2021-06-10T16:18:03.695Z] Login Succeeded [2021-06-10T16:18:03.695Z] ---> docker-login.sh ends [Pipeline] } [2021-06-10T16:18:03.704Z] 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-10T16:18:04.277Z] + git log --format=format:%s -1 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b [Pipeline] echo [2021-06-10T16:18:04.323Z] GIT_COMMIT: 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b, Commit Message: fix: Add AuthMode settings so have ability to enable/disable Auth MQTT connections (#269) [Pipeline] echo [2021-06-10T16:18:04.337Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:18:04.915Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T16:18:04.915Z] [2021-06-10T16:18:04.915Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:18:05.239Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T16:18:05.239Z] latest: Pulling from edgex-devops/git-semver [2021-06-10T16:18:05.239Z] 31603596830f: Pulling fs layer [2021-06-10T16:18:05.239Z] 54011a49482f: Pulling fs layer [2021-06-10T16:18:05.239Z] a6820b24f6d8: Pulling fs layer [2021-06-10T16:18:05.239Z] f581987b2513: Pulling fs layer [2021-06-10T16:18:05.239Z] f581987b2513: Waiting [2021-06-10T16:18:05.509Z] 54011a49482f: Verifying Checksum [2021-06-10T16:18:05.509Z] 54011a49482f: Download complete [2021-06-10T16:18:05.509Z] 31603596830f: Verifying Checksum [2021-06-10T16:18:05.509Z] 31603596830f: Download complete [2021-06-10T16:18:05.785Z] a6820b24f6d8: Verifying Checksum [2021-06-10T16:18:05.785Z] a6820b24f6d8: Download complete [2021-06-10T16:18:05.785Z] f581987b2513: Verifying Checksum [2021-06-10T16:18:05.785Z] f581987b2513: Download complete [2021-06-10T16:18:05.785Z] 31603596830f: Pull complete [2021-06-10T16:18:05.785Z] 54011a49482f: Pull complete [2021-06-10T16:18:06.744Z] a6820b24f6d8: Pull complete [2021-06-10T16:18:06.744Z] f581987b2513: Pull complete [2021-06-10T16:18:06.744Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-10T16:18:06.744Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T16:18:06.744Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-10T16:18:06.846Z] prd-centos7-docker-4c-2g-235 does not seem to be running inside a container [2021-06-10T16:18:06.907Z] $ 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-10T16:18:08.323Z] $ docker top 0d889f3611955ad31d8b33663b99105695c323e9020892824230a22e4ccda3d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-10T16:18:08.477Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-10T16:18:08.477Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-10T16:18:08.611Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-10T16:18:08.610Z] $ docker exec 0d889f3611955ad31d8b33663b99105695c323e9020892824230a22e4ccda3d4 ssh-agent [2021-06-10T16:18:08.743Z] SSH_AUTH_SOCK=/tmp/ssh-kFLotFNEYeBm/agent.14 [2021-06-10T16:18:08.743Z] SSH_AGENT_PID=21 [2021-06-10T16:18:08.753Z] Running ssh-add (command line suppressed) [2021-06-10T16:18:08.865Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_308801141139400172.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_308801141139400172.key) [2021-06-10T16:18:08.891Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-10T16:18:09.198Z] + git tag --points-at HEAD [Pipeline] } [2021-06-10T16:18:09.210Z] $ docker exec --env ******** --env ******** 0d889f3611955ad31d8b33663b99105695c323e9020892824230a22e4ccda3d4 ssh-agent -k [2021-06-10T16:18:09.324Z] unset SSH_AUTH_SOCK; [2021-06-10T16:18:09.324Z] unset SSH_AGENT_PID; [2021-06-10T16:18:09.325Z] echo Agent pid 21 killed; [2021-06-10T16:18:09.347Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-10T16:18:09.390Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-10T16:18:09.390Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-10T16:18:09.518Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-10T16:18:09.517Z] $ docker exec 0d889f3611955ad31d8b33663b99105695c323e9020892824230a22e4ccda3d4 ssh-agent [2021-06-10T16:18:09.643Z] SSH_AUTH_SOCK=/tmp/ssh-P349FoP6qv1G/agent.55 [2021-06-10T16:18:09.643Z] SSH_AGENT_PID=61 [2021-06-10T16:18:09.649Z] Running ssh-add (command line suppressed) [2021-06-10T16:18:09.759Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8785941412365467469.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8785941412365467469.key) [2021-06-10T16:18:09.782Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-10T16:18:10.091Z] + git semver init [2021-06-10T16:18:10.091Z] # -> Open(): unable to determine branch for HEAD [2021-06-10T16:18:10.091Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-06-10T16:18:10.091Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-06-10T16:18:10.091Z] # $SEMVER_REMOTE_NAME = origin [2021-06-10T16:18:10.091Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-10T16:18:10.091Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-10T16:18:10.091Z] # $SEMVER_BRANCH = master [2021-06-10T16:18:10.091Z] # $SEMVER_TEMP = /tmp/semver-404754001 [2021-06-10T16:18:10.091Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-06-10T16:18:10.664Z] # '/tmp/semver-404754001' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' [2021-06-10T16:18:10.664Z] # -> Force: false [2021-06-10T16:18:10.664Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-06-10T16:18:10.673Z] $ docker exec --env ******** --env ******** 0d889f3611955ad31d8b33663b99105695c323e9020892824230a22e4ccda3d4 ssh-agent -k [2021-06-10T16:18:10.793Z] unset SSH_AUTH_SOCK; [2021-06-10T16:18:10.793Z] unset SSH_AGENT_PID; [2021-06-10T16:18:10.793Z] echo Agent pid 61 killed; [2021-06-10T16:18:10.806Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-10T16:18:11.161Z] + git semver [Pipeline] } [2021-06-10T16:18:11.172Z] $ docker stop --time=1 0d889f3611955ad31d8b33663b99105695c323e9020892824230a22e4ccda3d4 [2021-06-10T16:18:12.442Z] $ docker rm -f 0d889f3611955ad31d8b33663b99105695c323e9020892824230a22e4ccda3d4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-10T16:18:12.840Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-10T16:18:13.105Z] Stashed 1 file(s) [Pipeline] echo [2021-06-10T16:18:13.109Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.20 [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-10T16:18:28.370Z] Still waiting to schedule task [2021-06-10T16:18:28.371Z] ‘prd-centos7-builder-2c-1g-144’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-10T16:18:28.371Z] ‘prd-centos7-docker-4c-2g-237’ is offline [2021-06-10T16:18:28.373Z] Still waiting to schedule task [2021-06-10T16:18:28.373Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-233’ [2021-06-10T16:18:45.330Z] Running on prd-centos7-docker-4c-2g-237 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-06-10T16:18:45.350Z] Running in /w/workspace/device-mqtt-go/52 [Pipeline] { [Pipeline] checkout [2021-06-10T16:18:45.492Z] Selected Git installation does not exist. Using Default [2021-06-10T16:18:45.492Z] The recommended git tool is: NONE [2021-06-10T16:18:47.822Z] using credential edgex-jenkins-ssh [2021-06-10T16:18:47.834Z] Cloning the remote Git repository [2021-06-10T16:18:47.543Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-06-10T16:18:48.542Z] Avoid second fetch [2021-06-10T16:18:48.543Z] Checking out Revision 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b (master) [2021-06-10T16:18:47.611Z] > git init /w/workspace/device-mqtt-go/52 # timeout=10 [2021-06-10T16:18:47.639Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-06-10T16:18:47.639Z] > git --version # timeout=10 [2021-06-10T16:18:47.656Z] > git --version # 'git version 2.24.4' [2021-06-10T16:18:47.656Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T16:18:47.682Z] [INFO] Currently running in a labeled security context [2021-06-10T16:18:47.682Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-10T16:18:47.682Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/52@tmp/jenkins-gitclient-ssh6063492900996838536.key [2021-06-10T16:18:47.710Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T16:18:48.266Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-06-10T16:18:48.277Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T16:18:48.297Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T16:18:48.303Z] > git checkout -f 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b # timeout=10 [2021-06-10T16:18:51.919Z] Commit message: "fix: Add AuthMode settings so have ability to enable/disable Auth MQTT connections (#269)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-10T16:18:52.750Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-10T16:18:53.083Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-10T16:18:53.386Z] + sudo service docker restart [2021-06-10T16:18:53.386Z] + true [2021-06-10T16:18:53.386Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T16:19:11.548Z] provisioning config files... [2021-06-10T16:19:11.562Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/52@tmp/config2696671855997900860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:19:11.915Z] ---> docker-login.sh [2021-06-10T16:19:11.915Z] nexus3.edgexfoundry.org:10001 [2021-06-10T16:19:12.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:19:12.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:19:12.178Z] Configure a credential helper to remove this warning. See [2021-06-10T16:19:12.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:19:12.178Z] [2021-06-10T16:19:12.178Z] Login Succeeded [2021-06-10T16:19:12.178Z] nexus3.edgexfoundry.org:10002 [2021-06-10T16:19:12.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:19:12.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:19:12.178Z] Configure a credential helper to remove this warning. See [2021-06-10T16:19:12.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:19:12.178Z] [2021-06-10T16:19:12.178Z] Login Succeeded [2021-06-10T16:19:12.178Z] nexus3.edgexfoundry.org:10003 [2021-06-10T16:19:12.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:19:12.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:19:12.441Z] Configure a credential helper to remove this warning. See [2021-06-10T16:19:12.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:19:12.441Z] [2021-06-10T16:19:12.441Z] Login Succeeded [2021-06-10T16:19:12.441Z] nexus3.edgexfoundry.org:10004 [2021-06-10T16:19:12.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:19:12.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:19:12.441Z] Configure a credential helper to remove this warning. See [2021-06-10T16:19:12.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:19:12.441Z] [2021-06-10T16:19:12.441Z] Login Succeeded [2021-06-10T16:19:12.441Z] docker.io [2021-06-10T16:19:12.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:19:12.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:19:12.965Z] Configure a credential helper to remove this warning. See [2021-06-10T16:19:12.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:19:12.965Z] [2021-06-10T16:19:12.965Z] Login Succeeded [2021-06-10T16:19:12.965Z] ---> docker-login.sh ends [Pipeline] } [2021-06-10T16:19:12.974Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-10T16:19:13.136Z] ========================================================= [2021-06-10T16:19:13.136Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-10T16:19:13.136Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:19:13.443Z] + 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-10T16:19:13.444Z] Sending build context to Docker daemon 595.5kB [2021-06-10T16:19:13.444Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-10T16:19:13.444Z] Step 2/8 : FROM ${BASE} [2021-06-10T16:19:13.444Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-10T16:19:13.444Z] 540db60ca938: Pulling fs layer [2021-06-10T16:19:13.444Z] adcc1eea9eea: Pulling fs layer [2021-06-10T16:19:13.444Z] 4c4ab2625f07: Pulling fs layer [2021-06-10T16:19:13.444Z] 0510c868ecb4: Pulling fs layer [2021-06-10T16:19:13.444Z] afea3b2eda06: Pulling fs layer [2021-06-10T16:19:13.444Z] 7809a108b3ef: Pulling fs layer [2021-06-10T16:19:13.444Z] f706445af74f: Pulling fs layer [2021-06-10T16:19:13.444Z] 0510c868ecb4: Waiting [2021-06-10T16:19:13.444Z] afea3b2eda06: Waiting [2021-06-10T16:19:13.444Z] 7809a108b3ef: Waiting [2021-06-10T16:19:13.444Z] f706445af74f: Waiting [2021-06-10T16:19:13.706Z] 4c4ab2625f07: Download complete [2021-06-10T16:19:13.706Z] adcc1eea9eea: Verifying Checksum [2021-06-10T16:19:13.706Z] adcc1eea9eea: Download complete [2021-06-10T16:19:13.706Z] afea3b2eda06: Verifying Checksum [2021-06-10T16:19:13.706Z] afea3b2eda06: Download complete [2021-06-10T16:19:13.706Z] 7809a108b3ef: Verifying Checksum [2021-06-10T16:19:13.706Z] 7809a108b3ef: Download complete [2021-06-10T16:19:13.706Z] 540db60ca938: Verifying Checksum [2021-06-10T16:19:13.706Z] 540db60ca938: Download complete [2021-06-10T16:19:13.970Z] 540db60ca938: Pull complete [2021-06-10T16:19:13.970Z] adcc1eea9eea: Pull complete [2021-06-10T16:19:14.232Z] 4c4ab2625f07: Pull complete [2021-06-10T16:19:15.627Z] f706445af74f: Verifying Checksum [2021-06-10T16:19:15.627Z] f706445af74f: Download complete [2021-06-10T16:19:16.205Z] 0510c868ecb4: Verifying Checksum [2021-06-10T16:19:16.205Z] 0510c868ecb4: Download complete [2021-06-10T16:19:19.547Z] 0510c868ecb4: Pull complete [2021-06-10T16:19:19.547Z] afea3b2eda06: Pull complete [2021-06-10T16:19:19.547Z] 7809a108b3ef: Pull complete [2021-06-10T16:19:20.953Z] f706445af74f: Pull complete [2021-06-10T16:19:20.953Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-10T16:19:20.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-10T16:19:20.953Z] ---> b068be0155e3 [2021-06-10T16:19:20.953Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-10T16:19:25.162Z] ---> Running in 24b215331fe4 [2021-06-10T16:19:25.424Z] Removing intermediate container 24b215331fe4 [2021-06-10T16:19:25.424Z] ---> 9feba6eae1b0 [2021-06-10T16:19:25.424Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T16:19:25.424Z] ---> Running in f3cf445d7385 [2021-06-10T16:19:26.016Z] Removing intermediate container f3cf445d7385 [2021-06-10T16:19:26.016Z] ---> d3f35b4b57b8 [2021-06-10T16:19:26.016Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-10T16:19:26.016Z] ---> Running in 4896ddd2a744 [2021-06-10T16:19:26.283Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-10T16:19:27.224Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-10T16:19:27.796Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-10T16:19:27.796Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-10T16:19:28.057Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-10T16:19:28.057Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-10T16:19:28.057Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-10T16:19:28.319Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-10T16:19:28.319Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-10T16:19:28.580Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-10T16:19:28.841Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-10T16:19:28.841Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-10T16:19:28.841Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-10T16:19:29.104Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-10T16:19:29.104Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-10T16:19:29.104Z] Executing busybox-1.32.1-r6.trigger [2021-06-10T16:19:29.104Z] OK: 156 MiB in 53 packages [2021-06-10T16:19:29.677Z] Removing intermediate container 4896ddd2a744 [2021-06-10T16:19:29.677Z] ---> 4a80ea543526 [2021-06-10T16:19:29.677Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-06-10T16:19:29.677Z] ---> Running in 6e1ed91a7573 [2021-06-10T16:19:29.939Z] Removing intermediate container 6e1ed91a7573 [2021-06-10T16:19:29.939Z] ---> 1f7f81589ddf [2021-06-10T16:19:29.939Z] Step 7/8 : COPY . . [2021-06-10T16:19:29.939Z] ---> 55f4a75304bd [2021-06-10T16:19:29.939Z] Step 8/8 : RUN go mod download [2021-06-10T16:19:30.207Z] ---> Running in fdb8df86faa4 [2021-06-10T16:19:42.462Z] Removing intermediate container fdb8df86faa4 [2021-06-10T16:19:42.462Z] ---> 3662968942d8 [2021-06-10T16:19:42.462Z] Successfully built 3662968942d8 [2021-06-10T16:19:42.462Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:19:42.775Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-10T16:19:42.775Z] . [Pipeline] withDockerContainer [2021-06-10T16:19:42.871Z] prd-centos7-docker-4c-2g-237 does not seem to be running inside a container [2021-06-10T16:19:42.916Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/52 -v /w/workspace/device-mqtt-go/52:/w/workspace/device-mqtt-go/52:rw,z -v /w/workspace/device-mqtt-go/52@tmp:/w/workspace/device-mqtt-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-10T16:19:43.265Z] $ docker top 389473046cdae98f1e4bdc008120566e6b0e3b03fe825661ce7df35dc86cc68a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T16:19:43.653Z] + go version [2021-06-10T16:19:43.653Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-10T16:19:43.663Z] $ docker stop --time=1 389473046cdae98f1e4bdc008120566e6b0e3b03fe825661ce7df35dc86cc68a [2021-06-10T16:19:44.850Z] $ docker rm -f 389473046cdae98f1e4bdc008120566e6b0e3b03fe825661ce7df35dc86cc68a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:19:45.429Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-10T16:19:45.429Z] . [Pipeline] withDockerContainer [2021-06-10T16:19:45.506Z] prd-centos7-docker-4c-2g-237 does not seem to be running inside a container [2021-06-10T16:19:45.542Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/52 -v /w/workspace/device-mqtt-go/52:/w/workspace/device-mqtt-go/52:rw,z -v /w/workspace/device-mqtt-go/52@tmp:/w/workspace/device-mqtt-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-10T16:19:45.907Z] $ docker top f68f00fc5767264240e250ce667c952b6b0cd8b19a5806e833dce6dc81f98f41 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T16:19:46.283Z] + go mod tidy [Pipeline] sh [2021-06-10T16:19:46.845Z] + make test [2021-06-10T16:19:46.846Z] go mod tidy [2021-06-10T16:19:46.846Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-10T16:19:47.426Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-06-10T16:20:02.480Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-06-10T16:20:03.886Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 22.6% of statements [2021-06-10T16:20:03.886Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-06-10T16:20:03.886Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-10T16:20:10.543Z] gofmt -l . [2021-06-10T16:20:10.543Z] ["`gofmt -l .`" = ""] [2021-06-10T16:20:10.543Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-10T16:20:10.823Z] $ docker stop --time=1 f68f00fc5767264240e250ce667c952b6b0cd8b19a5806e833dce6dc81f98f41 [2021-06-10T16:20:12.364Z] $ docker rm -f f68f00fc5767264240e250ce667c952b6b0cd8b19a5806e833dce6dc81f98f41 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-10T16:20:12.780Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-10T16:20:12.948Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-10T16:20:14.134Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-10T16:20:14.455Z] + ls -al . [2021-06-10T16:20:14.455Z] total 108 [2021-06-10T16:20:14.455Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jun 10 16:20 . [2021-06-10T16:20:14.455Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 10 16:18 .. [2021-06-10T16:20:14.455Z] -rw-rw-r--. 1 jenkins jenkins 7100 Jun 10 16:18 Attribution.txt [2021-06-10T16:20:14.455Z] drwxrwxr-x. 2 jenkins jenkins 60 Jun 10 16:18 bin [2021-06-10T16:20:14.455Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 10 16:18 cmd [2021-06-10T16:20:14.455Z] -rw-r--r--. 1 jenkins jenkins 19967 Jun 10 16:20 coverage.out [2021-06-10T16:20:14.455Z] -rw-rw-r--. 1 jenkins jenkins 1877 Jun 10 16:18 Dockerfile [2021-06-10T16:20:14.455Z] -rw-rw-r--. 1 jenkins jenkins 994 Jun 10 16:18 Dockerfile.build [2021-06-10T16:20:14.455Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 10 16:18 .dockerignore [2021-06-10T16:20:14.455Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 10 16:18 .git [2021-06-10T16:20:14.455Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 10 16:18 .github [2021-06-10T16:20:14.455Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 10 16:18 .gitignore [2021-06-10T16:20:14.455Z] -rw-rw-r--. 1 jenkins jenkins 409 Jun 10 16:18 go.mod [2021-06-10T16:20:14.455Z] -rw-r--r--. 1 jenkins jenkins 20960 Jun 10 16:19 go.sum [2021-06-10T16:20:14.455Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 10 16:18 internal [2021-06-10T16:20:14.455Z] -rw-rw-r--. 1 jenkins jenkins 677 Jun 10 16:18 Jenkinsfile [2021-06-10T16:20:14.455Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 10 16:18 LICENSE [2021-06-10T16:20:14.455Z] -rw-rw-r--. 1 jenkins jenkins 907 Jun 10 16:18 Makefile [2021-06-10T16:20:14.455Z] drwxrwxr-x. 2 jenkins jenkins 23 Jun 10 16:18 mock [2021-06-10T16:20:14.455Z] -rw-rw-r--. 1 jenkins jenkins 2217 Jun 10 16:18 README.md [2021-06-10T16:20:14.455Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 10 16:18 snap [2021-06-10T16:20:14.455Z] -rw-rw-r--. 1 jenkins jenkins 12 Jun 10 16:18 VERSION [2021-06-10T16:20:14.455Z] -rw-rw-r--. 1 jenkins jenkins 227 Jun 10 16:18 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:20:14.757Z] + 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=9a33ad598db671ad3c0e320f1f5a4ec002be7f7b --label arch=amd64 --label version=1.3.2-dev.20 . [2021-06-10T16:20:14.757Z] Sending build context to Docker daemon 615.9kB [2021-06-10T16:20:14.757Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-10T16:20:14.757Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-10T16:20:14.757Z] ---> 3662968942d8 [2021-06-10T16:20:14.757Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-10T16:20:14.757Z] ---> Running in c6e3bfcabf92 [2021-06-10T16:20:14.757Z] Removing intermediate container c6e3bfcabf92 [2021-06-10T16:20:14.757Z] ---> 0634eab72cb5 [2021-06-10T16:20:14.757Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-10T16:20:14.757Z] ---> Running in a41bb1400520 [2021-06-10T16:20:15.025Z] Removing intermediate container a41bb1400520 [2021-06-10T16:20:15.025Z] ---> e81882a4634f [2021-06-10T16:20:15.025Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T16:20:15.025Z] ---> Running in 60b4d27e237d [2021-06-10T16:20:15.596Z] Removing intermediate container 60b4d27e237d [2021-06-10T16:20:15.596Z] ---> ad41b9a7cd91 [2021-06-10T16:20:15.596Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-10T16:20:15.596Z] ---> Running in ee4b9c3f0ffc [2021-06-10T16:20:15.596Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-10T16:20:16.538Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-10T16:20:17.112Z] OK: 156 MiB in 53 packages [2021-06-10T16:20:17.112Z] Removing intermediate container ee4b9c3f0ffc [2021-06-10T16:20:17.112Z] ---> ea33e0e7c70e [2021-06-10T16:20:17.112Z] Step 7/24 : WORKDIR /device-mqtt-go [2021-06-10T16:20:17.372Z] ---> Running in e9144829ecd4 [2021-06-10T16:20:17.372Z] Removing intermediate container e9144829ecd4 [2021-06-10T16:20:17.372Z] ---> 6ed4e8bda6e5 [2021-06-10T16:20:17.372Z] Step 8/24 : COPY . . [2021-06-10T16:20:17.632Z] ---> 6c90aa54485e [2021-06-10T16:20:17.632Z] Step 9/24 : RUN go mod tidy [2021-06-10T16:20:17.632Z] ---> Running in e4eff873e8fe [2021-06-10T16:20:18.206Z] Removing intermediate container e4eff873e8fe [2021-06-10T16:20:18.206Z] ---> 30f93d408bab [2021-06-10T16:20:18.206Z] Step 10/24 : RUN go mod download [2021-06-10T16:20:18.206Z] ---> Running in 0a46636489f8 [2021-06-10T16:20:18.787Z] Removing intermediate container 0a46636489f8 [2021-06-10T16:20:18.787Z] ---> 57a94d566158 [2021-06-10T16:20:18.787Z] Step 11/24 : ARG MAKE='make build' [2021-06-10T16:20:18.787Z] ---> Running in e5282c5a6bbf [2021-06-10T16:20:18.787Z] Removing intermediate container e5282c5a6bbf [2021-06-10T16:20:18.787Z] ---> b5929fca291f [2021-06-10T16:20:18.787Z] Step 12/24 : RUN $MAKE [2021-06-10T16:20:18.787Z] ---> Running in dd73e9f81550 [2021-06-10T16:20:19.055Z] go mod tidy [2021-06-10T16:20:19.320Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.20" -o cmd/device-mqtt ./cmd [2021-06-10T16:20:31.625Z] Removing intermediate container dd73e9f81550 [2021-06-10T16:20:31.625Z] ---> 1e6c68f591b8 [2021-06-10T16:20:31.625Z] Step 13/24 : FROM alpine:3.12 [2021-06-10T16:20:31.625Z] 3.12: Pulling from library/alpine [2021-06-10T16:20:31.625Z] 339de151aab4: Pulling fs layer [2021-06-10T16:20:31.625Z] 339de151aab4: Verifying Checksum [2021-06-10T16:20:31.625Z] 339de151aab4: Download complete [2021-06-10T16:20:31.625Z] 339de151aab4: Pull complete [2021-06-10T16:20:31.625Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-10T16:20:31.625Z] Status: Downloaded newer image for alpine:3.12 [2021-06-10T16:20:31.625Z] ---> 13621d1b12d4 [2021-06-10T16:20:31.625Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-06-10T16:20:31.625Z] ---> Running in 3ce21c826bca [2021-06-10T16:20:31.885Z] Removing intermediate container 3ce21c826bca [2021-06-10T16:20:31.885Z] ---> dcba0cf54d88 [2021-06-10T16:20:31.885Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-10T16:20:31.885Z] ---> Running in bb7bd716c431 [2021-06-10T16:20:32.151Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-10T16:20:32.151Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-10T16:20:32.151Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-10T16:20:32.151Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-10T16:20:32.151Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-10T16:20:32.151Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-10T16:20:32.151Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-10T16:20:32.151Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-10T16:20:32.151Z] Executing busybox-1.31.1-r20.trigger [2021-06-10T16:20:32.151Z] OK: 8 MiB in 20 packages [2021-06-10T16:20:32.415Z] Removing intermediate container bb7bd716c431 [2021-06-10T16:20:32.415Z] ---> fe5579ff65d4 [2021-06-10T16:20:32.415Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2021-06-10T16:20:32.993Z] ---> e72e53b4b614 [2021-06-10T16:20:32.993Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-06-10T16:20:32.993Z] ---> 6f2f32b95711 [2021-06-10T16:20:32.993Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-06-10T16:20:33.256Z] ---> 5064112fd357 [2021-06-10T16:20:33.256Z] Step 19/24 : EXPOSE 59982 [2021-06-10T16:20:33.256Z] ---> Running in b59547a8307c [2021-06-10T16:20:33.256Z] Removing intermediate container b59547a8307c [2021-06-10T16:20:33.256Z] ---> 62c4ebede37a [2021-06-10T16:20:33.256Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2021-06-10T16:20:33.256Z] ---> Running in c031dc813773 [2021-06-10T16:20:33.518Z] Removing intermediate container c031dc813773 [2021-06-10T16:20:33.518Z] ---> 4bc7bc903213 [2021-06-10T16:20:33.518Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-10T16:20:33.518Z] ---> Running in 07ff7dc2fe04 [2021-06-10T16:20:33.518Z] Removing intermediate container 07ff7dc2fe04 [2021-06-10T16:20:33.518Z] ---> 653f9af52362 [2021-06-10T16:20:33.518Z] Step 22/24 : LABEL arch=amd64 [2021-06-10T16:20:33.518Z] ---> Running in c184040115ff [2021-06-10T16:20:33.518Z] Removing intermediate container c184040115ff [2021-06-10T16:20:33.518Z] ---> c30f68b7c540 [2021-06-10T16:20:33.518Z] Step 23/24 : LABEL git_sha=9a33ad598db671ad3c0e320f1f5a4ec002be7f7b [2021-06-10T16:20:33.780Z] ---> Running in 558e48b4a500 [2021-06-10T16:20:33.780Z] Removing intermediate container 558e48b4a500 [2021-06-10T16:20:33.780Z] ---> 32cfa5e59642 [2021-06-10T16:20:33.780Z] Step 24/24 : LABEL version=1.3.2-dev.20 [2021-06-10T16:20:33.780Z] ---> Running in a292b22245e2 [2021-06-10T16:20:33.780Z] Removing intermediate container a292b22245e2 [2021-06-10T16:20:33.780Z] ---> 0cd7af736f48 [2021-06-10T16:20:33.780Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-10T16:20:33.780Z] Successfully built 0cd7af736f48 [2021-06-10T16:20:33.780Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T16:20:34.068Z] provisioning config files... [2021-06-10T16:20:34.085Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/52@tmp/config1720489341455936569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:20:34.407Z] ---> docker-login.sh [2021-06-10T16:20:34.407Z] nexus3.edgexfoundry.org:10001 [2021-06-10T16:20:34.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:20:34.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:20:34.407Z] Configure a credential helper to remove this warning. See [2021-06-10T16:20:34.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:20:34.407Z] [2021-06-10T16:20:34.407Z] Login Succeeded [2021-06-10T16:20:34.407Z] nexus3.edgexfoundry.org:10002 [2021-06-10T16:20:34.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:20:34.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:20:34.671Z] Configure a credential helper to remove this warning. See [2021-06-10T16:20:34.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:20:34.671Z] [2021-06-10T16:20:34.671Z] Login Succeeded [2021-06-10T16:20:34.671Z] nexus3.edgexfoundry.org:10003 [2021-06-10T16:20:34.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:20:34.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:20:34.671Z] Configure a credential helper to remove this warning. See [2021-06-10T16:20:34.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:20:34.671Z] [2021-06-10T16:20:34.671Z] Login Succeeded [2021-06-10T16:20:34.671Z] nexus3.edgexfoundry.org:10004 [2021-06-10T16:20:34.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:20:34.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:20:34.936Z] Configure a credential helper to remove this warning. See [2021-06-10T16:20:34.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:20:34.936Z] [2021-06-10T16:20:34.936Z] Login Succeeded [2021-06-10T16:20:34.936Z] docker.io [2021-06-10T16:20:34.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:20:35.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:20:35.197Z] Configure a credential helper to remove this warning. See [2021-06-10T16:20:35.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:20:35.197Z] [2021-06-10T16:20:35.197Z] Login Succeeded [2021-06-10T16:20:35.197Z] ---> docker-login.sh ends [Pipeline] } [2021-06-10T16:20:35.206Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-10T16:20:35.276Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2021-06-10T16:20:35.276Z] 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b [2021-06-10T16:20:35.276Z] latest [2021-06-10T16:20:35.276Z] 1.3.2-dev.20 [2021-06-10T16:20:35.276Z] 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b-1.3.2-dev.20 [2021-06-10T16:20:35.276Z] master [2021-06-10T16:20:35.276Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:20:35.638Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:20:35.941Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b [2021-06-10T16:20:35.941Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-10T16:20:35.941Z] ec93592f797a: Preparing [2021-06-10T16:20:35.941Z] 0ec962e41afe: Preparing [2021-06-10T16:20:35.941Z] 48f39c0099df: Preparing [2021-06-10T16:20:35.941Z] 6c6e021b5b6e: Preparing [2021-06-10T16:20:35.941Z] 32f366d666a5: Preparing [2021-06-10T16:20:35.941Z] 32f366d666a5: Layer already exists [2021-06-10T16:20:36.956Z] 0ec962e41afe: Pushed [2021-06-10T16:20:36.956Z] 6c6e021b5b6e: Pushed [2021-06-10T16:20:36.956Z] ec93592f797a: Pushed [2021-06-10T16:20:37.530Z] 48f39c0099df: Pushed [2021-06-10T16:20:37.530Z] 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b: digest: sha256:5955cc789b4f0b4ea5e7de170346a6e6f47ffc202091af91a77fbddbe5e0f37b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:20:37.835Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:20:38.140Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-06-10T16:20:38.140Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-10T16:20:38.140Z] ec93592f797a: Preparing [2021-06-10T16:20:38.140Z] 0ec962e41afe: Preparing [2021-06-10T16:20:38.140Z] 48f39c0099df: Preparing [2021-06-10T16:20:38.140Z] 6c6e021b5b6e: Preparing [2021-06-10T16:20:38.140Z] 32f366d666a5: Preparing [2021-06-10T16:20:38.140Z] 48f39c0099df: Layer already exists [2021-06-10T16:20:38.140Z] ec93592f797a: Layer already exists [2021-06-10T16:20:38.140Z] 32f366d666a5: Layer already exists [2021-06-10T16:20:38.140Z] 0ec962e41afe: Layer already exists [2021-06-10T16:20:38.140Z] 6c6e021b5b6e: Layer already exists [2021-06-10T16:20:38.140Z] latest: digest: sha256:5955cc789b4f0b4ea5e7de170346a6e6f47ffc202091af91a77fbddbe5e0f37b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:20:38.444Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.20 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:20:38.744Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.20 [2021-06-10T16:20:38.744Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-10T16:20:38.744Z] ec93592f797a: Preparing [2021-06-10T16:20:38.744Z] 0ec962e41afe: Preparing [2021-06-10T16:20:38.744Z] 48f39c0099df: Preparing [2021-06-10T16:20:38.744Z] 6c6e021b5b6e: Preparing [2021-06-10T16:20:38.744Z] 32f366d666a5: Preparing [2021-06-10T16:20:38.744Z] ec93592f797a: Layer already exists [2021-06-10T16:20:38.744Z] 6c6e021b5b6e: Layer already exists [2021-06-10T16:20:38.744Z] 0ec962e41afe: Layer already exists [2021-06-10T16:20:38.744Z] 48f39c0099df: Layer already exists [2021-06-10T16:20:38.744Z] 32f366d666a5: Layer already exists [2021-06-10T16:20:38.744Z] 1.3.2-dev.20: digest: sha256:5955cc789b4f0b4ea5e7de170346a6e6f47ffc202091af91a77fbddbe5e0f37b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:20:39.057Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b-1.3.2-dev.20 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:20:39.358Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b-1.3.2-dev.20 [2021-06-10T16:20:39.358Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-10T16:20:39.358Z] ec93592f797a: Preparing [2021-06-10T16:20:39.358Z] 0ec962e41afe: Preparing [2021-06-10T16:20:39.358Z] 48f39c0099df: Preparing [2021-06-10T16:20:39.358Z] 6c6e021b5b6e: Preparing [2021-06-10T16:20:39.358Z] 32f366d666a5: Preparing [2021-06-10T16:20:39.358Z] 0ec962e41afe: Layer already exists [2021-06-10T16:20:39.358Z] ec93592f797a: Layer already exists [2021-06-10T16:20:39.358Z] 48f39c0099df: Layer already exists [2021-06-10T16:20:39.358Z] 6c6e021b5b6e: Layer already exists [2021-06-10T16:20:39.358Z] 32f366d666a5: Layer already exists [2021-06-10T16:20:39.358Z] 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b-1.3.2-dev.20: digest: sha256:5955cc789b4f0b4ea5e7de170346a6e6f47ffc202091af91a77fbddbe5e0f37b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:20:39.668Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:20:39.965Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:master [2021-06-10T16:20:39.965Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-10T16:20:39.965Z] ec93592f797a: Preparing [2021-06-10T16:20:39.965Z] 0ec962e41afe: Preparing [2021-06-10T16:20:39.965Z] 48f39c0099df: Preparing [2021-06-10T16:20:39.965Z] 6c6e021b5b6e: Preparing [2021-06-10T16:20:39.965Z] 32f366d666a5: Preparing [2021-06-10T16:20:39.965Z] 48f39c0099df: Layer already exists [2021-06-10T16:20:39.965Z] 6c6e021b5b6e: Layer already exists [2021-06-10T16:20:39.965Z] 0ec962e41afe: Layer already exists [2021-06-10T16:20:39.965Z] 32f366d666a5: Layer already exists [2021-06-10T16:20:39.965Z] ec93592f797a: Layer already exists [2021-06-10T16:20:39.965Z] master: digest: sha256:5955cc789b4f0b4ea5e7de170346a6e6f47ffc202091af91a77fbddbe5e0f37b size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-10T16:20:40.049Z] ===================================================== [Pipeline] echo [2021-06-10T16:20:40.070Z] taggedImages: [2021-06-10T16:20:40.070Z] - nexus3.edgexfoundry.org:10004/device-mqtt:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b [2021-06-10T16:20:40.070Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-06-10T16:20:40.070Z] - nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.20 [2021-06-10T16:20:40.070Z] - nexus3.edgexfoundry.org:10004/device-mqtt:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b-1.3.2-dev.20 [2021-06-10T16:20:40.070Z] - 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-10T16:20:40.841Z] ---> job-cost.sh [2021-06-10T16:20:40.841Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7Pah [2021-06-10T16:20:50.873Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-10T16:21:03.136Z] lf-activate-venv(): INFO: Adding /tmp/venv-7Pah/bin to PATH [2021-06-10T16:21:03.136Z] INFO: No Stack... [2021-06-10T16:21:03.136Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-10T16:21:03.709Z] INFO: Archiving Costs [Pipeline] sh [2021-06-10T16:21:04.015Z] + cut -d, -f6 [2021-06-10T16:21:04.015Z] + cat /w/workspace/device-mqtt-go/52/archives/cost.csv [Pipeline] lock [2021-06-10T16:21:04.056Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-52-stack-cost] [2021-06-10T16:21:04.066Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-52-stack-cost] did not exist. Created. [2021-06-10T16:21:04.066Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-10T16:21:04.402Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-10T16:21:04.490Z] Stashed 1 file(s) [Pipeline] } [2021-06-10T16:21:04.514Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-52-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-10T16:21:15.558Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-238 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-06-10T16:21:15.578Z] Running in /w/workspace/device-mqtt-go/52 [Pipeline] { [Pipeline] checkout [2021-06-10T16:21:15.811Z] Selected Git installation does not exist. Using Default [2021-06-10T16:21:15.811Z] The recommended git tool is: NONE [2021-06-10T16:21:21.423Z] using credential edgex-jenkins-ssh [2021-06-10T16:21:21.461Z] Cloning the remote Git repository [2021-06-10T16:21:21.519Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-06-10T16:21:21.639Z] > git init /w/workspace/device-mqtt-go/52 # timeout=10 [2021-06-10T16:21:21.713Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-06-10T16:21:21.714Z] > git --version # timeout=10 [2021-06-10T16:21:21.729Z] > git --version # 'git version 2.17.1' [2021-06-10T16:21:21.731Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T16:21:21.806Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T16:21:22.685Z] Avoid second fetch [2021-06-10T16:21:22.686Z] Checking out Revision 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b (master) [2021-06-10T16:21:22.637Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-06-10T16:21:22.660Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T16:21:22.707Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T16:21:22.726Z] > git checkout -f 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b # timeout=10 [2021-06-10T16:21:27.337Z] Commit message: "fix: Add AuthMode settings so have ability to enable/disable Auth MQTT connections (#269)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-10T16:21:28.719Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-10T16:21:29.183Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-10T16:21:29.535Z] + sudo service docker restart [2021-06-10T16:21:29.535Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T16:21:47.884Z] provisioning config files... [2021-06-10T16:21:47.909Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/52@tmp/config5086215242235747749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:21:48.286Z] ---> docker-login.sh [2021-06-10T16:21:48.286Z] nexus3.edgexfoundry.org:10001 [2021-06-10T16:21:49.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:21:49.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:21:49.551Z] Configure a credential helper to remove this warning. See [2021-06-10T16:21:49.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:21:49.551Z] [2021-06-10T16:21:49.551Z] Login Succeeded [2021-06-10T16:21:49.551Z] nexus3.edgexfoundry.org:10002 [2021-06-10T16:21:49.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:21:50.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:21:50.101Z] Configure a credential helper to remove this warning. See [2021-06-10T16:21:50.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:21:50.101Z] [2021-06-10T16:21:50.101Z] Login Succeeded [2021-06-10T16:21:50.101Z] nexus3.edgexfoundry.org:10003 [2021-06-10T16:21:50.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:21:50.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:21:50.661Z] Configure a credential helper to remove this warning. See [2021-06-10T16:21:50.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:21:50.661Z] [2021-06-10T16:21:50.662Z] Login Succeeded [2021-06-10T16:21:50.662Z] nexus3.edgexfoundry.org:10004 [2021-06-10T16:21:50.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:21:50.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:21:50.939Z] Configure a credential helper to remove this warning. See [2021-06-10T16:21:50.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:21:50.939Z] [2021-06-10T16:21:50.939Z] Login Succeeded [2021-06-10T16:21:50.939Z] docker.io [2021-06-10T16:21:51.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:21:51.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:21:51.813Z] Configure a credential helper to remove this warning. See [2021-06-10T16:21:51.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:21:51.813Z] [2021-06-10T16:21:51.813Z] Login Succeeded [2021-06-10T16:21:51.813Z] ---> docker-login.sh ends [Pipeline] } [2021-06-10T16:21:51.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-10T16:21:52.155Z] ========================================================= [2021-06-10T16:21:52.155Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-10T16:21:52.155Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:21:52.505Z] + 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-10T16:21:52.781Z] Sending build context to Docker daemon 594.4kB [2021-06-10T16:21:53.056Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-10T16:21:53.056Z] Step 2/8 : FROM ${BASE} [2021-06-10T16:21:53.056Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-10T16:21:53.056Z] 595b0fe564bb: Pulling fs layer [2021-06-10T16:21:53.056Z] 3088b5b3c5c0: Pulling fs layer [2021-06-10T16:21:53.056Z] 5b7225fbf94c: Pulling fs layer [2021-06-10T16:21:53.056Z] ba82ee9f976e: Pulling fs layer [2021-06-10T16:21:53.056Z] 506bd15cee9f: Pulling fs layer [2021-06-10T16:21:53.056Z] 75a0a4a0db45: Pulling fs layer [2021-06-10T16:21:53.056Z] 618dc40b7e24: Pulling fs layer [2021-06-10T16:21:53.056Z] 506bd15cee9f: Waiting [2021-06-10T16:21:53.056Z] ba82ee9f976e: Waiting [2021-06-10T16:21:53.056Z] 75a0a4a0db45: Waiting [2021-06-10T16:21:53.056Z] 618dc40b7e24: Waiting [2021-06-10T16:21:53.056Z] 5b7225fbf94c: Verifying Checksum [2021-06-10T16:21:53.056Z] 5b7225fbf94c: Download complete [2021-06-10T16:21:53.056Z] 3088b5b3c5c0: Verifying Checksum [2021-06-10T16:21:53.056Z] 3088b5b3c5c0: Download complete [2021-06-10T16:21:53.330Z] 506bd15cee9f: Verifying Checksum [2021-06-10T16:21:53.330Z] 506bd15cee9f: Download complete [2021-06-10T16:21:53.330Z] 75a0a4a0db45: Verifying Checksum [2021-06-10T16:21:53.330Z] 75a0a4a0db45: Download complete [2021-06-10T16:21:53.330Z] 595b0fe564bb: Verifying Checksum [2021-06-10T16:21:53.330Z] 595b0fe564bb: Download complete [2021-06-10T16:21:53.932Z] 595b0fe564bb: Pull complete [2021-06-10T16:21:54.533Z] 3088b5b3c5c0: Pull complete [2021-06-10T16:21:54.810Z] 5b7225fbf94c: Pull complete [2021-06-10T16:21:55.789Z] 618dc40b7e24: Verifying Checksum [2021-06-10T16:21:55.789Z] 618dc40b7e24: Download complete [2021-06-10T16:21:56.764Z] ba82ee9f976e: Verifying Checksum [2021-06-10T16:21:56.764Z] ba82ee9f976e: Download complete [2021-06-10T16:22:06.926Z] ba82ee9f976e: Pull complete [2021-06-10T16:22:06.926Z] 506bd15cee9f: Pull complete [2021-06-10T16:22:06.926Z] 75a0a4a0db45: Pull complete [2021-06-10T16:22:10.344Z] 618dc40b7e24: Pull complete [2021-06-10T16:22:10.344Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-10T16:22:10.344Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-10T16:22:10.344Z] ---> a36622ca3599 [2021-06-10T16:22:10.344Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-10T16:22:12.980Z] ---> Running in 86d9b58f2324 [2021-06-10T16:22:12.980Z] Removing intermediate container 86d9b58f2324 [2021-06-10T16:22:12.980Z] ---> 59671beb7699 [2021-06-10T16:22:12.980Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T16:22:13.254Z] ---> Running in e55a7af65da9 [2021-06-10T16:22:15.942Z] Removing intermediate container e55a7af65da9 [2021-06-10T16:22:15.942Z] ---> 5185d659d9f7 [2021-06-10T16:22:15.942Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-10T16:22:15.942Z] ---> Running in 6fbd0cff0287 [2021-06-10T16:22:17.390Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-10T16:22:18.371Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-10T16:22:18.967Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-10T16:22:19.238Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-10T16:22:19.238Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-10T16:22:19.238Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-10T16:22:19.509Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-10T16:22:19.509Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-10T16:22:19.509Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-10T16:22:20.103Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-10T16:22:20.103Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-10T16:22:20.103Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-10T16:22:20.375Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-10T16:22:20.375Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-10T16:22:20.375Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-10T16:22:20.648Z] Executing busybox-1.32.1-r6.trigger [2021-06-10T16:22:20.648Z] OK: 145 MiB in 53 packages [2021-06-10T16:22:22.084Z] Removing intermediate container 6fbd0cff0287 [2021-06-10T16:22:22.085Z] ---> 545df82ae874 [2021-06-10T16:22:22.085Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-06-10T16:22:22.359Z] ---> Running in 8d01bcb12e4c [2021-06-10T16:22:22.643Z] Removing intermediate container 8d01bcb12e4c [2021-06-10T16:22:22.643Z] ---> de38a41ee58b [2021-06-10T16:22:22.643Z] Step 7/8 : COPY . . [2021-06-10T16:22:24.088Z] ---> d2e451dda016 [2021-06-10T16:22:24.088Z] Step 8/8 : RUN go mod download [2021-06-10T16:22:24.088Z] ---> Running in 9d5fbb2bf487 [2021-06-10T16:22:50.896Z] Removing intermediate container 9d5fbb2bf487 [2021-06-10T16:22:50.896Z] ---> a9935e663bd9 [2021-06-10T16:22:50.896Z] Successfully built a9935e663bd9 [2021-06-10T16:22:50.896Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:22:51.245Z] + docker inspect -f . ci-base-image-arm64 [2021-06-10T16:22:51.245Z] . [Pipeline] withDockerContainer [2021-06-10T16:22:51.517Z] prd-ubuntu18.04-docker-arm64-4c-16g-238 does not seem to be running inside a container [2021-06-10T16:22:51.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/52 -v /w/workspace/device-mqtt-go/52:/w/workspace/device-mqtt-go/52:rw,z -v /w/workspace/device-mqtt-go/52@tmp:/w/workspace/device-mqtt-go/52@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-10T16:22:53.282Z] $ docker top 4f9bc1302d9962c6eb6ce2b599d47aececf3f21e68a100af544c11e33ce504cc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T16:22:54.272Z] + go version [2021-06-10T16:22:54.272Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-10T16:22:54.298Z] $ docker stop --time=1 4f9bc1302d9962c6eb6ce2b599d47aececf3f21e68a100af544c11e33ce504cc [2021-06-10T16:22:56.129Z] $ docker rm -f 4f9bc1302d9962c6eb6ce2b599d47aececf3f21e68a100af544c11e33ce504cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:22:56.902Z] + docker inspect -f . ci-base-image-arm64 [2021-06-10T16:22:56.902Z] . [Pipeline] withDockerContainer [2021-06-10T16:22:57.165Z] prd-ubuntu18.04-docker-arm64-4c-16g-238 does not seem to be running inside a container [2021-06-10T16:22:57.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/52 -v /w/workspace/device-mqtt-go/52:/w/workspace/device-mqtt-go/52:rw,z -v /w/workspace/device-mqtt-go/52@tmp:/w/workspace/device-mqtt-go/52@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-10T16:22:58.927Z] $ docker top fdea0c7ae7685d025b3ba9cdda6a19edd4a40d87004a6fff42473e99d646de71 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T16:22:59.895Z] + go mod tidy [Pipeline] sh [2021-06-10T16:23:01.172Z] + make test [2021-06-10T16:23:01.172Z] go mod tidy [2021-06-10T16:23:01.776Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-10T16:23:03.222Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-06-10T16:23:59.788Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-06-10T16:23:59.788Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.051s coverage: 22.6% of statements [2021-06-10T16:23:59.788Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-06-10T16:23:59.788Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-10T16:24:26.624Z] gofmt -l . [2021-06-10T16:24:26.624Z] ["`gofmt -l .`" = ""] [2021-06-10T16:24:26.624Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-10T16:24:28.091Z] $ docker stop --time=1 fdea0c7ae7685d025b3ba9cdda6a19edd4a40d87004a6fff42473e99d646de71 [2021-06-10T16:24:30.130Z] $ docker rm -f fdea0c7ae7685d025b3ba9cdda6a19edd4a40d87004a6fff42473e99d646de71 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-10T16:24:30.990Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-10T16:24:31.020Z] Warning: overwriting stash ‘coverage-report’ [2021-06-10T16:24:31.555Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-10T16:24:32.104Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-10T16:24:32.439Z] + ls -al . [2021-06-10T16:24:32.439Z] total 140 [2021-06-10T16:24:32.439Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 10 16:24 . [2021-06-10T16:24:32.439Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 10 16:21 .. [2021-06-10T16:24:32.439Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 10 16:21 .dockerignore [2021-06-10T16:24:32.439Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 10 16:21 .git [2021-06-10T16:24:32.439Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 10 16:21 .github [2021-06-10T16:24:32.439Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 10 16:21 .gitignore [2021-06-10T16:24:32.439Z] -rw-rw-r-- 1 jenkins jenkins 7100 Jun 10 16:21 Attribution.txt [2021-06-10T16:24:32.439Z] -rw-rw-r-- 1 jenkins jenkins 1877 Jun 10 16:21 Dockerfile [2021-06-10T16:24:32.439Z] -rw-rw-r-- 1 jenkins jenkins 994 Jun 10 16:21 Dockerfile.build [2021-06-10T16:24:32.439Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 10 16:21 Jenkinsfile [2021-06-10T16:24:32.439Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 10 16:21 LICENSE [2021-06-10T16:24:32.439Z] -rw-rw-r-- 1 jenkins jenkins 907 Jun 10 16:21 Makefile [2021-06-10T16:24:32.439Z] -rw-rw-r-- 1 jenkins jenkins 2217 Jun 10 16:21 README.md [2021-06-10T16:24:32.439Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 10 16:18 VERSION [2021-06-10T16:24:32.439Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 10 16:21 bin [2021-06-10T16:24:32.439Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 10 16:21 cmd [2021-06-10T16:24:32.439Z] -rw-r--r-- 1 jenkins jenkins 19967 Jun 10 16:23 coverage.out [2021-06-10T16:24:32.439Z] -rw-rw-r-- 1 jenkins jenkins 409 Jun 10 16:21 go.mod [2021-06-10T16:24:32.439Z] -rw-r--r-- 1 jenkins jenkins 20960 Jun 10 16:23 go.sum [2021-06-10T16:24:32.439Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 10 16:21 internal [2021-06-10T16:24:32.439Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 10 16:21 mock [2021-06-10T16:24:32.439Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 10 16:21 snap [2021-06-10T16:24:32.439Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 10 16:21 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:24:32.790Z] + 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=9a33ad598db671ad3c0e320f1f5a4ec002be7f7b --label arch=arm64 --label version=1.3.2-dev.20 . [2021-06-10T16:24:33.068Z] Sending build context to Docker daemon 614.9kB [2021-06-10T16:24:33.342Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-10T16:24:33.342Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-10T16:24:33.342Z] ---> a9935e663bd9 [2021-06-10T16:24:33.342Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-10T16:24:33.615Z] ---> Running in 1675269bc3b8 [2021-06-10T16:24:33.887Z] Removing intermediate container 1675269bc3b8 [2021-06-10T16:24:33.887Z] ---> 0422a1889afa [2021-06-10T16:24:33.887Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-10T16:24:34.163Z] ---> Running in 079a2217d211 [2021-06-10T16:24:34.439Z] Removing intermediate container 079a2217d211 [2021-06-10T16:24:34.439Z] ---> 30f919950653 [2021-06-10T16:24:34.439Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T16:24:34.713Z] ---> Running in e8d4cb614c24 [2021-06-10T16:24:36.690Z] Removing intermediate container e8d4cb614c24 [2021-06-10T16:24:36.690Z] ---> 56d4a2eafc42 [2021-06-10T16:24:36.690Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-10T16:24:36.964Z] ---> Running in 3b554964b620 [2021-06-10T16:24:38.404Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-10T16:24:39.014Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-10T16:24:39.997Z] OK: 145 MiB in 53 packages [2021-06-10T16:24:40.983Z] Removing intermediate container 3b554964b620 [2021-06-10T16:24:40.983Z] ---> 7ac42f081d4e [2021-06-10T16:24:40.983Z] Step 7/24 : WORKDIR /device-mqtt-go [2021-06-10T16:24:40.983Z] ---> Running in 5624d6df4b78 [2021-06-10T16:24:41.581Z] Removing intermediate container 5624d6df4b78 [2021-06-10T16:24:41.581Z] ---> aff4e3c1fb59 [2021-06-10T16:24:41.581Z] Step 8/24 : COPY . . [2021-06-10T16:24:43.033Z] ---> a6fbdd61f2e7 [2021-06-10T16:24:43.033Z] Step 9/24 : RUN go mod tidy [2021-06-10T16:24:43.033Z] ---> Running in 35f92cca7e2c [2021-06-10T16:24:45.672Z] Removing intermediate container 35f92cca7e2c [2021-06-10T16:24:45.672Z] ---> fb83ad9a4fac [2021-06-10T16:24:45.672Z] Step 10/24 : RUN go mod download [2021-06-10T16:24:45.945Z] ---> Running in 212db3bd2e5e [2021-06-10T16:24:48.575Z] Removing intermediate container 212db3bd2e5e [2021-06-10T16:24:48.575Z] ---> 9912d939d59a [2021-06-10T16:24:48.575Z] Step 11/24 : ARG MAKE='make build' [2021-06-10T16:24:48.575Z] ---> Running in d2b7892fac1d [2021-06-10T16:24:48.847Z] Removing intermediate container d2b7892fac1d [2021-06-10T16:24:48.847Z] ---> e03454f1dfac [2021-06-10T16:24:48.847Z] Step 12/24 : RUN $MAKE [2021-06-10T16:24:49.120Z] ---> Running in 990e06272ecd [2021-06-10T16:24:50.104Z] go mod tidy [2021-06-10T16:24:50.701Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.20" -o cmd/device-mqtt ./cmd [2021-06-10T16:25:29.753Z] Removing intermediate container 990e06272ecd [2021-06-10T16:25:29.753Z] ---> c224ef38536f [2021-06-10T16:25:29.753Z] Step 13/24 : FROM alpine:3.12 [2021-06-10T16:25:29.753Z] 3.12: Pulling from library/alpine [2021-06-10T16:25:29.753Z] d2f70382dc9a: Pulling fs layer [2021-06-10T16:25:29.753Z] d2f70382dc9a: Verifying Checksum [2021-06-10T16:25:29.753Z] d2f70382dc9a: Download complete [2021-06-10T16:25:29.753Z] d2f70382dc9a: Pull complete [2021-06-10T16:25:29.753Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-10T16:25:29.753Z] Status: Downloaded newer image for alpine:3.12 [2021-06-10T16:25:29.753Z] ---> 9852663dfa18 [2021-06-10T16:25:29.753Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-06-10T16:25:29.753Z] ---> Running in 9e1bdd248739 [2021-06-10T16:25:29.753Z] Removing intermediate container 9e1bdd248739 [2021-06-10T16:25:29.753Z] ---> 7d92d69ce910 [2021-06-10T16:25:29.753Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-10T16:25:29.753Z] ---> Running in 5bbddaa0697d [2021-06-10T16:25:30.734Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-10T16:25:30.734Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-10T16:25:31.335Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-10T16:25:31.335Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-10T16:25:31.335Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-10T16:25:31.335Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-10T16:25:31.335Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-10T16:25:31.335Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-10T16:25:31.335Z] Executing busybox-1.31.1-r20.trigger [2021-06-10T16:25:31.335Z] OK: 8 MiB in 20 packages [2021-06-10T16:25:32.774Z] Removing intermediate container 5bbddaa0697d [2021-06-10T16:25:32.774Z] ---> 7881933f4eb0 [2021-06-10T16:25:32.774Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2021-06-10T16:25:33.755Z] ---> e3202ccde7fa [2021-06-10T16:25:33.755Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-06-10T16:25:34.734Z] ---> 4cede8b39136 [2021-06-10T16:25:34.734Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-06-10T16:25:35.715Z] ---> abada10f4038 [2021-06-10T16:25:35.715Z] Step 19/24 : EXPOSE 59982 [2021-06-10T16:25:35.715Z] ---> Running in c23733ec8d6c [2021-06-10T16:25:36.311Z] Removing intermediate container c23733ec8d6c [2021-06-10T16:25:36.311Z] ---> 2eb88278f43d [2021-06-10T16:25:36.311Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2021-06-10T16:25:36.311Z] ---> Running in 9ffee256d023 [2021-06-10T16:25:36.910Z] Removing intermediate container 9ffee256d023 [2021-06-10T16:25:36.910Z] ---> abde08a6e97c [2021-06-10T16:25:36.910Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-10T16:25:36.910Z] ---> Running in 2ff485091ed7 [2021-06-10T16:25:37.508Z] Removing intermediate container 2ff485091ed7 [2021-06-10T16:25:37.508Z] ---> c657f66ea0b0 [2021-06-10T16:25:37.508Z] Step 22/24 : LABEL arch=arm64 [2021-06-10T16:25:37.508Z] ---> Running in 553ca1e4abea [2021-06-10T16:25:38.104Z] Removing intermediate container 553ca1e4abea [2021-06-10T16:25:38.104Z] ---> 52ff1023940b [2021-06-10T16:25:38.104Z] Step 23/24 : LABEL git_sha=9a33ad598db671ad3c0e320f1f5a4ec002be7f7b [2021-06-10T16:25:38.104Z] ---> Running in b454596da0f6 [2021-06-10T16:25:38.707Z] Removing intermediate container b454596da0f6 [2021-06-10T16:25:38.707Z] ---> d8db06422176 [2021-06-10T16:25:38.707Z] Step 24/24 : LABEL version=1.3.2-dev.20 [2021-06-10T16:25:38.707Z] ---> Running in 47e6aa5563bd [2021-06-10T16:25:39.306Z] Removing intermediate container 47e6aa5563bd [2021-06-10T16:25:39.306Z] ---> f23995c6eec2 [2021-06-10T16:25:39.306Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-10T16:25:39.306Z] Successfully built f23995c6eec2 [2021-06-10T16:25:39.306Z] 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-10T16:25:39.549Z] provisioning config files... [2021-06-10T16:25:39.572Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/52@tmp/config5730354604532747887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:25:39.946Z] ---> docker-login.sh [2021-06-10T16:25:39.946Z] nexus3.edgexfoundry.org:10001 [2021-06-10T16:25:40.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:25:40.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:25:40.495Z] Configure a credential helper to remove this warning. See [2021-06-10T16:25:40.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:25:40.495Z] [2021-06-10T16:25:40.495Z] Login Succeeded [2021-06-10T16:25:40.495Z] nexus3.edgexfoundry.org:10002 [2021-06-10T16:25:40.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:25:41.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:25:41.042Z] Configure a credential helper to remove this warning. See [2021-06-10T16:25:41.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:25:41.042Z] [2021-06-10T16:25:41.042Z] Login Succeeded [2021-06-10T16:25:41.042Z] nexus3.edgexfoundry.org:10003 [2021-06-10T16:25:41.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:25:41.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:25:41.589Z] Configure a credential helper to remove this warning. See [2021-06-10T16:25:41.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:25:41.589Z] [2021-06-10T16:25:41.589Z] Login Succeeded [2021-06-10T16:25:41.589Z] nexus3.edgexfoundry.org:10004 [2021-06-10T16:25:41.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:25:42.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:25:42.141Z] Configure a credential helper to remove this warning. See [2021-06-10T16:25:42.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:25:42.141Z] [2021-06-10T16:25:42.141Z] Login Succeeded [2021-06-10T16:25:42.141Z] docker.io [2021-06-10T16:25:42.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T16:25:43.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T16:25:43.012Z] Configure a credential helper to remove this warning. See [2021-06-10T16:25:43.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T16:25:43.012Z] [2021-06-10T16:25:43.012Z] Login Succeeded [2021-06-10T16:25:43.012Z] ---> docker-login.sh ends [Pipeline] } [2021-06-10T16:25:43.032Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-10T16:25:43.116Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2021-06-10T16:25:43.117Z] 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b [2021-06-10T16:25:43.117Z] latest [2021-06-10T16:25:43.117Z] 1.3.2-dev.20 [2021-06-10T16:25:43.117Z] 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b-1.3.2-dev.20 [2021-06-10T16:25:43.117Z] master [2021-06-10T16:25:43.117Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:25:43.520Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:25:43.869Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b [2021-06-10T16:25:43.869Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-10T16:25:43.869Z] cd1370218bb0: Preparing [2021-06-10T16:25:43.869Z] 7b653fcaa090: Preparing [2021-06-10T16:25:43.869Z] 9714003263e4: Preparing [2021-06-10T16:25:43.869Z] 13956301a305: Preparing [2021-06-10T16:25:43.869Z] 3fbe34a1663b: Preparing [2021-06-10T16:25:44.143Z] 3fbe34a1663b: Layer already exists [2021-06-10T16:25:44.419Z] cd1370218bb0: Pushed [2021-06-10T16:25:44.419Z] 7b653fcaa090: Pushed [2021-06-10T16:25:45.018Z] 13956301a305: Pushed [2021-06-10T16:25:46.993Z] 9714003263e4: Pushed [2021-06-10T16:25:46.993Z] 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b: digest: sha256:b9002e3624ecd3a266c3db7a5add88b380886e0071abde014e97325ce8d6f21f size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:25:47.345Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:25:47.696Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-06-10T16:25:47.696Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-10T16:25:47.696Z] cd1370218bb0: Preparing [2021-06-10T16:25:47.696Z] 7b653fcaa090: Preparing [2021-06-10T16:25:47.696Z] 9714003263e4: Preparing [2021-06-10T16:25:47.696Z] 13956301a305: Preparing [2021-06-10T16:25:47.696Z] 3fbe34a1663b: Preparing [2021-06-10T16:25:47.972Z] 3fbe34a1663b: Layer already exists [2021-06-10T16:25:47.972Z] 9714003263e4: Layer already exists [2021-06-10T16:25:47.972Z] cd1370218bb0: Layer already exists [2021-06-10T16:25:47.972Z] 7b653fcaa090: Layer already exists [2021-06-10T16:25:47.972Z] 13956301a305: Layer already exists [2021-06-10T16:25:47.972Z] latest: digest: sha256:b9002e3624ecd3a266c3db7a5add88b380886e0071abde014e97325ce8d6f21f size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:25:48.324Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.20 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:25:48.666Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.20 [2021-06-10T16:25:48.667Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-10T16:25:48.667Z] cd1370218bb0: Preparing [2021-06-10T16:25:48.667Z] 7b653fcaa090: Preparing [2021-06-10T16:25:48.667Z] 9714003263e4: Preparing [2021-06-10T16:25:48.667Z] 13956301a305: Preparing [2021-06-10T16:25:48.667Z] 3fbe34a1663b: Preparing [2021-06-10T16:25:48.667Z] cd1370218bb0: Layer already exists [2021-06-10T16:25:48.667Z] 3fbe34a1663b: Layer already exists [2021-06-10T16:25:48.667Z] 7b653fcaa090: Layer already exists [2021-06-10T16:25:48.667Z] 9714003263e4: Layer already exists [2021-06-10T16:25:48.667Z] 13956301a305: Layer already exists [2021-06-10T16:25:48.941Z] 1.3.2-dev.20: digest: sha256:b9002e3624ecd3a266c3db7a5add88b380886e0071abde014e97325ce8d6f21f size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:25:49.286Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b-1.3.2-dev.20 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:25:49.634Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b-1.3.2-dev.20 [2021-06-10T16:25:49.634Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-10T16:25:49.634Z] cd1370218bb0: Preparing [2021-06-10T16:25:49.634Z] 7b653fcaa090: Preparing [2021-06-10T16:25:49.634Z] 9714003263e4: Preparing [2021-06-10T16:25:49.634Z] 13956301a305: Preparing [2021-06-10T16:25:49.634Z] 3fbe34a1663b: Preparing [2021-06-10T16:25:49.907Z] 7b653fcaa090: Layer already exists [2021-06-10T16:25:49.907Z] cd1370218bb0: Layer already exists [2021-06-10T16:25:49.907Z] 3fbe34a1663b: Layer already exists [2021-06-10T16:25:49.907Z] 13956301a305: Layer already exists [2021-06-10T16:25:49.907Z] 9714003263e4: Layer already exists [2021-06-10T16:25:49.908Z] 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b-1.3.2-dev.20: digest: sha256:b9002e3624ecd3a266c3db7a5add88b380886e0071abde014e97325ce8d6f21f size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:25:50.264Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:25:50.611Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [2021-06-10T16:25:50.611Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-10T16:25:50.611Z] cd1370218bb0: Preparing [2021-06-10T16:25:50.611Z] 7b653fcaa090: Preparing [2021-06-10T16:25:50.611Z] 9714003263e4: Preparing [2021-06-10T16:25:50.611Z] 13956301a305: Preparing [2021-06-10T16:25:50.611Z] 3fbe34a1663b: Preparing [2021-06-10T16:25:50.611Z] 3fbe34a1663b: Layer already exists [2021-06-10T16:25:50.611Z] 7b653fcaa090: Layer already exists [2021-06-10T16:25:50.611Z] 13956301a305: Layer already exists [2021-06-10T16:25:50.611Z] cd1370218bb0: Layer already exists [2021-06-10T16:25:50.611Z] 9714003263e4: Layer already exists [2021-06-10T16:25:50.885Z] master: digest: sha256:b9002e3624ecd3a266c3db7a5add88b380886e0071abde014e97325ce8d6f21f size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-10T16:25:50.969Z] ===================================================== [Pipeline] echo [2021-06-10T16:25:50.994Z] taggedImages: [2021-06-10T16:25:50.994Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b [2021-06-10T16:25:50.994Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-06-10T16:25:50.994Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.20 [2021-06-10T16:25:50.994Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9a33ad598db671ad3c0e320f1f5a4ec002be7f7b-1.3.2-dev.20 [2021-06-10T16:25:50.994Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:25:51.543Z] ---> job-cost.sh [2021-06-10T16:25:51.543Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5kmk [2021-06-10T16:26:30.565Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-10T16:27:52.371Z] lf-activate-venv(): INFO: Adding /tmp/venv-5kmk/bin to PATH [2021-06-10T16:27:52.372Z] INFO: No Stack... [2021-06-10T16:27:53.842Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-10T16:27:54.476Z] INFO: Archiving Costs [Pipeline] sh [2021-06-10T16:27:54.982Z] + cut -d, -f6 [2021-06-10T16:27:54.983Z] + cat /w/workspace/device-mqtt-go/52/archives/cost.csv [Pipeline] lock [2021-06-10T16:27:55.123Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-52-stack-cost] [2021-06-10T16:27:55.135Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-52-stack-cost] did not exist. Created. [2021-06-10T16:27:55.135Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-10T16:27:55.733Z] /w/workspace/device-mqtt-go/52@tmp/durable-a95041d1/script.sh: 1: /w/workspace/device-mqtt-go/52@tmp/durable-a95041d1/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-10T16:27:56.203Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-10T16:27:56.260Z] Warning: overwriting stash ‘stack-cost’ [2021-06-10T16:27:56.418Z] Stashed 1 file(s) [Pipeline] } [2021-06-10T16:27:56.427Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-52-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-10T16:27:57.435Z] provisioning config files... [2021-06-10T16:27:57.457Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config1231624238898310359tmp [Pipeline] { [Pipeline] sh [2021-06-10T16:27:57.882Z] + set +x [2021-06-10T16:27:57.882Z] + curl -s https://codecov.io/bash [2021-06-10T16:27:57.882Z] + bash -s -- [2021-06-10T16:27:57.882Z] [2021-06-10T16:27:57.882Z] _____ _ [2021-06-10T16:27:57.882Z] / ____| | | [2021-06-10T16:27:57.882Z] | | ___ __| | ___ ___ _____ __ [2021-06-10T16:27:57.882Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-10T16:27:57.882Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-10T16:27:57.882Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-10T16:27:57.882Z] Bash-1.0.3 [2021-06-10T16:27:57.882Z] [2021-06-10T16:27:57.882Z] [2021-06-10T16:27:57.882Z] ==> git version 2.24.4 found [2021-06-10T16:27:57.882Z] ==> 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-10T16:27:57.882Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-10T16:27:57.882Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-10T16:27:57.882Z] ==> Jenkins CI detected. [2021-06-10T16:27:57.882Z] project root: . [2021-06-10T16:27:57.882Z] --> token set from env [2021-06-10T16:27:57.882Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-10T16:27:57.882Z] ==> Running gcov in . (disable via -X gcov) [2021-06-10T16:27:57.882Z] ==> Python coveragepy not found [2021-06-10T16:27:57.882Z] ==> Searching for coverage reports in: [2021-06-10T16:27:57.882Z] + . [2021-06-10T16:27:57.882Z] -> Found 1 reports [2021-06-10T16:27:57.883Z] ==> Detecting git/mercurial file structure [2021-06-10T16:27:57.883Z] ==> Reading reports [2021-06-10T16:27:58.173Z] + ./coverage.out bytes=19967 [2021-06-10T16:27:58.173Z] ==> Appending adjustments [2021-06-10T16:27:58.173Z] https://docs.codecov.io/docs/fixing-reports [2021-06-10T16:27:58.173Z] + Found adjustments [2021-06-10T16:27:58.173Z] ==> Gzipping contents [2021-06-10T16:27:58.173Z] 4.0K /tmp/codecov.B4MJI0.gz [2021-06-10T16:27:58.173Z] ==> Uploading reports [2021-06-10T16:27:58.173Z] url: https://codecov.io [2021-06-10T16:27:58.173Z] query: branch=master&commit=9a33ad598db671ad3c0e320f1f5a4ec002be7f7b&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-10T16:27:58.173Z] -> Pinging Codecov [2021-06-10T16:27:58.173Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=9a33ad598db671ad3c0e320f1f5a4ec002be7f7b&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-10T16:27:58.851Z] -> Uploading to [2021-06-10T16:27:58.851Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-10/7D719EC7BBE17E464838252E33014C33/9a33ad598db671ad3c0e320f1f5a4ec002be7f7b/cd43c751-88a9-435a-a61d-306e474ca132.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210610%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210610T162758Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f3d259753058473a94fd3073111babf3ffa4912dc8c5c0839e6a3d7de93d0d9e [2021-06-10T16:27:58.851Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-10T16:27:58.851Z] Dload Upload Total Spent Left Speed [2021-06-10T16:27:58.851Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3452 0 0 100 3452 0 10717 --:--:-- --:--:-- --:--:-- 10753 [2021-06-10T16:27:58.877Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/9a33ad598db671ad3c0e320f1f5a4ec002be7f7b [Pipeline] } [2021-06-10T16:27:58.879Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-06-10T16:27:59.263Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-06-10T16:27:59.284Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:27:59.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-10T16:27:59.633Z] [2021-06-10T16:27:59.633Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:28:00.067Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-10T16:28:00.067Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-06-10T16:28:00.067Z] 188c0c94c7c5: Pulling fs layer [2021-06-10T16:28:00.067Z] 0ef7d3d256c8: Pulling fs layer [2021-06-10T16:28:00.067Z] de9db76c5a1d: Pulling fs layer [2021-06-10T16:28:00.067Z] 0eba1c9be4d2: Pulling fs layer [2021-06-10T16:28:00.067Z] 0d57e429df01: Pulling fs layer [2021-06-10T16:28:00.067Z] 4e4be7b47b0d: Pulling fs layer [2021-06-10T16:28:00.067Z] e1f770b5df2f: Pulling fs layer [2021-06-10T16:28:00.067Z] 85a0685a4137: Pulling fs layer [2021-06-10T16:28:00.067Z] 0d57e429df01: Waiting [2021-06-10T16:28:00.067Z] 4e4be7b47b0d: Waiting [2021-06-10T16:28:00.067Z] e1f770b5df2f: Waiting [2021-06-10T16:28:00.067Z] 85a0685a4137: Waiting [2021-06-10T16:28:00.067Z] 0eba1c9be4d2: Waiting [2021-06-10T16:28:00.067Z] de9db76c5a1d: Verifying Checksum [2021-06-10T16:28:00.067Z] de9db76c5a1d: Download complete [2021-06-10T16:28:00.067Z] 0ef7d3d256c8: Verifying Checksum [2021-06-10T16:28:00.067Z] 0ef7d3d256c8: Download complete [2021-06-10T16:28:00.067Z] 0d57e429df01: Verifying Checksum [2021-06-10T16:28:00.067Z] 0d57e429df01: Download complete [2021-06-10T16:28:00.353Z] 4e4be7b47b0d: Verifying Checksum [2021-06-10T16:28:00.353Z] 4e4be7b47b0d: Download complete [2021-06-10T16:28:00.353Z] 188c0c94c7c5: Verifying Checksum [2021-06-10T16:28:00.353Z] 188c0c94c7c5: Download complete [2021-06-10T16:28:00.664Z] 188c0c94c7c5: Pull complete [2021-06-10T16:28:00.664Z] 0ef7d3d256c8: Pull complete [2021-06-10T16:28:00.997Z] de9db76c5a1d: Pull complete [2021-06-10T16:28:02.585Z] e1f770b5df2f: Verifying Checksum [2021-06-10T16:28:02.585Z] e1f770b5df2f: Download complete [2021-06-10T16:28:07.190Z] 0eba1c9be4d2: Verifying Checksum [2021-06-10T16:28:07.190Z] 0eba1c9be4d2: Download complete [2021-06-10T16:28:07.190Z] 85a0685a4137: Verifying Checksum [2021-06-10T16:28:07.190Z] 85a0685a4137: Download complete [2021-06-10T16:28:09.946Z] 0eba1c9be4d2: Pull complete [2021-06-10T16:28:10.268Z] 0d57e429df01: Pull complete [2021-06-10T16:28:10.268Z] 4e4be7b47b0d: Pull complete [2021-06-10T16:28:10.934Z] e1f770b5df2f: Pull complete [2021-06-10T16:28:16.616Z] 85a0685a4137: Pull complete [2021-06-10T16:28:16.616Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-06-10T16:28:16.616Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-10T16:28:16.616Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-06-10T16:28:16.815Z] prd-centos7-docker-4c-2g-235 does not seem to be running inside a container [2021-06-10T16:28:16.909Z] $ 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-10T16:28:17.885Z] $ docker top 9b671d9723fa6eaad80543f6e5ea7491713cc7111d09b11723fc3e405f63294a -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-10T16:28:18.031Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-06-10T16:28:18.387Z] + set -o pipefail [2021-06-10T16:28:18.387Z] + snyk monitor '--org=edgex-jenkins' [2021-06-10T16:28:25.171Z] [2021-06-10T16:28:25.171Z] Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... [2021-06-10T16:28:25.171Z] [2021-06-10T16:28:25.171Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/6bde9999-dba0-4246-8f98-677e32606b3a [2021-06-10T16:28:25.171Z] [2021-06-10T16:28:25.171Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-06-10T16:28:25.171Z] [2021-06-10T16:28:25.171Z] [Pipeline] } [2021-06-10T16:28:25.205Z] $ docker stop --time=1 9b671d9723fa6eaad80543f6e5ea7491713cc7111d09b11723fc3e405f63294a [2021-06-10T16:28:27.485Z] $ docker rm -f 9b671d9723fa6eaad80543f6e5ea7491713cc7111d09b11723fc3e405f63294a [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-10T16:28:28.741Z] + git log --format=format:%s -1 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:28:29.122Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T16:28:29.122Z] . [Pipeline] withDockerContainer [2021-06-10T16:28:29.291Z] prd-centos7-docker-4c-2g-235 does not seem to be running inside a container [2021-06-10T16:28:29.413Z] $ 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-10T16:28:29.829Z] $ docker top 7a0438ca2663ead3a32852eef3121438ff5de3a918eb295defa3d2fbae130e93 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-10T16:28:30.018Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-10T16:28:30.018Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-10T16:28:30.164Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-10T16:28:30.168Z] $ docker exec 7a0438ca2663ead3a32852eef3121438ff5de3a918eb295defa3d2fbae130e93 ssh-agent [2021-06-10T16:28:30.342Z] SSH_AUTH_SOCK=/tmp/ssh-WM5xh17fm4En/agent.13 [2021-06-10T16:28:30.342Z] SSH_AGENT_PID=20 [2021-06-10T16:28:30.393Z] Running ssh-add (command line suppressed) [2021-06-10T16:28:30.517Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_326147146207587015.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_326147146207587015.key) [2021-06-10T16:28:30.561Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-10T16:28:30.917Z] + git semver tag [2021-06-10T16:28:30.917Z] # -> Open(): unable to determine branch for HEAD [2021-06-10T16:28:30.917Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-06-10T16:28:30.917Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-06-10T16:28:30.917Z] # $SEMVER_REMOTE_NAME = origin [2021-06-10T16:28:30.917Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-10T16:28:30.917Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-10T16:28:30.917Z] # $SEMVER_BRANCH = master [2021-06-10T16:28:30.917Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-06-10T16:28:30.917Z] # 9a33ad598db671ad3c0e320f1f5a4ec002be7f7b HEAD [2021-06-10T16:28:30.917Z] # -> Force: false [2021-06-10T16:28:30.917Z] # 09e46b6e6051779ca51722b50d211c1fb0128e65 refs/tags/v1.3.2-dev.20 [Pipeline] } [2021-06-10T16:28:30.964Z] $ docker exec --env ******** --env ******** 7a0438ca2663ead3a32852eef3121438ff5de3a918eb295defa3d2fbae130e93 ssh-agent -k [2021-06-10T16:28:31.074Z] unset SSH_AUTH_SOCK; [2021-06-10T16:28:31.074Z] unset SSH_AGENT_PID; [2021-06-10T16:28:31.074Z] echo Agent pid 20 killed; [2021-06-10T16:28:31.109Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-10T16:28:31.565Z] + git semver [Pipeline] } [2021-06-10T16:28:31.600Z] $ docker stop --time=1 7a0438ca2663ead3a32852eef3121438ff5de3a918eb295defa3d2fbae130e93 [2021-06-10T16:28:32.844Z] $ docker rm -f 7a0438ca2663ead3a32852eef3121438ff5de3a918eb295defa3d2fbae130e93 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:28:33.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-10T16:28:33.523Z] [2021-06-10T16:28:33.523Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:28:33.920Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-10T16:28:33.920Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-06-10T16:28:33.920Z] ab5ef0e58194: Pulling fs layer [2021-06-10T16:28:33.920Z] 9712f1f96733: Pulling fs layer [2021-06-10T16:28:33.920Z] 63f879dbbcfc: Pulling fs layer [2021-06-10T16:28:33.920Z] 0d9ebad4ef96: Pulling fs layer [2021-06-10T16:28:33.920Z] e9a5061849ea: Pulling fs layer [2021-06-10T16:28:33.920Z] d747dcd14b5f: Pulling fs layer [2021-06-10T16:28:33.920Z] 2de7ff778b66: Pulling fs layer [2021-06-10T16:28:33.920Z] 0d9ebad4ef96: Waiting [2021-06-10T16:28:33.920Z] e9a5061849ea: Waiting [2021-06-10T16:28:33.920Z] d747dcd14b5f: Waiting [2021-06-10T16:28:33.920Z] 2de7ff778b66: Waiting [2021-06-10T16:28:33.920Z] 9712f1f96733: Verifying Checksum [2021-06-10T16:28:33.920Z] 9712f1f96733: Download complete [2021-06-10T16:28:36.575Z] 63f879dbbcfc: Verifying Checksum [2021-06-10T16:28:36.575Z] 63f879dbbcfc: Download complete [2021-06-10T16:28:36.894Z] e9a5061849ea: Verifying Checksum [2021-06-10T16:28:36.894Z] e9a5061849ea: Download complete [2021-06-10T16:28:36.894Z] d747dcd14b5f: Download complete [2021-06-10T16:28:37.541Z] 2de7ff778b66: Verifying Checksum [2021-06-10T16:28:37.541Z] 2de7ff778b66: Download complete [2021-06-10T16:28:38.271Z] 0d9ebad4ef96: Verifying Checksum [2021-06-10T16:28:38.271Z] 0d9ebad4ef96: Download complete [2021-06-10T16:28:38.539Z] ab5ef0e58194: Verifying Checksum [2021-06-10T16:28:38.539Z] ab5ef0e58194: Download complete [2021-06-10T16:28:42.133Z] ab5ef0e58194: Pull complete [2021-06-10T16:28:42.133Z] 9712f1f96733: Pull complete [2021-06-10T16:28:42.472Z] 63f879dbbcfc: Pull complete [2021-06-10T16:28:46.864Z] 0d9ebad4ef96: Pull complete [2021-06-10T16:28:46.864Z] e9a5061849ea: Pull complete [2021-06-10T16:28:46.864Z] d747dcd14b5f: Pull complete [2021-06-10T16:28:47.476Z] 2de7ff778b66: Pull complete [2021-06-10T16:28:47.476Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-06-10T16:28:47.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-10T16:28:47.476Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-06-10T16:28:47.625Z] prd-centos7-docker-4c-2g-235 does not seem to be running inside a container [2021-06-10T16:28:47.827Z] $ 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-10T16:28:51.226Z] $ docker top 7cb575195431bc506717f66539aaa520cb7324e721866a74cb3766069204e1a0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-06-10T16:28:51.386Z] provisioning config files... [2021-06-10T16:28:51.413Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2208329232953678753tmp [2021-06-10T16:28:51.456Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config6186845094381986806tmp [2021-06-10T16:28:51.495Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config1672550176819538479tmp [Pipeline] { [Pipeline] echo [2021-06-10T16:28:51.546Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:28:52.026Z] ---> sigul-configuration.sh [2021-06-10T16:28:52.026Z] gpg: directory `/root/.gnupg' created [2021-06-10T16:28:52.026Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-06-10T16:28:52.026Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-06-10T16:28:52.026Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-06-10T16:28:52.026Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-06-10T16:28:52.026Z] gpg: CAST5 encrypted data [2021-06-10T16:28:52.026Z] gpg: encrypted with 1 passphrase [2021-06-10T16:28:52.026Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-06-10T16:28:52.400Z] + mkdir /home/jenkins [2021-06-10T16:28:52.400Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-06-10T16:28:52.759Z] + 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-10T16:28:52.771Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:28:53.117Z] ---> sigul-install.sh [2021-06-10T16:28:57.418Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-06-10T16:28:57.738Z] + git tag --list [2021-06-10T16:28:57.738Z] 0.7.1 [2021-06-10T16:28:57.738Z] v1.0.0 [2021-06-10T16:28:57.738Z] v1.1.0 [2021-06-10T16:28:57.738Z] v1.1.1 [2021-06-10T16:28:57.738Z] v1.2.2 [2021-06-10T16:28:57.738Z] v1.3.0 [2021-06-10T16:28:57.738Z] v1.3.1 [2021-06-10T16:28:57.738Z] v1.3.1-dev.1 [2021-06-10T16:28:57.738Z] v1.3.1-dev.2 [2021-06-10T16:28:57.738Z] v1.3.1-dev.3 [2021-06-10T16:28:57.738Z] v1.3.1-dev.4 [2021-06-10T16:28:57.738Z] v1.3.2-dev.1 [2021-06-10T16:28:57.738Z] v1.3.2-dev.10 [2021-06-10T16:28:57.738Z] v1.3.2-dev.11 [2021-06-10T16:28:57.738Z] v1.3.2-dev.12 [2021-06-10T16:28:57.738Z] v1.3.2-dev.13 [2021-06-10T16:28:57.738Z] v1.3.2-dev.14 [2021-06-10T16:28:57.738Z] v1.3.2-dev.15 [2021-06-10T16:28:57.738Z] v1.3.2-dev.16 [2021-06-10T16:28:57.738Z] v1.3.2-dev.17 [2021-06-10T16:28:57.738Z] v1.3.2-dev.18 [2021-06-10T16:28:57.738Z] v1.3.2-dev.19 [2021-06-10T16:28:57.738Z] v1.3.2-dev.2 [2021-06-10T16:28:57.738Z] v1.3.2-dev.20 [2021-06-10T16:28:57.738Z] v1.3.2-dev.3 [2021-06-10T16:28:57.738Z] v1.3.2-dev.4 [2021-06-10T16:28:57.738Z] v1.3.2-dev.5 [2021-06-10T16:28:57.738Z] v1.3.2-dev.6 [2021-06-10T16:28:57.738Z] v1.3.2-dev.7 [2021-06-10T16:28:57.738Z] v1.3.2-dev.8 [2021-06-10T16:28:57.738Z] v1.3.2-dev.9 [Pipeline] sh [2021-06-10T16:28:58.062Z] + lftools sign git-tag v1.3.2-dev.20 [2021-06-10T16:28:58.574Z] Signing Git tag with Sigul... [2021-06-10T16:28:58.574Z] Signing v1.3.2-dev.20 [Pipeline] echo [2021-06-10T16:28:59.773Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:29:00.100Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-06-10T16:29:00.113Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-06-10T16:29:00.145Z] $ docker stop --time=1 7cb575195431bc506717f66539aaa520cb7324e721866a74cb3766069204e1a0 [2021-06-10T16:29:01.785Z] $ docker rm -f 7cb575195431bc506717f66539aaa520cb7324e721866a74cb3766069204e1a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:29:02.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T16:29:02.528Z] . [Pipeline] withDockerContainer [2021-06-10T16:29:02.671Z] prd-centos7-docker-4c-2g-235 does not seem to be running inside a container [2021-06-10T16:29:02.728Z] $ 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-10T16:29:03.298Z] $ docker top f1c8a88ac0473313d2bbb7f78d624357a3e2408070fe028c85d2f00172ee17e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-10T16:29:03.457Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-10T16:29:03.457Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-10T16:29:03.588Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-10T16:29:03.592Z] $ docker exec f1c8a88ac0473313d2bbb7f78d624357a3e2408070fe028c85d2f00172ee17e7 ssh-agent [2021-06-10T16:29:03.726Z] SSH_AUTH_SOCK=/tmp/ssh-a5S4MKwzkujX/agent.14 [2021-06-10T16:29:03.726Z] SSH_AGENT_PID=21 [2021-06-10T16:29:03.737Z] Running ssh-add (command line suppressed) [2021-06-10T16:29:03.845Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4033816324915626792.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4033816324915626792.key) [2021-06-10T16:29:03.883Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-10T16:29:04.251Z] + git semver bump pre [2021-06-10T16:29:04.251Z] # -> Open(): unable to determine branch for HEAD [2021-06-10T16:29:04.251Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-06-10T16:29:04.251Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-06-10T16:29:04.251Z] # $SEMVER_REMOTE_NAME = origin [2021-06-10T16:29:04.251Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-10T16:29:04.251Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-10T16:29:04.251Z] # $SEMVER_BRANCH = master [2021-06-10T16:29:04.252Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-06-10T16:29:04.252Z] 1.3.2-dev.21 [Pipeline] } [2021-06-10T16:29:04.266Z] $ docker exec --env ******** --env ******** f1c8a88ac0473313d2bbb7f78d624357a3e2408070fe028c85d2f00172ee17e7 ssh-agent -k [2021-06-10T16:29:04.384Z] unset SSH_AUTH_SOCK; [2021-06-10T16:29:04.385Z] unset SSH_AGENT_PID; [2021-06-10T16:29:04.385Z] echo Agent pid 21 killed; [2021-06-10T16:29:04.421Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-10T16:29:04.823Z] + git semver [Pipeline] } [2021-06-10T16:29:04.851Z] $ docker stop --time=1 f1c8a88ac0473313d2bbb7f78d624357a3e2408070fe028c85d2f00172ee17e7 [2021-06-10T16:29:06.107Z] $ docker rm -f f1c8a88ac0473313d2bbb7f78d624357a3e2408070fe028c85d2f00172ee17e7 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:29:06.600Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T16:29:06.600Z] . [Pipeline] withDockerContainer [2021-06-10T16:29:06.744Z] prd-centos7-docker-4c-2g-235 does not seem to be running inside a container [2021-06-10T16:29:06.937Z] $ 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-10T16:29:07.454Z] $ docker top a9bdfa62ab118969bc0ac74ee42d73503cf244e178c03d26f43555b7aa4ebc1f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-10T16:29:07.629Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-10T16:29:07.629Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-10T16:29:07.766Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-10T16:29:07.766Z] $ docker exec a9bdfa62ab118969bc0ac74ee42d73503cf244e178c03d26f43555b7aa4ebc1f ssh-agent [2021-06-10T16:29:07.890Z] SSH_AUTH_SOCK=/tmp/ssh-mAR92mRSLEyR/agent.14 [2021-06-10T16:29:07.890Z] SSH_AGENT_PID=21 [2021-06-10T16:29:07.908Z] Running ssh-add (command line suppressed) [2021-06-10T16:29:08.012Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2633820119733962835.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2633820119733962835.key) [2021-06-10T16:29:08.085Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-10T16:29:08.507Z] + git semver push [2021-06-10T16:29:08.507Z] # -> Open(): unable to determine branch for HEAD [2021-06-10T16:29:08.507Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-06-10T16:29:08.507Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-06-10T16:29:08.507Z] # $SEMVER_REMOTE_NAME = origin [2021-06-10T16:29:08.507Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-10T16:29:08.507Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-10T16:29:08.507Z] # $SEMVER_BRANCH = master [2021-06-10T16:29:08.507Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-06-10T16:29:14.032Z] $ docker exec --env ******** --env ******** a9bdfa62ab118969bc0ac74ee42d73503cf244e178c03d26f43555b7aa4ebc1f ssh-agent -k [2021-06-10T16:29:14.139Z] unset SSH_AUTH_SOCK; [2021-06-10T16:29:14.139Z] unset SSH_AGENT_PID; [2021-06-10T16:29:14.139Z] echo Agent pid 21 killed; [2021-06-10T16:29:14.173Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-10T16:29:14.550Z] + git semver [Pipeline] } [2021-06-10T16:29:14.574Z] $ docker stop --time=1 a9bdfa62ab118969bc0ac74ee42d73503cf244e178c03d26f43555b7aa4ebc1f [2021-06-10T16:29:15.851Z] $ docker rm -f a9bdfa62ab118969bc0ac74ee42d73503cf244e178c03d26f43555b7aa4ebc1f [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-10T16:29:17.010Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:29:17.733Z] ---> package-listing.sh [2021-06-10T16:29:17.733Z] ++ facter osfamily [2021-06-10T16:29:17.733Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-10T16:29:17.733Z] + OS_FAMILY=redhat [2021-06-10T16:29:17.733Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_master [2021-06-10T16:29:17.733Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-10T16:29:17.733Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-10T16:29:17.733Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-10T16:29:17.733Z] + PACKAGES=/tmp/packages_start.txt [2021-06-10T16:29:17.733Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-06-10T16:29:17.733Z] + PACKAGES=/tmp/packages_end.txt [2021-06-10T16:29:17.733Z] + case "${OS_FAMILY}" in [2021-06-10T16:29:17.733Z] + rpm -qa [2021-06-10T16:29:17.733Z] + sort [2021-06-10T16:29:18.559Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-10T16:29:18.559Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-10T16:29:18.559Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-10T16:29:18.559Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-06-10T16:29:18.559Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [2021-06-10T16:29:18.559Z] + 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-10T16:29:18.565Z] 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-10T16:29:18.880Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:29:19.567Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T16:29:19.567Z] [2021-06-10T16:29:19.567Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-10T16:29:19.939Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T16:29:19.939Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-10T16:29:19.939Z] df20fa9351a1: Pulling fs layer [2021-06-10T16:29:19.939Z] 36b3adc4ff6f: Pulling fs layer [2021-06-10T16:29:19.939Z] 8ad3a11d3b57: Pulling fs layer [2021-06-10T16:29:19.939Z] 46f8f816bc3b: Pulling fs layer [2021-06-10T16:29:19.939Z] 93b61091891f: Pulling fs layer [2021-06-10T16:29:19.939Z] 93b9cdb0e59b: Pulling fs layer [2021-06-10T16:29:19.939Z] 5e14af77c1be: Pulling fs layer [2021-06-10T16:29:19.939Z] 01666e4c0597: Pulling fs layer [2021-06-10T16:29:19.939Z] aa168da1d23b: Pulling fs layer [2021-06-10T16:29:19.939Z] 46f8f816bc3b: Waiting [2021-06-10T16:29:19.939Z] 93b61091891f: Waiting [2021-06-10T16:29:19.939Z] 93b9cdb0e59b: Waiting [2021-06-10T16:29:19.939Z] 5e14af77c1be: Waiting [2021-06-10T16:29:19.939Z] 01666e4c0597: Waiting [2021-06-10T16:29:19.939Z] aa168da1d23b: Waiting [2021-06-10T16:29:20.241Z] 36b3adc4ff6f: Verifying Checksum [2021-06-10T16:29:20.241Z] 36b3adc4ff6f: Download complete [2021-06-10T16:29:20.241Z] 46f8f816bc3b: Verifying Checksum [2021-06-10T16:29:20.241Z] 46f8f816bc3b: Download complete [2021-06-10T16:29:20.241Z] df20fa9351a1: Verifying Checksum [2021-06-10T16:29:20.241Z] df20fa9351a1: Download complete [2021-06-10T16:29:20.241Z] 93b9cdb0e59b: Verifying Checksum [2021-06-10T16:29:20.241Z] 93b9cdb0e59b: Download complete [2021-06-10T16:29:20.241Z] 5e14af77c1be: Verifying Checksum [2021-06-10T16:29:20.241Z] 5e14af77c1be: Download complete [2021-06-10T16:29:20.546Z] 01666e4c0597: Verifying Checksum [2021-06-10T16:29:20.546Z] 01666e4c0597: Download complete [2021-06-10T16:29:20.546Z] df20fa9351a1: Pull complete [2021-06-10T16:29:20.546Z] 8ad3a11d3b57: Verifying Checksum [2021-06-10T16:29:20.546Z] 8ad3a11d3b57: Download complete [2021-06-10T16:29:20.546Z] 36b3adc4ff6f: Pull complete [2021-06-10T16:29:20.865Z] 93b61091891f: Verifying Checksum [2021-06-10T16:29:20.866Z] 93b61091891f: Download complete [2021-06-10T16:29:21.210Z] 8ad3a11d3b57: Pull complete [2021-06-10T16:29:21.210Z] 46f8f816bc3b: Pull complete [2021-06-10T16:29:21.607Z] 93b61091891f: Pull complete [2021-06-10T16:29:21.607Z] 93b9cdb0e59b: Pull complete [2021-06-10T16:29:21.607Z] 5e14af77c1be: Pull complete [2021-06-10T16:29:21.912Z] 01666e4c0597: Pull complete [2021-06-10T16:29:24.774Z] aa168da1d23b: Verifying Checksum [2021-06-10T16:29:24.774Z] aa168da1d23b: Download complete [2021-06-10T16:29:29.617Z] aa168da1d23b: Pull complete [2021-06-10T16:29:29.617Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-10T16:29:29.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T16:29:29.617Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-10T16:29:29.832Z] prd-centos7-docker-4c-2g-235 does not seem to be running inside a container [2021-06-10T16:29:29.954Z] $ 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-10T16:29:37.333Z] $ docker top 17466beea9a68aa3e77ba5d95c4bb02778b6b7029005f9e6820c797ac9447f29 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T16:29:37.802Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-10T16:29:38.620Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-10T16:29:39.009Z] + ls /var/log/sa-host [2021-06-10T16:29:39.009Z] + sadf -c /var/log/sa-host/sa05 [2021-06-10T16:29:39.009Z] file_magic: OK [2021-06-10T16:29:39.009Z] HZ: Using current value: 100 [2021-06-10T16:29:39.009Z] file_header: OK [2021-06-10T16:29:39.009Z] 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-10T16:29:39.009Z] Statistics: [2021-06-10T16:29:39.009Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-10T16:29:39.009Z] File successfully converted to sysstat format version 12.2.1 [2021-06-10T16:29:39.009Z] + sadf -c /var/log/sa-host/sa10 [2021-06-10T16:29:39.009Z] file_magic: OK [2021-06-10T16:29:39.009Z] HZ: Using current value: 100 [2021-06-10T16:29:39.009Z] file_header: OK [2021-06-10T16:29:39.009Z] 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-10T16:29:39.009Z] Statistics: [2021-06-10T16:29:39.009Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-10T16:29:39.009Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T16:29:39.222Z] provisioning config files... [2021-06-10T16:29:39.236Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config47209889166795129tmp [Pipeline] { [Pipeline] echo [2021-06-10T16:29:39.267Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:29:39.658Z] ---> create-netrc.sh [Pipeline] } [2021-06-10T16:29:39.672Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:29:40.132Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-10T16:29:40.183Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:29:40.604Z] ---> sudo-logs.sh [2021-06-10T16:29:40.604Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-10T16:29:40.678Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:29:41.055Z] ---> job-cost.sh [2021-06-10T16:29:41.055Z] lf-activate-venv: SKIPPING [2021-06-10T16:29:41.055Z] DEBUG: total: 0.18000000715255737 [2021-06-10T16:29:41.055Z] INFO: Retrieving Stack Cost... [2021-06-10T16:29:42.299Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-10T16:29:42.588Z] INFO: Archiving Costs [Pipeline] echo [2021-06-10T16:29:42.634Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T16:29:42.992Z] ---> logs-deploy.sh [2021-06-10T16:29:42.992Z] lf-activate-venv: SKIPPING [2021-06-10T16:29:42.992Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/52 [2021-06-10T16:29:42.992Z] INFO: archiving workspace using pattern(s): [2021-06-10T16:29:44.018Z] Archives upload complete. [2021-06-10T16:29:44.019Z] INFO: archiving logs to Nexus