Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 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-ssh2311474517204299867.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9098902136006368237.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7978407642266459297.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8327106758687322631.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee 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-ssh7734622790366963574.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-915’ is offline Running on prd-centos7-docker-4c-2g-670 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 Avoid second fetch Checking out Revision 87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 (master) > git init /w/workspace/gexfoundry_device-mqtt-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-mqtt-go_master@tmp/jenkins-gitclient-ssh6305302778813105837.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 87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 # timeout=10 Commit message: "docs: add Changelog for Ireland release (#290)" > git rev-list --no-walk 87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-29T15:38:25.412Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-29T15:38:25.526Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-29T15:38:25.554Z] ========================================================= [2021-06-29T15:38:25.554Z] EdgeX Global Pipelines Version Info [2021-06-29T15:38:25.554Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-29T15:38:27.051Z] ------------------- [2021-06-29T15:38:27.051Z] stable info: [2021-06-29T15:38:27.051Z] ------------------- [2021-06-29T15:38:27.051Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-29T15:38:27.051Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-29T15:38:27.051Z] Message: update stable to v1.0.195 [2021-06-29T15:38:27.638Z] ------------------- [2021-06-29T15:38:27.638Z] experimental info: [2021-06-29T15:38:27.638Z] ------------------- [2021-06-29T15:38:27.638Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-29T15:38:27.638Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-29T15:38:27.638Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-29T15:38:27.765Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-06-29T15:38:27.788Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-06-29T15:38:27.809Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-29T15:38:27.831Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-29T15:38:27.853Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-29T15:38:27.879Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-29T15:38:27.904Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-29T15:38:27.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-29T15:38:27.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-29T15:38:27.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-29T15:38:27.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-29T15:38:28.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-06-29T15:38:28.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-29T15:38:28.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-29T15:38:28.092Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-29T15:38:28.114Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-29T15:38:28.138Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-29T15:38:28.160Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-29T15:38:28.186Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-29T15:38:28.212Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-06-29T15:38:28.237Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-29T15:38:28.262Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-29T15:38:28.288Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-29T15:38:28.316Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-29T15:38:28.364Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-29T15:38:28.386Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-29T15:38:28.409Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-06-29T15:38:28.432Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-06-29T15:38:28.453Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-06-29T15:38:28.481Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 [Pipeline] echo [2021-06-29T15:38:28.504Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 87c9563 [Pipeline] echo [2021-06-29T15:38:28.530Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-29T15:38:28.614Z] provisioning config files... [2021-06-29T15:38:28.635Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2219886955725301523tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-29T15:38:29.084Z] ---> docker-login.sh [2021-06-29T15:38:29.084Z] nexus3.edgexfoundry.org:10001 [2021-06-29T15:38:29.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:38:29.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:38:29.348Z] Configure a credential helper to remove this warning. See [2021-06-29T15:38:29.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:38:29.348Z] [2021-06-29T15:38:29.349Z] Login Succeeded [2021-06-29T15:38:29.349Z] nexus3.edgexfoundry.org:10002 [2021-06-29T15:38:29.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:38:29.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:38:29.612Z] Configure a credential helper to remove this warning. See [2021-06-29T15:38:29.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:38:29.612Z] [2021-06-29T15:38:29.612Z] Login Succeeded [2021-06-29T15:38:29.612Z] nexus3.edgexfoundry.org:10003 [2021-06-29T15:38:29.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:38:29.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:38:29.612Z] Configure a credential helper to remove this warning. See [2021-06-29T15:38:29.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:38:29.612Z] [2021-06-29T15:38:29.612Z] Login Succeeded [2021-06-29T15:38:29.612Z] nexus3.edgexfoundry.org:10004 [2021-06-29T15:38:29.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:38:29.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:38:29.879Z] Configure a credential helper to remove this warning. See [2021-06-29T15:38:29.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:38:29.879Z] [2021-06-29T15:38:29.879Z] Login Succeeded [2021-06-29T15:38:29.879Z] docker.io [2021-06-29T15:38:29.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:38:30.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:38:30.142Z] Configure a credential helper to remove this warning. See [2021-06-29T15:38:30.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:38:30.142Z] [2021-06-29T15:38:30.142Z] Login Succeeded [2021-06-29T15:38:30.142Z] ---> docker-login.sh ends [Pipeline] } [2021-06-29T15:38:30.151Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-29T15:38:30.822Z] + git log --format=format:%s -1 87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 [Pipeline] echo [2021-06-29T15:38:30.865Z] GIT_COMMIT: 87c9563f0cc199d61d9c59edcc1ec2096ecdbf84, Commit Message: docs: add Changelog for Ireland release (#290) [Pipeline] echo [2021-06-29T15:38:30.879Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:38:32.038Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-29T15:38:32.038Z] [2021-06-29T15:38:32.038Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:38:32.359Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-29T15:38:32.359Z] latest: Pulling from edgex-devops/git-semver [2021-06-29T15:38:32.359Z] 31603596830f: Pulling fs layer [2021-06-29T15:38:32.359Z] 54011a49482f: Pulling fs layer [2021-06-29T15:38:32.359Z] a6820b24f6d8: Pulling fs layer [2021-06-29T15:38:32.359Z] f581987b2513: Pulling fs layer [2021-06-29T15:38:32.359Z] f581987b2513: Waiting [2021-06-29T15:38:32.359Z] 54011a49482f: Verifying Checksum [2021-06-29T15:38:32.359Z] 54011a49482f: Download complete [2021-06-29T15:38:32.634Z] 31603596830f: Verifying Checksum [2021-06-29T15:38:32.634Z] 31603596830f: Download complete [2021-06-29T15:38:32.634Z] a6820b24f6d8: Verifying Checksum [2021-06-29T15:38:32.634Z] a6820b24f6d8: Download complete [2021-06-29T15:38:32.634Z] f581987b2513: Verifying Checksum [2021-06-29T15:38:32.634Z] f581987b2513: Download complete [2021-06-29T15:38:32.634Z] 31603596830f: Pull complete [2021-06-29T15:38:32.896Z] 54011a49482f: Pull complete [2021-06-29T15:38:33.476Z] a6820b24f6d8: Pull complete [2021-06-29T15:38:33.739Z] f581987b2513: Pull complete [2021-06-29T15:38:33.739Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-29T15:38:33.739Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-29T15:38:33.739Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-29T15:38:33.827Z] prd-centos7-docker-4c-2g-670 does not seem to be running inside a container [2021-06-29T15:38:33.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-29T15:38:34.738Z] $ docker top cd8b64c5551a8b7149c4f2eac61629741c757d444db5166980db2c741f865727 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-29T15:38:34.885Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-29T15:38:34.885Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-29T15:38:35.017Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-29T15:38:35.017Z] $ docker exec cd8b64c5551a8b7149c4f2eac61629741c757d444db5166980db2c741f865727 ssh-agent [2021-06-29T15:38:35.140Z] SSH_AUTH_SOCK=/tmp/ssh-MloZHRG4qSg0/agent.14 [2021-06-29T15:38:35.140Z] SSH_AGENT_PID=21 [2021-06-29T15:38:35.149Z] Running ssh-add (command line suppressed) [2021-06-29T15:38:35.258Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3617896965848905907.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3617896965848905907.key) [2021-06-29T15:38:35.279Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-29T15:38:35.590Z] + git tag --points-at HEAD [Pipeline] } [2021-06-29T15:38:35.604Z] $ docker exec --env ******** --env ******** cd8b64c5551a8b7149c4f2eac61629741c757d444db5166980db2c741f865727 ssh-agent -k [2021-06-29T15:38:35.712Z] unset SSH_AUTH_SOCK; [2021-06-29T15:38:35.712Z] unset SSH_AGENT_PID; [2021-06-29T15:38:35.712Z] echo Agent pid 21 killed; [2021-06-29T15:38:35.730Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2021-06-29T15:38:35.772Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v1.3.2-dev.28' [Pipeline] sshagent [2021-06-29T15:38:35.813Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-29T15:38:35.813Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-29T15:38:35.940Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-29T15:38:35.940Z] $ docker exec cd8b64c5551a8b7149c4f2eac61629741c757d444db5166980db2c741f865727 ssh-agent [2021-06-29T15:38:36.071Z] SSH_AUTH_SOCK=/tmp/ssh-wT57QAqWyqjI/agent.53 [2021-06-29T15:38:36.071Z] SSH_AGENT_PID=59 [2021-06-29T15:38:36.080Z] Running ssh-add (command line suppressed) [2021-06-29T15:38:36.192Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4907427633793194316.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4907427633793194316.key) [2021-06-29T15:38:36.216Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-29T15:38:36.519Z] + git semver init [2021-06-29T15:38:36.519Z] # -> Open(): unable to determine branch for HEAD [2021-06-29T15:38:36.519Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-06-29T15:38:36.519Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-06-29T15:38:36.519Z] # $SEMVER_REMOTE_NAME = origin [2021-06-29T15:38:36.519Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-29T15:38:36.519Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-29T15:38:36.519Z] # $SEMVER_BRANCH = master [2021-06-29T15:38:36.519Z] # $SEMVER_TEMP = /tmp/semver-913998601 [2021-06-29T15:38:36.519Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-06-29T15:38:37.096Z] # '/tmp/semver-913998601' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' [2021-06-29T15:38:37.097Z] # -> Force: false [2021-06-29T15:38:37.097Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-06-29T15:38:37.109Z] $ docker exec --env ******** --env ******** cd8b64c5551a8b7149c4f2eac61629741c757d444db5166980db2c741f865727 ssh-agent -k [2021-06-29T15:38:37.218Z] unset SSH_AUTH_SOCK; [2021-06-29T15:38:37.219Z] unset SSH_AGENT_PID; [2021-06-29T15:38:37.219Z] echo Agent pid 59 killed; [2021-06-29T15:38:37.252Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-29T15:38:37.608Z] + git semver [Pipeline] } [2021-06-29T15:38:37.619Z] $ docker stop --time=1 cd8b64c5551a8b7149c4f2eac61629741c757d444db5166980db2c741f865727 [2021-06-29T15:38:38.874Z] $ docker rm -f cd8b64c5551a8b7149c4f2eac61629741c757d444db5166980db2c741f865727 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-29T15:38:39.237Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-29T15:38:39.513Z] Stashed 1 file(s) [Pipeline] echo [2021-06-29T15:38:39.517Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.29 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-06-29T15:38:54.759Z] Still waiting to schedule task [2021-06-29T15:38:54.760Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-29T15:38:54.762Z] Still waiting to schedule task [2021-06-29T15:38:54.763Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ is offline [2021-06-29T15:40:48.754Z] Running on prd-centos7-docker-4c-2g-673 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-06-29T15:40:48.790Z] Running in /w/workspace/device-mqtt-go/61 [Pipeline] { [Pipeline] checkout [2021-06-29T15:40:48.921Z] Selected Git installation does not exist. Using Default [2021-06-29T15:40:48.921Z] The recommended git tool is: NONE [2021-06-29T15:40:51.620Z] using credential edgex-jenkins-ssh [2021-06-29T15:40:51.633Z] Cloning the remote Git repository [2021-06-29T15:40:51.651Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-06-29T15:40:51.730Z] > git init /w/workspace/device-mqtt-go/61 # timeout=10 [2021-06-29T15:40:51.763Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-06-29T15:40:51.764Z] > git --version # timeout=10 [2021-06-29T15:40:51.775Z] > git --version # 'git version 2.24.4' [2021-06-29T15:40:51.775Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-29T15:40:51.812Z] [INFO] Currently running in a labeled security context [2021-06-29T15:40:51.812Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-29T15:40:51.812Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/61@tmp/jenkins-gitclient-ssh6720198929445216363.key [2021-06-29T15:40:51.847Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-29T15:40:52.458Z] Avoid second fetch [2021-06-29T15:40:52.459Z] Checking out Revision 87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 (master) [2021-06-29T15:40:52.441Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-06-29T15:40:52.448Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-29T15:40:52.464Z] > git config core.sparsecheckout # timeout=10 [2021-06-29T15:40:52.471Z] > git checkout -f 87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 # timeout=10 [2021-06-29T15:40:56.173Z] Commit message: "docs: add Changelog for Ireland release (#290)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-29T15:40:57.060Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-29T15:40:57.405Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-29T15:40:57.708Z] + true [2021-06-29T15:40:57.708Z] + sudo service docker restart [2021-06-29T15:40:57.708Z] Redirecting to /bin/systemctl restart docker.service [2021-06-29T15:40:58.945Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-672 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-06-29T15:40:58.967Z] Running in /w/workspace/device-mqtt-go/61 [Pipeline] { [Pipeline] checkout [2021-06-29T15:40:59.387Z] Selected Git installation does not exist. Using Default [2021-06-29T15:40:59.387Z] The recommended git tool is: NONE [2021-06-29T15:41:04.384Z] using credential edgex-jenkins-ssh [2021-06-29T15:41:04.413Z] Cloning the remote Git repository [2021-06-29T15:41:04.487Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-06-29T15:41:04.598Z] > git init /w/workspace/device-mqtt-go/61 # timeout=10 [2021-06-29T15:41:04.666Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-06-29T15:41:04.667Z] > git --version # timeout=10 [2021-06-29T15:41:04.692Z] > git --version # 'git version 2.17.1' [2021-06-29T15:41:04.693Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-29T15:41:04.787Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-29T15:41:05.613Z] Avoid second fetch [2021-06-29T15:41:05.613Z] Checking out Revision 87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 (master) [2021-06-29T15:41:05.567Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-06-29T15:41:05.587Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-29T15:41:05.633Z] > git config core.sparsecheckout # timeout=10 [2021-06-29T15:41:05.650Z] > git checkout -f 87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 # timeout=10 [2021-06-29T15:41:09.852Z] Commit message: "docs: add Changelog for Ireland release (#290)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-29T15:41:11.086Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-29T15:41:11.501Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-29T15:41:11.906Z] + sudo service docker restart [2021-06-29T15:41:11.906Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-29T15:41:15.909Z] provisioning config files... [2021-06-29T15:41:15.925Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/61@tmp/config4017335395314939778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-29T15:41:16.252Z] ---> docker-login.sh [2021-06-29T15:41:16.253Z] nexus3.edgexfoundry.org:10001 [2021-06-29T15:41:16.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:41:16.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:41:16.519Z] Configure a credential helper to remove this warning. See [2021-06-29T15:41:16.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:41:16.519Z] [2021-06-29T15:41:16.519Z] Login Succeeded [2021-06-29T15:41:16.519Z] nexus3.edgexfoundry.org:10002 [2021-06-29T15:41:16.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:41:16.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:41:16.781Z] Configure a credential helper to remove this warning. See [2021-06-29T15:41:16.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:41:16.781Z] [2021-06-29T15:41:16.781Z] Login Succeeded [2021-06-29T15:41:16.781Z] nexus3.edgexfoundry.org:10003 [2021-06-29T15:41:16.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:41:17.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:41:17.044Z] Configure a credential helper to remove this warning. See [2021-06-29T15:41:17.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:41:17.044Z] [2021-06-29T15:41:17.044Z] Login Succeeded [2021-06-29T15:41:17.044Z] nexus3.edgexfoundry.org:10004 [2021-06-29T15:41:17.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:41:17.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:41:17.044Z] Configure a credential helper to remove this warning. See [2021-06-29T15:41:17.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:41:17.044Z] [2021-06-29T15:41:17.044Z] Login Succeeded [2021-06-29T15:41:17.044Z] docker.io [2021-06-29T15:41:17.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:41:17.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:41:17.573Z] Configure a credential helper to remove this warning. See [2021-06-29T15:41:17.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:41:17.573Z] [2021-06-29T15:41:17.573Z] Login Succeeded [2021-06-29T15:41:17.573Z] ---> docker-login.sh ends [Pipeline] } [2021-06-29T15:41:17.582Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-29T15:41:17.773Z] ========================================================= [2021-06-29T15:41:17.773Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-29T15:41:17.773Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:41:18.102Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-29T15:41:18.102Z] Sending build context to Docker daemon 625.7kB [2021-06-29T15:41:18.102Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-29T15:41:18.102Z] Step 2/8 : FROM ${BASE} [2021-06-29T15:41:18.366Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-29T15:41:18.366Z] 540db60ca938: Pulling fs layer [2021-06-29T15:41:18.366Z] adcc1eea9eea: Pulling fs layer [2021-06-29T15:41:18.366Z] 4c4ab2625f07: Pulling fs layer [2021-06-29T15:41:18.366Z] 0510c868ecb4: Pulling fs layer [2021-06-29T15:41:18.366Z] afea3b2eda06: Pulling fs layer [2021-06-29T15:41:18.366Z] 7809a108b3ef: Pulling fs layer [2021-06-29T15:41:18.366Z] f706445af74f: Pulling fs layer [2021-06-29T15:41:18.366Z] 0510c868ecb4: Waiting [2021-06-29T15:41:18.366Z] afea3b2eda06: Waiting [2021-06-29T15:41:18.366Z] 7809a108b3ef: Waiting [2021-06-29T15:41:18.366Z] f706445af74f: Waiting [2021-06-29T15:41:18.366Z] 4c4ab2625f07: Verifying Checksum [2021-06-29T15:41:18.366Z] 4c4ab2625f07: Download complete [2021-06-29T15:41:18.366Z] adcc1eea9eea: Verifying Checksum [2021-06-29T15:41:18.366Z] adcc1eea9eea: Download complete [2021-06-29T15:41:18.366Z] afea3b2eda06: Verifying Checksum [2021-06-29T15:41:18.366Z] afea3b2eda06: Download complete [2021-06-29T15:41:18.366Z] 540db60ca938: Verifying Checksum [2021-06-29T15:41:18.366Z] 540db60ca938: Download complete [2021-06-29T15:41:18.366Z] 7809a108b3ef: Verifying Checksum [2021-06-29T15:41:18.366Z] 7809a108b3ef: Download complete [2021-06-29T15:41:18.636Z] 540db60ca938: Pull complete [2021-06-29T15:41:18.903Z] adcc1eea9eea: Pull complete [2021-06-29T15:41:18.903Z] 4c4ab2625f07: Pull complete [2021-06-29T15:41:20.304Z] f706445af74f: Verifying Checksum [2021-06-29T15:41:20.304Z] f706445af74f: Download complete [2021-06-29T15:41:20.882Z] 0510c868ecb4: Verifying Checksum [2021-06-29T15:41:20.882Z] 0510c868ecb4: Download complete [2021-06-29T15:41:24.229Z] 0510c868ecb4: Pull complete [2021-06-29T15:41:24.498Z] afea3b2eda06: Pull complete [2021-06-29T15:41:24.498Z] 7809a108b3ef: Pull complete [2021-06-29T15:41:25.924Z] f706445af74f: Pull complete [2021-06-29T15:41:25.924Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-29T15:41:25.924Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-29T15:41:25.924Z] ---> b068be0155e3 [2021-06-29T15:41:25.924Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-29T15:41:30.271Z] provisioning config files... [2021-06-29T15:41:30.298Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/61@tmp/config3472844650274950824tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-29T15:41:30.701Z] ---> docker-login.sh [2021-06-29T15:41:30.701Z] nexus3.edgexfoundry.org:10001 [2021-06-29T15:41:31.228Z] ---> Running in 14ae75f5d51e [2021-06-29T15:41:31.229Z] Removing intermediate container 14ae75f5d51e [2021-06-29T15:41:31.229Z] ---> 6ccdeb9d3467 [2021-06-29T15:41:31.229Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-29T15:41:31.229Z] ---> Running in 8a1056c4f5b1 [2021-06-29T15:41:31.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:41:31.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:41:31.952Z] Configure a credential helper to remove this warning. See [2021-06-29T15:41:31.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:41:31.952Z] [2021-06-29T15:41:31.952Z] Login Succeeded [2021-06-29T15:41:32.179Z] Removing intermediate container 8a1056c4f5b1 [2021-06-29T15:41:32.179Z] ---> be8b0d87fbbc [2021-06-29T15:41:32.179Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-29T15:41:32.179Z] ---> Running in 3f02b6b8a0a1 [2021-06-29T15:41:32.179Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-29T15:41:32.227Z] nexus3.edgexfoundry.org:10002 [2021-06-29T15:41:32.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:41:32.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:41:32.774Z] Configure a credential helper to remove this warning. See [2021-06-29T15:41:32.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:41:32.774Z] [2021-06-29T15:41:32.774Z] Login Succeeded [2021-06-29T15:41:32.774Z] nexus3.edgexfoundry.org:10003 [2021-06-29T15:41:33.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:41:33.128Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-29T15:41:33.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:41:33.323Z] Configure a credential helper to remove this warning. See [2021-06-29T15:41:33.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:41:33.323Z] [2021-06-29T15:41:33.323Z] Login Succeeded [2021-06-29T15:41:33.323Z] nexus3.edgexfoundry.org:10004 [2021-06-29T15:41:33.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:41:33.708Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-29T15:41:33.708Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-29T15:41:33.708Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-29T15:41:33.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:41:33.873Z] Configure a credential helper to remove this warning. See [2021-06-29T15:41:33.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:41:33.873Z] [2021-06-29T15:41:33.873Z] Login Succeeded [2021-06-29T15:41:33.873Z] docker.io [2021-06-29T15:41:33.969Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-29T15:41:33.969Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-29T15:41:33.969Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-29T15:41:34.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:41:34.231Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-29T15:41:34.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:41:34.424Z] Configure a credential helper to remove this warning. See [2021-06-29T15:41:34.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:41:34.424Z] [2021-06-29T15:41:34.424Z] Login Succeeded [2021-06-29T15:41:34.494Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-29T15:41:34.494Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-29T15:41:34.494Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-29T15:41:34.697Z] ---> docker-login.sh ends [Pipeline] } [2021-06-29T15:41:34.715Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-06-29T15:41:34.756Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-29T15:41:34.756Z] (12/13) Installing libzmq (4.3.3-r1) [Pipeline] // withEnv [Pipeline] unstash [2021-06-29T15:41:35.017Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-29T15:41:35.017Z] Executing busybox-1.32.1-r6.trigger [2021-06-29T15:41:35.017Z] OK: 156 MiB in 53 packages [Pipeline] echo [2021-06-29T15:41:35.023Z] ========================================================= [2021-06-29T15:41:35.023Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-29T15:41:35.023Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:41:35.373Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-29T15:41:35.600Z] Removing intermediate container 3f02b6b8a0a1 [2021-06-29T15:41:35.600Z] ---> d4ff1807c421 [2021-06-29T15:41:35.600Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-06-29T15:41:35.600Z] ---> Running in 2a16d0bf1248 [2021-06-29T15:41:35.600Z] Removing intermediate container 2a16d0bf1248 [2021-06-29T15:41:35.600Z] ---> 1b62c922d0bd [2021-06-29T15:41:35.600Z] Step 7/8 : COPY . . [2021-06-29T15:41:35.646Z] Sending build context to Docker daemon 624.6kB [2021-06-29T15:41:35.861Z] ---> dd738797019c [2021-06-29T15:41:35.861Z] Step 8/8 : RUN go mod download [2021-06-29T15:41:35.862Z] ---> Running in 578a493da320 [2021-06-29T15:41:35.920Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-29T15:41:35.920Z] Step 2/8 : FROM ${BASE} [2021-06-29T15:41:35.920Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-29T15:41:35.920Z] 595b0fe564bb: Pulling fs layer [2021-06-29T15:41:35.920Z] 3088b5b3c5c0: Pulling fs layer [2021-06-29T15:41:35.920Z] 5b7225fbf94c: Pulling fs layer [2021-06-29T15:41:35.920Z] ba82ee9f976e: Pulling fs layer [2021-06-29T15:41:35.920Z] 506bd15cee9f: Pulling fs layer [2021-06-29T15:41:35.920Z] 75a0a4a0db45: Pulling fs layer [2021-06-29T15:41:35.920Z] 618dc40b7e24: Pulling fs layer [2021-06-29T15:41:35.920Z] ba82ee9f976e: Waiting [2021-06-29T15:41:35.920Z] 506bd15cee9f: Waiting [2021-06-29T15:41:35.920Z] 75a0a4a0db45: Waiting [2021-06-29T15:41:35.920Z] 618dc40b7e24: Waiting [2021-06-29T15:41:35.920Z] 5b7225fbf94c: Verifying Checksum [2021-06-29T15:41:35.920Z] 5b7225fbf94c: Download complete [2021-06-29T15:41:36.202Z] 3088b5b3c5c0: Download complete [2021-06-29T15:41:36.202Z] 506bd15cee9f: Verifying Checksum [2021-06-29T15:41:36.202Z] 506bd15cee9f: Download complete [2021-06-29T15:41:36.202Z] 75a0a4a0db45: Download complete [2021-06-29T15:41:36.202Z] 595b0fe564bb: Verifying Checksum [2021-06-29T15:41:36.202Z] 595b0fe564bb: Download complete [2021-06-29T15:41:36.811Z] 595b0fe564bb: Pull complete [2021-06-29T15:41:37.440Z] 3088b5b3c5c0: Pull complete [2021-06-29T15:41:37.718Z] 5b7225fbf94c: Pull complete [2021-06-29T15:41:38.323Z] 618dc40b7e24: Verifying Checksum [2021-06-29T15:41:38.323Z] 618dc40b7e24: Download complete [2021-06-29T15:41:39.761Z] ba82ee9f976e: Verifying Checksum [2021-06-29T15:41:39.761Z] ba82ee9f976e: Download complete [2021-06-29T15:41:49.950Z] ba82ee9f976e: Pull complete [2021-06-29T15:41:49.951Z] 506bd15cee9f: Pull complete [2021-06-29T15:41:50.547Z] 75a0a4a0db45: Pull complete [2021-06-29T15:41:50.858Z] Removing intermediate container 578a493da320 [2021-06-29T15:41:50.858Z] ---> 8b8dabc97f76 [2021-06-29T15:41:50.858Z] Successfully built 8b8dabc97f76 [2021-06-29T15:41:50.858Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:41:51.184Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-29T15:41:51.184Z] . [Pipeline] withDockerContainer [2021-06-29T15:41:51.278Z] prd-centos7-docker-4c-2g-673 does not seem to be running inside a container [2021-06-29T15:41:51.317Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/61 -v /w/workspace/device-mqtt-go/61:/w/workspace/device-mqtt-go/61:rw,z -v /w/workspace/device-mqtt-go/61@tmp:/w/workspace/device-mqtt-go/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-29T15:41:51.696Z] $ docker top 750de139ed4675334d2d0dec9c342d7e0051c4600385aed09d78f0782acc3aa2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-29T15:41:52.085Z] + go version [2021-06-29T15:41:52.085Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-29T15:41:52.101Z] $ docker stop --time=1 750de139ed4675334d2d0dec9c342d7e0051c4600385aed09d78f0782acc3aa2 [2021-06-29T15:41:53.282Z] $ docker rm -f 750de139ed4675334d2d0dec9c342d7e0051c4600385aed09d78f0782acc3aa2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:41:53.868Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-29T15:41:53.868Z] . [Pipeline] withDockerContainer [2021-06-29T15:41:53.953Z] prd-centos7-docker-4c-2g-673 does not seem to be running inside a container [2021-06-29T15:41:54.006Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/61 -v /w/workspace/device-mqtt-go/61:/w/workspace/device-mqtt-go/61:rw,z -v /w/workspace/device-mqtt-go/61@tmp:/w/workspace/device-mqtt-go/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-29T15:41:54.378Z] $ docker top 49fb3a4afed0a4f60b9317bf5b6a90006aaf4eecfa965d06a37a2de1bd7f28d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-29T15:41:54.767Z] + go mod tidy [2021-06-29T15:41:54.866Z] 618dc40b7e24: Pull complete [2021-06-29T15:41:54.866Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-29T15:41:54.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-29T15:41:54.866Z] ---> a36622ca3599 [2021-06-29T15:41:54.866Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [Pipeline] sh [2021-06-29T15:41:55.349Z] + make test [2021-06-29T15:41:55.349Z] go mod tidy [2021-06-29T15:41:55.349Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-29T15:41:55.931Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-06-29T15:41:56.301Z] ---> Running in 0200a95c921d [2021-06-29T15:41:56.894Z] Removing intermediate container 0200a95c921d [2021-06-29T15:41:56.894Z] ---> cb6f19cefa3f [2021-06-29T15:41:56.894Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-29T15:41:56.894Z] ---> Running in 9730db12b60c [2021-06-29T15:41:59.524Z] Removing intermediate container 9730db12b60c [2021-06-29T15:41:59.524Z] ---> 242f550b6ec9 [2021-06-29T15:41:59.524Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-29T15:41:59.524Z] ---> Running in 13db889f8caa [2021-06-29T15:42:00.506Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-29T15:42:01.484Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-29T15:42:02.472Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-29T15:42:02.472Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-29T15:42:02.472Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-29T15:42:02.472Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-29T15:42:02.743Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-29T15:42:02.743Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-29T15:42:02.743Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-29T15:42:03.353Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-29T15:42:03.353Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-29T15:42:03.353Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-29T15:42:03.623Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-29T15:42:03.623Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-29T15:42:03.894Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-29T15:42:03.894Z] Executing busybox-1.32.1-r6.trigger [2021-06-29T15:42:03.894Z] OK: 145 MiB in 53 packages [2021-06-29T15:42:05.329Z] Removing intermediate container 13db889f8caa [2021-06-29T15:42:05.329Z] ---> 501101f833cf [2021-06-29T15:42:05.329Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-06-29T15:42:05.329Z] ---> Running in 74196161d9f9 [2021-06-29T15:42:05.930Z] Removing intermediate container 74196161d9f9 [2021-06-29T15:42:05.930Z] ---> 151b4651834a [2021-06-29T15:42:05.930Z] Step 7/8 : COPY . . [2021-06-29T15:42:06.920Z] ---> 04bd29e98ba7 [2021-06-29T15:42:06.920Z] Step 8/8 : RUN go mod download [2021-06-29T15:42:06.920Z] ---> Running in c991a21b8ce9 [2021-06-29T15:42:14.218Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-06-29T15:42:14.218Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 24.3% of statements [2021-06-29T15:42:14.218Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-06-29T15:42:14.218Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-29T15:42:19.603Z] gofmt -l . [2021-06-29T15:42:19.603Z] ["`gofmt -l .`" = ""] [2021-06-29T15:42:19.603Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-29T15:42:19.613Z] $ docker stop --time=1 49fb3a4afed0a4f60b9317bf5b6a90006aaf4eecfa965d06a37a2de1bd7f28d3 [2021-06-29T15:42:21.920Z] $ docker rm -f 49fb3a4afed0a4f60b9317bf5b6a90006aaf4eecfa965d06a37a2de1bd7f28d3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-29T15:42:22.356Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-29T15:42:22.555Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-29T15:42:25.633Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-29T15:42:25.930Z] + ls -al . [2021-06-29T15:42:25.930Z] total 112 [2021-06-29T15:42:25.930Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jun 29 15:42 . [2021-06-29T15:42:25.930Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 29 15:40 .. [2021-06-29T15:42:25.930Z] -rw-rw-r--. 1 jenkins jenkins 7100 Jun 29 15:40 Attribution.txt [2021-06-29T15:42:25.930Z] drwxrwxr-x. 2 jenkins jenkins 60 Jun 29 15:40 bin [2021-06-29T15:42:25.930Z] -rw-rw-r--. 1 jenkins jenkins 7447 Jun 29 15:40 CHANGELOG.md [2021-06-29T15:42:25.930Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 29 15:40 cmd [2021-06-29T15:42:25.930Z] -rw-r--r--. 1 jenkins jenkins 16226 Jun 29 15:42 coverage.out [2021-06-29T15:42:25.930Z] -rw-rw-r--. 1 jenkins jenkins 1877 Jun 29 15:40 Dockerfile [2021-06-29T15:42:25.930Z] -rw-rw-r--. 1 jenkins jenkins 994 Jun 29 15:40 Dockerfile.build [2021-06-29T15:42:25.930Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 29 15:40 .dockerignore [2021-06-29T15:42:25.930Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 29 15:40 .git [2021-06-29T15:42:25.930Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 29 15:40 .github [2021-06-29T15:42:25.930Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 29 15:40 .gitignore [2021-06-29T15:42:25.930Z] -rw-rw-r--. 1 jenkins jenkins 388 Jun 29 15:40 go.mod [2021-06-29T15:42:25.930Z] -rw-r--r--. 1 jenkins jenkins 20775 Jun 29 15:41 go.sum [2021-06-29T15:42:25.930Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 29 15:40 internal [2021-06-29T15:42:25.930Z] -rw-rw-r--. 1 jenkins jenkins 677 Jun 29 15:40 Jenkinsfile [2021-06-29T15:42:25.930Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 29 15:40 LICENSE [2021-06-29T15:42:25.930Z] -rw-rw-r--. 1 jenkins jenkins 907 Jun 29 15:40 Makefile [2021-06-29T15:42:25.930Z] drwxrwxr-x. 2 jenkins jenkins 23 Jun 29 15:40 mock [2021-06-29T15:42:25.930Z] -rw-rw-r--. 1 jenkins jenkins 2217 Jun 29 15:40 README.md [2021-06-29T15:42:25.930Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 29 15:40 snap [2021-06-29T15:42:25.930Z] -rw-rw-r--. 1 jenkins jenkins 12 Jun 29 15:38 VERSION [2021-06-29T15:42:25.930Z] -rw-rw-r--. 1 jenkins jenkins 227 Jun 29 15:40 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:42:26.246Z] + 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=87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 --label arch=amd64 --label version=1.3.2-dev.29 . [2021-06-29T15:42:26.246Z] Sending build context to Docker daemon 642.6kB [2021-06-29T15:42:26.246Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-29T15:42:26.246Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-29T15:42:26.246Z] ---> 8b8dabc97f76 [2021-06-29T15:42:26.246Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-29T15:42:26.246Z] ---> Running in dbc912055afa [2021-06-29T15:42:26.246Z] Removing intermediate container dbc912055afa [2021-06-29T15:42:26.246Z] ---> 187866d511c0 [2021-06-29T15:42:26.246Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-29T15:42:26.507Z] ---> Running in 8dde313270b6 [2021-06-29T15:42:26.507Z] Removing intermediate container 8dde313270b6 [2021-06-29T15:42:26.507Z] ---> 83ff8f4509a2 [2021-06-29T15:42:26.507Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-29T15:42:26.507Z] ---> Running in abe78e66207a [2021-06-29T15:42:27.097Z] Removing intermediate container abe78e66207a [2021-06-29T15:42:27.097Z] ---> ca26f0a01b1f [2021-06-29T15:42:27.097Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-29T15:42:27.097Z] ---> Running in 86e94f1524d6 [2021-06-29T15:42:27.358Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-29T15:42:27.931Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-29T15:42:28.504Z] OK: 156 MiB in 53 packages [2021-06-29T15:42:28.767Z] Removing intermediate container 86e94f1524d6 [2021-06-29T15:42:28.767Z] ---> fa0233ec7d5a [2021-06-29T15:42:28.767Z] Step 7/24 : WORKDIR /device-mqtt-go [2021-06-29T15:42:28.767Z] ---> Running in 11a537ac16b6 [2021-06-29T15:42:28.767Z] Removing intermediate container 11a537ac16b6 [2021-06-29T15:42:28.767Z] ---> fdb1ec598092 [2021-06-29T15:42:28.767Z] Step 8/24 : COPY . . [2021-06-29T15:42:29.031Z] ---> 87425b9e5196 [2021-06-29T15:42:29.031Z] Step 9/24 : RUN go mod tidy [2021-06-29T15:42:29.031Z] ---> Running in 39e3e313b881 [2021-06-29T15:42:30.004Z] Removing intermediate container 39e3e313b881 [2021-06-29T15:42:30.004Z] ---> 2f398abe787f [2021-06-29T15:42:30.004Z] Step 10/24 : RUN go mod download [2021-06-29T15:42:30.004Z] ---> Running in 971b76818a3d [2021-06-29T15:42:30.268Z] Removing intermediate container 971b76818a3d [2021-06-29T15:42:30.268Z] ---> 1e2361e3e377 [2021-06-29T15:42:30.268Z] Step 11/24 : ARG MAKE='make build' [2021-06-29T15:42:30.538Z] ---> Running in 8258ac7dd05f [2021-06-29T15:42:30.538Z] Removing intermediate container 8258ac7dd05f [2021-06-29T15:42:30.538Z] ---> caa5090d3818 [2021-06-29T15:42:30.538Z] Step 12/24 : RUN $MAKE [2021-06-29T15:42:30.538Z] ---> Running in b23ac85912eb [2021-06-29T15:42:30.809Z] go mod tidy [2021-06-29T15:42:31.070Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.29" -o cmd/device-mqtt ./cmd [2021-06-29T15:42:33.754Z] Removing intermediate container c991a21b8ce9 [2021-06-29T15:42:33.754Z] ---> afa130d76e55 [2021-06-29T15:42:33.754Z] Successfully built afa130d76e55 [2021-06-29T15:42:33.754Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:42:34.100Z] + docker inspect -f . ci-base-image-arm64 [2021-06-29T15:42:34.100Z] . [Pipeline] withDockerContainer [2021-06-29T15:42:34.370Z] prd-ubuntu18.04-docker-arm64-4c-16g-672 does not seem to be running inside a container [2021-06-29T15:42:34.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/61 -v /w/workspace/device-mqtt-go/61:/w/workspace/device-mqtt-go/61:rw,z -v /w/workspace/device-mqtt-go/61@tmp:/w/workspace/device-mqtt-go/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-29T15:42:36.067Z] $ docker top 90fbd67c3da53df7814e648de70fa56ff4bf04372bac0740430c681469e36ae9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-29T15:42:37.053Z] + go version [2021-06-29T15:42:37.053Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-29T15:42:37.082Z] $ docker stop --time=1 90fbd67c3da53df7814e648de70fa56ff4bf04372bac0740430c681469e36ae9 [2021-06-29T15:42:38.952Z] $ docker rm -f 90fbd67c3da53df7814e648de70fa56ff4bf04372bac0740430c681469e36ae9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:42:39.703Z] + docker inspect -f . ci-base-image-arm64 [2021-06-29T15:42:39.703Z] . [Pipeline] withDockerContainer [2021-06-29T15:42:39.941Z] prd-ubuntu18.04-docker-arm64-4c-16g-672 does not seem to be running inside a container [2021-06-29T15:42:40.030Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/61 -v /w/workspace/device-mqtt-go/61:/w/workspace/device-mqtt-go/61:rw,z -v /w/workspace/device-mqtt-go/61@tmp:/w/workspace/device-mqtt-go/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-29T15:42:41.646Z] $ docker top fbf02dce22915c569f37d612dabbd473510f586fd1ec93d5ffa2925241390d7b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-29T15:42:42.618Z] + go mod tidy [Pipeline] sh [2021-06-29T15:42:43.393Z] Removing intermediate container b23ac85912eb [2021-06-29T15:42:43.393Z] ---> 84f738a8ffe5 [2021-06-29T15:42:43.393Z] Step 13/24 : FROM alpine:3.12 [2021-06-29T15:42:43.393Z] 3.12: Pulling from library/alpine [2021-06-29T15:42:43.393Z] 339de151aab4: Pulling fs layer [2021-06-29T15:42:43.393Z] 339de151aab4: Verifying Checksum [2021-06-29T15:42:43.393Z] 339de151aab4: Download complete [2021-06-29T15:42:43.654Z] 339de151aab4: Pull complete [2021-06-29T15:42:43.654Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-29T15:42:43.654Z] Status: Downloaded newer image for alpine:3.12 [2021-06-29T15:42:43.654Z] ---> 13621d1b12d4 [2021-06-29T15:42:43.654Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-06-29T15:42:43.654Z] ---> Running in 591c434876b2 [2021-06-29T15:42:43.654Z] Removing intermediate container 591c434876b2 [2021-06-29T15:42:43.654Z] ---> 21290412d185 [2021-06-29T15:42:43.654Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-29T15:42:43.890Z] + make test [2021-06-29T15:42:43.890Z] go mod tidy [2021-06-29T15:42:43.932Z] ---> Running in a869ae07af92 [2021-06-29T15:42:44.194Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-29T15:42:44.194Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-29T15:42:44.194Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-29T15:42:44.194Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-29T15:42:44.194Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-29T15:42:44.194Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-29T15:42:44.194Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-29T15:42:44.194Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-29T15:42:44.194Z] Executing busybox-1.31.1-r20.trigger [2021-06-29T15:42:44.194Z] OK: 8 MiB in 20 packages [2021-06-29T15:42:44.490Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-29T15:42:44.768Z] Removing intermediate container a869ae07af92 [2021-06-29T15:42:44.768Z] ---> 1c748ea8c24d [2021-06-29T15:42:44.768Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2021-06-29T15:42:45.033Z] ---> 8bb0981d23ed [2021-06-29T15:42:45.033Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-06-29T15:42:45.295Z] ---> de64dd1e0537 [2021-06-29T15:42:45.295Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-06-29T15:42:45.295Z] ---> ebe105e0bec1 [2021-06-29T15:42:45.295Z] Step 19/24 : EXPOSE 59982 [2021-06-29T15:42:45.295Z] ---> Running in 0f8a8abe882c [2021-06-29T15:42:45.478Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-06-29T15:42:45.559Z] Removing intermediate container 0f8a8abe882c [2021-06-29T15:42:45.559Z] ---> fe4d53ca753d [2021-06-29T15:42:45.559Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2021-06-29T15:42:45.559Z] ---> Running in 5350f6410314 [2021-06-29T15:42:45.559Z] Removing intermediate container 5350f6410314 [2021-06-29T15:42:45.559Z] ---> d3105c6efe8c [2021-06-29T15:42:45.559Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-29T15:42:45.559Z] ---> Running in 9d10af462f5f [2021-06-29T15:42:45.821Z] Removing intermediate container 9d10af462f5f [2021-06-29T15:42:45.821Z] ---> 2dd22105a118 [2021-06-29T15:42:45.821Z] Step 22/24 : LABEL arch=amd64 [2021-06-29T15:42:45.821Z] ---> Running in d0cb9643989b [2021-06-29T15:42:45.821Z] Removing intermediate container d0cb9643989b [2021-06-29T15:42:45.821Z] ---> e7a733a3a898 [2021-06-29T15:42:45.821Z] Step 23/24 : LABEL git_sha=87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 [2021-06-29T15:42:45.821Z] ---> Running in 3424c8a52e1b [2021-06-29T15:42:46.084Z] Removing intermediate container 3424c8a52e1b [2021-06-29T15:42:46.084Z] ---> 497e3e1ba6b1 [2021-06-29T15:42:46.084Z] Step 24/24 : LABEL version=1.3.2-dev.29 [2021-06-29T15:42:46.085Z] ---> Running in 19090467b13d [2021-06-29T15:42:46.085Z] Removing intermediate container 19090467b13d [2021-06-29T15:42:46.085Z] ---> 54f821cea867 [2021-06-29T15:42:46.085Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-29T15:42:46.085Z] Successfully built 54f821cea867 [2021-06-29T15:42:46.085Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-29T15:42:46.361Z] provisioning config files... [2021-06-29T15:42:46.375Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/61@tmp/config3379938560736406789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-29T15:42:46.720Z] ---> docker-login.sh [2021-06-29T15:42:46.721Z] nexus3.edgexfoundry.org:10001 [2021-06-29T15:42:46.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:42:46.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:42:46.721Z] Configure a credential helper to remove this warning. See [2021-06-29T15:42:46.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:42:46.721Z] [2021-06-29T15:42:46.721Z] Login Succeeded [2021-06-29T15:42:46.721Z] nexus3.edgexfoundry.org:10002 [2021-06-29T15:42:46.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:42:46.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:42:46.989Z] Configure a credential helper to remove this warning. See [2021-06-29T15:42:46.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:42:46.989Z] [2021-06-29T15:42:46.989Z] Login Succeeded [2021-06-29T15:42:46.989Z] nexus3.edgexfoundry.org:10003 [2021-06-29T15:42:46.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:42:46.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:42:46.989Z] Configure a credential helper to remove this warning. See [2021-06-29T15:42:46.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:42:46.989Z] [2021-06-29T15:42:46.989Z] Login Succeeded [2021-06-29T15:42:46.989Z] nexus3.edgexfoundry.org:10004 [2021-06-29T15:42:47.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:42:47.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:42:47.256Z] Configure a credential helper to remove this warning. See [2021-06-29T15:42:47.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:42:47.256Z] [2021-06-29T15:42:47.256Z] Login Succeeded [2021-06-29T15:42:47.256Z] docker.io [2021-06-29T15:42:47.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:42:47.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:42:47.518Z] Configure a credential helper to remove this warning. See [2021-06-29T15:42:47.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:42:47.518Z] [2021-06-29T15:42:47.518Z] Login Succeeded [2021-06-29T15:42:47.518Z] ---> docker-login.sh ends [Pipeline] } [2021-06-29T15:42:47.525Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-29T15:42:47.607Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2021-06-29T15:42:47.607Z] 87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 [2021-06-29T15:42:47.607Z] latest [2021-06-29T15:42:47.607Z] 1.3.2-dev.29 [2021-06-29T15:42:47.607Z] 87c9563f0cc199d61d9c59edcc1ec2096ecdbf84-1.3.2-dev.29 [2021-06-29T15:42:47.607Z] master [2021-06-29T15:42:47.607Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:42:47.969Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:42:48.274Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 [2021-06-29T15:42:48.274Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-29T15:42:48.274Z] 175dd957b767: Preparing [2021-06-29T15:42:48.274Z] 216500551d04: Preparing [2021-06-29T15:42:48.274Z] e114a8f95b09: Preparing [2021-06-29T15:42:48.274Z] 9ebbcc74008a: Preparing [2021-06-29T15:42:48.274Z] 32f366d666a5: Preparing [2021-06-29T15:42:48.274Z] 32f366d666a5: Layer already exists [2021-06-29T15:42:48.535Z] 175dd957b767: Pushed [2021-06-29T15:42:48.535Z] 9ebbcc74008a: Pushed [2021-06-29T15:42:48.535Z] 216500551d04: Pushed [2021-06-29T15:42:49.923Z] e114a8f95b09: Pushed [2021-06-29T15:42:49.923Z] 87c9563f0cc199d61d9c59edcc1ec2096ecdbf84: digest: sha256:b7804495f81a63033ca8bd2a7bbee89c3e90a05107531a6857d72039844d9a08 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:42:50.249Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:42:50.549Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-06-29T15:42:50.549Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-29T15:42:50.549Z] 175dd957b767: Preparing [2021-06-29T15:42:50.549Z] 216500551d04: Preparing [2021-06-29T15:42:50.549Z] e114a8f95b09: Preparing [2021-06-29T15:42:50.549Z] 9ebbcc74008a: Preparing [2021-06-29T15:42:50.549Z] 32f366d666a5: Preparing [2021-06-29T15:42:50.549Z] e114a8f95b09: Layer already exists [2021-06-29T15:42:50.549Z] 9ebbcc74008a: Layer already exists [2021-06-29T15:42:50.549Z] 32f366d666a5: Layer already exists [2021-06-29T15:42:50.549Z] 175dd957b767: Layer already exists [2021-06-29T15:42:50.549Z] 216500551d04: Layer already exists [2021-06-29T15:42:50.549Z] latest: digest: sha256:b7804495f81a63033ca8bd2a7bbee89c3e90a05107531a6857d72039844d9a08 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:42:50.861Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.29 [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:42:51.160Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.29 [2021-06-29T15:42:51.161Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-29T15:42:51.161Z] 175dd957b767: Preparing [2021-06-29T15:42:51.161Z] 216500551d04: Preparing [2021-06-29T15:42:51.161Z] e114a8f95b09: Preparing [2021-06-29T15:42:51.161Z] 9ebbcc74008a: Preparing [2021-06-29T15:42:51.161Z] 32f366d666a5: Preparing [2021-06-29T15:42:51.161Z] 175dd957b767: Layer already exists [2021-06-29T15:42:51.161Z] 9ebbcc74008a: Layer already exists [2021-06-29T15:42:51.161Z] 32f366d666a5: Layer already exists [2021-06-29T15:42:51.161Z] 216500551d04: Layer already exists [2021-06-29T15:42:51.161Z] e114a8f95b09: Layer already exists [2021-06-29T15:42:51.161Z] 1.3.2-dev.29: digest: sha256:b7804495f81a63033ca8bd2a7bbee89c3e90a05107531a6857d72039844d9a08 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:42:51.469Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:87c9563f0cc199d61d9c59edcc1ec2096ecdbf84-1.3.2-dev.29 [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:42:51.775Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:87c9563f0cc199d61d9c59edcc1ec2096ecdbf84-1.3.2-dev.29 [2021-06-29T15:42:51.775Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-29T15:42:51.775Z] 175dd957b767: Preparing [2021-06-29T15:42:51.775Z] 216500551d04: Preparing [2021-06-29T15:42:51.775Z] e114a8f95b09: Preparing [2021-06-29T15:42:51.775Z] 9ebbcc74008a: Preparing [2021-06-29T15:42:51.775Z] 32f366d666a5: Preparing [2021-06-29T15:42:51.775Z] 175dd957b767: Layer already exists [2021-06-29T15:42:51.775Z] 216500551d04: Layer already exists [2021-06-29T15:42:51.775Z] e114a8f95b09: Layer already exists [2021-06-29T15:42:51.775Z] 32f366d666a5: Layer already exists [2021-06-29T15:42:51.775Z] 9ebbcc74008a: Layer already exists [2021-06-29T15:42:51.775Z] 87c9563f0cc199d61d9c59edcc1ec2096ecdbf84-1.3.2-dev.29: digest: sha256:b7804495f81a63033ca8bd2a7bbee89c3e90a05107531a6857d72039844d9a08 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:42:52.093Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:42:52.410Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:master [2021-06-29T15:42:52.411Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-29T15:42:52.411Z] 175dd957b767: Preparing [2021-06-29T15:42:52.411Z] 216500551d04: Preparing [2021-06-29T15:42:52.411Z] e114a8f95b09: Preparing [2021-06-29T15:42:52.411Z] 9ebbcc74008a: Preparing [2021-06-29T15:42:52.411Z] 32f366d666a5: Preparing [2021-06-29T15:42:52.411Z] 32f366d666a5: Layer already exists [2021-06-29T15:42:52.411Z] e114a8f95b09: Layer already exists [2021-06-29T15:42:52.411Z] 175dd957b767: Layer already exists [2021-06-29T15:42:52.411Z] 9ebbcc74008a: Layer already exists [2021-06-29T15:42:52.411Z] 216500551d04: Layer already exists [2021-06-29T15:42:52.411Z] master: digest: sha256:b7804495f81a63033ca8bd2a7bbee89c3e90a05107531a6857d72039844d9a08 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-29T15:42:52.473Z] ===================================================== [Pipeline] echo [2021-06-29T15:42:52.489Z] taggedImages: [2021-06-29T15:42:52.489Z] - nexus3.edgexfoundry.org:10004/device-mqtt:87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 [2021-06-29T15:42:52.489Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-06-29T15:42:52.489Z] - nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.29 [2021-06-29T15:42:52.489Z] - nexus3.edgexfoundry.org:10004/device-mqtt:87c9563f0cc199d61d9c59edcc1ec2096ecdbf84-1.3.2-dev.29 [2021-06-29T15:42:52.489Z] - nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-29T15:42:53.272Z] ---> job-cost.sh [2021-06-29T15:42:53.272Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-K744 [2021-06-29T15:43:03.341Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-29T15:43:15.631Z] lf-activate-venv(): INFO: Adding /tmp/venv-K744/bin to PATH [2021-06-29T15:43:15.631Z] INFO: No Stack... [2021-06-29T15:43:16.204Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-29T15:43:16.780Z] INFO: Archiving Costs [Pipeline] sh [2021-06-29T15:43:17.091Z] + cut -d, -f6 [2021-06-29T15:43:17.091Z] + cat /w/workspace/device-mqtt-go/61/archives/cost.csv [Pipeline] lock [2021-06-29T15:43:17.122Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-61-stack-cost] [2021-06-29T15:43:17.135Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-61-stack-cost] did not exist. Created. [2021-06-29T15:43:17.135Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-29T15:43:17.475Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-29T15:43:17.538Z] Stashed 1 file(s) [Pipeline] } [2021-06-29T15:43:17.551Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-61-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-29T15:43:42.097Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-06-29T15:43:42.098Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.052s coverage: 24.3% of statements [2021-06-29T15:43:42.098Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-06-29T15:43:42.098Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-29T15:44:08.939Z] gofmt -l . [2021-06-29T15:44:08.940Z] ["`gofmt -l .`" = ""] [2021-06-29T15:44:08.940Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-29T15:44:08.966Z] $ docker stop --time=1 fbf02dce22915c569f37d612dabbd473510f586fd1ec93d5ffa2925241390d7b [2021-06-29T15:44:10.857Z] $ docker rm -f fbf02dce22915c569f37d612dabbd473510f586fd1ec93d5ffa2925241390d7b [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-29T15:44:11.675Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-29T15:44:11.716Z] Warning: overwriting stash ‘coverage-report’ [2021-06-29T15:44:12.201Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-29T15:44:12.740Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-29T15:44:13.074Z] + ls -al . [2021-06-29T15:44:13.074Z] total 144 [2021-06-29T15:44:13.074Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 15:44 . [2021-06-29T15:44:13.074Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 15:41 .. [2021-06-29T15:44:13.074Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 15:41 .dockerignore [2021-06-29T15:44:13.074Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 15:41 .git [2021-06-29T15:44:13.074Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 15:41 .github [2021-06-29T15:44:13.074Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 29 15:41 .gitignore [2021-06-29T15:44:13.074Z] -rw-rw-r-- 1 jenkins jenkins 7100 Jun 29 15:41 Attribution.txt [2021-06-29T15:44:13.074Z] -rw-rw-r-- 1 jenkins jenkins 7447 Jun 29 15:41 CHANGELOG.md [2021-06-29T15:44:13.074Z] -rw-rw-r-- 1 jenkins jenkins 1877 Jun 29 15:41 Dockerfile [2021-06-29T15:44:13.074Z] -rw-rw-r-- 1 jenkins jenkins 994 Jun 29 15:41 Dockerfile.build [2021-06-29T15:44:13.074Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 15:41 Jenkinsfile [2021-06-29T15:44:13.074Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 15:41 LICENSE [2021-06-29T15:44:13.074Z] -rw-rw-r-- 1 jenkins jenkins 907 Jun 29 15:41 Makefile [2021-06-29T15:44:13.074Z] -rw-rw-r-- 1 jenkins jenkins 2217 Jun 29 15:41 README.md [2021-06-29T15:44:13.074Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 29 15:38 VERSION [2021-06-29T15:44:13.074Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 15:41 bin [2021-06-29T15:44:13.074Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:41 cmd [2021-06-29T15:44:13.074Z] -rw-r--r-- 1 jenkins jenkins 16226 Jun 29 15:43 coverage.out [2021-06-29T15:44:13.074Z] -rw-rw-r-- 1 jenkins jenkins 388 Jun 29 15:41 go.mod [2021-06-29T15:44:13.074Z] -rw-r--r-- 1 jenkins jenkins 20775 Jun 29 15:42 go.sum [2021-06-29T15:44:13.074Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:41 internal [2021-06-29T15:44:13.074Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 15:41 mock [2021-06-29T15:44:13.074Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 15:41 snap [2021-06-29T15:44:13.074Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 29 15:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:44:13.416Z] + 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=87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 --label arch=arm64 --label version=1.3.2-dev.29 . [2021-06-29T15:44:13.700Z] Sending build context to Docker daemon 641.5kB [2021-06-29T15:44:13.700Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-29T15:44:13.700Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-29T15:44:13.700Z] ---> afa130d76e55 [2021-06-29T15:44:13.700Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-29T15:44:13.973Z] ---> Running in 95a34e805adc [2021-06-29T15:44:14.576Z] Removing intermediate container 95a34e805adc [2021-06-29T15:44:14.576Z] ---> a69df05263b5 [2021-06-29T15:44:14.576Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-29T15:44:14.576Z] ---> Running in 3848b1624fd6 [2021-06-29T15:44:15.174Z] Removing intermediate container 3848b1624fd6 [2021-06-29T15:44:15.174Z] ---> 80f582afdc68 [2021-06-29T15:44:15.174Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-29T15:44:15.174Z] ---> Running in a0e24f7c59a5 [2021-06-29T15:44:17.156Z] Removing intermediate container a0e24f7c59a5 [2021-06-29T15:44:17.156Z] ---> cb9dc1eebb84 [2021-06-29T15:44:17.156Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-29T15:44:17.434Z] ---> Running in d339b22e9649 [2021-06-29T15:44:18.878Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-29T15:44:19.531Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-29T15:44:20.576Z] OK: 145 MiB in 53 packages [2021-06-29T15:44:21.593Z] Removing intermediate container d339b22e9649 [2021-06-29T15:44:21.593Z] ---> 9b25d7e157a8 [2021-06-29T15:44:21.593Z] Step 7/24 : WORKDIR /device-mqtt-go [2021-06-29T15:44:21.593Z] ---> Running in cff95ed37cba [2021-06-29T15:44:22.194Z] Removing intermediate container cff95ed37cba [2021-06-29T15:44:22.194Z] ---> b5b5323dc516 [2021-06-29T15:44:22.194Z] Step 8/24 : COPY . . [2021-06-29T15:44:23.184Z] ---> c547b3b0545f [2021-06-29T15:44:23.184Z] Step 9/24 : RUN go mod tidy [2021-06-29T15:44:23.459Z] ---> Running in 764b2d0ac6d2 [2021-06-29T15:44:26.092Z] Removing intermediate container 764b2d0ac6d2 [2021-06-29T15:44:26.092Z] ---> ea38056de291 [2021-06-29T15:44:26.092Z] Step 10/24 : RUN go mod download [2021-06-29T15:44:26.092Z] ---> Running in 59eccbd99f82 [2021-06-29T15:44:28.748Z] Removing intermediate container 59eccbd99f82 [2021-06-29T15:44:28.748Z] ---> 46dbd98c23a7 [2021-06-29T15:44:28.749Z] Step 11/24 : ARG MAKE='make build' [2021-06-29T15:44:28.749Z] ---> Running in 7caa90533825 [2021-06-29T15:44:29.020Z] Removing intermediate container 7caa90533825 [2021-06-29T15:44:29.020Z] ---> d801be20aa11 [2021-06-29T15:44:29.020Z] Step 12/24 : RUN $MAKE [2021-06-29T15:44:29.298Z] ---> Running in 2b2a68d28539 [2021-06-29T15:44:30.279Z] go mod tidy [2021-06-29T15:44:30.872Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.29" -o cmd/device-mqtt ./cmd [2021-06-29T15:45:09.907Z] Removing intermediate container 2b2a68d28539 [2021-06-29T15:45:09.907Z] ---> 7e7105d4d59a [2021-06-29T15:45:09.907Z] Step 13/24 : FROM alpine:3.12 [2021-06-29T15:45:09.907Z] 3.12: Pulling from library/alpine [2021-06-29T15:45:09.907Z] d2f70382dc9a: Pulling fs layer [2021-06-29T15:45:09.907Z] d2f70382dc9a: Verifying Checksum [2021-06-29T15:45:09.907Z] d2f70382dc9a: Download complete [2021-06-29T15:45:09.907Z] d2f70382dc9a: Pull complete [2021-06-29T15:45:09.907Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-29T15:45:09.907Z] Status: Downloaded newer image for alpine:3.12 [2021-06-29T15:45:09.907Z] ---> c4fd0aeabfcf [2021-06-29T15:45:09.907Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-06-29T15:45:09.907Z] ---> Running in 6af34ea4dd69 [2021-06-29T15:45:09.907Z] Removing intermediate container 6af34ea4dd69 [2021-06-29T15:45:09.907Z] ---> 6beea92b7788 [2021-06-29T15:45:09.907Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-29T15:45:09.907Z] ---> Running in d2112391e17d [2021-06-29T15:45:09.907Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-29T15:45:09.907Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-29T15:45:10.179Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-29T15:45:10.179Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-29T15:45:10.179Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-29T15:45:10.179Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-29T15:45:10.179Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-29T15:45:10.179Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-29T15:45:10.179Z] Executing busybox-1.31.1-r20.trigger [2021-06-29T15:45:10.179Z] OK: 8 MiB in 20 packages [2021-06-29T15:45:11.618Z] Removing intermediate container d2112391e17d [2021-06-29T15:45:11.618Z] ---> d91547b8776a [2021-06-29T15:45:11.618Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2021-06-29T15:45:12.602Z] ---> c6e3b7705863 [2021-06-29T15:45:12.602Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-06-29T15:45:13.209Z] ---> 8ba3369d67a1 [2021-06-29T15:45:13.209Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-06-29T15:45:14.201Z] ---> c930e2951803 [2021-06-29T15:45:14.201Z] Step 19/24 : EXPOSE 59982 [2021-06-29T15:45:14.201Z] ---> Running in 678f2243ff95 [2021-06-29T15:45:14.798Z] Removing intermediate container 678f2243ff95 [2021-06-29T15:45:14.798Z] ---> 3fd2fc11ee50 [2021-06-29T15:45:14.799Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2021-06-29T15:45:14.799Z] ---> Running in f1cb6ca91dd4 [2021-06-29T15:45:15.397Z] Removing intermediate container f1cb6ca91dd4 [2021-06-29T15:45:15.397Z] ---> 99c052b3bbad [2021-06-29T15:45:15.397Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-29T15:45:15.397Z] ---> Running in f44b23a86826 [2021-06-29T15:45:15.680Z] Removing intermediate container f44b23a86826 [2021-06-29T15:45:15.680Z] ---> ae73c5eae3b1 [2021-06-29T15:45:15.680Z] Step 22/24 : LABEL arch=arm64 [2021-06-29T15:45:15.954Z] ---> Running in fabc33fc9eb6 [2021-06-29T15:45:16.558Z] Removing intermediate container fabc33fc9eb6 [2021-06-29T15:45:16.558Z] ---> b518f00687d4 [2021-06-29T15:45:16.558Z] Step 23/24 : LABEL git_sha=87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 [2021-06-29T15:45:16.558Z] ---> Running in 20a6fbb76d67 [2021-06-29T15:45:17.156Z] Removing intermediate container 20a6fbb76d67 [2021-06-29T15:45:17.156Z] ---> 769579572ade [2021-06-29T15:45:17.156Z] Step 24/24 : LABEL version=1.3.2-dev.29 [2021-06-29T15:45:17.156Z] ---> Running in e1a954b1cf1a [2021-06-29T15:45:17.753Z] Removing intermediate container e1a954b1cf1a [2021-06-29T15:45:17.753Z] ---> ccdfe2a89135 [2021-06-29T15:45:17.753Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-29T15:45:17.753Z] Successfully built ccdfe2a89135 [2021-06-29T15:45:17.753Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-29T15:45:18.046Z] provisioning config files... [2021-06-29T15:45:18.071Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/61@tmp/config4371703056324233095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-29T15:45:18.441Z] ---> docker-login.sh [2021-06-29T15:45:18.442Z] nexus3.edgexfoundry.org:10001 [2021-06-29T15:45:18.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:45:18.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:45:18.988Z] Configure a credential helper to remove this warning. See [2021-06-29T15:45:18.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:45:18.989Z] [2021-06-29T15:45:18.989Z] Login Succeeded [2021-06-29T15:45:18.989Z] nexus3.edgexfoundry.org:10002 [2021-06-29T15:45:19.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:45:19.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:45:19.536Z] Configure a credential helper to remove this warning. See [2021-06-29T15:45:19.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:45:19.536Z] [2021-06-29T15:45:19.536Z] Login Succeeded [2021-06-29T15:45:19.536Z] nexus3.edgexfoundry.org:10003 [2021-06-29T15:45:19.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:45:20.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:45:20.083Z] Configure a credential helper to remove this warning. See [2021-06-29T15:45:20.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:45:20.083Z] [2021-06-29T15:45:20.083Z] Login Succeeded [2021-06-29T15:45:20.083Z] nexus3.edgexfoundry.org:10004 [2021-06-29T15:45:20.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:45:20.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:45:20.627Z] Configure a credential helper to remove this warning. See [2021-06-29T15:45:20.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:45:20.627Z] [2021-06-29T15:45:20.627Z] Login Succeeded [2021-06-29T15:45:20.627Z] docker.io [2021-06-29T15:45:20.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T15:45:21.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T15:45:21.169Z] Configure a credential helper to remove this warning. See [2021-06-29T15:45:21.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T15:45:21.169Z] [2021-06-29T15:45:21.169Z] Login Succeeded [2021-06-29T15:45:21.169Z] ---> docker-login.sh ends [Pipeline] } [2021-06-29T15:45:21.186Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-29T15:45:21.274Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2021-06-29T15:45:21.274Z] 87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 [2021-06-29T15:45:21.274Z] latest [2021-06-29T15:45:21.274Z] 1.3.2-dev.29 [2021-06-29T15:45:21.274Z] 87c9563f0cc199d61d9c59edcc1ec2096ecdbf84-1.3.2-dev.29 [2021-06-29T15:45:21.274Z] master [2021-06-29T15:45:21.274Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:45:21.670Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:45:22.017Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 [2021-06-29T15:45:22.017Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-29T15:45:22.017Z] 3e80dc4d9b30: Preparing [2021-06-29T15:45:22.017Z] c398393f675c: Preparing [2021-06-29T15:45:22.017Z] 023622b007a8: Preparing [2021-06-29T15:45:22.017Z] f9082af493d5: Preparing [2021-06-29T15:45:22.017Z] 3fbe34a1663b: Preparing [2021-06-29T15:45:22.290Z] 3fbe34a1663b: Layer already exists [2021-06-29T15:45:22.290Z] 3e80dc4d9b30: Pushed [2021-06-29T15:45:22.290Z] c398393f675c: Pushed [2021-06-29T15:45:22.896Z] f9082af493d5: Pushed [2021-06-29T15:45:25.507Z] 023622b007a8: Pushed [2021-06-29T15:45:25.507Z] 87c9563f0cc199d61d9c59edcc1ec2096ecdbf84: digest: sha256:e8e33ea7a10482d533fd4adb1f5a2253128bf397d2466e00aaa9a1cd56540763 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:45:25.862Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:45:26.208Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-06-29T15:45:26.209Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-29T15:45:26.209Z] 3e80dc4d9b30: Preparing [2021-06-29T15:45:26.209Z] c398393f675c: Preparing [2021-06-29T15:45:26.209Z] 023622b007a8: Preparing [2021-06-29T15:45:26.209Z] f9082af493d5: Preparing [2021-06-29T15:45:26.209Z] 3fbe34a1663b: Preparing [2021-06-29T15:45:26.209Z] 3e80dc4d9b30: Layer already exists [2021-06-29T15:45:26.481Z] f9082af493d5: Layer already exists [2021-06-29T15:45:26.481Z] 023622b007a8: Layer already exists [2021-06-29T15:45:26.481Z] 3fbe34a1663b: Layer already exists [2021-06-29T15:45:26.481Z] c398393f675c: Layer already exists [2021-06-29T15:45:26.481Z] latest: digest: sha256:e8e33ea7a10482d533fd4adb1f5a2253128bf397d2466e00aaa9a1cd56540763 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:45:26.836Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.29 [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:45:27.180Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.29 [2021-06-29T15:45:27.180Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-29T15:45:27.180Z] 3e80dc4d9b30: Preparing [2021-06-29T15:45:27.180Z] c398393f675c: Preparing [2021-06-29T15:45:27.180Z] 023622b007a8: Preparing [2021-06-29T15:45:27.180Z] f9082af493d5: Preparing [2021-06-29T15:45:27.180Z] 3fbe34a1663b: Preparing [2021-06-29T15:45:27.454Z] 023622b007a8: Layer already exists [2021-06-29T15:45:27.454Z] 3fbe34a1663b: Layer already exists [2021-06-29T15:45:27.454Z] 3e80dc4d9b30: Layer already exists [2021-06-29T15:45:27.454Z] c398393f675c: Layer already exists [2021-06-29T15:45:27.454Z] f9082af493d5: Layer already exists [2021-06-29T15:45:27.454Z] 1.3.2-dev.29: digest: sha256:e8e33ea7a10482d533fd4adb1f5a2253128bf397d2466e00aaa9a1cd56540763 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:45:27.804Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:87c9563f0cc199d61d9c59edcc1ec2096ecdbf84-1.3.2-dev.29 [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:45:28.148Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:87c9563f0cc199d61d9c59edcc1ec2096ecdbf84-1.3.2-dev.29 [2021-06-29T15:45:28.148Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-29T15:45:28.148Z] 3e80dc4d9b30: Preparing [2021-06-29T15:45:28.148Z] c398393f675c: Preparing [2021-06-29T15:45:28.148Z] 023622b007a8: Preparing [2021-06-29T15:45:28.148Z] f9082af493d5: Preparing [2021-06-29T15:45:28.148Z] 3fbe34a1663b: Preparing [2021-06-29T15:45:28.148Z] 3e80dc4d9b30: Layer already exists [2021-06-29T15:45:28.148Z] f9082af493d5: Layer already exists [2021-06-29T15:45:28.148Z] 3fbe34a1663b: Layer already exists [2021-06-29T15:45:28.148Z] c398393f675c: Layer already exists [2021-06-29T15:45:28.148Z] 023622b007a8: Layer already exists [2021-06-29T15:45:28.420Z] 87c9563f0cc199d61d9c59edcc1ec2096ecdbf84-1.3.2-dev.29: digest: sha256:e8e33ea7a10482d533fd4adb1f5a2253128bf397d2466e00aaa9a1cd56540763 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:45:28.769Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:45:29.108Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [2021-06-29T15:45:29.109Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-29T15:45:29.109Z] 3e80dc4d9b30: Preparing [2021-06-29T15:45:29.109Z] c398393f675c: Preparing [2021-06-29T15:45:29.109Z] 023622b007a8: Preparing [2021-06-29T15:45:29.109Z] f9082af493d5: Preparing [2021-06-29T15:45:29.109Z] 3fbe34a1663b: Preparing [2021-06-29T15:45:29.109Z] f9082af493d5: Layer already exists [2021-06-29T15:45:29.109Z] c398393f675c: Layer already exists [2021-06-29T15:45:29.109Z] 3fbe34a1663b: Layer already exists [2021-06-29T15:45:29.109Z] 3e80dc4d9b30: Layer already exists [2021-06-29T15:45:29.109Z] 023622b007a8: Layer already exists [2021-06-29T15:45:29.379Z] master: digest: sha256:e8e33ea7a10482d533fd4adb1f5a2253128bf397d2466e00aaa9a1cd56540763 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-29T15:45:29.459Z] ===================================================== [Pipeline] echo [2021-06-29T15:45:29.485Z] taggedImages: [2021-06-29T15:45:29.485Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 [2021-06-29T15:45:29.485Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-06-29T15:45:29.485Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.29 [2021-06-29T15:45:29.485Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:87c9563f0cc199d61d9c59edcc1ec2096ecdbf84-1.3.2-dev.29 [2021-06-29T15:45:29.485Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-29T15:45:29.985Z] ---> job-cost.sh [2021-06-29T15:45:29.985Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Bjm5 [2021-06-29T15:46:08.963Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-29T15:47:30.755Z] lf-activate-venv(): INFO: Adding /tmp/venv-Bjm5/bin to PATH [2021-06-29T15:47:30.755Z] INFO: No Stack... [2021-06-29T15:47:31.726Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-29T15:47:32.321Z] INFO: Archiving Costs [Pipeline] sh [2021-06-29T15:47:32.661Z] + cat /w/workspace/device-mqtt-go/61/archives/cost.csv [2021-06-29T15:47:32.661Z] + cut -d, -f6 [Pipeline] lock [2021-06-29T15:47:32.740Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-61-stack-cost] [2021-06-29T15:47:32.750Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-61-stack-cost] did not exist. Created. [2021-06-29T15:47:32.750Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-29T15:47:33.129Z] /w/workspace/device-mqtt-go/61@tmp/durable-eeb6aab2/script.sh: 1: /w/workspace/device-mqtt-go/61@tmp/durable-eeb6aab2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-29T15:47:33.470Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-29T15:47:33.522Z] Warning: overwriting stash ‘stack-cost’ [2021-06-29T15:47:33.668Z] Stashed 1 file(s) [Pipeline] } [2021-06-29T15:47:33.686Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-61-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-29T15:47:34.608Z] provisioning config files... [2021-06-29T15:47:34.619Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3146041174527833807tmp [Pipeline] { [Pipeline] sh [2021-06-29T15:47:34.945Z] + set +x [2021-06-29T15:47:34.945Z] + curl -s https://codecov.io/bash [2021-06-29T15:47:34.945Z] + bash -s -- [2021-06-29T15:47:34.945Z] [2021-06-29T15:47:34.945Z] _____ _ [2021-06-29T15:47:34.945Z] / ____| | | [2021-06-29T15:47:34.945Z] | | ___ __| | ___ ___ _____ __ [2021-06-29T15:47:34.945Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-29T15:47:34.945Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-29T15:47:34.945Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-29T15:47:34.945Z] Bash-1.0.3 [2021-06-29T15:47:34.945Z] [2021-06-29T15:47:34.945Z] [2021-06-29T15:47:34.945Z] ==> git version 2.24.4 found [2021-06-29T15:47:34.945Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-29T15:47:34.945Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-29T15:47:34.945Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-29T15:47:34.945Z] ==> Jenkins CI detected. [2021-06-29T15:47:34.945Z] project root: . [2021-06-29T15:47:34.945Z] --> token set from env [2021-06-29T15:47:34.945Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-29T15:47:35.211Z] ==> Running gcov in . (disable via -X gcov) [2021-06-29T15:47:35.211Z] ==> Python coveragepy not found [2021-06-29T15:47:35.211Z] ==> Searching for coverage reports in: [2021-06-29T15:47:35.211Z] + . [2021-06-29T15:47:35.211Z] -> Found 1 reports [2021-06-29T15:47:35.211Z] ==> Detecting git/mercurial file structure [2021-06-29T15:47:35.211Z] ==> Reading reports [2021-06-29T15:47:35.211Z] + ./coverage.out bytes=16226 [2021-06-29T15:47:35.211Z] ==> Appending adjustments [2021-06-29T15:47:35.211Z] https://docs.codecov.io/docs/fixing-reports [2021-06-29T15:47:35.211Z] + Found adjustments [2021-06-29T15:47:35.211Z] ==> Gzipping contents [2021-06-29T15:47:35.211Z] 4.0K /tmp/codecov.ydthY8.gz [2021-06-29T15:47:35.211Z] ==> Uploading reports [2021-06-29T15:47:35.211Z] url: https://codecov.io [2021-06-29T15:47:35.211Z] query: branch=master&commit=87c9563f0cc199d61d9c59edcc1ec2096ecdbf84&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-29T15:47:35.211Z] -> Pinging Codecov [2021-06-29T15:47:35.211Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=87c9563f0cc199d61d9c59edcc1ec2096ecdbf84&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-29T15:47:35.472Z] -> Uploading to [2021-06-29T15:47:35.472Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-29/7D719EC7BBE17E464838252E33014C33/87c9563f0cc199d61d9c59edcc1ec2096ecdbf84/6d17b68c-6360-4de0-b3c4-635e69bb8cfe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210629T154735Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fb886a6fb31be1e69d65207105ef9ed5766dbe146e789bfcd170a49e301fd76b [2021-06-29T15:47:35.472Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-29T15:47:35.472Z] Dload Upload Total Spent Left Speed [2021-06-29T15:47:36.047Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3003 0 0 100 3003 0 6810 --:--:-- --:--:-- --:--:-- 6825 [2021-06-29T15:47:36.047Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 [Pipeline] } [2021-06-29T15:47:36.057Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-06-29T15:47:37.022Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-06-29T15:47:37.046Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:47:37.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-29T15:47:37.367Z] [2021-06-29T15:47:37.367Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:47:37.704Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-29T15:47:37.705Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-06-29T15:47:37.705Z] 188c0c94c7c5: Pulling fs layer [2021-06-29T15:47:37.705Z] 0ef7d3d256c8: Pulling fs layer [2021-06-29T15:47:37.705Z] de9db76c5a1d: Pulling fs layer [2021-06-29T15:47:37.705Z] 0eba1c9be4d2: Pulling fs layer [2021-06-29T15:47:37.705Z] 0d57e429df01: Pulling fs layer [2021-06-29T15:47:37.705Z] 4e4be7b47b0d: Pulling fs layer [2021-06-29T15:47:37.705Z] e1f770b5df2f: Pulling fs layer [2021-06-29T15:47:37.705Z] 85a0685a4137: Pulling fs layer [2021-06-29T15:47:37.705Z] 0eba1c9be4d2: Waiting [2021-06-29T15:47:37.705Z] 0d57e429df01: Waiting [2021-06-29T15:47:37.705Z] 4e4be7b47b0d: Waiting [2021-06-29T15:47:37.705Z] e1f770b5df2f: Waiting [2021-06-29T15:47:37.705Z] 85a0685a4137: Waiting [2021-06-29T15:47:37.705Z] de9db76c5a1d: Verifying Checksum [2021-06-29T15:47:37.705Z] de9db76c5a1d: Download complete [2021-06-29T15:47:37.705Z] 0ef7d3d256c8: Verifying Checksum [2021-06-29T15:47:37.705Z] 0ef7d3d256c8: Download complete [2021-06-29T15:47:37.705Z] 0d57e429df01: Verifying Checksum [2021-06-29T15:47:37.705Z] 0d57e429df01: Download complete [2021-06-29T15:47:37.705Z] 188c0c94c7c5: Verifying Checksum [2021-06-29T15:47:37.705Z] 188c0c94c7c5: Download complete [2021-06-29T15:47:37.980Z] 188c0c94c7c5: Pull complete [2021-06-29T15:47:38.246Z] 4e4be7b47b0d: Verifying Checksum [2021-06-29T15:47:38.246Z] 4e4be7b47b0d: Download complete [2021-06-29T15:47:38.246Z] 0ef7d3d256c8: Pull complete [2021-06-29T15:47:38.512Z] de9db76c5a1d: Pull complete [2021-06-29T15:47:39.461Z] e1f770b5df2f: Verifying Checksum [2021-06-29T15:47:39.461Z] e1f770b5df2f: Download complete [2021-06-29T15:47:41.432Z] 0eba1c9be4d2: Verifying Checksum [2021-06-29T15:47:41.432Z] 0eba1c9be4d2: Download complete [2021-06-29T15:47:41.432Z] 85a0685a4137: Verifying Checksum [2021-06-29T15:47:41.432Z] 85a0685a4137: Download complete [2021-06-29T15:47:44.769Z] 0eba1c9be4d2: Pull complete [2021-06-29T15:47:45.031Z] 0d57e429df01: Pull complete [2021-06-29T15:47:45.031Z] 4e4be7b47b0d: Pull complete [2021-06-29T15:47:45.621Z] e1f770b5df2f: Pull complete [2021-06-29T15:47:48.971Z] 85a0685a4137: Pull complete [2021-06-29T15:47:48.972Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-06-29T15:47:48.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-29T15:47:48.972Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-06-29T15:47:49.054Z] prd-centos7-docker-4c-2g-670 does not seem to be running inside a container [2021-06-29T15:47:49.099Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-06-29T15:47:52.696Z] $ docker top 5ec7e3a6abc65d1cadadea3487376c7e09458001fdcb6dfa5d009864fdd52490 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-29T15:47:52.802Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-06-29T15:47:53.097Z] + set -o pipefail [2021-06-29T15:47:53.098Z] + snyk monitor '--org=edgex-jenkins' [2021-06-29T15:47:58.405Z] [2021-06-29T15:47:58.406Z] Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... [2021-06-29T15:47:58.406Z] [2021-06-29T15:47:58.406Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/125df49a-bde2-4711-8ba6-d5773c2ea588 [2021-06-29T15:47:58.406Z] [2021-06-29T15:47:58.406Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-06-29T15:47:58.406Z] [2021-06-29T15:47:58.667Z] [Pipeline] } [2021-06-29T15:47:58.677Z] $ docker stop --time=1 5ec7e3a6abc65d1cadadea3487376c7e09458001fdcb6dfa5d009864fdd52490 [2021-06-29T15:48:01.220Z] $ docker rm -f 5ec7e3a6abc65d1cadadea3487376c7e09458001fdcb6dfa5d009864fdd52490 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-29T15:48:02.326Z] + git log --format=format:%s -1 87c9563f0cc199d61d9c59edcc1ec2096ecdbf84 [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:48:02.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-29T15:48:02.638Z] . [Pipeline] withDockerContainer [2021-06-29T15:48:02.715Z] prd-centos7-docker-4c-2g-670 does not seem to be running inside a container [2021-06-29T15:48:02.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-29T15:48:03.176Z] $ docker top 8f2dc2bea229faad1db35aaf1bb659369889e22c6cfdb4edc34147a2efccb793 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-29T15:48:03.298Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v1.3.2-dev.28' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-29T15:48:03.617Z] + git semver [Pipeline] } [2021-06-29T15:48:03.627Z] $ docker stop --time=1 8f2dc2bea229faad1db35aaf1bb659369889e22c6cfdb4edc34147a2efccb793 [2021-06-29T15:48:04.892Z] $ docker rm -f 8f2dc2bea229faad1db35aaf1bb659369889e22c6cfdb4edc34147a2efccb793 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:48:05.410Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-29T15:48:05.410Z] [2021-06-29T15:48:05.410Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:48:05.723Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-29T15:48:05.723Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-06-29T15:48:05.723Z] ab5ef0e58194: Pulling fs layer [2021-06-29T15:48:05.723Z] 9712f1f96733: Pulling fs layer [2021-06-29T15:48:05.723Z] 63f879dbbcfc: Pulling fs layer [2021-06-29T15:48:05.723Z] 0d9ebad4ef96: Pulling fs layer [2021-06-29T15:48:05.723Z] e9a5061849ea: Pulling fs layer [2021-06-29T15:48:05.723Z] d747dcd14b5f: Pulling fs layer [2021-06-29T15:48:05.723Z] 2de7ff778b66: Pulling fs layer [2021-06-29T15:48:05.723Z] 0d9ebad4ef96: Waiting [2021-06-29T15:48:05.723Z] e9a5061849ea: Waiting [2021-06-29T15:48:05.723Z] d747dcd14b5f: Waiting [2021-06-29T15:48:05.723Z] 2de7ff778b66: Waiting [2021-06-29T15:48:05.723Z] 9712f1f96733: Verifying Checksum [2021-06-29T15:48:05.723Z] 9712f1f96733: Download complete [2021-06-29T15:48:07.108Z] 63f879dbbcfc: Verifying Checksum [2021-06-29T15:48:07.108Z] 63f879dbbcfc: Download complete [2021-06-29T15:48:07.368Z] e9a5061849ea: Verifying Checksum [2021-06-29T15:48:07.368Z] e9a5061849ea: Download complete [2021-06-29T15:48:07.368Z] d747dcd14b5f: Verifying Checksum [2021-06-29T15:48:07.368Z] d747dcd14b5f: Download complete [2021-06-29T15:48:07.942Z] 2de7ff778b66: Verifying Checksum [2021-06-29T15:48:07.942Z] 2de7ff778b66: Download complete [2021-06-29T15:48:07.942Z] 0d9ebad4ef96: Verifying Checksum [2021-06-29T15:48:07.942Z] 0d9ebad4ef96: Download complete [2021-06-29T15:48:07.942Z] ab5ef0e58194: Verifying Checksum [2021-06-29T15:48:07.942Z] ab5ef0e58194: Download complete [2021-06-29T15:48:10.525Z] ab5ef0e58194: Pull complete [2021-06-29T15:48:10.525Z] 9712f1f96733: Pull complete [2021-06-29T15:48:11.480Z] 63f879dbbcfc: Pull complete [2021-06-29T15:48:14.818Z] 0d9ebad4ef96: Pull complete [2021-06-29T15:48:14.818Z] e9a5061849ea: Pull complete [2021-06-29T15:48:14.818Z] d747dcd14b5f: Pull complete [2021-06-29T15:48:15.761Z] 2de7ff778b66: Pull complete [2021-06-29T15:48:15.761Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-06-29T15:48:15.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-29T15:48:15.761Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-06-29T15:48:15.842Z] prd-centos7-docker-4c-2g-670 does not seem to be running inside a container [2021-06-29T15:48:15.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-06-29T15:48:21.091Z] $ docker top 30b122b03e2adb9c59399496513261f7f9132abc2d96396d68b52e2614677b37 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-06-29T15:48:21.207Z] provisioning config files... [2021-06-29T15:48:21.217Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3762695896069038439tmp [2021-06-29T15:48:21.240Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config8538426433723908146tmp [2021-06-29T15:48:21.256Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7493639512385553556tmp [Pipeline] { [Pipeline] echo [2021-06-29T15:48:21.280Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T15:48:21.588Z] ---> sigul-configuration.sh [2021-06-29T15:48:21.589Z] gpg: directory `/root/.gnupg' created [2021-06-29T15:48:21.589Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-06-29T15:48:21.589Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-06-29T15:48:21.589Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-06-29T15:48:21.589Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-06-29T15:48:21.589Z] gpg: CAST5 encrypted data [2021-06-29T15:48:21.589Z] gpg: encrypted with 1 passphrase [2021-06-29T15:48:21.589Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-06-29T15:48:21.886Z] + mkdir /home/jenkins [2021-06-29T15:48:21.886Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-06-29T15:48:22.182Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-06-29T15:48:22.196Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T15:48:22.504Z] ---> sigul-install.sh [2021-06-29T15:48:27.806Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-06-29T15:48:28.099Z] + git tag --list [2021-06-29T15:48:28.100Z] 0.7.1 [2021-06-29T15:48:28.100Z] v1.0.0 [2021-06-29T15:48:28.100Z] v1.1.0 [2021-06-29T15:48:28.100Z] v1.1.1 [2021-06-29T15:48:28.100Z] v1.2.2 [2021-06-29T15:48:28.100Z] v1.3.0 [2021-06-29T15:48:28.100Z] v1.3.1 [2021-06-29T15:48:28.100Z] v1.3.1-dev.1 [2021-06-29T15:48:28.100Z] v1.3.1-dev.2 [2021-06-29T15:48:28.100Z] v1.3.1-dev.3 [2021-06-29T15:48:28.100Z] v1.3.1-dev.4 [2021-06-29T15:48:28.100Z] v1.3.2-dev.1 [2021-06-29T15:48:28.100Z] v1.3.2-dev.10 [2021-06-29T15:48:28.100Z] v1.3.2-dev.11 [2021-06-29T15:48:28.100Z] v1.3.2-dev.12 [2021-06-29T15:48:28.100Z] v1.3.2-dev.13 [2021-06-29T15:48:28.100Z] v1.3.2-dev.14 [2021-06-29T15:48:28.100Z] v1.3.2-dev.15 [2021-06-29T15:48:28.100Z] v1.3.2-dev.16 [2021-06-29T15:48:28.100Z] v1.3.2-dev.17 [2021-06-29T15:48:28.100Z] v1.3.2-dev.18 [2021-06-29T15:48:28.100Z] v1.3.2-dev.19 [2021-06-29T15:48:28.100Z] v1.3.2-dev.2 [2021-06-29T15:48:28.100Z] v1.3.2-dev.20 [2021-06-29T15:48:28.100Z] v1.3.2-dev.21 [2021-06-29T15:48:28.100Z] v1.3.2-dev.22 [2021-06-29T15:48:28.100Z] v1.3.2-dev.23 [2021-06-29T15:48:28.100Z] v1.3.2-dev.24 [2021-06-29T15:48:28.100Z] v1.3.2-dev.25 [2021-06-29T15:48:28.100Z] v1.3.2-dev.26 [2021-06-29T15:48:28.100Z] v1.3.2-dev.27 [2021-06-29T15:48:28.100Z] v1.3.2-dev.28 [2021-06-29T15:48:28.100Z] v1.3.2-dev.3 [2021-06-29T15:48:28.100Z] v1.3.2-dev.4 [2021-06-29T15:48:28.100Z] v1.3.2-dev.5 [2021-06-29T15:48:28.100Z] v1.3.2-dev.6 [2021-06-29T15:48:28.100Z] v1.3.2-dev.7 [2021-06-29T15:48:28.100Z] v1.3.2-dev.8 [2021-06-29T15:48:28.100Z] v1.3.2-dev.9 [Pipeline] sh [2021-06-29T15:48:28.403Z] + lftools sign git-tag v1.3.2-dev.29 [2021-06-29T15:48:28.976Z] Signing Git tag with Sigul... [2021-06-29T15:48:28.976Z] Signing v1.3.2-dev.29 [2021-06-29T15:48:28.976Z] Error while calling git, args ['git', 'show-ref', '-s', 'refs/tags/v1.3.2-dev.29'], return code 1, stdout , stderr [Pipeline] echo [2021-06-29T15:48:28.987Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T15:48:29.289Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-06-29T15:48:29.298Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-06-29T15:48:29.328Z] $ docker stop --time=1 30b122b03e2adb9c59399496513261f7f9132abc2d96396d68b52e2614677b37 [2021-06-29T15:48:30.842Z] $ docker rm -f 30b122b03e2adb9c59399496513261f7f9132abc2d96396d68b52e2614677b37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:48:31.664Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-29T15:48:31.664Z] . [Pipeline] withDockerContainer [2021-06-29T15:48:31.751Z] prd-centos7-docker-4c-2g-670 does not seem to be running inside a container [2021-06-29T15:48:31.787Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-29T15:48:32.198Z] $ docker top bd3abee764fbcc6b49d457f445cccf535dd5055322ebe87b782ca6ce4afb3954 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-29T15:48:32.327Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v1.3.2-dev.28' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-29T15:48:32.759Z] + git semver [Pipeline] } [2021-06-29T15:48:32.929Z] $ docker stop --time=1 bd3abee764fbcc6b49d457f445cccf535dd5055322ebe87b782ca6ce4afb3954 [2021-06-29T15:48:34.168Z] $ docker rm -f bd3abee764fbcc6b49d457f445cccf535dd5055322ebe87b782ca6ce4afb3954 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:48:34.570Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-29T15:48:34.570Z] . [Pipeline] withDockerContainer [2021-06-29T15:48:34.644Z] prd-centos7-docker-4c-2g-670 does not seem to be running inside a container [2021-06-29T15:48:34.698Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-29T15:48:35.107Z] $ docker top 7590441105fb1f68d2869a7f1613c9bd2f5b83335308e73a31ad58e3a5a06453 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-29T15:48:35.224Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v1.3.2-dev.28' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-29T15:48:35.537Z] + git semver [Pipeline] } [2021-06-29T15:48:35.549Z] $ docker stop --time=1 7590441105fb1f68d2869a7f1613c9bd2f5b83335308e73a31ad58e3a5a06453 [2021-06-29T15:48:36.768Z] $ docker rm -f 7590441105fb1f68d2869a7f1613c9bd2f5b83335308e73a31ad58e3a5a06453 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-29T15:48:37.956Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T15:48:38.529Z] ---> package-listing.sh [2021-06-29T15:48:38.530Z] ++ facter osfamily [2021-06-29T15:48:38.530Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-29T15:48:38.791Z] + OS_FAMILY=redhat [2021-06-29T15:48:38.791Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_master [2021-06-29T15:48:38.791Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-29T15:48:38.791Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-29T15:48:38.791Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-29T15:48:38.791Z] + PACKAGES=/tmp/packages_start.txt [2021-06-29T15:48:38.791Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-06-29T15:48:38.791Z] + PACKAGES=/tmp/packages_end.txt [2021-06-29T15:48:38.791Z] + case "${OS_FAMILY}" in [2021-06-29T15:48:38.791Z] + sort [2021-06-29T15:48:38.791Z] + rpm -qa [2021-06-29T15:48:39.365Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-29T15:48:39.365Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-29T15:48:39.365Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-29T15:48:39.365Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-06-29T15:48:39.365Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [2021-06-29T15:48:39.365Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo [2021-06-29T15:48:39.380Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-29T15:48:39.667Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:48:40.233Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-29T15:48:40.233Z] [2021-06-29T15:48:40.233Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-29T15:48:40.563Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-29T15:48:40.563Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-29T15:48:40.563Z] df20fa9351a1: Pulling fs layer [2021-06-29T15:48:40.563Z] 36b3adc4ff6f: Pulling fs layer [2021-06-29T15:48:40.563Z] 8ad3a11d3b57: Pulling fs layer [2021-06-29T15:48:40.563Z] 46f8f816bc3b: Pulling fs layer [2021-06-29T15:48:40.563Z] 93b61091891f: Pulling fs layer [2021-06-29T15:48:40.563Z] 93b9cdb0e59b: Pulling fs layer [2021-06-29T15:48:40.563Z] 5e14af77c1be: Pulling fs layer [2021-06-29T15:48:40.563Z] 01666e4c0597: Pulling fs layer [2021-06-29T15:48:40.563Z] aa168da1d23b: Pulling fs layer [2021-06-29T15:48:40.563Z] 46f8f816bc3b: Waiting [2021-06-29T15:48:40.563Z] 93b61091891f: Waiting [2021-06-29T15:48:40.563Z] 93b9cdb0e59b: Waiting [2021-06-29T15:48:40.563Z] 5e14af77c1be: Waiting [2021-06-29T15:48:40.563Z] 01666e4c0597: Waiting [2021-06-29T15:48:40.563Z] aa168da1d23b: Waiting [2021-06-29T15:48:40.563Z] 36b3adc4ff6f: Verifying Checksum [2021-06-29T15:48:40.563Z] 36b3adc4ff6f: Download complete [2021-06-29T15:48:40.563Z] 46f8f816bc3b: Verifying Checksum [2021-06-29T15:48:40.563Z] 46f8f816bc3b: Download complete [2021-06-29T15:48:40.563Z] df20fa9351a1: Verifying Checksum [2021-06-29T15:48:40.563Z] df20fa9351a1: Download complete [2021-06-29T15:48:40.828Z] 93b9cdb0e59b: Verifying Checksum [2021-06-29T15:48:40.828Z] 93b9cdb0e59b: Download complete [2021-06-29T15:48:40.828Z] 5e14af77c1be: Verifying Checksum [2021-06-29T15:48:40.828Z] 5e14af77c1be: Download complete [2021-06-29T15:48:40.828Z] 01666e4c0597: Verifying Checksum [2021-06-29T15:48:40.828Z] 01666e4c0597: Download complete [2021-06-29T15:48:40.828Z] 93b61091891f: Download complete [2021-06-29T15:48:40.828Z] df20fa9351a1: Pull complete [2021-06-29T15:48:40.828Z] 8ad3a11d3b57: Verifying Checksum [2021-06-29T15:48:40.828Z] 8ad3a11d3b57: Download complete [2021-06-29T15:48:41.093Z] 36b3adc4ff6f: Pull complete [2021-06-29T15:48:41.679Z] 8ad3a11d3b57: Pull complete [2021-06-29T15:48:41.679Z] 46f8f816bc3b: Pull complete [2021-06-29T15:48:41.944Z] 93b61091891f: Pull complete [2021-06-29T15:48:41.944Z] 93b9cdb0e59b: Pull complete [2021-06-29T15:48:42.204Z] 5e14af77c1be: Pull complete [2021-06-29T15:48:42.204Z] 01666e4c0597: Pull complete [2021-06-29T15:48:42.466Z] aa168da1d23b: Verifying Checksum [2021-06-29T15:48:42.466Z] aa168da1d23b: Download complete [2021-06-29T15:48:47.797Z] aa168da1d23b: Pull complete [2021-06-29T15:48:47.797Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-29T15:48:47.797Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-29T15:48:47.797Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-29T15:48:47.875Z] prd-centos7-docker-4c-2g-670 does not seem to be running inside a container [2021-06-29T15:48:47.914Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-29T15:48:50.451Z] $ docker top 6b8fe0b63294900aaef29eb46108434a463af0f8c66a55f4ecaae4f35b98c6eb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-29T15:48:50.848Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-29T15:48:51.145Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-29T15:48:51.440Z] + ls /var/log/sa-host [2021-06-29T15:48:51.440Z] + sadf -c /var/log/sa-host/sa05 [2021-06-29T15:48:51.440Z] file_magic: OK [2021-06-29T15:48:51.440Z] HZ: Using current value: 100 [2021-06-29T15:48:51.440Z] file_header: OK [2021-06-29T15:48:51.440Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-29T15:48:51.440Z] Statistics: [2021-06-29T15:48:51.440Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-29T15:48:51.440Z] File successfully converted to sysstat format version 12.2.1 [2021-06-29T15:48:51.440Z] + sadf -c /var/log/sa-host/sa29 [2021-06-29T15:48:51.440Z] file_magic: OK [2021-06-29T15:48:51.440Z] HZ: Using current value: 100 [2021-06-29T15:48:51.440Z] file_header: OK [2021-06-29T15:48:51.440Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-29T15:48:51.440Z] Statistics: [2021-06-29T15:48:51.440Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-29T15:48:51.440Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-29T15:48:52.056Z] provisioning config files... [2021-06-29T15:48:52.068Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config6523424651361896169tmp [Pipeline] { [Pipeline] echo [2021-06-29T15:48:52.092Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T15:48:52.394Z] ---> create-netrc.sh [Pipeline] } [2021-06-29T15:48:52.403Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-29T15:48:52.816Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-29T15:48:52.827Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T15:48:53.126Z] ---> sudo-logs.sh [2021-06-29T15:48:53.126Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-29T15:48:53.156Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T15:48:53.462Z] ---> job-cost.sh [2021-06-29T15:48:53.463Z] lf-activate-venv: SKIPPING [2021-06-29T15:48:53.463Z] DEBUG: total: 0.18000000715255737 [2021-06-29T15:48:53.463Z] INFO: Retrieving Stack Cost... [2021-06-29T15:48:54.409Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-29T15:48:54.986Z] INFO: Archiving Costs [Pipeline] echo [2021-06-29T15:48:55.003Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T15:48:55.312Z] ---> logs-deploy.sh [2021-06-29T15:48:55.312Z] lf-activate-venv: SKIPPING [2021-06-29T15:48:55.312Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/61 [2021-06-29T15:48:55.312Z] INFO: archiving workspace using pattern(s): [2021-06-29T15:48:56.257Z] Archives upload complete. [2021-06-29T15:48:56.257Z] INFO: archiving logs to Nexus