Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7a1b18f551239dfc150e88617034cadc3790dddc 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-18179’ is offline; ‘prd-centos7-docker-4c-2g-18181’ is offline; ‘prd-centos7-docker-4c-2g-18182’ is offline; ‘prd-centos7-docker-4c-2g-18183’ is offline; ‘prd-centos7-docker-4c-2g-18189’ is offline; ‘prd-centos7-docker-4c-2g-18194’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-18184’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18185’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-18195 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 7a1b18f551239dfc150e88617034cadc3790dddc (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 7a1b18f551239dfc150e88617034cadc3790dddc # timeout=10 Commit message: "Merge pull request #195 from ernestojeda/devops-std-dockerfiles" > git rev-list --no-walk fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-04T16:39:03.169Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-04T16:39:03.442Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-04T16:39:03.570Z] ========================================================= [2021-01-04T16:39:03.570Z] EdgeX Global Pipelines Version Info [2021-01-04T16:39:03.570Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:39:05.065Z] ------------------- [2021-01-04T16:39:05.065Z] stable info: [2021-01-04T16:39:05.065Z] ------------------- [2021-01-04T16:39:05.065Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-04T16:39:05.065Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T16:39:05.065Z] Message: update stable to v1.0.173 [2021-01-04T16:39:06.330Z] ------------------- [2021-01-04T16:39:06.330Z] experimental info: [2021-01-04T16:39:06.330Z] ------------------- [2021-01-04T16:39:06.330Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-04T16:39:06.330Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T16:39:06.330Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-04T16:39:06.604Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-01-04T16:39:06.698Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-01-04T16:39:06.791Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-04T16:39:06.881Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-04T16:39:06.969Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-04T16:39:07.077Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-04T16:39:07.165Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-04T16:39:07.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-04T16:39:07.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-04T16:39:07.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-04T16:39:07.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-04T16:39:07.645Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2021-01-04T16:39:07.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-04T16:39:07.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-04T16:39:07.955Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T16:39:08.055Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T16:39:08.171Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T16:39:08.265Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T16:39:08.354Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-04T16:39:08.447Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-04T16:39:08.541Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-04T16:39:08.633Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-04T16:39:08.722Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-04T16:39:08.831Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-04T16:39:08.922Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-04T16:39:09.013Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-04T16:39:09.105Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-04T16:39:09.206Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-04T16:39:09.314Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-04T16:39:09.409Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-04T16:39:09.524Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7a1b18f551239dfc150e88617034cadc3790dddc [Pipeline] echo [2021-01-04T16:39:09.609Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7a1b18f [Pipeline] echo [2021-01-04T16:39:09.698Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T16:39:09.897Z] provisioning config files... [2021-01-04T16:39:09.929Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config4133769548084329191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:39:10.320Z] ---> docker-login.sh [2021-01-04T16:39:10.321Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:39:10.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:39:10.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:39:10.853Z] Configure a credential helper to remove this warning. See [2021-01-04T16:39:10.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:39:10.853Z] [2021-01-04T16:39:10.853Z] Login Succeeded [2021-01-04T16:39:10.853Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:39:10.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:39:10.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:39:10.853Z] Configure a credential helper to remove this warning. See [2021-01-04T16:39:10.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:39:10.853Z] [2021-01-04T16:39:10.853Z] Login Succeeded [2021-01-04T16:39:10.853Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:39:11.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:39:11.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:39:11.116Z] Configure a credential helper to remove this warning. See [2021-01-04T16:39:11.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:39:11.116Z] [2021-01-04T16:39:11.116Z] Login Succeeded [2021-01-04T16:39:11.116Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:39:11.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:39:11.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:39:11.379Z] Configure a credential helper to remove this warning. See [2021-01-04T16:39:11.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:39:11.379Z] [2021-01-04T16:39:11.379Z] Login Succeeded [2021-01-04T16:39:11.379Z] docker.io [2021-01-04T16:39:11.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:39:11.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:39:11.643Z] Configure a credential helper to remove this warning. See [2021-01-04T16:39:11.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:39:11.643Z] [2021-01-04T16:39:11.643Z] Login Succeeded [2021-01-04T16:39:11.643Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:39:11.654Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T16:39:12.517Z] + git log --format=format:%s -1 7a1b18f551239dfc150e88617034cadc3790dddc [Pipeline] echo [2021-01-04T16:39:12.582Z] GIT_COMMIT: 7a1b18f551239dfc150e88617034cadc3790dddc, Commit Message: Merge pull request #195 from ernestojeda/devops-std-dockerfiles [Pipeline] echo [2021-01-04T16:39:12.629Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:39:13.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:39:13.262Z] [2021-01-04T16:39:13.262Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:39:13.608Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:39:13.608Z] latest: Pulling from edgex-devops/git-semver [2021-01-04T16:39:13.608Z] 31603596830f: Pulling fs layer [2021-01-04T16:39:13.608Z] 2a8b12db71e7: Pulling fs layer [2021-01-04T16:39:13.608Z] 6ca5941a6612: Pulling fs layer [2021-01-04T16:39:13.608Z] ecc8261a40a4: Pulling fs layer [2021-01-04T16:39:13.608Z] ecc8261a40a4: Waiting [2021-01-04T16:39:13.608Z] 2a8b12db71e7: Verifying Checksum [2021-01-04T16:39:13.608Z] 2a8b12db71e7: Download complete [2021-01-04T16:39:13.871Z] 31603596830f: Download complete [2021-01-04T16:39:13.871Z] ecc8261a40a4: Verifying Checksum [2021-01-04T16:39:13.871Z] ecc8261a40a4: Download complete [2021-01-04T16:39:13.871Z] 6ca5941a6612: Verifying Checksum [2021-01-04T16:39:13.871Z] 6ca5941a6612: Download complete [2021-01-04T16:39:14.135Z] 31603596830f: Pull complete [2021-01-04T16:39:14.135Z] 2a8b12db71e7: Pull complete [2021-01-04T16:39:15.087Z] 6ca5941a6612: Pull complete [2021-01-04T16:39:15.373Z] ecc8261a40a4: Pull complete [2021-01-04T16:39:15.373Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-04T16:39:15.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:39:15.373Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-04T16:39:15.487Z] prd-centos7-docker-4c-2g-18195 does not seem to be running inside a container [2021-01-04T16:39:15.546Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-04T16:39:17.479Z] $ docker top 8bc4dcaa9479c47685dfd14945ae887b4b9107324b53bad41b5581814c723d52 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T16:39:17.816Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:39:17.817Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:39:18.041Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:39:18.045Z] $ docker exec 8bc4dcaa9479c47685dfd14945ae887b4b9107324b53bad41b5581814c723d52 ssh-agent [2021-01-04T16:39:18.218Z] SSH_AUTH_SOCK=/tmp/ssh-zIUd8sPsPVgg/agent.12 [2021-01-04T16:39:18.218Z] SSH_AGENT_PID=17 [2021-01-04T16:39:18.228Z] Running ssh-add (command line suppressed) [2021-01-04T16:39:18.370Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8326254438607025748.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8326254438607025748.key) [2021-01-04T16:39:18.464Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:39:18.805Z] + git tag --points-at HEAD [Pipeline] } [2021-01-04T16:39:18.826Z] $ docker exec --env ******** --env ******** 8bc4dcaa9479c47685dfd14945ae887b4b9107324b53bad41b5581814c723d52 ssh-agent -k [2021-01-04T16:39:18.949Z] unset SSH_AUTH_SOCK; [2021-01-04T16:39:18.949Z] unset SSH_AGENT_PID; [2021-01-04T16:39:18.949Z] echo Agent pid 17 killed; [2021-01-04T16:39:19.000Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-04T16:39:19.152Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:39:19.152Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:39:19.321Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:39:19.325Z] $ docker exec 8bc4dcaa9479c47685dfd14945ae887b4b9107324b53bad41b5581814c723d52 ssh-agent [2021-01-04T16:39:19.495Z] SSH_AUTH_SOCK=/tmp/ssh-U9E5TSoKSEb5/agent.48 [2021-01-04T16:39:19.495Z] SSH_AGENT_PID=54 [2021-01-04T16:39:19.501Z] Running ssh-add (command line suppressed) [2021-01-04T16:39:19.623Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2502933740451582717.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2502933740451582717.key) [2021-01-04T16:39:19.681Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:39:20.019Z] + git semver init [2021-01-04T16:39:20.019Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T16:39:20.019Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-01-04T16:39:20.019Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-01-04T16:39:20.019Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T16:39:20.019Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T16:39:20.019Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T16:39:20.019Z] # $SEMVER_BRANCH = master [2021-01-04T16:39:20.019Z] # $SEMVER_TEMP = /tmp/semver-180044364 [2021-01-04T16:39:20.019Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-01-04T16:39:20.592Z] # '/tmp/semver-180044364' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' [2021-01-04T16:39:20.592Z] # -> Force: false [2021-01-04T16:39:20.592Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-01-04T16:39:20.605Z] $ docker exec --env ******** --env ******** 8bc4dcaa9479c47685dfd14945ae887b4b9107324b53bad41b5581814c723d52 ssh-agent -k [2021-01-04T16:39:20.722Z] unset SSH_AUTH_SOCK; [2021-01-04T16:39:20.723Z] unset SSH_AGENT_PID; [2021-01-04T16:39:20.723Z] echo Agent pid 54 killed; [2021-01-04T16:39:20.773Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T16:39:21.276Z] + git semver [Pipeline] } [2021-01-04T16:39:21.294Z] $ docker stop --time=1 8bc4dcaa9479c47685dfd14945ae887b4b9107324b53bad41b5581814c723d52 [2021-01-04T16:39:22.694Z] $ docker rm -f 8bc4dcaa9479c47685dfd14945ae887b4b9107324b53bad41b5581814c723d52 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T16:39:23.258Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-04T16:39:23.660Z] Stashed 1 file(s) [Pipeline] echo [2021-01-04T16:39:23.663Z] [edgeXSemver]: initialized semver on version 1.3.1-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-04T16:39:39.264Z] Still waiting to schedule task [2021-01-04T16:39:39.264Z] ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-18179’ is offline; ‘prd-centos7-docker-4c-2g-18181’ is offline; ‘prd-centos7-docker-4c-2g-18182’ is offline; ‘prd-centos7-docker-4c-2g-18183’ is offline; ‘prd-centos7-docker-4c-2g-18189’ is offline; ‘prd-centos7-docker-4c-2g-18193’ is offline; ‘prd-centos7-docker-4c-2g-18196’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-18184’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18185’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-04T16:39:39.267Z] Still waiting to schedule task [2021-01-04T16:39:39.267Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-04T16:42:27.684Z] Running on prd-centos7-docker-4c-2g-18199 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-01-04T16:42:27.748Z] Running in /w/workspace/device-mqtt-go/27 [Pipeline] { [Pipeline] checkout [2021-01-04T16:42:30.420Z] using credential edgex-jenkins-ssh [2021-01-04T16:42:30.481Z] Cloning the remote Git repository [2021-01-04T16:42:30.538Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T16:42:30.665Z] > git init /w/workspace/device-mqtt-go/27 # timeout=10 [2021-01-04T16:42:30.754Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T16:42:30.755Z] > git --version # timeout=10 [2021-01-04T16:42:30.770Z] > git --version # 'git version 2.24.3' [2021-01-04T16:42:30.771Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:42:30.824Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:42:31.812Z] Checking out Revision 7a1b18f551239dfc150e88617034cadc3790dddc (master) [2021-01-04T16:42:31.370Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T16:42:31.382Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:42:31.395Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T16:42:31.414Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T16:42:31.414Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:42:31.419Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T16:42:31.849Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T16:42:31.859Z] > git checkout -f 7a1b18f551239dfc150e88617034cadc3790dddc # timeout=10 [2021-01-04T16:42:36.914Z] Commit message: "Merge pull request #195 from ernestojeda/devops-std-dockerfiles" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T16:42:38.282Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:42:38.639Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:42:38.945Z] + sudo service docker restart [2021-01-04T16:42:38.945Z] + true [2021-01-04T16:42:38.945Z] Redirecting to /bin/systemctl restart docker.service [2021-01-04T16:42:40.109Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18198 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-01-04T16:42:40.279Z] Running in /w/workspace/device-mqtt-go/27 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T16:42:40.475Z] provisioning config files... [2021-01-04T16:42:40.503Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/27@tmp/config3784277222488713249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:42:40.884Z] ---> docker-login.sh [2021-01-04T16:42:40.884Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:42:41.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:42:41.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:42:41.149Z] Configure a credential helper to remove this warning. See [2021-01-04T16:42:41.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:42:41.150Z] [2021-01-04T16:42:41.150Z] Login Succeeded [2021-01-04T16:42:41.150Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:42:41.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:42:41.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:42:41.415Z] Configure a credential helper to remove this warning. See [2021-01-04T16:42:41.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:42:41.415Z] [2021-01-04T16:42:41.415Z] Login Succeeded [2021-01-04T16:42:41.415Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:42:41.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:42:41.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:42:41.680Z] Configure a credential helper to remove this warning. See [2021-01-04T16:42:41.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:42:41.680Z] [2021-01-04T16:42:41.680Z] Login Succeeded [2021-01-04T16:42:41.680Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:42:41.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:42:41.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:42:41.680Z] Configure a credential helper to remove this warning. See [2021-01-04T16:42:41.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:42:41.680Z] [2021-01-04T16:42:41.680Z] Login Succeeded [2021-01-04T16:42:41.680Z] docker.io [2021-01-04T16:42:41.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:42:42.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:42:42.219Z] Configure a credential helper to remove this warning. See [2021-01-04T16:42:42.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:42:42.219Z] [2021-01-04T16:42:42.219Z] Login Succeeded [2021-01-04T16:42:42.219Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:42:42.231Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T16:42:42.606Z] ========================================================= [2021-01-04T16:42:42.606Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-04T16:42:42.606Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:42:42.970Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-04T16:42:43.248Z] Sending build context to Docker daemon 485.4kB [2021-01-04T16:42:43.248Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:42:43.248Z] Step 2/8 : FROM ${BASE} [2021-01-04T16:42:43.248Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-04T16:42:43.248Z] 188c0c94c7c5: Pulling fs layer [2021-01-04T16:42:43.248Z] 0ef7d3d256c8: Pulling fs layer [2021-01-04T16:42:43.248Z] de9db76c5a1d: Pulling fs layer [2021-01-04T16:42:43.248Z] bca2f99d35d6: Pulling fs layer [2021-01-04T16:42:43.248Z] 93359f2a8cfa: Pulling fs layer [2021-01-04T16:42:43.248Z] 7c6f9722023f: Pulling fs layer [2021-01-04T16:42:43.248Z] a35cf1a2eb13: Pulling fs layer [2021-01-04T16:42:43.248Z] 93359f2a8cfa: Waiting [2021-01-04T16:42:43.248Z] 7c6f9722023f: Waiting [2021-01-04T16:42:43.248Z] bca2f99d35d6: Waiting [2021-01-04T16:42:43.248Z] a35cf1a2eb13: Waiting [2021-01-04T16:42:43.248Z] de9db76c5a1d: Verifying Checksum [2021-01-04T16:42:43.248Z] 0ef7d3d256c8: Verifying Checksum [2021-01-04T16:42:43.248Z] 0ef7d3d256c8: Download complete [2021-01-04T16:42:43.248Z] 93359f2a8cfa: Verifying Checksum [2021-01-04T16:42:43.248Z] 93359f2a8cfa: Download complete [2021-01-04T16:42:43.550Z] 7c6f9722023f: Download complete [2021-01-04T16:42:43.550Z] 188c0c94c7c5: Download complete [2021-01-04T16:42:43.816Z] 188c0c94c7c5: Pull complete [2021-01-04T16:42:44.086Z] 0ef7d3d256c8: Pull complete [2021-01-04T16:42:44.086Z] de9db76c5a1d: Pull complete [2021-01-04T16:42:45.506Z] a35cf1a2eb13: Verifying Checksum [2021-01-04T16:42:45.506Z] a35cf1a2eb13: Download complete [2021-01-04T16:42:45.565Z] using credential edgex-jenkins-ssh [2021-01-04T16:42:45.622Z] Cloning the remote Git repository [2021-01-04T16:42:46.458Z] bca2f99d35d6: Verifying Checksum [2021-01-04T16:42:46.458Z] bca2f99d35d6: Download complete [2021-01-04T16:42:45.685Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T16:42:45.799Z] > git init /w/workspace/device-mqtt-go/27 # timeout=10 [2021-01-04T16:42:45.871Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T16:42:45.873Z] > git --version # timeout=10 [2021-01-04T16:42:45.891Z] > git --version # 'git version 2.17.1' [2021-01-04T16:42:45.893Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:42:45.964Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:42:46.691Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T16:42:46.709Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:42:46.742Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-01-04T16:42:46.787Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-01-04T16:42:46.788Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:42:46.803Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T16:42:47.280Z] Checking out Revision 7a1b18f551239dfc150e88617034cadc3790dddc (master) [2021-01-04T16:42:47.302Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T16:42:47.320Z] > git checkout -f 7a1b18f551239dfc150e88617034cadc3790dddc # timeout=10 [2021-01-04T16:42:51.718Z] Commit message: "Merge pull request #195 from ernestojeda/devops-std-dockerfiles" [2021-01-04T16:42:51.791Z] bca2f99d35d6: Pull complete [2021-01-04T16:42:51.791Z] 93359f2a8cfa: Pull complete [2021-01-04T16:42:51.791Z] 7c6f9722023f: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T16:42:53.378Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:42:53.785Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:42:54.120Z] + true [2021-01-04T16:42:54.120Z] + sudo service docker restart [2021-01-04T16:42:56.109Z] a35cf1a2eb13: Pull complete [2021-01-04T16:42:56.109Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-04T16:42:56.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-04T16:42:56.109Z] ---> a62c8e92a672 [2021-01-04T16:42:56.109Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-04T16:42:56.688Z] ---> Running in 6692b37dc1c5 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T16:42:56.821Z] provisioning config files... [2021-01-04T16:42:56.863Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/27@tmp/config6177187588210658786tmp [Pipeline] { [2021-01-04T16:42:56.958Z] Removing intermediate container 6692b37dc1c5 [2021-01-04T16:42:56.958Z] ---> 485a7abe07f7 [2021-01-04T16:42:56.958Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:42:57.226Z] ---> Running in a094fd89decc [2021-01-04T16:42:57.405Z] ---> docker-login.sh [2021-01-04T16:42:57.405Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:42:58.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:42:58.175Z] Removing intermediate container a094fd89decc [2021-01-04T16:42:58.175Z] ---> a31fdd25d7e7 [2021-01-04T16:42:58.175Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-04T16:42:58.175Z] ---> Running in 721eb8d19a45 [2021-01-04T16:42:58.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:42:58.605Z] Configure a credential helper to remove this warning. See [2021-01-04T16:42:58.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:42:58.605Z] [2021-01-04T16:42:58.605Z] Login Succeeded [2021-01-04T16:42:58.605Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:42:58.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:42:59.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:42:59.159Z] Configure a credential helper to remove this warning. See [2021-01-04T16:42:59.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:42:59.159Z] [2021-01-04T16:42:59.159Z] Login Succeeded [2021-01-04T16:42:59.159Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:42:59.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:42:59.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:42:59.442Z] Configure a credential helper to remove this warning. See [2021-01-04T16:42:59.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:42:59.442Z] [2021-01-04T16:42:59.442Z] Login Succeeded [2021-01-04T16:42:59.442Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:42:59.605Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-04T16:43:00.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:43:00.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:43:00.076Z] Configure a credential helper to remove this warning. See [2021-01-04T16:43:00.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:43:00.077Z] [2021-01-04T16:43:00.077Z] Login Succeeded [2021-01-04T16:43:00.077Z] docker.io [2021-01-04T16:43:00.192Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-04T16:43:00.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:43:00.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:43:00.985Z] Configure a credential helper to remove this warning. See [2021-01-04T16:43:00.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:43:00.985Z] [2021-01-04T16:43:00.985Z] Login Succeeded [2021-01-04T16:43:00.985Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:43:01.018Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [2021-01-04T16:43:01.169Z] (1/14) Installing libmagic (5.38-r0) [2021-01-04T16:43:01.169Z] (2/14) Installing file (5.38-r0) [2021-01-04T16:43:01.169Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-04T16:43:01.169Z] (4/14) Installing g++ (9.3.0-r2) [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T16:43:01.613Z] ========================================================= [2021-01-04T16:43:01.613Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-04T16:43:01.613Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:43:02.048Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-04T16:43:02.337Z] Sending build context to Docker daemon 484.4kB [2021-01-04T16:43:02.337Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:43:02.337Z] Step 2/8 : FROM ${BASE} [2021-01-04T16:43:02.616Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-04T16:43:02.616Z] 5f621e34cdf4: Pulling fs layer [2021-01-04T16:43:02.616Z] a4357932f1b6: Pulling fs layer [2021-01-04T16:43:02.616Z] 18c013af1878: Pulling fs layer [2021-01-04T16:43:02.616Z] 00ac8860ef70: Pulling fs layer [2021-01-04T16:43:02.616Z] 63d7cb157983: Pulling fs layer [2021-01-04T16:43:02.616Z] b116817d02f9: Pulling fs layer [2021-01-04T16:43:02.616Z] 745a02a5169b: Pulling fs layer [2021-01-04T16:43:02.616Z] 00ac8860ef70: Waiting [2021-01-04T16:43:02.616Z] 63d7cb157983: Waiting [2021-01-04T16:43:02.616Z] b116817d02f9: Waiting [2021-01-04T16:43:02.616Z] 745a02a5169b: Waiting [2021-01-04T16:43:02.616Z] 18c013af1878: Verifying Checksum [2021-01-04T16:43:02.616Z] 18c013af1878: Download complete [2021-01-04T16:43:02.616Z] a4357932f1b6: Verifying Checksum [2021-01-04T16:43:02.616Z] a4357932f1b6: Download complete [2021-01-04T16:43:02.616Z] 63d7cb157983: Verifying Checksum [2021-01-04T16:43:02.616Z] 63d7cb157983: Download complete [2021-01-04T16:43:02.616Z] b116817d02f9: Verifying Checksum [2021-01-04T16:43:02.616Z] b116817d02f9: Download complete [2021-01-04T16:43:02.616Z] 5f621e34cdf4: Verifying Checksum [2021-01-04T16:43:02.616Z] 5f621e34cdf4: Download complete [2021-01-04T16:43:03.603Z] 5f621e34cdf4: Pull complete [2021-01-04T16:43:03.879Z] a4357932f1b6: Pull complete [2021-01-04T16:43:04.154Z] 18c013af1878: Pull complete [2021-01-04T16:43:04.750Z] 745a02a5169b: Verifying Checksum [2021-01-04T16:43:04.750Z] 745a02a5169b: Download complete [2021-01-04T16:43:06.186Z] 00ac8860ef70: Verifying Checksum [2021-01-04T16:43:06.186Z] 00ac8860ef70: Download complete [2021-01-04T16:43:11.274Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-04T16:43:11.274Z] (6/14) Installing patch (2.7.6-r6) [2021-01-04T16:43:11.274Z] (7/14) Installing build-base (0.5-r2) [2021-01-04T16:43:11.274Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-04T16:43:11.274Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-04T16:43:11.274Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-04T16:43:11.686Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-04T16:43:11.686Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-04T16:43:12.000Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-04T16:43:12.000Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-04T16:43:12.273Z] Executing busybox-1.31.1-r19.trigger [2021-01-04T16:43:12.273Z] OK: 237 MiB in 53 packages [2021-01-04T16:43:16.349Z] 00ac8860ef70: Pull complete [2021-01-04T16:43:16.349Z] 63d7cb157983: Pull complete [2021-01-04T16:43:16.525Z] Removing intermediate container 721eb8d19a45 [2021-01-04T16:43:16.525Z] ---> b6106e69d3c4 [2021-01-04T16:43:16.525Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-04T16:43:16.525Z] ---> Running in 32e3b67f069a [2021-01-04T16:43:16.525Z] Removing intermediate container 32e3b67f069a [2021-01-04T16:43:16.525Z] ---> dae7248a94a6 [2021-01-04T16:43:16.525Z] Step 7/8 : COPY . . [2021-01-04T16:43:16.625Z] b116817d02f9: Pull complete [2021-01-04T16:43:17.115Z] ---> e76d1d801a1c [2021-01-04T16:43:17.115Z] Step 8/8 : RUN go mod download [2021-01-04T16:43:17.115Z] ---> Running in c47ff75eecc5 [2021-01-04T16:43:21.000Z] 745a02a5169b: Pull complete [2021-01-04T16:43:21.000Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-04T16:43:21.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-04T16:43:21.000Z] ---> b7e6874047d6 [2021-01-04T16:43:21.000Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-04T16:43:23.699Z] ---> Running in d0a5f33fc3b4 [2021-01-04T16:43:24.309Z] Removing intermediate container d0a5f33fc3b4 [2021-01-04T16:43:24.309Z] ---> f1f6b49fb6d1 [2021-01-04T16:43:24.309Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:43:24.309Z] ---> Running in f91f896fc0fe [2021-01-04T16:43:26.946Z] Removing intermediate container f91f896fc0fe [2021-01-04T16:43:26.946Z] ---> da7afc31e116 [2021-01-04T16:43:26.946Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-04T16:43:26.946Z] ---> Running in 0bc948669468 [2021-01-04T16:43:28.389Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-04T16:43:28.993Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-04T16:43:29.980Z] (1/14) Installing libmagic (5.38-r0) [2021-01-04T16:43:29.980Z] (2/14) Installing file (5.38-r0) [2021-01-04T16:43:29.980Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-04T16:43:30.251Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-04T16:43:34.552Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-04T16:43:34.552Z] (6/14) Installing patch (2.7.6-r6) [2021-01-04T16:43:34.840Z] (7/14) Installing build-base (0.5-r2) [2021-01-04T16:43:34.840Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-04T16:43:34.840Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-04T16:43:35.119Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-04T16:43:35.393Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-04T16:43:35.393Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-04T16:43:35.670Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-04T16:43:35.670Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-04T16:43:35.951Z] Executing busybox-1.31.1-r19.trigger [2021-01-04T16:43:35.951Z] OK: 221 MiB in 53 packages [2021-01-04T16:43:39.187Z] Removing intermediate container c47ff75eecc5 [2021-01-04T16:43:39.187Z] ---> ea974cac7935 [2021-01-04T16:43:39.187Z] Successfully built ea974cac7935 [2021-01-04T16:43:39.187Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:43:39.508Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T16:43:39.508Z] . [Pipeline] withDockerContainer [2021-01-04T16:43:39.631Z] prd-centos7-docker-4c-2g-18199 does not seem to be running inside a container [2021-01-04T16:43:39.691Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/27 -v /w/workspace/device-mqtt-go/27:/w/workspace/device-mqtt-go/27:rw,z -v /w/workspace/device-mqtt-go/27@tmp:/w/workspace/device-mqtt-go/27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-04T16:43:40.280Z] Removing intermediate container 0bc948669468 [2021-01-04T16:43:40.280Z] ---> 38e951237b6f [2021-01-04T16:43:40.280Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-01-04T16:43:40.280Z] ---> Running in ed4c6d3a6dd3 [2021-01-04T16:43:40.530Z] $ docker top 64a99a41aa018c50105a0031ec2546a3416462249c67b029b1c2d90b5e9e9f81 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:43:40.886Z] Removing intermediate container ed4c6d3a6dd3 [2021-01-04T16:43:40.886Z] ---> d00f0d5384de [2021-01-04T16:43:40.886Z] Step 7/8 : COPY . . [2021-01-04T16:43:41.129Z] + go version [2021-01-04T16:43:41.129Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-04T16:43:41.146Z] $ docker stop --time=1 64a99a41aa018c50105a0031ec2546a3416462249c67b029b1c2d90b5e9e9f81 [2021-01-04T16:43:41.863Z] ---> d5a43466700d [2021-01-04T16:43:41.863Z] Step 8/8 : RUN go mod download [2021-01-04T16:43:41.863Z] ---> Running in a46b1ea21e26 [2021-01-04T16:43:42.527Z] $ docker rm -f 64a99a41aa018c50105a0031ec2546a3416462249c67b029b1c2d90b5e9e9f81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:43:43.341Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T16:43:43.341Z] . [Pipeline] withDockerContainer [2021-01-04T16:43:43.452Z] prd-centos7-docker-4c-2g-18199 does not seem to be running inside a container [2021-01-04T16:43:43.508Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/27 -v /w/workspace/device-mqtt-go/27:/w/workspace/device-mqtt-go/27:rw,z -v /w/workspace/device-mqtt-go/27@tmp:/w/workspace/device-mqtt-go/27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-04T16:43:44.267Z] $ docker top 09a7884b887d91a00ec0278f4e67712a386440137f8a0a570eed0f80e31c7e2b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:43:44.778Z] + make test [2021-01-04T16:43:44.778Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-04T16:43:45.738Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-04T16:43:58.134Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-01-04T16:43:59.092Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 28.3% of statements [2021-01-04T16:43:59.092Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-01-04T16:43:59.360Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-04T16:44:01.980Z] gofmt -l . [2021-01-04T16:44:01.980Z] ["`gofmt -l .`" = ""] [2021-01-04T16:44:01.980Z] ./bin/test-attribution-txt.sh [2021-01-04T16:44:02.561Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-04T16:44:02.848Z] $ docker stop --time=1 09a7884b887d91a00ec0278f4e67712a386440137f8a0a570eed0f80e31c7e2b [2021-01-04T16:44:04.034Z] Removing intermediate container a46b1ea21e26 [2021-01-04T16:44:04.034Z] ---> 311c5ff49469 [2021-01-04T16:44:04.034Z] Successfully built 311c5ff49469 [2021-01-04T16:44:04.034Z] Successfully tagged ci-base-image-arm64:latest [2021-01-04T16:44:05.328Z] $ docker rm -f 09a7884b887d91a00ec0278f4e67712a386440137f8a0a570eed0f80e31c7e2b [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:44:05.867Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-04T16:44:05.979Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T16:44:05.979Z] . [Pipeline] withDockerContainer [2021-01-04T16:44:06.221Z] prd-ubuntu18.04-docker-arm64-4c-16g-18198 does not seem to be running inside a container [2021-01-04T16:44:06.252Z] Stashed 1 file(s) [2021-01-04T16:44:06.314Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/27 -v /w/workspace/device-mqtt-go/27:/w/workspace/device-mqtt-go/27:rw,z -v /w/workspace/device-mqtt-go/27@tmp:/w/workspace/device-mqtt-go/27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-04T16:44:07.876Z] $ docker top 9ed01ab290f8f8d4bf09d735df7db9f7c0fccaf6bb963e8070b1ce20a428109a -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-01-04T16:44:08.921Z] + go version [2021-01-04T16:44:08.921Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-04T16:44:09.210Z] $ docker stop --time=1 9ed01ab290f8f8d4bf09d735df7db9f7c0fccaf6bb963e8070b1ce20a428109a [2021-01-04T16:44:11.300Z] $ docker rm -f 9ed01ab290f8f8d4bf09d735df7db9f7c0fccaf6bb963e8070b1ce20a428109a [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-01-04T16:44:11.871Z] + sudo chown -R jenkins:jenkins . [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:44:12.296Z] + ls -al . [2021-01-04T16:44:12.296Z] total 100 [2021-01-04T16:44:12.296Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 4 16:44 . [2021-01-04T16:44:12.296Z] drwxrwxr-x. 4 jenkins jenkins 30 Jan 4 16:42 .. [2021-01-04T16:44:12.296Z] -rw-rw-r--. 1 jenkins jenkins 5932 Jan 4 16:42 Attribution.txt [2021-01-04T16:44:12.296Z] drwxrwxr-x. 2 jenkins jenkins 87 Jan 4 16:42 bin [2021-01-04T16:44:12.296Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 4 16:42 cmd [2021-01-04T16:44:12.296Z] -rw-r--r--. 1 jenkins jenkins 18940 Jan 4 16:43 coverage.out [2021-01-04T16:44:12.296Z] -rw-rw-r--. 1 jenkins jenkins 1802 Jan 4 16:42 Dockerfile [2021-01-04T16:44:12.296Z] -rw-rw-r--. 1 jenkins jenkins 957 Jan 4 16:42 Dockerfile.build [2021-01-04T16:44:12.296Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 4 16:42 .dockerignore [2021-01-04T16:44:12.296Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 4 16:42 .git [2021-01-04T16:44:12.296Z] drwxrwxr-x. 2 jenkins jenkins 60 Jan 4 16:42 .github [2021-01-04T16:44:12.296Z] -rw-rw-r--. 1 jenkins jenkins 336 Jan 4 16:42 .gitignore [2021-01-04T16:44:12.296Z] -rw-r--r--. 1 jenkins jenkins 504 Jan 4 16:44 go.mod [2021-01-04T16:44:12.296Z] -rw-r--r--. 1 jenkins jenkins 14793 Jan 4 16:44 go.sum [2021-01-04T16:44:12.296Z] drwxrwxr-x. 3 jenkins jenkins 20 Jan 4 16:42 internal [2021-01-04T16:44:12.296Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 4 16:42 Jenkinsfile [2021-01-04T16:44:12.296Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 4 16:42 LICENSE [2021-01-04T16:44:12.296Z] -rw-rw-r--. 1 jenkins jenkins 902 Jan 4 16:42 Makefile [2021-01-04T16:44:12.296Z] drwxrwxr-x. 2 jenkins jenkins 23 Jan 4 16:42 mock [2021-01-04T16:44:12.296Z] -rw-rw-r--. 1 jenkins jenkins 444 Jan 4 16:42 README.md [2021-01-04T16:44:12.296Z] drwxrwxr-x. 4 jenkins jenkins 71 Jan 4 16:42 snap [2021-01-04T16:44:12.296Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 4 16:39 VERSION [2021-01-04T16:44:12.296Z] -rw-rw-r--. 1 jenkins jenkins 227 Jan 4 16:42 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:44:12.517Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T16:44:12.517Z] . [Pipeline] withDockerContainer [2021-01-04T16:44:12.610Z] + 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=7a1b18f551239dfc150e88617034cadc3790dddc --label arch=amd64 --label version=1.3.1-dev.2 . [2021-01-04T16:44:12.779Z] prd-ubuntu18.04-docker-arm64-4c-16g-18198 does not seem to be running inside a container [2021-01-04T16:44:12.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/27 -v /w/workspace/device-mqtt-go/27:/w/workspace/device-mqtt-go/27:rw,z -v /w/workspace/device-mqtt-go/27@tmp:/w/workspace/device-mqtt-go/27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-04T16:44:12.874Z] Sending build context to Docker daemon 504.8kB [2021-01-04T16:44:12.874Z] Step 1/22 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:44:12.874Z] Step 2/22 : FROM ${BASE} AS builder [2021-01-04T16:44:12.874Z] ---> ea974cac7935 [2021-01-04T16:44:12.874Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-01-04T16:44:13.137Z] ---> Running in 501d44e56e2e [2021-01-04T16:44:13.137Z] Removing intermediate container 501d44e56e2e [2021-01-04T16:44:13.137Z] ---> 2ea565f650f0 [2021-01-04T16:44:13.137Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2021-01-04T16:44:13.409Z] ---> Running in 7c9e713df1d4 [2021-01-04T16:44:13.409Z] Removing intermediate container 7c9e713df1d4 [2021-01-04T16:44:13.409Z] ---> a1fd252e154c [2021-01-04T16:44:13.409Z] Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:44:13.409Z] ---> Running in dd612e47cadf [2021-01-04T16:44:14.364Z] Removing intermediate container dd612e47cadf [2021-01-04T16:44:14.364Z] ---> ad71190c232e [2021-01-04T16:44:14.364Z] Step 6/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-04T16:44:14.364Z] ---> Running in 87160ae5fce0 [2021-01-04T16:44:14.471Z] $ docker top f2a9a700d91e4c8ee87fa4408eaf1ea38eed7df9c278d4b6b9b5a6a015c0fa69 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:44:14.943Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-04T16:44:15.497Z] + make test [2021-01-04T16:44:15.497Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-04T16:44:15.520Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-04T16:44:16.099Z] OK: 237 MiB in 53 packages [2021-01-04T16:44:16.363Z] Removing intermediate container 87160ae5fce0 [2021-01-04T16:44:16.363Z] ---> 2d55df8338a7 [2021-01-04T16:44:16.363Z] Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2021-01-04T16:44:16.481Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-01-04T16:44:16.626Z] ---> Running in f12345ffee22 [2021-01-04T16:44:16.626Z] Removing intermediate container f12345ffee22 [2021-01-04T16:44:16.626Z] ---> 8cf6f263c39e [2021-01-04T16:44:16.626Z] Step 8/22 : COPY . . [2021-01-04T16:44:17.574Z] ---> 9870356a4e01 [2021-01-04T16:44:17.574Z] Step 9/22 : ARG MAKE='make build' [2021-01-04T16:44:17.574Z] ---> Running in 806b6a8be2fd [2021-01-04T16:44:17.840Z] Removing intermediate container 806b6a8be2fd [2021-01-04T16:44:17.840Z] ---> 744855409f1d [2021-01-04T16:44:17.840Z] Step 10/22 : RUN $MAKE [2021-01-04T16:44:17.840Z] ---> Running in 6c1ae55f42f5 [2021-01-04T16:44:18.107Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.1-dev.2" -o cmd/device-mqtt ./cmd [2021-01-04T16:44:28.243Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-01-04T16:44:31.580Z] Removing intermediate container 6c1ae55f42f5 [2021-01-04T16:44:31.580Z] ---> 244eeaebce5e [2021-01-04T16:44:31.580Z] Step 11/22 : FROM alpine:3.12 [2021-01-04T16:44:31.844Z] 3.12: Pulling from library/alpine [2021-01-04T16:44:31.844Z] 801bfaa63ef2: Pulling fs layer [2021-01-04T16:44:32.107Z] 801bfaa63ef2: Verifying Checksum [2021-01-04T16:44:32.107Z] 801bfaa63ef2: Download complete [2021-01-04T16:44:32.380Z] 801bfaa63ef2: Pull complete [2021-01-04T16:44:32.380Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-04T16:44:32.380Z] Status: Downloaded newer image for alpine:3.12 [2021-01-04T16:44:32.380Z] ---> 389fef711851 [2021-01-04T16:44:32.380Z] Step 12/22 : ENV APP_PORT=49982 [2021-01-04T16:44:32.643Z] ---> Running in 7b068c644829 [2021-01-04T16:44:32.643Z] Removing intermediate container 7b068c644829 [2021-01-04T16:44:32.643Z] ---> 7a4140598df4 [2021-01-04T16:44:32.643Z] Step 13/22 : EXPOSE $APP_PORT [2021-01-04T16:44:32.643Z] ---> Running in 5c030d63cac4 [2021-01-04T16:44:32.910Z] Removing intermediate container 5c030d63cac4 [2021-01-04T16:44:32.911Z] ---> b5d890553830 [2021-01-04T16:44:32.911Z] Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2021-01-04T16:44:33.487Z] ---> 32f166f9c324 [2021-01-04T16:44:33.487Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2021-01-04T16:44:33.762Z] ---> 53ef057d8038 [2021-01-04T16:44:33.762Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2021-01-04T16:44:34.026Z] ---> 2db7110f0207 [2021-01-04T16:44:34.026Z] Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2021-01-04T16:44:34.026Z] ---> Running in b94d3ca085d9 [2021-01-04T16:44:34.289Z] Removing intermediate container b94d3ca085d9 [2021-01-04T16:44:34.289Z] ---> e55f9ed7f8cc [2021-01-04T16:44:34.289Z] Step 18/22 : ENTRYPOINT ["/device-mqtt"] [2021-01-04T16:44:34.289Z] ---> Running in 98edf6d1d477 [2021-01-04T16:44:34.554Z] Removing intermediate container 98edf6d1d477 [2021-01-04T16:44:34.554Z] ---> 36a12b4e6082 [2021-01-04T16:44:34.554Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-04T16:44:34.554Z] ---> Running in 5e98850f279c [2021-01-04T16:44:34.554Z] Removing intermediate container 5e98850f279c [2021-01-04T16:44:34.554Z] ---> 94c8ff07099e [2021-01-04T16:44:34.554Z] Step 20/22 : LABEL arch=amd64 [2021-01-04T16:44:34.821Z] ---> Running in 484036eb791b [2021-01-04T16:44:34.821Z] Removing intermediate container 484036eb791b [2021-01-04T16:44:34.821Z] ---> 825f134ef234 [2021-01-04T16:44:34.822Z] Step 21/22 : LABEL git_sha=7a1b18f551239dfc150e88617034cadc3790dddc [2021-01-04T16:44:35.086Z] ---> Running in 15f49e2a8460 [2021-01-04T16:44:35.086Z] Removing intermediate container 15f49e2a8460 [2021-01-04T16:44:35.086Z] ---> cb8508da85f3 [2021-01-04T16:44:35.086Z] Step 22/22 : LABEL version=1.3.1-dev.2 [2021-01-04T16:44:35.086Z] ---> Running in 96ec8cb9ec3b [2021-01-04T16:44:35.349Z] Removing intermediate container 96ec8cb9ec3b [2021-01-04T16:44:35.349Z] ---> 08cc53f715be [2021-01-04T16:44:35.349Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-04T16:44:35.349Z] Successfully built 08cc53f715be [2021-01-04T16:44:35.349Z] Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T16:44:35.707Z] provisioning config files... [2021-01-04T16:44:35.739Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/27@tmp/config5842275100216100228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:44:36.125Z] ---> docker-login.sh [2021-01-04T16:44:36.125Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:44:36.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:44:36.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:44:36.389Z] Configure a credential helper to remove this warning. See [2021-01-04T16:44:36.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:44:36.389Z] [2021-01-04T16:44:36.389Z] Login Succeeded [2021-01-04T16:44:36.389Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:44:36.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:44:36.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:44:36.389Z] Configure a credential helper to remove this warning. See [2021-01-04T16:44:36.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:44:36.389Z] [2021-01-04T16:44:36.389Z] Login Succeeded [2021-01-04T16:44:36.389Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:44:36.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:44:36.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:44:36.651Z] Configure a credential helper to remove this warning. See [2021-01-04T16:44:36.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:44:36.651Z] [2021-01-04T16:44:36.651Z] Login Succeeded [2021-01-04T16:44:36.651Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:44:36.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:44:36.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:44:36.916Z] Configure a credential helper to remove this warning. See [2021-01-04T16:44:36.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:44:36.916Z] [2021-01-04T16:44:36.916Z] Login Succeeded [2021-01-04T16:44:36.916Z] docker.io [2021-01-04T16:44:36.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:44:37.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:44:37.179Z] Configure a credential helper to remove this warning. See [2021-01-04T16:44:37.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:44:37.179Z] [2021-01-04T16:44:37.179Z] Login Succeeded [2021-01-04T16:44:37.179Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:44:37.190Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-04T16:44:37.414Z] [edgeXDocker.push] Tagging docker image docker-device-mqtt-go with the following tags: [2021-01-04T16:44:37.414Z] 7a1b18f551239dfc150e88617034cadc3790dddc [2021-01-04T16:44:37.414Z] latest [2021-01-04T16:44:37.414Z] 1.3.1-dev.2 [2021-01-04T16:44:37.414Z] 7a1b18f551239dfc150e88617034cadc3790dddc-1.3.1-dev.2 [2021-01-04T16:44:37.414Z] master [2021-01-04T16:44:37.414Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:44:37.915Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:7a1b18f551239dfc150e88617034cadc3790dddc [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:44:38.223Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:7a1b18f551239dfc150e88617034cadc3790dddc [2021-01-04T16:44:38.223Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-01-04T16:44:38.223Z] a0b7bd1bc440: Preparing [2021-01-04T16:44:38.223Z] 83b34b0dd0e1: Preparing [2021-01-04T16:44:38.223Z] 27836be0d127: Preparing [2021-01-04T16:44:38.223Z] 777b2c648970: Preparing [2021-01-04T16:44:38.223Z] 777b2c648970: Layer already exists [2021-01-04T16:44:38.223Z] a0b7bd1bc440: Pushed [2021-01-04T16:44:38.487Z] 83b34b0dd0e1: Pushed [2021-01-04T16:44:39.437Z] 27836be0d127: Pushed [2021-01-04T16:44:39.437Z] 7a1b18f551239dfc150e88617034cadc3790dddc: digest: sha256:24d2d3a76c3d1391fb23f5cb55e14456a698d1f2a152f86bf8b80feb293b257d size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:44:39.744Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:44:40.045Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [2021-01-04T16:44:40.046Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-01-04T16:44:40.046Z] a0b7bd1bc440: Preparing [2021-01-04T16:44:40.046Z] 83b34b0dd0e1: Preparing [2021-01-04T16:44:40.046Z] 27836be0d127: Preparing [2021-01-04T16:44:40.046Z] 777b2c648970: Preparing [2021-01-04T16:44:40.046Z] 27836be0d127: Layer already exists [2021-01-04T16:44:40.046Z] 83b34b0dd0e1: Layer already exists [2021-01-04T16:44:40.046Z] 777b2c648970: Layer already exists [2021-01-04T16:44:40.046Z] a0b7bd1bc440: Layer already exists [2021-01-04T16:44:40.046Z] latest: digest: sha256:24d2d3a76c3d1391fb23f5cb55e14456a698d1f2a152f86bf8b80feb293b257d size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:44:40.357Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.1-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:44:40.662Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.1-dev.2 [2021-01-04T16:44:40.662Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-01-04T16:44:40.662Z] a0b7bd1bc440: Preparing [2021-01-04T16:44:40.662Z] 83b34b0dd0e1: Preparing [2021-01-04T16:44:40.662Z] 27836be0d127: Preparing [2021-01-04T16:44:40.662Z] 777b2c648970: Preparing [2021-01-04T16:44:40.662Z] 27836be0d127: Layer already exists [2021-01-04T16:44:40.662Z] 777b2c648970: Layer already exists [2021-01-04T16:44:40.662Z] a0b7bd1bc440: Layer already exists [2021-01-04T16:44:40.662Z] 83b34b0dd0e1: Layer already exists [2021-01-04T16:44:40.662Z] 1.3.1-dev.2: digest: sha256:24d2d3a76c3d1391fb23f5cb55e14456a698d1f2a152f86bf8b80feb293b257d size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:44:40.977Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:7a1b18f551239dfc150e88617034cadc3790dddc-1.3.1-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:44:41.275Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:7a1b18f551239dfc150e88617034cadc3790dddc-1.3.1-dev.2 [2021-01-04T16:44:41.275Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-01-04T16:44:41.275Z] a0b7bd1bc440: Preparing [2021-01-04T16:44:41.275Z] 83b34b0dd0e1: Preparing [2021-01-04T16:44:41.275Z] 27836be0d127: Preparing [2021-01-04T16:44:41.275Z] 777b2c648970: Preparing [2021-01-04T16:44:41.275Z] 83b34b0dd0e1: Layer already exists [2021-01-04T16:44:41.275Z] 777b2c648970: Layer already exists [2021-01-04T16:44:41.275Z] a0b7bd1bc440: Layer already exists [2021-01-04T16:44:41.275Z] 27836be0d127: Layer already exists [2021-01-04T16:44:41.275Z] 7a1b18f551239dfc150e88617034cadc3790dddc-1.3.1-dev.2: digest: sha256:24d2d3a76c3d1391fb23f5cb55e14456a698d1f2a152f86bf8b80feb293b257d size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:44:41.581Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:44:41.879Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [2021-01-04T16:44:41.879Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-01-04T16:44:41.879Z] a0b7bd1bc440: Preparing [2021-01-04T16:44:41.879Z] 83b34b0dd0e1: Preparing [2021-01-04T16:44:41.879Z] 27836be0d127: Preparing [2021-01-04T16:44:41.879Z] 777b2c648970: Preparing [2021-01-04T16:44:41.879Z] a0b7bd1bc440: Layer already exists [2021-01-04T16:44:41.879Z] 27836be0d127: Layer already exists [2021-01-04T16:44:41.879Z] 777b2c648970: Layer already exists [2021-01-04T16:44:41.879Z] 83b34b0dd0e1: Layer already exists [2021-01-04T16:44:41.879Z] master: digest: sha256:24d2d3a76c3d1391fb23f5cb55e14456a698d1f2a152f86bf8b80feb293b257d size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-04T16:44:42.139Z] ===================================================== [Pipeline] echo [2021-01-04T16:44:42.204Z] taggedImages: [2021-01-04T16:44:42.204Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:7a1b18f551239dfc150e88617034cadc3790dddc [2021-01-04T16:44:42.204Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [2021-01-04T16:44:42.204Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.1-dev.2 [2021-01-04T16:44:42.204Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:7a1b18f551239dfc150e88617034cadc3790dddc-1.3.1-dev.2 [2021-01-04T16:44:42.204Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-04T16:44:55.551Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-01-04T16:44:55.551Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.035s coverage: 28.3% of statements [2021-01-04T16:44:55.551Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-01-04T16:44:55.551Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-04T16:45:02.297Z] gofmt -l . [2021-01-04T16:45:02.297Z] ["`gofmt -l .`" = ""] [2021-01-04T16:45:02.297Z] ./bin/test-attribution-txt.sh [2021-01-04T16:45:02.927Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-04T16:45:03.236Z] $ docker stop --time=1 f2a9a700d91e4c8ee87fa4408eaf1ea38eed7df9c278d4b6b9b5a6a015c0fa69 [2021-01-04T16:45:05.467Z] $ docker rm -f f2a9a700d91e4c8ee87fa4408eaf1ea38eed7df9c278d4b6b9b5a6a015c0fa69 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T16:45:06.309Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-04T16:45:06.330Z] Warning: overwriting stash ‘coverage-report’ [2021-01-04T16:45:07.109Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T16:45:07.975Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-04T16:45:08.342Z] + ls -al . [2021-01-04T16:45:08.342Z] total 132 [2021-01-04T16:45:08.342Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 4 16:45 . [2021-01-04T16:45:08.342Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:42 .. [2021-01-04T16:45:08.342Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 4 16:42 .dockerignore [2021-01-04T16:45:08.342Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 16:42 .git [2021-01-04T16:45:08.342Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:42 .github [2021-01-04T16:45:08.342Z] -rw-rw-r-- 1 jenkins jenkins 336 Jan 4 16:42 .gitignore [2021-01-04T16:45:08.342Z] -rw-rw-r-- 1 jenkins jenkins 5932 Jan 4 16:42 Attribution.txt [2021-01-04T16:45:08.342Z] -rw-rw-r-- 1 jenkins jenkins 1802 Jan 4 16:42 Dockerfile [2021-01-04T16:45:08.342Z] -rw-rw-r-- 1 jenkins jenkins 957 Jan 4 16:42 Dockerfile.build [2021-01-04T16:45:08.342Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 4 16:42 Jenkinsfile [2021-01-04T16:45:08.342Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 16:42 LICENSE [2021-01-04T16:45:08.342Z] -rw-rw-r-- 1 jenkins jenkins 902 Jan 4 16:42 Makefile [2021-01-04T16:45:08.342Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 4 16:42 README.md [2021-01-04T16:45:08.342Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 4 16:39 VERSION [2021-01-04T16:45:08.342Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:42 bin [2021-01-04T16:45:08.342Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 16:42 cmd [2021-01-04T16:45:08.342Z] -rw-r--r-- 1 jenkins jenkins 18940 Jan 4 16:44 coverage.out [2021-01-04T16:45:08.342Z] -rw-r--r-- 1 jenkins jenkins 504 Jan 4 16:45 go.mod [2021-01-04T16:45:08.342Z] -rw-r--r-- 1 jenkins jenkins 14793 Jan 4 16:45 go.sum [2021-01-04T16:45:08.342Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 16:42 internal [2021-01-04T16:45:08.342Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:42 mock [2021-01-04T16:45:08.342Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:42 snap [2021-01-04T16:45:08.342Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 4 16:42 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:45:08.793Z] + 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=7a1b18f551239dfc150e88617034cadc3790dddc --label arch=arm64 --label version=1.3.1-dev.2 . [2021-01-04T16:45:09.101Z] Sending build context to Docker daemon 503.8kB [2021-01-04T16:45:09.101Z] Step 1/22 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:45:09.101Z] Step 2/22 : FROM ${BASE} AS builder [2021-01-04T16:45:09.101Z] ---> 311c5ff49469 [2021-01-04T16:45:09.101Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-01-04T16:45:09.378Z] ---> Running in d6f0867f09b3 [2021-01-04T16:45:09.979Z] Removing intermediate container d6f0867f09b3 [2021-01-04T16:45:09.979Z] ---> 51e588e5609c [2021-01-04T16:45:09.979Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2021-01-04T16:45:09.979Z] ---> Running in b8a884b4abd7 [2021-01-04T16:45:10.576Z] Removing intermediate container b8a884b4abd7 [2021-01-04T16:45:10.576Z] ---> 04c5b20d2503 [2021-01-04T16:45:10.576Z] Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:45:10.576Z] ---> Running in cc6cd829345b [2021-01-04T16:45:12.556Z] Removing intermediate container cc6cd829345b [2021-01-04T16:45:12.556Z] ---> d87cc6ff22ae [2021-01-04T16:45:12.556Z] Step 6/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-04T16:45:12.828Z] ---> Running in e474402444b5 [2021-01-04T16:45:13.825Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-04T16:45:14.805Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-04T16:45:15.406Z] OK: 221 MiB in 53 packages [2021-01-04T16:45:16.844Z] Removing intermediate container e474402444b5 [2021-01-04T16:45:16.844Z] ---> aa8f3949f6d4 [2021-01-04T16:45:16.844Z] Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2021-01-04T16:45:16.844Z] ---> Running in e4d6c2593672 [2021-01-04T16:45:17.115Z] Removing intermediate container e4d6c2593672 [2021-01-04T16:45:17.115Z] ---> 49445a98778c [2021-01-04T16:45:17.115Z] Step 8/22 : COPY . . [2021-01-04T16:45:18.133Z] ---> 8be83afcd7c2 [2021-01-04T16:45:18.133Z] Step 9/22 : ARG MAKE='make build' [2021-01-04T16:45:18.133Z] ---> Running in e248fb25ed22 [2021-01-04T16:45:19.514Z] Removing intermediate container e248fb25ed22 [2021-01-04T16:45:19.514Z] ---> c8b4445670ce [2021-01-04T16:45:19.514Z] Step 10/22 : RUN $MAKE [2021-01-04T16:45:19.514Z] ---> Running in aca7005d863b [2021-01-04T16:45:19.801Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.1-dev.2" -o cmd/device-mqtt ./cmd [2021-01-04T16:45:46.716Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-01-04T16:45:53.414Z] Removing intermediate container aca7005d863b [2021-01-04T16:45:53.414Z] ---> fe9132299628 [2021-01-04T16:45:53.414Z] Step 11/22 : FROM alpine:3.12 [2021-01-04T16:45:53.414Z] 3.12: Pulling from library/alpine [2021-01-04T16:45:53.414Z] 159e5727ea61: Pulling fs layer [2021-01-04T16:45:53.687Z] 159e5727ea61: Verifying Checksum [2021-01-04T16:45:53.688Z] 159e5727ea61: Download complete [2021-01-04T16:45:54.287Z] 159e5727ea61: Pull complete [2021-01-04T16:45:54.287Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-01-04T16:45:54.287Z] Status: Downloaded newer image for alpine:3.12 [2021-01-04T16:45:54.287Z] ---> afeebe901d6b [2021-01-04T16:45:54.287Z] Step 12/22 : ENV APP_PORT=49982 [2021-01-04T16:45:54.568Z] ---> Running in 18a53f0b68d4 [2021-01-04T16:45:54.840Z] Removing intermediate container 18a53f0b68d4 [2021-01-04T16:45:54.840Z] ---> 7717b09486c0 [2021-01-04T16:45:54.840Z] Step 13/22 : EXPOSE $APP_PORT [2021-01-04T16:45:55.112Z] ---> Running in 1018bd2f2432 [2021-01-04T16:45:55.402Z] Removing intermediate container 1018bd2f2432 [2021-01-04T16:45:55.402Z] ---> 1584dcdc54e9 [2021-01-04T16:45:55.402Z] Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2021-01-04T16:45:56.849Z] ---> 123de4f31014 [2021-01-04T16:45:56.849Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2021-01-04T16:45:57.444Z] ---> 4ca605d486e9 [2021-01-04T16:45:57.444Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2021-01-04T16:45:58.041Z] ---> 0d61501d8d83 [2021-01-04T16:45:58.041Z] Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2021-01-04T16:45:58.332Z] ---> Running in 986bd3190d2e [2021-01-04T16:45:58.612Z] Removing intermediate container 986bd3190d2e [2021-01-04T16:45:58.612Z] ---> 9cf3805ba5d2 [2021-01-04T16:45:58.612Z] Step 18/22 : ENTRYPOINT ["/device-mqtt"] [2021-01-04T16:45:58.887Z] ---> Running in 5ce360f80916 [2021-01-04T16:45:59.157Z] Removing intermediate container 5ce360f80916 [2021-01-04T16:45:59.157Z] ---> d140b03a58bf [2021-01-04T16:45:59.157Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-04T16:45:59.431Z] ---> Running in 8f5931eff8ed [2021-01-04T16:45:59.701Z] Removing intermediate container 8f5931eff8ed [2021-01-04T16:45:59.701Z] ---> d198f598d9d9 [2021-01-04T16:45:59.701Z] Step 20/22 : LABEL arch=arm64 [2021-01-04T16:45:59.972Z] ---> Running in bbc39d0df35f [2021-01-04T16:46:00.250Z] Removing intermediate container bbc39d0df35f [2021-01-04T16:46:00.250Z] ---> 074a6961d5f8 [2021-01-04T16:46:00.250Z] Step 21/22 : LABEL git_sha=7a1b18f551239dfc150e88617034cadc3790dddc [2021-01-04T16:46:00.526Z] ---> Running in 8e4362f63f11 [2021-01-04T16:46:01.121Z] Removing intermediate container 8e4362f63f11 [2021-01-04T16:46:01.121Z] ---> 59499dd12a78 [2021-01-04T16:46:01.121Z] Step 22/22 : LABEL version=1.3.1-dev.2 [2021-01-04T16:46:01.121Z] ---> Running in 7b478755dff5 [2021-01-04T16:46:01.719Z] Removing intermediate container 7b478755dff5 [2021-01-04T16:46:01.719Z] ---> 37250f035f94 [2021-01-04T16:46:01.719Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-04T16:46:01.719Z] Successfully built 37250f035f94 [2021-01-04T16:46:01.719Z] Successfully tagged docker-device-mqtt-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T16:46:02.164Z] provisioning config files... [2021-01-04T16:46:02.200Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/27@tmp/config2223845128049819014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:46:02.606Z] ---> docker-login.sh [2021-01-04T16:46:02.606Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:46:02.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:46:02.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:46:02.880Z] Configure a credential helper to remove this warning. See [2021-01-04T16:46:02.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:46:02.880Z] [2021-01-04T16:46:02.880Z] Login Succeeded [2021-01-04T16:46:02.880Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:46:03.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:46:03.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:46:03.476Z] Configure a credential helper to remove this warning. See [2021-01-04T16:46:03.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:46:03.476Z] [2021-01-04T16:46:03.476Z] Login Succeeded [2021-01-04T16:46:03.476Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:46:03.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:46:04.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:46:04.030Z] Configure a credential helper to remove this warning. See [2021-01-04T16:46:04.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:46:04.030Z] [2021-01-04T16:46:04.030Z] Login Succeeded [2021-01-04T16:46:04.030Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:46:04.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:46:04.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:46:04.581Z] Configure a credential helper to remove this warning. See [2021-01-04T16:46:04.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:46:04.581Z] [2021-01-04T16:46:04.581Z] Login Succeeded [2021-01-04T16:46:04.581Z] docker.io [2021-01-04T16:46:04.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:46:05.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:46:05.120Z] Configure a credential helper to remove this warning. See [2021-01-04T16:46:05.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:46:05.120Z] [2021-01-04T16:46:05.120Z] Login Succeeded [2021-01-04T16:46:05.120Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:46:05.136Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-04T16:46:05.347Z] [edgeXDocker.push] Tagging docker image docker-device-mqtt-go-arm64 with the following tags: [2021-01-04T16:46:05.348Z] 7a1b18f551239dfc150e88617034cadc3790dddc [2021-01-04T16:46:05.348Z] latest [2021-01-04T16:46:05.348Z] 1.3.1-dev.2 [2021-01-04T16:46:05.348Z] 7a1b18f551239dfc150e88617034cadc3790dddc-1.3.1-dev.2 [2021-01-04T16:46:05.348Z] master [2021-01-04T16:46:05.348Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:46:05.936Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:7a1b18f551239dfc150e88617034cadc3790dddc [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:46:06.272Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:7a1b18f551239dfc150e88617034cadc3790dddc [2021-01-04T16:46:06.272Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-01-04T16:46:06.272Z] 91e3524392e5: Preparing [2021-01-04T16:46:06.272Z] 2395c5c5125f: Preparing [2021-01-04T16:46:06.272Z] 93aad0d054aa: Preparing [2021-01-04T16:46:06.272Z] 379067d0cb53: Preparing [2021-01-04T16:46:06.550Z] 379067d0cb53: Layer already exists [2021-01-04T16:46:06.550Z] 91e3524392e5: Pushed [2021-01-04T16:46:06.550Z] 2395c5c5125f: Pushed [2021-01-04T16:46:09.166Z] 93aad0d054aa: Pushed [2021-01-04T16:46:09.436Z] 7a1b18f551239dfc150e88617034cadc3790dddc: digest: sha256:1133485565463f4ffb213abad1dca712cffc795c65c6d399555efe9d4f941808 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:46:09.776Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:46:10.113Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [2021-01-04T16:46:10.113Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-01-04T16:46:10.113Z] 91e3524392e5: Preparing [2021-01-04T16:46:10.113Z] 2395c5c5125f: Preparing [2021-01-04T16:46:10.113Z] 93aad0d054aa: Preparing [2021-01-04T16:46:10.113Z] 379067d0cb53: Preparing [2021-01-04T16:46:10.113Z] 2395c5c5125f: Layer already exists [2021-01-04T16:46:10.113Z] 93aad0d054aa: Layer already exists [2021-01-04T16:46:10.113Z] 379067d0cb53: Layer already exists [2021-01-04T16:46:10.113Z] 91e3524392e5: Layer already exists [2021-01-04T16:46:10.383Z] latest: digest: sha256:1133485565463f4ffb213abad1dca712cffc795c65c6d399555efe9d4f941808 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:46:10.728Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.1-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:46:11.055Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.1-dev.2 [2021-01-04T16:46:11.055Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-01-04T16:46:11.055Z] 91e3524392e5: Preparing [2021-01-04T16:46:11.055Z] 2395c5c5125f: Preparing [2021-01-04T16:46:11.055Z] 93aad0d054aa: Preparing [2021-01-04T16:46:11.055Z] 379067d0cb53: Preparing [2021-01-04T16:46:11.055Z] 2395c5c5125f: Layer already exists [2021-01-04T16:46:11.055Z] 93aad0d054aa: Layer already exists [2021-01-04T16:46:11.055Z] 91e3524392e5: Layer already exists [2021-01-04T16:46:11.328Z] 379067d0cb53: Layer already exists [2021-01-04T16:46:11.328Z] 1.3.1-dev.2: digest: sha256:1133485565463f4ffb213abad1dca712cffc795c65c6d399555efe9d4f941808 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:46:11.671Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:7a1b18f551239dfc150e88617034cadc3790dddc-1.3.1-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:46:12.016Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:7a1b18f551239dfc150e88617034cadc3790dddc-1.3.1-dev.2 [2021-01-04T16:46:12.016Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-01-04T16:46:12.016Z] 91e3524392e5: Preparing [2021-01-04T16:46:12.016Z] 2395c5c5125f: Preparing [2021-01-04T16:46:12.016Z] 93aad0d054aa: Preparing [2021-01-04T16:46:12.016Z] 379067d0cb53: Preparing [2021-01-04T16:46:12.016Z] 93aad0d054aa: Layer already exists [2021-01-04T16:46:12.016Z] 2395c5c5125f: Layer already exists [2021-01-04T16:46:12.016Z] 379067d0cb53: Layer already exists [2021-01-04T16:46:12.016Z] 91e3524392e5: Layer already exists [2021-01-04T16:46:12.292Z] 7a1b18f551239dfc150e88617034cadc3790dddc-1.3.1-dev.2: digest: sha256:1133485565463f4ffb213abad1dca712cffc795c65c6d399555efe9d4f941808 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:46:12.645Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:46:12.992Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [2021-01-04T16:46:12.992Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-01-04T16:46:12.992Z] 91e3524392e5: Preparing [2021-01-04T16:46:12.992Z] 2395c5c5125f: Preparing [2021-01-04T16:46:12.992Z] 93aad0d054aa: Preparing [2021-01-04T16:46:12.992Z] 379067d0cb53: Preparing [2021-01-04T16:46:12.992Z] 2395c5c5125f: Layer already exists [2021-01-04T16:46:12.992Z] 379067d0cb53: Layer already exists [2021-01-04T16:46:12.992Z] 93aad0d054aa: Layer already exists [2021-01-04T16:46:12.992Z] 91e3524392e5: Layer already exists [2021-01-04T16:46:13.261Z] master: digest: sha256:1133485565463f4ffb213abad1dca712cffc795c65c6d399555efe9d4f941808 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-01-04T16:46:13.484Z] ===================================================== [Pipeline] echo [2021-01-04T16:46:13.534Z] taggedImages: [2021-01-04T16:46:13.534Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:7a1b18f551239dfc150e88617034cadc3790dddc [2021-01-04T16:46:13.534Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [2021-01-04T16:46:13.534Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.1-dev.2 [2021-01-04T16:46:13.534Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:7a1b18f551239dfc150e88617034cadc3790dddc-1.3.1-dev.2 [2021-01-04T16:46:13.534Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-04T16:46:14.690Z] provisioning config files... [2021-01-04T16:46:14.710Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config1181297088834341236tmp [Pipeline] { [Pipeline] sh [2021-01-04T16:46:15.082Z] + set +x [2021-01-04T16:46:15.082Z] + curl -s https://codecov.io/bash [2021-01-04T16:46:15.082Z] + bash -s -- [2021-01-04T16:46:15.346Z] [2021-01-04T16:46:15.346Z] _____ _ [2021-01-04T16:46:15.346Z] / ____| | | [2021-01-04T16:46:15.346Z] | | ___ __| | ___ ___ _____ __ [2021-01-04T16:46:15.346Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-04T16:46:15.346Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-04T16:46:15.346Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-04T16:46:15.346Z] Bash-20201231-23d4836 [2021-01-04T16:46:15.346Z] [2021-01-04T16:46:15.346Z] [2021-01-04T16:46:15.346Z] ==> git version 2.24.3 found [2021-01-04T16:46:15.346Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-04T16:46:15.346Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-04T16:46:15.346Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-04T16:46:15.346Z] ==> Jenkins CI detected. [2021-01-04T16:46:15.346Z] project root: . [2021-01-04T16:46:15.346Z] --> token set from env [2021-01-04T16:46:15.346Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-04T16:46:15.346Z] ==> Running gcov in . (disable via -X gcov) [2021-01-04T16:46:15.346Z] ==> Python coveragepy not found [2021-01-04T16:46:15.346Z] ==> Searching for coverage reports in: [2021-01-04T16:46:15.346Z] + . [2021-01-04T16:46:15.346Z] -> Found 1 reports [2021-01-04T16:46:15.346Z] ==> Detecting git/mercurial file structure [2021-01-04T16:46:15.346Z] ==> Reading reports [2021-01-04T16:46:15.346Z] + ./coverage.out bytes=18940 [2021-01-04T16:46:15.346Z] ==> Appending adjustments [2021-01-04T16:46:15.346Z] https://docs.codecov.io/docs/fixing-reports [2021-01-04T16:46:15.346Z] + Found adjustments [2021-01-04T16:46:15.346Z] ==> Gzipping contents [2021-01-04T16:46:15.346Z] 4.0K /tmp/codecov.zJKckD.gz [2021-01-04T16:46:15.346Z] ==> Uploading reports [2021-01-04T16:46:15.346Z] url: https://codecov.io [2021-01-04T16:46:15.346Z] query: branch=master&commit=7a1b18f551239dfc150e88617034cadc3790dddc&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-04T16:46:15.346Z] -> Pinging Codecov [2021-01-04T16:46:15.347Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=master&commit=7a1b18f551239dfc150e88617034cadc3790dddc&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-04T16:46:15.926Z] -> Uploading to [2021-01-04T16:46:15.926Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-04/7D719EC7BBE17E464838252E33014C33/7a1b18f551239dfc150e88617034cadc3790dddc/1644cdd7-e97d-47be-84ce-7c158adbedb0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210104T164615Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=59861bb53637235420226b0555b2a99c94f188feeb3bcab493ade13c6a4347c8 [2021-01-04T16:46:15.926Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-04T16:46:15.926Z] Dload Upload Total Spent Left Speed [2021-01-04T16:46:16.188Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3288 0 0 100 3288 0 7832 --:--:-- --:--:-- --:--:-- 7847 [2021-01-04T16:46:16.188Z] -> View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/7a1b18f551239dfc150e88617034cadc3790dddc [Pipeline] } [2021-01-04T16:46:16.199Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-04T16:46:17.121Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-04T16:46:17.181Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:46:17.546Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-04T16:46:17.814Z] [2021-01-04T16:46:17.814Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:46:18.187Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-04T16:46:18.187Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-04T16:46:18.187Z] 188c0c94c7c5: Pulling fs layer [2021-01-04T16:46:18.187Z] 0ef7d3d256c8: Pulling fs layer [2021-01-04T16:46:18.187Z] de9db76c5a1d: Pulling fs layer [2021-01-04T16:46:18.188Z] 0eba1c9be4d2: Pulling fs layer [2021-01-04T16:46:18.188Z] 0d57e429df01: Pulling fs layer [2021-01-04T16:46:18.188Z] 4e4be7b47b0d: Pulling fs layer [2021-01-04T16:46:18.188Z] e1f770b5df2f: Pulling fs layer [2021-01-04T16:46:18.188Z] 85a0685a4137: Pulling fs layer [2021-01-04T16:46:18.188Z] 0d57e429df01: Waiting [2021-01-04T16:46:18.188Z] 4e4be7b47b0d: Waiting [2021-01-04T16:46:18.188Z] e1f770b5df2f: Waiting [2021-01-04T16:46:18.188Z] 85a0685a4137: Waiting [2021-01-04T16:46:18.188Z] 0eba1c9be4d2: Waiting [2021-01-04T16:46:18.188Z] de9db76c5a1d: Verifying Checksum [2021-01-04T16:46:18.188Z] de9db76c5a1d: Download complete [2021-01-04T16:46:18.188Z] 0ef7d3d256c8: Verifying Checksum [2021-01-04T16:46:18.188Z] 0ef7d3d256c8: Download complete [2021-01-04T16:46:18.188Z] 0d57e429df01: Verifying Checksum [2021-01-04T16:46:18.188Z] 0d57e429df01: Download complete [2021-01-04T16:46:18.188Z] 4e4be7b47b0d: Verifying Checksum [2021-01-04T16:46:18.188Z] 4e4be7b47b0d: Download complete [2021-01-04T16:46:18.188Z] 188c0c94c7c5: Verifying Checksum [2021-01-04T16:46:18.188Z] 188c0c94c7c5: Download complete [2021-01-04T16:46:18.767Z] 188c0c94c7c5: Pull complete [2021-01-04T16:46:19.031Z] 0ef7d3d256c8: Pull complete [2021-01-04T16:46:19.295Z] de9db76c5a1d: Pull complete [2021-01-04T16:46:19.558Z] e1f770b5df2f: Verifying Checksum [2021-01-04T16:46:19.559Z] e1f770b5df2f: Download complete [2021-01-04T16:46:24.889Z] 0eba1c9be4d2: Verifying Checksum [2021-01-04T16:46:24.889Z] 0eba1c9be4d2: Download complete [2021-01-04T16:46:24.889Z] 85a0685a4137: Verifying Checksum [2021-01-04T16:46:24.889Z] 85a0685a4137: Download complete [2021-01-04T16:46:30.234Z] 0eba1c9be4d2: Pull complete [2021-01-04T16:46:30.497Z] 0d57e429df01: Pull complete [2021-01-04T16:46:30.769Z] 4e4be7b47b0d: Pull complete [2021-01-04T16:46:33.359Z] e1f770b5df2f: Pull complete [2021-01-04T16:46:41.555Z] 85a0685a4137: Pull complete [2021-01-04T16:46:41.555Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-04T16:46:41.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-04T16:46:41.555Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-04T16:46:41.792Z] prd-centos7-docker-4c-2g-18195 does not seem to be running inside a container [2021-01-04T16:46:41.845Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-01-04T16:46:42.999Z] $ docker top e2a2b402354a11cd991076ff93eec3681f2b954769212de8c7c583908ae62d62 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-04T16:46:43.220Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-04T16:46:43.519Z] + set -o pipefail [2021-01-04T16:46:43.519Z] + snyk monitor '--org=edgex-jenkins' [2021-01-04T16:46:55.776Z] [2021-01-04T16:46:55.776Z] Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... [2021-01-04T16:46:55.776Z] [2021-01-04T16:46:55.776Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/1c893afe-eb07-46a0-86e7-00ad6c18ee61 [2021-01-04T16:46:55.776Z] [2021-01-04T16:46:55.776Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-04T16:46:55.776Z] [2021-01-04T16:46:55.776Z] [Pipeline] } [2021-01-04T16:46:55.794Z] $ docker stop --time=1 e2a2b402354a11cd991076ff93eec3681f2b954769212de8c7c583908ae62d62 [2021-01-04T16:46:58.532Z] $ docker rm -f e2a2b402354a11cd991076ff93eec3681f2b954769212de8c7c583908ae62d62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-01-04T16:47:00.752Z] + git log --format=format:%s -1 7a1b18f551239dfc150e88617034cadc3790dddc [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:47:01.093Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:47:01.093Z] . [Pipeline] withDockerContainer [2021-01-04T16:47:01.207Z] prd-centos7-docker-4c-2g-18195 does not seem to be running inside a container [2021-01-04T16:47:01.274Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-04T16:47:02.206Z] $ docker top 63ff1ca71e62239c08dba362cd36a5e6f1389d6ed05323514c9ede2b39dbd9c4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T16:47:02.521Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:47:02.521Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:47:02.774Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:47:02.778Z] $ docker exec 63ff1ca71e62239c08dba362cd36a5e6f1389d6ed05323514c9ede2b39dbd9c4 ssh-agent [2021-01-04T16:47:02.946Z] SSH_AUTH_SOCK=/tmp/ssh-sRUdMaMp8Ls0/agent.11 [2021-01-04T16:47:02.946Z] SSH_AGENT_PID=16 [2021-01-04T16:47:02.955Z] Running ssh-add (command line suppressed) [2021-01-04T16:47:03.090Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2289447539440041955.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2289447539440041955.key) [2021-01-04T16:47:03.143Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:47:03.490Z] + git semver tag [2021-01-04T16:47:03.490Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T16:47:03.490Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-01-04T16:47:03.490Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-01-04T16:47:03.490Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T16:47:03.490Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T16:47:03.490Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T16:47:03.490Z] # $SEMVER_BRANCH = master [2021-01-04T16:47:03.490Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-01-04T16:47:03.490Z] # 7a1b18f551239dfc150e88617034cadc3790dddc HEAD [2021-01-04T16:47:03.490Z] # -> Force: false [2021-01-04T16:47:03.490Z] # c8a8be7e186e51470b5c78619e31fb3de513c9ea refs/tags/v1.3.1-dev.2 [Pipeline] } [2021-01-04T16:47:03.503Z] $ docker exec --env ******** --env ******** 63ff1ca71e62239c08dba362cd36a5e6f1389d6ed05323514c9ede2b39dbd9c4 ssh-agent -k [2021-01-04T16:47:03.628Z] unset SSH_AUTH_SOCK; [2021-01-04T16:47:03.628Z] unset SSH_AGENT_PID; [2021-01-04T16:47:03.628Z] echo Agent pid 16 killed; [2021-01-04T16:47:03.680Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T16:47:04.194Z] + git semver [Pipeline] } [2021-01-04T16:47:04.212Z] $ docker stop --time=1 63ff1ca71e62239c08dba362cd36a5e6f1389d6ed05323514c9ede2b39dbd9c4 [2021-01-04T16:47:05.561Z] $ docker rm -f 63ff1ca71e62239c08dba362cd36a5e6f1389d6ed05323514c9ede2b39dbd9c4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:47:06.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-04T16:47:06.174Z] [2021-01-04T16:47:06.174Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:47:06.533Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-04T16:47:06.533Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-04T16:47:06.533Z] ab5ef0e58194: Pulling fs layer [2021-01-04T16:47:06.533Z] 9712f1f96733: Pulling fs layer [2021-01-04T16:47:06.533Z] 63f879dbbcfc: Pulling fs layer [2021-01-04T16:47:06.533Z] 0d9ebad4ef96: Pulling fs layer [2021-01-04T16:47:06.533Z] e9a5061849ea: Pulling fs layer [2021-01-04T16:47:06.533Z] d747dcd14b5f: Pulling fs layer [2021-01-04T16:47:06.533Z] 2de7ff778b66: Pulling fs layer [2021-01-04T16:47:06.533Z] e9a5061849ea: Waiting [2021-01-04T16:47:06.533Z] d747dcd14b5f: Waiting [2021-01-04T16:47:06.533Z] 2de7ff778b66: Waiting [2021-01-04T16:47:06.533Z] 0d9ebad4ef96: Waiting [2021-01-04T16:47:06.534Z] 9712f1f96733: Verifying Checksum [2021-01-04T16:47:06.534Z] 9712f1f96733: Download complete [2021-01-04T16:47:07.937Z] 63f879dbbcfc: Verifying Checksum [2021-01-04T16:47:07.937Z] 63f879dbbcfc: Download complete [2021-01-04T16:47:08.210Z] e9a5061849ea: Verifying Checksum [2021-01-04T16:47:08.210Z] e9a5061849ea: Download complete [2021-01-04T16:47:08.210Z] d747dcd14b5f: Verifying Checksum [2021-01-04T16:47:08.210Z] d747dcd14b5f: Download complete [2021-01-04T16:47:08.876Z] 2de7ff778b66: Verifying Checksum [2021-01-04T16:47:08.876Z] 2de7ff778b66: Download complete [2021-01-04T16:47:08.876Z] ab5ef0e58194: Verifying Checksum [2021-01-04T16:47:08.876Z] ab5ef0e58194: Download complete [2021-01-04T16:47:09.166Z] 0d9ebad4ef96: Verifying Checksum [2021-01-04T16:47:09.166Z] 0d9ebad4ef96: Download complete [2021-01-04T16:47:13.464Z] ab5ef0e58194: Pull complete [2021-01-04T16:47:13.464Z] 9712f1f96733: Pull complete [2021-01-04T16:47:15.393Z] 63f879dbbcfc: Pull complete [2021-01-04T16:47:22.051Z] 0d9ebad4ef96: Pull complete [2021-01-04T16:47:25.394Z] e9a5061849ea: Pull complete [2021-01-04T16:47:25.394Z] d747dcd14b5f: Pull complete [2021-01-04T16:47:26.352Z] 2de7ff778b66: Pull complete [2021-01-04T16:47:26.615Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-04T16:47:26.615Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-04T16:47:26.615Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-04T16:47:26.826Z] prd-centos7-docker-4c-2g-18195 does not seem to be running inside a container [2021-01-04T16:47:26.879Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-01-04T16:47:32.177Z] $ docker top 202c6ac2d70ade167147073debf867e69b23b5554f85460fa036942c7e72ab63 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-04T16:47:32.404Z] provisioning config files... [2021-01-04T16:47:32.414Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config4151648729958905235tmp [2021-01-04T16:47:32.434Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config6442444997893443638tmp [2021-01-04T16:47:32.449Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3608430251343965102tmp [Pipeline] { [Pipeline] echo [2021-01-04T16:47:32.506Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:47:32.808Z] ---> sigul-configuration.sh [2021-01-04T16:47:32.808Z] gpg: directory `/root/.gnupg' created [2021-01-04T16:47:32.808Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-04T16:47:32.808Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-04T16:47:32.808Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-04T16:47:32.808Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-04T16:47:32.808Z] gpg: CAST5 encrypted data [2021-01-04T16:47:33.072Z] gpg: encrypted with 1 passphrase [2021-01-04T16:47:33.073Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-04T16:47:33.373Z] + mkdir /home/jenkins [2021-01-04T16:47:33.373Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-04T16:47:33.677Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-01-04T16:47:33.689Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:47:33.986Z] ---> sigul-install.sh [2021-01-04T16:47:39.306Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-04T16:47:39.618Z] + git tag --list [2021-01-04T16:47:39.618Z] 0.7.1 [2021-01-04T16:47:39.619Z] v1.0.0 [2021-01-04T16:47:39.619Z] v1.1.0 [2021-01-04T16:47:39.619Z] v1.1.1 [2021-01-04T16:47:39.619Z] v1.2.1 [2021-01-04T16:47:39.619Z] v1.2.2 [2021-01-04T16:47:39.619Z] v1.2.2-dev.1 [2021-01-04T16:47:39.619Z] v1.2.2-dev.2 [2021-01-04T16:47:39.619Z] v1.2.3-dev.1 [2021-01-04T16:47:39.619Z] v1.2.3-dev.10 [2021-01-04T16:47:39.619Z] v1.2.3-dev.2 [2021-01-04T16:47:39.619Z] v1.2.3-dev.3 [2021-01-04T16:47:39.619Z] v1.2.3-dev.4 [2021-01-04T16:47:39.619Z] v1.2.3-dev.5 [2021-01-04T16:47:39.619Z] v1.2.3-dev.6 [2021-01-04T16:47:39.619Z] v1.2.3-dev.7 [2021-01-04T16:47:39.619Z] v1.2.3-dev.8 [2021-01-04T16:47:39.619Z] v1.2.3-dev.9 [2021-01-04T16:47:39.619Z] v1.3.0 [2021-01-04T16:47:39.619Z] v1.3.1-dev.1 [2021-01-04T16:47:39.619Z] v1.3.1-dev.2 [Pipeline] sh [2021-01-04T16:47:39.922Z] + lftools sign git-tag v1.3.1-dev.2 [2021-01-04T16:47:41.318Z] Signing Git tag with Sigul... [2021-01-04T16:47:41.318Z] Signing v1.3.1-dev.2 [Pipeline] echo [2021-01-04T16:47:42.288Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:47:42.588Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-04T16:47:42.599Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-04T16:47:42.705Z] $ docker stop --time=1 202c6ac2d70ade167147073debf867e69b23b5554f85460fa036942c7e72ab63 [2021-01-04T16:47:44.824Z] $ docker rm -f 202c6ac2d70ade167147073debf867e69b23b5554f85460fa036942c7e72ab63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:47:45.809Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:47:45.809Z] . [Pipeline] withDockerContainer [2021-01-04T16:47:45.915Z] prd-centos7-docker-4c-2g-18195 does not seem to be running inside a container [2021-01-04T16:47:45.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-04T16:47:46.703Z] $ docker top 402a4e42b9e96916a20fa2302be9ef63e6b98083d95583a0e0ce7ad6b7fbb41e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T16:47:47.149Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:47:47.149Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:47:47.366Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:47:47.370Z] $ docker exec 402a4e42b9e96916a20fa2302be9ef63e6b98083d95583a0e0ce7ad6b7fbb41e ssh-agent [2021-01-04T16:47:47.558Z] SSH_AUTH_SOCK=/tmp/ssh-TXZzuEvHGCYh/agent.11 [2021-01-04T16:47:47.559Z] SSH_AGENT_PID=17 [2021-01-04T16:47:47.565Z] Running ssh-add (command line suppressed) [2021-01-04T16:47:47.692Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2681149033514572144.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2681149033514572144.key) [2021-01-04T16:47:47.754Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:47:48.091Z] + git semver bump pre [2021-01-04T16:47:48.092Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T16:47:48.092Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-01-04T16:47:48.092Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-01-04T16:47:48.092Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T16:47:48.092Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T16:47:48.092Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T16:47:48.092Z] # $SEMVER_BRANCH = master [2021-01-04T16:47:48.092Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-01-04T16:47:48.092Z] 1.3.1-dev.3 [Pipeline] } [2021-01-04T16:47:48.105Z] $ docker exec --env ******** --env ******** 402a4e42b9e96916a20fa2302be9ef63e6b98083d95583a0e0ce7ad6b7fbb41e ssh-agent -k [2021-01-04T16:47:48.223Z] unset SSH_AUTH_SOCK; [2021-01-04T16:47:48.223Z] unset SSH_AGENT_PID; [2021-01-04T16:47:48.224Z] echo Agent pid 17 killed; [2021-01-04T16:47:48.279Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T16:47:48.772Z] + git semver [Pipeline] } [2021-01-04T16:47:48.792Z] $ docker stop --time=1 402a4e42b9e96916a20fa2302be9ef63e6b98083d95583a0e0ce7ad6b7fbb41e [2021-01-04T16:47:50.187Z] $ docker rm -f 402a4e42b9e96916a20fa2302be9ef63e6b98083d95583a0e0ce7ad6b7fbb41e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:47:50.894Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:47:50.894Z] . [Pipeline] withDockerContainer [2021-01-04T16:47:51.002Z] prd-centos7-docker-4c-2g-18195 does not seem to be running inside a container [2021-01-04T16:47:51.051Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-04T16:47:51.841Z] $ docker top 34da84b471eaf96760932acc997d7d6878c8b299cdf95795fcf831b41b7e871e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T16:47:52.203Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:47:52.203Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:47:52.410Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:47:52.414Z] $ docker exec 34da84b471eaf96760932acc997d7d6878c8b299cdf95795fcf831b41b7e871e ssh-agent [2021-01-04T16:47:52.607Z] SSH_AUTH_SOCK=/tmp/ssh-GFpnh03zWXlm/agent.11 [2021-01-04T16:47:52.607Z] SSH_AGENT_PID=16 [2021-01-04T16:47:52.616Z] Running ssh-add (command line suppressed) [2021-01-04T16:47:52.747Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5849785443761626030.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5849785443761626030.key) [2021-01-04T16:47:52.808Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:47:53.149Z] + git semver push [2021-01-04T16:47:53.149Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T16:47:53.149Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-01-04T16:47:53.149Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-01-04T16:47:53.149Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T16:47:53.149Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T16:47:53.149Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T16:47:53.149Z] # $SEMVER_BRANCH = master [2021-01-04T16:47:53.149Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-01-04T16:47:59.773Z] $ docker exec --env ******** --env ******** 34da84b471eaf96760932acc997d7d6878c8b299cdf95795fcf831b41b7e871e ssh-agent -k [2021-01-04T16:47:59.971Z] unset SSH_AUTH_SOCK; [2021-01-04T16:47:59.972Z] unset SSH_AGENT_PID; [2021-01-04T16:47:59.972Z] echo Agent pid 16 killed; [2021-01-04T16:48:00.059Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T16:48:00.649Z] + git semver [Pipeline] } [2021-01-04T16:48:00.687Z] $ docker stop --time=1 34da84b471eaf96760932acc997d7d6878c8b299cdf95795fcf831b41b7e871e [2021-01-04T16:48:02.073Z] $ docker rm -f 34da84b471eaf96760932acc997d7d6878c8b299cdf95795fcf831b41b7e871e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:48:03.403Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:48:03.979Z] ---> package-listing.sh [2021-01-04T16:48:03.979Z] ++ facter osfamily [2021-01-04T16:48:03.979Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-04T16:48:03.979Z] + OS_FAMILY=redhat [2021-01-04T16:48:03.979Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_master [2021-01-04T16:48:03.979Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-04T16:48:03.979Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-04T16:48:03.979Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-04T16:48:03.979Z] + PACKAGES=/tmp/packages_start.txt [2021-01-04T16:48:03.979Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-01-04T16:48:03.979Z] + PACKAGES=/tmp/packages_end.txt [2021-01-04T16:48:03.979Z] + case "${OS_FAMILY}" in [2021-01-04T16:48:03.979Z] + rpm -qa [2021-01-04T16:48:03.979Z] + sort [2021-01-04T16:48:09.311Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-04T16:48:09.311Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-04T16:48:09.311Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-04T16:48:09.311Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-01-04T16:48:09.311Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [2021-01-04T16:48:09.311Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo [2021-01-04T16:48:09.325Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-04T16:48:09.617Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:48:09.918Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T16:48:09.918Z] [2021-01-04T16:48:09.918Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:48:10.262Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T16:48:10.263Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-04T16:48:10.263Z] df20fa9351a1: Pulling fs layer [2021-01-04T16:48:10.263Z] 36b3adc4ff6f: Pulling fs layer [2021-01-04T16:48:10.263Z] 8ad3a11d3b57: Pulling fs layer [2021-01-04T16:48:10.263Z] 46f8f816bc3b: Pulling fs layer [2021-01-04T16:48:10.263Z] 93b61091891f: Pulling fs layer [2021-01-04T16:48:10.263Z] 93b9cdb0e59b: Pulling fs layer [2021-01-04T16:48:10.263Z] 5e14af77c1be: Pulling fs layer [2021-01-04T16:48:10.263Z] 01666e4c0597: Pulling fs layer [2021-01-04T16:48:10.263Z] aa168da1d23b: Pulling fs layer [2021-01-04T16:48:10.263Z] 46f8f816bc3b: Waiting [2021-01-04T16:48:10.263Z] 5e14af77c1be: Waiting [2021-01-04T16:48:10.263Z] 93b61091891f: Waiting [2021-01-04T16:48:10.263Z] 93b9cdb0e59b: Waiting [2021-01-04T16:48:10.263Z] 01666e4c0597: Waiting [2021-01-04T16:48:10.263Z] aa168da1d23b: Waiting [2021-01-04T16:48:10.263Z] 36b3adc4ff6f: Verifying Checksum [2021-01-04T16:48:10.263Z] 36b3adc4ff6f: Download complete [2021-01-04T16:48:10.263Z] 46f8f816bc3b: Verifying Checksum [2021-01-04T16:48:10.263Z] 46f8f816bc3b: Download complete [2021-01-04T16:48:10.525Z] df20fa9351a1: Verifying Checksum [2021-01-04T16:48:10.525Z] 93b61091891f: Verifying Checksum [2021-01-04T16:48:10.525Z] 93b61091891f: Download complete [2021-01-04T16:48:10.525Z] 93b9cdb0e59b: Verifying Checksum [2021-01-04T16:48:10.525Z] 93b9cdb0e59b: Download complete [2021-01-04T16:48:10.525Z] 5e14af77c1be: Verifying Checksum [2021-01-04T16:48:10.525Z] 5e14af77c1be: Download complete [2021-01-04T16:48:10.525Z] 01666e4c0597: Download complete [2021-01-04T16:48:10.797Z] 8ad3a11d3b57: Verifying Checksum [2021-01-04T16:48:10.797Z] 8ad3a11d3b57: Download complete [2021-01-04T16:48:11.059Z] df20fa9351a1: Pull complete [2021-01-04T16:48:11.324Z] 36b3adc4ff6f: Pull complete [2021-01-04T16:48:11.904Z] 8ad3a11d3b57: Pull complete [2021-01-04T16:48:12.180Z] 46f8f816bc3b: Pull complete [2021-01-04T16:48:13.147Z] 93b61091891f: Pull complete [2021-01-04T16:48:13.147Z] aa168da1d23b: Verifying Checksum [2021-01-04T16:48:13.147Z] aa168da1d23b: Download complete [2021-01-04T16:48:13.726Z] 93b9cdb0e59b: Pull complete [2021-01-04T16:48:13.726Z] 5e14af77c1be: Pull complete [2021-01-04T16:48:13.990Z] 01666e4c0597: Pull complete [2021-01-04T16:48:22.191Z] aa168da1d23b: Pull complete [2021-01-04T16:48:22.191Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-04T16:48:22.191Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T16:48:22.191Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-04T16:48:22.403Z] prd-centos7-docker-4c-2g-18195 does not seem to be running inside a container [2021-01-04T16:48:22.457Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-04T16:48:25.339Z] $ docker top 0cea8fbdae5ba5c098b924926495001cd05cd164c774bf7e7bc8268e9907b231 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:48:25.921Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-04T16:48:26.227Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-04T16:48:26.525Z] + ls /var/log/sa-host [2021-01-04T16:48:26.525Z] + sadf -c /var/log/sa-host/sa04 [2021-01-04T16:48:26.525Z] file_magic: OK [2021-01-04T16:48:26.525Z] HZ: Using current value: 100 [2021-01-04T16:48:26.525Z] file_header: OK [2021-01-04T16:48:26.525Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-04T16:48:26.525Z] Statistics: [2021-01-04T16:48:26.525Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-04T16:48:26.525Z] File successfully converted to sysstat format version 12.2.1 [2021-01-04T16:48:26.525Z] + sadf -c /var/log/sa-host/sa23 [2021-01-04T16:48:26.525Z] file_magic: OK [2021-01-04T16:48:26.525Z] HZ: Using current value: 100 [2021-01-04T16:48:26.525Z] file_header: OK [2021-01-04T16:48:26.525Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-04T16:48:26.525Z] Statistics: [2021-01-04T16:48:26.525Z] Hnuu...uuuununununu... [2021-01-04T16:48:26.525Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-04T16:48:26.713Z] provisioning config files... [2021-01-04T16:48:26.730Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config8529059480914077880tmp [Pipeline] { [Pipeline] echo [2021-01-04T16:48:26.809Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:48:27.104Z] ---> create-netrc.sh [Pipeline] } [2021-01-04T16:48:27.114Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-04T16:48:27.205Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:48:27.501Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-04T16:48:27.512Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:48:27.808Z] ---> sudo-logs.sh [2021-01-04T16:48:27.809Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-04T16:48:27.820Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:48:28.120Z] ---> job-cost.sh [2021-01-04T16:48:28.120Z] lf-activate-venv: SKIPPING [2021-01-04T16:48:28.120Z] INFO: No Stack... [2021-01-04T16:48:29.074Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-04T16:48:29.339Z] INFO: Archiving Costs [Pipeline] echo [2021-01-04T16:48:29.354Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:48:29.656Z] ---> logs-deploy.sh [2021-01-04T16:48:29.656Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/27 [2021-01-04T16:48:29.656Z] INFO: archiving workspace using pattern(s): [2021-01-04T16:48:31.589Z] Archives upload complete. [2021-01-04T16:48:31.589Z] INFO: archiving logs to Nexus