Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 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-ssh3634576038249494121.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-ssh2145628534911572032.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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-ssh462445381479279768.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd # timeout=10 Commit message: "Merge pull request #338 from ernestojeda/add-latest-tag" > 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-ssh4024102083699773919.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-ssh6216089417112335236.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 ‘prd-centos7-docker-4c-2g-904’ is offline Running on prd-centos7-docker-4c-2g-908 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 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 (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-ssh5571964460769835482.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 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 # timeout=10 Commit message: "Merge pull request #267 from siggiskulason/snap-fix-v2" > git rev-list --no-walk c0141a04964c7f4d66f753227731f52f68418698 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-08T14:26:41.049Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-08T14:26:41.152Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-08T14:26:41.192Z] ========================================================= [2021-06-08T14:26:41.192Z] EdgeX Global Pipelines Version Info [2021-06-08T14:26:41.192Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:26:42.783Z] ------------------- [2021-06-08T14:26:42.783Z] stable info: [2021-06-08T14:26:42.783Z] ------------------- [2021-06-08T14:26:42.783Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-08T14:26:42.783Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-08T14:26:42.783Z] Message: update stable to v1.0.193 [2021-06-08T14:26:43.366Z] ------------------- [2021-06-08T14:26:43.366Z] experimental info: [2021-06-08T14:26:43.366Z] ------------------- [2021-06-08T14:26:43.366Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-08T14:26:43.366Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-08T14:26:43.366Z] Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-08T14:26:43.498Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-06-08T14:26:43.521Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-06-08T14:26:43.543Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-08T14:26:43.570Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-08T14:26:43.595Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-08T14:26:43.617Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-08T14:26:43.641Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-08T14:26:43.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-08T14:26:43.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-08T14:26:43.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-08T14:26:43.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-08T14:26:43.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-06-08T14:26:43.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-08T14:26:43.810Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-08T14:26:43.834Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-08T14:26:43.858Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-08T14:26:43.882Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-08T14:26:43.911Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-08T14:26:43.938Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-08T14:26:43.963Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-06-08T14:26:43.985Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-08T14:26:44.008Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-08T14:26:44.032Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-08T14:26:44.062Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-08T14:26:44.089Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-08T14:26:44.115Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-08T14:26:44.143Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-06-08T14:26:44.167Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-06-08T14:26:44.191Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-06-08T14:26:44.216Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 [Pipeline] echo [2021-06-08T14:26:44.240Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 364aaac [Pipeline] echo [2021-06-08T14:26:44.265Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T14:26:44.341Z] provisioning config files... [2021-06-08T14:26:44.356Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config4550031746096621137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:26:44.684Z] ---> docker-login.sh [2021-06-08T14:26:44.684Z] nexus3.edgexfoundry.org:10001 [2021-06-08T14:26:44.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:26:44.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:26:44.951Z] Configure a credential helper to remove this warning. See [2021-06-08T14:26:44.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:26:44.951Z] [2021-06-08T14:26:44.951Z] Login Succeeded [2021-06-08T14:26:44.951Z] nexus3.edgexfoundry.org:10002 [2021-06-08T14:26:44.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:26:44.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:26:44.951Z] Configure a credential helper to remove this warning. See [2021-06-08T14:26:44.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:26:44.951Z] [2021-06-08T14:26:44.951Z] Login Succeeded [2021-06-08T14:26:44.951Z] nexus3.edgexfoundry.org:10003 [2021-06-08T14:26:45.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:26:45.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:26:45.218Z] Configure a credential helper to remove this warning. See [2021-06-08T14:26:45.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:26:45.218Z] [2021-06-08T14:26:45.218Z] Login Succeeded [2021-06-08T14:26:45.218Z] nexus3.edgexfoundry.org:10004 [2021-06-08T14:26:45.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:26:45.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:26:45.218Z] Configure a credential helper to remove this warning. See [2021-06-08T14:26:45.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:26:45.218Z] [2021-06-08T14:26:45.218Z] Login Succeeded [2021-06-08T14:26:45.218Z] docker.io [2021-06-08T14:26:45.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:26:45.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:26:45.748Z] Configure a credential helper to remove this warning. See [2021-06-08T14:26:45.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:26:45.748Z] [2021-06-08T14:26:45.748Z] Login Succeeded [2021-06-08T14:26:45.748Z] ---> docker-login.sh ends [Pipeline] } [2021-06-08T14:26:45.759Z] 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-08T14:26:46.264Z] + git log --format=format:%s -1 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 [Pipeline] echo [2021-06-08T14:26:46.304Z] GIT_COMMIT: 364aaac6e8b1d39c25d77f1e456fe76b5cda0568, Commit Message: Merge pull request #267 from siggiskulason/snap-fix-v2 [Pipeline] echo [2021-06-08T14:26:46.317Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:26:46.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T14:26:46.926Z] [2021-06-08T14:26:46.926Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:26:47.251Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T14:26:47.251Z] latest: Pulling from edgex-devops/git-semver [2021-06-08T14:26:47.251Z] 31603596830f: Pulling fs layer [2021-06-08T14:26:47.251Z] 54011a49482f: Pulling fs layer [2021-06-08T14:26:47.251Z] a6820b24f6d8: Pulling fs layer [2021-06-08T14:26:47.251Z] f581987b2513: Pulling fs layer [2021-06-08T14:26:47.251Z] f581987b2513: Waiting [2021-06-08T14:26:47.251Z] 54011a49482f: Verifying Checksum [2021-06-08T14:26:47.251Z] 54011a49482f: Download complete [2021-06-08T14:26:47.522Z] 31603596830f: Verifying Checksum [2021-06-08T14:26:47.522Z] 31603596830f: Download complete [2021-06-08T14:26:47.522Z] f581987b2513: Verifying Checksum [2021-06-08T14:26:47.522Z] f581987b2513: Download complete [2021-06-08T14:26:47.522Z] 31603596830f: Pull complete [2021-06-08T14:26:47.789Z] a6820b24f6d8: Verifying Checksum [2021-06-08T14:26:47.789Z] a6820b24f6d8: Download complete [2021-06-08T14:26:47.789Z] 54011a49482f: Pull complete [2021-06-08T14:26:48.392Z] a6820b24f6d8: Pull complete [2021-06-08T14:26:48.392Z] f581987b2513: Pull complete [2021-06-08T14:26:48.392Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-08T14:26:48.392Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T14:26:48.659Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-08T14:26:48.744Z] prd-centos7-docker-4c-2g-908 does not seem to be running inside a container [2021-06-08T14:26:48.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-08T14:26:49.845Z] $ docker top 6d90eeeb278a72635290c41b2909ae5c6e56b4f8205dfe56577e801adedf4a56 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-08T14:26:49.988Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-08T14:26:49.988Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-08T14:26:50.101Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-08T14:26:50.094Z] $ docker exec 6d90eeeb278a72635290c41b2909ae5c6e56b4f8205dfe56577e801adedf4a56 ssh-agent [2021-06-08T14:26:50.216Z] SSH_AUTH_SOCK=/tmp/ssh-VOWd84srFedN/agent.14 [2021-06-08T14:26:50.216Z] SSH_AGENT_PID=21 [2021-06-08T14:26:50.228Z] Running ssh-add (command line suppressed) [2021-06-08T14:26:50.319Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6268833183773469751.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6268833183773469751.key) [2021-06-08T14:26:50.346Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-08T14:26:50.709Z] + git tag --points-at HEAD [Pipeline] } [2021-06-08T14:26:50.726Z] $ docker exec --env ******** --env ******** 6d90eeeb278a72635290c41b2909ae5c6e56b4f8205dfe56577e801adedf4a56 ssh-agent -k [2021-06-08T14:26:50.823Z] unset SSH_AUTH_SOCK; [2021-06-08T14:26:50.823Z] unset SSH_AGENT_PID; [2021-06-08T14:26:50.823Z] echo Agent pid 21 killed; [2021-06-08T14:26:50.855Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-08T14:26:50.893Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-08T14:26:50.893Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-08T14:26:51.010Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-08T14:26:51.002Z] $ docker exec 6d90eeeb278a72635290c41b2909ae5c6e56b4f8205dfe56577e801adedf4a56 ssh-agent [2021-06-08T14:26:51.164Z] SSH_AUTH_SOCK=/tmp/ssh-0gOoV1qsnDRg/agent.56 [2021-06-08T14:26:51.164Z] SSH_AGENT_PID=62 [2021-06-08T14:26:51.177Z] Running ssh-add (command line suppressed) [2021-06-08T14:26:51.319Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7561853692665921052.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7561853692665921052.key) [2021-06-08T14:26:51.365Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-08T14:26:51.718Z] + git semver init [2021-06-08T14:26:51.718Z] # -> Open(): unable to determine branch for HEAD [2021-06-08T14:26:51.718Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-06-08T14:26:51.718Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-06-08T14:26:51.718Z] # $SEMVER_REMOTE_NAME = origin [2021-06-08T14:26:51.718Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-08T14:26:51.718Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-08T14:26:51.718Z] # $SEMVER_BRANCH = master [2021-06-08T14:26:51.718Z] # $SEMVER_TEMP = /tmp/semver-073495892 [2021-06-08T14:26:51.718Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-06-08T14:26:52.353Z] # '/tmp/semver-073495892' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' [2021-06-08T14:26:52.353Z] # -> Force: false [2021-06-08T14:26:52.353Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-06-08T14:26:52.359Z] $ docker exec --env ******** --env ******** 6d90eeeb278a72635290c41b2909ae5c6e56b4f8205dfe56577e801adedf4a56 ssh-agent -k [2021-06-08T14:26:52.454Z] unset SSH_AUTH_SOCK; [2021-06-08T14:26:52.454Z] unset SSH_AGENT_PID; [2021-06-08T14:26:52.454Z] echo Agent pid 62 killed; [2021-06-08T14:26:52.484Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-08T14:26:52.913Z] + git semver [Pipeline] } [2021-06-08T14:26:52.926Z] $ docker stop --time=1 6d90eeeb278a72635290c41b2909ae5c6e56b4f8205dfe56577e801adedf4a56 [2021-06-08T14:26:54.167Z] $ docker rm -f 6d90eeeb278a72635290c41b2909ae5c6e56b4f8205dfe56577e801adedf4a56 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-08T14:26:54.590Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-08T14:26:55.052Z] Stashed 1 file(s) [Pipeline] echo [2021-06-08T14:26:55.056Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.19 [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-08T14:27:10.343Z] Still waiting to schedule task [2021-06-08T14:27:10.343Z] ‘prd-centos7-docker-4c-2g-909’ is offline [2021-06-08T14:27:10.346Z] Still waiting to schedule task [2021-06-08T14:27:10.346Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-906’ [2021-06-08T14:27:29.135Z] Running on prd-centos7-docker-4c-2g-910 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-06-08T14:27:29.159Z] Running in /w/workspace/device-mqtt-go/51 [Pipeline] { [Pipeline] checkout [2021-06-08T14:27:29.345Z] Selected Git installation does not exist. Using Default [2021-06-08T14:27:29.346Z] The recommended git tool is: NONE [2021-06-08T14:27:31.880Z] using credential edgex-jenkins-ssh [2021-06-08T14:27:31.896Z] Cloning the remote Git repository [2021-06-08T14:27:31.158Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-06-08T14:27:31.321Z] > git init /w/workspace/device-mqtt-go/51 # timeout=10 [2021-06-08T14:27:31.401Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-06-08T14:27:31.402Z] > git --version # timeout=10 [2021-06-08T14:27:31.410Z] > git --version # 'git version 2.24.4' [2021-06-08T14:27:31.410Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T14:27:31.437Z] [INFO] Currently running in a labeled security context [2021-06-08T14:27:31.437Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-08T14:27:31.437Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/51@tmp/jenkins-gitclient-ssh2212778201059202275.key [2021-06-08T14:27:31.456Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T14:27:32.728Z] Avoid second fetch [2021-06-08T14:27:32.729Z] Checking out Revision 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 (master) [2021-06-08T14:27:32.024Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-06-08T14:27:32.031Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T14:27:32.051Z] > git config core.sparsecheckout # timeout=10 [2021-06-08T14:27:32.057Z] > git checkout -f 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 # timeout=10 [2021-06-08T14:27:36.180Z] Commit message: "Merge pull request #267 from siggiskulason/snap-fix-v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-08T14:27:37.250Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-08T14:27:37.574Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-08T14:27:37.874Z] + sudo service docker restart [2021-06-08T14:27:37.874Z] + true [2021-06-08T14:27:37.874Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T14:27:56.069Z] provisioning config files... [2021-06-08T14:27:56.082Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/51@tmp/config3456196240609054816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:27:56.406Z] ---> docker-login.sh [2021-06-08T14:27:56.406Z] nexus3.edgexfoundry.org:10001 [2021-06-08T14:27:56.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:27:56.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:27:56.670Z] Configure a credential helper to remove this warning. See [2021-06-08T14:27:56.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:27:56.670Z] [2021-06-08T14:27:56.670Z] Login Succeeded [2021-06-08T14:27:56.670Z] nexus3.edgexfoundry.org:10002 [2021-06-08T14:27:56.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:27:56.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:27:56.670Z] Configure a credential helper to remove this warning. See [2021-06-08T14:27:56.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:27:56.670Z] [2021-06-08T14:27:56.670Z] Login Succeeded [2021-06-08T14:27:56.670Z] nexus3.edgexfoundry.org:10003 [2021-06-08T14:27:56.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:27:56.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:27:56.933Z] Configure a credential helper to remove this warning. See [2021-06-08T14:27:56.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:27:56.933Z] [2021-06-08T14:27:56.933Z] Login Succeeded [2021-06-08T14:27:56.933Z] nexus3.edgexfoundry.org:10004 [2021-06-08T14:27:56.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:27:56.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:27:56.933Z] Configure a credential helper to remove this warning. See [2021-06-08T14:27:56.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:27:56.933Z] [2021-06-08T14:27:56.933Z] Login Succeeded [2021-06-08T14:27:56.933Z] docker.io [2021-06-08T14:27:57.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:27:57.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:27:57.458Z] Configure a credential helper to remove this warning. See [2021-06-08T14:27:57.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:27:57.458Z] [2021-06-08T14:27:57.458Z] Login Succeeded [2021-06-08T14:27:57.458Z] ---> docker-login.sh ends [Pipeline] } [2021-06-08T14:27:57.467Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-08T14:27:57.622Z] ========================================================= [2021-06-08T14:27:57.622Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-08T14:27:57.622Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:27:57.943Z] + 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-08T14:27:57.943Z] Sending build context to Docker daemon 588.3kB [2021-06-08T14:27:57.943Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T14:27:57.943Z] Step 2/8 : FROM ${BASE} [2021-06-08T14:27:57.943Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-08T14:27:57.943Z] 540db60ca938: Pulling fs layer [2021-06-08T14:27:57.943Z] adcc1eea9eea: Pulling fs layer [2021-06-08T14:27:57.943Z] 4c4ab2625f07: Pulling fs layer [2021-06-08T14:27:57.943Z] 0510c868ecb4: Pulling fs layer [2021-06-08T14:27:57.943Z] afea3b2eda06: Pulling fs layer [2021-06-08T14:27:57.943Z] 7809a108b3ef: Pulling fs layer [2021-06-08T14:27:57.943Z] f706445af74f: Pulling fs layer [2021-06-08T14:27:57.943Z] 0510c868ecb4: Waiting [2021-06-08T14:27:57.943Z] afea3b2eda06: Waiting [2021-06-08T14:27:57.943Z] 7809a108b3ef: Waiting [2021-06-08T14:27:57.943Z] f706445af74f: Waiting [2021-06-08T14:27:58.204Z] 4c4ab2625f07: Verifying Checksum [2021-06-08T14:27:58.204Z] 4c4ab2625f07: Download complete [2021-06-08T14:27:58.204Z] adcc1eea9eea: Verifying Checksum [2021-06-08T14:27:58.204Z] adcc1eea9eea: Download complete [2021-06-08T14:27:58.204Z] afea3b2eda06: Verifying Checksum [2021-06-08T14:27:58.204Z] afea3b2eda06: Download complete [2021-06-08T14:27:58.204Z] 7809a108b3ef: Verifying Checksum [2021-06-08T14:27:58.204Z] 7809a108b3ef: Download complete [2021-06-08T14:27:58.204Z] 540db60ca938: Verifying Checksum [2021-06-08T14:27:58.204Z] 540db60ca938: Download complete [2021-06-08T14:27:58.467Z] 540db60ca938: Pull complete [2021-06-08T14:27:58.467Z] adcc1eea9eea: Pull complete [2021-06-08T14:27:58.467Z] 4c4ab2625f07: Pull complete [2021-06-08T14:27:59.853Z] f706445af74f: Verifying Checksum [2021-06-08T14:27:59.853Z] f706445af74f: Download complete [2021-06-08T14:28:01.779Z] 0510c868ecb4: Verifying Checksum [2021-06-08T14:28:01.779Z] 0510c868ecb4: Download complete [2021-06-08T14:28:05.108Z] 0510c868ecb4: Pull complete [2021-06-08T14:28:05.108Z] afea3b2eda06: Pull complete [2021-06-08T14:28:05.108Z] 7809a108b3ef: Pull complete [2021-06-08T14:28:06.509Z] f706445af74f: Pull complete [2021-06-08T14:28:06.509Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-08T14:28:06.509Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-08T14:28:06.509Z] ---> b068be0155e3 [2021-06-08T14:28:06.509Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-08T14:28:10.718Z] ---> Running in 4ae9d6a387db [2021-06-08T14:28:10.718Z] Removing intermediate container 4ae9d6a387db [2021-06-08T14:28:10.718Z] ---> 7d01bf0f0561 [2021-06-08T14:28:10.718Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T14:28:10.718Z] ---> Running in 00c910dafcd1 [2021-06-08T14:28:10.718Z] Removing intermediate container 00c910dafcd1 [2021-06-08T14:28:10.718Z] ---> bac83db65cda [2021-06-08T14:28:10.718Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-08T14:28:10.718Z] ---> Running in c264733a4dc2 [2021-06-08T14:28:10.979Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-08T14:28:11.951Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-08T14:28:12.212Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-08T14:28:12.474Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-08T14:28:13.046Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-08T14:28:13.307Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-08T14:28:13.307Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-08T14:28:13.307Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-08T14:28:13.567Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-08T14:28:13.827Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-08T14:28:13.828Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-08T14:28:14.091Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-08T14:28:14.091Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-08T14:28:14.091Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-08T14:28:14.350Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-08T14:28:14.350Z] Executing busybox-1.32.1-r6.trigger [2021-06-08T14:28:14.350Z] OK: 156 MiB in 53 packages [2021-06-08T14:28:14.924Z] Removing intermediate container c264733a4dc2 [2021-06-08T14:28:14.925Z] ---> 0f64363e89fa [2021-06-08T14:28:14.925Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-06-08T14:28:14.925Z] ---> Running in 7df5c8c5bb6c [2021-06-08T14:28:14.925Z] Removing intermediate container 7df5c8c5bb6c [2021-06-08T14:28:14.925Z] ---> c5216e8d6fb0 [2021-06-08T14:28:14.925Z] Step 7/8 : COPY . . [2021-06-08T14:28:15.194Z] ---> 2e72449a6b8a [2021-06-08T14:28:15.194Z] Step 8/8 : RUN go mod download [2021-06-08T14:28:15.194Z] ---> Running in 193c4bef4433 [2021-06-08T14:28:27.444Z] Removing intermediate container 193c4bef4433 [2021-06-08T14:28:27.444Z] ---> 4a872342b7d5 [2021-06-08T14:28:27.444Z] Successfully built 4a872342b7d5 [2021-06-08T14:28:27.444Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:28:27.749Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-08T14:28:27.749Z] . [Pipeline] withDockerContainer [2021-06-08T14:28:27.832Z] prd-centos7-docker-4c-2g-910 does not seem to be running inside a container [2021-06-08T14:28:27.873Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/51 -v /w/workspace/device-mqtt-go/51:/w/workspace/device-mqtt-go/51:rw,z -v /w/workspace/device-mqtt-go/51@tmp:/w/workspace/device-mqtt-go/51@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-08T14:28:28.269Z] $ docker top df620cb069cd6480a7ebce7cd5f1d7ac035b5efe9d6a87896477e926338d62cd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T14:28:28.639Z] + go version [2021-06-08T14:28:28.639Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-08T14:28:28.661Z] $ docker stop --time=1 df620cb069cd6480a7ebce7cd5f1d7ac035b5efe9d6a87896477e926338d62cd [2021-06-08T14:28:29.836Z] $ docker rm -f df620cb069cd6480a7ebce7cd5f1d7ac035b5efe9d6a87896477e926338d62cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:28:30.453Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-08T14:28:30.453Z] . [Pipeline] withDockerContainer [2021-06-08T14:28:30.542Z] prd-centos7-docker-4c-2g-910 does not seem to be running inside a container [2021-06-08T14:28:30.588Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/51 -v /w/workspace/device-mqtt-go/51:/w/workspace/device-mqtt-go/51:rw,z -v /w/workspace/device-mqtt-go/51@tmp:/w/workspace/device-mqtt-go/51@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-08T14:28:30.928Z] $ docker top fa41703f8c72a5d2834b44f7a802b31016d86c5ae86d4050d1e277c58e6845c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T14:28:31.324Z] + go mod tidy [Pipeline] sh [2021-06-08T14:28:31.890Z] + make test [2021-06-08T14:28:31.890Z] go mod tidy [2021-06-08T14:28:31.890Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-08T14:28:32.483Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-06-08T14:28:47.510Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-06-08T14:28:48.931Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 23.0% of statements [2021-06-08T14:28:48.931Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-06-08T14:28:48.931Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-08T14:28:55.575Z] gofmt -l . [2021-06-08T14:28:55.575Z] ["`gofmt -l .`" = ""] [2021-06-08T14:28:55.575Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-08T14:28:55.849Z] $ docker stop --time=1 fa41703f8c72a5d2834b44f7a802b31016d86c5ae86d4050d1e277c58e6845c6 [2021-06-08T14:28:57.262Z] $ docker rm -f fa41703f8c72a5d2834b44f7a802b31016d86c5ae86d4050d1e277c58e6845c6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-08T14:28:57.664Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-08T14:28:57.853Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-08T14:29:00.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-08T14:29:00.694Z] + ls -al . [2021-06-08T14:29:00.694Z] total 108 [2021-06-08T14:29:00.694Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jun 8 14:28 . [2021-06-08T14:29:00.694Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 8 14:27 .. [2021-06-08T14:29:00.694Z] -rw-rw-r--. 1 jenkins jenkins 7100 Jun 8 14:27 Attribution.txt [2021-06-08T14:29:00.694Z] drwxrwxr-x. 2 jenkins jenkins 60 Jun 8 14:27 bin [2021-06-08T14:29:00.694Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 8 14:27 cmd [2021-06-08T14:29:00.694Z] -rw-r--r--. 1 jenkins jenkins 19385 Jun 8 14:28 coverage.out [2021-06-08T14:29:00.694Z] -rw-rw-r--. 1 jenkins jenkins 1877 Jun 8 14:27 Dockerfile [2021-06-08T14:29:00.694Z] -rw-rw-r--. 1 jenkins jenkins 994 Jun 8 14:27 Dockerfile.build [2021-06-08T14:29:00.694Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 8 14:27 .dockerignore [2021-06-08T14:29:00.694Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 8 14:27 .git [2021-06-08T14:29:00.694Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 8 14:27 .github [2021-06-08T14:29:00.694Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 8 14:27 .gitignore [2021-06-08T14:29:00.694Z] -rw-rw-r--. 1 jenkins jenkins 409 Jun 8 14:27 go.mod [2021-06-08T14:29:00.694Z] -rw-r--r--. 1 jenkins jenkins 20960 Jun 8 14:28 go.sum [2021-06-08T14:29:00.694Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 8 14:27 internal [2021-06-08T14:29:00.694Z] -rw-rw-r--. 1 jenkins jenkins 677 Jun 8 14:27 Jenkinsfile [2021-06-08T14:29:00.694Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 8 14:27 LICENSE [2021-06-08T14:29:00.694Z] -rw-rw-r--. 1 jenkins jenkins 907 Jun 8 14:27 Makefile [2021-06-08T14:29:00.694Z] drwxrwxr-x. 2 jenkins jenkins 23 Jun 8 14:27 mock [2021-06-08T14:29:00.694Z] -rw-rw-r--. 1 jenkins jenkins 2217 Jun 8 14:27 README.md [2021-06-08T14:29:00.694Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 8 14:27 snap [2021-06-08T14:29:00.694Z] -rw-rw-r--. 1 jenkins jenkins 12 Jun 8 14:26 VERSION [2021-06-08T14:29:00.694Z] -rw-rw-r--. 1 jenkins jenkins 227 Jun 8 14:27 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:00.998Z] + 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=364aaac6e8b1d39c25d77f1e456fe76b5cda0568 --label arch=amd64 --label version=1.3.2-dev.19 . [2021-06-08T14:29:00.998Z] Sending build context to Docker daemon 608.3kB [2021-06-08T14:29:00.998Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T14:29:00.998Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-08T14:29:00.998Z] ---> 4a872342b7d5 [2021-06-08T14:29:00.998Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-08T14:29:00.998Z] ---> Running in 7d842c59364a [2021-06-08T14:29:00.998Z] Removing intermediate container 7d842c59364a [2021-06-08T14:29:00.998Z] ---> f165b62ce18d [2021-06-08T14:29:00.998Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-08T14:29:01.262Z] ---> Running in 9be00424c7fc [2021-06-08T14:29:01.262Z] Removing intermediate container 9be00424c7fc [2021-06-08T14:29:01.262Z] ---> 859a229a07d3 [2021-06-08T14:29:01.262Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T14:29:01.262Z] ---> Running in 6bf23908f22f [2021-06-08T14:29:01.839Z] Removing intermediate container 6bf23908f22f [2021-06-08T14:29:01.839Z] ---> 12ddc6dbb731 [2021-06-08T14:29:01.839Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-08T14:29:01.839Z] ---> Running in 47a6b0391d19 [2021-06-08T14:29:02.107Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-08T14:29:02.719Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-08T14:29:03.670Z] OK: 156 MiB in 53 packages [2021-06-08T14:29:03.670Z] Removing intermediate container 47a6b0391d19 [2021-06-08T14:29:03.670Z] ---> 719ee0a8e738 [2021-06-08T14:29:03.670Z] Step 7/24 : WORKDIR /device-mqtt-go [2021-06-08T14:29:03.670Z] ---> Running in 024eb211eaa4 [2021-06-08T14:29:03.933Z] Removing intermediate container 024eb211eaa4 [2021-06-08T14:29:03.933Z] ---> 42112bdbdd59 [2021-06-08T14:29:03.933Z] Step 8/24 : COPY . . [2021-06-08T14:29:04.196Z] ---> 61e4f68c2dc3 [2021-06-08T14:29:04.196Z] Step 9/24 : RUN go mod tidy [2021-06-08T14:29:04.196Z] ---> Running in c43434213e86 [2021-06-08T14:29:04.769Z] Removing intermediate container c43434213e86 [2021-06-08T14:29:04.769Z] ---> a0184d115351 [2021-06-08T14:29:04.769Z] Step 10/24 : RUN go mod download [2021-06-08T14:29:04.769Z] ---> Running in 46926d9bf207 [2021-06-08T14:29:05.341Z] Removing intermediate container 46926d9bf207 [2021-06-08T14:29:05.342Z] ---> 7c210371dbc9 [2021-06-08T14:29:05.342Z] Step 11/24 : ARG MAKE='make build' [2021-06-08T14:29:05.342Z] ---> Running in c94d4f595862 [2021-06-08T14:29:05.342Z] Removing intermediate container c94d4f595862 [2021-06-08T14:29:05.342Z] ---> f3d4effacb53 [2021-06-08T14:29:05.342Z] Step 12/24 : RUN $MAKE [2021-06-08T14:29:05.342Z] ---> Running in a0f400979e04 [2021-06-08T14:29:05.608Z] go mod tidy [2021-06-08T14:29:05.878Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.19" -o cmd/device-mqtt ./cmd [2021-06-08T14:29:18.217Z] Removing intermediate container a0f400979e04 [2021-06-08T14:29:18.217Z] ---> d019500884c2 [2021-06-08T14:29:18.217Z] Step 13/24 : FROM alpine:3.12 [2021-06-08T14:29:18.217Z] 3.12: Pulling from library/alpine [2021-06-08T14:29:18.217Z] 339de151aab4: Pulling fs layer [2021-06-08T14:29:18.217Z] 339de151aab4: Verifying Checksum [2021-06-08T14:29:18.217Z] 339de151aab4: Download complete [2021-06-08T14:29:18.217Z] 339de151aab4: Pull complete [2021-06-08T14:29:18.217Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-08T14:29:18.217Z] Status: Downloaded newer image for alpine:3.12 [2021-06-08T14:29:18.217Z] ---> 13621d1b12d4 [2021-06-08T14:29:18.217Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-06-08T14:29:18.217Z] ---> Running in f6c68e851fad [2021-06-08T14:29:18.217Z] Removing intermediate container f6c68e851fad [2021-06-08T14:29:18.217Z] ---> 1ee55f2aa270 [2021-06-08T14:29:18.217Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-08T14:29:18.217Z] ---> Running in fcb12e7f4f8e [2021-06-08T14:29:18.479Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-08T14:29:18.479Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-08T14:29:18.479Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-08T14:29:18.479Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-08T14:29:18.479Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-08T14:29:18.479Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-08T14:29:18.479Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-08T14:29:18.741Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-08T14:29:18.741Z] Executing busybox-1.31.1-r20.trigger [2021-06-08T14:29:18.741Z] OK: 8 MiB in 20 packages [2021-06-08T14:29:19.003Z] Removing intermediate container fcb12e7f4f8e [2021-06-08T14:29:19.003Z] ---> 0d3063f8a210 [2021-06-08T14:29:19.003Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2021-06-08T14:29:19.265Z] ---> bc516b3af3e1 [2021-06-08T14:29:19.265Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-06-08T14:29:19.265Z] ---> 48b02dbcae11 [2021-06-08T14:29:19.265Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-06-08T14:29:19.531Z] ---> 2b165e67b650 [2021-06-08T14:29:19.531Z] Step 19/24 : EXPOSE 59982 [2021-06-08T14:29:19.531Z] ---> Running in a533ee37d064 [2021-06-08T14:29:19.531Z] Removing intermediate container a533ee37d064 [2021-06-08T14:29:19.531Z] ---> 82ada098f51f [2021-06-08T14:29:19.531Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2021-06-08T14:29:19.531Z] ---> Running in 8cfc4e60a3db [2021-06-08T14:29:19.794Z] Removing intermediate container 8cfc4e60a3db [2021-06-08T14:29:19.794Z] ---> 1a81649d1cee [2021-06-08T14:29:19.794Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-08T14:29:19.794Z] ---> Running in 1c44f6cd7c45 [2021-06-08T14:29:19.794Z] Removing intermediate container 1c44f6cd7c45 [2021-06-08T14:29:19.794Z] ---> e8063f215489 [2021-06-08T14:29:19.794Z] Step 22/24 : LABEL arch=amd64 [2021-06-08T14:29:19.794Z] ---> Running in 1cb7530b57b0 [2021-06-08T14:29:19.795Z] Removing intermediate container 1cb7530b57b0 [2021-06-08T14:29:19.795Z] ---> a7bd82a08a72 [2021-06-08T14:29:19.795Z] Step 23/24 : LABEL git_sha=364aaac6e8b1d39c25d77f1e456fe76b5cda0568 [2021-06-08T14:29:20.057Z] ---> Running in 7c8eb67b4e17 [2021-06-08T14:29:20.057Z] Removing intermediate container 7c8eb67b4e17 [2021-06-08T14:29:20.057Z] ---> 535ca3bd8aa6 [2021-06-08T14:29:20.057Z] Step 24/24 : LABEL version=1.3.2-dev.19 [2021-06-08T14:29:20.057Z] ---> Running in e79d7c6d7da7 [2021-06-08T14:29:20.057Z] Removing intermediate container e79d7c6d7da7 [2021-06-08T14:29:20.057Z] ---> 671a6cbf0aa2 [2021-06-08T14:29:20.057Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-08T14:29:20.057Z] Successfully built 671a6cbf0aa2 [2021-06-08T14:29:20.057Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T14:29:20.309Z] provisioning config files... [2021-06-08T14:29:20.325Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/51@tmp/config3549630980161489238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:29:20.656Z] ---> docker-login.sh [2021-06-08T14:29:20.657Z] nexus3.edgexfoundry.org:10001 [2021-06-08T14:29:20.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:29:20.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:29:20.657Z] Configure a credential helper to remove this warning. See [2021-06-08T14:29:20.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:29:20.657Z] [2021-06-08T14:29:20.657Z] Login Succeeded [2021-06-08T14:29:20.657Z] nexus3.edgexfoundry.org:10002 [2021-06-08T14:29:20.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:29:20.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:29:20.921Z] Configure a credential helper to remove this warning. See [2021-06-08T14:29:20.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:29:20.921Z] [2021-06-08T14:29:20.921Z] Login Succeeded [2021-06-08T14:29:20.921Z] nexus3.edgexfoundry.org:10003 [2021-06-08T14:29:20.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:29:20.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:29:20.921Z] Configure a credential helper to remove this warning. See [2021-06-08T14:29:20.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:29:20.921Z] [2021-06-08T14:29:20.921Z] Login Succeeded [2021-06-08T14:29:20.921Z] nexus3.edgexfoundry.org:10004 [2021-06-08T14:29:20.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:29:21.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:29:21.182Z] Configure a credential helper to remove this warning. See [2021-06-08T14:29:21.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:29:21.182Z] [2021-06-08T14:29:21.182Z] Login Succeeded [2021-06-08T14:29:21.182Z] docker.io [2021-06-08T14:29:21.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:29:21.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:29:21.467Z] Configure a credential helper to remove this warning. See [2021-06-08T14:29:21.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:29:21.467Z] [2021-06-08T14:29:21.467Z] Login Succeeded [2021-06-08T14:29:21.467Z] ---> docker-login.sh ends [Pipeline] } [2021-06-08T14:29:21.478Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-08T14:29:21.545Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2021-06-08T14:29:21.545Z] 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 [2021-06-08T14:29:21.545Z] latest [2021-06-08T14:29:21.545Z] 1.3.2-dev.19 [2021-06-08T14:29:21.545Z] 364aaac6e8b1d39c25d77f1e456fe76b5cda0568-1.3.2-dev.19 [2021-06-08T14:29:21.545Z] master [2021-06-08T14:29:21.545Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:21.911Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:364aaac6e8b1d39c25d77f1e456fe76b5cda0568 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:22.233Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:364aaac6e8b1d39c25d77f1e456fe76b5cda0568 [2021-06-08T14:29:22.233Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-08T14:29:22.233Z] eb67cae985b1: Preparing [2021-06-08T14:29:22.233Z] 6b4a368f0828: Preparing [2021-06-08T14:29:22.233Z] d78d52fc27a4: Preparing [2021-06-08T14:29:22.233Z] b2c4f13ea4a9: Preparing [2021-06-08T14:29:22.233Z] 32f366d666a5: Preparing [2021-06-08T14:29:22.233Z] 32f366d666a5: Layer already exists [2021-06-08T14:29:22.497Z] eb67cae985b1: Pushed [2021-06-08T14:29:22.757Z] 6b4a368f0828: Pushed [2021-06-08T14:29:22.757Z] b2c4f13ea4a9: Pushed [2021-06-08T14:29:23.702Z] d78d52fc27a4: Pushed [2021-06-08T14:29:23.702Z] 364aaac6e8b1d39c25d77f1e456fe76b5cda0568: digest: sha256:fda2be99843260be8b5a9328524c2a49c6dd3c1aa4c1dc4059dc1be1d4ffbf79 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:24.008Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:24.315Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-06-08T14:29:24.316Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-08T14:29:24.316Z] eb67cae985b1: Preparing [2021-06-08T14:29:24.316Z] 6b4a368f0828: Preparing [2021-06-08T14:29:24.316Z] d78d52fc27a4: Preparing [2021-06-08T14:29:24.316Z] b2c4f13ea4a9: Preparing [2021-06-08T14:29:24.316Z] 32f366d666a5: Preparing [2021-06-08T14:29:24.316Z] 6b4a368f0828: Layer already exists [2021-06-08T14:29:24.316Z] d78d52fc27a4: Layer already exists [2021-06-08T14:29:24.316Z] eb67cae985b1: Layer already exists [2021-06-08T14:29:24.316Z] b2c4f13ea4a9: Layer already exists [2021-06-08T14:29:24.316Z] 32f366d666a5: Layer already exists [2021-06-08T14:29:24.316Z] latest: digest: sha256:fda2be99843260be8b5a9328524c2a49c6dd3c1aa4c1dc4059dc1be1d4ffbf79 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:24.622Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.19 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:24.919Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.19 [2021-06-08T14:29:24.920Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-08T14:29:24.920Z] eb67cae985b1: Preparing [2021-06-08T14:29:24.920Z] 6b4a368f0828: Preparing [2021-06-08T14:29:24.920Z] d78d52fc27a4: Preparing [2021-06-08T14:29:24.920Z] b2c4f13ea4a9: Preparing [2021-06-08T14:29:24.920Z] 32f366d666a5: Preparing [2021-06-08T14:29:24.920Z] 32f366d666a5: Layer already exists [2021-06-08T14:29:24.920Z] d78d52fc27a4: Layer already exists [2021-06-08T14:29:24.920Z] b2c4f13ea4a9: Layer already exists [2021-06-08T14:29:24.920Z] eb67cae985b1: Layer already exists [2021-06-08T14:29:24.920Z] 6b4a368f0828: Layer already exists [2021-06-08T14:29:24.920Z] 1.3.2-dev.19: digest: sha256:fda2be99843260be8b5a9328524c2a49c6dd3c1aa4c1dc4059dc1be1d4ffbf79 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:25.229Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:364aaac6e8b1d39c25d77f1e456fe76b5cda0568-1.3.2-dev.19 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:25.531Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:364aaac6e8b1d39c25d77f1e456fe76b5cda0568-1.3.2-dev.19 [2021-06-08T14:29:25.531Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-08T14:29:25.531Z] eb67cae985b1: Preparing [2021-06-08T14:29:25.531Z] 6b4a368f0828: Preparing [2021-06-08T14:29:25.531Z] d78d52fc27a4: Preparing [2021-06-08T14:29:25.531Z] b2c4f13ea4a9: Preparing [2021-06-08T14:29:25.531Z] 32f366d666a5: Preparing [2021-06-08T14:29:25.531Z] 6b4a368f0828: Layer already exists [2021-06-08T14:29:25.531Z] d78d52fc27a4: Layer already exists [2021-06-08T14:29:25.531Z] 32f366d666a5: Layer already exists [2021-06-08T14:29:25.531Z] b2c4f13ea4a9: Layer already exists [2021-06-08T14:29:25.531Z] eb67cae985b1: Layer already exists [2021-06-08T14:29:25.531Z] 364aaac6e8b1d39c25d77f1e456fe76b5cda0568-1.3.2-dev.19: digest: sha256:fda2be99843260be8b5a9328524c2a49c6dd3c1aa4c1dc4059dc1be1d4ffbf79 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:25.840Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:29:26.163Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:master [2021-06-08T14:29:26.163Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-08T14:29:26.163Z] eb67cae985b1: Preparing [2021-06-08T14:29:26.163Z] 6b4a368f0828: Preparing [2021-06-08T14:29:26.163Z] d78d52fc27a4: Preparing [2021-06-08T14:29:26.163Z] b2c4f13ea4a9: Preparing [2021-06-08T14:29:26.163Z] 32f366d666a5: Preparing [2021-06-08T14:29:26.163Z] d78d52fc27a4: Layer already exists [2021-06-08T14:29:26.163Z] 6b4a368f0828: Layer already exists [2021-06-08T14:29:26.163Z] eb67cae985b1: Layer already exists [2021-06-08T14:29:26.163Z] b2c4f13ea4a9: Layer already exists [2021-06-08T14:29:26.163Z] 32f366d666a5: Layer already exists [2021-06-08T14:29:26.163Z] master: digest: sha256:fda2be99843260be8b5a9328524c2a49c6dd3c1aa4c1dc4059dc1be1d4ffbf79 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-08T14:29:26.296Z] ===================================================== [Pipeline] echo [2021-06-08T14:29:26.313Z] taggedImages: [2021-06-08T14:29:26.313Z] - nexus3.edgexfoundry.org:10004/device-mqtt:364aaac6e8b1d39c25d77f1e456fe76b5cda0568 [2021-06-08T14:29:26.313Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-06-08T14:29:26.313Z] - nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.19 [2021-06-08T14:29:26.313Z] - nexus3.edgexfoundry.org:10004/device-mqtt:364aaac6e8b1d39c25d77f1e456fe76b5cda0568-1.3.2-dev.19 [2021-06-08T14:29:26.313Z] - 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-08T14:29:27.101Z] ---> job-cost.sh [2021-06-08T14:29:27.101Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1sMW [2021-06-08T14:29:35.249Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-08T14:29:50.187Z] lf-activate-venv(): INFO: Adding /tmp/venv-1sMW/bin to PATH [2021-06-08T14:29:50.187Z] INFO: No Stack... [2021-06-08T14:29:50.187Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-08T14:29:50.187Z] INFO: Archiving Costs [Pipeline] sh [2021-06-08T14:29:50.491Z] + cut -d, -f6 [2021-06-08T14:29:50.491Z] + cat /w/workspace/device-mqtt-go/51/archives/cost.csv [Pipeline] lock [2021-06-08T14:29:50.518Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-51-stack-cost] [2021-06-08T14:29:50.539Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-51-stack-cost] did not exist. Created. [2021-06-08T14:29:50.539Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-08T14:29:50.862Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-08T14:29:50.933Z] Stashed 1 file(s) [Pipeline] } [2021-06-08T14:29:50.944Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-51-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-08T14:29:59.348Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-912 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-06-08T14:29:59.365Z] Running in /w/workspace/device-mqtt-go/51 [Pipeline] { [Pipeline] checkout [2021-06-08T14:29:59.583Z] Selected Git installation does not exist. Using Default [2021-06-08T14:29:59.583Z] The recommended git tool is: NONE [2021-06-08T14:30:05.008Z] using credential edgex-jenkins-ssh [2021-06-08T14:30:05.025Z] Cloning the remote Git repository [2021-06-08T14:30:05.067Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-06-08T14:30:05.180Z] > git init /w/workspace/device-mqtt-go/51 # timeout=10 [2021-06-08T14:30:05.264Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-06-08T14:30:05.264Z] > git --version # timeout=10 [2021-06-08T14:30:05.277Z] > git --version # 'git version 2.17.1' [2021-06-08T14:30:05.279Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-08T14:30:05.354Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T14:30:08.159Z] Avoid second fetch [2021-06-08T14:30:08.160Z] Checking out Revision 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 (master) [2021-06-08T14:30:08.108Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-06-08T14:30:08.135Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-08T14:30:08.176Z] > git config core.sparsecheckout # timeout=10 [2021-06-08T14:30:08.187Z] > git checkout -f 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 # timeout=10 [2021-06-08T14:30:12.394Z] Commit message: "Merge pull request #267 from siggiskulason/snap-fix-v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-08T14:30:13.648Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-08T14:30:14.060Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-08T14:30:14.458Z] + + sudotrue service [2021-06-08T14:30:14.458Z] docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T14:30:32.792Z] provisioning config files... [2021-06-08T14:30:32.817Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/51@tmp/config8791828306945463955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:30:33.188Z] ---> docker-login.sh [2021-06-08T14:30:33.188Z] nexus3.edgexfoundry.org:10001 [2021-06-08T14:30:34.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:30:34.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:30:34.443Z] Configure a credential helper to remove this warning. See [2021-06-08T14:30:34.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:30:34.444Z] [2021-06-08T14:30:34.444Z] Login Succeeded [2021-06-08T14:30:34.444Z] nexus3.edgexfoundry.org:10002 [2021-06-08T14:30:34.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:30:34.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:30:34.990Z] Configure a credential helper to remove this warning. See [2021-06-08T14:30:34.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:30:34.990Z] [2021-06-08T14:30:34.990Z] Login Succeeded [2021-06-08T14:30:34.991Z] nexus3.edgexfoundry.org:10003 [2021-06-08T14:30:35.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:30:35.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:30:35.540Z] Configure a credential helper to remove this warning. See [2021-06-08T14:30:35.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:30:35.540Z] [2021-06-08T14:30:35.540Z] Login Succeeded [2021-06-08T14:30:35.540Z] nexus3.edgexfoundry.org:10004 [2021-06-08T14:30:35.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:30:36.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:30:36.092Z] Configure a credential helper to remove this warning. See [2021-06-08T14:30:36.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:30:36.092Z] [2021-06-08T14:30:36.092Z] Login Succeeded [2021-06-08T14:30:36.092Z] docker.io [2021-06-08T14:30:36.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:30:36.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:30:36.963Z] Configure a credential helper to remove this warning. See [2021-06-08T14:30:36.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:30:36.963Z] [2021-06-08T14:30:36.963Z] Login Succeeded [2021-06-08T14:30:36.963Z] ---> docker-login.sh ends [Pipeline] } [2021-06-08T14:30:36.981Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-08T14:30:37.289Z] ========================================================= [2021-06-08T14:30:37.289Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-08T14:30:37.289Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:30:37.637Z] + 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-08T14:30:37.910Z] Sending build context to Docker daemon 587.3kB [2021-06-08T14:30:37.911Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T14:30:37.911Z] Step 2/8 : FROM ${BASE} [2021-06-08T14:30:38.184Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-08T14:30:38.185Z] 595b0fe564bb: Pulling fs layer [2021-06-08T14:30:38.185Z] 7186ed65a4f7: Pulling fs layer [2021-06-08T14:30:38.185Z] 316046926c0a: Pulling fs layer [2021-06-08T14:30:38.185Z] 4ebd0625c992: Pulling fs layer [2021-06-08T14:30:38.185Z] 207e8628e3a3: Pulling fs layer [2021-06-08T14:30:38.185Z] c791037a9be2: Pulling fs layer [2021-06-08T14:30:38.185Z] ffd874e62e21: Pulling fs layer [2021-06-08T14:30:38.185Z] 4ebd0625c992: Waiting [2021-06-08T14:30:38.185Z] 207e8628e3a3: Waiting [2021-06-08T14:30:38.185Z] c791037a9be2: Waiting [2021-06-08T14:30:38.185Z] ffd874e62e21: Waiting [2021-06-08T14:30:38.185Z] 316046926c0a: Download complete [2021-06-08T14:30:38.185Z] 7186ed65a4f7: Verifying Checksum [2021-06-08T14:30:38.185Z] 7186ed65a4f7: Download complete [2021-06-08T14:30:38.185Z] 207e8628e3a3: Verifying Checksum [2021-06-08T14:30:38.185Z] 207e8628e3a3: Download complete [2021-06-08T14:30:38.458Z] c791037a9be2: Verifying Checksum [2021-06-08T14:30:38.458Z] c791037a9be2: Download complete [2021-06-08T14:30:38.458Z] 595b0fe564bb: Verifying Checksum [2021-06-08T14:30:38.458Z] 595b0fe564bb: Download complete [2021-06-08T14:30:39.063Z] 595b0fe564bb: Pull complete [2021-06-08T14:30:39.666Z] 7186ed65a4f7: Pull complete [2021-06-08T14:30:39.938Z] 316046926c0a: Pull complete [2021-06-08T14:30:40.210Z] ffd874e62e21: Verifying Checksum [2021-06-08T14:30:40.211Z] ffd874e62e21: Download complete [2021-06-08T14:30:41.187Z] 4ebd0625c992: Verifying Checksum [2021-06-08T14:30:41.187Z] 4ebd0625c992: Download complete [2021-06-08T14:30:53.587Z] 4ebd0625c992: Pull complete [2021-06-08T14:30:53.587Z] 207e8628e3a3: Pull complete [2021-06-08T14:30:53.587Z] c791037a9be2: Pull complete [2021-06-08T14:30:56.411Z] ffd874e62e21: Pull complete [2021-06-08T14:30:56.411Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-08T14:30:56.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-08T14:30:56.411Z] ---> cfc18b08335c [2021-06-08T14:30:56.411Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-08T14:30:57.894Z] ---> Running in cc42749f35ae [2021-06-08T14:30:58.491Z] Removing intermediate container cc42749f35ae [2021-06-08T14:30:58.491Z] ---> 433acc072a01 [2021-06-08T14:30:58.491Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T14:30:58.491Z] ---> Running in 0469ca06754a [2021-06-08T14:31:01.116Z] Removing intermediate container 0469ca06754a [2021-06-08T14:31:01.116Z] ---> ea322c0c967f [2021-06-08T14:31:01.116Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-08T14:31:01.116Z] ---> Running in 0dfb32dbb1c3 [2021-06-08T14:31:02.562Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-08T14:31:03.152Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-08T14:31:04.128Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-08T14:31:04.128Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-08T14:31:04.128Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-08T14:31:04.398Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-08T14:31:04.398Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-08T14:31:04.668Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-08T14:31:04.940Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-08T14:31:05.539Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-08T14:31:05.539Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-08T14:31:05.539Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-08T14:31:05.809Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-08T14:31:06.084Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-08T14:31:06.084Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-08T14:31:06.084Z] Executing busybox-1.32.1-r6.trigger [2021-06-08T14:31:06.084Z] OK: 145 MiB in 53 packages [2021-06-08T14:31:07.522Z] Removing intermediate container 0dfb32dbb1c3 [2021-06-08T14:31:07.522Z] ---> 75728233f39f [2021-06-08T14:31:07.522Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-06-08T14:31:07.796Z] ---> Running in e226d2fc1d9f [2021-06-08T14:31:08.394Z] Removing intermediate container e226d2fc1d9f [2021-06-08T14:31:08.394Z] ---> 0eb52cd8bc47 [2021-06-08T14:31:08.394Z] Step 7/8 : COPY . . [2021-06-08T14:31:09.375Z] ---> 0cee16dd4d85 [2021-06-08T14:31:09.375Z] Step 8/8 : RUN go mod download [2021-06-08T14:31:09.375Z] ---> Running in 729d84009be7 [2021-06-08T14:31:36.182Z] Removing intermediate container 729d84009be7 [2021-06-08T14:31:36.182Z] ---> 93caf2a6aece [2021-06-08T14:31:36.182Z] Successfully built 93caf2a6aece [2021-06-08T14:31:36.182Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:31:36.528Z] + docker inspect -f . ci-base-image-arm64 [2021-06-08T14:31:36.528Z] . [Pipeline] withDockerContainer [2021-06-08T14:31:36.988Z] prd-ubuntu18.04-docker-arm64-4c-16g-912 does not seem to be running inside a container [2021-06-08T14:31:37.116Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/51 -v /w/workspace/device-mqtt-go/51:/w/workspace/device-mqtt-go/51:rw,z -v /w/workspace/device-mqtt-go/51@tmp:/w/workspace/device-mqtt-go/51@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-08T14:31:38.731Z] $ docker top 7fdfd9db50de6c73d24f83996ff2ee2e30e9ff58fbea6877f491a3a767b75a95 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T14:31:39.756Z] + go version [2021-06-08T14:31:39.756Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-08T14:31:39.783Z] $ docker stop --time=1 7fdfd9db50de6c73d24f83996ff2ee2e30e9ff58fbea6877f491a3a767b75a95 [2021-06-08T14:31:41.706Z] $ docker rm -f 7fdfd9db50de6c73d24f83996ff2ee2e30e9ff58fbea6877f491a3a767b75a95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:31:42.452Z] + docker inspect -f . ci-base-image-arm64 [2021-06-08T14:31:42.452Z] . [Pipeline] withDockerContainer [2021-06-08T14:31:42.690Z] prd-ubuntu18.04-docker-arm64-4c-16g-912 does not seem to be running inside a container [2021-06-08T14:31:42.780Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/51 -v /w/workspace/device-mqtt-go/51:/w/workspace/device-mqtt-go/51:rw,z -v /w/workspace/device-mqtt-go/51@tmp:/w/workspace/device-mqtt-go/51@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-08T14:31:44.400Z] $ docker top 0d6176efece853472b5116bb1e53f806af272eaed8ec6adc04f04506c1cd26c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T14:31:45.364Z] + go mod tidy [Pipeline] sh [2021-06-08T14:31:46.635Z] + make test [2021-06-08T14:31:46.635Z] go mod tidy [2021-06-08T14:31:46.914Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-08T14:31:48.366Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-06-08T14:32:44.992Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-06-08T14:32:44.992Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.050s coverage: 23.0% of statements [2021-06-08T14:32:44.992Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-06-08T14:32:44.992Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-08T14:33:11.819Z] gofmt -l . [2021-06-08T14:33:11.819Z] ["`gofmt -l .`" = ""] [2021-06-08T14:33:11.819Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-08T14:33:13.815Z] $ docker stop --time=1 0d6176efece853472b5116bb1e53f806af272eaed8ec6adc04f04506c1cd26c2 [2021-06-08T14:33:15.890Z] $ docker rm -f 0d6176efece853472b5116bb1e53f806af272eaed8ec6adc04f04506c1cd26c2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-08T14:33:16.785Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-08T14:33:16.804Z] Warning: overwriting stash ‘coverage-report’ [2021-06-08T14:33:17.282Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-08T14:33:17.822Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-08T14:33:18.157Z] + ls -al . [2021-06-08T14:33:18.157Z] total 140 [2021-06-08T14:33:18.157Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 8 14:33 . [2021-06-08T14:33:18.157Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 14:30 .. [2021-06-08T14:33:18.157Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 8 14:30 .dockerignore [2021-06-08T14:33:18.157Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 14:30 .git [2021-06-08T14:33:18.157Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 14:30 .github [2021-06-08T14:33:18.157Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 8 14:30 .gitignore [2021-06-08T14:33:18.157Z] -rw-rw-r-- 1 jenkins jenkins 7100 Jun 8 14:30 Attribution.txt [2021-06-08T14:33:18.157Z] -rw-rw-r-- 1 jenkins jenkins 1877 Jun 8 14:30 Dockerfile [2021-06-08T14:33:18.157Z] -rw-rw-r-- 1 jenkins jenkins 994 Jun 8 14:30 Dockerfile.build [2021-06-08T14:33:18.157Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 14:30 Jenkinsfile [2021-06-08T14:33:18.157Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 14:30 LICENSE [2021-06-08T14:33:18.157Z] -rw-rw-r-- 1 jenkins jenkins 907 Jun 8 14:30 Makefile [2021-06-08T14:33:18.157Z] -rw-rw-r-- 1 jenkins jenkins 2217 Jun 8 14:30 README.md [2021-06-08T14:33:18.157Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 8 14:26 VERSION [2021-06-08T14:33:18.157Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 14:30 bin [2021-06-08T14:33:18.157Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 14:30 cmd [2021-06-08T14:33:18.157Z] -rw-r--r-- 1 jenkins jenkins 19385 Jun 8 14:32 coverage.out [2021-06-08T14:33:18.157Z] -rw-rw-r-- 1 jenkins jenkins 409 Jun 8 14:30 go.mod [2021-06-08T14:33:18.157Z] -rw-r--r-- 1 jenkins jenkins 20960 Jun 8 14:31 go.sum [2021-06-08T14:33:18.157Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 14:30 internal [2021-06-08T14:33:18.157Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 14:30 mock [2021-06-08T14:33:18.157Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 14:30 snap [2021-06-08T14:33:18.157Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 8 14:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:33:18.509Z] + 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=364aaac6e8b1d39c25d77f1e456fe76b5cda0568 --label arch=arm64 --label version=1.3.2-dev.19 . [2021-06-08T14:33:18.782Z] Sending build context to Docker daemon 607.2kB [2021-06-08T14:33:19.054Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-08T14:33:19.054Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-08T14:33:19.054Z] ---> 93caf2a6aece [2021-06-08T14:33:19.054Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-08T14:33:19.328Z] ---> Running in 7651750752ec [2021-06-08T14:33:19.602Z] Removing intermediate container 7651750752ec [2021-06-08T14:33:19.602Z] ---> 771512d7b4e7 [2021-06-08T14:33:19.602Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-08T14:33:19.876Z] ---> Running in a1208ac627ff [2021-06-08T14:33:20.490Z] Removing intermediate container a1208ac627ff [2021-06-08T14:33:20.490Z] ---> 99f7a21ef52e [2021-06-08T14:33:20.490Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-08T14:33:20.490Z] ---> Running in fa9a8acf8ee3 [2021-06-08T14:33:22.465Z] Removing intermediate container fa9a8acf8ee3 [2021-06-08T14:33:22.465Z] ---> 579268ddf8a9 [2021-06-08T14:33:22.465Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-08T14:33:22.738Z] ---> Running in bda2da93a694 [2021-06-08T14:33:23.730Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-08T14:33:24.710Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-08T14:33:25.705Z] OK: 145 MiB in 53 packages [2021-06-08T14:33:26.694Z] Removing intermediate container bda2da93a694 [2021-06-08T14:33:26.694Z] ---> dff63b430b39 [2021-06-08T14:33:26.694Z] Step 7/24 : WORKDIR /device-mqtt-go [2021-06-08T14:33:26.694Z] ---> Running in 6f6a3dfceb5a [2021-06-08T14:33:27.298Z] Removing intermediate container 6f6a3dfceb5a [2021-06-08T14:33:27.298Z] ---> 431a2ae8f20b [2021-06-08T14:33:27.298Z] Step 8/24 : COPY . . [2021-06-08T14:33:28.281Z] ---> 79cf10d09567 [2021-06-08T14:33:28.281Z] Step 9/24 : RUN go mod tidy [2021-06-08T14:33:28.555Z] ---> Running in 266f82be50f8 [2021-06-08T14:33:31.175Z] Removing intermediate container 266f82be50f8 [2021-06-08T14:33:31.175Z] ---> 89a9ca17e547 [2021-06-08T14:33:31.175Z] Step 10/24 : RUN go mod download [2021-06-08T14:33:31.448Z] ---> Running in 46f39cfa3b9b [2021-06-08T14:33:34.103Z] Removing intermediate container 46f39cfa3b9b [2021-06-08T14:33:34.103Z] ---> 7d5ba69f09be [2021-06-08T14:33:34.103Z] Step 11/24 : ARG MAKE='make build' [2021-06-08T14:33:34.103Z] ---> Running in 3c7214a5b95d [2021-06-08T14:33:34.376Z] Removing intermediate container 3c7214a5b95d [2021-06-08T14:33:34.376Z] ---> 1c7a9bfd4497 [2021-06-08T14:33:34.376Z] Step 12/24 : RUN $MAKE [2021-06-08T14:33:34.647Z] ---> Running in 26ced9dc76a7 [2021-06-08T14:33:35.626Z] go mod tidy [2021-06-08T14:33:36.227Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.19" -o cmd/device-mqtt ./cmd [2021-06-08T14:34:15.534Z] Removing intermediate container 26ced9dc76a7 [2021-06-08T14:34:15.534Z] ---> 0b1a40953721 [2021-06-08T14:34:15.534Z] Step 13/24 : FROM alpine:3.12 [2021-06-08T14:34:15.534Z] 3.12: Pulling from library/alpine [2021-06-08T14:34:15.534Z] d2f70382dc9a: Pulling fs layer [2021-06-08T14:34:15.534Z] d2f70382dc9a: Verifying Checksum [2021-06-08T14:34:15.534Z] d2f70382dc9a: Download complete [2021-06-08T14:34:15.534Z] d2f70382dc9a: Pull complete [2021-06-08T14:34:15.534Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-08T14:34:15.534Z] Status: Downloaded newer image for alpine:3.12 [2021-06-08T14:34:15.534Z] ---> 9852663dfa18 [2021-06-08T14:34:15.534Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-06-08T14:34:15.534Z] ---> Running in 48228ca0926a [2021-06-08T14:34:15.534Z] Removing intermediate container 48228ca0926a [2021-06-08T14:34:15.534Z] ---> af2b8e0a7aee [2021-06-08T14:34:15.534Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-08T14:34:15.534Z] ---> Running in 417ae681d36a [2021-06-08T14:34:16.130Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-08T14:34:16.130Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-08T14:34:16.721Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-08T14:34:16.721Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-08T14:34:16.721Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-08T14:34:16.721Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-08T14:34:16.721Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-08T14:34:16.721Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-08T14:34:16.721Z] Executing busybox-1.31.1-r20.trigger [2021-06-08T14:34:16.721Z] OK: 8 MiB in 20 packages [2021-06-08T14:34:18.152Z] Removing intermediate container 417ae681d36a [2021-06-08T14:34:18.152Z] ---> edc4b96fa8c8 [2021-06-08T14:34:18.152Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2021-06-08T14:34:19.585Z] ---> 5801b4f7e070 [2021-06-08T14:34:19.585Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-06-08T14:34:20.181Z] ---> c95770a65c7c [2021-06-08T14:34:20.182Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-06-08T14:34:20.776Z] ---> 53a35cf55475 [2021-06-08T14:34:20.776Z] Step 19/24 : EXPOSE 59982 [2021-06-08T14:34:20.776Z] ---> Running in bca7a72096c5 [2021-06-08T14:34:21.371Z] Removing intermediate container bca7a72096c5 [2021-06-08T14:34:21.371Z] ---> e6d7f1b4d3e1 [2021-06-08T14:34:21.371Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2021-06-08T14:34:21.644Z] ---> Running in a6079d455516 [2021-06-08T14:34:21.916Z] Removing intermediate container a6079d455516 [2021-06-08T14:34:21.916Z] ---> 0178f03c7f90 [2021-06-08T14:34:21.916Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-08T14:34:22.188Z] ---> Running in 8d12560c15d2 [2021-06-08T14:34:22.461Z] Removing intermediate container 8d12560c15d2 [2021-06-08T14:34:22.461Z] ---> 1144f62d70dd [2021-06-08T14:34:22.461Z] Step 22/24 : LABEL arch=arm64 [2021-06-08T14:34:22.733Z] ---> Running in 9379cbfd8488 [2021-06-08T14:34:23.006Z] Removing intermediate container 9379cbfd8488 [2021-06-08T14:34:23.007Z] ---> e2d2412acf30 [2021-06-08T14:34:23.007Z] Step 23/24 : LABEL git_sha=364aaac6e8b1d39c25d77f1e456fe76b5cda0568 [2021-06-08T14:34:23.280Z] ---> Running in a5d94e2de94c [2021-06-08T14:34:23.875Z] Removing intermediate container a5d94e2de94c [2021-06-08T14:34:23.875Z] ---> 326068bee33e [2021-06-08T14:34:23.875Z] Step 24/24 : LABEL version=1.3.2-dev.19 [2021-06-08T14:34:23.875Z] ---> Running in c379a9e63eac [2021-06-08T14:34:24.468Z] Removing intermediate container c379a9e63eac [2021-06-08T14:34:24.468Z] ---> 90112759581a [2021-06-08T14:34:24.468Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-08T14:34:24.468Z] Successfully built 90112759581a [2021-06-08T14:34:24.468Z] 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-08T14:34:24.759Z] provisioning config files... [2021-06-08T14:34:24.780Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/51@tmp/config7878825137833519739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:34:25.144Z] ---> docker-login.sh [2021-06-08T14:34:25.144Z] nexus3.edgexfoundry.org:10001 [2021-06-08T14:34:25.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:34:25.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:34:25.688Z] Configure a credential helper to remove this warning. See [2021-06-08T14:34:25.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:34:25.688Z] [2021-06-08T14:34:25.688Z] Login Succeeded [2021-06-08T14:34:25.688Z] nexus3.edgexfoundry.org:10002 [2021-06-08T14:34:25.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:34:26.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:34:26.239Z] Configure a credential helper to remove this warning. See [2021-06-08T14:34:26.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:34:26.239Z] [2021-06-08T14:34:26.239Z] Login Succeeded [2021-06-08T14:34:26.239Z] nexus3.edgexfoundry.org:10003 [2021-06-08T14:34:26.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:34:26.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:34:26.783Z] Configure a credential helper to remove this warning. See [2021-06-08T14:34:26.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:34:26.783Z] [2021-06-08T14:34:26.783Z] Login Succeeded [2021-06-08T14:34:26.783Z] nexus3.edgexfoundry.org:10004 [2021-06-08T14:34:27.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:34:27.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:34:27.326Z] Configure a credential helper to remove this warning. See [2021-06-08T14:34:27.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:34:27.326Z] [2021-06-08T14:34:27.326Z] Login Succeeded [2021-06-08T14:34:27.326Z] docker.io [2021-06-08T14:34:27.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-08T14:34:28.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-08T14:34:28.192Z] Configure a credential helper to remove this warning. See [2021-06-08T14:34:28.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-08T14:34:28.192Z] [2021-06-08T14:34:28.192Z] Login Succeeded [2021-06-08T14:34:28.192Z] ---> docker-login.sh ends [Pipeline] } [2021-06-08T14:34:28.209Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-08T14:34:28.289Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2021-06-08T14:34:28.289Z] 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 [2021-06-08T14:34:28.289Z] latest [2021-06-08T14:34:28.289Z] 1.3.2-dev.19 [2021-06-08T14:34:28.289Z] 364aaac6e8b1d39c25d77f1e456fe76b5cda0568-1.3.2-dev.19 [2021-06-08T14:34:28.289Z] master [2021-06-08T14:34:28.289Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:34:28.696Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:364aaac6e8b1d39c25d77f1e456fe76b5cda0568 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:34:29.045Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:364aaac6e8b1d39c25d77f1e456fe76b5cda0568 [2021-06-08T14:34:29.046Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-08T14:34:29.046Z] d1f3b58d820a: Preparing [2021-06-08T14:34:29.046Z] 7d945a2760a4: Preparing [2021-06-08T14:34:29.046Z] 87cc18300653: Preparing [2021-06-08T14:34:29.046Z] 64800bef7ba7: Preparing [2021-06-08T14:34:29.046Z] 3fbe34a1663b: Preparing [2021-06-08T14:34:29.316Z] 3fbe34a1663b: Layer already exists [2021-06-08T14:34:29.316Z] d1f3b58d820a: Pushed [2021-06-08T14:34:29.316Z] 7d945a2760a4: Pushed [2021-06-08T14:34:29.906Z] 64800bef7ba7: Pushed [2021-06-08T14:34:32.509Z] 87cc18300653: Pushed [2021-06-08T14:34:32.509Z] 364aaac6e8b1d39c25d77f1e456fe76b5cda0568: digest: sha256:30da1089eecd8afb92913053fe20c0c76e76efdae64c1525109487cefcb1b15d size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:34:32.858Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:34:33.202Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-06-08T14:34:33.202Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-08T14:34:33.202Z] d1f3b58d820a: Preparing [2021-06-08T14:34:33.202Z] 7d945a2760a4: Preparing [2021-06-08T14:34:33.202Z] 87cc18300653: Preparing [2021-06-08T14:34:33.202Z] 64800bef7ba7: Preparing [2021-06-08T14:34:33.202Z] 3fbe34a1663b: Preparing [2021-06-08T14:34:33.471Z] 87cc18300653: Layer already exists [2021-06-08T14:34:33.471Z] 7d945a2760a4: Layer already exists [2021-06-08T14:34:33.471Z] d1f3b58d820a: Layer already exists [2021-06-08T14:34:33.471Z] 3fbe34a1663b: Layer already exists [2021-06-08T14:34:33.471Z] 64800bef7ba7: Layer already exists [2021-06-08T14:34:33.471Z] latest: digest: sha256:30da1089eecd8afb92913053fe20c0c76e76efdae64c1525109487cefcb1b15d size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:34:33.816Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.19 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:34:34.157Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.19 [2021-06-08T14:34:34.158Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-08T14:34:34.158Z] d1f3b58d820a: Preparing [2021-06-08T14:34:34.158Z] 7d945a2760a4: Preparing [2021-06-08T14:34:34.158Z] 87cc18300653: Preparing [2021-06-08T14:34:34.158Z] 64800bef7ba7: Preparing [2021-06-08T14:34:34.158Z] 3fbe34a1663b: Preparing [2021-06-08T14:34:34.158Z] 64800bef7ba7: Layer already exists [2021-06-08T14:34:34.158Z] d1f3b58d820a: Layer already exists [2021-06-08T14:34:34.158Z] 7d945a2760a4: Layer already exists [2021-06-08T14:34:34.158Z] 3fbe34a1663b: Layer already exists [2021-06-08T14:34:34.158Z] 87cc18300653: Layer already exists [2021-06-08T14:34:34.428Z] 1.3.2-dev.19: digest: sha256:30da1089eecd8afb92913053fe20c0c76e76efdae64c1525109487cefcb1b15d size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:34:34.773Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:364aaac6e8b1d39c25d77f1e456fe76b5cda0568-1.3.2-dev.19 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:34:35.115Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:364aaac6e8b1d39c25d77f1e456fe76b5cda0568-1.3.2-dev.19 [2021-06-08T14:34:35.115Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-08T14:34:35.115Z] d1f3b58d820a: Preparing [2021-06-08T14:34:35.115Z] 7d945a2760a4: Preparing [2021-06-08T14:34:35.115Z] 87cc18300653: Preparing [2021-06-08T14:34:35.115Z] 64800bef7ba7: Preparing [2021-06-08T14:34:35.115Z] 3fbe34a1663b: Preparing [2021-06-08T14:34:35.115Z] 7d945a2760a4: Layer already exists [2021-06-08T14:34:35.386Z] d1f3b58d820a: Layer already exists [2021-06-08T14:34:35.386Z] 87cc18300653: Layer already exists [2021-06-08T14:34:35.386Z] 3fbe34a1663b: Layer already exists [2021-06-08T14:34:35.386Z] 64800bef7ba7: Layer already exists [2021-06-08T14:34:35.386Z] 364aaac6e8b1d39c25d77f1e456fe76b5cda0568-1.3.2-dev.19: digest: sha256:30da1089eecd8afb92913053fe20c0c76e76efdae64c1525109487cefcb1b15d size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:34:35.741Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:34:36.077Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [2021-06-08T14:34:36.077Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-08T14:34:36.077Z] d1f3b58d820a: Preparing [2021-06-08T14:34:36.077Z] 7d945a2760a4: Preparing [2021-06-08T14:34:36.077Z] 87cc18300653: Preparing [2021-06-08T14:34:36.077Z] 64800bef7ba7: Preparing [2021-06-08T14:34:36.077Z] 3fbe34a1663b: Preparing [2021-06-08T14:34:36.077Z] 7d945a2760a4: Layer already exists [2021-06-08T14:34:36.077Z] 87cc18300653: Layer already exists [2021-06-08T14:34:36.077Z] d1f3b58d820a: Layer already exists [2021-06-08T14:34:36.077Z] 64800bef7ba7: Layer already exists [2021-06-08T14:34:36.077Z] 3fbe34a1663b: Layer already exists [2021-06-08T14:34:36.348Z] master: digest: sha256:30da1089eecd8afb92913053fe20c0c76e76efdae64c1525109487cefcb1b15d size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-08T14:34:36.418Z] ===================================================== [Pipeline] echo [2021-06-08T14:34:36.436Z] taggedImages: [2021-06-08T14:34:36.436Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:364aaac6e8b1d39c25d77f1e456fe76b5cda0568 [2021-06-08T14:34:36.436Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-06-08T14:34:36.436Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.19 [2021-06-08T14:34:36.436Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:364aaac6e8b1d39c25d77f1e456fe76b5cda0568-1.3.2-dev.19 [2021-06-08T14:34:36.436Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:34:36.921Z] ---> job-cost.sh [2021-06-08T14:34:36.921Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ppuI [2021-06-08T14:35:15.860Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-08T14:36:37.609Z] lf-activate-venv(): INFO: Adding /tmp/venv-ppuI/bin to PATH [2021-06-08T14:36:37.609Z] INFO: No Stack... [2021-06-08T14:36:38.198Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-08T14:36:38.787Z] INFO: Archiving Costs [Pipeline] sh [2021-06-08T14:36:39.134Z] + cat /w/workspace/device-mqtt-go/51/archives/cost.csv [2021-06-08T14:36:39.134Z] + cut -d, -f6 [Pipeline] lock [2021-06-08T14:36:39.197Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-51-stack-cost] [2021-06-08T14:36:39.209Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-51-stack-cost] did not exist. Created. [2021-06-08T14:36:39.209Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-08T14:36:39.572Z] /w/workspace/device-mqtt-go/51@tmp/durable-deaf2768/script.sh: 1: /w/workspace/device-mqtt-go/51@tmp/durable-deaf2768/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-08T14:36:39.912Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-08T14:36:39.943Z] Warning: overwriting stash ‘stack-cost’ [2021-06-08T14:36:40.137Z] Stashed 1 file(s) [Pipeline] } [2021-06-08T14:36:40.146Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-51-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-08T14:36:40.735Z] provisioning config files... [2021-06-08T14:36:40.753Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config6605275668740415809tmp [Pipeline] { [Pipeline] sh [2021-06-08T14:36:41.071Z] + set +x [2021-06-08T14:36:41.071Z] + curl -s https://codecov.io/bash [2021-06-08T14:36:41.071Z] + bash -s -- [2021-06-08T14:36:41.071Z] [2021-06-08T14:36:41.071Z] _____ _ [2021-06-08T14:36:41.071Z] / ____| | | [2021-06-08T14:36:41.071Z] | | ___ __| | ___ ___ _____ __ [2021-06-08T14:36:41.071Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-08T14:36:41.071Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-08T14:36:41.071Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-08T14:36:41.071Z] Bash-1.0.3 [2021-06-08T14:36:41.071Z] [2021-06-08T14:36:41.071Z] [2021-06-08T14:36:41.071Z] ==> git version 2.24.4 found [2021-06-08T14:36:41.071Z] ==> 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-08T14:36:41.071Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-08T14:36:41.071Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-08T14:36:41.071Z] ==> Jenkins CI detected. [2021-06-08T14:36:41.071Z] project root: . [2021-06-08T14:36:41.071Z] --> token set from env [2021-06-08T14:36:41.071Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-08T14:36:41.071Z] ==> Running gcov in . (disable via -X gcov) [2021-06-08T14:36:41.071Z] ==> Python coveragepy not found [2021-06-08T14:36:41.071Z] ==> Searching for coverage reports in: [2021-06-08T14:36:41.071Z] + . [2021-06-08T14:36:41.071Z] -> Found 1 reports [2021-06-08T14:36:41.071Z] ==> Detecting git/mercurial file structure [2021-06-08T14:36:41.071Z] ==> Reading reports [2021-06-08T14:36:41.335Z] + ./coverage.out bytes=19385 [2021-06-08T14:36:41.335Z] ==> Appending adjustments [2021-06-08T14:36:41.335Z] https://docs.codecov.io/docs/fixing-reports [2021-06-08T14:36:41.335Z] + Found adjustments [2021-06-08T14:36:41.335Z] ==> Gzipping contents [2021-06-08T14:36:41.335Z] 4.0K /tmp/codecov.ZAdkR6.gz [2021-06-08T14:36:41.335Z] ==> Uploading reports [2021-06-08T14:36:41.335Z] url: https://codecov.io [2021-06-08T14:36:41.335Z] query: branch=master&commit=364aaac6e8b1d39c25d77f1e456fe76b5cda0568&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-08T14:36:41.335Z] -> Pinging Codecov [2021-06-08T14:36:41.335Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=364aaac6e8b1d39c25d77f1e456fe76b5cda0568&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-08T14:36:41.906Z] -> Uploading to [2021-06-08T14:36:41.906Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-08/7D719EC7BBE17E464838252E33014C33/364aaac6e8b1d39c25d77f1e456fe76b5cda0568/5809d260-3f21-4ffc-9149-8e0e3d23f0a3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210608%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210608T143641Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dae194aefa119595f73227c8598678c928656ff1cb60a9a6f19977b2c22f73dc [2021-06-08T14:36:41.906Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-08T14:36:41.906Z] Dload Upload Total Spent Left Speed [2021-06-08T14:36:42.167Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3416 0 0 100 3416 0 10144 --:--:-- --:--:-- --:--:-- 10166 [2021-06-08T14:36:42.167Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/364aaac6e8b1d39c25d77f1e456fe76b5cda0568 [Pipeline] } [2021-06-08T14:36:42.176Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-06-08T14:36:42.483Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-06-08T14:36:42.514Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:36:42.831Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-08T14:36:42.831Z] [2021-06-08T14:36:42.831Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:36:43.148Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-08T14:36:43.149Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-06-08T14:36:43.149Z] 188c0c94c7c5: Pulling fs layer [2021-06-08T14:36:43.149Z] 0ef7d3d256c8: Pulling fs layer [2021-06-08T14:36:43.149Z] de9db76c5a1d: Pulling fs layer [2021-06-08T14:36:43.149Z] 0eba1c9be4d2: Pulling fs layer [2021-06-08T14:36:43.149Z] 0d57e429df01: Pulling fs layer [2021-06-08T14:36:43.149Z] 4e4be7b47b0d: Pulling fs layer [2021-06-08T14:36:43.149Z] e1f770b5df2f: Pulling fs layer [2021-06-08T14:36:43.149Z] 85a0685a4137: Pulling fs layer [2021-06-08T14:36:43.149Z] 0eba1c9be4d2: Waiting [2021-06-08T14:36:43.149Z] 0d57e429df01: Waiting [2021-06-08T14:36:43.149Z] 4e4be7b47b0d: Waiting [2021-06-08T14:36:43.149Z] e1f770b5df2f: Waiting [2021-06-08T14:36:43.149Z] 85a0685a4137: Waiting [2021-06-08T14:36:43.149Z] de9db76c5a1d: Verifying Checksum [2021-06-08T14:36:43.149Z] de9db76c5a1d: Download complete [2021-06-08T14:36:43.149Z] 0ef7d3d256c8: Verifying Checksum [2021-06-08T14:36:43.149Z] 0ef7d3d256c8: Download complete [2021-06-08T14:36:43.149Z] 0d57e429df01: Verifying Checksum [2021-06-08T14:36:43.149Z] 0d57e429df01: Download complete [2021-06-08T14:36:43.149Z] 4e4be7b47b0d: Verifying Checksum [2021-06-08T14:36:43.149Z] 4e4be7b47b0d: Download complete [2021-06-08T14:36:43.149Z] 188c0c94c7c5: Verifying Checksum [2021-06-08T14:36:43.149Z] 188c0c94c7c5: Download complete [2021-06-08T14:36:43.416Z] 188c0c94c7c5: Pull complete [2021-06-08T14:36:43.679Z] 0ef7d3d256c8: Pull complete [2021-06-08T14:36:43.679Z] de9db76c5a1d: Pull complete [2021-06-08T14:36:44.255Z] e1f770b5df2f: Verifying Checksum [2021-06-08T14:36:44.255Z] e1f770b5df2f: Download complete [2021-06-08T14:36:46.174Z] 0eba1c9be4d2: Verifying Checksum [2021-06-08T14:36:46.174Z] 0eba1c9be4d2: Download complete [2021-06-08T14:36:46.174Z] 85a0685a4137: Verifying Checksum [2021-06-08T14:36:46.174Z] 85a0685a4137: Download complete [2021-06-08T14:36:49.528Z] 0eba1c9be4d2: Pull complete [2021-06-08T14:36:49.528Z] 0d57e429df01: Pull complete [2021-06-08T14:36:49.528Z] 4e4be7b47b0d: Pull complete [2021-06-08T14:36:49.792Z] e1f770b5df2f: Pull complete [2021-06-08T14:36:53.142Z] 85a0685a4137: Pull complete [2021-06-08T14:36:53.142Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-06-08T14:36:53.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-08T14:36:53.142Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-06-08T14:36:53.215Z] prd-centos7-docker-4c-2g-908 does not seem to be running inside a container [2021-06-08T14:36:53.253Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-06-08T14:36:56.365Z] $ docker top 3a0fbfbef7b0bf25fa6f82e24a5f6812169041b05813481752e02b9b8d67df56 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-08T14:36:56.466Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-06-08T14:36:56.758Z] + set -o pipefail [2021-06-08T14:36:56.758Z] + snyk monitor '--org=edgex-jenkins' [2021-06-08T14:37:02.055Z] [2021-06-08T14:37:02.055Z] Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... [2021-06-08T14:37:02.055Z] [2021-06-08T14:37:02.055Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/580c4024-d377-4570-b20c-3b4aed1baec0 [2021-06-08T14:37:02.055Z] [2021-06-08T14:37:02.055Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-06-08T14:37:02.055Z] [2021-06-08T14:37:02.055Z] [Pipeline] } [2021-06-08T14:37:02.061Z] $ docker stop --time=1 3a0fbfbef7b0bf25fa6f82e24a5f6812169041b05813481752e02b9b8d67df56 [2021-06-08T14:37:04.134Z] $ docker rm -f 3a0fbfbef7b0bf25fa6f82e24a5f6812169041b05813481752e02b9b8d67df56 [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-08T14:37:05.167Z] + git log --format=format:%s -1 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:37:05.471Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T14:37:05.471Z] . [Pipeline] withDockerContainer [2021-06-08T14:37:05.555Z] prd-centos7-docker-4c-2g-908 does not seem to be running inside a container [2021-06-08T14:37:05.591Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-08T14:37:05.943Z] $ docker top a5873b180dedc7ad3a39848f4eac48341a2539bdccb0d18d15f7a606a91f5370 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-08T14:37:06.091Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-08T14:37:06.091Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-08T14:37:06.196Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-08T14:37:06.189Z] $ docker exec a5873b180dedc7ad3a39848f4eac48341a2539bdccb0d18d15f7a606a91f5370 ssh-agent [2021-06-08T14:37:06.313Z] SSH_AUTH_SOCK=/tmp/ssh-deFC5Z2G0VU0/agent.14 [2021-06-08T14:37:06.313Z] SSH_AGENT_PID=21 [2021-06-08T14:37:06.320Z] Running ssh-add (command line suppressed) [2021-06-08T14:37:06.407Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_1330515026133419384.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_1330515026133419384.key) [2021-06-08T14:37:06.435Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-08T14:37:06.737Z] + git semver tag [2021-06-08T14:37:06.737Z] # -> Open(): unable to determine branch for HEAD [2021-06-08T14:37:06.737Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-06-08T14:37:06.737Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-06-08T14:37:06.737Z] # $SEMVER_REMOTE_NAME = origin [2021-06-08T14:37:06.737Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-08T14:37:06.737Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-08T14:37:06.737Z] # $SEMVER_BRANCH = master [2021-06-08T14:37:06.737Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-06-08T14:37:06.737Z] # 364aaac6e8b1d39c25d77f1e456fe76b5cda0568 HEAD [2021-06-08T14:37:06.737Z] # -> Force: false [2021-06-08T14:37:06.737Z] # a4b74f9a3c5024d42449ec515a13db7751c4c77b refs/tags/v1.3.2-dev.19 [Pipeline] } [2021-06-08T14:37:06.738Z] $ docker exec --env ******** --env ******** a5873b180dedc7ad3a39848f4eac48341a2539bdccb0d18d15f7a606a91f5370 ssh-agent -k [2021-06-08T14:37:06.837Z] unset SSH_AUTH_SOCK; [2021-06-08T14:37:06.837Z] unset SSH_AGENT_PID; [2021-06-08T14:37:06.837Z] echo Agent pid 21 killed; [2021-06-08T14:37:06.855Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-08T14:37:07.185Z] + git semver [Pipeline] } [2021-06-08T14:37:07.189Z] $ docker stop --time=1 a5873b180dedc7ad3a39848f4eac48341a2539bdccb0d18d15f7a606a91f5370 [2021-06-08T14:37:08.378Z] $ docker rm -f a5873b180dedc7ad3a39848f4eac48341a2539bdccb0d18d15f7a606a91f5370 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:37:08.828Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-08T14:37:08.828Z] [2021-06-08T14:37:08.828Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:37:09.143Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-08T14:37:09.143Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-06-08T14:37:09.143Z] ab5ef0e58194: Pulling fs layer [2021-06-08T14:37:09.143Z] 9712f1f96733: Pulling fs layer [2021-06-08T14:37:09.143Z] 63f879dbbcfc: Pulling fs layer [2021-06-08T14:37:09.143Z] 0d9ebad4ef96: Pulling fs layer [2021-06-08T14:37:09.143Z] e9a5061849ea: Pulling fs layer [2021-06-08T14:37:09.143Z] d747dcd14b5f: Pulling fs layer [2021-06-08T14:37:09.143Z] 2de7ff778b66: Pulling fs layer [2021-06-08T14:37:09.143Z] e9a5061849ea: Waiting [2021-06-08T14:37:09.143Z] d747dcd14b5f: Waiting [2021-06-08T14:37:09.143Z] 2de7ff778b66: Waiting [2021-06-08T14:37:09.143Z] 0d9ebad4ef96: Waiting [2021-06-08T14:37:09.143Z] 9712f1f96733: Verifying Checksum [2021-06-08T14:37:09.143Z] 9712f1f96733: Download complete [2021-06-08T14:37:11.054Z] 63f879dbbcfc: Verifying Checksum [2021-06-08T14:37:11.054Z] 63f879dbbcfc: Download complete [2021-06-08T14:37:11.631Z] e9a5061849ea: Verifying Checksum [2021-06-08T14:37:11.631Z] e9a5061849ea: Download complete [2021-06-08T14:37:11.631Z] d747dcd14b5f: Verifying Checksum [2021-06-08T14:37:11.631Z] d747dcd14b5f: Download complete [2021-06-08T14:37:12.202Z] 2de7ff778b66: Verifying Checksum [2021-06-08T14:37:12.202Z] 2de7ff778b66: Download complete [2021-06-08T14:37:12.461Z] 0d9ebad4ef96: Verifying Checksum [2021-06-08T14:37:12.461Z] 0d9ebad4ef96: Download complete [2021-06-08T14:37:12.723Z] ab5ef0e58194: Verifying Checksum [2021-06-08T14:37:12.723Z] ab5ef0e58194: Download complete [2021-06-08T14:37:15.331Z] ab5ef0e58194: Pull complete [2021-06-08T14:37:15.331Z] 9712f1f96733: Pull complete [2021-06-08T14:37:15.920Z] 63f879dbbcfc: Pull complete [2021-06-08T14:37:19.240Z] 0d9ebad4ef96: Pull complete [2021-06-08T14:37:19.240Z] e9a5061849ea: Pull complete [2021-06-08T14:37:19.240Z] d747dcd14b5f: Pull complete [2021-06-08T14:37:20.188Z] 2de7ff778b66: Pull complete [2021-06-08T14:37:20.188Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-06-08T14:37:20.188Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-08T14:37:20.188Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-06-08T14:37:20.307Z] prd-centos7-docker-4c-2g-908 does not seem to be running inside a container [2021-06-08T14:37:20.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-06-08T14:37:23.779Z] $ docker top fa66b7a8b88a40adc35d1863d7b0f1898e92e12aaa45a3293ba9d5e88ad308d0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-06-08T14:37:23.881Z] provisioning config files... [2021-06-08T14:37:23.890Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config8871802610689290724tmp [2021-06-08T14:37:23.901Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config5040306301470013775tmp [2021-06-08T14:37:23.913Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config4818422765929796318tmp [Pipeline] { [Pipeline] echo [2021-06-08T14:37:23.934Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:37:24.225Z] ---> sigul-configuration.sh [2021-06-08T14:37:24.225Z] gpg: directory `/root/.gnupg' created [2021-06-08T14:37:24.225Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-06-08T14:37:24.225Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-06-08T14:37:24.225Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-06-08T14:37:24.225Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-06-08T14:37:24.225Z] gpg: CAST5 encrypted data [2021-06-08T14:37:24.225Z] gpg: encrypted with 1 passphrase [2021-06-08T14:37:24.225Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-06-08T14:37:24.519Z] + mkdir /home/jenkins [2021-06-08T14:37:24.519Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-06-08T14:37:24.814Z] + 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-08T14:37:24.824Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:37:25.127Z] ---> sigul-install.sh [2021-06-08T14:37:31.725Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-06-08T14:37:32.024Z] + git tag --list [2021-06-08T14:37:32.025Z] 0.7.1 [2021-06-08T14:37:32.025Z] v1.0.0 [2021-06-08T14:37:32.025Z] v1.1.0 [2021-06-08T14:37:32.025Z] v1.1.1 [2021-06-08T14:37:32.025Z] v1.2.2 [2021-06-08T14:37:32.025Z] v1.3.0 [2021-06-08T14:37:32.025Z] v1.3.1 [2021-06-08T14:37:32.025Z] v1.3.1-dev.1 [2021-06-08T14:37:32.025Z] v1.3.1-dev.2 [2021-06-08T14:37:32.025Z] v1.3.1-dev.3 [2021-06-08T14:37:32.025Z] v1.3.1-dev.4 [2021-06-08T14:37:32.025Z] v1.3.2-dev.1 [2021-06-08T14:37:32.025Z] v1.3.2-dev.10 [2021-06-08T14:37:32.025Z] v1.3.2-dev.11 [2021-06-08T14:37:32.025Z] v1.3.2-dev.12 [2021-06-08T14:37:32.025Z] v1.3.2-dev.13 [2021-06-08T14:37:32.025Z] v1.3.2-dev.14 [2021-06-08T14:37:32.025Z] v1.3.2-dev.15 [2021-06-08T14:37:32.025Z] v1.3.2-dev.16 [2021-06-08T14:37:32.025Z] v1.3.2-dev.17 [2021-06-08T14:37:32.025Z] v1.3.2-dev.18 [2021-06-08T14:37:32.025Z] v1.3.2-dev.19 [2021-06-08T14:37:32.025Z] v1.3.2-dev.2 [2021-06-08T14:37:32.025Z] v1.3.2-dev.3 [2021-06-08T14:37:32.025Z] v1.3.2-dev.4 [2021-06-08T14:37:32.025Z] v1.3.2-dev.5 [2021-06-08T14:37:32.025Z] v1.3.2-dev.6 [2021-06-08T14:37:32.025Z] v1.3.2-dev.7 [2021-06-08T14:37:32.025Z] v1.3.2-dev.8 [2021-06-08T14:37:32.025Z] v1.3.2-dev.9 [Pipeline] sh [2021-06-08T14:37:32.325Z] + lftools sign git-tag v1.3.2-dev.19 [2021-06-08T14:37:32.916Z] Signing Git tag with Sigul... [2021-06-08T14:37:32.916Z] Signing v1.3.2-dev.19 [Pipeline] echo [2021-06-08T14:37:33.868Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:37:34.163Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-06-08T14:37:34.171Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-06-08T14:37:34.190Z] $ docker stop --time=1 fa66b7a8b88a40adc35d1863d7b0f1898e92e12aaa45a3293ba9d5e88ad308d0 [2021-06-08T14:37:35.904Z] $ docker rm -f fa66b7a8b88a40adc35d1863d7b0f1898e92e12aaa45a3293ba9d5e88ad308d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:37:36.561Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T14:37:36.561Z] . [Pipeline] withDockerContainer [2021-06-08T14:37:36.634Z] prd-centos7-docker-4c-2g-908 does not seem to be running inside a container [2021-06-08T14:37:36.664Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-08T14:37:37.010Z] $ docker top 8547a26ea548c1adfeec6ffad8ad32f21808715286d410fe4a47bc22b88a1a25 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-08T14:37:37.156Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-08T14:37:37.156Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-08T14:37:37.256Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-08T14:37:37.248Z] $ docker exec 8547a26ea548c1adfeec6ffad8ad32f21808715286d410fe4a47bc22b88a1a25 ssh-agent [2021-06-08T14:37:37.367Z] SSH_AUTH_SOCK=/tmp/ssh-TeY1ZBQaDL68/agent.13 [2021-06-08T14:37:37.367Z] SSH_AGENT_PID=20 [2021-06-08T14:37:37.372Z] Running ssh-add (command line suppressed) [2021-06-08T14:37:37.462Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2484919301168312097.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2484919301168312097.key) [2021-06-08T14:37:37.489Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-08T14:37:37.795Z] + git semver bump pre [2021-06-08T14:37:37.795Z] # -> Open(): unable to determine branch for HEAD [2021-06-08T14:37:37.795Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-06-08T14:37:37.795Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-06-08T14:37:37.795Z] # $SEMVER_REMOTE_NAME = origin [2021-06-08T14:37:37.795Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-08T14:37:37.795Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-08T14:37:37.795Z] # $SEMVER_BRANCH = master [2021-06-08T14:37:37.795Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-06-08T14:37:37.795Z] 1.3.2-dev.20 [Pipeline] } [2021-06-08T14:37:37.795Z] $ docker exec --env ******** --env ******** 8547a26ea548c1adfeec6ffad8ad32f21808715286d410fe4a47bc22b88a1a25 ssh-agent -k [2021-06-08T14:37:37.883Z] unset SSH_AUTH_SOCK; [2021-06-08T14:37:37.884Z] unset SSH_AGENT_PID; [2021-06-08T14:37:37.884Z] echo Agent pid 20 killed; [2021-06-08T14:37:37.908Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-08T14:37:38.249Z] + git semver [Pipeline] } [2021-06-08T14:37:38.254Z] $ docker stop --time=1 8547a26ea548c1adfeec6ffad8ad32f21808715286d410fe4a47bc22b88a1a25 [2021-06-08T14:37:39.456Z] $ docker rm -f 8547a26ea548c1adfeec6ffad8ad32f21808715286d410fe4a47bc22b88a1a25 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:37:39.860Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-08T14:37:39.860Z] . [Pipeline] withDockerContainer [2021-06-08T14:37:39.940Z] prd-centos7-docker-4c-2g-908 does not seem to be running inside a container [2021-06-08T14:37:39.972Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-08T14:37:40.325Z] $ docker top c59b737d1f6eaeeb161c0913fb193afae7384ed8382d5cab1bf450a2af729ea6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-08T14:37:40.482Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-08T14:37:40.482Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-08T14:37:40.592Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-08T14:37:40.585Z] $ docker exec c59b737d1f6eaeeb161c0913fb193afae7384ed8382d5cab1bf450a2af729ea6 ssh-agent [2021-06-08T14:37:40.709Z] SSH_AUTH_SOCK=/tmp/ssh-TOqw0zqjOpHE/agent.13 [2021-06-08T14:37:40.709Z] SSH_AGENT_PID=19 [2021-06-08T14:37:40.715Z] Running ssh-add (command line suppressed) [2021-06-08T14:37:40.793Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3173146750287422586.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3173146750287422586.key) [2021-06-08T14:37:40.817Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-08T14:37:41.114Z] + git semver push [2021-06-08T14:37:41.114Z] # -> Open(): unable to determine branch for HEAD [2021-06-08T14:37:41.114Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-06-08T14:37:41.114Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-06-08T14:37:41.114Z] # $SEMVER_REMOTE_NAME = origin [2021-06-08T14:37:41.114Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-08T14:37:41.114Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-08T14:37:41.114Z] # $SEMVER_BRANCH = master [2021-06-08T14:37:41.114Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-06-08T14:37:47.696Z] $ docker exec --env ******** --env ******** c59b737d1f6eaeeb161c0913fb193afae7384ed8382d5cab1bf450a2af729ea6 ssh-agent -k [2021-06-08T14:37:47.792Z] unset SSH_AUTH_SOCK; [2021-06-08T14:37:47.792Z] unset SSH_AGENT_PID; [2021-06-08T14:37:47.792Z] echo Agent pid 19 killed; [2021-06-08T14:37:47.815Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-08T14:37:48.167Z] + git semver [Pipeline] } [2021-06-08T14:37:48.172Z] $ docker stop --time=1 c59b737d1f6eaeeb161c0913fb193afae7384ed8382d5cab1bf450a2af729ea6 [2021-06-08T14:37:49.355Z] $ docker rm -f c59b737d1f6eaeeb161c0913fb193afae7384ed8382d5cab1bf450a2af729ea6 [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-08T14:37:50.605Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:37:51.170Z] ---> package-listing.sh [2021-06-08T14:37:51.171Z] ++ facter osfamily [2021-06-08T14:37:51.171Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-08T14:37:51.433Z] + OS_FAMILY=redhat [2021-06-08T14:37:51.433Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_master [2021-06-08T14:37:51.433Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-08T14:37:51.433Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-08T14:37:51.433Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-08T14:37:51.433Z] + PACKAGES=/tmp/packages_start.txt [2021-06-08T14:37:51.433Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-06-08T14:37:51.433Z] + PACKAGES=/tmp/packages_end.txt [2021-06-08T14:37:51.433Z] + case "${OS_FAMILY}" in [2021-06-08T14:37:51.433Z] + rpm -qa [2021-06-08T14:37:51.433Z] + sort [2021-06-08T14:37:52.376Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-08T14:37:52.376Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-08T14:37:52.376Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-08T14:37:52.376Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-06-08T14:37:52.376Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [2021-06-08T14:37:52.376Z] + 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-08T14:37:52.390Z] 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-08T14:37:52.677Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:37:53.239Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-08T14:37:53.239Z] [2021-06-08T14:37:53.239Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-08T14:37:53.551Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-08T14:37:53.551Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-08T14:37:53.551Z] df20fa9351a1: Pulling fs layer [2021-06-08T14:37:53.551Z] 36b3adc4ff6f: Pulling fs layer [2021-06-08T14:37:53.551Z] 8ad3a11d3b57: Pulling fs layer [2021-06-08T14:37:53.551Z] 46f8f816bc3b: Pulling fs layer [2021-06-08T14:37:53.551Z] 93b61091891f: Pulling fs layer [2021-06-08T14:37:53.551Z] 93b9cdb0e59b: Pulling fs layer [2021-06-08T14:37:53.551Z] 5e14af77c1be: Pulling fs layer [2021-06-08T14:37:53.551Z] 01666e4c0597: Pulling fs layer [2021-06-08T14:37:53.551Z] aa168da1d23b: Pulling fs layer [2021-06-08T14:37:53.551Z] 46f8f816bc3b: Waiting [2021-06-08T14:37:53.551Z] 93b61091891f: Waiting [2021-06-08T14:37:53.551Z] 93b9cdb0e59b: Waiting [2021-06-08T14:37:53.551Z] 5e14af77c1be: Waiting [2021-06-08T14:37:53.551Z] 01666e4c0597: Waiting [2021-06-08T14:37:53.551Z] aa168da1d23b: Waiting [2021-06-08T14:37:53.551Z] 36b3adc4ff6f: Verifying Checksum [2021-06-08T14:37:53.551Z] 36b3adc4ff6f: Download complete [2021-06-08T14:37:53.551Z] 46f8f816bc3b: Verifying Checksum [2021-06-08T14:37:53.551Z] 46f8f816bc3b: Download complete [2021-06-08T14:37:53.551Z] df20fa9351a1: Verifying Checksum [2021-06-08T14:37:53.551Z] df20fa9351a1: Download complete [2021-06-08T14:37:53.551Z] 93b9cdb0e59b: Verifying Checksum [2021-06-08T14:37:53.551Z] 93b9cdb0e59b: Download complete [2021-06-08T14:37:53.816Z] 5e14af77c1be: Verifying Checksum [2021-06-08T14:37:53.816Z] 5e14af77c1be: Download complete [2021-06-08T14:37:53.816Z] 93b61091891f: Verifying Checksum [2021-06-08T14:37:53.816Z] 93b61091891f: Download complete [2021-06-08T14:37:53.816Z] 01666e4c0597: Verifying Checksum [2021-06-08T14:37:53.816Z] 01666e4c0597: Download complete [2021-06-08T14:37:53.816Z] df20fa9351a1: Pull complete [2021-06-08T14:37:53.816Z] 8ad3a11d3b57: Verifying Checksum [2021-06-08T14:37:53.816Z] 8ad3a11d3b57: Download complete [2021-06-08T14:37:53.816Z] 36b3adc4ff6f: Pull complete [2021-06-08T14:37:54.387Z] 8ad3a11d3b57: Pull complete [2021-06-08T14:37:54.649Z] 46f8f816bc3b: Pull complete [2021-06-08T14:37:54.649Z] 93b61091891f: Pull complete [2021-06-08T14:37:54.910Z] 93b9cdb0e59b: Pull complete [2021-06-08T14:37:54.910Z] 5e14af77c1be: Pull complete [2021-06-08T14:37:54.910Z] 01666e4c0597: Pull complete [2021-06-08T14:37:55.487Z] aa168da1d23b: Verifying Checksum [2021-06-08T14:37:55.487Z] aa168da1d23b: Download complete [2021-06-08T14:37:59.718Z] aa168da1d23b: Pull complete [2021-06-08T14:37:59.718Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-08T14:37:59.718Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-08T14:37:59.718Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-08T14:37:59.790Z] prd-centos7-docker-4c-2g-908 does not seem to be running inside a container [2021-06-08T14:37:59.826Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-08T14:38:02.151Z] $ docker top fe8293a568e69cfbb3c9f64f332476319b3f927cf3218aec06a943c1bb6adc81 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-08T14:38:02.552Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-08T14:38:02.858Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-08T14:38:03.162Z] + ls /var/log/sa-host [2021-06-08T14:38:03.162Z] + sadf -c /var/log/sa-host/sa05 [2021-06-08T14:38:03.162Z] file_magic: OK [2021-06-08T14:38:03.162Z] HZ: Using current value: 100 [2021-06-08T14:38:03.162Z] file_header: OK [2021-06-08T14:38:03.162Z] 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-08T14:38:03.162Z] Statistics: [2021-06-08T14:38:03.162Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-08T14:38:03.162Z] File successfully converted to sysstat format version 12.2.1 [2021-06-08T14:38:03.162Z] + sadf -c /var/log/sa-host/sa08 [2021-06-08T14:38:03.162Z] file_magic: OK [2021-06-08T14:38:03.162Z] HZ: Using current value: 100 [2021-06-08T14:38:03.162Z] file_header: OK [2021-06-08T14:38:03.162Z] 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-08T14:38:03.162Z] Statistics: [2021-06-08T14:38:03.162Z] 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-08T14:38:03.162Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-08T14:38:03.358Z] provisioning config files... [2021-06-08T14:38:03.372Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config5075186106068173071tmp [Pipeline] { [Pipeline] echo [2021-06-08T14:38:03.395Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:38:03.695Z] ---> create-netrc.sh [Pipeline] } [2021-06-08T14:38:03.704Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:38:04.296Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-08T14:38:04.306Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:38:04.605Z] ---> sudo-logs.sh [2021-06-08T14:38:04.605Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-08T14:38:04.639Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:38:04.932Z] ---> job-cost.sh [2021-06-08T14:38:04.933Z] lf-activate-venv: SKIPPING [2021-06-08T14:38:04.933Z] DEBUG: total: 0.18000000715255737 [2021-06-08T14:38:04.933Z] INFO: Retrieving Stack Cost... [2021-06-08T14:38:05.875Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-08T14:38:06.449Z] INFO: Archiving Costs [Pipeline] echo [2021-06-08T14:38:06.463Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-08T14:38:06.760Z] ---> logs-deploy.sh [2021-06-08T14:38:06.760Z] lf-activate-venv: SKIPPING [2021-06-08T14:38:06.760Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/51 [2021-06-08T14:38:06.760Z] INFO: archiving workspace using pattern(s): [2021-06-08T14:38:07.705Z] Archives upload complete. [2021-06-08T14:38:07.705Z] INFO: archiving logs to Nexus