Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 986676bd2495469ca6fabfae4bcb1d45a795bbbc 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-mqtt-go 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-24761 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 986676bd2495469ca6fabfae4bcb1d45a795bbbc (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 986676bd2495469ca6fabfae4bcb1d45a795bbbc # timeout=10 Commit message: "Merge pull request #197 from lenny-intel/secrets" > git rev-list --no-walk b247510d13ba8e9fad57040faa04d23d7bfdafc2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-03T18:45:42.293Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-03T18:45:42.587Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-03T18:45:42.678Z] ========================================================= [2021-02-03T18:45:42.678Z] EdgeX Global Pipelines Version Info [2021-02-03T18:45:42.678Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-03T18:45:44.190Z] ------------------- [2021-02-03T18:45:44.190Z] stable info: [2021-02-03T18:45:44.190Z] ------------------- [2021-02-03T18:45:44.190Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-03T18:45:44.190Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-03T18:45:44.190Z] Message: update stable to v1.0.179 [2021-02-03T18:45:45.142Z] ------------------- [2021-02-03T18:45:45.142Z] experimental info: [2021-02-03T18:45:45.142Z] ------------------- [2021-02-03T18:45:45.142Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-03T18:45:45.142Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-03T18:45:45.142Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-03T18:45:45.381Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-02-03T18:45:45.474Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-02-03T18:45:45.562Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-03T18:45:45.664Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-03T18:45:45.748Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-03T18:45:45.835Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-03T18:45:45.932Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-03T18:45:46.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-03T18:45:46.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-03T18:45:46.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-03T18:45:46.290Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-03T18:45:46.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2021-02-03T18:45:46.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-03T18:45:46.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-03T18:45:46.635Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-03T18:45:46.714Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-02-03T18:45:46.808Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-03T18:45:46.925Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-03T18:45:47.011Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-03T18:45:47.176Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-02-03T18:45:47.281Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-02-03T18:45:47.363Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-02-03T18:45:47.447Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-03T18:45:47.579Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-03T18:45:47.692Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-03T18:45:47.788Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-03T18:45:47.872Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-03T18:45:47.979Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-02-03T18:45:48.087Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-02-03T18:45:48.170Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-02-03T18:45:48.254Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 986676bd2495469ca6fabfae4bcb1d45a795bbbc [Pipeline] echo [2021-02-03T18:45:48.345Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 986676b [Pipeline] echo [2021-02-03T18:45:48.429Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-03T18:45:48.598Z] provisioning config files... [2021-02-03T18:45:48.630Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config8607092406424856396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-03T18:45:48.983Z] ---> docker-login.sh [2021-02-03T18:45:48.984Z] nexus3.edgexfoundry.org:10001 [2021-02-03T18:45:49.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:45:49.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:45:49.245Z] Configure a credential helper to remove this warning. See [2021-02-03T18:45:49.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:45:49.245Z] [2021-02-03T18:45:49.245Z] Login Succeeded [2021-02-03T18:45:49.245Z] nexus3.edgexfoundry.org:10002 [2021-02-03T18:45:49.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:45:49.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:45:49.508Z] Configure a credential helper to remove this warning. See [2021-02-03T18:45:49.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:45:49.508Z] [2021-02-03T18:45:49.508Z] Login Succeeded [2021-02-03T18:45:49.508Z] nexus3.edgexfoundry.org:10003 [2021-02-03T18:45:49.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:45:49.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:45:49.771Z] Configure a credential helper to remove this warning. See [2021-02-03T18:45:49.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:45:49.772Z] [2021-02-03T18:45:49.772Z] Login Succeeded [2021-02-03T18:45:49.772Z] nexus3.edgexfoundry.org:10004 [2021-02-03T18:45:49.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:45:49.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:45:49.772Z] Configure a credential helper to remove this warning. See [2021-02-03T18:45:49.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:45:49.772Z] [2021-02-03T18:45:49.772Z] Login Succeeded [2021-02-03T18:45:49.772Z] docker.io [2021-02-03T18:45:50.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:45:50.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:45:50.299Z] Configure a credential helper to remove this warning. See [2021-02-03T18:45:50.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:45:50.299Z] [2021-02-03T18:45:50.299Z] Login Succeeded [2021-02-03T18:45:50.299Z] ---> docker-login.sh ends [Pipeline] } [2021-02-03T18:45:50.308Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-03T18:45:51.124Z] + git log --format=format:%s -1 986676bd2495469ca6fabfae4bcb1d45a795bbbc [Pipeline] echo [2021-02-03T18:45:51.188Z] GIT_COMMIT: 986676bd2495469ca6fabfae4bcb1d45a795bbbc, Commit Message: Merge pull request #197 from lenny-intel/secrets [Pipeline] echo [2021-02-03T18:45:51.230Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:45:52.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-03T18:45:52.052Z] [2021-02-03T18:45:52.052Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:45:52.409Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-03T18:45:52.409Z] latest: Pulling from edgex-devops/git-semver [2021-02-03T18:45:52.409Z] 31603596830f: Pulling fs layer [2021-02-03T18:45:52.409Z] 2a8b12db71e7: Pulling fs layer [2021-02-03T18:45:52.409Z] 6ca5941a6612: Pulling fs layer [2021-02-03T18:45:52.409Z] ecc8261a40a4: Pulling fs layer [2021-02-03T18:45:52.409Z] ecc8261a40a4: Waiting [2021-02-03T18:45:52.409Z] 2a8b12db71e7: Download complete [2021-02-03T18:45:52.409Z] 31603596830f: Verifying Checksum [2021-02-03T18:45:52.409Z] 31603596830f: Download complete [2021-02-03T18:45:52.673Z] ecc8261a40a4: Verifying Checksum [2021-02-03T18:45:52.673Z] ecc8261a40a4: Download complete [2021-02-03T18:45:52.673Z] 6ca5941a6612: Verifying Checksum [2021-02-03T18:45:52.673Z] 6ca5941a6612: Download complete [2021-02-03T18:45:52.940Z] 31603596830f: Pull complete [2021-02-03T18:45:52.940Z] 2a8b12db71e7: Pull complete [2021-02-03T18:45:53.892Z] 6ca5941a6612: Pull complete [2021-02-03T18:45:53.892Z] ecc8261a40a4: Pull complete [2021-02-03T18:45:54.153Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-03T18:45:54.154Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-03T18:45:54.154Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-03T18:45:54.259Z] prd-centos7-docker-4c-2g-24761 does not seem to be running inside a container [2021-02-03T18:45:54.309Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-03T18:45:56.416Z] $ docker top c873be7d2d0433d27fa77139d88e96bd0e7cfc4d1dc734b5d949556aa3db164c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-03T18:45:56.764Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-03T18:45:56.764Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-03T18:45:56.958Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-03T18:45:56.962Z] $ docker exec c873be7d2d0433d27fa77139d88e96bd0e7cfc4d1dc734b5d949556aa3db164c ssh-agent [2021-02-03T18:45:57.145Z] SSH_AUTH_SOCK=/tmp/ssh-fxMcpiq25yhi/agent.13 [2021-02-03T18:45:57.145Z] SSH_AGENT_PID=19 [2021-02-03T18:45:57.155Z] Running ssh-add (command line suppressed) [2021-02-03T18:45:57.269Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_952975361239732574.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_952975361239732574.key) [2021-02-03T18:45:57.320Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-03T18:45:57.649Z] + git tag --points-at HEAD [Pipeline] } [2021-02-03T18:45:57.670Z] $ docker exec --env ******** --env ******** c873be7d2d0433d27fa77139d88e96bd0e7cfc4d1dc734b5d949556aa3db164c ssh-agent -k [2021-02-03T18:45:57.792Z] unset SSH_AUTH_SOCK; [2021-02-03T18:45:57.792Z] unset SSH_AGENT_PID; [2021-02-03T18:45:57.792Z] echo Agent pid 19 killed; [2021-02-03T18:45:57.836Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-03T18:45:57.970Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-03T18:45:57.970Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-03T18:45:58.131Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-03T18:45:58.135Z] $ docker exec c873be7d2d0433d27fa77139d88e96bd0e7cfc4d1dc734b5d949556aa3db164c ssh-agent [2021-02-03T18:45:58.296Z] SSH_AUTH_SOCK=/tmp/ssh-aDIIb840K5XW/agent.48 [2021-02-03T18:45:58.296Z] SSH_AGENT_PID=53 [2021-02-03T18:45:58.302Z] Running ssh-add (command line suppressed) [2021-02-03T18:45:58.414Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_438107765872082044.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_438107765872082044.key) [2021-02-03T18:45:58.467Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-03T18:45:58.839Z] + git semver init [2021-02-03T18:45:58.840Z] # -> Open(): unable to determine branch for HEAD [2021-02-03T18:45:58.840Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-02-03T18:45:58.840Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-02-03T18:45:58.840Z] # $SEMVER_REMOTE_NAME = origin [2021-02-03T18:45:58.840Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-03T18:45:58.840Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-03T18:45:58.840Z] # $SEMVER_BRANCH = master [2021-02-03T18:45:58.840Z] # $SEMVER_TEMP = /tmp/semver-742741356 [2021-02-03T18:45:58.840Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-02-03T18:45:59.410Z] # '/tmp/semver-742741356' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' [2021-02-03T18:45:59.410Z] # -> Force: false [2021-02-03T18:45:59.410Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-02-03T18:45:59.422Z] $ docker exec --env ******** --env ******** c873be7d2d0433d27fa77139d88e96bd0e7cfc4d1dc734b5d949556aa3db164c ssh-agent -k [2021-02-03T18:45:59.531Z] unset SSH_AUTH_SOCK; [2021-02-03T18:45:59.532Z] unset SSH_AGENT_PID; [2021-02-03T18:45:59.532Z] echo Agent pid 53 killed; [2021-02-03T18:45:59.574Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-03T18:46:00.021Z] + git semver [Pipeline] } [2021-02-03T18:46:00.037Z] $ docker stop --time=1 c873be7d2d0433d27fa77139d88e96bd0e7cfc4d1dc734b5d949556aa3db164c [2021-02-03T18:46:01.384Z] $ docker rm -f c873be7d2d0433d27fa77139d88e96bd0e7cfc4d1dc734b5d949556aa3db164c [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-03T18:46:01.877Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-03T18:46:02.295Z] Stashed 1 file(s) [Pipeline] echo [2021-02-03T18:46:02.298Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.1 [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-02-03T18:46:17.805Z] Still waiting to schedule task [2021-02-03T18:46:17.805Z] ‘prd-centos7-blackbox-4c-2g-24093’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-24758’ is offline; ‘prd-centos7-docker-4c-2g-24760’ is offline; ‘prd-centos7-docker-4c-2g-24762’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-24759’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-02-03T18:46:17.808Z] Still waiting to schedule task [2021-02-03T18:46:17.808Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-24759’ is offline [2021-02-03T18:47:21.142Z] Running on prd-centos7-docker-4c-2g-24763 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-02-03T18:47:21.228Z] Running in /w/workspace/device-mqtt-go/31 [Pipeline] { [Pipeline] checkout [2021-02-03T18:47:23.853Z] using credential edgex-jenkins-ssh [2021-02-03T18:47:23.924Z] Cloning the remote Git repository [2021-02-03T18:47:23.951Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-02-03T18:47:24.015Z] > git init /w/workspace/device-mqtt-go/31 # timeout=10 [2021-02-03T18:47:24.083Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-02-03T18:47:24.083Z] > git --version # timeout=10 [2021-02-03T18:47:24.089Z] > git --version # 'git version 2.24.3' [2021-02-03T18:47:24.089Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-03T18:47:24.114Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-03T18:47:24.654Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-02-03T18:47:24.671Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-03T18:47:24.683Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-02-03T18:47:24.699Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-02-03T18:47:24.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-03T18:47:24.704Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-03T18:47:25.090Z] Checking out Revision 986676bd2495469ca6fabfae4bcb1d45a795bbbc (master) [2021-02-03T18:47:25.101Z] > git config core.sparsecheckout # timeout=10 [2021-02-03T18:47:25.107Z] > git checkout -f 986676bd2495469ca6fabfae4bcb1d45a795bbbc # timeout=10 [2021-02-03T18:47:28.668Z] Commit message: "Merge pull request #197 from lenny-intel/secrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-03T18:47:29.946Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-03T18:47:30.285Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-03T18:47:30.593Z] + sudo service docker restart [2021-02-03T18:47:30.593Z] + true [2021-02-03T18:47:30.593Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-03T18:47:31.610Z] provisioning config files... [2021-02-03T18:47:31.638Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/31@tmp/config8848785212921816812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-03T18:47:32.040Z] ---> docker-login.sh [2021-02-03T18:47:32.040Z] nexus3.edgexfoundry.org:10001 [2021-02-03T18:47:32.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:47:32.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:47:32.305Z] Configure a credential helper to remove this warning. See [2021-02-03T18:47:32.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:47:32.305Z] [2021-02-03T18:47:32.305Z] Login Succeeded [2021-02-03T18:47:32.305Z] nexus3.edgexfoundry.org:10002 [2021-02-03T18:47:32.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:47:32.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:47:32.568Z] Configure a credential helper to remove this warning. See [2021-02-03T18:47:32.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:47:32.568Z] [2021-02-03T18:47:32.568Z] Login Succeeded [2021-02-03T18:47:32.568Z] nexus3.edgexfoundry.org:10003 [2021-02-03T18:47:32.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:47:32.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:47:32.830Z] Configure a credential helper to remove this warning. See [2021-02-03T18:47:32.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:47:32.830Z] [2021-02-03T18:47:32.830Z] Login Succeeded [2021-02-03T18:47:32.830Z] nexus3.edgexfoundry.org:10004 [2021-02-03T18:47:32.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:47:32.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:47:32.830Z] Configure a credential helper to remove this warning. See [2021-02-03T18:47:32.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:47:32.830Z] [2021-02-03T18:47:32.830Z] Login Succeeded [2021-02-03T18:47:32.830Z] docker.io [2021-02-03T18:47:33.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:47:33.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:47:33.356Z] Configure a credential helper to remove this warning. See [2021-02-03T18:47:33.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:47:33.356Z] [2021-02-03T18:47:33.356Z] Login Succeeded [2021-02-03T18:47:33.356Z] ---> docker-login.sh ends [Pipeline] } [2021-02-03T18:47:33.366Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-03T18:47:33.649Z] ========================================================= [2021-02-03T18:47:33.649Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-03T18:47:33.649Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:47:33.998Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-02-03T18:47:33.998Z] Sending build context to Docker daemon 494.1kB [2021-02-03T18:47:33.998Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-03T18:47:33.998Z] Step 2/8 : FROM ${BASE} [2021-02-03T18:47:34.263Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-03T18:47:34.263Z] 188c0c94c7c5: Pulling fs layer [2021-02-03T18:47:34.263Z] 0ef7d3d256c8: Pulling fs layer [2021-02-03T18:47:34.263Z] de9db76c5a1d: Pulling fs layer [2021-02-03T18:47:34.263Z] bca2f99d35d6: Pulling fs layer [2021-02-03T18:47:34.263Z] 93359f2a8cfa: Pulling fs layer [2021-02-03T18:47:34.263Z] 7c6f9722023f: Pulling fs layer [2021-02-03T18:47:34.263Z] a35cf1a2eb13: Pulling fs layer [2021-02-03T18:47:34.263Z] 93359f2a8cfa: Waiting [2021-02-03T18:47:34.263Z] 7c6f9722023f: Waiting [2021-02-03T18:47:34.263Z] bca2f99d35d6: Waiting [2021-02-03T18:47:34.263Z] a35cf1a2eb13: Waiting [2021-02-03T18:47:34.263Z] de9db76c5a1d: Verifying Checksum [2021-02-03T18:47:34.263Z] de9db76c5a1d: Download complete [2021-02-03T18:47:34.263Z] 0ef7d3d256c8: Verifying Checksum [2021-02-03T18:47:34.263Z] 0ef7d3d256c8: Download complete [2021-02-03T18:47:34.263Z] 93359f2a8cfa: Verifying Checksum [2021-02-03T18:47:34.263Z] 93359f2a8cfa: Download complete [2021-02-03T18:47:34.263Z] 188c0c94c7c5: Verifying Checksum [2021-02-03T18:47:34.263Z] 188c0c94c7c5: Download complete [2021-02-03T18:47:34.263Z] 7c6f9722023f: Verifying Checksum [2021-02-03T18:47:34.263Z] 7c6f9722023f: Download complete [2021-02-03T18:47:34.527Z] 188c0c94c7c5: Pull complete [2021-02-03T18:47:34.789Z] 0ef7d3d256c8: Pull complete [2021-02-03T18:47:34.789Z] de9db76c5a1d: Pull complete [2021-02-03T18:47:37.357Z] a35cf1a2eb13: Verifying Checksum [2021-02-03T18:47:37.357Z] a35cf1a2eb13: Download complete [2021-02-03T18:47:37.357Z] bca2f99d35d6: Verifying Checksum [2021-02-03T18:47:37.357Z] bca2f99d35d6: Download complete [2021-02-03T18:47:42.722Z] bca2f99d35d6: Pull complete [2021-02-03T18:47:42.722Z] 93359f2a8cfa: Pull complete [2021-02-03T18:47:42.722Z] 7c6f9722023f: Pull complete [2021-02-03T18:47:50.897Z] a35cf1a2eb13: Pull complete [2021-02-03T18:47:50.897Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-03T18:47:50.897Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-03T18:47:50.897Z] ---> a62c8e92a672 [2021-02-03T18:47:50.897Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-02-03T18:47:50.897Z] ---> Running in 9b458b0c5cfa [2021-02-03T18:47:50.897Z] Removing intermediate container 9b458b0c5cfa [2021-02-03T18:47:50.897Z] ---> 4ea445964a8e [2021-02-03T18:47:50.897Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-03T18:47:50.897Z] ---> Running in fdc6796d019d [2021-02-03T18:47:51.480Z] Removing intermediate container fdc6796d019d [2021-02-03T18:47:51.480Z] ---> 2863e0a4bc8c [2021-02-03T18:47:51.480Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-02-03T18:47:51.480Z] ---> Running in bdc3fb2729df [2021-02-03T18:47:52.880Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-03T18:47:53.457Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-03T18:47:54.033Z] (1/14) Installing libmagic (5.38-r0) [2021-02-03T18:47:54.033Z] (2/14) Installing file (5.38-r0) [2021-02-03T18:47:54.033Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-02-03T18:47:54.297Z] (4/14) Installing g++ (9.3.0-r2) [2021-02-03T18:48:00.905Z] (5/14) Installing fortify-headers (1.1-r0) [2021-02-03T18:48:00.905Z] (6/14) Installing patch (2.7.6-r6) [2021-02-03T18:48:00.905Z] (7/14) Installing build-base (0.5-r2) [2021-02-03T18:48:00.905Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-02-03T18:48:00.905Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-02-03T18:48:01.168Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-02-03T18:48:03.754Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-02-03T18:48:03.754Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-02-03T18:48:03.754Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-02-03T18:48:04.341Z] (14/14) Installing openssh (8.3_p1-r1) [2021-02-03T18:48:04.917Z] Executing busybox-1.31.1-r19.trigger [2021-02-03T18:48:04.917Z] OK: 237 MiB in 53 packages [2021-02-03T18:48:08.238Z] Removing intermediate container bdc3fb2729df [2021-02-03T18:48:08.238Z] ---> 81e15793e5ee [2021-02-03T18:48:08.238Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-02-03T18:48:08.238Z] ---> Running in 4d9f726cb401 [2021-02-03T18:48:08.502Z] Removing intermediate container 4d9f726cb401 [2021-02-03T18:48:08.502Z] ---> cfa35492d7d0 [2021-02-03T18:48:08.502Z] Step 7/8 : COPY . . [2021-02-03T18:48:09.079Z] ---> e7ea31a50415 [2021-02-03T18:48:09.079Z] Step 8/8 : RUN go mod download [2021-02-03T18:48:09.344Z] ---> Running in 83f8f7b8cf8a [2021-02-03T18:48:11.249Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24764 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-02-03T18:48:11.299Z] Running in /w/workspace/device-mqtt-go/31 [Pipeline] { [Pipeline] checkout [2021-02-03T18:48:16.339Z] using credential edgex-jenkins-ssh [2021-02-03T18:48:16.397Z] Cloning the remote Git repository [2021-02-03T18:48:16.465Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-02-03T18:48:16.575Z] > git init /w/workspace/device-mqtt-go/31 # timeout=10 [2021-02-03T18:48:16.660Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-02-03T18:48:16.662Z] > git --version # timeout=10 [2021-02-03T18:48:16.686Z] > git --version # 'git version 2.17.1' [2021-02-03T18:48:16.687Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-03T18:48:16.750Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-03T18:48:17.642Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-02-03T18:48:17.659Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-03T18:48:17.686Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-02-03T18:48:18.214Z] Checking out Revision 986676bd2495469ca6fabfae4bcb1d45a795bbbc (master) [2021-02-03T18:48:17.730Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-02-03T18:48:17.731Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-03T18:48:17.745Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-03T18:48:18.240Z] > git config core.sparsecheckout # timeout=10 [2021-02-03T18:48:18.262Z] > git checkout -f 986676bd2495469ca6fabfae4bcb1d45a795bbbc # timeout=10 [2021-02-03T18:48:22.765Z] Commit message: "Merge pull request #197 from lenny-intel/secrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-03T18:48:24.348Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-03T18:48:24.754Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-03T18:48:25.105Z] + + sudotrue service [2021-02-03T18:48:25.105Z] docker restart [2021-02-03T18:48:27.524Z] Removing intermediate container 83f8f7b8cf8a [2021-02-03T18:48:27.524Z] ---> 0e2f6dcd5a8b [2021-02-03T18:48:27.524Z] Successfully built 0e2f6dcd5a8b [2021-02-03T18:48:27.524Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-03T18:48:27.827Z] provisioning config files... [2021-02-03T18:48:27.845Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-03T18:48:27.845Z] . [Pipeline] withDockerContainer [2021-02-03T18:48:27.907Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/31@tmp/config2752799261884568415tmp [2021-02-03T18:48:28.143Z] prd-centos7-docker-4c-2g-24763 does not seem to be running inside a container [2021-02-03T18:48:28.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/31 -v /w/workspace/device-mqtt-go/31:/w/workspace/device-mqtt-go/31:rw,z -v /w/workspace/device-mqtt-go/31@tmp:/w/workspace/device-mqtt-go/31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-03T18:48:29.076Z] $ docker top 2e04d54fd67a4c485c348e42f832f7f563ee7b1d649b405c152c591bff2b7a07 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] sh [2021-02-03T18:48:29.692Z] ---> docker-login.sh [2021-02-03T18:48:29.692Z] nexus3.edgexfoundry.org:10001 [2021-02-03T18:48:29.710Z] + go version [2021-02-03T18:48:29.710Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-03T18:48:29.729Z] $ docker stop --time=1 2e04d54fd67a4c485c348e42f832f7f563ee7b1d649b405c152c591bff2b7a07 [2021-02-03T18:48:30.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:48:30.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:48:30.911Z] Configure a credential helper to remove this warning. See [2021-02-03T18:48:30.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:48:30.911Z] [2021-02-03T18:48:30.911Z] Login Succeeded [2021-02-03T18:48:30.911Z] nexus3.edgexfoundry.org:10002 [2021-02-03T18:48:31.132Z] $ docker rm -f 2e04d54fd67a4c485c348e42f832f7f563ee7b1d649b405c152c591bff2b7a07 [2021-02-03T18:48:31.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-02-03T18:48:31.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:48:31.462Z] Configure a credential helper to remove this warning. See [2021-02-03T18:48:31.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:48:31.462Z] [2021-02-03T18:48:31.462Z] Login Succeeded [2021-02-03T18:48:31.462Z] nexus3.edgexfoundry.org:10003 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:48:31.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:48:32.003Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-03T18:48:32.003Z] . [2021-02-03T18:48:32.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:48:32.010Z] Configure a credential helper to remove this warning. See [2021-02-03T18:48:32.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:48:32.010Z] [2021-02-03T18:48:32.010Z] Login Succeeded [2021-02-03T18:48:32.010Z] nexus3.edgexfoundry.org:10004 [Pipeline] withDockerContainer [2021-02-03T18:48:32.110Z] prd-centos7-docker-4c-2g-24763 does not seem to be running inside a container [2021-02-03T18:48:32.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/31 -v /w/workspace/device-mqtt-go/31:/w/workspace/device-mqtt-go/31:rw,z -v /w/workspace/device-mqtt-go/31@tmp:/w/workspace/device-mqtt-go/31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-03T18:48:32.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:48:32.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:48:32.283Z] Configure a credential helper to remove this warning. See [2021-02-03T18:48:32.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:48:32.283Z] [2021-02-03T18:48:32.283Z] Login Succeeded [2021-02-03T18:48:32.283Z] docker.io [2021-02-03T18:48:32.799Z] $ docker top 37dcd214827b01e14cc1106e340ed67e234d399bd43b25e56c961fce28804d85 -eo pid,comm [2021-02-03T18:48:32.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:48:32.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:48:32.887Z] Configure a credential helper to remove this warning. See [2021-02-03T18:48:32.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:48:32.887Z] [2021-02-03T18:48:32.887Z] Login Succeeded [Pipeline] { [Pipeline] sh [2021-02-03T18:48:33.158Z] ---> docker-login.sh ends [Pipeline] } [2021-02-03T18:48:33.175Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [2021-02-03T18:48:33.280Z] + make test [2021-02-03T18:48:33.280Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-03T18:48:33.602Z] ========================================================= [2021-02-03T18:48:33.602Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-03T18:48:33.602Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:48:34.026Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-02-03T18:48:34.305Z] Sending build context to Docker daemon 493.1kB [2021-02-03T18:48:34.305Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-03T18:48:34.305Z] Step 2/8 : FROM ${BASE} [2021-02-03T18:48:34.587Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-03T18:48:34.587Z] 5f621e34cdf4: Pulling fs layer [2021-02-03T18:48:34.587Z] a4357932f1b6: Pulling fs layer [2021-02-03T18:48:34.587Z] 18c013af1878: Pulling fs layer [2021-02-03T18:48:34.587Z] 00ac8860ef70: Pulling fs layer [2021-02-03T18:48:34.587Z] 63d7cb157983: Pulling fs layer [2021-02-03T18:48:34.587Z] b116817d02f9: Pulling fs layer [2021-02-03T18:48:34.587Z] 745a02a5169b: Pulling fs layer [2021-02-03T18:48:34.587Z] 00ac8860ef70: Waiting [2021-02-03T18:48:34.587Z] 63d7cb157983: Waiting [2021-02-03T18:48:34.587Z] 745a02a5169b: Waiting [2021-02-03T18:48:34.587Z] b116817d02f9: Waiting [2021-02-03T18:48:34.587Z] 18c013af1878: Verifying Checksum [2021-02-03T18:48:34.587Z] 18c013af1878: Download complete [2021-02-03T18:48:34.587Z] a4357932f1b6: Verifying Checksum [2021-02-03T18:48:34.587Z] a4357932f1b6: Download complete [2021-02-03T18:48:34.587Z] 63d7cb157983: Verifying Checksum [2021-02-03T18:48:34.587Z] 63d7cb157983: Download complete [2021-02-03T18:48:34.587Z] b116817d02f9: Download complete [2021-02-03T18:48:34.688Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-02-03T18:48:34.861Z] 5f621e34cdf4: Verifying Checksum [2021-02-03T18:48:34.861Z] 5f621e34cdf4: Download complete [2021-02-03T18:48:35.865Z] 5f621e34cdf4: Pull complete [2021-02-03T18:48:36.471Z] a4357932f1b6: Pull complete [2021-02-03T18:48:36.747Z] 18c013af1878: Pull complete [2021-02-03T18:48:37.731Z] 745a02a5169b: Verifying Checksum [2021-02-03T18:48:37.731Z] 745a02a5169b: Download complete [2021-02-03T18:48:38.711Z] 00ac8860ef70: Download complete [2021-02-03T18:48:47.123Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-02-03T18:48:47.393Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 26.5% of statements [2021-02-03T18:48:47.393Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-02-03T18:48:47.663Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-02-03T18:48:48.878Z] 00ac8860ef70: Pull complete [2021-02-03T18:48:49.153Z] 63d7cb157983: Pull complete [2021-02-03T18:48:49.754Z] b116817d02f9: Pull complete [2021-02-03T18:48:50.260Z] gofmt -l . [2021-02-03T18:48:50.260Z] ["`gofmt -l .`" = ""] [2021-02-03T18:48:50.261Z] ./bin/test-attribution-txt.sh [2021-02-03T18:48:50.858Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-03T18:48:51.142Z] $ docker stop --time=1 37dcd214827b01e14cc1106e340ed67e234d399bd43b25e56c961fce28804d85 [2021-02-03T18:48:53.585Z] $ docker rm -f 37dcd214827b01e14cc1106e340ed67e234d399bd43b25e56c961fce28804d85 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-03T18:48:54.092Z] 745a02a5169b: Pull complete [2021-02-03T18:48:54.092Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-03T18:48:54.092Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-03T18:48:54.092Z] ---> b7e6874047d6 [2021-02-03T18:48:54.092Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-02-03T18:48:54.245Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-03T18:48:54.632Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-02-03T18:48:56.087Z] ---> Running in ff2300bb027f [2021-02-03T18:48:56.384Z] Removing intermediate container ff2300bb027f [2021-02-03T18:48:56.384Z] ---> 052a62f839e0 [2021-02-03T18:48:56.384Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-03T18:48:56.666Z] ---> Running in ae606c9407d6 [Pipeline] sh [2021-02-03T18:48:57.334Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-03T18:48:57.639Z] + ls -al . [2021-02-03T18:48:57.639Z] total 100 [2021-02-03T18:48:57.639Z] drwxrwxr-x. 9 jenkins jenkins 4096 Feb 3 18:48 . [2021-02-03T18:48:57.639Z] drwxrwxr-x. 4 jenkins jenkins 30 Feb 3 18:47 .. [2021-02-03T18:48:57.639Z] -rw-rw-r--. 1 jenkins jenkins 6044 Feb 3 18:47 Attribution.txt [2021-02-03T18:48:57.639Z] drwxrwxr-x. 2 jenkins jenkins 87 Feb 3 18:47 bin [2021-02-03T18:48:57.639Z] drwxrwxr-x. 3 jenkins jenkins 32 Feb 3 18:47 cmd [2021-02-03T18:48:57.639Z] -rw-r--r--. 1 jenkins jenkins 20209 Feb 3 18:48 coverage.out [2021-02-03T18:48:57.639Z] -rw-rw-r--. 1 jenkins jenkins 1941 Feb 3 18:47 Dockerfile [2021-02-03T18:48:57.639Z] -rw-rw-r--. 1 jenkins jenkins 957 Feb 3 18:47 Dockerfile.build [2021-02-03T18:48:57.639Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 3 18:47 .dockerignore [2021-02-03T18:48:57.639Z] drwxrwxr-x. 8 jenkins jenkins 162 Feb 3 18:47 .git [2021-02-03T18:48:57.639Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 3 18:47 .github [2021-02-03T18:48:57.639Z] -rw-rw-r--. 1 jenkins jenkins 336 Feb 3 18:47 .gitignore [2021-02-03T18:48:57.639Z] -rw-r--r--. 1 jenkins jenkins 560 Feb 3 18:48 go.mod [2021-02-03T18:48:57.639Z] -rw-r--r--. 1 jenkins jenkins 15493 Feb 3 18:48 go.sum [2021-02-03T18:48:57.639Z] drwxrwxr-x. 3 jenkins jenkins 20 Feb 3 18:47 internal [2021-02-03T18:48:57.639Z] -rw-rw-r--. 1 jenkins jenkins 677 Feb 3 18:47 Jenkinsfile [2021-02-03T18:48:57.639Z] -rw-rw-r--. 1 jenkins jenkins 11340 Feb 3 18:47 LICENSE [2021-02-03T18:48:57.639Z] -rw-rw-r--. 1 jenkins jenkins 902 Feb 3 18:47 Makefile [2021-02-03T18:48:57.639Z] drwxrwxr-x. 2 jenkins jenkins 23 Feb 3 18:47 mock [2021-02-03T18:48:57.639Z] -rw-rw-r--. 1 jenkins jenkins 444 Feb 3 18:47 README.md [2021-02-03T18:48:57.639Z] drwxrwxr-x. 4 jenkins jenkins 71 Feb 3 18:47 snap [2021-02-03T18:48:57.639Z] -rw-rw-r--. 1 jenkins jenkins 11 Feb 3 18:46 VERSION [2021-02-03T18:48:57.639Z] -rw-rw-r--. 1 jenkins jenkins 227 Feb 3 18:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:48:57.953Z] + docker build -t docker-device-mqtt-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=986676bd2495469ca6fabfae4bcb1d45a795bbbc --label arch=amd64 --label version=1.3.2-dev.1 . [2021-02-03T18:48:58.216Z] Sending build context to Docker daemon 515.1kB [2021-02-03T18:48:58.216Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-02-03T18:48:58.216Z] Step 2/23 : FROM ${BASE} AS builder [2021-02-03T18:48:58.216Z] ---> 0e2f6dcd5a8b [2021-02-03T18:48:58.216Z] Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-02-03T18:48:58.216Z] ---> Running in d7cdb4a5034c [2021-02-03T18:48:58.483Z] Removing intermediate container d7cdb4a5034c [2021-02-03T18:48:58.483Z] ---> 7c353ec329d3 [2021-02-03T18:48:58.483Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-02-03T18:48:58.483Z] ---> Running in aed49b8c8dc4 [2021-02-03T18:48:58.746Z] Removing intermediate container aed49b8c8dc4 [2021-02-03T18:48:58.746Z] ---> 99c4a235e9d9 [2021-02-03T18:48:58.746Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-03T18:48:58.746Z] ---> Running in a65c68a4d74e [2021-02-03T18:48:59.314Z] Removing intermediate container ae606c9407d6 [2021-02-03T18:48:59.314Z] ---> de88cb946575 [2021-02-03T18:48:59.314Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-02-03T18:48:59.314Z] ---> Running in e0fe16093892 [2021-02-03T18:48:59.705Z] Removing intermediate container a65c68a4d74e [2021-02-03T18:48:59.705Z] ---> dd57bd05620d [2021-02-03T18:48:59.705Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-02-03T18:48:59.705Z] ---> Running in 996e95ef4864 [2021-02-03T18:49:00.284Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-03T18:49:00.291Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-03T18:49:01.686Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-03T18:49:01.727Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-03T18:49:03.150Z] (1/14) Installing libmagic (5.38-r0) [2021-02-03T18:49:04.120Z] (2/14) Installing file (5.38-r0) [2021-02-03T18:49:04.120Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-02-03T18:49:04.120Z] (4/14) Installing g++ (9.3.0-r2) [2021-02-03T18:49:04.247Z] OK: 237 MiB in 53 packages [2021-02-03T18:49:04.823Z] Removing intermediate container 996e95ef4864 [2021-02-03T18:49:04.823Z] ---> a3cfc2dcfdcf [2021-02-03T18:49:04.823Z] Step 7/23 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2021-02-03T18:49:04.823Z] ---> Running in 5129da24e85e [2021-02-03T18:49:05.086Z] Removing intermediate container 5129da24e85e [2021-02-03T18:49:05.086Z] ---> f5fcea1ec45d [2021-02-03T18:49:05.087Z] Step 8/23 : COPY . . [2021-02-03T18:49:06.036Z] ---> c12530d0333b [2021-02-03T18:49:06.036Z] Step 9/23 : ARG MAKE='make build' [2021-02-03T18:49:06.036Z] ---> Running in 315e27b00e1e [2021-02-03T18:49:06.036Z] Removing intermediate container 315e27b00e1e [2021-02-03T18:49:06.036Z] ---> 1fcb1c06f1b0 [2021-02-03T18:49:06.036Z] Step 10/23 : RUN $MAKE [2021-02-03T18:49:06.036Z] ---> Running in 7177060a3c78 [2021-02-03T18:49:06.620Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.1" -o cmd/device-mqtt ./cmd [2021-02-03T18:49:16.759Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-02-03T18:49:20.072Z] Removing intermediate container 7177060a3c78 [2021-02-03T18:49:20.072Z] ---> e9a0ad7d9606 [2021-02-03T18:49:20.072Z] Step 11/23 : FROM alpine:3.12 [2021-02-03T18:49:20.072Z] 3.12: Pulling from library/alpine [2021-02-03T18:49:20.334Z] 801bfaa63ef2: Pulling fs layer [2021-02-03T18:49:20.334Z] 801bfaa63ef2: Verifying Checksum [2021-02-03T18:49:20.334Z] 801bfaa63ef2: Download complete [2021-02-03T18:49:20.600Z] 801bfaa63ef2: Pull complete [2021-02-03T18:49:20.600Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-02-03T18:49:20.600Z] Status: Downloaded newer image for alpine:3.12 [2021-02-03T18:49:20.600Z] ---> 389fef711851 [2021-02-03T18:49:20.600Z] Step 12/23 : RUN apk add --update --no-cache dumb-init [2021-02-03T18:49:20.874Z] ---> Running in ee030e9d6ce8 [2021-02-03T18:49:21.454Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-03T18:49:21.454Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-03T18:49:21.716Z] (1/1) Installing dumb-init (1.2.2-r1) [2021-02-03T18:49:21.716Z] Executing busybox-1.31.1-r19.trigger [2021-02-03T18:49:21.716Z] OK: 6 MiB in 15 packages [2021-02-03T18:49:22.290Z] Removing intermediate container ee030e9d6ce8 [2021-02-03T18:49:22.290Z] ---> 3b469b7c6737 [2021-02-03T18:49:22.290Z] Step 13/23 : ENV APP_PORT=49982 [2021-02-03T18:49:22.290Z] ---> Running in e4ee503e8142 [2021-02-03T18:49:22.290Z] Removing intermediate container e4ee503e8142 [2021-02-03T18:49:22.290Z] ---> a8c08660fe1d [2021-02-03T18:49:22.290Z] Step 14/23 : EXPOSE $APP_PORT [2021-02-03T18:49:22.552Z] ---> Running in 5c3d791dc9be [2021-02-03T18:49:22.552Z] Removing intermediate container 5c3d791dc9be [2021-02-03T18:49:22.552Z] ---> 345c1fe8ce23 [2021-02-03T18:49:22.552Z] Step 15/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2021-02-03T18:49:23.128Z] ---> 5cb949ff65aa [2021-02-03T18:49:23.128Z] Step 16/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2021-02-03T18:49:23.390Z] ---> df526e59db14 [2021-02-03T18:49:23.390Z] Step 17/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2021-02-03T18:49:23.660Z] ---> dedfc3173cac [2021-02-03T18:49:23.660Z] Step 18/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2021-02-03T18:49:23.660Z] ---> Running in 5623b2e5d669 [2021-02-03T18:49:23.660Z] Removing intermediate container 5623b2e5d669 [2021-02-03T18:49:23.660Z] ---> 1bf2a199e0c9 [2021-02-03T18:49:23.660Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-02-03T18:49:23.922Z] ---> Running in 2687af2a78f9 [2021-02-03T18:49:23.922Z] Removing intermediate container 2687af2a78f9 [2021-02-03T18:49:23.922Z] ---> fe52145fb8f6 [2021-02-03T18:49:23.922Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-03T18:49:24.184Z] ---> Running in 24af686fe047 [2021-02-03T18:49:24.184Z] Removing intermediate container 24af686fe047 [2021-02-03T18:49:24.184Z] ---> 99131964c7dd [2021-02-03T18:49:24.184Z] Step 21/23 : LABEL arch=amd64 [2021-02-03T18:49:24.447Z] ---> Running in e8ee0191e17e [2021-02-03T18:49:24.447Z] Removing intermediate container e8ee0191e17e [2021-02-03T18:49:24.447Z] ---> cd741d3109b7 [2021-02-03T18:49:24.447Z] Step 22/23 : LABEL git_sha=986676bd2495469ca6fabfae4bcb1d45a795bbbc [2021-02-03T18:49:24.447Z] ---> Running in 11247964f4fa [2021-02-03T18:49:24.709Z] Removing intermediate container 11247964f4fa [2021-02-03T18:49:24.709Z] ---> afeb50709cc5 [2021-02-03T18:49:24.709Z] Step 23/23 : LABEL version=1.3.2-dev.1 [2021-02-03T18:49:24.709Z] ---> Running in 9b1642e9d780 [2021-02-03T18:49:24.973Z] Removing intermediate container 9b1642e9d780 [2021-02-03T18:49:24.973Z] ---> 7d2ce1a6c72e [2021-02-03T18:49:24.973Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-03T18:49:24.973Z] Successfully built 7d2ce1a6c72e [2021-02-03T18:49:24.973Z] Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-03T18:49:25.371Z] provisioning config files... [2021-02-03T18:49:25.410Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/31@tmp/config4778278626768012874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-03T18:49:25.775Z] ---> docker-login.sh [2021-02-03T18:49:25.775Z] nexus3.edgexfoundry.org:10001 [2021-02-03T18:49:25.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:49:26.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:49:26.038Z] Configure a credential helper to remove this warning. See [2021-02-03T18:49:26.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:49:26.038Z] [2021-02-03T18:49:26.038Z] Login Succeeded [2021-02-03T18:49:26.038Z] nexus3.edgexfoundry.org:10002 [2021-02-03T18:49:26.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:49:26.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:49:26.038Z] Configure a credential helper to remove this warning. See [2021-02-03T18:49:26.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:49:26.038Z] [2021-02-03T18:49:26.038Z] Login Succeeded [2021-02-03T18:49:26.038Z] nexus3.edgexfoundry.org:10003 [2021-02-03T18:49:26.230Z] (5/14) Installing fortify-headers (1.1-r0) [2021-02-03T18:49:26.230Z] (6/14) Installing patch (2.7.6-r6) [2021-02-03T18:49:26.230Z] (7/14) Installing build-base (0.5-r2) [2021-02-03T18:49:26.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:49:26.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:49:26.301Z] Configure a credential helper to remove this warning. See [2021-02-03T18:49:26.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:49:26.301Z] [2021-02-03T18:49:26.301Z] Login Succeeded [2021-02-03T18:49:26.301Z] nexus3.edgexfoundry.org:10004 [2021-02-03T18:49:26.498Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-02-03T18:49:26.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:49:26.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:49:26.564Z] Configure a credential helper to remove this warning. See [2021-02-03T18:49:26.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:49:26.564Z] [2021-02-03T18:49:26.564Z] Login Succeeded [2021-02-03T18:49:26.564Z] docker.io [2021-02-03T18:49:26.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:49:26.768Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-02-03T18:49:26.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:49:26.826Z] Configure a credential helper to remove this warning. See [2021-02-03T18:49:26.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:49:26.826Z] [2021-02-03T18:49:26.826Z] Login Succeeded [2021-02-03T18:49:26.826Z] ---> docker-login.sh ends [Pipeline] } [2021-02-03T18:49:26.836Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [2021-02-03T18:49:27.040Z] (10/14) Installing openssh-client (8.3_p1-r1) [Pipeline] echo [2021-02-03T18:49:27.074Z] [edgeXDocker.push] Tagging docker image docker-device-mqtt-go with the following tags: [2021-02-03T18:49:27.074Z] 986676bd2495469ca6fabfae4bcb1d45a795bbbc [2021-02-03T18:49:27.074Z] latest [2021-02-03T18:49:27.074Z] 1.3.2-dev.1 [2021-02-03T18:49:27.074Z] 986676bd2495469ca6fabfae4bcb1d45a795bbbc-1.3.2-dev.1 [2021-02-03T18:49:27.074Z] master [2021-02-03T18:49:27.074Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:49:27.557Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:986676bd2495469ca6fabfae4bcb1d45a795bbbc [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:49:27.868Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:986676bd2495469ca6fabfae4bcb1d45a795bbbc [2021-02-03T18:49:27.868Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-02-03T18:49:27.868Z] d8e513f6c313: Preparing [2021-02-03T18:49:27.868Z] e66f500c6d02: Preparing [2021-02-03T18:49:27.868Z] dd5a232a032d: Preparing [2021-02-03T18:49:27.868Z] 6b7d7bd42e2c: Preparing [2021-02-03T18:49:27.868Z] 777b2c648970: Preparing [2021-02-03T18:49:27.868Z] 777b2c648970: Layer already exists [2021-02-03T18:49:28.130Z] d8e513f6c313: Pushed [2021-02-03T18:49:28.130Z] e66f500c6d02: Pushed [2021-02-03T18:49:28.130Z] 6b7d7bd42e2c: Pushed [2021-02-03T18:49:28.997Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-02-03T18:49:28.997Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-02-03T18:49:29.075Z] dd5a232a032d: Pushed [2021-02-03T18:49:29.268Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-02-03T18:49:29.337Z] 986676bd2495469ca6fabfae4bcb1d45a795bbbc: digest: sha256:053403853cc7985cac2f8d3a65c50bbf88443c0803035c86bfb46b86fa5dea79 size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:49:29.641Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:49:29.856Z] (14/14) Installing openssh (8.3_p1-r1) [2021-02-03T18:49:29.941Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [2021-02-03T18:49:29.941Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-02-03T18:49:29.941Z] d8e513f6c313: Preparing [2021-02-03T18:49:29.941Z] e66f500c6d02: Preparing [2021-02-03T18:49:29.941Z] dd5a232a032d: Preparing [2021-02-03T18:49:29.941Z] 6b7d7bd42e2c: Preparing [2021-02-03T18:49:29.941Z] 777b2c648970: Preparing [2021-02-03T18:49:29.941Z] 777b2c648970: Layer already exists [2021-02-03T18:49:29.941Z] d8e513f6c313: Layer already exists [2021-02-03T18:49:29.941Z] dd5a232a032d: Layer already exists [2021-02-03T18:49:29.941Z] e66f500c6d02: Layer already exists [2021-02-03T18:49:29.941Z] 6b7d7bd42e2c: Layer already exists [2021-02-03T18:49:29.941Z] latest: digest: sha256:053403853cc7985cac2f8d3a65c50bbf88443c0803035c86bfb46b86fa5dea79 size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:49:30.129Z] Executing busybox-1.31.1-r19.trigger [2021-02-03T18:49:30.129Z] OK: 221 MiB in 53 packages [2021-02-03T18:49:30.250Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.2-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:49:30.552Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.2-dev.1 [2021-02-03T18:49:30.552Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-02-03T18:49:30.552Z] d8e513f6c313: Preparing [2021-02-03T18:49:30.552Z] e66f500c6d02: Preparing [2021-02-03T18:49:30.552Z] dd5a232a032d: Preparing [2021-02-03T18:49:30.552Z] 6b7d7bd42e2c: Preparing [2021-02-03T18:49:30.552Z] 777b2c648970: Preparing [2021-02-03T18:49:30.552Z] dd5a232a032d: Layer already exists [2021-02-03T18:49:30.552Z] d8e513f6c313: Layer already exists [2021-02-03T18:49:30.552Z] 777b2c648970: Layer already exists [2021-02-03T18:49:30.552Z] e66f500c6d02: Layer already exists [2021-02-03T18:49:30.552Z] 6b7d7bd42e2c: Layer already exists [2021-02-03T18:49:30.552Z] 1.3.2-dev.1: digest: sha256:053403853cc7985cac2f8d3a65c50bbf88443c0803035c86bfb46b86fa5dea79 size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:49:30.960Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:986676bd2495469ca6fabfae4bcb1d45a795bbbc-1.3.2-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:49:31.300Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:986676bd2495469ca6fabfae4bcb1d45a795bbbc-1.3.2-dev.1 [2021-02-03T18:49:31.300Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-02-03T18:49:31.300Z] d8e513f6c313: Preparing [2021-02-03T18:49:31.300Z] e66f500c6d02: Preparing [2021-02-03T18:49:31.300Z] dd5a232a032d: Preparing [2021-02-03T18:49:31.300Z] 6b7d7bd42e2c: Preparing [2021-02-03T18:49:31.300Z] 777b2c648970: Preparing [2021-02-03T18:49:31.300Z] dd5a232a032d: Layer already exists [2021-02-03T18:49:31.300Z] e66f500c6d02: Layer already exists [2021-02-03T18:49:31.300Z] 6b7d7bd42e2c: Layer already exists [2021-02-03T18:49:31.300Z] d8e513f6c313: Layer already exists [2021-02-03T18:49:31.300Z] 777b2c648970: Layer already exists [2021-02-03T18:49:31.300Z] 986676bd2495469ca6fabfae4bcb1d45a795bbbc-1.3.2-dev.1: digest: sha256:053403853cc7985cac2f8d3a65c50bbf88443c0803035c86bfb46b86fa5dea79 size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:49:31.647Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:49:31.949Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [2021-02-03T18:49:31.949Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-02-03T18:49:31.949Z] d8e513f6c313: Preparing [2021-02-03T18:49:31.949Z] e66f500c6d02: Preparing [2021-02-03T18:49:31.949Z] dd5a232a032d: Preparing [2021-02-03T18:49:31.949Z] 6b7d7bd42e2c: Preparing [2021-02-03T18:49:31.949Z] 777b2c648970: Preparing [2021-02-03T18:49:31.949Z] 777b2c648970: Layer already exists [2021-02-03T18:49:31.949Z] d8e513f6c313: Layer already exists [2021-02-03T18:49:31.949Z] dd5a232a032d: Layer already exists [2021-02-03T18:49:31.949Z] 6b7d7bd42e2c: Layer already exists [2021-02-03T18:49:31.949Z] e66f500c6d02: Layer already exists [2021-02-03T18:49:31.949Z] master: digest: sha256:053403853cc7985cac2f8d3a65c50bbf88443c0803035c86bfb46b86fa5dea79 size: 1364 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-02-03T18:49:32.256Z] ===================================================== [Pipeline] echo [2021-02-03T18:49:32.301Z] taggedImages: [2021-02-03T18:49:32.301Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:986676bd2495469ca6fabfae4bcb1d45a795bbbc [2021-02-03T18:49:32.301Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [2021-02-03T18:49:32.301Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.2-dev.1 [2021-02-03T18:49:32.301Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:986676bd2495469ca6fabfae4bcb1d45a795bbbc-1.3.2-dev.1 [2021-02-03T18:49:32.301Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-03T18:49:34.433Z] Removing intermediate container e0fe16093892 [2021-02-03T18:49:34.433Z] ---> ad18cea8303a [2021-02-03T18:49:34.433Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-02-03T18:49:34.433Z] ---> Running in 753eb84c484c [2021-02-03T18:49:34.433Z] Removing intermediate container 753eb84c484c [2021-02-03T18:49:34.433Z] ---> 8661d1b10a21 [2021-02-03T18:49:34.433Z] Step 7/8 : COPY . . [2021-02-03T18:49:35.411Z] ---> b0edc3ffcf49 [2021-02-03T18:49:35.411Z] Step 8/8 : RUN go mod download [2021-02-03T18:49:35.411Z] ---> Running in 9043b6caeab6 [2021-02-03T18:49:57.581Z] Removing intermediate container 9043b6caeab6 [2021-02-03T18:49:57.581Z] ---> c6cf5146ce2c [2021-02-03T18:49:57.581Z] Successfully built c6cf5146ce2c [2021-02-03T18:49:57.581Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:49:57.920Z] + docker inspect -f . ci-base-image-arm64 [2021-02-03T18:49:57.920Z] . [Pipeline] withDockerContainer [2021-02-03T18:49:58.149Z] prd-ubuntu18.04-docker-arm64-4c-16g-24764 does not seem to be running inside a container [2021-02-03T18:49:58.242Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/31 -v /w/workspace/device-mqtt-go/31:/w/workspace/device-mqtt-go/31:rw,z -v /w/workspace/device-mqtt-go/31@tmp:/w/workspace/device-mqtt-go/31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-03T18:49:59.561Z] $ docker top 9448c06545390a1d3508a62a447b4a747805c8bffd74864c57d2bb3150c77604 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-03T18:50:00.530Z] + go version [2021-02-03T18:50:00.530Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-03T18:50:00.564Z] $ docker stop --time=1 9448c06545390a1d3508a62a447b4a747805c8bffd74864c57d2bb3150c77604 [2021-02-03T18:50:02.421Z] $ docker rm -f 9448c06545390a1d3508a62a447b4a747805c8bffd74864c57d2bb3150c77604 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:50:03.437Z] + docker inspect -f . ci-base-image-arm64 [2021-02-03T18:50:03.437Z] . [Pipeline] withDockerContainer [2021-02-03T18:50:03.670Z] prd-ubuntu18.04-docker-arm64-4c-16g-24764 does not seem to be running inside a container [2021-02-03T18:50:03.758Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/31 -v /w/workspace/device-mqtt-go/31:/w/workspace/device-mqtt-go/31:rw,z -v /w/workspace/device-mqtt-go/31@tmp:/w/workspace/device-mqtt-go/31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-03T18:50:05.107Z] $ docker top 296a48cf8513b724c6bcb4f1f20811bddf5f3d2f2c611b8679a2097a416fd2a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-03T18:50:06.051Z] + make test [2021-02-03T18:50:06.051Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-02-03T18:50:07.032Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-02-03T18:50:46.045Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-02-03T18:50:46.045Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.035s coverage: 26.5% of statements [2021-02-03T18:50:46.045Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-02-03T18:50:46.045Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-02-03T18:50:54.338Z] gofmt -l . [2021-02-03T18:50:54.338Z] ["`gofmt -l .`" = ""] [2021-02-03T18:50:54.338Z] ./bin/test-attribution-txt.sh [2021-02-03T18:50:54.338Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-03T18:50:54.984Z] $ docker stop --time=1 296a48cf8513b724c6bcb4f1f20811bddf5f3d2f2c611b8679a2097a416fd2a7 [2021-02-03T18:50:57.186Z] $ docker rm -f 296a48cf8513b724c6bcb4f1f20811bddf5f3d2f2c611b8679a2097a416fd2a7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-03T18:50:58.039Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-03T18:50:58.104Z] Warning: overwriting stash ‘coverage-report’ [2021-02-03T18:50:58.775Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-03T18:50:59.524Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-03T18:50:59.870Z] + ls -al . [2021-02-03T18:50:59.870Z] total 132 [2021-02-03T18:50:59.870Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 3 18:50 . [2021-02-03T18:50:59.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 3 18:48 .. [2021-02-03T18:50:59.870Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 3 18:48 .dockerignore [2021-02-03T18:50:59.870Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 3 18:48 .git [2021-02-03T18:50:59.870Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 3 18:48 .github [2021-02-03T18:50:59.870Z] -rw-rw-r-- 1 jenkins jenkins 336 Feb 3 18:48 .gitignore [2021-02-03T18:50:59.870Z] -rw-rw-r-- 1 jenkins jenkins 6044 Feb 3 18:48 Attribution.txt [2021-02-03T18:50:59.870Z] -rw-rw-r-- 1 jenkins jenkins 1941 Feb 3 18:48 Dockerfile [2021-02-03T18:50:59.870Z] -rw-rw-r-- 1 jenkins jenkins 957 Feb 3 18:48 Dockerfile.build [2021-02-03T18:50:59.870Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 3 18:48 Jenkinsfile [2021-02-03T18:50:59.870Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 3 18:48 LICENSE [2021-02-03T18:50:59.870Z] -rw-rw-r-- 1 jenkins jenkins 902 Feb 3 18:48 Makefile [2021-02-03T18:50:59.870Z] -rw-rw-r-- 1 jenkins jenkins 444 Feb 3 18:48 README.md [2021-02-03T18:50:59.870Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 3 18:46 VERSION [2021-02-03T18:50:59.870Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 3 18:48 bin [2021-02-03T18:50:59.870Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 3 18:48 cmd [2021-02-03T18:50:59.870Z] -rw-r--r-- 1 jenkins jenkins 20209 Feb 3 18:50 coverage.out [2021-02-03T18:50:59.870Z] -rw-r--r-- 1 jenkins jenkins 560 Feb 3 18:50 go.mod [2021-02-03T18:50:59.870Z] -rw-r--r-- 1 jenkins jenkins 15493 Feb 3 18:50 go.sum [2021-02-03T18:50:59.870Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 3 18:48 internal [2021-02-03T18:50:59.870Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 3 18:48 mock [2021-02-03T18:50:59.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 3 18:48 snap [2021-02-03T18:50:59.870Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 3 18:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:51:00.244Z] + docker build -t docker-device-mqtt-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=986676bd2495469ca6fabfae4bcb1d45a795bbbc --label arch=arm64 --label version=1.3.2-dev.1 . [2021-02-03T18:51:00.533Z] Sending build context to Docker daemon 514kB [2021-02-03T18:51:00.533Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-02-03T18:51:00.533Z] Step 2/23 : FROM ${BASE} AS builder [2021-02-03T18:51:00.533Z] ---> c6cf5146ce2c [2021-02-03T18:51:00.806Z] Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-02-03T18:51:01.082Z] ---> Running in 5a8e902e7c7b [2021-02-03T18:51:01.358Z] Removing intermediate container 5a8e902e7c7b [2021-02-03T18:51:01.358Z] ---> c61e4c7138f0 [2021-02-03T18:51:01.358Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-02-03T18:51:01.358Z] ---> Running in 485fdcfa1285 [2021-02-03T18:51:01.956Z] Removing intermediate container 485fdcfa1285 [2021-02-03T18:51:01.956Z] ---> ca44b3f0b420 [2021-02-03T18:51:01.956Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-03T18:51:02.229Z] ---> Running in 6c348a6de4e4 [2021-02-03T18:51:04.204Z] Removing intermediate container 6c348a6de4e4 [2021-02-03T18:51:04.205Z] ---> 0620e657b213 [2021-02-03T18:51:04.205Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-02-03T18:51:04.205Z] ---> Running in 226504873ace [2021-02-03T18:51:05.177Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-03T18:51:06.153Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-03T18:51:07.121Z] OK: 221 MiB in 53 packages [2021-02-03T18:51:08.104Z] Removing intermediate container 226504873ace [2021-02-03T18:51:08.104Z] ---> 2e6bd557db7e [2021-02-03T18:51:08.104Z] Step 7/23 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2021-02-03T18:51:08.378Z] ---> Running in edf76007a0cc [2021-02-03T18:51:08.650Z] Removing intermediate container edf76007a0cc [2021-02-03T18:51:08.650Z] ---> b16c815b2524 [2021-02-03T18:51:08.650Z] Step 8/23 : COPY . . [2021-02-03T18:51:09.634Z] ---> 81398cf7b8a6 [2021-02-03T18:51:09.634Z] Step 9/23 : ARG MAKE='make build' [2021-02-03T18:51:09.907Z] ---> Running in 87d4452a2b6a [2021-02-03T18:51:10.183Z] Removing intermediate container 87d4452a2b6a [2021-02-03T18:51:10.183Z] ---> 0d34e9b7b5b1 [2021-02-03T18:51:10.183Z] Step 10/23 : RUN $MAKE [2021-02-03T18:51:10.457Z] ---> Running in 0ac66f3fbfba [2021-02-03T18:51:11.447Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.1" -o cmd/device-mqtt ./cmd [2021-02-03T18:51:38.271Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-02-03T18:51:44.978Z] Removing intermediate container 0ac66f3fbfba [2021-02-03T18:51:44.978Z] ---> 7a94fb953963 [2021-02-03T18:51:44.978Z] Step 11/23 : FROM alpine:3.12 [2021-02-03T18:51:45.248Z] 3.12: Pulling from library/alpine [2021-02-03T18:51:45.518Z] 159e5727ea61: Pulling fs layer [2021-02-03T18:51:45.518Z] 159e5727ea61: Verifying Checksum [2021-02-03T18:51:45.518Z] 159e5727ea61: Download complete [2021-02-03T18:51:46.116Z] 159e5727ea61: Pull complete [2021-02-03T18:51:46.116Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-02-03T18:51:46.116Z] Status: Downloaded newer image for alpine:3.12 [2021-02-03T18:51:46.116Z] ---> afeebe901d6b [2021-02-03T18:51:46.116Z] Step 12/23 : RUN apk add --update --no-cache dumb-init [2021-02-03T18:51:46.392Z] ---> Running in 1651ee302b40 [2021-02-03T18:51:47.834Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-03T18:51:47.834Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-03T18:51:48.428Z] (1/1) Installing dumb-init (1.2.2-r1) [2021-02-03T18:51:48.428Z] Executing busybox-1.31.1-r19.trigger [2021-02-03T18:51:48.428Z] OK: 5 MiB in 15 packages [2021-02-03T18:51:49.862Z] Removing intermediate container 1651ee302b40 [2021-02-03T18:51:49.862Z] ---> 15b1018f7aee [2021-02-03T18:51:49.862Z] Step 13/23 : ENV APP_PORT=49982 [2021-02-03T18:51:49.862Z] ---> Running in 4acf70f1ce31 [2021-02-03T18:51:50.134Z] Removing intermediate container 4acf70f1ce31 [2021-02-03T18:51:50.134Z] ---> 7d62461466ad [2021-02-03T18:51:50.134Z] Step 14/23 : EXPOSE $APP_PORT [2021-02-03T18:51:50.406Z] ---> Running in 700e4d66dd22 [2021-02-03T18:51:50.677Z] Removing intermediate container 700e4d66dd22 [2021-02-03T18:51:50.677Z] ---> e09091e45f95 [2021-02-03T18:51:50.677Z] Step 15/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2021-02-03T18:51:52.123Z] ---> 1bb9fd30de2e [2021-02-03T18:51:52.123Z] Step 16/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2021-02-03T18:51:52.719Z] ---> b27983f98723 [2021-02-03T18:51:52.719Z] Step 17/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2021-02-03T18:51:53.709Z] ---> 98d94d10cdd5 [2021-02-03T18:51:53.709Z] Step 18/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2021-02-03T18:51:53.709Z] ---> Running in bad3a03affc2 [2021-02-03T18:51:53.982Z] Removing intermediate container bad3a03affc2 [2021-02-03T18:51:53.982Z] ---> f3684a52cb38 [2021-02-03T18:51:53.982Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-02-03T18:51:54.254Z] ---> Running in 720c26bbabd4 [2021-02-03T18:51:54.526Z] Removing intermediate container 720c26bbabd4 [2021-02-03T18:51:54.526Z] ---> bdb2574d1861 [2021-02-03T18:51:54.526Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-03T18:51:54.797Z] ---> Running in 469a14ec69c3 [2021-02-03T18:51:55.392Z] Removing intermediate container 469a14ec69c3 [2021-02-03T18:51:55.392Z] ---> 8fa170d3489b [2021-02-03T18:51:55.392Z] Step 21/23 : LABEL arch=arm64 [2021-02-03T18:51:55.392Z] ---> Running in 576e0b50d9bf [2021-02-03T18:51:55.665Z] Removing intermediate container 576e0b50d9bf [2021-02-03T18:51:55.665Z] ---> 01631fc88d9d [2021-02-03T18:51:55.665Z] Step 22/23 : LABEL git_sha=986676bd2495469ca6fabfae4bcb1d45a795bbbc [2021-02-03T18:51:55.935Z] ---> Running in 24f7408d6b7a [2021-02-03T18:51:56.529Z] Removing intermediate container 24f7408d6b7a [2021-02-03T18:51:56.529Z] ---> da168f1f2a0a [2021-02-03T18:51:56.529Z] Step 23/23 : LABEL version=1.3.2-dev.1 [2021-02-03T18:51:56.529Z] ---> Running in ca6d872affc1 [2021-02-03T18:51:57.123Z] Removing intermediate container ca6d872affc1 [2021-02-03T18:51:57.123Z] ---> b2d799f54f24 [2021-02-03T18:51:57.123Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-03T18:51:57.123Z] Successfully built b2d799f54f24 [2021-02-03T18:51:57.123Z] Successfully tagged docker-device-mqtt-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-03T18:51:57.623Z] provisioning config files... [2021-02-03T18:51:57.660Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/31@tmp/config4922446757138760529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-03T18:51:58.044Z] ---> docker-login.sh [2021-02-03T18:51:58.044Z] nexus3.edgexfoundry.org:10001 [2021-02-03T18:51:58.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:51:58.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:51:58.591Z] Configure a credential helper to remove this warning. See [2021-02-03T18:51:58.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:51:58.591Z] [2021-02-03T18:51:58.591Z] Login Succeeded [2021-02-03T18:51:58.864Z] nexus3.edgexfoundry.org:10002 [2021-02-03T18:51:59.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:51:59.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:51:59.133Z] Configure a credential helper to remove this warning. See [2021-02-03T18:51:59.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:51:59.133Z] [2021-02-03T18:51:59.133Z] Login Succeeded [2021-02-03T18:51:59.405Z] nexus3.edgexfoundry.org:10003 [2021-02-03T18:51:59.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:51:59.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:51:59.678Z] Configure a credential helper to remove this warning. See [2021-02-03T18:51:59.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:51:59.678Z] [2021-02-03T18:51:59.678Z] Login Succeeded [2021-02-03T18:51:59.678Z] nexus3.edgexfoundry.org:10004 [2021-02-03T18:52:00.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:52:00.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:52:00.277Z] Configure a credential helper to remove this warning. See [2021-02-03T18:52:00.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:52:00.277Z] [2021-02-03T18:52:00.277Z] Login Succeeded [2021-02-03T18:52:00.277Z] docker.io [2021-02-03T18:52:00.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T18:52:01.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T18:52:01.143Z] Configure a credential helper to remove this warning. See [2021-02-03T18:52:01.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T18:52:01.143Z] [2021-02-03T18:52:01.143Z] Login Succeeded [2021-02-03T18:52:01.143Z] ---> docker-login.sh ends [Pipeline] } [2021-02-03T18:52:01.159Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-02-03T18:52:01.374Z] [edgeXDocker.push] Tagging docker image docker-device-mqtt-go-arm64 with the following tags: [2021-02-03T18:52:01.374Z] 986676bd2495469ca6fabfae4bcb1d45a795bbbc [2021-02-03T18:52:01.374Z] latest [2021-02-03T18:52:01.374Z] 1.3.2-dev.1 [2021-02-03T18:52:01.374Z] 986676bd2495469ca6fabfae4bcb1d45a795bbbc-1.3.2-dev.1 [2021-02-03T18:52:01.374Z] master [2021-02-03T18:52:01.374Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:52:01.886Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:986676bd2495469ca6fabfae4bcb1d45a795bbbc [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:52:02.233Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:986676bd2495469ca6fabfae4bcb1d45a795bbbc [2021-02-03T18:52:02.233Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-02-03T18:52:02.233Z] 4621aaa3edd7: Preparing [2021-02-03T18:52:02.233Z] b2a16c900706: Preparing [2021-02-03T18:52:02.233Z] 614822a8e39c: Preparing [2021-02-03T18:52:02.233Z] 7e38881da5f3: Preparing [2021-02-03T18:52:02.233Z] 379067d0cb53: Preparing [2021-02-03T18:52:02.517Z] 379067d0cb53: Layer already exists [2021-02-03T18:52:02.517Z] 7e38881da5f3: Pushed [2021-02-03T18:52:02.517Z] 4621aaa3edd7: Pushed [2021-02-03T18:52:02.517Z] b2a16c900706: Pushed [2021-02-03T18:52:05.119Z] 614822a8e39c: Pushed [2021-02-03T18:52:05.119Z] 986676bd2495469ca6fabfae4bcb1d45a795bbbc: digest: sha256:42b03a816b9c93497351cdd74b589a04d6fec9157a233e59711f2fd1a21c4854 size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:52:05.727Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:52:06.063Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [2021-02-03T18:52:06.063Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-02-03T18:52:06.063Z] 4621aaa3edd7: Preparing [2021-02-03T18:52:06.063Z] b2a16c900706: Preparing [2021-02-03T18:52:06.063Z] 614822a8e39c: Preparing [2021-02-03T18:52:06.063Z] 7e38881da5f3: Preparing [2021-02-03T18:52:06.063Z] 379067d0cb53: Preparing [2021-02-03T18:52:06.063Z] 4621aaa3edd7: Layer already exists [2021-02-03T18:52:06.332Z] 7e38881da5f3: Layer already exists [2021-02-03T18:52:06.332Z] b2a16c900706: Layer already exists [2021-02-03T18:52:06.332Z] 379067d0cb53: Layer already exists [2021-02-03T18:52:06.332Z] 614822a8e39c: Layer already exists [2021-02-03T18:52:06.332Z] latest: digest: sha256:42b03a816b9c93497351cdd74b589a04d6fec9157a233e59711f2fd1a21c4854 size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:52:06.672Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.2-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:52:07.003Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.2-dev.1 [2021-02-03T18:52:07.003Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-02-03T18:52:07.003Z] 4621aaa3edd7: Preparing [2021-02-03T18:52:07.004Z] b2a16c900706: Preparing [2021-02-03T18:52:07.004Z] 614822a8e39c: Preparing [2021-02-03T18:52:07.004Z] 7e38881da5f3: Preparing [2021-02-03T18:52:07.004Z] 379067d0cb53: Preparing [2021-02-03T18:52:07.004Z] b2a16c900706: Layer already exists [2021-02-03T18:52:07.276Z] 7e38881da5f3: Layer already exists [2021-02-03T18:52:07.276Z] 379067d0cb53: Layer already exists [2021-02-03T18:52:07.276Z] 614822a8e39c: Layer already exists [2021-02-03T18:52:07.276Z] 4621aaa3edd7: Layer already exists [2021-02-03T18:52:07.276Z] 1.3.2-dev.1: digest: sha256:42b03a816b9c93497351cdd74b589a04d6fec9157a233e59711f2fd1a21c4854 size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:52:07.617Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:986676bd2495469ca6fabfae4bcb1d45a795bbbc-1.3.2-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:52:07.960Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:986676bd2495469ca6fabfae4bcb1d45a795bbbc-1.3.2-dev.1 [2021-02-03T18:52:07.960Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-02-03T18:52:07.960Z] 4621aaa3edd7: Preparing [2021-02-03T18:52:07.960Z] b2a16c900706: Preparing [2021-02-03T18:52:07.960Z] 614822a8e39c: Preparing [2021-02-03T18:52:07.960Z] 7e38881da5f3: Preparing [2021-02-03T18:52:07.960Z] 379067d0cb53: Preparing [2021-02-03T18:52:07.960Z] 4621aaa3edd7: Layer already exists [2021-02-03T18:52:07.960Z] 7e38881da5f3: Layer already exists [2021-02-03T18:52:07.960Z] 614822a8e39c: Layer already exists [2021-02-03T18:52:07.960Z] b2a16c900706: Layer already exists [2021-02-03T18:52:07.960Z] 379067d0cb53: Layer already exists [2021-02-03T18:52:08.232Z] 986676bd2495469ca6fabfae4bcb1d45a795bbbc-1.3.2-dev.1: digest: sha256:42b03a816b9c93497351cdd74b589a04d6fec9157a233e59711f2fd1a21c4854 size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:52:08.575Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:52:08.910Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [2021-02-03T18:52:08.910Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-02-03T18:52:08.910Z] 4621aaa3edd7: Preparing [2021-02-03T18:52:08.910Z] b2a16c900706: Preparing [2021-02-03T18:52:08.910Z] 614822a8e39c: Preparing [2021-02-03T18:52:08.910Z] 7e38881da5f3: Preparing [2021-02-03T18:52:08.910Z] 379067d0cb53: Preparing [2021-02-03T18:52:08.910Z] b2a16c900706: Layer already exists [2021-02-03T18:52:09.181Z] 4621aaa3edd7: Layer already exists [2021-02-03T18:52:09.181Z] 7e38881da5f3: Layer already exists [2021-02-03T18:52:09.181Z] 379067d0cb53: Layer already exists [2021-02-03T18:52:09.181Z] 614822a8e39c: Layer already exists [2021-02-03T18:52:09.181Z] master: digest: sha256:42b03a816b9c93497351cdd74b589a04d6fec9157a233e59711f2fd1a21c4854 size: 1364 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-02-03T18:52:09.385Z] ===================================================== [Pipeline] echo [2021-02-03T18:52:09.433Z] taggedImages: [2021-02-03T18:52:09.433Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:986676bd2495469ca6fabfae4bcb1d45a795bbbc [2021-02-03T18:52:09.433Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [2021-02-03T18:52:09.433Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.2-dev.1 [2021-02-03T18:52:09.433Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:986676bd2495469ca6fabfae4bcb1d45a795bbbc-1.3.2-dev.1 [2021-02-03T18:52:09.433Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [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] wrap [2021-02-03T18:52:10.852Z] provisioning config files... [2021-02-03T18:52:10.861Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config405025321542841304tmp [Pipeline] { [Pipeline] sh [2021-02-03T18:52:11.276Z] + set +x [2021-02-03T18:52:11.277Z] + curl -s https://codecov.io/bash [2021-02-03T18:52:11.277Z] + bash -s -- [2021-02-03T18:52:11.538Z] [2021-02-03T18:52:11.538Z] _____ _ [2021-02-03T18:52:11.538Z] / ____| | | [2021-02-03T18:52:11.538Z] | | ___ __| | ___ ___ _____ __ [2021-02-03T18:52:11.538Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-03T18:52:11.538Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-03T18:52:11.538Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-03T18:52:11.538Z] Bash-20210129-7c25fce [2021-02-03T18:52:11.538Z] [2021-02-03T18:52:11.538Z] [2021-02-03T18:52:11.538Z] ==> git version 2.24.3 found [2021-02-03T18:52:11.538Z] ==> 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-02-03T18:52:11.538Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-03T18:52:11.538Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-03T18:52:11.538Z] ==> Jenkins CI detected. [2021-02-03T18:52:11.538Z] project root: . [2021-02-03T18:52:11.538Z] --> token set from env [2021-02-03T18:52:11.538Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-03T18:52:11.538Z] ==> Running gcov in . (disable via -X gcov) [2021-02-03T18:52:11.538Z] ==> Python coveragepy not found [2021-02-03T18:52:11.538Z] ==> Searching for coverage reports in: [2021-02-03T18:52:11.538Z] + . [2021-02-03T18:52:11.538Z] -> Found 1 reports [2021-02-03T18:52:11.538Z] ==> Detecting git/mercurial file structure [2021-02-03T18:52:11.538Z] ==> Reading reports [2021-02-03T18:52:11.538Z] + ./coverage.out bytes=20209 [2021-02-03T18:52:11.538Z] ==> Appending adjustments [2021-02-03T18:52:11.538Z] https://docs.codecov.io/docs/fixing-reports [2021-02-03T18:52:11.538Z] + Found adjustments [2021-02-03T18:52:11.538Z] ==> Gzipping contents [2021-02-03T18:52:11.538Z] 4.0K /tmp/codecov.Mk7Kmc.gz [2021-02-03T18:52:11.538Z] ==> Uploading reports [2021-02-03T18:52:11.538Z] url: https://codecov.io [2021-02-03T18:52:11.538Z] query: branch=master&commit=986676bd2495469ca6fabfae4bcb1d45a795bbbc&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-03T18:52:11.538Z] -> Pinging Codecov [2021-02-03T18:52:11.538Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=986676bd2495469ca6fabfae4bcb1d45a795bbbc&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-03T18:52:12.113Z] -> Uploading to [2021-02-03T18:52:12.113Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-03/7D719EC7BBE17E464838252E33014C33/986676bd2495469ca6fabfae4bcb1d45a795bbbc/235a07bb-cd3e-46fc-bc5b-1f701b7b038d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210203%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210203T185211Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=26a0c76003c206805e56b896bf87a333a090698c7f9b9a1d8d03dda945ff98c7 [2021-02-03T18:52:12.113Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-03T18:52:12.113Z] Dload Upload Total Spent Left Speed [2021-02-03T18:52:12.687Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3465 0 0 100 3465 0 8539 --:--:-- --:--:-- --:--:-- 8555 [2021-02-03T18:52:12.687Z] -> View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/986676bd2495469ca6fabfae4bcb1d45a795bbbc [Pipeline] } [2021-02-03T18:52:12.698Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-02-03T18:52:13.143Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-02-03T18:52:13.194Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:52:13.546Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-03T18:52:13.546Z] [2021-02-03T18:52:13.546Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:52:13.904Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-03T18:52:13.905Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-02-03T18:52:13.905Z] 188c0c94c7c5: Pulling fs layer [2021-02-03T18:52:13.905Z] 0ef7d3d256c8: Pulling fs layer [2021-02-03T18:52:13.905Z] de9db76c5a1d: Pulling fs layer [2021-02-03T18:52:13.905Z] 0eba1c9be4d2: Pulling fs layer [2021-02-03T18:52:13.905Z] 0d57e429df01: Pulling fs layer [2021-02-03T18:52:13.905Z] 4e4be7b47b0d: Pulling fs layer [2021-02-03T18:52:13.905Z] e1f770b5df2f: Pulling fs layer [2021-02-03T18:52:13.905Z] 85a0685a4137: Pulling fs layer [2021-02-03T18:52:13.905Z] 0eba1c9be4d2: Waiting [2021-02-03T18:52:13.905Z] 0d57e429df01: Waiting [2021-02-03T18:52:13.905Z] 4e4be7b47b0d: Waiting [2021-02-03T18:52:13.905Z] e1f770b5df2f: Waiting [2021-02-03T18:52:13.905Z] 85a0685a4137: Waiting [2021-02-03T18:52:13.905Z] de9db76c5a1d: Verifying Checksum [2021-02-03T18:52:13.905Z] de9db76c5a1d: Download complete [2021-02-03T18:52:13.905Z] 0ef7d3d256c8: Download complete [2021-02-03T18:52:13.905Z] 0d57e429df01: Download complete [2021-02-03T18:52:13.905Z] 188c0c94c7c5: Verifying Checksum [2021-02-03T18:52:13.905Z] 188c0c94c7c5: Download complete [2021-02-03T18:52:13.905Z] 4e4be7b47b0d: Verifying Checksum [2021-02-03T18:52:13.905Z] 4e4be7b47b0d: Download complete [2021-02-03T18:52:14.170Z] 188c0c94c7c5: Pull complete [2021-02-03T18:52:14.432Z] 0ef7d3d256c8: Pull complete [2021-02-03T18:52:14.432Z] de9db76c5a1d: Pull complete [2021-02-03T18:52:16.357Z] e1f770b5df2f: Verifying Checksum [2021-02-03T18:52:16.357Z] e1f770b5df2f: Download complete [2021-02-03T18:52:18.320Z] 0eba1c9be4d2: Verifying Checksum [2021-02-03T18:52:18.320Z] 0eba1c9be4d2: Download complete [2021-02-03T18:52:18.899Z] 85a0685a4137: Verifying Checksum [2021-02-03T18:52:18.899Z] 85a0685a4137: Download complete [2021-02-03T18:52:24.238Z] 0eba1c9be4d2: Pull complete [2021-02-03T18:52:24.238Z] 0d57e429df01: Pull complete [2021-02-03T18:52:24.238Z] 4e4be7b47b0d: Pull complete [2021-02-03T18:52:25.633Z] e1f770b5df2f: Pull complete [2021-02-03T18:52:33.867Z] 85a0685a4137: Pull complete [2021-02-03T18:52:33.867Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-02-03T18:52:33.867Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-03T18:52:33.867Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-02-03T18:52:34.055Z] prd-centos7-docker-4c-2g-24761 does not seem to be running inside a container [2021-02-03T18:52:34.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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-02-03T18:52:34.984Z] $ docker top cfbab5abe8cde17028da3070d41edcd9705fbcc815873d2f5b64d65fc62e3b9b -eo pid,comm [Pipeline] { [Pipeline] echo [2021-02-03T18:52:35.288Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-02-03T18:52:35.579Z] + set -o pipefail [2021-02-03T18:52:35.579Z] + snyk monitor '--org=edgex-jenkins' [2021-02-03T18:52:47.824Z] [2021-02-03T18:52:47.824Z] Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... [2021-02-03T18:52:47.824Z] [2021-02-03T18:52:47.824Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/c7274eea-e963-4c85-9e61-a3cd6b8d1328 [2021-02-03T18:52:47.824Z] [2021-02-03T18:52:47.824Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-02-03T18:52:47.824Z] [2021-02-03T18:52:47.824Z] [Pipeline] } [2021-02-03T18:52:47.840Z] $ docker stop --time=1 cfbab5abe8cde17028da3070d41edcd9705fbcc815873d2f5b64d65fc62e3b9b [2021-02-03T18:52:50.578Z] $ docker rm -f cfbab5abe8cde17028da3070d41edcd9705fbcc815873d2f5b64d65fc62e3b9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [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-02-03T18:52:52.566Z] + git log --format=format:%s -1 986676bd2495469ca6fabfae4bcb1d45a795bbbc [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:52:52.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-03T18:52:52.870Z] . [Pipeline] withDockerContainer [2021-02-03T18:52:52.971Z] prd-centos7-docker-4c-2g-24761 does not seem to be running inside a container [2021-02-03T18:52:53.011Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-03T18:52:53.699Z] $ docker top a2f6e5df51a19b96ced6e5559c7a15177a03957784c649f22e94812c08bb8624 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-03T18:52:54.037Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-03T18:52:54.037Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-03T18:52:54.260Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-03T18:52:54.263Z] $ docker exec a2f6e5df51a19b96ced6e5559c7a15177a03957784c649f22e94812c08bb8624 ssh-agent [2021-02-03T18:52:54.430Z] SSH_AUTH_SOCK=/tmp/ssh-T3YhokPkZjSs/agent.11 [2021-02-03T18:52:54.430Z] SSH_AGENT_PID=17 [2021-02-03T18:52:54.437Z] Running ssh-add (command line suppressed) [2021-02-03T18:52:54.566Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5225593540918153102.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5225593540918153102.key) [2021-02-03T18:52:54.618Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-03T18:52:54.952Z] + git semver tag [2021-02-03T18:52:54.952Z] # -> Open(): unable to determine branch for HEAD [2021-02-03T18:52:54.952Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-02-03T18:52:54.952Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-02-03T18:52:54.952Z] # $SEMVER_REMOTE_NAME = origin [2021-02-03T18:52:54.952Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-03T18:52:54.952Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-03T18:52:54.952Z] # $SEMVER_BRANCH = master [2021-02-03T18:52:54.952Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-02-03T18:52:54.952Z] # 986676bd2495469ca6fabfae4bcb1d45a795bbbc HEAD [2021-02-03T18:52:54.952Z] # -> Force: false [2021-02-03T18:52:54.952Z] # 03914541f26391bee45afbb36688cecc5b9d4fa0 refs/tags/v1.3.2-dev.1 [Pipeline] } [2021-02-03T18:52:54.963Z] $ docker exec --env ******** --env ******** a2f6e5df51a19b96ced6e5559c7a15177a03957784c649f22e94812c08bb8624 ssh-agent -k [2021-02-03T18:52:55.087Z] unset SSH_AUTH_SOCK; [2021-02-03T18:52:55.087Z] unset SSH_AGENT_PID; [2021-02-03T18:52:55.087Z] echo Agent pid 17 killed; [2021-02-03T18:52:55.134Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-03T18:52:55.597Z] + git semver [Pipeline] } [2021-02-03T18:52:55.613Z] $ docker stop --time=1 a2f6e5df51a19b96ced6e5559c7a15177a03957784c649f22e94812c08bb8624 [2021-02-03T18:52:56.954Z] $ docker rm -f a2f6e5df51a19b96ced6e5559c7a15177a03957784c649f22e94812c08bb8624 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:52:57.728Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-03T18:52:57.728Z] [2021-02-03T18:52:57.728Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:52:58.132Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-03T18:52:58.132Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-02-03T18:52:58.132Z] ab5ef0e58194: Pulling fs layer [2021-02-03T18:52:58.132Z] 9712f1f96733: Pulling fs layer [2021-02-03T18:52:58.132Z] 63f879dbbcfc: Pulling fs layer [2021-02-03T18:52:58.132Z] 0d9ebad4ef96: Pulling fs layer [2021-02-03T18:52:58.132Z] e9a5061849ea: Pulling fs layer [2021-02-03T18:52:58.132Z] d747dcd14b5f: Pulling fs layer [2021-02-03T18:52:58.132Z] 2de7ff778b66: Pulling fs layer [2021-02-03T18:52:58.132Z] 0d9ebad4ef96: Waiting [2021-02-03T18:52:58.132Z] e9a5061849ea: Waiting [2021-02-03T18:52:58.132Z] d747dcd14b5f: Waiting [2021-02-03T18:52:58.132Z] 2de7ff778b66: Waiting [2021-02-03T18:52:58.132Z] 9712f1f96733: Verifying Checksum [2021-02-03T18:52:58.132Z] 9712f1f96733: Download complete [2021-02-03T18:52:59.532Z] 63f879dbbcfc: Verifying Checksum [2021-02-03T18:52:59.532Z] 63f879dbbcfc: Download complete [2021-02-03T18:52:59.797Z] e9a5061849ea: Verifying Checksum [2021-02-03T18:52:59.797Z] e9a5061849ea: Download complete [2021-02-03T18:52:59.797Z] d747dcd14b5f: Verifying Checksum [2021-02-03T18:52:59.797Z] d747dcd14b5f: Download complete [2021-02-03T18:53:00.060Z] 2de7ff778b66: Verifying Checksum [2021-02-03T18:53:00.637Z] 0d9ebad4ef96: Verifying Checksum [2021-02-03T18:53:00.637Z] 0d9ebad4ef96: Download complete [2021-02-03T18:53:00.637Z] ab5ef0e58194: Verifying Checksum [2021-02-03T18:53:00.637Z] ab5ef0e58194: Download complete [2021-02-03T18:53:04.885Z] ab5ef0e58194: Pull complete [2021-02-03T18:53:04.885Z] 9712f1f96733: Pull complete [2021-02-03T18:53:07.439Z] 63f879dbbcfc: Pull complete [2021-02-03T18:53:14.089Z] 0d9ebad4ef96: Pull complete [2021-02-03T18:53:14.089Z] e9a5061849ea: Pull complete [2021-02-03T18:53:14.089Z] d747dcd14b5f: Pull complete [2021-02-03T18:53:17.404Z] 2de7ff778b66: Pull complete [2021-02-03T18:53:17.404Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-02-03T18:53:17.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-03T18:53:17.404Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-02-03T18:53:17.577Z] prd-centos7-docker-4c-2g-24761 does not seem to be running inside a container [2021-02-03T18:53:17.625Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-02-03T18:53:21.806Z] $ docker top e83d17d5d31ac565ee888225aa50f638cd684e5593a7f92af752925d54a76d72 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-02-03T18:53:22.035Z] provisioning config files... [2021-02-03T18:53:22.044Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config1743996727149180290tmp [2021-02-03T18:53:22.066Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config233708886811913847tmp [2021-02-03T18:53:22.079Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3368270428699045701tmp [Pipeline] { [Pipeline] echo [2021-02-03T18:53:22.175Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-03T18:53:22.469Z] ---> sigul-configuration.sh [2021-02-03T18:53:22.469Z] gpg: directory `/root/.gnupg' created [2021-02-03T18:53:22.469Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-02-03T18:53:22.469Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-02-03T18:53:22.469Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-02-03T18:53:22.469Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-02-03T18:53:22.469Z] gpg: CAST5 encrypted data [2021-02-03T18:53:22.734Z] gpg: encrypted with 1 passphrase [2021-02-03T18:53:22.734Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-02-03T18:53:23.034Z] + mkdir /home/jenkins [2021-02-03T18:53:23.034Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-02-03T18:53:23.333Z] + 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-02-03T18:53:23.344Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-03T18:53:23.641Z] ---> sigul-install.sh [2021-02-03T18:53:30.227Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-02-03T18:53:30.522Z] + git tag --list [2021-02-03T18:53:30.522Z] 0.7.1 [2021-02-03T18:53:30.522Z] v1.0.0 [2021-02-03T18:53:30.522Z] v1.1.0 [2021-02-03T18:53:30.522Z] v1.1.1 [2021-02-03T18:53:30.522Z] v1.2.2 [2021-02-03T18:53:30.522Z] v1.3.0 [2021-02-03T18:53:30.522Z] v1.3.1 [2021-02-03T18:53:30.522Z] v1.3.1-dev.1 [2021-02-03T18:53:30.522Z] v1.3.1-dev.2 [2021-02-03T18:53:30.522Z] v1.3.1-dev.3 [2021-02-03T18:53:30.522Z] v1.3.1-dev.4 [2021-02-03T18:53:30.522Z] v1.3.2-dev.1 [Pipeline] sh [2021-02-03T18:53:30.822Z] + lftools sign git-tag v1.3.2-dev.1 [2021-02-03T18:53:32.210Z] Signing Git tag with Sigul... [2021-02-03T18:53:32.210Z] Signing v1.3.2-dev.1 [Pipeline] echo [2021-02-03T18:53:33.164Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-03T18:53:33.458Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-02-03T18:53:33.467Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-02-03T18:53:33.559Z] $ docker stop --time=1 e83d17d5d31ac565ee888225aa50f638cd684e5593a7f92af752925d54a76d72 [2021-02-03T18:53:35.273Z] $ docker rm -f e83d17d5d31ac565ee888225aa50f638cd684e5593a7f92af752925d54a76d72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:53:36.179Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-03T18:53:36.179Z] . [Pipeline] withDockerContainer [2021-02-03T18:53:36.309Z] prd-centos7-docker-4c-2g-24761 does not seem to be running inside a container [2021-02-03T18:53:36.357Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-03T18:53:36.954Z] $ docker top 1273f354cee556bd984eb96c7a8bc0f6163b2939591f962995082412bce4645c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-03T18:53:37.254Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-03T18:53:37.254Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-03T18:53:37.480Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-03T18:53:37.483Z] $ docker exec 1273f354cee556bd984eb96c7a8bc0f6163b2939591f962995082412bce4645c ssh-agent [2021-02-03T18:53:37.672Z] SSH_AUTH_SOCK=/tmp/ssh-Zlaxh6E7lqpX/agent.12 [2021-02-03T18:53:37.672Z] SSH_AGENT_PID=17 [2021-02-03T18:53:37.679Z] Running ssh-add (command line suppressed) [2021-02-03T18:53:37.815Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8802507054734828337.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8802507054734828337.key) [2021-02-03T18:53:37.874Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-03T18:53:38.205Z] + git semver bump pre [2021-02-03T18:53:38.205Z] # -> Open(): unable to determine branch for HEAD [2021-02-03T18:53:38.205Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-02-03T18:53:38.205Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-02-03T18:53:38.205Z] # $SEMVER_REMOTE_NAME = origin [2021-02-03T18:53:38.205Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-03T18:53:38.205Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-03T18:53:38.205Z] # $SEMVER_BRANCH = master [2021-02-03T18:53:38.205Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-02-03T18:53:38.205Z] 1.3.2-dev.2 [Pipeline] } [2021-02-03T18:53:38.216Z] $ docker exec --env ******** --env ******** 1273f354cee556bd984eb96c7a8bc0f6163b2939591f962995082412bce4645c ssh-agent -k [2021-02-03T18:53:38.337Z] unset SSH_AUTH_SOCK; [2021-02-03T18:53:38.337Z] unset SSH_AGENT_PID; [2021-02-03T18:53:38.337Z] echo Agent pid 17 killed; [2021-02-03T18:53:38.387Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-03T18:53:38.853Z] + git semver [Pipeline] } [2021-02-03T18:53:38.869Z] $ docker stop --time=1 1273f354cee556bd984eb96c7a8bc0f6163b2939591f962995082412bce4645c [2021-02-03T18:53:40.189Z] $ docker rm -f 1273f354cee556bd984eb96c7a8bc0f6163b2939591f962995082412bce4645c [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:53:40.789Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-03T18:53:40.789Z] . [Pipeline] withDockerContainer [2021-02-03T18:53:40.884Z] prd-centos7-docker-4c-2g-24761 does not seem to be running inside a container [2021-02-03T18:53:40.931Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-03T18:53:41.612Z] $ docker top f21c1e0f750e510aa3699ceb31823492785bdf8b5d878ae79b705300e6b92908 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-03T18:53:41.881Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-03T18:53:41.881Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-03T18:53:42.059Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-03T18:53:42.062Z] $ docker exec f21c1e0f750e510aa3699ceb31823492785bdf8b5d878ae79b705300e6b92908 ssh-agent [2021-02-03T18:53:42.229Z] SSH_AUTH_SOCK=/tmp/ssh-AWcu8fYceqrj/agent.12 [2021-02-03T18:53:42.229Z] SSH_AGENT_PID=18 [2021-02-03T18:53:42.235Z] Running ssh-add (command line suppressed) [2021-02-03T18:53:42.365Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5777495913108113960.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5777495913108113960.key) [2021-02-03T18:53:42.418Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-03T18:53:42.841Z] + git semver push [2021-02-03T18:53:42.841Z] # -> Open(): unable to determine branch for HEAD [2021-02-03T18:53:42.841Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-02-03T18:53:42.841Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-02-03T18:53:42.841Z] # $SEMVER_REMOTE_NAME = origin [2021-02-03T18:53:42.841Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-03T18:53:42.841Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-03T18:53:42.841Z] # $SEMVER_BRANCH = master [2021-02-03T18:53:42.841Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-02-03T18:53:49.497Z] $ docker exec --env ******** --env ******** f21c1e0f750e510aa3699ceb31823492785bdf8b5d878ae79b705300e6b92908 ssh-agent -k [2021-02-03T18:53:49.615Z] unset SSH_AUTH_SOCK; [2021-02-03T18:53:49.616Z] unset SSH_AGENT_PID; [2021-02-03T18:53:49.616Z] echo Agent pid 18 killed; [2021-02-03T18:53:49.660Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-03T18:53:50.182Z] + git semver [Pipeline] } [2021-02-03T18:53:50.198Z] $ docker stop --time=1 f21c1e0f750e510aa3699ceb31823492785bdf8b5d878ae79b705300e6b92908 [2021-02-03T18:53:51.526Z] $ docker rm -f f21c1e0f750e510aa3699ceb31823492785bdf8b5d878ae79b705300e6b92908 [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-02-03T18:53:52.923Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-03T18:53:53.489Z] ---> package-listing.sh [2021-02-03T18:53:53.489Z] ++ facter osfamily [2021-02-03T18:53:53.489Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-03T18:53:53.489Z] + OS_FAMILY=redhat [2021-02-03T18:53:53.489Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_master [2021-02-03T18:53:53.489Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-03T18:53:53.489Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-03T18:53:53.489Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-03T18:53:53.489Z] + PACKAGES=/tmp/packages_start.txt [2021-02-03T18:53:53.489Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-02-03T18:53:53.489Z] + PACKAGES=/tmp/packages_end.txt [2021-02-03T18:53:53.489Z] + case "${OS_FAMILY}" in [2021-02-03T18:53:53.489Z] + rpm -qa [2021-02-03T18:53:53.489Z] + sort [2021-02-03T18:53:58.790Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-03T18:53:58.790Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-03T18:53:58.790Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-03T18:53:58.790Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-02-03T18:53:58.790Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [2021-02-03T18:53:58.790Z] + 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-02-03T18:53:58.804Z] 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-02-03T18:53:59.098Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:53:59.412Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-03T18:53:59.412Z] [2021-02-03T18:53:59.412Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-03T18:53:59.764Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-03T18:53:59.764Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-03T18:53:59.764Z] df20fa9351a1: Pulling fs layer [2021-02-03T18:53:59.764Z] 36b3adc4ff6f: Pulling fs layer [2021-02-03T18:53:59.764Z] 8ad3a11d3b57: Pulling fs layer [2021-02-03T18:53:59.764Z] 46f8f816bc3b: Pulling fs layer [2021-02-03T18:53:59.764Z] 93b61091891f: Pulling fs layer [2021-02-03T18:53:59.764Z] 93b9cdb0e59b: Pulling fs layer [2021-02-03T18:53:59.764Z] 5e14af77c1be: Pulling fs layer [2021-02-03T18:53:59.764Z] 01666e4c0597: Pulling fs layer [2021-02-03T18:53:59.764Z] aa168da1d23b: Pulling fs layer [2021-02-03T18:53:59.764Z] 93b9cdb0e59b: Waiting [2021-02-03T18:53:59.764Z] 5e14af77c1be: Waiting [2021-02-03T18:53:59.764Z] 01666e4c0597: Waiting [2021-02-03T18:53:59.764Z] aa168da1d23b: Waiting [2021-02-03T18:53:59.764Z] 46f8f816bc3b: Waiting [2021-02-03T18:53:59.764Z] 93b61091891f: Waiting [2021-02-03T18:53:59.764Z] 36b3adc4ff6f: Verifying Checksum [2021-02-03T18:53:59.764Z] 36b3adc4ff6f: Download complete [2021-02-03T18:53:59.764Z] 46f8f816bc3b: Verifying Checksum [2021-02-03T18:53:59.764Z] 46f8f816bc3b: Download complete [2021-02-03T18:54:00.027Z] df20fa9351a1: Verifying Checksum [2021-02-03T18:54:00.027Z] df20fa9351a1: Download complete [2021-02-03T18:54:00.027Z] 93b9cdb0e59b: Verifying Checksum [2021-02-03T18:54:00.027Z] 93b9cdb0e59b: Download complete [2021-02-03T18:54:00.027Z] 93b61091891f: Download complete [2021-02-03T18:54:00.027Z] 5e14af77c1be: Verifying Checksum [2021-02-03T18:54:00.027Z] 5e14af77c1be: Download complete [2021-02-03T18:54:00.027Z] 01666e4c0597: Verifying Checksum [2021-02-03T18:54:00.027Z] 01666e4c0597: Download complete [2021-02-03T18:54:00.294Z] 8ad3a11d3b57: Verifying Checksum [2021-02-03T18:54:00.294Z] 8ad3a11d3b57: Download complete [2021-02-03T18:54:00.557Z] df20fa9351a1: Pull complete [2021-02-03T18:54:01.136Z] 36b3adc4ff6f: Pull complete [2021-02-03T18:54:02.090Z] aa168da1d23b: Verifying Checksum [2021-02-03T18:54:02.090Z] aa168da1d23b: Download complete [2021-02-03T18:54:02.090Z] 8ad3a11d3b57: Pull complete [2021-02-03T18:54:02.352Z] 46f8f816bc3b: Pull complete [2021-02-03T18:54:02.614Z] 93b61091891f: Pull complete [2021-02-03T18:54:02.614Z] 93b9cdb0e59b: Pull complete [2021-02-03T18:54:02.876Z] 5e14af77c1be: Pull complete [2021-02-03T18:54:02.876Z] 01666e4c0597: Pull complete [2021-02-03T18:54:11.660Z] aa168da1d23b: Pull complete [2021-02-03T18:54:11.660Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-03T18:54:11.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-03T18:54:11.660Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-03T18:54:11.800Z] prd-centos7-docker-4c-2g-24761 does not seem to be running inside a container [2021-02-03T18:54:11.850Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-03T18:54:15.160Z] $ docker top 6d7ed677274c99715ed73d6473bafff00c0a912ed4479bb56056964ddc32199d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-03T18:54:15.667Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-03T18:54:15.963Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-03T18:54:16.261Z] + ls /var/log/sa-host [2021-02-03T18:54:16.261Z] + sadf -c /var/log/sa-host/sa03 [2021-02-03T18:54:16.261Z] file_magic: OK [2021-02-03T18:54:16.261Z] HZ: Using current value: 100 [2021-02-03T18:54:16.261Z] file_header: OK [2021-02-03T18:54:16.261Z] 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-02-03T18:54:16.261Z] Statistics: [2021-02-03T18:54:16.261Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-03T18:54:16.261Z] File successfully converted to sysstat format version 12.2.1 [2021-02-03T18:54:16.261Z] + sadf -c /var/log/sa-host/sa23 [2021-02-03T18:54:16.261Z] file_magic: OK [2021-02-03T18:54:16.261Z] HZ: Using current value: 100 [2021-02-03T18:54:16.261Z] file_header: OK [2021-02-03T18:54:16.261Z] 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-02-03T18:54:16.261Z] Statistics: [2021-02-03T18:54:16.261Z] Hnuu...uuuununununu... [2021-02-03T18:54:16.261Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-03T18:54:16.474Z] provisioning config files... [2021-02-03T18:54:16.491Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config8831962039394001656tmp [Pipeline] { [Pipeline] echo [2021-02-03T18:54:16.558Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-03T18:54:16.853Z] ---> create-netrc.sh [Pipeline] } [2021-02-03T18:54:16.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-03T18:54:16.950Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-03T18:54:17.244Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-03T18:54:17.256Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-03T18:54:17.551Z] ---> sudo-logs.sh [2021-02-03T18:54:17.551Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-03T18:54:17.562Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-03T18:54:17.857Z] ---> job-cost.sh [2021-02-03T18:54:17.857Z] lf-activate-venv: SKIPPING [2021-02-03T18:54:17.857Z] INFO: No Stack... [2021-02-03T18:54:18.805Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-03T18:54:19.067Z] INFO: Archiving Costs [Pipeline] echo [2021-02-03T18:54:19.082Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-03T18:54:19.380Z] ---> logs-deploy.sh [2021-02-03T18:54:19.380Z] lf-activate-venv: SKIPPING [2021-02-03T18:54:19.380Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/31 [2021-02-03T18:54:19.380Z] INFO: archiving workspace using pattern(s): [2021-02-03T18:54:20.769Z] Archives upload complete. [2021-02-03T18:54:21.032Z] INFO: archiving logs to Nexus