Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 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-ssh3025269692299669459.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5734536495215790588.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3748731510068935908.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1978597489576832209.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3759117674701190591.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-340 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub Avoid second fetch Checking out Revision 58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 (master) [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-ssh5176369688320118330.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 58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 # timeout=10 Commit message: "Merge pull request #257 from lenny-intel/service-info" > git rev-list --no-walk 653fdc7e42cd7ec24a217595972231c9ae0d8498 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-26T02:47:11.901Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-26T02:47:11.987Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-26T02:47:12.016Z] ========================================================= [2021-05-26T02:47:12.016Z] EdgeX Global Pipelines Version Info [2021-05-26T02:47:12.016Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:47:13.452Z] ------------------- [2021-05-26T02:47:13.452Z] stable info: [2021-05-26T02:47:13.452Z] ------------------- [2021-05-26T02:47:13.452Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-26T02:47:13.452Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-26T02:47:13.452Z] Message: update stable to v1.0.192 [2021-05-26T02:47:14.022Z] ------------------- [2021-05-26T02:47:14.022Z] experimental info: [2021-05-26T02:47:14.022Z] ------------------- [2021-05-26T02:47:14.022Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-26T02:47:14.022Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-26T02:47:14.022Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-26T02:47:14.130Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-05-26T02:47:14.155Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-05-26T02:47:14.178Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-26T02:47:14.227Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-26T02:47:14.252Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-26T02:47:14.278Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-26T02:47:14.302Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-26T02:47:14.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-26T02:47:14.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-26T02:47:14.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-26T02:47:14.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-26T02:47:14.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-05-26T02:47:14.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-26T02:47:14.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-26T02:47:14.510Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-26T02:47:14.534Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-26T02:47:14.559Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-26T02:47:14.584Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-26T02:47:14.609Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-26T02:47:14.634Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-26T02:47:14.657Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-26T02:47:14.681Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-26T02:47:14.706Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-26T02:47:14.730Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-26T02:47:14.755Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-26T02:47:14.790Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-26T02:47:14.815Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-26T02:47:14.840Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-26T02:47:14.865Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-26T02:47:14.891Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 [Pipeline] echo [2021-05-26T02:47:14.921Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 58f0ed0 [Pipeline] echo [2021-05-26T02:47:14.946Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T02:47:15.024Z] provisioning config files... [2021-05-26T02:47:15.039Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config9132680916160778379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:47:15.360Z] ---> docker-login.sh [2021-05-26T02:47:15.360Z] nexus3.edgexfoundry.org:10001 [2021-05-26T02:47:15.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:47:15.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:47:15.622Z] Configure a credential helper to remove this warning. See [2021-05-26T02:47:15.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:47:15.622Z] [2021-05-26T02:47:15.622Z] Login Succeeded [2021-05-26T02:47:15.622Z] nexus3.edgexfoundry.org:10002 [2021-05-26T02:47:15.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:47:15.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:47:15.889Z] Configure a credential helper to remove this warning. See [2021-05-26T02:47:15.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:47:15.889Z] [2021-05-26T02:47:15.889Z] Login Succeeded [2021-05-26T02:47:15.889Z] nexus3.edgexfoundry.org:10003 [2021-05-26T02:47:15.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:47:15.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:47:15.889Z] Configure a credential helper to remove this warning. See [2021-05-26T02:47:15.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:47:15.889Z] [2021-05-26T02:47:15.889Z] Login Succeeded [2021-05-26T02:47:15.889Z] nexus3.edgexfoundry.org:10004 [2021-05-26T02:47:16.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:47:16.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:47:16.150Z] Configure a credential helper to remove this warning. See [2021-05-26T02:47:16.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:47:16.151Z] [2021-05-26T02:47:16.151Z] Login Succeeded [2021-05-26T02:47:16.151Z] docker.io [2021-05-26T02:47:16.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:47:16.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:47:16.412Z] Configure a credential helper to remove this warning. See [2021-05-26T02:47:16.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:47:16.412Z] [2021-05-26T02:47:16.412Z] Login Succeeded [2021-05-26T02:47:16.412Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T02:47:16.420Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T02:47:16.857Z] + git log --format=format:%s -1 58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 [Pipeline] echo [2021-05-26T02:47:16.912Z] GIT_COMMIT: 58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292, Commit Message: Merge pull request #257 from lenny-intel/service-info [Pipeline] echo [2021-05-26T02:47:16.926Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:47:17.479Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T02:47:17.479Z] [2021-05-26T02:47:17.479Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:47:17.807Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T02:47:17.808Z] latest: Pulling from edgex-devops/git-semver [2021-05-26T02:47:17.808Z] 31603596830f: Pulling fs layer [2021-05-26T02:47:17.808Z] 54011a49482f: Pulling fs layer [2021-05-26T02:47:17.808Z] a6820b24f6d8: Pulling fs layer [2021-05-26T02:47:17.808Z] f581987b2513: Pulling fs layer [2021-05-26T02:47:17.808Z] f581987b2513: Waiting [2021-05-26T02:47:17.808Z] 54011a49482f: Verifying Checksum [2021-05-26T02:47:17.808Z] 54011a49482f: Download complete [2021-05-26T02:47:18.067Z] 31603596830f: Verifying Checksum [2021-05-26T02:47:18.067Z] 31603596830f: Download complete [2021-05-26T02:47:18.067Z] a6820b24f6d8: Verifying Checksum [2021-05-26T02:47:18.067Z] a6820b24f6d8: Download complete [2021-05-26T02:47:18.067Z] f581987b2513: Verifying Checksum [2021-05-26T02:47:18.067Z] f581987b2513: Download complete [2021-05-26T02:47:18.329Z] 31603596830f: Pull complete [2021-05-26T02:47:18.601Z] 54011a49482f: Pull complete [2021-05-26T02:47:19.175Z] a6820b24f6d8: Pull complete [2021-05-26T02:47:19.439Z] f581987b2513: Pull complete [2021-05-26T02:47:19.439Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-26T02:47:19.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T02:47:19.700Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-26T02:47:19.781Z] prd-centos7-docker-4c-2g-340 does not seem to be running inside a container [2021-05-26T02:47:19.819Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-26T02:47:22.876Z] $ docker top e9bd65618ecbcf8186c73240932fc92f37aa786df4fc385cc685f241f49c9303 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-26T02:47:23.005Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T02:47:23.005Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T02:47:23.114Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T02:47:23.112Z] $ docker exec e9bd65618ecbcf8186c73240932fc92f37aa786df4fc385cc685f241f49c9303 ssh-agent [2021-05-26T02:47:23.215Z] SSH_AUTH_SOCK=/tmp/ssh-y5lbpYEVIlWj/agent.13 [2021-05-26T02:47:23.215Z] SSH_AGENT_PID=19 [2021-05-26T02:47:23.224Z] Running ssh-add (command line suppressed) [2021-05-26T02:47:23.313Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7244437470649344562.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7244437470649344562.key) [2021-05-26T02:47:23.331Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T02:47:23.632Z] + git tag --points-at HEAD [Pipeline] } [2021-05-26T02:47:23.643Z] $ docker exec --env ******** --env ******** e9bd65618ecbcf8186c73240932fc92f37aa786df4fc385cc685f241f49c9303 ssh-agent -k [2021-05-26T02:47:23.730Z] unset SSH_AUTH_SOCK; [2021-05-26T02:47:23.731Z] unset SSH_AGENT_PID; [2021-05-26T02:47:23.731Z] echo Agent pid 19 killed; [2021-05-26T02:47:23.747Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-26T02:47:23.789Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T02:47:23.789Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T02:47:23.897Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T02:47:23.895Z] $ docker exec e9bd65618ecbcf8186c73240932fc92f37aa786df4fc385cc685f241f49c9303 ssh-agent [2021-05-26T02:47:24.000Z] SSH_AUTH_SOCK=/tmp/ssh-oZEEBDjKWy2i/agent.53 [2021-05-26T02:47:24.000Z] SSH_AGENT_PID=60 [2021-05-26T02:47:24.005Z] Running ssh-add (command line suppressed) [2021-05-26T02:47:24.098Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5633377703565099505.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5633377703565099505.key) [2021-05-26T02:47:24.117Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T02:47:24.425Z] + git semver init [2021-05-26T02:47:24.425Z] # -> Open(): unable to determine branch for HEAD [2021-05-26T02:47:24.425Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-05-26T02:47:24.425Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-05-26T02:47:24.425Z] # $SEMVER_REMOTE_NAME = origin [2021-05-26T02:47:24.425Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-26T02:47:24.425Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-26T02:47:24.425Z] # $SEMVER_BRANCH = master [2021-05-26T02:47:24.425Z] # $SEMVER_TEMP = /tmp/semver-881473579 [2021-05-26T02:47:24.425Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-05-26T02:47:24.689Z] # '/tmp/semver-881473579' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' [2021-05-26T02:47:24.689Z] # -> Force: false [2021-05-26T02:47:24.689Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-05-26T02:47:24.696Z] $ docker exec --env ******** --env ******** e9bd65618ecbcf8186c73240932fc92f37aa786df4fc385cc685f241f49c9303 ssh-agent -k [2021-05-26T02:47:24.785Z] unset SSH_AUTH_SOCK; [2021-05-26T02:47:24.786Z] unset SSH_AGENT_PID; [2021-05-26T02:47:24.786Z] echo Agent pid 60 killed; [2021-05-26T02:47:24.801Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-26T02:47:25.145Z] + git semver [Pipeline] } [2021-05-26T02:47:25.165Z] $ docker stop --time=1 e9bd65618ecbcf8186c73240932fc92f37aa786df4fc385cc685f241f49c9303 [2021-05-26T02:47:26.574Z] $ docker rm -f e9bd65618ecbcf8186c73240932fc92f37aa786df4fc385cc685f241f49c9303 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T02:47:27.246Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-26T02:47:27.524Z] Stashed 1 file(s) [Pipeline] echo [2021-05-26T02:47:27.527Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.15 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-26T02:47:42.711Z] Still waiting to schedule task [2021-05-26T02:47:42.711Z] ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-26T02:47:42.712Z] ‘prd-centos7-docker-4c-2g-309’ is offline [2021-05-26T02:47:42.712Z] ‘prd-centos7-docker-4c-2g-343’ is offline [2021-05-26T02:47:42.712Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-341’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-26T02:47:42.712Z] Still waiting to schedule task [2021-05-26T02:47:42.712Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-341’ is offline [2021-05-26T02:49:52.163Z] Running on prd-centos7-docker-4c-2g-345 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-05-26T02:49:52.185Z] Running in /w/workspace/device-mqtt-go/47 [Pipeline] { [Pipeline] checkout [2021-05-26T02:49:52.298Z] Selected Git installation does not exist. Using Default [2021-05-26T02:49:52.299Z] The recommended git tool is: NONE [2021-05-26T02:49:55.092Z] using credential edgex-jenkins-ssh [2021-05-26T02:49:55.129Z] Cloning the remote Git repository [2021-05-26T02:49:55.151Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-26T02:49:55.228Z] > git init /w/workspace/device-mqtt-go/47 # timeout=10 [2021-05-26T02:49:55.264Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-26T02:49:55.264Z] > git --version # timeout=10 [2021-05-26T02:49:55.276Z] > git --version # 'git version 2.24.4' [2021-05-26T02:49:55.276Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T02:49:55.321Z] [INFO] Currently running in a labeled security context [2021-05-26T02:49:55.321Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-26T02:49:55.321Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/47@tmp/jenkins-gitclient-ssh3803041792591062625.key [2021-05-26T02:49:55.362Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T02:49:56.051Z] Avoid second fetch [2021-05-26T02:49:56.052Z] Checking out Revision 58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 (master) [2021-05-26T02:49:56.025Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-05-26T02:49:56.036Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T02:49:56.056Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T02:49:56.068Z] > git checkout -f 58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 # timeout=10 [2021-05-26T02:49:59.831Z] Commit message: "Merge pull request #257 from lenny-intel/service-info" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T02:50:00.956Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-26T02:50:01.367Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-26T02:50:01.664Z] + true [2021-05-26T02:50:01.664Z] + sudo service docker restart [2021-05-26T02:50:01.664Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T02:50:23.734Z] provisioning config files... [2021-05-26T02:50:23.746Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/47@tmp/config6150829886583781975tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:50:24.083Z] ---> docker-login.sh [2021-05-26T02:50:24.084Z] nexus3.edgexfoundry.org:10001 [2021-05-26T02:50:25.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:50:25.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:50:25.738Z] Configure a credential helper to remove this warning. See [2021-05-26T02:50:25.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:50:25.738Z] [2021-05-26T02:50:25.738Z] Login Succeeded [2021-05-26T02:50:25.738Z] nexus3.edgexfoundry.org:10002 [2021-05-26T02:50:25.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:50:26.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:50:26.000Z] Configure a credential helper to remove this warning. See [2021-05-26T02:50:26.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:50:26.000Z] [2021-05-26T02:50:26.000Z] Login Succeeded [2021-05-26T02:50:26.000Z] nexus3.edgexfoundry.org:10003 [2021-05-26T02:50:26.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:50:26.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:50:26.262Z] Configure a credential helper to remove this warning. See [2021-05-26T02:50:26.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:50:26.262Z] [2021-05-26T02:50:26.262Z] Login Succeeded [2021-05-26T02:50:26.262Z] nexus3.edgexfoundry.org:10004 [2021-05-26T02:50:26.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:50:26.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:50:26.526Z] Configure a credential helper to remove this warning. See [2021-05-26T02:50:26.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:50:26.526Z] [2021-05-26T02:50:26.526Z] Login Succeeded [2021-05-26T02:50:26.526Z] docker.io [2021-05-26T02:50:26.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:50:26.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:50:26.789Z] Configure a credential helper to remove this warning. See [2021-05-26T02:50:26.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:50:26.789Z] [2021-05-26T02:50:26.789Z] Login Succeeded [2021-05-26T02:50:26.789Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T02:50:26.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-26T02:50:27.029Z] ========================================================= [2021-05-26T02:50:27.030Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-26T02:50:27.030Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:50:27.368Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-26T02:50:27.380Z] Sending build context to Docker daemon 565.8kB [2021-05-26T02:50:27.380Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T02:50:27.380Z] Step 2/8 : FROM ${BASE} [2021-05-26T02:50:27.957Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-26T02:50:27.957Z] 540db60ca938: Pulling fs layer [2021-05-26T02:50:27.957Z] adcc1eea9eea: Pulling fs layer [2021-05-26T02:50:27.957Z] 4c4ab2625f07: Pulling fs layer [2021-05-26T02:50:27.957Z] 0510c868ecb4: Pulling fs layer [2021-05-26T02:50:27.957Z] afea3b2eda06: Pulling fs layer [2021-05-26T02:50:27.957Z] 7809a108b3ef: Pulling fs layer [2021-05-26T02:50:27.957Z] f706445af74f: Pulling fs layer [2021-05-26T02:50:27.957Z] afea3b2eda06: Waiting [2021-05-26T02:50:27.957Z] 7809a108b3ef: Waiting [2021-05-26T02:50:27.957Z] f706445af74f: Waiting [2021-05-26T02:50:27.957Z] 0510c868ecb4: Waiting [2021-05-26T02:50:27.957Z] 4c4ab2625f07: Verifying Checksum [2021-05-26T02:50:27.957Z] 4c4ab2625f07: Download complete [2021-05-26T02:50:27.957Z] adcc1eea9eea: Verifying Checksum [2021-05-26T02:50:27.957Z] adcc1eea9eea: Download complete [2021-05-26T02:50:27.957Z] afea3b2eda06: Verifying Checksum [2021-05-26T02:50:27.957Z] afea3b2eda06: Download complete [2021-05-26T02:50:27.957Z] 7809a108b3ef: Verifying Checksum [2021-05-26T02:50:27.957Z] 7809a108b3ef: Download complete [2021-05-26T02:50:28.219Z] 540db60ca938: Verifying Checksum [2021-05-26T02:50:28.219Z] 540db60ca938: Download complete [2021-05-26T02:50:28.481Z] 540db60ca938: Pull complete [2021-05-26T02:50:29.056Z] adcc1eea9eea: Pull complete [2021-05-26T02:50:29.319Z] 4c4ab2625f07: Pull complete [2021-05-26T02:50:30.726Z] f706445af74f: Verifying Checksum [2021-05-26T02:50:30.726Z] f706445af74f: Download complete [2021-05-26T02:50:31.686Z] 0510c868ecb4: Verifying Checksum [2021-05-26T02:50:31.686Z] 0510c868ecb4: Download complete [2021-05-26T02:50:35.936Z] 0510c868ecb4: Pull complete [2021-05-26T02:50:36.201Z] afea3b2eda06: Pull complete [2021-05-26T02:50:36.466Z] 7809a108b3ef: Pull complete [2021-05-26T02:50:37.706Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-347 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-05-26T02:50:37.730Z] Running in /w/workspace/device-mqtt-go/47 [Pipeline] { [Pipeline] checkout [2021-05-26T02:50:37.931Z] Selected Git installation does not exist. Using Default [2021-05-26T02:50:37.931Z] The recommended git tool is: NONE [2021-05-26T02:50:38.411Z] f706445af74f: Pull complete [2021-05-26T02:50:38.411Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-26T02:50:38.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-26T02:50:38.670Z] ---> b068be0155e3 [2021-05-26T02:50:38.670Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-26T02:50:43.076Z] using credential edgex-jenkins-ssh [2021-05-26T02:50:43.093Z] Cloning the remote Git repository [2021-05-26T02:50:43.146Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-26T02:50:43.274Z] > git init /w/workspace/device-mqtt-go/47 # timeout=10 [2021-05-26T02:50:43.337Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-26T02:50:43.338Z] > git --version # timeout=10 [2021-05-26T02:50:43.354Z] > git --version # 'git version 2.17.1' [2021-05-26T02:50:43.356Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T02:50:43.447Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T02:50:44.266Z] Avoid second fetch [2021-05-26T02:50:44.267Z] Checking out Revision 58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 (master) [2021-05-26T02:50:44.223Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-05-26T02:50:44.243Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T02:50:44.279Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T02:50:44.297Z] > git checkout -f 58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 # timeout=10 [2021-05-26T02:50:48.607Z] Commit message: "Merge pull request #257 from lenny-intel/service-info" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T02:50:49.870Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-26T02:50:50.328Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-26T02:50:50.692Z] + true [2021-05-26T02:50:50.692Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T02:51:09.040Z] provisioning config files... [2021-05-26T02:51:09.068Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/47@tmp/config8051196746464472481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:51:09.445Z] ---> docker-login.sh [2021-05-26T02:51:09.445Z] nexus3.edgexfoundry.org:10001 [2021-05-26T02:51:10.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:51:10.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:51:10.706Z] Configure a credential helper to remove this warning. See [2021-05-26T02:51:10.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:51:10.706Z] [2021-05-26T02:51:10.706Z] Login Succeeded [2021-05-26T02:51:10.706Z] nexus3.edgexfoundry.org:10002 [2021-05-26T02:51:10.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:51:11.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:51:11.255Z] Configure a credential helper to remove this warning. See [2021-05-26T02:51:11.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:51:11.255Z] [2021-05-26T02:51:11.255Z] Login Succeeded [2021-05-26T02:51:11.255Z] nexus3.edgexfoundry.org:10003 [2021-05-26T02:51:11.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:51:11.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:51:11.813Z] Configure a credential helper to remove this warning. See [2021-05-26T02:51:11.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:51:11.813Z] [2021-05-26T02:51:11.813Z] Login Succeeded [2021-05-26T02:51:11.813Z] nexus3.edgexfoundry.org:10004 [2021-05-26T02:51:12.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:51:12.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:51:12.364Z] Configure a credential helper to remove this warning. See [2021-05-26T02:51:12.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:51:12.364Z] [2021-05-26T02:51:12.364Z] Login Succeeded [2021-05-26T02:51:12.364Z] docker.io [2021-05-26T02:51:12.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:51:12.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:51:12.913Z] Configure a credential helper to remove this warning. See [2021-05-26T02:51:12.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:51:12.913Z] [2021-05-26T02:51:12.913Z] Login Succeeded [2021-05-26T02:51:13.190Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T02:51:13.209Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-26T02:51:13.529Z] ========================================================= [2021-05-26T02:51:13.529Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-26T02:51:13.529Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:51:13.877Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-26T02:51:14.152Z] Sending build context to Docker daemon 564.7kB [2021-05-26T02:51:14.426Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T02:51:14.426Z] Step 2/8 : FROM ${BASE} [2021-05-26T02:51:14.426Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-26T02:51:14.426Z] 595b0fe564bb: Pulling fs layer [2021-05-26T02:51:14.426Z] 7186ed65a4f7: Pulling fs layer [2021-05-26T02:51:14.426Z] 316046926c0a: Pulling fs layer [2021-05-26T02:51:14.426Z] 4ebd0625c992: Pulling fs layer [2021-05-26T02:51:14.426Z] 207e8628e3a3: Pulling fs layer [2021-05-26T02:51:14.426Z] c791037a9be2: Pulling fs layer [2021-05-26T02:51:14.426Z] ffd874e62e21: Pulling fs layer [2021-05-26T02:51:14.426Z] 4ebd0625c992: Waiting [2021-05-26T02:51:14.426Z] 207e8628e3a3: Waiting [2021-05-26T02:51:14.426Z] c791037a9be2: Waiting [2021-05-26T02:51:14.426Z] ffd874e62e21: Waiting [2021-05-26T02:51:14.426Z] 316046926c0a: Verifying Checksum [2021-05-26T02:51:14.426Z] 316046926c0a: Download complete [2021-05-26T02:51:14.718Z] 7186ed65a4f7: Verifying Checksum [2021-05-26T02:51:14.718Z] 7186ed65a4f7: Download complete [2021-05-26T02:51:14.718Z] 207e8628e3a3: Download complete [2021-05-26T02:51:14.718Z] c791037a9be2: Verifying Checksum [2021-05-26T02:51:14.718Z] c791037a9be2: Download complete [2021-05-26T02:51:14.718Z] 595b0fe564bb: Verifying Checksum [2021-05-26T02:51:14.718Z] 595b0fe564bb: Download complete [2021-05-26T02:51:15.331Z] 595b0fe564bb: Pull complete [2021-05-26T02:51:15.938Z] 7186ed65a4f7: Pull complete [2021-05-26T02:51:16.556Z] 316046926c0a: Pull complete [2021-05-26T02:51:17.163Z] ffd874e62e21: Verifying Checksum [2021-05-26T02:51:17.163Z] ffd874e62e21: Download complete [2021-05-26T02:51:17.461Z] ---> Running in 9f50ceb39c2d [2021-05-26T02:51:17.461Z] Removing intermediate container 9f50ceb39c2d [2021-05-26T02:51:17.461Z] ---> 2010ddc32966 [2021-05-26T02:51:17.461Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T02:51:17.461Z] ---> Running in 167dadf9141b [2021-05-26T02:51:17.461Z] Removing intermediate container 167dadf9141b [2021-05-26T02:51:17.461Z] ---> a3d4cbef4218 [2021-05-26T02:51:17.461Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-26T02:51:17.461Z] ---> Running in fd246122d11e [2021-05-26T02:51:17.461Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-26T02:51:18.032Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-26T02:51:18.603Z] 4ebd0625c992: Verifying Checksum [2021-05-26T02:51:18.603Z] 4ebd0625c992: Download complete [2021-05-26T02:51:18.987Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-26T02:51:18.987Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-26T02:51:18.987Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-26T02:51:18.987Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-26T02:51:19.247Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-26T02:51:19.247Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-26T02:51:19.247Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-26T02:51:19.507Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-26T02:51:19.766Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-26T02:51:19.767Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-26T02:51:20.030Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-26T02:51:20.030Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-26T02:51:20.030Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-26T02:51:20.289Z] Executing busybox-1.32.1-r6.trigger [2021-05-26T02:51:20.289Z] OK: 156 MiB in 53 packages [2021-05-26T02:51:22.849Z] Removing intermediate container fd246122d11e [2021-05-26T02:51:22.849Z] ---> 8bbe1e889109 [2021-05-26T02:51:22.849Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-05-26T02:51:23.122Z] ---> Running in 89d09f29a6db [2021-05-26T02:51:23.390Z] Removing intermediate container 89d09f29a6db [2021-05-26T02:51:23.390Z] ---> 26beb23eb76e [2021-05-26T02:51:23.390Z] Step 7/8 : COPY . . [2021-05-26T02:51:24.774Z] ---> 6ff07b49db35 [2021-05-26T02:51:24.774Z] Step 8/8 : RUN go mod download [2021-05-26T02:51:24.774Z] ---> Running in 46fa1a98e54f [2021-05-26T02:51:28.818Z] 4ebd0625c992: Pull complete [2021-05-26T02:51:29.097Z] 207e8628e3a3: Pull complete [2021-05-26T02:51:29.371Z] c791037a9be2: Pull complete [2021-05-26T02:51:33.719Z] ffd874e62e21: Pull complete [2021-05-26T02:51:33.719Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-26T02:51:33.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-26T02:51:33.719Z] ---> cfc18b08335c [2021-05-26T02:51:33.719Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-26T02:51:35.161Z] ---> Running in 8570b43a3d92 [2021-05-26T02:51:35.760Z] Removing intermediate container 8570b43a3d92 [2021-05-26T02:51:35.760Z] ---> baec91aa5fee [2021-05-26T02:51:35.760Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T02:51:35.760Z] ---> Running in ff6727477889 [2021-05-26T02:51:38.376Z] Removing intermediate container ff6727477889 [2021-05-26T02:51:38.376Z] ---> 748c4328e05f [2021-05-26T02:51:38.376Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-26T02:51:38.376Z] ---> Running in 75d877b6504f [2021-05-26T02:51:39.349Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-26T02:51:40.320Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-26T02:51:40.911Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-26T02:51:41.182Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-26T02:51:41.182Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-26T02:51:41.453Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-26T02:51:41.453Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-26T02:51:41.453Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-26T02:51:41.726Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-26T02:51:42.000Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-26T02:51:42.000Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-26T02:51:42.271Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-26T02:51:42.863Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-26T02:51:42.864Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-26T02:51:43.135Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-26T02:51:43.135Z] Executing busybox-1.32.1-r6.trigger [2021-05-26T02:51:43.135Z] OK: 145 MiB in 53 packages [2021-05-26T02:51:44.590Z] Removing intermediate container 75d877b6504f [2021-05-26T02:51:44.590Z] ---> c2e3804683ca [2021-05-26T02:51:44.590Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-05-26T02:51:44.866Z] ---> Running in 7c36cb49dd0b [2021-05-26T02:51:45.141Z] Removing intermediate container 7c36cb49dd0b [2021-05-26T02:51:45.141Z] ---> 60871810b070 [2021-05-26T02:51:45.141Z] Step 7/8 : COPY . . [2021-05-26T02:51:46.119Z] ---> b404adb0e923 [2021-05-26T02:51:46.119Z] Step 8/8 : RUN go mod download [2021-05-26T02:51:46.394Z] ---> Running in 600aad239617 [2021-05-26T02:52:11.545Z] Removing intermediate container 46fa1a98e54f [2021-05-26T02:52:11.545Z] ---> 145c96004b98 [2021-05-26T02:52:11.545Z] Successfully built 145c96004b98 [2021-05-26T02:52:11.545Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:52:11.846Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-26T02:52:11.846Z] . [Pipeline] withDockerContainer [2021-05-26T02:52:11.923Z] prd-centos7-docker-4c-2g-345 does not seem to be running inside a container [2021-05-26T02:52:11.957Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/47 -v /w/workspace/device-mqtt-go/47:/w/workspace/device-mqtt-go/47:rw,z -v /w/workspace/device-mqtt-go/47@tmp:/w/workspace/device-mqtt-go/47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-26T02:52:13.202Z] Removing intermediate container 600aad239617 [2021-05-26T02:52:13.202Z] ---> 347094246d6f [2021-05-26T02:52:13.202Z] Successfully built 347094246d6f [2021-05-26T02:52:13.202Z] Successfully tagged ci-base-image-arm64:latest [2021-05-26T02:52:13.813Z] $ docker top 2a3338e907f2aa229d1c1ac9dbb01885d2b21afac5bed1ed024c77efb487210c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:52:14.230Z] + go version [2021-05-26T02:52:14.231Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-26T02:52:14.241Z] $ docker stop --time=1 2a3338e907f2aa229d1c1ac9dbb01885d2b21afac5bed1ed024c77efb487210c [2021-05-26T02:52:14.303Z] + docker inspect -f . ci-base-image-arm64 [2021-05-26T02:52:14.303Z] . [2021-05-26T02:52:15.789Z] $ docker rm -f 2a3338e907f2aa229d1c1ac9dbb01885d2b21afac5bed1ed024c77efb487210c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer [2021-05-26T02:52:16.274Z] prd-ubuntu18.04-docker-arm64-4c-16g-347 does not seem to be running inside a container [2021-05-26T02:52:16.429Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/47 -v /w/workspace/device-mqtt-go/47:/w/workspace/device-mqtt-go/47:rw,z -v /w/workspace/device-mqtt-go/47@tmp:/w/workspace/device-mqtt-go/47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-26T02:52:17.982Z] $ docker top 99533ce48acd3a1c1746c4b06f2b4f2ac92c3016eacc5b0784146ace1dbba2fe -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:52:18.814Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-26T02:52:18.814Z] . [Pipeline] withDockerContainer [2021-05-26T02:52:18.894Z] prd-centos7-docker-4c-2g-345 does not seem to be running inside a container [2021-05-26T02:52:18.938Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/47 -v /w/workspace/device-mqtt-go/47:/w/workspace/device-mqtt-go/47:rw,z -v /w/workspace/device-mqtt-go/47@tmp:/w/workspace/device-mqtt-go/47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-26T02:52:19.081Z] + go version [2021-05-26T02:52:19.081Z] go version go1.16.3 linux/arm64 [2021-05-26T02:52:19.801Z] $ docker top b6576b3971d71901700c90627c1f1028b6b904ea490002bb61f9e86b0911dbe6 -eo pid,comm [Pipeline] { [Pipeline] } [2021-05-26T02:52:19.912Z] $ docker stop --time=1 99533ce48acd3a1c1746c4b06f2b4f2ac92c3016eacc5b0784146ace1dbba2fe [2021-05-26T02:52:21.719Z] $ docker rm -f 99533ce48acd3a1c1746c4b06f2b4f2ac92c3016eacc5b0784146ace1dbba2fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:52:22.298Z] + go mod tidy [2021-05-26T02:52:22.450Z] + docker inspect -f . ci-base-image-arm64 [2021-05-26T02:52:22.450Z] . [Pipeline] withDockerContainer [2021-05-26T02:52:22.715Z] prd-ubuntu18.04-docker-arm64-4c-16g-347 does not seem to be running inside a container [2021-05-26T02:52:22.789Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/47 -v /w/workspace/device-mqtt-go/47:/w/workspace/device-mqtt-go/47:rw,z -v /w/workspace/device-mqtt-go/47@tmp:/w/workspace/device-mqtt-go/47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-26T02:52:24.389Z] $ docker top 2b932056e441c2eef2fb24c26cc8b9c8bea7be01bcc5400edb66dc2c9b8c9eb1 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-26T02:52:25.023Z] + make test [2021-05-26T02:52:25.023Z] go mod tidy [2021-05-26T02:52:25.291Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-26T02:52:25.423Z] + go mod tidy [2021-05-26T02:52:25.873Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [Pipeline] sh [2021-05-26T02:52:26.686Z] + make test [2021-05-26T02:52:26.686Z] go mod tidy [2021-05-26T02:52:27.290Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-26T02:52:28.749Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-05-26T02:52:47.925Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-05-26T02:52:47.925Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.007s coverage: 24.9% of statements [2021-05-26T02:52:47.925Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-05-26T02:52:47.925Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-26T02:52:58.003Z] gofmt -l . [2021-05-26T02:52:58.003Z] ["`gofmt -l .`" = ""] [2021-05-26T02:52:58.003Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-26T02:52:58.960Z] $ docker stop --time=1 b6576b3971d71901700c90627c1f1028b6b904ea490002bb61f9e86b0911dbe6 [2021-05-26T02:53:03.439Z] $ docker rm -f b6576b3971d71901700c90627c1f1028b6b904ea490002bb61f9e86b0911dbe6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T02:53:03.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-26T02:53:04.089Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-26T02:53:05.046Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-26T02:53:05.339Z] + ls -al . [2021-05-26T02:53:05.339Z] total 108 [2021-05-26T02:53:05.339Z] drwxrwxr-x. 9 jenkins jenkins 4096 May 26 02:52 . [2021-05-26T02:53:05.339Z] drwxrwxr-x. 4 jenkins jenkins 30 May 26 02:49 .. [2021-05-26T02:53:05.339Z] -rw-rw-r--. 1 jenkins jenkins 7100 May 26 02:49 Attribution.txt [2021-05-26T02:53:05.339Z] drwxrwxr-x. 2 jenkins jenkins 60 May 26 02:49 bin [2021-05-26T02:53:05.339Z] drwxrwxr-x. 3 jenkins jenkins 32 May 26 02:49 cmd [2021-05-26T02:53:05.339Z] -rw-r--r--. 1 jenkins jenkins 19386 May 26 02:52 coverage.out [2021-05-26T02:53:05.339Z] -rw-rw-r--. 1 jenkins jenkins 1877 May 26 02:49 Dockerfile [2021-05-26T02:53:05.339Z] -rw-rw-r--. 1 jenkins jenkins 994 May 26 02:49 Dockerfile.build [2021-05-26T02:53:05.339Z] -rw-rw-r--. 1 jenkins jenkins 140 May 26 02:49 .dockerignore [2021-05-26T02:53:05.339Z] drwxrwxr-x. 8 jenkins jenkins 162 May 26 02:49 .git [2021-05-26T02:53:05.339Z] drwxrwxr-x. 2 jenkins jenkins 103 May 26 02:49 .github [2021-05-26T02:53:05.339Z] -rw-rw-r--. 1 jenkins jenkins 336 May 26 02:49 .gitignore [2021-05-26T02:53:05.339Z] -rw-rw-r--. 1 jenkins jenkins 409 May 26 02:49 go.mod [2021-05-26T02:53:05.339Z] -rw-r--r--. 1 jenkins jenkins 21382 May 26 02:52 go.sum [2021-05-26T02:53:05.339Z] drwxrwxr-x. 3 jenkins jenkins 20 May 26 02:49 internal [2021-05-26T02:53:05.339Z] -rw-rw-r--. 1 jenkins jenkins 677 May 26 02:49 Jenkinsfile [2021-05-26T02:53:05.339Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 26 02:49 LICENSE [2021-05-26T02:53:05.339Z] -rw-rw-r--. 1 jenkins jenkins 907 May 26 02:49 Makefile [2021-05-26T02:53:05.339Z] drwxrwxr-x. 2 jenkins jenkins 23 May 26 02:49 mock [2021-05-26T02:53:05.339Z] -rw-rw-r--. 1 jenkins jenkins 2217 May 26 02:49 README.md [2021-05-26T02:53:05.339Z] drwxrwxr-x. 4 jenkins jenkins 71 May 26 02:49 snap [2021-05-26T02:53:05.339Z] -rw-rw-r--. 1 jenkins jenkins 12 May 26 02:47 VERSION [2021-05-26T02:53:05.339Z] -rw-rw-r--. 1 jenkins jenkins 227 May 26 02:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:53:05.640Z] + 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=58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 --label arch=amd64 --label version=1.3.2-dev.15 . [2021-05-26T02:53:05.641Z] Sending build context to Docker daemon 585.7kB [2021-05-26T02:53:05.641Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T02:53:05.641Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-26T02:53:05.641Z] ---> 145c96004b98 [2021-05-26T02:53:05.641Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T02:53:06.578Z] ---> Running in 9b30a45d937e [2021-05-26T02:53:06.839Z] Removing intermediate container 9b30a45d937e [2021-05-26T02:53:06.839Z] ---> 5f05997cb817 [2021-05-26T02:53:06.839Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T02:53:07.098Z] ---> Running in 7be368886343 [2021-05-26T02:53:07.360Z] Removing intermediate container 7be368886343 [2021-05-26T02:53:07.360Z] ---> cc0e87ba7c12 [2021-05-26T02:53:07.360Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T02:53:07.621Z] ---> Running in 490d901d3922 [2021-05-26T02:53:09.005Z] Removing intermediate container 490d901d3922 [2021-05-26T02:53:09.005Z] ---> 3a7e32a0b4f2 [2021-05-26T02:53:09.005Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T02:53:09.265Z] ---> Running in 8b4e9591eb19 [2021-05-26T02:53:09.835Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-26T02:53:10.775Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-26T02:53:11.036Z] OK: 156 MiB in 53 packages [2021-05-26T02:53:11.978Z] Removing intermediate container 8b4e9591eb19 [2021-05-26T02:53:11.978Z] ---> 61287c6be708 [2021-05-26T02:53:11.978Z] Step 7/24 : WORKDIR /device-mqtt-go [2021-05-26T02:53:12.240Z] ---> Running in 225b71676827 [2021-05-26T02:53:12.505Z] Removing intermediate container 225b71676827 [2021-05-26T02:53:12.505Z] ---> a6f3723bf819 [2021-05-26T02:53:12.505Z] Step 8/24 : COPY . . [2021-05-26T02:53:13.888Z] ---> 82f5790afcaa [2021-05-26T02:53:13.888Z] Step 9/24 : RUN go mod tidy [2021-05-26T02:53:14.158Z] ---> Running in a9038fa7c581 [2021-05-26T02:53:16.072Z] Removing intermediate container a9038fa7c581 [2021-05-26T02:53:16.072Z] ---> 736164254579 [2021-05-26T02:53:16.072Z] Step 10/24 : RUN go mod download [2021-05-26T02:53:16.072Z] ---> Running in 5d9149f34671 [2021-05-26T02:53:17.463Z] Removing intermediate container 5d9149f34671 [2021-05-26T02:53:17.463Z] ---> ab120a88eeae [2021-05-26T02:53:17.463Z] Step 11/24 : ARG MAKE='make build' [2021-05-26T02:53:17.725Z] ---> Running in 4dbf3ceee0a8 [2021-05-26T02:53:17.987Z] Removing intermediate container 4dbf3ceee0a8 [2021-05-26T02:53:17.987Z] ---> 0b15869923fd [2021-05-26T02:53:17.987Z] Step 12/24 : RUN $MAKE [2021-05-26T02:53:18.248Z] ---> Running in 5ba994420f1e [2021-05-26T02:53:19.192Z] go mod tidy [2021-05-26T02:53:19.456Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.15" -o cmd/device-mqtt ./cmd [2021-05-26T02:53:25.357Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-05-26T02:53:25.951Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.054s coverage: 24.9% of statements [2021-05-26T02:53:25.951Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-05-26T02:53:26.229Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-26T02:53:41.509Z] Removing intermediate container 5ba994420f1e [2021-05-26T02:53:41.509Z] ---> 34e9816612db [2021-05-26T02:53:41.509Z] Step 13/24 : FROM alpine:3.12 [2021-05-26T02:53:41.768Z] 3.12: Pulling from library/alpine [2021-05-26T02:53:41.768Z] 339de151aab4: Pulling fs layer [2021-05-26T02:53:42.027Z] 339de151aab4: Verifying Checksum [2021-05-26T02:53:42.027Z] 339de151aab4: Download complete [2021-05-26T02:53:42.295Z] 339de151aab4: Pull complete [2021-05-26T02:53:42.556Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-26T02:53:42.557Z] Status: Downloaded newer image for alpine:3.12 [2021-05-26T02:53:42.557Z] ---> 13621d1b12d4 [2021-05-26T02:53:42.557Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-05-26T02:53:43.126Z] ---> Running in 9b3b3c5f49c2 [2021-05-26T02:53:43.126Z] Removing intermediate container 9b3b3c5f49c2 [2021-05-26T02:53:43.126Z] ---> b25d27af23ac [2021-05-26T02:53:43.126Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-26T02:53:43.387Z] ---> Running in bf47796246a0 [2021-05-26T02:53:43.969Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-26T02:53:43.969Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-26T02:53:44.229Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-26T02:53:44.229Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-26T02:53:44.229Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-26T02:53:44.229Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-26T02:53:44.229Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-26T02:53:44.229Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-26T02:53:44.229Z] Executing busybox-1.31.1-r20.trigger [2021-05-26T02:53:44.229Z] OK: 8 MiB in 20 packages [2021-05-26T02:53:45.181Z] Removing intermediate container bf47796246a0 [2021-05-26T02:53:45.181Z] ---> 7a8a898c6780 [2021-05-26T02:53:45.181Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2021-05-26T02:53:46.124Z] ---> 5cd46aa6b436 [2021-05-26T02:53:46.124Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-05-26T02:53:46.384Z] ---> f736aa39ea65 [2021-05-26T02:53:46.384Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-05-26T02:53:46.644Z] ---> 3344d278a106 [2021-05-26T02:53:46.644Z] Step 19/24 : EXPOSE 59982 [2021-05-26T02:53:46.904Z] ---> Running in cce6f10f2ad4 [2021-05-26T02:53:47.166Z] Removing intermediate container cce6f10f2ad4 [2021-05-26T02:53:47.166Z] ---> b879ea2f3e89 [2021-05-26T02:53:47.166Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2021-05-26T02:53:47.166Z] ---> Running in af227a464eee [2021-05-26T02:53:47.427Z] Removing intermediate container af227a464eee [2021-05-26T02:53:47.427Z] ---> 257d843e7d7e [2021-05-26T02:53:47.427Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-26T02:53:47.692Z] ---> Running in 16fa3b13f319 [2021-05-26T02:53:47.952Z] Removing intermediate container 16fa3b13f319 [2021-05-26T02:53:47.952Z] ---> 6bd5bd86b9dc [2021-05-26T02:53:47.952Z] Step 22/24 : LABEL arch=amd64 [2021-05-26T02:53:48.211Z] ---> Running in 76885128dc4b [2021-05-26T02:53:48.474Z] Removing intermediate container 76885128dc4b [2021-05-26T02:53:48.475Z] ---> d34ad7f7eb03 [2021-05-26T02:53:48.475Z] Step 23/24 : LABEL git_sha=58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 [2021-05-26T02:53:48.737Z] ---> Running in 5ec492ada1c1 [2021-05-26T02:53:49.006Z] Removing intermediate container 5ec492ada1c1 [2021-05-26T02:53:49.006Z] ---> 0834d2603f76 [2021-05-26T02:53:49.006Z] Step 24/24 : LABEL version=1.3.2-dev.15 [2021-05-26T02:53:49.270Z] ---> Running in 8dab4d4bd728 [2021-05-26T02:53:49.531Z] Removing intermediate container 8dab4d4bd728 [2021-05-26T02:53:49.531Z] ---> 1b1435b486de [2021-05-26T02:53:49.531Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-26T02:53:49.531Z] Successfully built 1b1435b486de [2021-05-26T02:53:49.531Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T02:53:49.649Z] provisioning config files... [2021-05-26T02:53:49.661Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/47@tmp/config1837968745841236098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:53:49.994Z] ---> docker-login.sh [2021-05-26T02:53:49.994Z] nexus3.edgexfoundry.org:10001 [2021-05-26T02:53:49.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:53:49.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:53:49.994Z] Configure a credential helper to remove this warning. See [2021-05-26T02:53:49.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:53:49.994Z] [2021-05-26T02:53:49.994Z] Login Succeeded [2021-05-26T02:53:49.994Z] nexus3.edgexfoundry.org:10002 [2021-05-26T02:53:50.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:53:50.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:53:50.257Z] Configure a credential helper to remove this warning. See [2021-05-26T02:53:50.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:53:50.257Z] [2021-05-26T02:53:50.257Z] Login Succeeded [2021-05-26T02:53:50.257Z] nexus3.edgexfoundry.org:10003 [2021-05-26T02:53:50.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:53:50.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:53:50.257Z] Configure a credential helper to remove this warning. See [2021-05-26T02:53:50.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:53:50.257Z] [2021-05-26T02:53:50.257Z] Login Succeeded [2021-05-26T02:53:50.257Z] nexus3.edgexfoundry.org:10004 [2021-05-26T02:53:50.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:53:50.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:53:50.523Z] Configure a credential helper to remove this warning. See [2021-05-26T02:53:50.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:53:50.523Z] [2021-05-26T02:53:50.523Z] Login Succeeded [2021-05-26T02:53:50.523Z] docker.io [2021-05-26T02:53:50.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:53:50.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:53:50.786Z] Configure a credential helper to remove this warning. See [2021-05-26T02:53:50.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:53:50.786Z] [2021-05-26T02:53:50.786Z] Login Succeeded [2021-05-26T02:53:50.786Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T02:53:50.794Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-26T02:53:50.868Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2021-05-26T02:53:50.868Z] 58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 [2021-05-26T02:53:50.868Z] latest [2021-05-26T02:53:50.868Z] 1.3.2-dev.15 [2021-05-26T02:53:50.868Z] 58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292-1.3.2-dev.15 [2021-05-26T02:53:50.868Z] master [2021-05-26T02:53:50.868Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:53:51.225Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:53:51.534Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 [2021-05-26T02:53:51.534Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-05-26T02:53:51.534Z] 996b010911fb: Preparing [2021-05-26T02:53:51.534Z] 7167292d781b: Preparing [2021-05-26T02:53:51.534Z] cdf7d4d4bec4: Preparing [2021-05-26T02:53:51.534Z] 2afd9cfed9ad: Preparing [2021-05-26T02:53:51.534Z] 32f366d666a5: Preparing [2021-05-26T02:53:51.534Z] 32f366d666a5: Layer already exists [2021-05-26T02:53:51.798Z] 7167292d781b: Pushed [2021-05-26T02:53:51.798Z] 996b010911fb: Pushed [2021-05-26T02:53:51.798Z] 2afd9cfed9ad: Pushed [2021-05-26T02:53:53.180Z] cdf7d4d4bec4: Pushed [2021-05-26T02:53:53.180Z] 58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292: digest: sha256:0062efa8e9b4fa53dccf9ffbefdbed3fe81abb60e9dd2319b4c1c59f31492428 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:53:53.485Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:53:53.791Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-05-26T02:53:53.791Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-05-26T02:53:53.791Z] 996b010911fb: Preparing [2021-05-26T02:53:53.791Z] 7167292d781b: Preparing [2021-05-26T02:53:53.791Z] cdf7d4d4bec4: Preparing [2021-05-26T02:53:53.791Z] 2afd9cfed9ad: Preparing [2021-05-26T02:53:53.791Z] 32f366d666a5: Preparing [2021-05-26T02:53:53.791Z] 7167292d781b: Layer already exists [2021-05-26T02:53:53.791Z] cdf7d4d4bec4: Layer already exists [2021-05-26T02:53:53.791Z] 996b010911fb: Layer already exists [2021-05-26T02:53:53.791Z] 32f366d666a5: Layer already exists [2021-05-26T02:53:53.791Z] 2afd9cfed9ad: Layer already exists [2021-05-26T02:53:53.791Z] latest: digest: sha256:0062efa8e9b4fa53dccf9ffbefdbed3fe81abb60e9dd2319b4c1c59f31492428 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:53:54.094Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.15 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:53:54.390Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.15 [2021-05-26T02:53:54.390Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-05-26T02:53:54.390Z] 996b010911fb: Preparing [2021-05-26T02:53:54.390Z] 7167292d781b: Preparing [2021-05-26T02:53:54.390Z] cdf7d4d4bec4: Preparing [2021-05-26T02:53:54.390Z] 2afd9cfed9ad: Preparing [2021-05-26T02:53:54.390Z] 32f366d666a5: Preparing [2021-05-26T02:53:54.390Z] cdf7d4d4bec4: Layer already exists [2021-05-26T02:53:54.390Z] 32f366d666a5: Layer already exists [2021-05-26T02:53:54.390Z] 7167292d781b: Layer already exists [2021-05-26T02:53:54.390Z] 2afd9cfed9ad: Layer already exists [2021-05-26T02:53:54.390Z] 996b010911fb: Layer already exists [2021-05-26T02:53:54.390Z] 1.3.2-dev.15: digest: sha256:0062efa8e9b4fa53dccf9ffbefdbed3fe81abb60e9dd2319b4c1c59f31492428 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:53:54.696Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292-1.3.2-dev.15 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:53:54.994Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292-1.3.2-dev.15 [2021-05-26T02:53:54.994Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-05-26T02:53:54.994Z] 996b010911fb: Preparing [2021-05-26T02:53:54.994Z] 7167292d781b: Preparing [2021-05-26T02:53:54.994Z] cdf7d4d4bec4: Preparing [2021-05-26T02:53:54.994Z] 2afd9cfed9ad: Preparing [2021-05-26T02:53:54.994Z] 32f366d666a5: Preparing [2021-05-26T02:53:54.994Z] 32f366d666a5: Layer already exists [2021-05-26T02:53:54.994Z] 996b010911fb: Layer already exists [2021-05-26T02:53:54.994Z] cdf7d4d4bec4: Layer already exists [2021-05-26T02:53:54.994Z] 7167292d781b: Layer already exists [2021-05-26T02:53:54.994Z] 2afd9cfed9ad: Layer already exists [2021-05-26T02:53:54.994Z] 58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292-1.3.2-dev.15: digest: sha256:0062efa8e9b4fa53dccf9ffbefdbed3fe81abb60e9dd2319b4c1c59f31492428 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:53:55.293Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:53:55.590Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:master [2021-05-26T02:53:55.590Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-05-26T02:53:55.590Z] 996b010911fb: Preparing [2021-05-26T02:53:55.590Z] 7167292d781b: Preparing [2021-05-26T02:53:55.590Z] cdf7d4d4bec4: Preparing [2021-05-26T02:53:55.590Z] 2afd9cfed9ad: Preparing [2021-05-26T02:53:55.590Z] 32f366d666a5: Preparing [2021-05-26T02:53:55.590Z] cdf7d4d4bec4: Layer already exists [2021-05-26T02:53:55.590Z] 32f366d666a5: Layer already exists [2021-05-26T02:53:55.590Z] 2afd9cfed9ad: Layer already exists [2021-05-26T02:53:55.590Z] 7167292d781b: Layer already exists [2021-05-26T02:53:55.590Z] 996b010911fb: Layer already exists [2021-05-26T02:53:55.590Z] master: digest: sha256:0062efa8e9b4fa53dccf9ffbefdbed3fe81abb60e9dd2319b4c1c59f31492428 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-26T02:53:55.659Z] ===================================================== [Pipeline] echo [2021-05-26T02:53:55.677Z] taggedImages: [2021-05-26T02:53:55.677Z] - nexus3.edgexfoundry.org:10004/device-mqtt:58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 [2021-05-26T02:53:55.677Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-05-26T02:53:55.677Z] - nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.15 [2021-05-26T02:53:55.677Z] - nexus3.edgexfoundry.org:10004/device-mqtt:58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292-1.3.2-dev.15 [2021-05-26T02:53:55.677Z] - nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:53:56.192Z] ---> job-cost.sh [2021-05-26T02:53:56.192Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0s9n [2021-05-26T02:53:58.631Z] gofmt -l . [2021-05-26T02:53:58.632Z] ["`gofmt -l .`" = ""] [2021-05-26T02:53:58.632Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-26T02:53:58.645Z] $ docker stop --time=1 2b932056e441c2eef2fb24c26cc8b9c8bea7be01bcc5400edb66dc2c9b8c9eb1 [2021-05-26T02:54:00.573Z] $ docker rm -f 2b932056e441c2eef2fb24c26cc8b9c8bea7be01bcc5400edb66dc2c9b8c9eb1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T02:54:01.525Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-26T02:54:01.545Z] Warning: overwriting stash ‘coverage-report’ [2021-05-26T02:54:02.095Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T02:54:02.536Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-26T02:54:02.875Z] + ls -al . [2021-05-26T02:54:02.875Z] total 140 [2021-05-26T02:54:02.875Z] drwxrwxr-x 9 jenkins jenkins 4096 May 26 02:53 . [2021-05-26T02:54:02.875Z] drwxrwxr-x 4 jenkins jenkins 4096 May 26 02:50 .. [2021-05-26T02:54:02.875Z] -rw-rw-r-- 1 jenkins jenkins 140 May 26 02:50 .dockerignore [2021-05-26T02:54:02.875Z] drwxrwxr-x 8 jenkins jenkins 4096 May 26 02:50 .git [2021-05-26T02:54:02.875Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 02:50 .github [2021-05-26T02:54:02.876Z] -rw-rw-r-- 1 jenkins jenkins 336 May 26 02:50 .gitignore [2021-05-26T02:54:02.876Z] -rw-rw-r-- 1 jenkins jenkins 7100 May 26 02:50 Attribution.txt [2021-05-26T02:54:02.876Z] -rw-rw-r-- 1 jenkins jenkins 1877 May 26 02:50 Dockerfile [2021-05-26T02:54:02.876Z] -rw-rw-r-- 1 jenkins jenkins 994 May 26 02:50 Dockerfile.build [2021-05-26T02:54:02.876Z] -rw-rw-r-- 1 jenkins jenkins 677 May 26 02:50 Jenkinsfile [2021-05-26T02:54:02.876Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 26 02:50 LICENSE [2021-05-26T02:54:02.876Z] -rw-rw-r-- 1 jenkins jenkins 907 May 26 02:50 Makefile [2021-05-26T02:54:02.876Z] -rw-rw-r-- 1 jenkins jenkins 2217 May 26 02:50 README.md [2021-05-26T02:54:02.876Z] -rw-rw-r-- 1 jenkins jenkins 12 May 26 02:47 VERSION [2021-05-26T02:54:02.876Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 02:50 bin [2021-05-26T02:54:02.876Z] drwxrwxr-x 3 jenkins jenkins 4096 May 26 02:50 cmd [2021-05-26T02:54:02.876Z] -rw-r--r-- 1 jenkins jenkins 19386 May 26 02:53 coverage.out [2021-05-26T02:54:02.876Z] -rw-rw-r-- 1 jenkins jenkins 409 May 26 02:50 go.mod [2021-05-26T02:54:02.876Z] -rw-r--r-- 1 jenkins jenkins 21382 May 26 02:52 go.sum [2021-05-26T02:54:02.876Z] drwxrwxr-x 3 jenkins jenkins 4096 May 26 02:50 internal [2021-05-26T02:54:02.876Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 02:50 mock [2021-05-26T02:54:02.876Z] drwxrwxr-x 4 jenkins jenkins 4096 May 26 02:50 snap [2021-05-26T02:54:02.876Z] -rw-rw-r-- 1 jenkins jenkins 227 May 26 02:50 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:54:03.229Z] + 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=58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 --label arch=arm64 --label version=1.3.2-dev.15 . [2021-05-26T02:54:03.506Z] Sending build context to Docker daemon 584.7kB [2021-05-26T02:54:03.783Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T02:54:03.783Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-26T02:54:03.783Z] ---> 347094246d6f [2021-05-26T02:54:03.783Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T02:54:04.056Z] ---> Running in 2d962097e063 [2021-05-26T02:54:04.329Z] Removing intermediate container 2d962097e063 [2021-05-26T02:54:04.329Z] ---> 13922e89c1d8 [2021-05-26T02:54:04.329Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T02:54:04.606Z] ---> Running in ce7b499c429b [2021-05-26T02:54:05.205Z] Removing intermediate container ce7b499c429b [2021-05-26T02:54:05.205Z] ---> 997dd67b856c [2021-05-26T02:54:05.205Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T02:54:05.205Z] ---> Running in 9c4ab60e5208 [2021-05-26T02:54:07.846Z] Removing intermediate container 9c4ab60e5208 [2021-05-26T02:54:07.846Z] ---> 3db96de30f98 [2021-05-26T02:54:07.846Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T02:54:07.846Z] ---> Running in fbf58b619d24 [2021-05-26T02:54:09.282Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-26T02:54:10.262Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-26T02:54:11.119Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-26T02:54:11.250Z] OK: 145 MiB in 53 packages [2021-05-26T02:54:12.231Z] Removing intermediate container fbf58b619d24 [2021-05-26T02:54:12.231Z] ---> 416a5cc560a6 [2021-05-26T02:54:12.231Z] Step 7/24 : WORKDIR /device-mqtt-go [2021-05-26T02:54:12.505Z] ---> Running in 7b3ae64260e8 [2021-05-26T02:54:13.113Z] Removing intermediate container 7b3ae64260e8 [2021-05-26T02:54:13.113Z] ---> a01d5a8c0bb9 [2021-05-26T02:54:13.113Z] Step 8/24 : COPY . . [2021-05-26T02:54:14.111Z] ---> 87b9ef3ab8aa [2021-05-26T02:54:14.111Z] Step 9/24 : RUN go mod tidy [2021-05-26T02:54:14.383Z] ---> Running in ade9130137cb [2021-05-26T02:54:17.792Z] Removing intermediate container ade9130137cb [2021-05-26T02:54:17.792Z] ---> 3b6260fb26e5 [2021-05-26T02:54:17.792Z] Step 10/24 : RUN go mod download [2021-05-26T02:54:17.792Z] ---> Running in dc54c9202d2f [2021-05-26T02:54:20.429Z] Removing intermediate container dc54c9202d2f [2021-05-26T02:54:20.429Z] ---> 9e8083714241 [2021-05-26T02:54:20.429Z] Step 11/24 : ARG MAKE='make build' [2021-05-26T02:54:20.429Z] ---> Running in 0dec661537ec [2021-05-26T02:54:20.705Z] Removing intermediate container 0dec661537ec [2021-05-26T02:54:20.705Z] ---> 9ec1b6b4d4dc [2021-05-26T02:54:20.705Z] Step 12/24 : RUN $MAKE [2021-05-26T02:54:20.979Z] ---> Running in 8bb8c3e3f67f [2021-05-26T02:54:22.433Z] go mod tidy [2021-05-26T02:54:22.711Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.15" -o cmd/device-mqtt ./cmd [2021-05-26T02:54:43.261Z] lf-activate-venv(): INFO: Adding /tmp/venv-0s9n/bin to PATH [2021-05-26T02:54:43.261Z] INFO: No Stack... [2021-05-26T02:54:43.261Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-26T02:54:43.261Z] INFO: Archiving Costs [Pipeline] sh [2021-05-26T02:54:43.555Z] + cat /w/workspace/device-mqtt-go/47/archives/cost.csv [2021-05-26T02:54:43.555Z] + cut -d, -f6 [Pipeline] lock [2021-05-26T02:54:43.586Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-47-stack-cost] [2021-05-26T02:54:43.598Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-47-stack-cost] did not exist. Created. [2021-05-26T02:54:43.598Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-26T02:54:43.920Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-26T02:54:43.999Z] Stashed 1 file(s) [Pipeline] } [2021-05-26T02:54:44.014Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-47-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-26T02:55:09.747Z] Removing intermediate container 8bb8c3e3f67f [2021-05-26T02:55:09.747Z] ---> 8f98041e77c7 [2021-05-26T02:55:09.747Z] Step 13/24 : FROM alpine:3.12 [2021-05-26T02:55:09.747Z] 3.12: Pulling from library/alpine [2021-05-26T02:55:09.747Z] d2f70382dc9a: Pulling fs layer [2021-05-26T02:55:09.747Z] d2f70382dc9a: Verifying Checksum [2021-05-26T02:55:09.747Z] d2f70382dc9a: Download complete [2021-05-26T02:55:09.747Z] d2f70382dc9a: Pull complete [2021-05-26T02:55:09.747Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-26T02:55:09.747Z] Status: Downloaded newer image for alpine:3.12 [2021-05-26T02:55:09.747Z] ---> 9852663dfa18 [2021-05-26T02:55:09.747Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-05-26T02:55:09.747Z] ---> Running in abd1127cc599 [2021-05-26T02:55:09.747Z] Removing intermediate container abd1127cc599 [2021-05-26T02:55:09.747Z] ---> 65f1258e374d [2021-05-26T02:55:09.747Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-26T02:55:09.747Z] ---> Running in cd464921545e [2021-05-26T02:55:09.747Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-26T02:55:09.747Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-26T02:55:09.747Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-26T02:55:09.747Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-26T02:55:09.747Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-26T02:55:09.747Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-26T02:55:09.747Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-26T02:55:09.747Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-26T02:55:09.747Z] Executing busybox-1.31.1-r20.trigger [2021-05-26T02:55:09.747Z] OK: 8 MiB in 20 packages [2021-05-26T02:55:09.747Z] Removing intermediate container cd464921545e [2021-05-26T02:55:09.747Z] ---> 3a176fb0f1d5 [2021-05-26T02:55:09.747Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2021-05-26T02:55:11.184Z] ---> 89755872a98c [2021-05-26T02:55:11.184Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-05-26T02:55:12.166Z] ---> a2f6c7c53bd0 [2021-05-26T02:55:12.166Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-05-26T02:55:13.147Z] ---> ab8cd3c296b0 [2021-05-26T02:55:13.147Z] Step 19/24 : EXPOSE 59982 [2021-05-26T02:55:13.147Z] ---> Running in e20a249df010 [2021-05-26T02:55:13.742Z] Removing intermediate container e20a249df010 [2021-05-26T02:55:13.742Z] ---> cb09ef8e53e4 [2021-05-26T02:55:13.742Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2021-05-26T02:55:14.032Z] ---> Running in 5d6bf2872750 [2021-05-26T02:55:14.307Z] Removing intermediate container 5d6bf2872750 [2021-05-26T02:55:14.307Z] ---> 391936e35af4 [2021-05-26T02:55:14.307Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-26T02:55:14.581Z] ---> Running in e7666137d9ee [2021-05-26T02:55:15.176Z] Removing intermediate container e7666137d9ee [2021-05-26T02:55:15.176Z] ---> badae580e9d8 [2021-05-26T02:55:15.176Z] Step 22/24 : LABEL arch=arm64 [2021-05-26T02:55:15.176Z] ---> Running in 407cc909d90b [2021-05-26T02:55:15.774Z] Removing intermediate container 407cc909d90b [2021-05-26T02:55:15.774Z] ---> f5e3a562fbd4 [2021-05-26T02:55:15.774Z] Step 23/24 : LABEL git_sha=58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 [2021-05-26T02:55:15.774Z] ---> Running in b2692ed83493 [2021-05-26T02:55:16.375Z] Removing intermediate container b2692ed83493 [2021-05-26T02:55:16.375Z] ---> 19f00164316d [2021-05-26T02:55:16.375Z] Step 24/24 : LABEL version=1.3.2-dev.15 [2021-05-26T02:55:16.375Z] ---> Running in b02e2ed9c728 [2021-05-26T02:55:16.973Z] Removing intermediate container b02e2ed9c728 [2021-05-26T02:55:16.973Z] ---> af9e28d042c9 [2021-05-26T02:55:16.973Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-26T02:55:16.973Z] Successfully built af9e28d042c9 [2021-05-26T02:55:16.973Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T02:55:17.123Z] provisioning config files... [2021-05-26T02:55:17.147Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/47@tmp/config5919094318331398861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:55:17.520Z] ---> docker-login.sh [2021-05-26T02:55:17.520Z] nexus3.edgexfoundry.org:10001 [2021-05-26T02:55:17.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:55:18.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:55:18.072Z] Configure a credential helper to remove this warning. See [2021-05-26T02:55:18.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:55:18.072Z] [2021-05-26T02:55:18.072Z] Login Succeeded [2021-05-26T02:55:18.072Z] nexus3.edgexfoundry.org:10002 [2021-05-26T02:55:18.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:55:18.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:55:18.689Z] Configure a credential helper to remove this warning. See [2021-05-26T02:55:18.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:55:18.689Z] [2021-05-26T02:55:18.689Z] Login Succeeded [2021-05-26T02:55:18.689Z] nexus3.edgexfoundry.org:10003 [2021-05-26T02:55:19.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:55:19.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:55:19.290Z] Configure a credential helper to remove this warning. See [2021-05-26T02:55:19.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:55:19.290Z] [2021-05-26T02:55:19.290Z] Login Succeeded [2021-05-26T02:55:19.290Z] nexus3.edgexfoundry.org:10004 [2021-05-26T02:55:19.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:55:20.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:55:20.166Z] Configure a credential helper to remove this warning. See [2021-05-26T02:55:20.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:55:20.166Z] [2021-05-26T02:55:20.166Z] Login Succeeded [2021-05-26T02:55:20.166Z] docker.io [2021-05-26T02:55:20.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T02:55:21.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T02:55:21.038Z] Configure a credential helper to remove this warning. See [2021-05-26T02:55:21.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T02:55:21.038Z] [2021-05-26T02:55:21.038Z] Login Succeeded [2021-05-26T02:55:21.038Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T02:55:21.056Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-26T02:55:21.132Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2021-05-26T02:55:21.132Z] 58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 [2021-05-26T02:55:21.132Z] latest [2021-05-26T02:55:21.132Z] 1.3.2-dev.15 [2021-05-26T02:55:21.132Z] 58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292-1.3.2-dev.15 [2021-05-26T02:55:21.132Z] master [2021-05-26T02:55:21.132Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:55:21.525Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:55:21.886Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 [2021-05-26T02:55:21.886Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-05-26T02:55:21.886Z] d6c668e7efb5: Preparing [2021-05-26T02:55:21.886Z] 8f1c1517762f: Preparing [2021-05-26T02:55:21.886Z] 151c3221e8c5: Preparing [2021-05-26T02:55:21.886Z] d88f628b6e0c: Preparing [2021-05-26T02:55:21.886Z] 3fbe34a1663b: Preparing [2021-05-26T02:55:22.169Z] 3fbe34a1663b: Layer already exists [2021-05-26T02:55:22.169Z] d6c668e7efb5: Pushed [2021-05-26T02:55:22.169Z] 8f1c1517762f: Pushed [2021-05-26T02:55:23.153Z] d88f628b6e0c: Pushed [2021-05-26T02:55:25.133Z] 151c3221e8c5: Pushed [2021-05-26T02:55:25.406Z] 58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292: digest: sha256:a04571f7a6b1240ec0cb27cd716489227d5636a6bdf02df4a417983fa1dde36b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:55:25.754Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:55:26.096Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-05-26T02:55:26.096Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-05-26T02:55:26.096Z] d6c668e7efb5: Preparing [2021-05-26T02:55:26.096Z] 8f1c1517762f: Preparing [2021-05-26T02:55:26.096Z] 151c3221e8c5: Preparing [2021-05-26T02:55:26.096Z] d88f628b6e0c: Preparing [2021-05-26T02:55:26.096Z] 3fbe34a1663b: Preparing [2021-05-26T02:55:26.369Z] 151c3221e8c5: Layer already exists [2021-05-26T02:55:26.369Z] d88f628b6e0c: Layer already exists [2021-05-26T02:55:26.369Z] d6c668e7efb5: Layer already exists [2021-05-26T02:55:26.369Z] 8f1c1517762f: Layer already exists [2021-05-26T02:55:26.369Z] 3fbe34a1663b: Layer already exists [2021-05-26T02:55:26.369Z] latest: digest: sha256:a04571f7a6b1240ec0cb27cd716489227d5636a6bdf02df4a417983fa1dde36b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:55:26.717Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.15 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:55:27.062Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.15 [2021-05-26T02:55:27.062Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-05-26T02:55:27.062Z] d6c668e7efb5: Preparing [2021-05-26T02:55:27.062Z] 8f1c1517762f: Preparing [2021-05-26T02:55:27.062Z] 151c3221e8c5: Preparing [2021-05-26T02:55:27.062Z] d88f628b6e0c: Preparing [2021-05-26T02:55:27.062Z] 3fbe34a1663b: Preparing [2021-05-26T02:55:27.339Z] d88f628b6e0c: Layer already exists [2021-05-26T02:55:27.339Z] 151c3221e8c5: Layer already exists [2021-05-26T02:55:27.339Z] 8f1c1517762f: Layer already exists [2021-05-26T02:55:27.339Z] d6c668e7efb5: Layer already exists [2021-05-26T02:55:27.339Z] 3fbe34a1663b: Layer already exists [2021-05-26T02:55:27.339Z] 1.3.2-dev.15: digest: sha256:a04571f7a6b1240ec0cb27cd716489227d5636a6bdf02df4a417983fa1dde36b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:55:27.690Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292-1.3.2-dev.15 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:55:28.032Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292-1.3.2-dev.15 [2021-05-26T02:55:28.033Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-05-26T02:55:28.033Z] d6c668e7efb5: Preparing [2021-05-26T02:55:28.033Z] 8f1c1517762f: Preparing [2021-05-26T02:55:28.033Z] 151c3221e8c5: Preparing [2021-05-26T02:55:28.033Z] d88f628b6e0c: Preparing [2021-05-26T02:55:28.033Z] 3fbe34a1663b: Preparing [2021-05-26T02:55:28.305Z] 151c3221e8c5: Layer already exists [2021-05-26T02:55:28.305Z] 3fbe34a1663b: Layer already exists [2021-05-26T02:55:28.305Z] 8f1c1517762f: Layer already exists [2021-05-26T02:55:28.305Z] d88f628b6e0c: Layer already exists [2021-05-26T02:55:28.305Z] d6c668e7efb5: Layer already exists [2021-05-26T02:55:28.305Z] 58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292-1.3.2-dev.15: digest: sha256:a04571f7a6b1240ec0cb27cd716489227d5636a6bdf02df4a417983fa1dde36b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:55:28.655Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:55:28.998Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [2021-05-26T02:55:28.998Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-05-26T02:55:28.998Z] d6c668e7efb5: Preparing [2021-05-26T02:55:28.998Z] 8f1c1517762f: Preparing [2021-05-26T02:55:28.998Z] 151c3221e8c5: Preparing [2021-05-26T02:55:28.998Z] d88f628b6e0c: Preparing [2021-05-26T02:55:28.998Z] 3fbe34a1663b: Preparing [2021-05-26T02:55:28.998Z] 151c3221e8c5: Layer already exists [2021-05-26T02:55:28.998Z] d88f628b6e0c: Layer already exists [2021-05-26T02:55:28.998Z] 3fbe34a1663b: Layer already exists [2021-05-26T02:55:28.998Z] 8f1c1517762f: Layer already exists [2021-05-26T02:55:28.998Z] d6c668e7efb5: Layer already exists [2021-05-26T02:55:29.270Z] master: digest: sha256:a04571f7a6b1240ec0cb27cd716489227d5636a6bdf02df4a417983fa1dde36b size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-26T02:55:29.342Z] ===================================================== [Pipeline] echo [2021-05-26T02:55:29.358Z] taggedImages: [2021-05-26T02:55:29.358Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 [2021-05-26T02:55:29.358Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-05-26T02:55:29.358Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.15 [2021-05-26T02:55:29.358Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292-1.3.2-dev.15 [2021-05-26T02:55:29.358Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:55:29.757Z] ---> job-cost.sh [2021-05-26T02:55:29.758Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BaqK [2021-05-26T02:56:17.201Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-26T02:57:54.005Z] lf-activate-venv(): INFO: Adding /tmp/venv-BaqK/bin to PATH [2021-05-26T02:57:54.005Z] INFO: No Stack... [2021-05-26T02:57:54.005Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-26T02:57:54.005Z] INFO: Archiving Costs [Pipeline] sh [2021-05-26T02:57:54.359Z] + cat+ /w/workspace/device-mqtt-go/47/archives/cost.csv [2021-05-26T02:57:54.360Z] cut -d, -f6 [Pipeline] lock [2021-05-26T02:57:54.420Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-47-stack-cost] [2021-05-26T02:57:54.430Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-47-stack-cost] did not exist. Created. [2021-05-26T02:57:54.430Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-26T02:57:54.802Z] /w/workspace/device-mqtt-go/47@tmp/durable-5524bd0a/script.sh: 1: /w/workspace/device-mqtt-go/47@tmp/durable-5524bd0a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-26T02:57:55.171Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-26T02:57:55.206Z] Warning: overwriting stash ‘stack-cost’ [2021-05-26T02:57:55.357Z] Stashed 1 file(s) [Pipeline] } [2021-05-26T02:57:55.375Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-47-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-05-26T02:57:55.752Z] provisioning config files... [2021-05-26T02:57:55.766Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config5765835028043880881tmp [Pipeline] { [Pipeline] sh [2021-05-26T02:57:56.105Z] + set +x [2021-05-26T02:57:56.105Z] + curl -s https://codecov.io/bash [2021-05-26T02:57:56.105Z] + bash -s -- [2021-05-26T02:57:56.105Z] [2021-05-26T02:57:56.105Z] _____ _ [2021-05-26T02:57:56.105Z] / ____| | | [2021-05-26T02:57:56.105Z] | | ___ __| | ___ ___ _____ __ [2021-05-26T02:57:56.105Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-26T02:57:56.105Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-26T02:57:56.105Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-26T02:57:56.105Z] Bash-1.0.3 [2021-05-26T02:57:56.105Z] [2021-05-26T02:57:56.105Z] [2021-05-26T02:57:56.105Z] ==> git version 2.24.4 found [2021-05-26T02:57:56.105Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-26T02:57:56.105Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-26T02:57:56.105Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-26T02:57:56.105Z] ==> Jenkins CI detected. [2021-05-26T02:57:56.105Z] project root: . [2021-05-26T02:57:56.105Z] --> token set from env [2021-05-26T02:57:56.105Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-26T02:57:56.105Z] ==> Running gcov in . (disable via -X gcov) [2021-05-26T02:57:56.105Z] ==> Python coveragepy not found [2021-05-26T02:57:56.105Z] ==> Searching for coverage reports in: [2021-05-26T02:57:56.105Z] + . [2021-05-26T02:57:56.105Z] -> Found 1 reports [2021-05-26T02:57:56.105Z] ==> Detecting git/mercurial file structure [2021-05-26T02:57:56.105Z] ==> Reading reports [2021-05-26T02:57:56.105Z] + ./coverage.out bytes=19386 [2021-05-26T02:57:56.105Z] ==> Appending adjustments [2021-05-26T02:57:56.105Z] https://docs.codecov.io/docs/fixing-reports [2021-05-26T02:57:56.368Z] + Found adjustments [2021-05-26T02:57:56.368Z] ==> Gzipping contents [2021-05-26T02:57:56.368Z] 4.0K /tmp/codecov.5SLcab.gz [2021-05-26T02:57:56.368Z] ==> Uploading reports [2021-05-26T02:57:56.368Z] url: https://codecov.io [2021-05-26T02:57:56.368Z] query: branch=master&commit=58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F47%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-26T02:57:56.368Z] -> Pinging Codecov [2021-05-26T02:57:56.368Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F47%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-26T02:57:56.630Z] -> Uploading to [2021-05-26T02:57:56.630Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-26/7D719EC7BBE17E464838252E33014C33/58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292/59fe8bce-153f-4fe0-9500-7907017376bb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210526%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210526T025756Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d0af9e50cf9b7d8e3ddcd251d1679e35187788218575ce1998da4c9d67aeee71 [2021-05-26T02:57:56.630Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-26T02:57:56.630Z] Dload Upload Total Spent Left Speed [2021-05-26T02:57:57.207Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3383 0 0 100 3383 0 8641 --:--:-- --:--:-- --:--:-- 8652 [2021-05-26T02:57:57.208Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 [Pipeline] } [2021-05-26T02:57:57.218Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-26T02:57:57.471Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-26T02:57:57.490Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:57:57.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-26T02:57:57.812Z] [2021-05-26T02:57:57.812Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:57:58.124Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-26T02:57:58.124Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-26T02:57:58.124Z] 188c0c94c7c5: Pulling fs layer [2021-05-26T02:57:58.124Z] 0ef7d3d256c8: Pulling fs layer [2021-05-26T02:57:58.124Z] de9db76c5a1d: Pulling fs layer [2021-05-26T02:57:58.124Z] 0eba1c9be4d2: Pulling fs layer [2021-05-26T02:57:58.124Z] 0d57e429df01: Pulling fs layer [2021-05-26T02:57:58.124Z] 4e4be7b47b0d: Pulling fs layer [2021-05-26T02:57:58.124Z] e1f770b5df2f: Pulling fs layer [2021-05-26T02:57:58.124Z] 85a0685a4137: Pulling fs layer [2021-05-26T02:57:58.124Z] 0eba1c9be4d2: Waiting [2021-05-26T02:57:58.124Z] 0d57e429df01: Waiting [2021-05-26T02:57:58.124Z] 4e4be7b47b0d: Waiting [2021-05-26T02:57:58.124Z] e1f770b5df2f: Waiting [2021-05-26T02:57:58.124Z] 85a0685a4137: Waiting [2021-05-26T02:57:58.124Z] de9db76c5a1d: Verifying Checksum [2021-05-26T02:57:58.124Z] de9db76c5a1d: Download complete [2021-05-26T02:57:58.124Z] 0ef7d3d256c8: Verifying Checksum [2021-05-26T02:57:58.124Z] 0ef7d3d256c8: Download complete [2021-05-26T02:57:58.124Z] 0d57e429df01: Verifying Checksum [2021-05-26T02:57:58.124Z] 0d57e429df01: Download complete [2021-05-26T02:57:58.124Z] 4e4be7b47b0d: Verifying Checksum [2021-05-26T02:57:58.124Z] 4e4be7b47b0d: Download complete [2021-05-26T02:57:58.124Z] 188c0c94c7c5: Verifying Checksum [2021-05-26T02:57:58.124Z] 188c0c94c7c5: Download complete [2021-05-26T02:57:58.394Z] 188c0c94c7c5: Pull complete [2021-05-26T02:57:58.655Z] 0ef7d3d256c8: Pull complete [2021-05-26T02:57:58.655Z] de9db76c5a1d: Pull complete [2021-05-26T02:57:59.597Z] e1f770b5df2f: Verifying Checksum [2021-05-26T02:57:59.597Z] e1f770b5df2f: Download complete [2021-05-26T02:58:01.516Z] 0eba1c9be4d2: Verifying Checksum [2021-05-26T02:58:01.516Z] 0eba1c9be4d2: Download complete [2021-05-26T02:58:01.516Z] 85a0685a4137: Verifying Checksum [2021-05-26T02:58:01.516Z] 85a0685a4137: Download complete [2021-05-26T02:58:04.844Z] 0eba1c9be4d2: Pull complete [2021-05-26T02:58:04.844Z] 0d57e429df01: Pull complete [2021-05-26T02:58:04.844Z] 4e4be7b47b0d: Pull complete [2021-05-26T02:58:04.844Z] e1f770b5df2f: Pull complete [2021-05-26T02:58:08.213Z] 85a0685a4137: Pull complete [2021-05-26T02:58:08.213Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-26T02:58:08.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-26T02:58:08.213Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-26T02:58:08.289Z] prd-centos7-docker-4c-2g-340 does not seem to be running inside a container [2021-05-26T02:58:08.322Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-26T02:58:10.444Z] $ docker top 42f0b39e75e1834bbee5d0d040fe3c1141159bb7d4a2038bf760c2c157a0f537 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-26T02:58:10.553Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-26T02:58:10.842Z] + set -o pipefail [2021-05-26T02:58:10.842Z] + snyk monitor '--org=edgex-jenkins' [2021-05-26T02:58:17.448Z] [2021-05-26T02:58:17.448Z] Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... [2021-05-26T02:58:17.448Z] [2021-05-26T02:58:17.448Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/18fac0c0-10eb-4052-ad73-e53407f40fd8 [2021-05-26T02:58:17.448Z] [2021-05-26T02:58:17.448Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-26T02:58:17.448Z] [2021-05-26T02:58:17.448Z] [Pipeline] } [2021-05-26T02:58:17.456Z] $ docker stop --time=1 42f0b39e75e1834bbee5d0d040fe3c1141159bb7d4a2038bf760c2c157a0f537 [2021-05-26T02:58:19.713Z] $ docker rm -f 42f0b39e75e1834bbee5d0d040fe3c1141159bb7d4a2038bf760c2c157a0f537 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-26T02:58:20.553Z] + git log --format=format:%s -1 58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:58:20.868Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T02:58:20.868Z] . [Pipeline] withDockerContainer [2021-05-26T02:58:20.945Z] prd-centos7-docker-4c-2g-340 does not seem to be running inside a container [2021-05-26T02:58:20.980Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-26T02:58:21.376Z] $ docker top d8feb208bceb153d8b2df0347a362ff4cbc83fd084ea88127d7f410107393ec5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-26T02:58:21.512Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T02:58:21.512Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T02:58:21.623Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T02:58:21.621Z] $ docker exec d8feb208bceb153d8b2df0347a362ff4cbc83fd084ea88127d7f410107393ec5 ssh-agent [2021-05-26T02:58:21.732Z] SSH_AUTH_SOCK=/tmp/ssh-PqYzXZbfMTjV/agent.14 [2021-05-26T02:58:21.732Z] SSH_AGENT_PID=21 [2021-05-26T02:58:21.747Z] Running ssh-add (command line suppressed) [2021-05-26T02:58:21.839Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_9104216041944983498.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_9104216041944983498.key) [2021-05-26T02:58:21.859Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T02:58:22.172Z] + git semver tag [2021-05-26T02:58:22.172Z] # -> Open(): unable to determine branch for HEAD [2021-05-26T02:58:22.172Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-05-26T02:58:22.172Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-05-26T02:58:22.172Z] # $SEMVER_REMOTE_NAME = origin [2021-05-26T02:58:22.172Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-26T02:58:22.172Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-26T02:58:22.172Z] # $SEMVER_BRANCH = master [2021-05-26T02:58:22.172Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-05-26T02:58:22.172Z] # 58f0ed0b26ca2d5f8c535ea8a65fbdd6ee00a292 HEAD [2021-05-26T02:58:22.172Z] # -> Force: false [2021-05-26T02:58:22.172Z] # d075502bdc1ff4d9616b21ba13d7166b838bca55 refs/tags/v1.3.2-dev.15 [Pipeline] } [2021-05-26T02:58:22.181Z] $ docker exec --env ******** --env ******** d8feb208bceb153d8b2df0347a362ff4cbc83fd084ea88127d7f410107393ec5 ssh-agent -k [2021-05-26T02:58:22.278Z] unset SSH_AUTH_SOCK; [2021-05-26T02:58:22.278Z] unset SSH_AGENT_PID; [2021-05-26T02:58:22.278Z] echo Agent pid 21 killed; [2021-05-26T02:58:22.298Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-26T02:58:22.687Z] + git semver [Pipeline] } [2021-05-26T02:58:22.699Z] $ docker stop --time=1 d8feb208bceb153d8b2df0347a362ff4cbc83fd084ea88127d7f410107393ec5 [2021-05-26T02:58:23.889Z] $ docker rm -f d8feb208bceb153d8b2df0347a362ff4cbc83fd084ea88127d7f410107393ec5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:58:24.355Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-26T02:58:24.355Z] [2021-05-26T02:58:24.355Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:58:24.673Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-26T02:58:24.673Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-26T02:58:24.673Z] ab5ef0e58194: Pulling fs layer [2021-05-26T02:58:24.673Z] 9712f1f96733: Pulling fs layer [2021-05-26T02:58:24.673Z] 63f879dbbcfc: Pulling fs layer [2021-05-26T02:58:24.673Z] 0d9ebad4ef96: Pulling fs layer [2021-05-26T02:58:24.673Z] e9a5061849ea: Pulling fs layer [2021-05-26T02:58:24.673Z] d747dcd14b5f: Pulling fs layer [2021-05-26T02:58:24.673Z] 2de7ff778b66: Pulling fs layer [2021-05-26T02:58:24.673Z] 0d9ebad4ef96: Waiting [2021-05-26T02:58:24.673Z] e9a5061849ea: Waiting [2021-05-26T02:58:24.673Z] d747dcd14b5f: Waiting [2021-05-26T02:58:24.673Z] 2de7ff778b66: Waiting [2021-05-26T02:58:24.673Z] 9712f1f96733: Verifying Checksum [2021-05-26T02:58:24.673Z] 9712f1f96733: Download complete [2021-05-26T02:58:26.054Z] 63f879dbbcfc: Verifying Checksum [2021-05-26T02:58:26.054Z] 63f879dbbcfc: Download complete [2021-05-26T02:58:26.054Z] e9a5061849ea: Verifying Checksum [2021-05-26T02:58:26.054Z] e9a5061849ea: Download complete [2021-05-26T02:58:26.054Z] d747dcd14b5f: Verifying Checksum [2021-05-26T02:58:26.054Z] d747dcd14b5f: Download complete [2021-05-26T02:58:26.624Z] 2de7ff778b66: Verifying Checksum [2021-05-26T02:58:26.624Z] 2de7ff778b66: Download complete [2021-05-26T02:58:26.624Z] 0d9ebad4ef96: Verifying Checksum [2021-05-26T02:58:26.624Z] 0d9ebad4ef96: Download complete [2021-05-26T02:58:26.624Z] ab5ef0e58194: Verifying Checksum [2021-05-26T02:58:26.624Z] ab5ef0e58194: Download complete [2021-05-26T02:58:29.205Z] ab5ef0e58194: Pull complete [2021-05-26T02:58:29.205Z] 9712f1f96733: Pull complete [2021-05-26T02:58:29.779Z] 63f879dbbcfc: Pull complete [2021-05-26T02:58:33.112Z] 0d9ebad4ef96: Pull complete [2021-05-26T02:58:33.112Z] e9a5061849ea: Pull complete [2021-05-26T02:58:33.112Z] d747dcd14b5f: Pull complete [2021-05-26T02:58:34.062Z] 2de7ff778b66: Pull complete [2021-05-26T02:58:34.062Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-26T02:58:34.062Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-26T02:58:34.062Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-26T02:58:34.146Z] prd-centos7-docker-4c-2g-340 does not seem to be running inside a container [2021-05-26T02:58:34.190Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-26T02:58:37.374Z] $ docker top c5a2b1262136b8d97e0866d5c010be23fad967de342677138919b46ef901df51 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-26T02:58:37.512Z] provisioning config files... [2021-05-26T02:58:37.525Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config256305386034144884tmp [2021-05-26T02:58:37.543Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config6295920976651133777tmp [2021-05-26T02:58:37.557Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config8431272299819859077tmp [Pipeline] { [Pipeline] echo [2021-05-26T02:58:37.589Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:58:37.888Z] ---> sigul-configuration.sh [2021-05-26T02:58:37.889Z] gpg: directory `/root/.gnupg' created [2021-05-26T02:58:37.889Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-26T02:58:37.889Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-26T02:58:37.889Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-26T02:58:37.889Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-26T02:58:37.889Z] gpg: CAST5 encrypted data [2021-05-26T02:58:37.889Z] gpg: encrypted with 1 passphrase [2021-05-26T02:58:37.889Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-26T02:58:38.198Z] + mkdir /home/jenkins [2021-05-26T02:58:38.198Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-26T02:58:38.505Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-05-26T02:58:38.517Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:58:38.824Z] ---> sigul-install.sh [2021-05-26T02:58:43.064Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-26T02:58:43.366Z] + git tag --list [2021-05-26T02:58:43.366Z] 0.7.1 [2021-05-26T02:58:43.366Z] v1.0.0 [2021-05-26T02:58:43.366Z] v1.1.0 [2021-05-26T02:58:43.366Z] v1.1.1 [2021-05-26T02:58:43.366Z] v1.2.2 [2021-05-26T02:58:43.366Z] v1.3.0 [2021-05-26T02:58:43.366Z] v1.3.1 [2021-05-26T02:58:43.367Z] v1.3.1-dev.1 [2021-05-26T02:58:43.367Z] v1.3.1-dev.2 [2021-05-26T02:58:43.367Z] v1.3.1-dev.3 [2021-05-26T02:58:43.367Z] v1.3.1-dev.4 [2021-05-26T02:58:43.367Z] v1.3.2-dev.1 [2021-05-26T02:58:43.367Z] v1.3.2-dev.10 [2021-05-26T02:58:43.367Z] v1.3.2-dev.11 [2021-05-26T02:58:43.367Z] v1.3.2-dev.12 [2021-05-26T02:58:43.367Z] v1.3.2-dev.13 [2021-05-26T02:58:43.367Z] v1.3.2-dev.14 [2021-05-26T02:58:43.367Z] v1.3.2-dev.15 [2021-05-26T02:58:43.367Z] v1.3.2-dev.2 [2021-05-26T02:58:43.367Z] v1.3.2-dev.3 [2021-05-26T02:58:43.367Z] v1.3.2-dev.4 [2021-05-26T02:58:43.367Z] v1.3.2-dev.5 [2021-05-26T02:58:43.367Z] v1.3.2-dev.6 [2021-05-26T02:58:43.367Z] v1.3.2-dev.7 [2021-05-26T02:58:43.367Z] v1.3.2-dev.8 [2021-05-26T02:58:43.367Z] v1.3.2-dev.9 [Pipeline] sh [2021-05-26T02:58:43.674Z] + lftools sign git-tag v1.3.2-dev.15 [2021-05-26T02:58:44.249Z] Signing Git tag with Sigul... [2021-05-26T02:58:44.249Z] Signing v1.3.2-dev.15 [Pipeline] echo [2021-05-26T02:58:44.977Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:58:45.540Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-26T02:58:45.548Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-26T02:58:45.576Z] $ docker stop --time=1 c5a2b1262136b8d97e0866d5c010be23fad967de342677138919b46ef901df51 [2021-05-26T02:58:47.049Z] $ docker rm -f c5a2b1262136b8d97e0866d5c010be23fad967de342677138919b46ef901df51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:58:47.551Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T02:58:47.551Z] . [Pipeline] withDockerContainer [2021-05-26T02:58:47.622Z] prd-centos7-docker-4c-2g-340 does not seem to be running inside a container [2021-05-26T02:58:47.657Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-26T02:58:48.026Z] $ docker top fd766e70a99e596dd5f1edd6c0b1002977e4677b0687de3085c53e236f6e1b75 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-26T02:58:48.165Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T02:58:48.165Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T02:58:48.281Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T02:58:48.280Z] $ docker exec fd766e70a99e596dd5f1edd6c0b1002977e4677b0687de3085c53e236f6e1b75 ssh-agent [2021-05-26T02:58:48.400Z] SSH_AUTH_SOCK=/tmp/ssh-yQGzBdewdn7k/agent.14 [2021-05-26T02:58:48.400Z] SSH_AGENT_PID=21 [2021-05-26T02:58:48.405Z] Running ssh-add (command line suppressed) [2021-05-26T02:58:48.515Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3170787442466529377.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3170787442466529377.key) [2021-05-26T02:58:48.532Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T02:58:48.835Z] + git semver bump pre [2021-05-26T02:58:48.835Z] # -> Open(): unable to determine branch for HEAD [2021-05-26T02:58:48.835Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-05-26T02:58:48.835Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-05-26T02:58:48.835Z] # $SEMVER_REMOTE_NAME = origin [2021-05-26T02:58:48.835Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-26T02:58:48.835Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-26T02:58:48.835Z] # $SEMVER_BRANCH = master [2021-05-26T02:58:48.835Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-05-26T02:58:48.835Z] 1.3.2-dev.16 [Pipeline] } [2021-05-26T02:58:48.840Z] $ docker exec --env ******** --env ******** fd766e70a99e596dd5f1edd6c0b1002977e4677b0687de3085c53e236f6e1b75 ssh-agent -k [2021-05-26T02:58:48.942Z] unset SSH_AUTH_SOCK; [2021-05-26T02:58:48.942Z] unset SSH_AGENT_PID; [2021-05-26T02:58:48.942Z] echo Agent pid 21 killed; [2021-05-26T02:58:48.966Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-26T02:58:49.301Z] + git semver [Pipeline] } [2021-05-26T02:58:49.311Z] $ docker stop --time=1 fd766e70a99e596dd5f1edd6c0b1002977e4677b0687de3085c53e236f6e1b75 [2021-05-26T02:58:50.527Z] $ docker rm -f fd766e70a99e596dd5f1edd6c0b1002977e4677b0687de3085c53e236f6e1b75 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:58:50.970Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T02:58:50.970Z] . [Pipeline] withDockerContainer [2021-05-26T02:58:51.041Z] prd-centos7-docker-4c-2g-340 does not seem to be running inside a container [2021-05-26T02:58:51.074Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-26T02:58:51.456Z] $ docker top 0cf9abbed925f1e2387effa9ff4381cba999fda1002e7f708f5fa9c084c02973 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-26T02:58:51.598Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T02:58:51.598Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T02:58:51.745Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T02:58:51.744Z] $ docker exec 0cf9abbed925f1e2387effa9ff4381cba999fda1002e7f708f5fa9c084c02973 ssh-agent [2021-05-26T02:58:51.862Z] SSH_AUTH_SOCK=/tmp/ssh-3CzqVBC1DcEd/agent.15 [2021-05-26T02:58:51.862Z] SSH_AGENT_PID=21 [2021-05-26T02:58:51.870Z] Running ssh-add (command line suppressed) [2021-05-26T02:58:51.960Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4411763601190445030.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4411763601190445030.key) [2021-05-26T02:58:51.979Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T02:58:52.291Z] + git semver push [2021-05-26T02:58:52.291Z] # -> Open(): unable to determine branch for HEAD [2021-05-26T02:58:52.291Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-05-26T02:58:52.291Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-05-26T02:58:52.291Z] # $SEMVER_REMOTE_NAME = origin [2021-05-26T02:58:52.291Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-26T02:58:52.291Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-26T02:58:52.291Z] # $SEMVER_BRANCH = master [2021-05-26T02:58:52.291Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-05-26T02:58:55.609Z] $ docker exec --env ******** --env ******** 0cf9abbed925f1e2387effa9ff4381cba999fda1002e7f708f5fa9c084c02973 ssh-agent -k [2021-05-26T02:58:55.710Z] unset SSH_AUTH_SOCK; [2021-05-26T02:58:55.710Z] unset SSH_AGENT_PID; [2021-05-26T02:58:55.710Z] echo Agent pid 21 killed; [2021-05-26T02:58:55.728Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-26T02:58:56.064Z] + git semver [Pipeline] } [2021-05-26T02:58:56.074Z] $ docker stop --time=1 0cf9abbed925f1e2387effa9ff4381cba999fda1002e7f708f5fa9c084c02973 [2021-05-26T02:58:57.275Z] $ docker rm -f 0cf9abbed925f1e2387effa9ff4381cba999fda1002e7f708f5fa9c084c02973 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:58:58.008Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:58:58.573Z] ---> package-listing.sh [2021-05-26T02:58:58.573Z] ++ facter osfamily [2021-05-26T02:58:58.573Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-26T02:58:58.843Z] + OS_FAMILY=redhat [2021-05-26T02:58:58.843Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_master [2021-05-26T02:58:58.843Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-26T02:58:58.843Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-26T02:58:58.843Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-26T02:58:58.843Z] + PACKAGES=/tmp/packages_start.txt [2021-05-26T02:58:58.843Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-05-26T02:58:58.843Z] + PACKAGES=/tmp/packages_end.txt [2021-05-26T02:58:58.843Z] + case "${OS_FAMILY}" in [2021-05-26T02:58:58.843Z] + rpm -qa [2021-05-26T02:58:58.843Z] + sort [2021-05-26T02:58:59.417Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-26T02:58:59.417Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-26T02:58:59.417Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-26T02:58:59.417Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-05-26T02:58:59.417Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [2021-05-26T02:58:59.417Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo [2021-05-26T02:58:59.428Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-26T02:58:59.713Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:59:00.275Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T02:59:00.275Z] [2021-05-26T02:59:00.275Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-26T02:59:00.594Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T02:59:00.594Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-26T02:59:00.594Z] df20fa9351a1: Pulling fs layer [2021-05-26T02:59:00.594Z] 36b3adc4ff6f: Pulling fs layer [2021-05-26T02:59:00.594Z] 8ad3a11d3b57: Pulling fs layer [2021-05-26T02:59:00.594Z] 46f8f816bc3b: Pulling fs layer [2021-05-26T02:59:00.594Z] 93b61091891f: Pulling fs layer [2021-05-26T02:59:00.594Z] 93b9cdb0e59b: Pulling fs layer [2021-05-26T02:59:00.594Z] 5e14af77c1be: Pulling fs layer [2021-05-26T02:59:00.594Z] 01666e4c0597: Pulling fs layer [2021-05-26T02:59:00.594Z] aa168da1d23b: Pulling fs layer [2021-05-26T02:59:00.594Z] 46f8f816bc3b: Waiting [2021-05-26T02:59:00.594Z] 93b61091891f: Waiting [2021-05-26T02:59:00.594Z] 93b9cdb0e59b: Waiting [2021-05-26T02:59:00.594Z] 5e14af77c1be: Waiting [2021-05-26T02:59:00.594Z] 01666e4c0597: Waiting [2021-05-26T02:59:00.594Z] aa168da1d23b: Waiting [2021-05-26T02:59:00.594Z] 36b3adc4ff6f: Verifying Checksum [2021-05-26T02:59:00.594Z] 36b3adc4ff6f: Download complete [2021-05-26T02:59:00.594Z] 46f8f816bc3b: Verifying Checksum [2021-05-26T02:59:00.594Z] 46f8f816bc3b: Download complete [2021-05-26T02:59:00.594Z] df20fa9351a1: Verifying Checksum [2021-05-26T02:59:00.594Z] df20fa9351a1: Download complete [2021-05-26T02:59:00.594Z] 93b9cdb0e59b: Verifying Checksum [2021-05-26T02:59:00.594Z] 93b9cdb0e59b: Download complete [2021-05-26T02:59:00.594Z] 5e14af77c1be: Verifying Checksum [2021-05-26T02:59:00.594Z] 5e14af77c1be: Download complete [2021-05-26T02:59:00.594Z] 01666e4c0597: Verifying Checksum [2021-05-26T02:59:00.594Z] 01666e4c0597: Download complete [2021-05-26T02:59:00.855Z] 93b61091891f: Verifying Checksum [2021-05-26T02:59:00.855Z] 93b61091891f: Download complete [2021-05-26T02:59:00.855Z] 8ad3a11d3b57: Verifying Checksum [2021-05-26T02:59:00.855Z] 8ad3a11d3b57: Download complete [2021-05-26T02:59:00.855Z] df20fa9351a1: Pull complete [2021-05-26T02:59:00.855Z] 36b3adc4ff6f: Pull complete [2021-05-26T02:59:01.434Z] 8ad3a11d3b57: Pull complete [2021-05-26T02:59:01.434Z] 46f8f816bc3b: Pull complete [2021-05-26T02:59:01.704Z] 93b61091891f: Pull complete [2021-05-26T02:59:01.964Z] 93b9cdb0e59b: Pull complete [2021-05-26T02:59:01.964Z] 5e14af77c1be: Pull complete [2021-05-26T02:59:01.964Z] 01666e4c0597: Pull complete [2021-05-26T02:59:02.541Z] aa168da1d23b: Verifying Checksum [2021-05-26T02:59:02.541Z] aa168da1d23b: Download complete [2021-05-26T02:59:06.749Z] aa168da1d23b: Pull complete [2021-05-26T02:59:06.749Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-26T02:59:06.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T02:59:06.749Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-26T02:59:06.841Z] prd-centos7-docker-4c-2g-340 does not seem to be running inside a container [2021-05-26T02:59:06.878Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-26T02:59:08.749Z] $ docker top dcda8c58ed7a4fd6ffb2e500ac15758136050064e24a69fefaa6ecaa60940af7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T02:59:09.128Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-26T02:59:09.423Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-26T02:59:09.716Z] + ls /var/log/sa-host [2021-05-26T02:59:09.716Z] + sadf -c /var/log/sa-host/sa05 [2021-05-26T02:59:09.716Z] file_magic: OK [2021-05-26T02:59:09.716Z] HZ: Using current value: 100 [2021-05-26T02:59:09.716Z] file_header: OK [2021-05-26T02:59:09.716Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-26T02:59:09.716Z] Statistics: [2021-05-26T02:59:09.716Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-26T02:59:09.716Z] File successfully converted to sysstat format version 12.2.1 [2021-05-26T02:59:09.716Z] + sadf -c /var/log/sa-host/sa26 [2021-05-26T02:59:09.716Z] file_magic: OK [2021-05-26T02:59:09.716Z] HZ: Using current value: 100 [2021-05-26T02:59:09.716Z] file_header: OK [2021-05-26T02:59:09.716Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-26T02:59:09.716Z] Statistics: [2021-05-26T02:59:09.716Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-26T02:59:09.716Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T02:59:09.918Z] provisioning config files... [2021-05-26T02:59:09.929Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2968609026190521361tmp [Pipeline] { [Pipeline] echo [2021-05-26T02:59:09.949Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:59:10.247Z] ---> create-netrc.sh [Pipeline] } [2021-05-26T02:59:10.256Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-26T02:59:10.284Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:59:10.586Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-26T02:59:10.607Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:59:10.902Z] ---> sudo-logs.sh [2021-05-26T02:59:10.902Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-26T02:59:10.934Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:59:11.224Z] ---> job-cost.sh [2021-05-26T02:59:11.224Z] lf-activate-venv: SKIPPING [2021-05-26T02:59:11.224Z] DEBUG: total: 0.18000000715255737 [2021-05-26T02:59:11.224Z] INFO: Retrieving Stack Cost... [2021-05-26T02:59:12.167Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-26T02:59:12.428Z] INFO: Archiving Costs [Pipeline] echo [2021-05-26T02:59:12.441Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T02:59:12.736Z] ---> logs-deploy.sh [2021-05-26T02:59:12.737Z] lf-activate-venv: SKIPPING [2021-05-26T02:59:12.737Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/47 [2021-05-26T02:59:12.737Z] INFO: archiving workspace using pattern(s): [2021-05-26T02:59:13.680Z] Archives upload complete. [2021-05-26T02:59:13.680Z] INFO: archiving logs to Nexus