Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d45bb06fbd349d05c83df7b0a7176550fae40e6 # timeout=10 Commit message: "Merge pull request #295 from ernestojeda/always-docker-auth" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-12254 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.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 (master) > 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 --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 Commit message: "Merge pull request #185 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" > git rev-list --no-walk b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-16T16:18:45.357Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-16T16:18:45.687Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-16T16:18:45.799Z] ========================================================= [2020-11-16T16:18:45.800Z] EdgeX Global Pipelines Version Info [2020-11-16T16:18:45.800Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:18:47.365Z] ------------------- [2020-11-16T16:18:47.365Z] stable info: [2020-11-16T16:18:47.365Z] ------------------- [2020-11-16T16:18:47.365Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-16T16:18:47.365Z] Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 [2020-11-16T16:18:47.365Z] Message: update stable to v1.0.162 [2020-11-16T16:18:48.313Z] ------------------- [2020-11-16T16:18:48.313Z] experimental info: [2020-11-16T16:18:48.313Z] ------------------- [2020-11-16T16:18:48.313Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-16T16:18:48.313Z] Commit SHA: 6f2ee81cce8ce978e0d8ebd6865d4103bdd6920b [2020-11-16T16:18:48.313Z] Message: update experimental to v1.0.164 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-16T16:18:48.709Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2020-11-16T16:18:48.822Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2020-11-16T16:18:48.914Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-16T16:18:49.012Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-16T16:18:49.162Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-16T16:18:49.253Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-16T16:18:49.345Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-16T16:18:49.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-16T16:18:49.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-16T16:18:49.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-16T16:18:49.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-16T16:18:49.819Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2020-11-16T16:18:49.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-16T16:18:50.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-16T16:18:50.111Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-16T16:18:50.256Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-16T16:18:50.378Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-16T16:18:50.490Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-16T16:18:50.577Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-16T16:18:50.681Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-11-16T16:18:50.799Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-16T16:18:50.896Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-16T16:18:50.998Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-16T16:18:51.091Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-16T16:18:51.197Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-16T16:18:51.284Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-16T16:18:51.395Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-11-16T16:18:51.486Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-11-16T16:18:51.577Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-11-16T16:18:51.714Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 [Pipeline] echo [2020-11-16T16:18:51.800Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 06d3741 [Pipeline] echo [2020-11-16T16:18:51.892Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T16:18:52.091Z] provisioning config files... [2020-11-16T16:18:52.119Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config353773065351057498tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:18:52.482Z] ---> docker-login.sh [2020-11-16T16:18:52.482Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:18:52.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:18:52.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:18:52.745Z] Configure a credential helper to remove this warning. See [2020-11-16T16:18:52.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:18:52.745Z] [2020-11-16T16:18:52.745Z] Login Succeeded [2020-11-16T16:18:52.745Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:18:53.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:18:53.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:18:53.010Z] Configure a credential helper to remove this warning. See [2020-11-16T16:18:53.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:18:53.010Z] [2020-11-16T16:18:53.010Z] Login Succeeded [2020-11-16T16:18:53.010Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:18:53.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:18:53.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:18:53.273Z] Configure a credential helper to remove this warning. See [2020-11-16T16:18:53.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:18:53.273Z] [2020-11-16T16:18:53.273Z] Login Succeeded [2020-11-16T16:18:53.273Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:18:53.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:18:53.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:18:53.535Z] Configure a credential helper to remove this warning. See [2020-11-16T16:18:53.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:18:53.535Z] [2020-11-16T16:18:53.535Z] Login Succeeded [2020-11-16T16:18:53.535Z] docker.io [2020-11-16T16:18:53.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:18:53.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:18:53.797Z] Configure a credential helper to remove this warning. See [2020-11-16T16:18:53.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:18:53.797Z] [2020-11-16T16:18:53.797Z] Login Succeeded [2020-11-16T16:18:53.797Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T16:18:53.808Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-16T16:18:54.652Z] + git log --format=format:%s -1 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 [Pipeline] echo [2020-11-16T16:18:54.723Z] GIT_COMMIT: 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372, Commit Message: Merge pull request #185 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0 [Pipeline] echo [2020-11-16T16:18:54.765Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:18:55.971Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:18:55.972Z] [2020-11-16T16:18:55.972Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:18:56.322Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:18:56.322Z] latest: Pulling from edgex-devops/git-semver [2020-11-16T16:18:56.322Z] 31603596830f: Pulling fs layer [2020-11-16T16:18:56.322Z] 2a8b12db71e7: Pulling fs layer [2020-11-16T16:18:56.322Z] 6ca5941a6612: Pulling fs layer [2020-11-16T16:18:56.322Z] ecc8261a40a4: Pulling fs layer [2020-11-16T16:18:56.322Z] ecc8261a40a4: Waiting [2020-11-16T16:18:56.322Z] 2a8b12db71e7: Verifying Checksum [2020-11-16T16:18:56.322Z] 2a8b12db71e7: Download complete [2020-11-16T16:18:56.587Z] 31603596830f: Verifying Checksum [2020-11-16T16:18:56.587Z] 31603596830f: Download complete [2020-11-16T16:18:56.587Z] ecc8261a40a4: Verifying Checksum [2020-11-16T16:18:56.587Z] ecc8261a40a4: Download complete [2020-11-16T16:18:56.587Z] 6ca5941a6612: Verifying Checksum [2020-11-16T16:18:56.587Z] 6ca5941a6612: Download complete [2020-11-16T16:18:56.848Z] 31603596830f: Pull complete [2020-11-16T16:18:56.849Z] 2a8b12db71e7: Pull complete [2020-11-16T16:18:57.798Z] 6ca5941a6612: Pull complete [2020-11-16T16:18:58.061Z] ecc8261a40a4: Pull complete [2020-11-16T16:18:58.061Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-16T16:18:58.061Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:18:58.061Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-16T16:18:58.165Z] prd-centos7-docker-4c-2g-12254 does not seem to be running inside a container [2020-11-16T16:18:58.216Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-16T16:19:00.092Z] $ docker top 5085de9bd38064afa2c1276a8c8218e6350e2e9099452a246868921dee316629 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-16T16:19:00.556Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T16:19:00.556Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T16:19:00.781Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T16:19:00.787Z] $ docker exec 5085de9bd38064afa2c1276a8c8218e6350e2e9099452a246868921dee316629 ssh-agent [2020-11-16T16:19:00.939Z] SSH_AUTH_SOCK=/tmp/ssh-BM1wuZjeB7GA/agent.12 [2020-11-16T16:19:00.939Z] SSH_AGENT_PID=17 [2020-11-16T16:19:00.952Z] Running ssh-add (command line suppressed) [2020-11-16T16:19:01.074Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_9161537011727467476.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_9161537011727467476.key) [2020-11-16T16:19:01.121Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T16:19:01.462Z] + git tag --points-at HEAD [Pipeline] } [2020-11-16T16:19:01.489Z] $ docker exec --env ******** --env ******** 5085de9bd38064afa2c1276a8c8218e6350e2e9099452a246868921dee316629 ssh-agent -k [2020-11-16T16:19:01.619Z] unset SSH_AUTH_SOCK; [2020-11-16T16:19:01.620Z] unset SSH_AGENT_PID; [2020-11-16T16:19:01.620Z] echo Agent pid 17 killed; [2020-11-16T16:19:01.662Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-16T16:19:01.813Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T16:19:01.813Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T16:19:01.975Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T16:19:01.982Z] $ docker exec 5085de9bd38064afa2c1276a8c8218e6350e2e9099452a246868921dee316629 ssh-agent [2020-11-16T16:19:02.143Z] SSH_AUTH_SOCK=/tmp/ssh-CrRCzoZy6kWk/agent.48 [2020-11-16T16:19:02.143Z] SSH_AGENT_PID=53 [2020-11-16T16:19:02.150Z] Running ssh-add (command line suppressed) [2020-11-16T16:19:02.270Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7059733711176122927.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7059733711176122927.key) [2020-11-16T16:19:02.317Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T16:19:02.660Z] + git semver init [2020-11-16T16:19:02.660Z] # -> Open(): unable to determine branch for HEAD [2020-11-16T16:19:02.660Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2020-11-16T16:19:02.660Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2020-11-16T16:19:02.660Z] # $SEMVER_REMOTE_NAME = origin [2020-11-16T16:19:02.660Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-16T16:19:02.660Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-16T16:19:02.660Z] # $SEMVER_BRANCH = master [2020-11-16T16:19:02.660Z] # $SEMVER_TEMP = /tmp/semver-010466898 [2020-11-16T16:19:02.660Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2020-11-16T16:19:04.052Z] # '/tmp/semver-010466898' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' [2020-11-16T16:19:04.052Z] # -> Force: false [2020-11-16T16:19:04.052Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2020-11-16T16:19:04.069Z] $ docker exec --env ******** --env ******** 5085de9bd38064afa2c1276a8c8218e6350e2e9099452a246868921dee316629 ssh-agent -k [2020-11-16T16:19:04.182Z] unset SSH_AUTH_SOCK; [2020-11-16T16:19:04.184Z] unset SSH_AGENT_PID; [2020-11-16T16:19:04.184Z] echo Agent pid 53 killed; [2020-11-16T16:19:04.223Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-16T16:19:04.712Z] + git semver [Pipeline] } [2020-11-16T16:19:04.735Z] $ docker stop --time=1 5085de9bd38064afa2c1276a8c8218e6350e2e9099452a246868921dee316629 [2020-11-16T16:19:06.182Z] $ docker rm -f 5085de9bd38064afa2c1276a8c8218e6350e2e9099452a246868921dee316629 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-16T16:19:06.660Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-16T16:19:07.083Z] Stashed 1 file(s) [Pipeline] echo [2020-11-16T16:19:07.086Z] [edgeXSemver]: initialized semver on version 1.2.3-dev.10 [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 [2020-11-16T16:19:22.676Z] Still waiting to schedule task [2020-11-16T16:19:22.676Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-12254’ [2020-11-16T16:19:22.679Z] Still waiting to schedule task [2020-11-16T16:19:22.679Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-11-16T16:20:56.857Z] Running on prd-centos7-docker-4c-2g-12258 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2020-11-16T16:20:56.908Z] Running in /w/workspace/device-mqtt-go/24 [Pipeline] { [Pipeline] checkout [2020-11-16T16:20:59.614Z] using credential edgex-jenkins-ssh [2020-11-16T16:20:59.682Z] Cloning the remote Git repository [2020-11-16T16:20:59.708Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-16T16:20:59.779Z] > git init /w/workspace/device-mqtt-go/24 # timeout=10 [2020-11-16T16:20:59.834Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-16T16:20:59.835Z] > git --version # timeout=10 [2020-11-16T16:20:59.840Z] > git --version # 'git version 2.16.5' [2020-11-16T16:20:59.840Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T16:20:59.867Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T16:21:00.419Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-16T16:21:00.428Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T16:21:00.440Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-16T16:21:00.453Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-16T16:21:00.453Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T16:21:00.458Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-16T16:21:00.896Z] Checking out Revision 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 (master) [2020-11-16T16:21:00.908Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T16:21:00.913Z] > git checkout -f 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 [2020-11-16T16:21:04.582Z] Commit message: "Merge pull request #185 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T16:21:05.235Z] provisioning config files... [2020-11-16T16:21:05.263Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/24@tmp/config527216420655739397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:21:05.951Z] ---> docker-login.sh [2020-11-16T16:21:05.951Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:21:06.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:21:06.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:21:06.218Z] Configure a credential helper to remove this warning. See [2020-11-16T16:21:06.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:21:06.218Z] [2020-11-16T16:21:06.218Z] Login Succeeded [2020-11-16T16:21:06.218Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:21:06.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:21:06.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:21:06.483Z] Configure a credential helper to remove this warning. See [2020-11-16T16:21:06.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:21:06.483Z] [2020-11-16T16:21:06.483Z] Login Succeeded [2020-11-16T16:21:06.483Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:21:06.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:21:06.586Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-12256 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2020-11-16T16:21:06.633Z] Running in /w/workspace/device-mqtt-go/24 [Pipeline] { [Pipeline] checkout [2020-11-16T16:21:06.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:21:06.752Z] Configure a credential helper to remove this warning. See [2020-11-16T16:21:06.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:21:06.752Z] [2020-11-16T16:21:06.752Z] Login Succeeded [2020-11-16T16:21:06.752Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:21:06.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:21:06.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:21:06.752Z] Configure a credential helper to remove this warning. See [2020-11-16T16:21:06.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:21:06.752Z] [2020-11-16T16:21:06.752Z] Login Succeeded [2020-11-16T16:21:06.752Z] docker.io [2020-11-16T16:21:07.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:21:07.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:21:07.284Z] Configure a credential helper to remove this warning. See [2020-11-16T16:21:07.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:21:07.284Z] [2020-11-16T16:21:07.284Z] Login Succeeded [2020-11-16T16:21:07.284Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T16:21:07.327Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-16T16:21:07.666Z] ========================================================= [2020-11-16T16:21:07.666Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-16T16:21:07.666Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:21:08.016Z] + 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 . [2020-11-16T16:21:08.281Z] Sending build context to Docker daemon 460.3kB [2020-11-16T16:21:08.281Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-16T16:21:08.281Z] Step 2/8 : FROM ${BASE} [2020-11-16T16:21:08.281Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-16T16:21:08.281Z] df20fa9351a1: Pulling fs layer [2020-11-16T16:21:08.281Z] ed8968b2872e: Pulling fs layer [2020-11-16T16:21:08.281Z] a92cc7c5fd73: Pulling fs layer [2020-11-16T16:21:08.281Z] e871e8e8d7a9: Pulling fs layer [2020-11-16T16:21:08.281Z] e73272ec9a57: Pulling fs layer [2020-11-16T16:21:08.281Z] 1e910a182e73: Pulling fs layer [2020-11-16T16:21:08.281Z] 4e634b169226: Pulling fs layer [2020-11-16T16:21:08.281Z] e871e8e8d7a9: Waiting [2020-11-16T16:21:08.281Z] e73272ec9a57: Waiting [2020-11-16T16:21:08.281Z] 1e910a182e73: Waiting [2020-11-16T16:21:08.281Z] 4e634b169226: Waiting [2020-11-16T16:21:08.281Z] a92cc7c5fd73: Verifying Checksum [2020-11-16T16:21:08.281Z] a92cc7c5fd73: Download complete [2020-11-16T16:21:08.281Z] ed8968b2872e: Download complete [2020-11-16T16:21:08.281Z] e73272ec9a57: Verifying Checksum [2020-11-16T16:21:08.281Z] e73272ec9a57: Download complete [2020-11-16T16:21:08.281Z] df20fa9351a1: Verifying Checksum [2020-11-16T16:21:08.281Z] df20fa9351a1: Download complete [2020-11-16T16:21:08.281Z] 1e910a182e73: Verifying Checksum [2020-11-16T16:21:08.281Z] 1e910a182e73: Download complete [2020-11-16T16:21:08.548Z] df20fa9351a1: Pull complete [2020-11-16T16:21:08.810Z] ed8968b2872e: Pull complete [2020-11-16T16:21:08.810Z] a92cc7c5fd73: Pull complete [2020-11-16T16:21:10.742Z] 4e634b169226: Verifying Checksum [2020-11-16T16:21:10.742Z] 4e634b169226: Download complete [2020-11-16T16:21:11.353Z] e871e8e8d7a9: Verifying Checksum [2020-11-16T16:21:11.353Z] e871e8e8d7a9: Download complete [2020-11-16T16:21:11.375Z] using credential edgex-jenkins-ssh [2020-11-16T16:21:11.468Z] Cloning the remote Git repository [2020-11-16T16:21:11.518Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-16T16:21:11.653Z] > git init /w/workspace/device-mqtt-go/24 # timeout=10 [2020-11-16T16:21:11.750Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-16T16:21:11.751Z] > git --version # timeout=10 [2020-11-16T16:21:11.779Z] > git --version # 'git version 2.17.1' [2020-11-16T16:21:11.781Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T16:21:11.846Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T16:21:12.652Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-16T16:21:12.676Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-16T16:21:12.701Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-11-16T16:21:12.733Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-11-16T16:21:12.733Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-16T16:21:12.745Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-16T16:21:13.173Z] Checking out Revision 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 (master) [2020-11-16T16:21:13.191Z] > git config core.sparsecheckout # timeout=10 [2020-11-16T16:21:13.209Z] > git checkout -f 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 [2020-11-16T16:21:16.688Z] e871e8e8d7a9: Pull complete [2020-11-16T16:21:16.688Z] e73272ec9a57: Pull complete [2020-11-16T16:21:16.688Z] 1e910a182e73: Pull complete [2020-11-16T16:21:17.538Z] Commit message: "Merge pull request #185 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T16:21:18.202Z] provisioning config files... [2020-11-16T16:21:18.244Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/24@tmp/config3780756488021820543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:21:19.206Z] ---> docker-login.sh [2020-11-16T16:21:19.206Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:21:19.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:21:20.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:21:20.405Z] Configure a credential helper to remove this warning. See [2020-11-16T16:21:20.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:21:20.405Z] [2020-11-16T16:21:20.405Z] Login Succeeded [2020-11-16T16:21:20.405Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:21:20.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:21:20.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:21:20.953Z] Configure a credential helper to remove this warning. See [2020-11-16T16:21:20.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:21:20.953Z] [2020-11-16T16:21:20.953Z] Login Succeeded [2020-11-16T16:21:20.953Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:21:21.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:21:21.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:21:21.514Z] Configure a credential helper to remove this warning. See [2020-11-16T16:21:21.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:21:21.514Z] [2020-11-16T16:21:21.514Z] Login Succeeded [2020-11-16T16:21:21.514Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:21:21.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:21:22.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:21:22.073Z] Configure a credential helper to remove this warning. See [2020-11-16T16:21:22.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:21:22.073Z] [2020-11-16T16:21:22.073Z] Login Succeeded [2020-11-16T16:21:22.073Z] docker.io [2020-11-16T16:21:22.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:21:22.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:21:22.982Z] Configure a credential helper to remove this warning. See [2020-11-16T16:21:22.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:21:22.982Z] [2020-11-16T16:21:22.982Z] Login Succeeded [2020-11-16T16:21:22.982Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T16:21:23.074Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-16T16:21:23.648Z] ========================================================= [2020-11-16T16:21:23.648Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-16T16:21:23.648Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:21:24.086Z] + 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 . [2020-11-16T16:21:24.379Z] Sending build context to Docker daemon 460.3kB [2020-11-16T16:21:24.379Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-16T16:21:24.379Z] Step 2/8 : FROM ${BASE} [2020-11-16T16:21:24.678Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-16T16:21:24.678Z] b538f80385f9: Pulling fs layer [2020-11-16T16:21:24.678Z] 74f711af9a0d: Pulling fs layer [2020-11-16T16:21:24.678Z] 99f96fe45779: Pulling fs layer [2020-11-16T16:21:24.678Z] 8529a6b9a6be: Pulling fs layer [2020-11-16T16:21:24.678Z] 45590311c82a: Pulling fs layer [2020-11-16T16:21:24.678Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-16T16:21:24.678Z] 209524e5b208: Pulling fs layer [2020-11-16T16:21:24.678Z] 45590311c82a: Waiting [2020-11-16T16:21:24.678Z] 69ca0ff8b7b3: Waiting [2020-11-16T16:21:24.678Z] 209524e5b208: Waiting [2020-11-16T16:21:24.678Z] 8529a6b9a6be: Waiting [2020-11-16T16:21:24.678Z] 99f96fe45779: Verifying Checksum [2020-11-16T16:21:24.678Z] 99f96fe45779: Download complete [2020-11-16T16:21:24.678Z] 74f711af9a0d: Download complete [2020-11-16T16:21:24.678Z] 45590311c82a: Verifying Checksum [2020-11-16T16:21:24.678Z] 45590311c82a: Download complete [2020-11-16T16:21:24.678Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-16T16:21:24.678Z] 69ca0ff8b7b3: Download complete [2020-11-16T16:21:24.892Z] 4e634b169226: Pull complete [2020-11-16T16:21:24.892Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-16T16:21:24.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-16T16:21:24.892Z] ---> f7629b54cfaa [2020-11-16T16:21:24.892Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-16T16:21:24.892Z] ---> Running in d2e2f0a31a19 [2020-11-16T16:21:24.892Z] Removing intermediate container d2e2f0a31a19 [2020-11-16T16:21:24.892Z] ---> fd6963d63d77 [2020-11-16T16:21:24.892Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T16:21:24.892Z] ---> Running in 6e424beaf942 [2020-11-16T16:21:24.957Z] b538f80385f9: Verifying Checksum [2020-11-16T16:21:24.957Z] b538f80385f9: Download complete [2020-11-16T16:21:25.950Z] b538f80385f9: Pull complete [2020-11-16T16:21:26.228Z] 74f711af9a0d: Pull complete [2020-11-16T16:21:26.302Z] Removing intermediate container 6e424beaf942 [2020-11-16T16:21:26.302Z] ---> a5809b48c24a [2020-11-16T16:21:26.302Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-16T16:21:26.577Z] ---> Running in 0c459a6f32f2 [2020-11-16T16:21:26.828Z] 99f96fe45779: Pull complete [2020-11-16T16:21:27.161Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-16T16:21:27.430Z] 209524e5b208: Verifying Checksum [2020-11-16T16:21:27.430Z] 209524e5b208: Download complete [2020-11-16T16:21:27.745Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-16T16:21:28.320Z] (1/14) Installing libmagic (5.38-r0) [2020-11-16T16:21:28.421Z] 8529a6b9a6be: Download complete [2020-11-16T16:21:28.585Z] (2/14) Installing file (5.38-r0) [2020-11-16T16:21:28.585Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-16T16:21:28.851Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-16T16:21:35.472Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-16T16:21:35.472Z] (6/14) Installing patch (2.7.6-r6) [2020-11-16T16:21:35.472Z] (7/14) Installing build-base (0.5-r2) [2020-11-16T16:21:35.472Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-16T16:21:35.472Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-16T16:21:35.472Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-16T16:21:35.472Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-16T16:21:35.472Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-16T16:21:35.472Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-16T16:21:35.741Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-16T16:21:35.741Z] Executing busybox-1.31.1-r16.trigger [2020-11-16T16:21:36.010Z] OK: 237 MiB in 53 packages [2020-11-16T16:21:38.647Z] 8529a6b9a6be: Pull complete [2020-11-16T16:21:38.922Z] 45590311c82a: Pull complete [2020-11-16T16:21:39.197Z] 69ca0ff8b7b3: Pull complete [2020-11-16T16:21:39.341Z] Removing intermediate container 0c459a6f32f2 [2020-11-16T16:21:39.341Z] ---> 8e6cd2eda728 [2020-11-16T16:21:39.341Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-11-16T16:21:39.341Z] ---> Running in d651025f7748 [2020-11-16T16:21:39.605Z] Removing intermediate container d651025f7748 [2020-11-16T16:21:39.605Z] ---> 24577c328eaf [2020-11-16T16:21:39.605Z] Step 7/8 : COPY . . [2020-11-16T16:21:40.183Z] ---> 3c5e86db4b92 [2020-11-16T16:21:40.183Z] Step 8/8 : RUN go mod download [2020-11-16T16:21:40.183Z] ---> Running in a0d5df0d11a2 [2020-11-16T16:21:43.508Z] 209524e5b208: Pull complete [2020-11-16T16:21:43.508Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-16T16:21:43.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-16T16:21:43.508Z] ---> 5bddaf1c2fca [2020-11-16T16:21:43.508Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-16T16:21:45.524Z] ---> Running in 72c0183c8850 [2020-11-16T16:21:46.139Z] Removing intermediate container 72c0183c8850 [2020-11-16T16:21:46.139Z] ---> 07d7088aa1f9 [2020-11-16T16:21:46.139Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T16:21:46.139Z] ---> Running in 18be2960beba [2020-11-16T16:21:48.794Z] Removing intermediate container 18be2960beba [2020-11-16T16:21:48.794Z] ---> e2b02b96b86a [2020-11-16T16:21:48.794Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-16T16:21:48.794Z] ---> Running in 7a6e56041429 [2020-11-16T16:21:50.238Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-16T16:21:51.223Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-16T16:21:51.816Z] (1/14) Installing libmagic (5.38-r0) [2020-11-16T16:21:51.816Z] (2/14) Installing file (5.38-r0) [2020-11-16T16:21:51.816Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-16T16:21:52.090Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-16T16:21:56.423Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-16T16:21:56.423Z] (6/14) Installing patch (2.7.6-r6) [2020-11-16T16:21:56.423Z] (7/14) Installing build-base (0.5-r2) [2020-11-16T16:21:56.423Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-16T16:21:56.423Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-16T16:21:56.423Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-16T16:21:57.012Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-16T16:21:57.012Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-16T16:21:57.012Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-16T16:21:57.283Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-16T16:21:57.558Z] Executing busybox-1.31.1-r16.trigger [2020-11-16T16:21:57.558Z] OK: 221 MiB in 53 packages [2020-11-16T16:22:01.883Z] Removing intermediate container 7a6e56041429 [2020-11-16T16:22:01.883Z] ---> 09784019f366 [2020-11-16T16:22:01.883Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-11-16T16:22:01.883Z] ---> Running in 532ac776418d [2020-11-16T16:22:01.883Z] Removing intermediate container 532ac776418d [2020-11-16T16:22:01.883Z] ---> 624171416c29 [2020-11-16T16:22:01.883Z] Step 7/8 : COPY . . [2020-11-16T16:22:02.349Z] Removing intermediate container a0d5df0d11a2 [2020-11-16T16:22:02.349Z] ---> 31c0530e0432 [2020-11-16T16:22:02.349Z] Successfully built 31c0530e0432 [2020-11-16T16:22:02.349Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:22:02.668Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-16T16:22:02.668Z] . [Pipeline] withDockerContainer [2020-11-16T16:22:02.777Z] prd-centos7-docker-4c-2g-12258 does not seem to be running inside a container [2020-11-16T16:22:02.831Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/24 -v /w/workspace/device-mqtt-go/24:/w/workspace/device-mqtt-go/24:rw,z -v /w/workspace/device-mqtt-go/24@tmp:/w/workspace/device-mqtt-go/24@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 ******** ci-base-image-x86_64 cat [2020-11-16T16:22:02.860Z] ---> 2d9fc2292915 [2020-11-16T16:22:02.860Z] Step 8/8 : RUN go mod download [2020-11-16T16:22:03.133Z] ---> Running in 18ee24fd7dca [2020-11-16T16:22:03.536Z] $ docker top 3d4d04365eb7ba8888f0fa34ad5a64263544bb2b91555136169577f8b7a19e97 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:22:04.028Z] + go version [2020-11-16T16:22:04.028Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-16T16:22:04.047Z] $ docker stop --time=1 3d4d04365eb7ba8888f0fa34ad5a64263544bb2b91555136169577f8b7a19e97 [2020-11-16T16:22:05.392Z] $ docker rm -f 3d4d04365eb7ba8888f0fa34ad5a64263544bb2b91555136169577f8b7a19e97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:22:06.223Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-16T16:22:06.224Z] . [Pipeline] withDockerContainer [2020-11-16T16:22:06.340Z] prd-centos7-docker-4c-2g-12258 does not seem to be running inside a container [2020-11-16T16:22:06.401Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/24 -v /w/workspace/device-mqtt-go/24:/w/workspace/device-mqtt-go/24:rw,z -v /w/workspace/device-mqtt-go/24@tmp:/w/workspace/device-mqtt-go/24@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 ******** ci-base-image-x86_64 cat [2020-11-16T16:22:06.976Z] $ docker top 00c540a05fd5b68bc1aadbf6c04e253e55322f1057314d2d5324fc2264614022 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:22:07.503Z] + make test [2020-11-16T16:22:07.503Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-16T16:22:08.463Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-11-16T16:22:20.871Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-11-16T16:22:21.140Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 28.3% of statements [2020-11-16T16:22:21.140Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-11-16T16:22:21.140Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-16T16:22:23.737Z] gofmt -l . [2020-11-16T16:22:23.737Z] ["`gofmt -l .`" = ""] [2020-11-16T16:22:23.737Z] ./bin/test-attribution-txt.sh [2020-11-16T16:22:24.318Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-16T16:22:24.603Z] $ docker stop --time=1 00c540a05fd5b68bc1aadbf6c04e253e55322f1057314d2d5324fc2264614022 [2020-11-16T16:22:27.095Z] $ docker rm -f 00c540a05fd5b68bc1aadbf6c04e253e55322f1057314d2d5324fc2264614022 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-16T16:22:27.743Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-16T16:22:28.089Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-11-16T16:22:30.030Z] Removing intermediate container 18ee24fd7dca [2020-11-16T16:22:30.031Z] ---> 70af631d667d [2020-11-16T16:22:30.031Z] Successfully built 70af631d667d [2020-11-16T16:22:30.031Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:22:32.247Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-16T16:22:32.382Z] + docker inspect -f . ci-base-image-arm64 [2020-11-16T16:22:32.382Z] . [Pipeline] withDockerContainer [2020-11-16T16:22:32.549Z] + ls -al . [2020-11-16T16:22:32.549Z] total 100 [2020-11-16T16:22:32.549Z] drwxrwxr-x. 9 jenkins jenkins 4096 Nov 16 16:22 . [2020-11-16T16:22:32.549Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 16 16:20 .. [2020-11-16T16:22:32.549Z] -rw-rw-r--. 1 jenkins jenkins 5932 Nov 16 16:21 Attribution.txt [2020-11-16T16:22:32.549Z] drwxrwxr-x. 2 jenkins jenkins 87 Nov 16 16:21 bin [2020-11-16T16:22:32.549Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 16 16:21 cmd [2020-11-16T16:22:32.549Z] -rw-r--r--. 1 jenkins jenkins 18940 Nov 16 16:22 coverage.out [2020-11-16T16:22:32.549Z] -rw-rw-r--. 1 jenkins jenkins 1784 Nov 16 16:21 Dockerfile [2020-11-16T16:22:32.549Z] -rw-rw-r--. 1 jenkins jenkins 953 Nov 16 16:21 Dockerfile.build [2020-11-16T16:22:32.549Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 16 16:21 .dockerignore [2020-11-16T16:22:32.549Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 16 16:21 .git [2020-11-16T16:22:32.549Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 16 16:21 .github [2020-11-16T16:22:32.549Z] -rw-rw-r--. 1 jenkins jenkins 336 Nov 16 16:21 .gitignore [2020-11-16T16:22:32.549Z] -rw-r--r--. 1 jenkins jenkins 504 Nov 16 16:22 go.mod [2020-11-16T16:22:32.549Z] -rw-r--r--. 1 jenkins jenkins 14793 Nov 16 16:22 go.sum [2020-11-16T16:22:32.549Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 16 16:21 internal [2020-11-16T16:22:32.549Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 16 16:21 Jenkinsfile [2020-11-16T16:22:32.549Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 16 16:21 LICENSE [2020-11-16T16:22:32.549Z] -rw-rw-r--. 1 jenkins jenkins 902 Nov 16 16:21 Makefile [2020-11-16T16:22:32.549Z] drwxrwxr-x. 2 jenkins jenkins 23 Nov 16 16:21 mock [2020-11-16T16:22:32.549Z] -rw-rw-r--. 1 jenkins jenkins 444 Nov 16 16:21 README.md [2020-11-16T16:22:32.549Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 16 16:21 snap [2020-11-16T16:22:32.549Z] -rw-rw-r--. 1 jenkins jenkins 12 Nov 16 16:19 VERSION [2020-11-16T16:22:32.549Z] -rw-rw-r--. 1 jenkins jenkins 227 Nov 16 16:21 version.go [2020-11-16T16:22:32.655Z] prd-ubuntu18.04-docker-arm64-4c-16g-12256 does not seem to be running inside a container [2020-11-16T16:22:32.740Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/24 -v /w/workspace/device-mqtt-go/24:/w/workspace/device-mqtt-go/24:rw,z -v /w/workspace/device-mqtt-go/24@tmp:/w/workspace/device-mqtt-go/24@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 ******** ci-base-image-arm64 cat [2020-11-16T16:22:34.642Z] $ docker top cd3fde44408cb77528754541d56f824a344e956a5a1111851dc097ca569a3579 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:22:35.457Z] + 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=06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 --label arch=amd64 --label version=1.2.3-dev.10 . [2020-11-16T16:22:35.719Z] Sending build context to Docker daemon 479.7kB [2020-11-16T16:22:35.719Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-11-16T16:22:35.719Z] Step 2/22 : FROM ${BASE} AS builder [2020-11-16T16:22:35.719Z] ---> 31c0530e0432 [2020-11-16T16:22:35.719Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-11-16T16:22:35.986Z] ---> Running in 4676cf1cd935 [2020-11-16T16:22:35.986Z] Removing intermediate container 4676cf1cd935 [2020-11-16T16:22:35.986Z] ---> a76a39e2efc8 [2020-11-16T16:22:35.986Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-11-16T16:22:35.986Z] ---> Running in 965aaa473125 [2020-11-16T16:22:36.075Z] + go version [2020-11-16T16:22:36.075Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-16T16:22:36.101Z] $ docker stop --time=1 cd3fde44408cb77528754541d56f824a344e956a5a1111851dc097ca569a3579 [2020-11-16T16:22:36.258Z] Removing intermediate container 965aaa473125 [2020-11-16T16:22:36.258Z] ---> 4f0af06ce847 [2020-11-16T16:22:36.258Z] Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T16:22:36.258Z] ---> Running in d59b4106ec77 [2020-11-16T16:22:37.223Z] Removing intermediate container d59b4106ec77 [2020-11-16T16:22:37.223Z] ---> 0111478cd1c3 [2020-11-16T16:22:37.223Z] Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-16T16:22:37.223Z] ---> Running in 8c48ab7176f7 [2020-11-16T16:22:37.835Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-16T16:22:38.005Z] $ docker rm -f cd3fde44408cb77528754541d56f824a344e956a5a1111851dc097ca569a3579 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2020-11-16T16:22:38.417Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:22:39.005Z] OK: 237 MiB in 53 packages [2020-11-16T16:22:39.110Z] + docker inspect -f . ci-base-image-arm64 [2020-11-16T16:22:39.110Z] . [Pipeline] withDockerContainer [2020-11-16T16:22:39.429Z] prd-ubuntu18.04-docker-arm64-4c-16g-12256 does not seem to be running inside a container [2020-11-16T16:22:39.593Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/24 -v /w/workspace/device-mqtt-go/24:/w/workspace/device-mqtt-go/24:rw,z -v /w/workspace/device-mqtt-go/24@tmp:/w/workspace/device-mqtt-go/24@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 ******** ci-base-image-arm64 cat [2020-11-16T16:22:39.645Z] Removing intermediate container 8c48ab7176f7 [2020-11-16T16:22:39.645Z] ---> f72f0a8b2a2d [2020-11-16T16:22:39.645Z] Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-11-16T16:22:39.645Z] ---> Running in 020fa18c578d [2020-11-16T16:22:39.645Z] Removing intermediate container 020fa18c578d [2020-11-16T16:22:39.645Z] ---> c2c88a955962 [2020-11-16T16:22:39.645Z] Step 8/22 : COPY . . [2020-11-16T16:22:40.609Z] ---> 5271a3f13d36 [2020-11-16T16:22:40.609Z] Step 9/22 : ARG MAKE='make build' [2020-11-16T16:22:40.609Z] ---> Running in f5afda271c69 [2020-11-16T16:22:40.609Z] Removing intermediate container f5afda271c69 [2020-11-16T16:22:40.609Z] ---> a8ab3b5b84d8 [2020-11-16T16:22:40.609Z] Step 10/22 : RUN $MAKE [2020-11-16T16:22:40.609Z] ---> Running in 7b84e129e462 [2020-11-16T16:22:41.189Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.2.3-dev.10" -o cmd/device-mqtt ./cmd [2020-11-16T16:22:41.440Z] $ docker top dcf7fe205cabb6fa5f332f1d4795f322cd68feae23dc464566de34bd6b551332 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:22:42.894Z] + make test [2020-11-16T16:22:42.894Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-16T16:22:43.884Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-11-16T16:22:51.358Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-16T16:22:53.933Z] Removing intermediate container 7b84e129e462 [2020-11-16T16:22:53.933Z] ---> 7b3483a84923 [2020-11-16T16:22:53.933Z] Step 11/22 : FROM alpine [2020-11-16T16:22:54.559Z] latest: Pulling from library/alpine [2020-11-16T16:22:54.559Z] 188c0c94c7c5: Pulling fs layer [2020-11-16T16:22:54.827Z] 188c0c94c7c5: Download complete [2020-11-16T16:22:55.095Z] 188c0c94c7c5: Pull complete [2020-11-16T16:22:55.095Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-16T16:22:55.095Z] Status: Downloaded newer image for alpine:latest [2020-11-16T16:22:55.095Z] ---> d6e46aa2470d [2020-11-16T16:22:55.095Z] Step 12/22 : ENV APP_PORT=49982 [2020-11-16T16:22:55.095Z] ---> Running in d0cb2bed5565 [2020-11-16T16:22:55.365Z] Removing intermediate container d0cb2bed5565 [2020-11-16T16:22:55.365Z] ---> 757287f0d361 [2020-11-16T16:22:55.365Z] Step 13/22 : EXPOSE $APP_PORT [2020-11-16T16:22:55.365Z] ---> Running in ebeac8be8c05 [2020-11-16T16:22:55.632Z] Removing intermediate container ebeac8be8c05 [2020-11-16T16:22:55.632Z] ---> 6fc11cf980ea [2020-11-16T16:22:55.632Z] Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-11-16T16:22:56.214Z] ---> 8187e2ebb13e [2020-11-16T16:22:56.215Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2020-11-16T16:22:56.479Z] ---> 95de6dbd3e96 [2020-11-16T16:22:56.479Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2020-11-16T16:22:56.479Z] ---> 2be65c8eb37d [2020-11-16T16:22:56.479Z] Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-11-16T16:22:56.742Z] ---> Running in 9d00be5fcea9 [2020-11-16T16:22:56.742Z] Removing intermediate container 9d00be5fcea9 [2020-11-16T16:22:56.742Z] ---> 70596b15d4d8 [2020-11-16T16:22:56.742Z] Step 18/22 : ENTRYPOINT ["/device-mqtt"] [2020-11-16T16:22:56.742Z] ---> Running in 730d55bdce60 [2020-11-16T16:22:57.009Z] Removing intermediate container 730d55bdce60 [2020-11-16T16:22:57.009Z] ---> 9489c5d47b12 [2020-11-16T16:22:57.009Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-16T16:22:57.009Z] ---> Running in c68a561fb310 [2020-11-16T16:22:57.275Z] Removing intermediate container c68a561fb310 [2020-11-16T16:22:57.275Z] ---> 9c221fad6f40 [2020-11-16T16:22:57.275Z] Step 20/22 : LABEL arch=amd64 [2020-11-16T16:22:57.275Z] ---> Running in eb5cf4a66605 [2020-11-16T16:22:57.539Z] Removing intermediate container eb5cf4a66605 [2020-11-16T16:22:57.539Z] ---> bee351aa2c19 [2020-11-16T16:22:57.539Z] Step 21/22 : LABEL git_sha=06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 [2020-11-16T16:22:57.539Z] ---> Running in 21364808fab7 [2020-11-16T16:22:57.803Z] Removing intermediate container 21364808fab7 [2020-11-16T16:22:57.803Z] ---> 54e41b572ec4 [2020-11-16T16:22:57.803Z] Step 22/22 : LABEL version=1.2.3-dev.10 [2020-11-16T16:22:57.803Z] ---> Running in 948254ec8c50 [2020-11-16T16:22:57.803Z] Removing intermediate container 948254ec8c50 [2020-11-16T16:22:57.803Z] ---> 08821defbd74 [2020-11-16T16:22:57.803Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-16T16:22:57.803Z] Successfully built 08821defbd74 [2020-11-16T16:22:58.067Z] Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-16T16:22:58.457Z] provisioning config files... [2020-11-16T16:22:58.488Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/24@tmp/config5021021788260776005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:22:58.872Z] ---> docker-login.sh [2020-11-16T16:22:58.872Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:22:58.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:22:59.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:22:59.135Z] Configure a credential helper to remove this warning. See [2020-11-16T16:22:59.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:22:59.135Z] [2020-11-16T16:22:59.135Z] Login Succeeded [2020-11-16T16:22:59.135Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:22:59.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:22:59.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:22:59.400Z] Configure a credential helper to remove this warning. See [2020-11-16T16:22:59.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:22:59.400Z] [2020-11-16T16:22:59.400Z] Login Succeeded [2020-11-16T16:22:59.400Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:22:59.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:22:59.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:22:59.400Z] Configure a credential helper to remove this warning. See [2020-11-16T16:22:59.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:22:59.400Z] [2020-11-16T16:22:59.400Z] Login Succeeded [2020-11-16T16:22:59.400Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:22:59.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:22:59.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:22:59.663Z] Configure a credential helper to remove this warning. See [2020-11-16T16:22:59.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:22:59.663Z] [2020-11-16T16:22:59.663Z] Login Succeeded [2020-11-16T16:22:59.663Z] docker.io [2020-11-16T16:22:59.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:22:59.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:22:59.928Z] Configure a credential helper to remove this warning. See [2020-11-16T16:22:59.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:22:59.928Z] [2020-11-16T16:22:59.928Z] Login Succeeded [2020-11-16T16:22:59.928Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T16:22:59.939Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-16T16:23:00.173Z] [edgeXDocker.push] Tagging docker image docker-device-mqtt-go with the following tags: [2020-11-16T16:23:00.174Z] 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 [2020-11-16T16:23:00.174Z] latest [2020-11-16T16:23:00.174Z] 1.2.3-dev.10 [2020-11-16T16:23:00.174Z] 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372-1.2.3-dev.10 [2020-11-16T16:23:00.174Z] master [2020-11-16T16:23:00.174Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:23:00.740Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:23:01.046Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 [2020-11-16T16:23:01.046Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2020-11-16T16:23:01.046Z] 3ab07a1919e0: Preparing [2020-11-16T16:23:01.046Z] 4301be2b2e8a: Preparing [2020-11-16T16:23:01.046Z] 79a84b80aa2e: Preparing [2020-11-16T16:23:01.046Z] ace0eda3e3be: Preparing [2020-11-16T16:23:01.046Z] ace0eda3e3be: Layer already exists [2020-11-16T16:23:01.316Z] 3ab07a1919e0: Pushed [2020-11-16T16:23:01.316Z] 4301be2b2e8a: Pushed [2020-11-16T16:23:02.271Z] 79a84b80aa2e: Pushed [2020-11-16T16:23:02.554Z] 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372: digest: sha256:59041656ebcd246c19bb483c7f7ce159fe61c650814d6fc72cfd29496c1916c4 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:23:02.881Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:23:03.189Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [2020-11-16T16:23:03.189Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2020-11-16T16:23:03.189Z] 3ab07a1919e0: Preparing [2020-11-16T16:23:03.189Z] 4301be2b2e8a: Preparing [2020-11-16T16:23:03.189Z] 79a84b80aa2e: Preparing [2020-11-16T16:23:03.189Z] ace0eda3e3be: Preparing [2020-11-16T16:23:03.189Z] ace0eda3e3be: Layer already exists [2020-11-16T16:23:03.189Z] 79a84b80aa2e: Layer already exists [2020-11-16T16:23:03.189Z] 3ab07a1919e0: Layer already exists [2020-11-16T16:23:03.189Z] 4301be2b2e8a: Layer already exists [2020-11-16T16:23:03.189Z] latest: digest: sha256:59041656ebcd246c19bb483c7f7ce159fe61c650814d6fc72cfd29496c1916c4 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:23:03.503Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.2.3-dev.10 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:23:03.836Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.2.3-dev.10 [2020-11-16T16:23:03.836Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2020-11-16T16:23:03.836Z] 3ab07a1919e0: Preparing [2020-11-16T16:23:03.836Z] 4301be2b2e8a: Preparing [2020-11-16T16:23:03.836Z] 79a84b80aa2e: Preparing [2020-11-16T16:23:03.836Z] ace0eda3e3be: Preparing [2020-11-16T16:23:03.836Z] 4301be2b2e8a: Layer already exists [2020-11-16T16:23:03.836Z] 3ab07a1919e0: Layer already exists [2020-11-16T16:23:03.836Z] 79a84b80aa2e: Layer already exists [2020-11-16T16:23:03.836Z] ace0eda3e3be: Layer already exists [2020-11-16T16:23:03.836Z] 1.2.3-dev.10: digest: sha256:59041656ebcd246c19bb483c7f7ce159fe61c650814d6fc72cfd29496c1916c4 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:23:04.159Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372-1.2.3-dev.10 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:23:04.462Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372-1.2.3-dev.10 [2020-11-16T16:23:04.462Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2020-11-16T16:23:04.462Z] 3ab07a1919e0: Preparing [2020-11-16T16:23:04.462Z] 4301be2b2e8a: Preparing [2020-11-16T16:23:04.462Z] 79a84b80aa2e: Preparing [2020-11-16T16:23:04.462Z] ace0eda3e3be: Preparing [2020-11-16T16:23:04.462Z] 4301be2b2e8a: Layer already exists [2020-11-16T16:23:04.462Z] 3ab07a1919e0: Layer already exists [2020-11-16T16:23:04.462Z] 79a84b80aa2e: Layer already exists [2020-11-16T16:23:04.462Z] ace0eda3e3be: Layer already exists [2020-11-16T16:23:04.462Z] 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372-1.2.3-dev.10: digest: sha256:59041656ebcd246c19bb483c7f7ce159fe61c650814d6fc72cfd29496c1916c4 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:23:04.789Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:23:05.089Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [2020-11-16T16:23:05.089Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2020-11-16T16:23:05.089Z] 3ab07a1919e0: Preparing [2020-11-16T16:23:05.089Z] 4301be2b2e8a: Preparing [2020-11-16T16:23:05.089Z] 79a84b80aa2e: Preparing [2020-11-16T16:23:05.089Z] ace0eda3e3be: Preparing [2020-11-16T16:23:05.089Z] ace0eda3e3be: Layer already exists [2020-11-16T16:23:05.089Z] 4301be2b2e8a: Layer already exists [2020-11-16T16:23:05.089Z] 3ab07a1919e0: Layer already exists [2020-11-16T16:23:05.089Z] 79a84b80aa2e: Layer already exists [2020-11-16T16:23:05.089Z] master: digest: sha256:59041656ebcd246c19bb483c7f7ce159fe61c650814d6fc72cfd29496c1916c4 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-16T16:23:05.289Z] ===================================================== [Pipeline] echo [2020-11-16T16:23:05.335Z] taggedImages: [2020-11-16T16:23:05.335Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 [2020-11-16T16:23:05.335Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [2020-11-16T16:23:05.335Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.2.3-dev.10 [2020-11-16T16:23:05.335Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372-1.2.3-dev.10 [2020-11-16T16:23:05.335Z] - 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] } [2020-11-16T16:23:23.008Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-11-16T16:23:23.008Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.038s coverage: 28.3% of statements [2020-11-16T16:23:23.008Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-11-16T16:23:23.008Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-16T16:23:28.465Z] gofmt -l . [2020-11-16T16:23:28.739Z] ["`gofmt -l .`" = ""] [2020-11-16T16:23:28.739Z] ./bin/test-attribution-txt.sh [2020-11-16T16:23:29.726Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-16T16:23:30.037Z] $ docker stop --time=1 dcf7fe205cabb6fa5f332f1d4795f322cd68feae23dc464566de34bd6b551332 [2020-11-16T16:23:32.169Z] $ docker rm -f dcf7fe205cabb6fa5f332f1d4795f322cd68feae23dc464566de34bd6b551332 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-16T16:23:33.121Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-16T16:23:33.234Z] Warning: overwriting stash ‘coverage-report’ [2020-11-16T16:23:34.108Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-16T16:23:34.918Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-16T16:23:35.282Z] + ls -al . [2020-11-16T16:23:35.282Z] total 132 [2020-11-16T16:23:35.282Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 16 16:23 . [2020-11-16T16:23:35.282Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 16:21 .. [2020-11-16T16:23:35.282Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 16 16:21 .dockerignore [2020-11-16T16:23:35.282Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 16:21 .git [2020-11-16T16:23:35.282Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 16:21 .github [2020-11-16T16:23:35.282Z] -rw-rw-r-- 1 jenkins jenkins 336 Nov 16 16:21 .gitignore [2020-11-16T16:23:35.282Z] -rw-rw-r-- 1 jenkins jenkins 5932 Nov 16 16:21 Attribution.txt [2020-11-16T16:23:35.282Z] -rw-rw-r-- 1 jenkins jenkins 1784 Nov 16 16:21 Dockerfile [2020-11-16T16:23:35.282Z] -rw-rw-r-- 1 jenkins jenkins 953 Nov 16 16:21 Dockerfile.build [2020-11-16T16:23:35.282Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 16 16:21 Jenkinsfile [2020-11-16T16:23:35.282Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 16 16:21 LICENSE [2020-11-16T16:23:35.282Z] -rw-rw-r-- 1 jenkins jenkins 902 Nov 16 16:21 Makefile [2020-11-16T16:23:35.282Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 16 16:21 README.md [2020-11-16T16:23:35.282Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 16 16:19 VERSION [2020-11-16T16:23:35.282Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 16:21 bin [2020-11-16T16:23:35.282Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 16:21 cmd [2020-11-16T16:23:35.282Z] -rw-r--r-- 1 jenkins jenkins 18940 Nov 16 16:23 coverage.out [2020-11-16T16:23:35.282Z] -rw-r--r-- 1 jenkins jenkins 504 Nov 16 16:23 go.mod [2020-11-16T16:23:35.282Z] -rw-r--r-- 1 jenkins jenkins 14793 Nov 16 16:23 go.sum [2020-11-16T16:23:35.282Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 16:21 internal [2020-11-16T16:23:35.282Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 16:21 mock [2020-11-16T16:23:35.282Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 16:21 snap [2020-11-16T16:23:35.282Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 16 16:21 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:23:35.671Z] + 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=06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 --label arch=arm64 --label version=1.2.3-dev.10 . [2020-11-16T16:23:35.956Z] Sending build context to Docker daemon 479.7kB [2020-11-16T16:23:35.956Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-11-16T16:23:35.956Z] Step 2/22 : FROM ${BASE} AS builder [2020-11-16T16:23:35.956Z] ---> 70af631d667d [2020-11-16T16:23:35.956Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-11-16T16:23:36.235Z] ---> Running in df44b3f2f439 [2020-11-16T16:23:36.830Z] Removing intermediate container df44b3f2f439 [2020-11-16T16:23:36.830Z] ---> b803e395eff4 [2020-11-16T16:23:36.830Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-11-16T16:23:36.830Z] ---> Running in f122e390efe9 [2020-11-16T16:23:37.431Z] Removing intermediate container f122e390efe9 [2020-11-16T16:23:37.431Z] ---> fcb1f6b66a3a [2020-11-16T16:23:37.431Z] Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-16T16:23:37.431Z] ---> Running in f98442ee9ccd [2020-11-16T16:23:40.079Z] Removing intermediate container f98442ee9ccd [2020-11-16T16:23:40.079Z] ---> 1552eb2e670c [2020-11-16T16:23:40.079Z] Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-16T16:23:40.079Z] ---> Running in 8c83c5ff2625 [2020-11-16T16:23:41.525Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-16T16:23:42.122Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-16T16:23:43.103Z] OK: 221 MiB in 53 packages [2020-11-16T16:23:44.082Z] Removing intermediate container 8c83c5ff2625 [2020-11-16T16:23:44.082Z] ---> b7e56ddef713 [2020-11-16T16:23:44.082Z] Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-11-16T16:23:44.355Z] ---> Running in 6d3ae07d8db4 [2020-11-16T16:23:44.630Z] Removing intermediate container 6d3ae07d8db4 [2020-11-16T16:23:44.630Z] ---> f50ee14d5450 [2020-11-16T16:23:44.630Z] Step 8/22 : COPY . . [2020-11-16T16:23:45.621Z] ---> 711eadc7a80d [2020-11-16T16:23:45.621Z] Step 9/22 : ARG MAKE='make build' [2020-11-16T16:23:45.895Z] ---> Running in 067211bbbcba [2020-11-16T16:23:46.167Z] Removing intermediate container 067211bbbcba [2020-11-16T16:23:46.167Z] ---> d74a3eabe799 [2020-11-16T16:23:46.167Z] Step 10/22 : RUN $MAKE [2020-11-16T16:23:46.439Z] ---> Running in 3aef9cf7464a [2020-11-16T16:23:47.877Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.2.3-dev.10" -o cmd/device-mqtt ./cmd [2020-11-16T16:24:14.757Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-16T16:24:21.475Z] Removing intermediate container 3aef9cf7464a [2020-11-16T16:24:21.475Z] ---> 30d05eb95631 [2020-11-16T16:24:21.475Z] Step 11/22 : FROM alpine [2020-11-16T16:24:21.747Z] latest: Pulling from library/alpine [2020-11-16T16:24:22.021Z] 5f621e34cdf4: Pulling fs layer [2020-11-16T16:24:22.300Z] 5f621e34cdf4: Verifying Checksum [2020-11-16T16:24:22.899Z] 5f621e34cdf4: Pull complete [2020-11-16T16:24:22.899Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-16T16:24:22.899Z] Status: Downloaded newer image for alpine:latest [2020-11-16T16:24:22.899Z] ---> 2e77e061c27f [2020-11-16T16:24:22.899Z] Step 12/22 : ENV APP_PORT=49982 [2020-11-16T16:24:23.186Z] ---> Running in caeb958b9a3f [2020-11-16T16:24:23.465Z] Removing intermediate container caeb958b9a3f [2020-11-16T16:24:23.465Z] ---> 334ed5820944 [2020-11-16T16:24:23.465Z] Step 13/22 : EXPOSE $APP_PORT [2020-11-16T16:24:23.738Z] ---> Running in a0cca94e19c4 [2020-11-16T16:24:24.011Z] Removing intermediate container a0cca94e19c4 [2020-11-16T16:24:24.011Z] ---> aab013717300 [2020-11-16T16:24:24.011Z] Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-11-16T16:24:25.439Z] ---> d2ea7f962cb2 [2020-11-16T16:24:25.439Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2020-11-16T16:24:26.034Z] ---> bd1959118805 [2020-11-16T16:24:26.034Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2020-11-16T16:24:26.628Z] ---> f84f8c97bc34 [2020-11-16T16:24:26.628Z] Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-11-16T16:24:26.908Z] ---> Running in 8991ec913909 [2020-11-16T16:24:27.510Z] Removing intermediate container 8991ec913909 [2020-11-16T16:24:27.510Z] ---> 8d669adc691b [2020-11-16T16:24:27.510Z] Step 18/22 : ENTRYPOINT ["/device-mqtt"] [2020-11-16T16:24:27.510Z] ---> Running in 52a9d9868a96 [2020-11-16T16:24:28.104Z] Removing intermediate container 52a9d9868a96 [2020-11-16T16:24:28.104Z] ---> 766dc8d42e10 [2020-11-16T16:24:28.104Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-16T16:24:28.104Z] ---> Running in fac6dabd56c4 [2020-11-16T16:24:28.708Z] Removing intermediate container fac6dabd56c4 [2020-11-16T16:24:28.708Z] ---> e0f147c1bf50 [2020-11-16T16:24:28.708Z] Step 20/22 : LABEL arch=arm64 [2020-11-16T16:24:28.708Z] ---> Running in bbacff6776ab [2020-11-16T16:24:29.303Z] Removing intermediate container bbacff6776ab [2020-11-16T16:24:29.303Z] ---> 145a26df2c52 [2020-11-16T16:24:29.303Z] Step 21/22 : LABEL git_sha=06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 [2020-11-16T16:24:29.303Z] ---> Running in d921115328a0 [2020-11-16T16:24:29.902Z] Removing intermediate container d921115328a0 [2020-11-16T16:24:29.902Z] ---> bb87c992042c [2020-11-16T16:24:29.902Z] Step 22/22 : LABEL version=1.2.3-dev.10 [2020-11-16T16:24:29.902Z] ---> Running in fcab181f8ef1 [2020-11-16T16:24:30.177Z] Removing intermediate container fcab181f8ef1 [2020-11-16T16:24:30.177Z] ---> 739153b7d4f1 [2020-11-16T16:24:30.177Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-16T16:24:30.450Z] Successfully built 739153b7d4f1 [2020-11-16T16:24:30.450Z] 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 [2020-11-16T16:24:30.953Z] provisioning config files... [2020-11-16T16:24:30.991Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/24@tmp/config6742128666396339546tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:24:31.380Z] ---> docker-login.sh [2020-11-16T16:24:31.380Z] nexus3.edgexfoundry.org:10001 [2020-11-16T16:24:31.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:24:31.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:24:31.927Z] Configure a credential helper to remove this warning. See [2020-11-16T16:24:31.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:24:31.927Z] [2020-11-16T16:24:31.927Z] Login Succeeded [2020-11-16T16:24:31.927Z] nexus3.edgexfoundry.org:10002 [2020-11-16T16:24:32.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:24:32.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:24:32.472Z] Configure a credential helper to remove this warning. See [2020-11-16T16:24:32.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:24:32.472Z] [2020-11-16T16:24:32.472Z] Login Succeeded [2020-11-16T16:24:32.472Z] nexus3.edgexfoundry.org:10003 [2020-11-16T16:24:32.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:24:33.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:24:33.018Z] Configure a credential helper to remove this warning. See [2020-11-16T16:24:33.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:24:33.018Z] [2020-11-16T16:24:33.018Z] Login Succeeded [2020-11-16T16:24:33.018Z] nexus3.edgexfoundry.org:10004 [2020-11-16T16:24:33.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:24:33.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:24:33.562Z] Configure a credential helper to remove this warning. See [2020-11-16T16:24:33.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:24:33.562Z] [2020-11-16T16:24:33.562Z] Login Succeeded [2020-11-16T16:24:33.562Z] docker.io [2020-11-16T16:24:34.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-16T16:24:34.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-16T16:24:34.186Z] Configure a credential helper to remove this warning. See [2020-11-16T16:24:34.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-16T16:24:34.186Z] [2020-11-16T16:24:34.458Z] Login Succeeded [2020-11-16T16:24:34.458Z] ---> docker-login.sh ends [Pipeline] } [2020-11-16T16:24:34.481Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-16T16:24:34.703Z] [edgeXDocker.push] Tagging docker image docker-device-mqtt-go-arm64 with the following tags: [2020-11-16T16:24:34.703Z] 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 [2020-11-16T16:24:34.703Z] latest [2020-11-16T16:24:34.703Z] 1.2.3-dev.10 [2020-11-16T16:24:34.703Z] 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372-1.2.3-dev.10 [2020-11-16T16:24:34.703Z] master [2020-11-16T16:24:34.703Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:24:35.203Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:24:35.535Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 [2020-11-16T16:24:35.535Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2020-11-16T16:24:35.535Z] cf15dfc874d8: Preparing [2020-11-16T16:24:35.535Z] d8177835088d: Preparing [2020-11-16T16:24:35.535Z] e596548b009d: Preparing [2020-11-16T16:24:35.535Z] cd3761cfa1d9: Preparing [2020-11-16T16:24:35.809Z] cd3761cfa1d9: Layer already exists [2020-11-16T16:24:35.809Z] d8177835088d: Pushed [2020-11-16T16:24:35.809Z] cf15dfc874d8: Pushed [2020-11-16T16:24:38.419Z] e596548b009d: Pushed [2020-11-16T16:24:38.419Z] 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372: digest: sha256:9eafadf69f451d1ffd036d200c173867451dff0cf52fd7a6a88e29c6effd5dc2 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:24:39.031Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:24:39.364Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [2020-11-16T16:24:39.364Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2020-11-16T16:24:39.364Z] cf15dfc874d8: Preparing [2020-11-16T16:24:39.364Z] d8177835088d: Preparing [2020-11-16T16:24:39.364Z] e596548b009d: Preparing [2020-11-16T16:24:39.364Z] cd3761cfa1d9: Preparing [2020-11-16T16:24:39.635Z] cf15dfc874d8: Layer already exists [2020-11-16T16:24:39.635Z] d8177835088d: Layer already exists [2020-11-16T16:24:39.635Z] cd3761cfa1d9: Layer already exists [2020-11-16T16:24:39.635Z] e596548b009d: Layer already exists [2020-11-16T16:24:39.635Z] latest: digest: sha256:9eafadf69f451d1ffd036d200c173867451dff0cf52fd7a6a88e29c6effd5dc2 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:24:39.979Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.2.3-dev.10 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:24:40.310Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.2.3-dev.10 [2020-11-16T16:24:40.310Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2020-11-16T16:24:40.310Z] cf15dfc874d8: Preparing [2020-11-16T16:24:40.310Z] d8177835088d: Preparing [2020-11-16T16:24:40.310Z] e596548b009d: Preparing [2020-11-16T16:24:40.310Z] cd3761cfa1d9: Preparing [2020-11-16T16:24:40.310Z] e596548b009d: Layer already exists [2020-11-16T16:24:40.310Z] d8177835088d: Layer already exists [2020-11-16T16:24:40.310Z] cf15dfc874d8: Layer already exists [2020-11-16T16:24:40.310Z] cd3761cfa1d9: Layer already exists [2020-11-16T16:24:40.581Z] 1.2.3-dev.10: digest: sha256:9eafadf69f451d1ffd036d200c173867451dff0cf52fd7a6a88e29c6effd5dc2 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:24:40.919Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372-1.2.3-dev.10 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:24:41.255Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372-1.2.3-dev.10 [2020-11-16T16:24:41.255Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2020-11-16T16:24:41.255Z] cf15dfc874d8: Preparing [2020-11-16T16:24:41.255Z] d8177835088d: Preparing [2020-11-16T16:24:41.255Z] e596548b009d: Preparing [2020-11-16T16:24:41.255Z] cd3761cfa1d9: Preparing [2020-11-16T16:24:41.255Z] cd3761cfa1d9: Layer already exists [2020-11-16T16:24:41.255Z] cf15dfc874d8: Layer already exists [2020-11-16T16:24:41.255Z] d8177835088d: Layer already exists [2020-11-16T16:24:41.255Z] e596548b009d: Layer already exists [2020-11-16T16:24:41.524Z] 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372-1.2.3-dev.10: digest: sha256:9eafadf69f451d1ffd036d200c173867451dff0cf52fd7a6a88e29c6effd5dc2 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:24:41.865Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:24:42.199Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [2020-11-16T16:24:42.200Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2020-11-16T16:24:42.200Z] cf15dfc874d8: Preparing [2020-11-16T16:24:42.200Z] d8177835088d: Preparing [2020-11-16T16:24:42.200Z] e596548b009d: Preparing [2020-11-16T16:24:42.200Z] cd3761cfa1d9: Preparing [2020-11-16T16:24:42.469Z] cd3761cfa1d9: Layer already exists [2020-11-16T16:24:42.470Z] e596548b009d: Layer already exists [2020-11-16T16:24:42.470Z] d8177835088d: Layer already exists [2020-11-16T16:24:42.470Z] cf15dfc874d8: Layer already exists [2020-11-16T16:24:42.470Z] master: digest: sha256:9eafadf69f451d1ffd036d200c173867451dff0cf52fd7a6a88e29c6effd5dc2 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-11-16T16:24:42.723Z] ===================================================== [Pipeline] echo [2020-11-16T16:24:42.769Z] taggedImages: [2020-11-16T16:24:42.769Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 [2020-11-16T16:24:42.769Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [2020-11-16T16:24:42.769Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.2.3-dev.10 [2020-11-16T16:24:42.769Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372-1.2.3-dev.10 [2020-11-16T16:24:42.769Z] - 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 [2020-11-16T16:24:44.507Z] provisioning config files... [2020-11-16T16:24:44.531Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config591490216114570386tmp [Pipeline] { [Pipeline] sh [2020-11-16T16:24:44.915Z] + set +x [2020-11-16T16:24:44.915Z] + curl -s https://codecov.io/bash [2020-11-16T16:24:44.915Z] + bash -s -- [2020-11-16T16:24:45.179Z] [2020-11-16T16:24:45.179Z] _____ _ [2020-11-16T16:24:45.179Z] / ____| | | [2020-11-16T16:24:45.179Z] | | ___ __| | ___ ___ _____ __ [2020-11-16T16:24:45.179Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-16T16:24:45.179Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-16T16:24:45.179Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-16T16:24:45.179Z] Bash-20201116-eea08d9 [2020-11-16T16:24:45.179Z] [2020-11-16T16:24:45.179Z] [2020-11-16T16:24:45.179Z] ==> Jenkins CI detected. [2020-11-16T16:24:45.179Z] project root: . [2020-11-16T16:24:45.179Z] --> token set from env [2020-11-16T16:24:45.179Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-16T16:24:45.179Z] ==> Running gcov in . (disable via -X gcov) [2020-11-16T16:24:45.179Z] ==> Python coveragepy not found [2020-11-16T16:24:45.179Z] ==> Searching for coverage reports in: [2020-11-16T16:24:45.179Z] + . [2020-11-16T16:24:45.179Z] -> Found 1 reports [2020-11-16T16:24:45.179Z] ==> Detecting git/mercurial file structure [2020-11-16T16:24:45.179Z] ==> Reading reports [2020-11-16T16:24:45.179Z] + ./coverage.out bytes=18940 [2020-11-16T16:24:45.179Z] ==> Appending adjustments [2020-11-16T16:24:45.179Z] https://docs.codecov.io/docs/fixing-reports [2020-11-16T16:24:45.179Z] + Found adjustments [2020-11-16T16:24:45.443Z] ==> Gzipping contents [2020-11-16T16:24:45.443Z] ==> Uploading reports [2020-11-16T16:24:45.443Z] url: https://codecov.io [2020-11-16T16:24:45.443Z] query: branch=master&commit=06d3741ca62ebd3e4d9b2e85a020dae99c1fa372&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-16T16:24:45.443Z] -> Pinging Codecov [2020-11-16T16:24:45.443Z] https://codecov.io/upload/v4?package=bash-20201116-eea08d9&token=secret&branch=master&commit=06d3741ca62ebd3e4d9b2e85a020dae99c1fa372&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-16T16:24:46.023Z] -> Uploading to [2020-11-16T16:24:46.023Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-16/7D719EC7BBE17E464838252E33014C33/06d3741ca62ebd3e4d9b2e85a020dae99c1fa372/5a56c681-2154-43e9-8849-fbde86d9b60b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201116T162445Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c46311324436c43f64b1bd003f276fdfc1c2e6a6d3dcf2452d0c9d0828ddfc95 [2020-11-16T16:24:46.023Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-16T16:24:46.023Z] Dload Upload Total Spent Left Speed [2020-11-16T16:24:46.300Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3275 0 0 100 3275 0 7764 --:--:-- --:--:-- --:--:-- 7779 [2020-11-16T16:24:46.300Z] -> View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 [Pipeline] } [2020-11-16T16:24:46.312Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-11-16T16:24:47.327Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-11-16T16:24:47.378Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:24:47.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-16T16:24:47.748Z] [2020-11-16T16:24:47.749Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:24:48.104Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-16T16:24:48.104Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-11-16T16:24:48.104Z] 188c0c94c7c5: Pulling fs layer [2020-11-16T16:24:48.104Z] 0ef7d3d256c8: Pulling fs layer [2020-11-16T16:24:48.104Z] de9db76c5a1d: Pulling fs layer [2020-11-16T16:24:48.104Z] 0eba1c9be4d2: Pulling fs layer [2020-11-16T16:24:48.104Z] 0d57e429df01: Pulling fs layer [2020-11-16T16:24:48.104Z] 4e4be7b47b0d: Pulling fs layer [2020-11-16T16:24:48.104Z] e1f770b5df2f: Pulling fs layer [2020-11-16T16:24:48.104Z] 85a0685a4137: Pulling fs layer [2020-11-16T16:24:48.104Z] 0eba1c9be4d2: Waiting [2020-11-16T16:24:48.104Z] 0d57e429df01: Waiting [2020-11-16T16:24:48.104Z] 4e4be7b47b0d: Waiting [2020-11-16T16:24:48.104Z] e1f770b5df2f: Waiting [2020-11-16T16:24:48.104Z] 85a0685a4137: Waiting [2020-11-16T16:24:48.104Z] de9db76c5a1d: Verifying Checksum [2020-11-16T16:24:48.104Z] de9db76c5a1d: Download complete [2020-11-16T16:24:48.104Z] 0ef7d3d256c8: Verifying Checksum [2020-11-16T16:24:48.104Z] 0ef7d3d256c8: Download complete [2020-11-16T16:24:48.104Z] 0d57e429df01: Download complete [2020-11-16T16:24:48.104Z] 188c0c94c7c5: Verifying Checksum [2020-11-16T16:24:48.104Z] 188c0c94c7c5: Download complete [2020-11-16T16:24:48.104Z] 4e4be7b47b0d: Download complete [2020-11-16T16:24:48.693Z] 188c0c94c7c5: Pull complete [2020-11-16T16:24:48.959Z] e1f770b5df2f: Verifying Checksum [2020-11-16T16:24:48.959Z] e1f770b5df2f: Download complete [2020-11-16T16:24:48.959Z] 0ef7d3d256c8: Pull complete [2020-11-16T16:24:48.959Z] de9db76c5a1d: Pull complete [2020-11-16T16:24:51.545Z] 0eba1c9be4d2: Verifying Checksum [2020-11-16T16:24:51.545Z] 0eba1c9be4d2: Download complete [2020-11-16T16:24:51.810Z] 85a0685a4137: Verifying Checksum [2020-11-16T16:24:51.810Z] 85a0685a4137: Download complete [2020-11-16T16:24:57.144Z] 0eba1c9be4d2: Pull complete [2020-11-16T16:24:57.144Z] 0d57e429df01: Pull complete [2020-11-16T16:24:57.144Z] 4e4be7b47b0d: Pull complete [2020-11-16T16:24:59.067Z] e1f770b5df2f: Pull complete [2020-11-16T16:25:07.288Z] 85a0685a4137: Pull complete [2020-11-16T16:25:07.288Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-11-16T16:25:07.288Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-16T16:25:07.288Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-11-16T16:25:07.499Z] prd-centos7-docker-4c-2g-12254 does not seem to be running inside a container [2020-11-16T16:25:07.561Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-11-16T16:25:08.472Z] $ docker top 901e45dd59ec847e4f0de2921356bef1588eed903fb3e556581d0f41060488ee -eo pid,comm [Pipeline] { [Pipeline] echo [2020-11-16T16:25:08.711Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-11-16T16:25:09.003Z] + set -o pipefail [2020-11-16T16:25:09.003Z] + snyk monitor '--org=edgex-jenkins' [2020-11-16T16:25:27.212Z] [2020-11-16T16:25:27.212Z] Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... [2020-11-16T16:25:27.212Z] [2020-11-16T16:25:27.212Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/9fa507d7-fde4-4b7c-b7bb-4fdff2ecbe02 [2020-11-16T16:25:27.212Z] [2020-11-16T16:25:27.212Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-11-16T16:25:27.212Z] [2020-11-16T16:25:27.212Z] [Pipeline] } [2020-11-16T16:25:27.243Z] $ docker stop --time=1 901e45dd59ec847e4f0de2921356bef1588eed903fb3e556581d0f41060488ee [2020-11-16T16:25:30.135Z] $ docker rm -f 901e45dd59ec847e4f0de2921356bef1588eed903fb3e556581d0f41060488ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) [Pipeline] script [Pipeline] { [Pipeline] echo [2020-11-16T16:25:31.251Z] [edgeXSnyk] dockerImage=nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372, dockerFile=Dockerfile [Pipeline] echo [2020-11-16T16:25:31.253Z] [edgeXSnyk] downloading global ignore policy file from: https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [Pipeline] sh [2020-11-16T16:25:31.553Z] + set -o pipefail [2020-11-16T16:25:31.553Z] + curl -s https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [2020-11-16T16:25:31.553Z] + tee .snyk [2020-11-16T16:25:31.817Z] # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. [2020-11-16T16:25:31.817Z] version: v1.14.1 [2020-11-16T16:25:31.817Z] # ignores vulnerabilities until expiry date; change duration by modifying expiry date [2020-11-16T16:25:31.817Z] # ignore: [2020-11-16T16:25:31.817Z] # SNYK-ALPINE39-ONIGURUMA-1017393: # snyk ID for the issue to ignore. Required. [2020-11-16T16:25:31.817Z] # - '*': [2020-11-16T16:25:31.817Z] # reason: does not apply # justification for ignoring [2020-11-16T16:25:31.817Z] # expires: 2020-11-18T20:53:17.624Z # expiry date string, according to RFC2822 (https://tools.ietf.org/html/rfc2822#page-14) [2020-11-16T16:25:31.817Z] # patch: {} [Pipeline] withCredentials [2020-11-16T16:25:31.909Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:32.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-16T16:25:32.262Z] . [Pipeline] withDockerContainer [2020-11-16T16:25:32.388Z] prd-centos7-docker-4c-2g-12254 does not seem to be running inside a container [2020-11-16T16:25:32.450Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-11-16T16:25:33.292Z] $ docker top 40a04e902253bfdf98798288bd7d8742c6e24a61f1d383002c300011050b4ef0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:25:33.906Z] + rm -f snykReport.html [Pipeline] echo [2020-11-16T16:25:33.918Z] [edgeXSnyk] command to run: set -o pipefail ; snyk test --org=edgex-jenkins --docker nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 --file=./Dockerfile --severity-threshold=high --policy-path=./.snyk --json | snyk-to-html -o snykReport.html [Pipeline] sh [2020-11-16T16:25:34.215Z] + set -o pipefail [2020-11-16T16:25:34.215Z] + snyk test '--org=edgex-jenkins' --docker nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 '--file=./Dockerfile' '--severity-threshold=high' '--policy-path=./.snyk' --json [2020-11-16T16:25:34.215Z] + snyk-to-html -o snykReport.html [2020-11-16T16:25:42.426Z] Vulnerability snapshot saved at snykReport.html [Pipeline] } [2020-11-16T16:25:42.449Z] $ docker stop --time=1 40a04e902253bfdf98798288bd7d8742c6e24a61f1d383002c300011050b4ef0 [2020-11-16T16:25:43.946Z] $ docker rm -f 40a04e902253bfdf98798288bd7d8742c6e24a61f1d383002c300011050b4ef0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [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 [2020-11-16T16:25:45.696Z] + git log --format=format:%s -1 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:46.029Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:25:46.029Z] . [Pipeline] withDockerContainer [2020-11-16T16:25:46.149Z] prd-centos7-docker-4c-2g-12254 does not seem to be running inside a container [2020-11-16T16:25:46.196Z] $ 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 [2020-11-16T16:25:46.918Z] $ docker top 35a0e0aa07a5ee5617f4905f99d99d456d6874e96745fdf42b11df8eb0cbe26a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-16T16:25:47.284Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T16:25:47.284Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T16:25:47.496Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T16:25:47.501Z] $ docker exec 35a0e0aa07a5ee5617f4905f99d99d456d6874e96745fdf42b11df8eb0cbe26a ssh-agent [2020-11-16T16:25:47.674Z] SSH_AUTH_SOCK=/tmp/ssh-vUU1whT43TGK/agent.12 [2020-11-16T16:25:47.674Z] SSH_AGENT_PID=17 [2020-11-16T16:25:47.682Z] Running ssh-add (command line suppressed) [2020-11-16T16:25:47.816Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4574881281509241228.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4574881281509241228.key) [2020-11-16T16:25:47.874Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T16:25:48.214Z] + git semver tag [2020-11-16T16:25:48.214Z] # -> Open(): unable to determine branch for HEAD [2020-11-16T16:25:48.214Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2020-11-16T16:25:48.214Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2020-11-16T16:25:48.214Z] # $SEMVER_REMOTE_NAME = origin [2020-11-16T16:25:48.214Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-16T16:25:48.214Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-16T16:25:48.214Z] # $SEMVER_BRANCH = master [2020-11-16T16:25:48.214Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2020-11-16T16:25:48.214Z] # 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 HEAD [2020-11-16T16:25:48.214Z] # -> Force: false [2020-11-16T16:25:48.214Z] # 5ccd0d31271a20195b8b3042ab3463fe7e7c57a2 refs/tags/v1.2.3-dev.10 [Pipeline] } [2020-11-16T16:25:48.229Z] $ docker exec --env ******** --env ******** 35a0e0aa07a5ee5617f4905f99d99d456d6874e96745fdf42b11df8eb0cbe26a ssh-agent -k [2020-11-16T16:25:48.376Z] unset SSH_AUTH_SOCK; [2020-11-16T16:25:48.376Z] unset SSH_AGENT_PID; [2020-11-16T16:25:48.376Z] echo Agent pid 17 killed; [2020-11-16T16:25:48.425Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-16T16:25:48.935Z] + git semver [Pipeline] } [2020-11-16T16:25:48.955Z] $ docker stop --time=1 35a0e0aa07a5ee5617f4905f99d99d456d6874e96745fdf42b11df8eb0cbe26a [2020-11-16T16:25:50.351Z] $ docker rm -f 35a0e0aa07a5ee5617f4905f99d99d456d6874e96745fdf42b11df8eb0cbe26a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:51.094Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-16T16:25:51.094Z] [2020-11-16T16:25:51.094Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:25:51.451Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-16T16:25:51.452Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-11-16T16:25:51.452Z] ab5ef0e58194: Pulling fs layer [2020-11-16T16:25:51.452Z] 9712f1f96733: Pulling fs layer [2020-11-16T16:25:51.452Z] 63f879dbbcfc: Pulling fs layer [2020-11-16T16:25:51.452Z] 0d9ebad4ef96: Pulling fs layer [2020-11-16T16:25:51.452Z] e9a5061849ea: Pulling fs layer [2020-11-16T16:25:51.452Z] d747dcd14b5f: Pulling fs layer [2020-11-16T16:25:51.452Z] 2de7ff778b66: Pulling fs layer [2020-11-16T16:25:51.452Z] 0d9ebad4ef96: Waiting [2020-11-16T16:25:51.452Z] e9a5061849ea: Waiting [2020-11-16T16:25:51.452Z] d747dcd14b5f: Waiting [2020-11-16T16:25:51.452Z] 2de7ff778b66: Waiting [2020-11-16T16:25:51.452Z] 9712f1f96733: Verifying Checksum [2020-11-16T16:25:51.452Z] 9712f1f96733: Download complete [2020-11-16T16:25:53.386Z] 63f879dbbcfc: Verifying Checksum [2020-11-16T16:25:53.386Z] 63f879dbbcfc: Download complete [2020-11-16T16:25:53.653Z] e9a5061849ea: Verifying Checksum [2020-11-16T16:25:53.653Z] e9a5061849ea: Download complete [2020-11-16T16:25:53.653Z] d747dcd14b5f: Verifying Checksum [2020-11-16T16:25:53.653Z] d747dcd14b5f: Download complete [2020-11-16T16:25:54.238Z] 2de7ff778b66: Verifying Checksum [2020-11-16T16:25:54.238Z] 2de7ff778b66: Download complete [2020-11-16T16:25:54.501Z] 0d9ebad4ef96: Verifying Checksum [2020-11-16T16:25:54.501Z] 0d9ebad4ef96: Download complete [2020-11-16T16:25:54.501Z] ab5ef0e58194: Verifying Checksum [2020-11-16T16:25:54.501Z] ab5ef0e58194: Download complete [2020-11-16T16:25:58.741Z] ab5ef0e58194: Pull complete [2020-11-16T16:25:58.741Z] 9712f1f96733: Pull complete [2020-11-16T16:26:02.065Z] 63f879dbbcfc: Pull complete [2020-11-16T16:26:08.724Z] 0d9ebad4ef96: Pull complete [2020-11-16T16:26:11.313Z] e9a5061849ea: Pull complete [2020-11-16T16:26:11.313Z] d747dcd14b5f: Pull complete [2020-11-16T16:26:13.876Z] 2de7ff778b66: Pull complete [2020-11-16T16:26:13.876Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-11-16T16:26:13.876Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-16T16:26:13.876Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-11-16T16:26:14.113Z] prd-centos7-docker-4c-2g-12254 does not seem to be running inside a container [2020-11-16T16:26:14.168Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-11-16T16:26:18.078Z] $ docker top e1b127b5f78ca0ab659c10fe9e0de57cc88196024f7d1f030bf02ef6f2a89769 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-11-16T16:26:18.320Z] provisioning config files... [2020-11-16T16:26:18.333Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config24396648097777060tmp [2020-11-16T16:26:18.349Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config5038161454667888555tmp [2020-11-16T16:26:18.365Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config4683713986359222968tmp [Pipeline] { [Pipeline] echo [2020-11-16T16:26:18.456Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:26:18.777Z] ---> sigul-configuration.sh [2020-11-16T16:26:18.777Z] gpg: directory `/root/.gnupg' created [2020-11-16T16:26:18.777Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-11-16T16:26:18.777Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-11-16T16:26:18.777Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-11-16T16:26:18.777Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-11-16T16:26:18.777Z] gpg: CAST5 encrypted data [2020-11-16T16:26:19.042Z] gpg: encrypted with 1 passphrase [2020-11-16T16:26:19.042Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-11-16T16:26:19.351Z] + mkdir /home/jenkins [2020-11-16T16:26:19.352Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-11-16T16:26:19.658Z] + 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 [2020-11-16T16:26:19.669Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:26:19.966Z] ---> sigul-install.sh [2020-11-16T16:26:25.270Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-11-16T16:26:25.584Z] + git tag --list [2020-11-16T16:26:25.584Z] 0.7.1 [2020-11-16T16:26:25.584Z] v1.0.0 [2020-11-16T16:26:25.584Z] v1.1.0 [2020-11-16T16:26:25.584Z] v1.1.1 [2020-11-16T16:26:25.584Z] v1.2.0 [2020-11-16T16:26:25.584Z] v1.2.1 [2020-11-16T16:26:25.584Z] v1.2.2 [2020-11-16T16:26:25.584Z] v1.2.2-dev.1 [2020-11-16T16:26:25.584Z] v1.2.2-dev.2 [2020-11-16T16:26:25.584Z] v1.2.3-dev.1 [2020-11-16T16:26:25.584Z] v1.2.3-dev.10 [2020-11-16T16:26:25.584Z] v1.2.3-dev.2 [2020-11-16T16:26:25.584Z] v1.2.3-dev.3 [2020-11-16T16:26:25.584Z] v1.2.3-dev.4 [2020-11-16T16:26:25.584Z] v1.2.3-dev.5 [2020-11-16T16:26:25.584Z] v1.2.3-dev.6 [2020-11-16T16:26:25.584Z] v1.2.3-dev.7 [2020-11-16T16:26:25.584Z] v1.2.3-dev.8 [2020-11-16T16:26:25.584Z] v1.2.3-dev.9 [Pipeline] sh [2020-11-16T16:26:25.883Z] + lftools sign git-tag v1.2.3-dev.10 [2020-11-16T16:26:27.275Z] Signing Git tag with Sigul... [2020-11-16T16:26:27.275Z] Signing v1.2.3-dev.10 [Pipeline] echo [2020-11-16T16:26:28.237Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:26:28.545Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-11-16T16:26:28.556Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-11-16T16:26:28.659Z] $ docker stop --time=1 e1b127b5f78ca0ab659c10fe9e0de57cc88196024f7d1f030bf02ef6f2a89769 [2020-11-16T16:26:30.620Z] $ docker rm -f e1b127b5f78ca0ab659c10fe9e0de57cc88196024f7d1f030bf02ef6f2a89769 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:26:31.703Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:26:31.703Z] . [Pipeline] withDockerContainer [2020-11-16T16:26:31.811Z] prd-centos7-docker-4c-2g-12254 does not seem to be running inside a container [2020-11-16T16:26:31.861Z] $ 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 [2020-11-16T16:26:32.725Z] $ docker top bed64e03754d1f0e253dc077bbc888f0db222a9590d9b69f9ffadb718e628837 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-16T16:26:33.064Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T16:26:33.064Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T16:26:33.299Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T16:26:33.304Z] $ docker exec bed64e03754d1f0e253dc077bbc888f0db222a9590d9b69f9ffadb718e628837 ssh-agent [2020-11-16T16:26:33.478Z] SSH_AUTH_SOCK=/tmp/ssh-lCBwQPZmA4tr/agent.12 [2020-11-16T16:26:33.478Z] SSH_AGENT_PID=18 [2020-11-16T16:26:33.485Z] Running ssh-add (command line suppressed) [2020-11-16T16:26:33.614Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5636521792565735777.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5636521792565735777.key) [2020-11-16T16:26:33.667Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T16:26:34.018Z] + git semver bump pre [2020-11-16T16:26:34.018Z] # -> Open(): unable to determine branch for HEAD [2020-11-16T16:26:34.018Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2020-11-16T16:26:34.018Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2020-11-16T16:26:34.018Z] # $SEMVER_REMOTE_NAME = origin [2020-11-16T16:26:34.018Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-16T16:26:34.018Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-16T16:26:34.018Z] # $SEMVER_BRANCH = master [2020-11-16T16:26:34.018Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2020-11-16T16:26:34.018Z] 1.2.3-dev.11 [Pipeline] } [2020-11-16T16:26:34.033Z] $ docker exec --env ******** --env ******** bed64e03754d1f0e253dc077bbc888f0db222a9590d9b69f9ffadb718e628837 ssh-agent -k [2020-11-16T16:26:34.154Z] unset SSH_AUTH_SOCK; [2020-11-16T16:26:34.154Z] unset SSH_AGENT_PID; [2020-11-16T16:26:34.155Z] echo Agent pid 18 killed; [2020-11-16T16:26:34.207Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-16T16:26:34.671Z] + git semver [Pipeline] } [2020-11-16T16:26:34.689Z] $ docker stop --time=1 bed64e03754d1f0e253dc077bbc888f0db222a9590d9b69f9ffadb718e628837 [2020-11-16T16:26:36.063Z] $ docker rm -f bed64e03754d1f0e253dc077bbc888f0db222a9590d9b69f9ffadb718e628837 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:26:36.585Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-16T16:26:36.585Z] . [Pipeline] withDockerContainer [2020-11-16T16:26:36.688Z] prd-centos7-docker-4c-2g-12254 does not seem to be running inside a container [2020-11-16T16:26:36.740Z] $ 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 [2020-11-16T16:26:37.388Z] $ docker top 4b8d30fb9c49bd4bc2df35baa5246ab29a3e80603b78e6a933ff4c41acb82710 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-16T16:26:37.818Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-16T16:26:37.818Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-16T16:26:38.014Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-16T16:26:38.020Z] $ docker exec 4b8d30fb9c49bd4bc2df35baa5246ab29a3e80603b78e6a933ff4c41acb82710 ssh-agent [2020-11-16T16:26:38.203Z] SSH_AUTH_SOCK=/tmp/ssh-DqiwfXbzPFMO/agent.11 [2020-11-16T16:26:38.203Z] SSH_AGENT_PID=16 [2020-11-16T16:26:38.219Z] Running ssh-add (command line suppressed) [2020-11-16T16:26:38.348Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3477715949569219805.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3477715949569219805.key) [2020-11-16T16:26:38.405Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-16T16:26:38.739Z] + git semver push [2020-11-16T16:26:38.739Z] # -> Open(): unable to determine branch for HEAD [2020-11-16T16:26:38.739Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2020-11-16T16:26:38.739Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2020-11-16T16:26:38.739Z] # $SEMVER_REMOTE_NAME = origin [2020-11-16T16:26:38.739Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-16T16:26:38.739Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-16T16:26:38.739Z] # $SEMVER_BRANCH = master [2020-11-16T16:26:38.739Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2020-11-16T16:26:45.360Z] $ docker exec --env ******** --env ******** 4b8d30fb9c49bd4bc2df35baa5246ab29a3e80603b78e6a933ff4c41acb82710 ssh-agent -k [2020-11-16T16:26:45.492Z] unset SSH_AUTH_SOCK; [2020-11-16T16:26:45.492Z] unset SSH_AGENT_PID; [2020-11-16T16:26:45.493Z] echo Agent pid 16 killed; [2020-11-16T16:26:45.545Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-16T16:26:46.077Z] + git semver [Pipeline] } [2020-11-16T16:26:46.097Z] $ docker stop --time=1 4b8d30fb9c49bd4bc2df35baa5246ab29a3e80603b78e6a933ff4c41acb82710 [2020-11-16T16:26:47.469Z] $ docker rm -f 4b8d30fb9c49bd4bc2df35baa5246ab29a3e80603b78e6a933ff4c41acb82710 [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 [2020-11-16T16:26:48.895Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:26:49.463Z] ---> package-listing.sh [2020-11-16T16:26:49.463Z] ++ facter osfamily [2020-11-16T16:26:49.463Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-16T16:26:49.463Z] + OS_FAMILY=redhat [2020-11-16T16:26:49.463Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_master [2020-11-16T16:26:49.463Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-16T16:26:49.463Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-16T16:26:49.463Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-16T16:26:49.463Z] + PACKAGES=/tmp/packages_start.txt [2020-11-16T16:26:49.463Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2020-11-16T16:26:49.463Z] + PACKAGES=/tmp/packages_end.txt [2020-11-16T16:26:49.463Z] + case "${OS_FAMILY}" in [2020-11-16T16:26:49.463Z] + rpm -qa [2020-11-16T16:26:49.463Z] + sort [2020-11-16T16:26:53.683Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-16T16:26:53.683Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-16T16:26:53.683Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-16T16:26:53.683Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2020-11-16T16:26:53.683Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [2020-11-16T16:26:53.683Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo [2020-11-16T16:26:53.697Z] 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 [2020-11-16T16:26:53.992Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:26:54.297Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T16:26:54.297Z] [2020-11-16T16:26:54.297Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-16T16:26:54.644Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T16:26:54.644Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-16T16:26:54.644Z] df20fa9351a1: Pulling fs layer [2020-11-16T16:26:54.644Z] 36b3adc4ff6f: Pulling fs layer [2020-11-16T16:26:54.644Z] 8ad3a11d3b57: Pulling fs layer [2020-11-16T16:26:54.644Z] 46f8f816bc3b: Pulling fs layer [2020-11-16T16:26:54.644Z] 93b61091891f: Pulling fs layer [2020-11-16T16:26:54.644Z] 93b9cdb0e59b: Pulling fs layer [2020-11-16T16:26:54.644Z] 5e14af77c1be: Pulling fs layer [2020-11-16T16:26:54.644Z] 01666e4c0597: Pulling fs layer [2020-11-16T16:26:54.644Z] aa168da1d23b: Pulling fs layer [2020-11-16T16:26:54.644Z] 46f8f816bc3b: Waiting [2020-11-16T16:26:54.644Z] 93b61091891f: Waiting [2020-11-16T16:26:54.644Z] 93b9cdb0e59b: Waiting [2020-11-16T16:26:54.644Z] 5e14af77c1be: Waiting [2020-11-16T16:26:54.644Z] 01666e4c0597: Waiting [2020-11-16T16:26:54.644Z] aa168da1d23b: Waiting [2020-11-16T16:26:54.644Z] 36b3adc4ff6f: Verifying Checksum [2020-11-16T16:26:54.644Z] 36b3adc4ff6f: Download complete [2020-11-16T16:26:54.644Z] 46f8f816bc3b: Verifying Checksum [2020-11-16T16:26:54.644Z] 46f8f816bc3b: Download complete [2020-11-16T16:26:54.644Z] df20fa9351a1: Download complete [2020-11-16T16:26:54.644Z] 93b9cdb0e59b: Verifying Checksum [2020-11-16T16:26:54.644Z] 93b9cdb0e59b: Download complete [2020-11-16T16:26:54.644Z] 5e14af77c1be: Verifying Checksum [2020-11-16T16:26:54.644Z] 5e14af77c1be: Download complete [2020-11-16T16:26:54.644Z] 93b61091891f: Verifying Checksum [2020-11-16T16:26:54.644Z] 93b61091891f: Download complete [2020-11-16T16:26:54.907Z] 01666e4c0597: Verifying Checksum [2020-11-16T16:26:54.907Z] 01666e4c0597: Download complete [2020-11-16T16:26:55.171Z] 8ad3a11d3b57: Verifying Checksum [2020-11-16T16:26:55.171Z] 8ad3a11d3b57: Download complete [2020-11-16T16:26:55.435Z] df20fa9351a1: Pull complete [2020-11-16T16:26:55.699Z] 36b3adc4ff6f: Pull complete [2020-11-16T16:26:57.118Z] aa168da1d23b: Verifying Checksum [2020-11-16T16:26:57.118Z] aa168da1d23b: Download complete [2020-11-16T16:26:57.118Z] 8ad3a11d3b57: Pull complete [2020-11-16T16:26:57.382Z] 46f8f816bc3b: Pull complete [2020-11-16T16:26:57.645Z] 93b61091891f: Pull complete [2020-11-16T16:26:57.911Z] 93b9cdb0e59b: Pull complete [2020-11-16T16:26:57.912Z] 5e14af77c1be: Pull complete [2020-11-16T16:26:58.173Z] 01666e4c0597: Pull complete [2020-11-16T16:27:06.368Z] aa168da1d23b: Pull complete [2020-11-16T16:27:06.368Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-16T16:27:06.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-16T16:27:06.368Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-16T16:27:06.570Z] prd-centos7-docker-4c-2g-12254 does not seem to be running inside a container [2020-11-16T16:27:06.619Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-16T16:27:09.468Z] $ docker top 86e9dc946e65ce9721c6565c0d60eb7bda10384ff4b37889fcdc42644fba72a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-16T16:27:09.980Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-16T16:27:10.277Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-16T16:27:10.575Z] + ls /var/log/sa-host [2020-11-16T16:27:10.575Z] + sadf -c /var/log/sa-host/sa05 [2020-11-16T16:27:10.575Z] file_magic: OK [2020-11-16T16:27:10.575Z] HZ: Using current value: 100 [2020-11-16T16:27:10.575Z] file_header: OK [2020-11-16T16:27:10.575Z] 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 [2020-11-16T16:27:10.575Z] Statistics: [2020-11-16T16:27:10.575Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-16T16:27:10.575Z] File successfully converted to sysstat format version 12.2.1 [2020-11-16T16:27:10.575Z] + sadf -c /var/log/sa-host/sa16 [2020-11-16T16:27:10.575Z] file_magic: OK [2020-11-16T16:27:10.575Z] HZ: Using current value: 100 [2020-11-16T16:27:10.575Z] file_header: OK [2020-11-16T16:27:10.575Z] 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 [2020-11-16T16:27:10.575Z] Statistics: [2020-11-16T16:27:10.575Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-16T16:27:10.575Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-16T16:27:10.774Z] provisioning config files... [2020-11-16T16:27:10.792Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config4415182629373273066tmp [Pipeline] { [Pipeline] echo [2020-11-16T16:27:10.858Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:27:11.154Z] ---> create-netrc.sh [Pipeline] } [2020-11-16T16:27:11.163Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-16T16:27:11.252Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:27:11.546Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-16T16:27:11.557Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:27:11.854Z] ---> sudo-logs.sh [2020-11-16T16:27:11.855Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-16T16:27:11.866Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:27:12.171Z] ---> job-cost.sh [2020-11-16T16:27:12.171Z] lf-activate-venv: SKIPPING [2020-11-16T16:27:12.171Z] INFO: No Stack... [2020-11-16T16:27:14.091Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-16T16:27:14.091Z] INFO: Archiving Costs [Pipeline] echo [2020-11-16T16:27:14.104Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-16T16:27:14.405Z] ---> logs-deploy.sh [2020-11-16T16:27:14.405Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/24 [2020-11-16T16:27:14.405Z] INFO: archiving workspace using pattern(s): [2020-11-16T16:27:15.795Z] Archives upload complete. [2020-11-16T16:27:16.057Z] INFO: archiving logs to Nexus [2020-11-16T16:27:17.006Z] ---> uname -a: [2020-11-16T16:27:17.006Z] Linux prd-centos7-docker-4c-2g-12254.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux [2020-11-16T16:27:17.006Z] [2020-11-16T16:27:17.006Z] [2020-11-16T16:27:17.006Z] ---> lscpu: [2020-11-16T16:27:17.006Z] Architecture: x86_64 [2020-11-16T16:27:17.006Z] CPU op-mode(s): 32-bit, 64-bit [2020-11-16T16:27:17.006Z] Byte Order: Little Endian [2020-11-16T16:27:17.006Z] Address sizes: 40 bits physical, 48 bits virtual [2020-11-16T16:27:17.006Z] CPU(s): 4 [2020-11-16T16:27:17.006Z] On-line CPU(s) list: 0-3 [2020-11-16T16:27:17.006Z] Thread(s) per core: 1 [2020-11-16T16:27:17.006Z] Core(s) per socket: 1 [2020-11-16T16:27:17.006Z] Socket(s): 4 [2020-11-16T16:27:17.006Z] NUMA node(s): 1 [2020-11-16T16:27:17.006Z] Vendor ID: GenuineIntel [2020-11-16T16:27:17.006Z] CPU family: 6 [2020-11-16T16:27:17.006Z] Model: 44 [2020-11-16T16:27:17.006Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-11-16T16:27:17.006Z] Stepping: 1 [2020-11-16T16:27:17.006Z] CPU MHz: 2933.438 [2020-11-16T16:27:17.006Z] BogoMIPS: 5866.87 [2020-11-16T16:27:17.006Z] Virtualization: VT-x [2020-11-16T16:27:17.006Z] Hypervisor vendor: KVM [2020-11-16T16:27:17.006Z] Virtualization type: full [2020-11-16T16:27:17.006Z] L1d cache: 128 KiB [2020-11-16T16:27:17.006Z] L1i cache: 128 KiB [2020-11-16T16:27:17.006Z] L2 cache: 16 MiB [2020-11-16T16:27:17.006Z] L3 cache: 64 MiB [2020-11-16T16:27:17.006Z] NUMA node0 CPU(s): 0-3 [2020-11-16T16:27:17.006Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2020-11-16T16:27:17.006Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2020-11-16T16:27:17.006Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2020-11-16T16:27:17.006Z] Vulnerability Meltdown: Mitigation; PTI [2020-11-16T16:27:17.006Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-11-16T16:27:17.006Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2020-11-16T16:27:17.006Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2020-11-16T16:27:17.006Z] Vulnerability Tsx async abort: Not affected [2020-11-16T16:27:17.006Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2020-11-16T16:27:17.006Z] [2020-11-16T16:27:17.006Z] [2020-11-16T16:27:17.006Z] ---> nproc: [2020-11-16T16:27:17.006Z] 4 [2020-11-16T16:27:17.006Z] [2020-11-16T16:27:17.006Z]