Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c3ea08299f7873d083b04f44694daa6999a66061 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-mqtt-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-24894 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 c3ea08299f7873d083b04f44694daa6999a66061 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f c3ea08299f7873d083b04f44694daa6999a66061 # timeout=10 Commit message: "Merge pull request #208 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.0" > git rev-list --no-walk d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-04T05:07:41.071Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-04T05:07:41.336Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-04T05:07:41.431Z] ========================================================= [2021-02-04T05:07:41.431Z] EdgeX Global Pipelines Version Info [2021-02-04T05:07:41.431Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-04T05:07:42.984Z] ------------------- [2021-02-04T05:07:42.984Z] stable info: [2021-02-04T05:07:42.984Z] ------------------- [2021-02-04T05:07:42.984Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-04T05:07:42.984Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-04T05:07:42.984Z] Message: update stable to v1.0.179 [2021-02-04T05:07:43.931Z] ------------------- [2021-02-04T05:07:43.931Z] experimental info: [2021-02-04T05:07:43.931Z] ------------------- [2021-02-04T05:07:43.931Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-04T05:07:43.931Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-04T05:07:43.931Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-04T05:07:44.208Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-02-04T05:07:44.291Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-02-04T05:07:44.376Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-04T05:07:44.462Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-04T05:07:44.572Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-04T05:07:44.662Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-04T05:07:44.763Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-04T05:07:44.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-04T05:07:44.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-04T05:07:45.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-04T05:07:45.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-04T05:07:45.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2021-02-04T05:07:45.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-04T05:07:45.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-04T05:07:45.536Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-04T05:07:45.621Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-02-04T05:07:45.712Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T05:07:45.801Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T05:07:45.889Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-04T05:07:45.976Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-02-04T05:07:46.065Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-02-04T05:07:46.151Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-02-04T05:07:46.258Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-04T05:07:46.351Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-04T05:07:46.452Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-04T05:07:46.539Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-04T05:07:46.685Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-04T05:07:46.777Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-02-04T05:07:46.872Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-02-04T05:07:46.957Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-02-04T05:07:47.047Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c3ea08299f7873d083b04f44694daa6999a66061 [Pipeline] echo [2021-02-04T05:07:47.169Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c3ea082 [Pipeline] echo [2021-02-04T05:07:47.288Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T05:07:47.461Z] provisioning config files... [2021-02-04T05:07:47.491Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3332731838529129056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T05:07:47.850Z] ---> docker-login.sh [2021-02-04T05:07:47.851Z] nexus3.edgexfoundry.org:10001 [2021-02-04T05:07:48.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:07:48.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:07:48.375Z] Configure a credential helper to remove this warning. See [2021-02-04T05:07:48.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:07:48.375Z] [2021-02-04T05:07:48.375Z] Login Succeeded [2021-02-04T05:07:48.375Z] nexus3.edgexfoundry.org:10002 [2021-02-04T05:07:48.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:07:48.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:07:48.375Z] Configure a credential helper to remove this warning. See [2021-02-04T05:07:48.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:07:48.375Z] [2021-02-04T05:07:48.375Z] Login Succeeded [2021-02-04T05:07:48.375Z] nexus3.edgexfoundry.org:10003 [2021-02-04T05:07:48.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:07:48.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:07:48.639Z] Configure a credential helper to remove this warning. See [2021-02-04T05:07:48.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:07:48.639Z] [2021-02-04T05:07:48.639Z] Login Succeeded [2021-02-04T05:07:48.639Z] nexus3.edgexfoundry.org:10004 [2021-02-04T05:07:48.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:07:48.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:07:48.904Z] Configure a credential helper to remove this warning. See [2021-02-04T05:07:48.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:07:48.904Z] [2021-02-04T05:07:48.904Z] Login Succeeded [2021-02-04T05:07:48.904Z] docker.io [2021-02-04T05:07:48.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:07:49.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:07:49.167Z] Configure a credential helper to remove this warning. See [2021-02-04T05:07:49.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:07:49.167Z] [2021-02-04T05:07:49.167Z] Login Succeeded [2021-02-04T05:07:49.167Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T05:07:49.176Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T05:07:50.001Z] + git log --format=format:%s -1 c3ea08299f7873d083b04f44694daa6999a66061 [Pipeline] echo [2021-02-04T05:07:50.074Z] GIT_COMMIT: c3ea08299f7873d083b04f44694daa6999a66061, Commit Message: Merge pull request #208 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.0 [Pipeline] echo [2021-02-04T05:07:50.144Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:07:51.110Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T05:07:51.110Z] [2021-02-04T05:07:51.110Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:07:51.455Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T05:07:51.455Z] latest: Pulling from edgex-devops/git-semver [2021-02-04T05:07:51.455Z] 31603596830f: Pulling fs layer [2021-02-04T05:07:51.455Z] 2a8b12db71e7: Pulling fs layer [2021-02-04T05:07:51.455Z] 6ca5941a6612: Pulling fs layer [2021-02-04T05:07:51.455Z] ecc8261a40a4: Pulling fs layer [2021-02-04T05:07:51.455Z] ecc8261a40a4: Waiting [2021-02-04T05:07:51.455Z] 2a8b12db71e7: Verifying Checksum [2021-02-04T05:07:51.455Z] 2a8b12db71e7: Download complete [2021-02-04T05:07:51.719Z] 31603596830f: Verifying Checksum [2021-02-04T05:07:51.719Z] 31603596830f: Download complete [2021-02-04T05:07:51.719Z] 6ca5941a6612: Verifying Checksum [2021-02-04T05:07:51.719Z] 6ca5941a6612: Download complete [2021-02-04T05:07:51.719Z] ecc8261a40a4: Verifying Checksum [2021-02-04T05:07:51.719Z] ecc8261a40a4: Download complete [2021-02-04T05:07:51.981Z] 31603596830f: Pull complete [2021-02-04T05:07:52.248Z] 2a8b12db71e7: Pull complete [2021-02-04T05:07:52.824Z] 6ca5941a6612: Pull complete [2021-02-04T05:07:53.089Z] ecc8261a40a4: Pull complete [2021-02-04T05:07:53.351Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-04T05:07:53.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T05:07:53.351Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-04T05:07:53.452Z] prd-centos7-docker-4c-2g-24894 does not seem to be running inside a container [2021-02-04T05:07:53.500Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-04T05:07:55.619Z] $ docker top 7d307113df01b6c9b6ae68e12ef67eaa4bb89478e286df15618b7e269f772270 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-04T05:07:56.383Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T05:07:56.383Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T05:07:56.611Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T05:07:56.615Z] $ docker exec 7d307113df01b6c9b6ae68e12ef67eaa4bb89478e286df15618b7e269f772270 ssh-agent [2021-02-04T05:07:56.796Z] SSH_AUTH_SOCK=/tmp/ssh-fUElCYDcZmRp/agent.11 [2021-02-04T05:07:56.796Z] SSH_AGENT_PID=16 [2021-02-04T05:07:56.807Z] Running ssh-add (command line suppressed) [2021-02-04T05:07:56.939Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7476951783609044886.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7476951783609044886.key) [2021-02-04T05:07:57.000Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T05:07:57.351Z] + git tag --points-at HEAD [Pipeline] } [2021-02-04T05:07:57.370Z] $ docker exec --env ******** --env ******** 7d307113df01b6c9b6ae68e12ef67eaa4bb89478e286df15618b7e269f772270 ssh-agent -k [2021-02-04T05:07:57.485Z] unset SSH_AUTH_SOCK; [2021-02-04T05:07:57.486Z] unset SSH_AGENT_PID; [2021-02-04T05:07:57.486Z] echo Agent pid 16 killed; [2021-02-04T05:07:57.534Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-04T05:07:57.674Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T05:07:57.674Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T05:07:57.847Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T05:07:57.852Z] $ docker exec 7d307113df01b6c9b6ae68e12ef67eaa4bb89478e286df15618b7e269f772270 ssh-agent [2021-02-04T05:07:58.015Z] SSH_AUTH_SOCK=/tmp/ssh-d9OXlPL8iSKf/agent.45 [2021-02-04T05:07:58.015Z] SSH_AGENT_PID=50 [2021-02-04T05:07:58.021Z] Running ssh-add (command line suppressed) [2021-02-04T05:07:58.139Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6831486250478740963.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6831486250478740963.key) [2021-02-04T05:07:58.195Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T05:07:58.530Z] + git semver init [2021-02-04T05:07:58.530Z] # -> Open(): unable to determine branch for HEAD [2021-02-04T05:07:58.530Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-02-04T05:07:58.530Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-02-04T05:07:58.530Z] # $SEMVER_REMOTE_NAME = origin [2021-02-04T05:07:58.530Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-04T05:07:58.530Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-04T05:07:58.530Z] # $SEMVER_BRANCH = master [2021-02-04T05:07:58.530Z] # $SEMVER_TEMP = /tmp/semver-485333670 [2021-02-04T05:07:58.530Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-02-04T05:07:58.793Z] # '/tmp/semver-485333670' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' [2021-02-04T05:07:58.793Z] # -> Force: false [2021-02-04T05:07:58.793Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-02-04T05:07:58.806Z] $ docker exec --env ******** --env ******** 7d307113df01b6c9b6ae68e12ef67eaa4bb89478e286df15618b7e269f772270 ssh-agent -k [2021-02-04T05:07:58.921Z] unset SSH_AUTH_SOCK; [2021-02-04T05:07:58.922Z] unset SSH_AGENT_PID; [2021-02-04T05:07:58.922Z] echo Agent pid 50 killed; [2021-02-04T05:07:58.971Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-04T05:07:59.444Z] + git semver [Pipeline] } [2021-02-04T05:07:59.461Z] $ docker stop --time=1 7d307113df01b6c9b6ae68e12ef67eaa4bb89478e286df15618b7e269f772270 [2021-02-04T05:08:01.268Z] $ docker rm -f 7d307113df01b6c9b6ae68e12ef67eaa4bb89478e286df15618b7e269f772270 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-04T05:08:01.883Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-04T05:08:02.276Z] Stashed 1 file(s) [Pipeline] echo [2021-02-04T05:08:02.280Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-02-04T05:08:17.813Z] Still waiting to schedule task [2021-02-04T05:08:17.813Z] ‘prd-centos7-blackbox-4c-2g-24093’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-24886’ is offline; ‘prd-centos7-docker-4c-2g-24888’ is offline; ‘prd-centos7-docker-4c-2g-24895’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-24883’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-24890’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-02-04T05:08:17.815Z] Still waiting to schedule task [2021-02-04T05:08:17.815Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-24890’ is offline [2021-02-04T05:09:18.626Z] Running on prd-centos7-docker-4c-2g-24897 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-02-04T05:09:18.691Z] Running in /w/workspace/device-mqtt-go/33 [Pipeline] { [Pipeline] checkout [2021-02-04T05:09:21.046Z] using credential edgex-jenkins-ssh [2021-02-04T05:09:21.111Z] Cloning the remote Git repository [2021-02-04T05:09:21.137Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-02-04T05:09:21.207Z] > git init /w/workspace/device-mqtt-go/33 # timeout=10 [2021-02-04T05:09:21.272Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-02-04T05:09:21.273Z] > git --version # timeout=10 [2021-02-04T05:09:21.283Z] > git --version # 'git version 2.24.3' [2021-02-04T05:09:21.284Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T05:09:21.309Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T05:09:21.826Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-02-04T05:09:21.838Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T05:09:21.857Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-02-04T05:09:21.871Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-02-04T05:09:21.872Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T05:09:21.877Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-04T05:09:22.259Z] Checking out Revision c3ea08299f7873d083b04f44694daa6999a66061 (master) [2021-02-04T05:09:22.268Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T05:09:22.272Z] > git checkout -f c3ea08299f7873d083b04f44694daa6999a66061 # timeout=10 [2021-02-04T05:09:26.085Z] Commit message: "Merge pull request #208 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T05:09:27.211Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-04T05:09:27.560Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-04T05:09:27.865Z] + sudo service docker restart [2021-02-04T05:09:27.865Z] + true [2021-02-04T05:09:27.865Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T05:09:28.899Z] provisioning config files... [2021-02-04T05:09:28.942Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/33@tmp/config9092157966959279385tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T05:09:29.313Z] ---> docker-login.sh [2021-02-04T05:09:29.313Z] nexus3.edgexfoundry.org:10001 [2021-02-04T05:09:29.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:09:29.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:09:29.577Z] Configure a credential helper to remove this warning. See [2021-02-04T05:09:29.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:09:29.577Z] [2021-02-04T05:09:29.577Z] Login Succeeded [2021-02-04T05:09:29.577Z] nexus3.edgexfoundry.org:10002 [2021-02-04T05:09:29.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:09:29.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:09:29.844Z] Configure a credential helper to remove this warning. See [2021-02-04T05:09:29.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:09:29.844Z] [2021-02-04T05:09:29.844Z] Login Succeeded [2021-02-04T05:09:29.844Z] nexus3.edgexfoundry.org:10003 [2021-02-04T05:09:30.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:09:30.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:09:30.112Z] Configure a credential helper to remove this warning. See [2021-02-04T05:09:30.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:09:30.112Z] [2021-02-04T05:09:30.112Z] Login Succeeded [2021-02-04T05:09:30.112Z] nexus3.edgexfoundry.org:10004 [2021-02-04T05:09:30.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:09:30.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:09:30.375Z] Configure a credential helper to remove this warning. See [2021-02-04T05:09:30.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:09:30.375Z] [2021-02-04T05:09:30.375Z] Login Succeeded [2021-02-04T05:09:30.375Z] docker.io [2021-02-04T05:09:30.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:09:30.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:09:30.638Z] Configure a credential helper to remove this warning. See [2021-02-04T05:09:30.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:09:30.638Z] [2021-02-04T05:09:30.638Z] Login Succeeded [2021-02-04T05:09:30.638Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T05:09:30.647Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-04T05:09:30.940Z] ========================================================= [2021-02-04T05:09:30.940Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-04T05:09:30.940Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:09:31.327Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-02-04T05:09:31.327Z] Sending build context to Docker daemon 489.5kB [2021-02-04T05:09:31.327Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T05:09:31.327Z] Step 2/8 : FROM ${BASE} [2021-02-04T05:09:31.327Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-04T05:09:31.327Z] 188c0c94c7c5: Pulling fs layer [2021-02-04T05:09:31.327Z] 0ef7d3d256c8: Pulling fs layer [2021-02-04T05:09:31.327Z] de9db76c5a1d: Pulling fs layer [2021-02-04T05:09:31.327Z] bca2f99d35d6: Pulling fs layer [2021-02-04T05:09:31.327Z] 93359f2a8cfa: Pulling fs layer [2021-02-04T05:09:31.327Z] 7c6f9722023f: Pulling fs layer [2021-02-04T05:09:31.327Z] a35cf1a2eb13: Pulling fs layer [2021-02-04T05:09:31.327Z] 93359f2a8cfa: Waiting [2021-02-04T05:09:31.327Z] 7c6f9722023f: Waiting [2021-02-04T05:09:31.327Z] a35cf1a2eb13: Waiting [2021-02-04T05:09:31.327Z] bca2f99d35d6: Waiting [2021-02-04T05:09:31.327Z] de9db76c5a1d: Verifying Checksum [2021-02-04T05:09:31.327Z] de9db76c5a1d: Download complete [2021-02-04T05:09:31.589Z] 0ef7d3d256c8: Download complete [2021-02-04T05:09:31.589Z] 93359f2a8cfa: Verifying Checksum [2021-02-04T05:09:31.589Z] 93359f2a8cfa: Download complete [2021-02-04T05:09:31.589Z] 188c0c94c7c5: Verifying Checksum [2021-02-04T05:09:31.589Z] 188c0c94c7c5: Download complete [2021-02-04T05:09:31.589Z] 7c6f9722023f: Verifying Checksum [2021-02-04T05:09:31.589Z] 7c6f9722023f: Download complete [2021-02-04T05:09:31.851Z] 188c0c94c7c5: Pull complete [2021-02-04T05:09:31.851Z] 0ef7d3d256c8: Pull complete [2021-02-04T05:09:32.114Z] de9db76c5a1d: Pull complete [2021-02-04T05:09:34.041Z] a35cf1a2eb13: Verifying Checksum [2021-02-04T05:09:34.627Z] bca2f99d35d6: Verifying Checksum [2021-02-04T05:09:34.627Z] bca2f99d35d6: Download complete [2021-02-04T05:09:40.004Z] bca2f99d35d6: Pull complete [2021-02-04T05:09:40.004Z] 93359f2a8cfa: Pull complete [2021-02-04T05:09:40.004Z] 7c6f9722023f: Pull complete [2021-02-04T05:09:45.347Z] a35cf1a2eb13: Pull complete [2021-02-04T05:09:45.347Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-04T05:09:45.347Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-04T05:09:45.347Z] ---> a62c8e92a672 [2021-02-04T05:09:45.347Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-02-04T05:09:45.347Z] ---> Running in 60756cc9a715 [2021-02-04T05:09:45.619Z] Removing intermediate container 60756cc9a715 [2021-02-04T05:09:45.619Z] ---> 5da1bad759d4 [2021-02-04T05:09:45.619Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-04T05:09:45.619Z] ---> Running in 3220699566f9 [2021-02-04T05:09:47.030Z] Removing intermediate container 3220699566f9 [2021-02-04T05:09:47.030Z] ---> 52544e6691e9 [2021-02-04T05:09:47.030Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-02-04T05:09:47.030Z] ---> Running in dd527ac50d49 [2021-02-04T05:09:47.609Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-04T05:09:48.185Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-04T05:09:48.449Z] (1/14) Installing libmagic (5.38-r0) [2021-02-04T05:09:49.029Z] (2/14) Installing file (5.38-r0) [2021-02-04T05:09:49.291Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-02-04T05:09:49.291Z] (4/14) Installing g++ (9.3.0-r2) [2021-02-04T05:09:54.601Z] (5/14) Installing fortify-headers (1.1-r0) [2021-02-04T05:09:54.601Z] (6/14) Installing patch (2.7.6-r6) [2021-02-04T05:09:54.601Z] (7/14) Installing build-base (0.5-r2) [2021-02-04T05:09:54.601Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-02-04T05:09:54.601Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-02-04T05:09:54.601Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-02-04T05:09:54.863Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-02-04T05:09:55.126Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-02-04T05:09:55.126Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-02-04T05:09:55.393Z] (14/14) Installing openssh (8.3_p1-r1) [2021-02-04T05:09:55.393Z] Executing busybox-1.31.1-r19.trigger [2021-02-04T05:09:55.393Z] OK: 237 MiB in 53 packages [2021-02-04T05:09:58.718Z] Removing intermediate container dd527ac50d49 [2021-02-04T05:09:58.718Z] ---> a55f2bde13a3 [2021-02-04T05:09:58.718Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-02-04T05:09:58.718Z] ---> Running in 69e1024a65eb [2021-02-04T05:09:58.982Z] Removing intermediate container 69e1024a65eb [2021-02-04T05:09:58.982Z] ---> adc0e55dc9d8 [2021-02-04T05:09:58.982Z] Step 7/8 : COPY . . [2021-02-04T05:09:59.557Z] ---> 257385beac7a [2021-02-04T05:09:59.557Z] Step 8/8 : RUN go mod download [2021-02-04T05:09:59.820Z] ---> Running in fd4ce377246a [2021-02-04T05:10:08.440Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24898 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-02-04T05:10:08.494Z] Running in /w/workspace/device-mqtt-go/33 [Pipeline] { [Pipeline] checkout [2021-02-04T05:10:13.724Z] using credential edgex-jenkins-ssh [2021-02-04T05:10:13.781Z] Cloning the remote Git repository [2021-02-04T05:10:13.835Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-02-04T05:10:13.953Z] > git init /w/workspace/device-mqtt-go/33 # timeout=10 [2021-02-04T05:10:14.023Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-02-04T05:10:14.024Z] > git --version # timeout=10 [2021-02-04T05:10:14.048Z] > git --version # 'git version 2.17.1' [2021-02-04T05:10:14.050Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T05:10:14.135Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T05:10:15.468Z] Checking out Revision c3ea08299f7873d083b04f44694daa6999a66061 (master) [2021-02-04T05:10:14.918Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-02-04T05:10:14.942Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T05:10:14.975Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-02-04T05:10:15.021Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-02-04T05:10:15.021Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T05:10:15.034Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-04T05:10:15.482Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T05:10:15.508Z] > git checkout -f c3ea08299f7873d083b04f44694daa6999a66061 # timeout=10 [2021-02-04T05:10:19.897Z] Commit message: "Merge pull request #208 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T05:10:21.310Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-04T05:10:21.723Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-04T05:10:21.923Z] Removing intermediate container fd4ce377246a [2021-02-04T05:10:21.923Z] ---> 4b07c2aa2676 [2021-02-04T05:10:21.923Z] Successfully built 4b07c2aa2676 [2021-02-04T05:10:21.923Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:10:22.116Z] + sudo service docker restart [2021-02-04T05:10:22.116Z] + true [2021-02-04T05:10:22.250Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-04T05:10:22.250Z] . [Pipeline] withDockerContainer [2021-02-04T05:10:22.365Z] prd-centos7-docker-4c-2g-24897 does not seem to be running inside a container [2021-02-04T05:10:22.432Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/33 -v /w/workspace/device-mqtt-go/33:/w/workspace/device-mqtt-go/33:rw,z -v /w/workspace/device-mqtt-go/33@tmp:/w/workspace/device-mqtt-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-04T05:10:23.366Z] $ docker top f239d8add448aba4a86065817e20b1ed62ca57476f90b88fbafeddb8ad177720 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T05:10:23.996Z] + go version [2021-02-04T05:10:23.996Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-04T05:10:24.011Z] $ docker stop --time=1 f239d8add448aba4a86065817e20b1ed62ca57476f90b88fbafeddb8ad177720 [2021-02-04T05:10:25.411Z] $ docker rm -f f239d8add448aba4a86065817e20b1ed62ca57476f90b88fbafeddb8ad177720 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] wrap [2021-02-04T05:10:25.812Z] provisioning config files... [Pipeline] // stage [2021-02-04T05:10:25.904Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/33@tmp/config4855072157477799186tmp [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] libraryResource [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:10:26.277Z] ---> docker-login.sh [2021-02-04T05:10:26.277Z] nexus3.edgexfoundry.org:10001 [2021-02-04T05:10:26.421Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-04T05:10:26.421Z] . [Pipeline] withDockerContainer [2021-02-04T05:10:26.516Z] prd-centos7-docker-4c-2g-24897 does not seem to be running inside a container [2021-02-04T05:10:26.564Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/33 -v /w/workspace/device-mqtt-go/33:/w/workspace/device-mqtt-go/33:rw,z -v /w/workspace/device-mqtt-go/33@tmp:/w/workspace/device-mqtt-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-04T05:10:27.214Z] $ docker top 5eadbcd5f21428f28cfd850fb6e3376f69cee64d2b300caaf941961aed3cadbb -eo pid,comm [2021-02-04T05:10:27.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] { [Pipeline] sh [2021-02-04T05:10:27.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:10:27.543Z] Configure a credential helper to remove this warning. See [2021-02-04T05:10:27.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:10:27.543Z] [2021-02-04T05:10:27.543Z] Login Succeeded [2021-02-04T05:10:27.543Z] nexus3.edgexfoundry.org:10002 [2021-02-04T05:10:27.721Z] + make test [2021-02-04T05:10:27.721Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-02-04T05:10:28.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:10:28.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:10:28.142Z] Configure a credential helper to remove this warning. See [2021-02-04T05:10:28.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:10:28.142Z] [2021-02-04T05:10:28.142Z] Login Succeeded [2021-02-04T05:10:28.142Z] nexus3.edgexfoundry.org:10003 [2021-02-04T05:10:28.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:10:28.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:10:28.692Z] Configure a credential helper to remove this warning. See [2021-02-04T05:10:28.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:10:28.692Z] [2021-02-04T05:10:28.692Z] Login Succeeded [2021-02-04T05:10:28.692Z] nexus3.edgexfoundry.org:10004 [2021-02-04T05:10:28.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:10:29.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:10:29.241Z] Configure a credential helper to remove this warning. See [2021-02-04T05:10:29.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:10:29.241Z] [2021-02-04T05:10:29.241Z] Login Succeeded [2021-02-04T05:10:29.241Z] docker.io [2021-02-04T05:10:29.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:10:29.656Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-02-04T05:10:29.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:10:29.788Z] Configure a credential helper to remove this warning. See [2021-02-04T05:10:29.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:10:29.788Z] [2021-02-04T05:10:29.788Z] Login Succeeded [2021-02-04T05:10:29.788Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T05:10:29.805Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-04T05:10:30.269Z] ========================================================= [2021-02-04T05:10:30.269Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-04T05:10:30.269Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:10:30.669Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-02-04T05:10:30.965Z] Sending build context to Docker daemon 488.4kB [2021-02-04T05:10:30.965Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T05:10:30.965Z] Step 2/8 : FROM ${BASE} [2021-02-04T05:10:31.242Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-04T05:10:31.242Z] 5f621e34cdf4: Pulling fs layer [2021-02-04T05:10:31.242Z] a4357932f1b6: Pulling fs layer [2021-02-04T05:10:31.242Z] 18c013af1878: Pulling fs layer [2021-02-04T05:10:31.242Z] 00ac8860ef70: Pulling fs layer [2021-02-04T05:10:31.242Z] 63d7cb157983: Pulling fs layer [2021-02-04T05:10:31.242Z] b116817d02f9: Pulling fs layer [2021-02-04T05:10:31.242Z] 745a02a5169b: Pulling fs layer [2021-02-04T05:10:31.242Z] 00ac8860ef70: Waiting [2021-02-04T05:10:31.242Z] 63d7cb157983: Waiting [2021-02-04T05:10:31.242Z] b116817d02f9: Waiting [2021-02-04T05:10:31.242Z] 745a02a5169b: Waiting [2021-02-04T05:10:31.242Z] 18c013af1878: Verifying Checksum [2021-02-04T05:10:31.242Z] 18c013af1878: Download complete [2021-02-04T05:10:31.242Z] a4357932f1b6: Verifying Checksum [2021-02-04T05:10:31.242Z] a4357932f1b6: Download complete [2021-02-04T05:10:31.243Z] 63d7cb157983: Verifying Checksum [2021-02-04T05:10:31.243Z] 63d7cb157983: Download complete [2021-02-04T05:10:31.517Z] b116817d02f9: Verifying Checksum [2021-02-04T05:10:31.517Z] b116817d02f9: Download complete [2021-02-04T05:10:31.792Z] 5f621e34cdf4: Verifying Checksum [2021-02-04T05:10:31.792Z] 5f621e34cdf4: Download complete [2021-02-04T05:10:32.788Z] 5f621e34cdf4: Pull complete [2021-02-04T05:10:33.385Z] a4357932f1b6: Pull complete [2021-02-04T05:10:33.659Z] 18c013af1878: Pull complete [2021-02-04T05:10:34.638Z] 745a02a5169b: Verifying Checksum [2021-02-04T05:10:34.638Z] 745a02a5169b: Download complete [2021-02-04T05:10:35.615Z] 00ac8860ef70: Verifying Checksum [2021-02-04T05:10:35.615Z] 00ac8860ef70: Download complete [2021-02-04T05:10:44.746Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-02-04T05:10:44.746Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 26.5% of statements [2021-02-04T05:10:44.746Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-02-04T05:10:44.746Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-02-04T05:10:45.768Z] 00ac8860ef70: Pull complete [2021-02-04T05:10:45.768Z] 63d7cb157983: Pull complete [2021-02-04T05:10:45.768Z] b116817d02f9: Pull complete [2021-02-04T05:10:47.327Z] gofmt -l . [2021-02-04T05:10:47.327Z] ["`gofmt -l .`" = ""] [2021-02-04T05:10:47.327Z] ./bin/test-attribution-txt.sh [2021-02-04T05:10:47.907Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-04T05:10:48.192Z] $ docker stop --time=1 5eadbcd5f21428f28cfd850fb6e3376f69cee64d2b300caaf941961aed3cadbb [2021-02-04T05:10:49.172Z] 745a02a5169b: Pull complete [2021-02-04T05:10:49.172Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-04T05:10:49.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-04T05:10:49.172Z] ---> b7e6874047d6 [2021-02-04T05:10:49.172Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-02-04T05:10:50.644Z] $ docker rm -f 5eadbcd5f21428f28cfd850fb6e3376f69cee64d2b300caaf941961aed3cadbb [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-04T05:10:51.327Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-04T05:10:51.662Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-02-04T05:10:51.803Z] ---> Running in 3cdf13ba7651 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-02-04T05:10:52.445Z] Removing intermediate container 3cdf13ba7651 [2021-02-04T05:10:52.445Z] ---> 70f6dd1ac404 [2021-02-04T05:10:52.445Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-04T05:10:52.445Z] ---> Running in d1470c29be22 [Pipeline] sh [2021-02-04T05:10:54.240Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-04T05:10:54.541Z] + ls -al . [2021-02-04T05:10:54.541Z] total 100 [2021-02-04T05:10:54.541Z] drwxrwxr-x. 9 jenkins jenkins 4096 Feb 4 05:10 . [2021-02-04T05:10:54.541Z] drwxrwxr-x. 4 jenkins jenkins 30 Feb 4 05:09 .. [2021-02-04T05:10:54.541Z] -rw-rw-r--. 1 jenkins jenkins 6165 Feb 4 05:09 Attribution.txt [2021-02-04T05:10:54.541Z] drwxrwxr-x. 2 jenkins jenkins 87 Feb 4 05:09 bin [2021-02-04T05:10:54.541Z] drwxrwxr-x. 3 jenkins jenkins 32 Feb 4 05:09 cmd [2021-02-04T05:10:54.541Z] -rw-r--r--. 1 jenkins jenkins 20209 Feb 4 05:10 coverage.out [2021-02-04T05:10:54.541Z] -rw-rw-r--. 1 jenkins jenkins 1941 Feb 4 05:09 Dockerfile [2021-02-04T05:10:54.541Z] -rw-rw-r--. 1 jenkins jenkins 957 Feb 4 05:09 Dockerfile.build [2021-02-04T05:10:54.541Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 4 05:09 .dockerignore [2021-02-04T05:10:54.541Z] drwxrwxr-x. 8 jenkins jenkins 162 Feb 4 05:09 .git [2021-02-04T05:10:54.541Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 4 05:09 .github [2021-02-04T05:10:54.541Z] -rw-rw-r--. 1 jenkins jenkins 336 Feb 4 05:09 .gitignore [2021-02-04T05:10:54.541Z] -rw-r--r--. 1 jenkins jenkins 495 Feb 4 05:10 go.mod [2021-02-04T05:10:54.541Z] -rw-r--r--. 1 jenkins jenkins 16162 Feb 4 05:10 go.sum [2021-02-04T05:10:54.541Z] drwxrwxr-x. 3 jenkins jenkins 20 Feb 4 05:09 internal [2021-02-04T05:10:54.541Z] -rw-rw-r--. 1 jenkins jenkins 677 Feb 4 05:09 Jenkinsfile [2021-02-04T05:10:54.541Z] -rw-rw-r--. 1 jenkins jenkins 11340 Feb 4 05:09 LICENSE [2021-02-04T05:10:54.541Z] -rw-rw-r--. 1 jenkins jenkins 902 Feb 4 05:09 Makefile [2021-02-04T05:10:54.541Z] drwxrwxr-x. 2 jenkins jenkins 23 Feb 4 05:09 mock [2021-02-04T05:10:54.541Z] -rw-rw-r--. 1 jenkins jenkins 444 Feb 4 05:09 README.md [2021-02-04T05:10:54.541Z] drwxrwxr-x. 4 jenkins jenkins 71 Feb 4 05:09 snap [2021-02-04T05:10:54.541Z] -rw-rw-r--. 1 jenkins jenkins 11 Feb 4 05:08 VERSION [2021-02-04T05:10:54.541Z] -rw-rw-r--. 1 jenkins jenkins 227 Feb 4 05:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:10:54.854Z] + 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=c3ea08299f7873d083b04f44694daa6999a66061 --label arch=amd64 --label version=1.3.2-dev.3 . [2021-02-04T05:10:55.084Z] Removing intermediate container d1470c29be22 [2021-02-04T05:10:55.084Z] ---> cda941292fdd [2021-02-04T05:10:55.084Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-02-04T05:10:55.116Z] Sending build context to Docker daemon 510.5kB [2021-02-04T05:10:55.116Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T05:10:55.116Z] Step 2/23 : FROM ${BASE} AS builder [2021-02-04T05:10:55.116Z] ---> 4b07c2aa2676 [2021-02-04T05:10:55.116Z] Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-02-04T05:10:55.116Z] ---> Running in 18e747cd23f0 [2021-02-04T05:10:55.358Z] ---> Running in b85c938e0b55 [2021-02-04T05:10:55.382Z] Removing intermediate container 18e747cd23f0 [2021-02-04T05:10:55.382Z] ---> 7ea1ce8690b0 [2021-02-04T05:10:55.382Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-02-04T05:10:55.382Z] ---> Running in 9cc90d1c94aa [2021-02-04T05:10:55.382Z] Removing intermediate container 9cc90d1c94aa [2021-02-04T05:10:55.382Z] ---> 86315370f508 [2021-02-04T05:10:55.382Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-04T05:10:55.646Z] ---> Running in 9caea105adb9 [2021-02-04T05:10:56.345Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-04T05:10:56.598Z] Removing intermediate container 9caea105adb9 [2021-02-04T05:10:56.598Z] ---> b5c8439c0540 [2021-02-04T05:10:56.598Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-02-04T05:10:56.598Z] ---> Running in 02e20b4016b2 [2021-02-04T05:10:56.861Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-04T05:10:57.326Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-04T05:10:57.811Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-04T05:10:57.926Z] (1/14) Installing libmagic (5.38-r0) [2021-02-04T05:10:57.926Z] (2/14) Installing file (5.38-r0) [2021-02-04T05:10:58.082Z] OK: 237 MiB in 53 packages [2021-02-04T05:10:58.199Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-02-04T05:10:58.199Z] (4/14) Installing g++ (9.3.0-r2) [2021-02-04T05:10:58.659Z] Removing intermediate container 02e20b4016b2 [2021-02-04T05:10:58.659Z] ---> 9765d72efe5f [2021-02-04T05:10:58.659Z] Step 7/23 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2021-02-04T05:10:58.659Z] ---> Running in 52cea092b33c [2021-02-04T05:10:58.659Z] Removing intermediate container 52cea092b33c [2021-02-04T05:10:58.659Z] ---> 2f57dca9320d [2021-02-04T05:10:58.659Z] Step 8/23 : COPY . . [2021-02-04T05:10:59.610Z] ---> 64ec3afd5adf [2021-02-04T05:10:59.610Z] Step 9/23 : ARG MAKE='make build' [2021-02-04T05:10:59.610Z] ---> Running in 1615c4e243e8 [2021-02-04T05:10:59.610Z] Removing intermediate container 1615c4e243e8 [2021-02-04T05:10:59.610Z] ---> 195e9946bd57 [2021-02-04T05:10:59.610Z] Step 10/23 : RUN $MAKE [2021-02-04T05:10:59.610Z] ---> Running in 597212fbaea6 [2021-02-04T05:11:00.185Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.3" -o cmd/device-mqtt ./cmd [2021-02-04T05:11:01.580Z] (5/14) Installing fortify-headers (1.1-r0) [2021-02-04T05:11:01.580Z] (6/14) Installing patch (2.7.6-r6) [2021-02-04T05:11:01.580Z] (7/14) Installing build-base (0.5-r2) [2021-02-04T05:11:01.580Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-02-04T05:11:01.580Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-02-04T05:11:01.580Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-02-04T05:11:01.851Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-02-04T05:11:01.851Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-02-04T05:11:02.123Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-02-04T05:11:03.095Z] (14/14) Installing openssh (8.3_p1-r1) [2021-02-04T05:11:03.368Z] Executing busybox-1.31.1-r19.trigger [2021-02-04T05:11:03.368Z] OK: 221 MiB in 53 packages [2021-02-04T05:11:07.681Z] Removing intermediate container b85c938e0b55 [2021-02-04T05:11:07.681Z] ---> 793d57bed5a8 [2021-02-04T05:11:07.681Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-02-04T05:11:07.681Z] ---> Running in 43922d8c234f [2021-02-04T05:11:07.955Z] Removing intermediate container 43922d8c234f [2021-02-04T05:11:07.955Z] ---> c478bd253b32 [2021-02-04T05:11:07.955Z] Step 7/8 : COPY . . [2021-02-04T05:11:08.943Z] ---> adac90d38d7b [2021-02-04T05:11:08.943Z] Step 8/8 : RUN go mod download [2021-02-04T05:11:08.943Z] ---> Running in 0a9ab18b790d [2021-02-04T05:11:10.313Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-02-04T05:11:13.637Z] Removing intermediate container 597212fbaea6 [2021-02-04T05:11:13.637Z] ---> a94c84d25c6c [2021-02-04T05:11:13.637Z] Step 11/23 : FROM alpine:3.12 [2021-02-04T05:11:13.903Z] 3.12: Pulling from library/alpine [2021-02-04T05:11:13.903Z] 801bfaa63ef2: Pulling fs layer [2021-02-04T05:11:14.171Z] 801bfaa63ef2: Verifying Checksum [2021-02-04T05:11:14.171Z] 801bfaa63ef2: Download complete [2021-02-04T05:11:14.435Z] 801bfaa63ef2: Pull complete [2021-02-04T05:11:14.435Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-02-04T05:11:14.435Z] Status: Downloaded newer image for alpine:3.12 [2021-02-04T05:11:14.435Z] ---> 389fef711851 [2021-02-04T05:11:14.435Z] Step 12/23 : RUN apk add --update --no-cache dumb-init [2021-02-04T05:11:14.700Z] ---> Running in 19d3e04e20d1 [2021-02-04T05:11:15.284Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-04T05:11:15.284Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-04T05:11:15.547Z] (1/1) Installing dumb-init (1.2.2-r1) [2021-02-04T05:11:15.547Z] Executing busybox-1.31.1-r19.trigger [2021-02-04T05:11:15.547Z] OK: 6 MiB in 15 packages [2021-02-04T05:11:16.941Z] Removing intermediate container 19d3e04e20d1 [2021-02-04T05:11:16.941Z] ---> f67089f7c13e [2021-02-04T05:11:16.941Z] Step 13/23 : ENV APP_PORT=49982 [2021-02-04T05:11:16.941Z] ---> Running in 25a473dedfaa [2021-02-04T05:11:16.941Z] Removing intermediate container 25a473dedfaa [2021-02-04T05:11:16.941Z] ---> eb3f1452beea [2021-02-04T05:11:16.941Z] Step 14/23 : EXPOSE $APP_PORT [2021-02-04T05:11:16.941Z] ---> Running in 3c1f3ef8cb6a [2021-02-04T05:11:17.206Z] Removing intermediate container 3c1f3ef8cb6a [2021-02-04T05:11:17.206Z] ---> 66d63aea019e [2021-02-04T05:11:17.206Z] Step 15/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2021-02-04T05:11:17.783Z] ---> d2cd2ad2722f [2021-02-04T05:11:17.783Z] Step 16/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2021-02-04T05:11:18.047Z] ---> 6dcd1523f11a [2021-02-04T05:11:18.047Z] Step 17/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2021-02-04T05:11:18.324Z] ---> a51ac6de178a [2021-02-04T05:11:18.324Z] Step 18/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2021-02-04T05:11:18.324Z] ---> Running in a812b1808d3c [2021-02-04T05:11:18.587Z] Removing intermediate container a812b1808d3c [2021-02-04T05:11:18.587Z] ---> 676939588d3a [2021-02-04T05:11:18.587Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-02-04T05:11:18.587Z] ---> Running in 8db55f265e1d [2021-02-04T05:11:18.850Z] Removing intermediate container 8db55f265e1d [2021-02-04T05:11:18.850Z] ---> 62d1c1d6e8f6 [2021-02-04T05:11:18.850Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-04T05:11:18.850Z] ---> Running in da96bc61c66e [2021-02-04T05:11:18.850Z] Removing intermediate container da96bc61c66e [2021-02-04T05:11:18.850Z] ---> 30b44fcacf33 [2021-02-04T05:11:18.850Z] Step 21/23 : LABEL arch=amd64 [2021-02-04T05:11:19.114Z] ---> Running in cca02d464d93 [2021-02-04T05:11:19.114Z] Removing intermediate container cca02d464d93 [2021-02-04T05:11:19.114Z] ---> 385fd5979fd9 [2021-02-04T05:11:19.114Z] Step 22/23 : LABEL git_sha=c3ea08299f7873d083b04f44694daa6999a66061 [2021-02-04T05:11:19.114Z] ---> Running in d0fdaff48186 [2021-02-04T05:11:19.378Z] Removing intermediate container d0fdaff48186 [2021-02-04T05:11:19.378Z] ---> 8baf0355aa45 [2021-02-04T05:11:19.378Z] Step 23/23 : LABEL version=1.3.2-dev.3 [2021-02-04T05:11:19.378Z] ---> Running in da4acf3f2d6a [2021-02-04T05:11:19.641Z] Removing intermediate container da4acf3f2d6a [2021-02-04T05:11:19.641Z] ---> 9e9b03886cdb [2021-02-04T05:11:19.641Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-04T05:11:19.641Z] Successfully built 9e9b03886cdb [2021-02-04T05:11:19.641Z] Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T05:11:19.972Z] provisioning config files... [2021-02-04T05:11:20.001Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/33@tmp/config7260981633295236695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T05:11:20.370Z] ---> docker-login.sh [2021-02-04T05:11:20.370Z] nexus3.edgexfoundry.org:10001 [2021-02-04T05:11:20.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:11:20.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:11:20.633Z] Configure a credential helper to remove this warning. See [2021-02-04T05:11:20.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:11:20.633Z] [2021-02-04T05:11:20.633Z] Login Succeeded [2021-02-04T05:11:20.633Z] nexus3.edgexfoundry.org:10002 [2021-02-04T05:11:20.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:11:20.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:11:20.896Z] Configure a credential helper to remove this warning. See [2021-02-04T05:11:20.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:11:20.896Z] [2021-02-04T05:11:20.896Z] Login Succeeded [2021-02-04T05:11:20.896Z] nexus3.edgexfoundry.org:10003 [2021-02-04T05:11:20.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:11:20.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:11:20.896Z] Configure a credential helper to remove this warning. See [2021-02-04T05:11:20.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:11:20.896Z] [2021-02-04T05:11:20.896Z] Login Succeeded [2021-02-04T05:11:20.896Z] nexus3.edgexfoundry.org:10004 [2021-02-04T05:11:21.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:11:21.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:11:21.159Z] Configure a credential helper to remove this warning. See [2021-02-04T05:11:21.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:11:21.159Z] [2021-02-04T05:11:21.159Z] Login Succeeded [2021-02-04T05:11:21.159Z] docker.io [2021-02-04T05:11:21.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:11:21.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:11:21.423Z] Configure a credential helper to remove this warning. See [2021-02-04T05:11:21.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:11:21.423Z] [2021-02-04T05:11:21.423Z] Login Succeeded [2021-02-04T05:11:21.423Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T05:11:21.433Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-02-04T05:11:21.642Z] [edgeXDocker.push] Tagging docker image docker-device-mqtt-go with the following tags: [2021-02-04T05:11:21.642Z] c3ea08299f7873d083b04f44694daa6999a66061 [2021-02-04T05:11:21.642Z] latest [2021-02-04T05:11:21.642Z] 1.3.2-dev.3 [2021-02-04T05:11:21.642Z] c3ea08299f7873d083b04f44694daa6999a66061-1.3.2-dev.3 [2021-02-04T05:11:21.642Z] master [2021-02-04T05:11:21.642Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:11:22.145Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:c3ea08299f7873d083b04f44694daa6999a66061 [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:11:22.452Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:c3ea08299f7873d083b04f44694daa6999a66061 [2021-02-04T05:11:22.452Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-02-04T05:11:22.452Z] 6dffe07561d0: Preparing [2021-02-04T05:11:22.452Z] f5e005dec91c: Preparing [2021-02-04T05:11:22.452Z] 48dbd1740ec3: Preparing [2021-02-04T05:11:22.453Z] d311fecb08d4: Preparing [2021-02-04T05:11:22.453Z] 777b2c648970: Preparing [2021-02-04T05:11:22.453Z] 777b2c648970: Layer already exists [2021-02-04T05:11:22.715Z] d311fecb08d4: Pushed [2021-02-04T05:11:22.715Z] f5e005dec91c: Pushed [2021-02-04T05:11:22.715Z] 6dffe07561d0: Pushed [2021-02-04T05:11:23.663Z] 48dbd1740ec3: Pushed [2021-02-04T05:11:23.926Z] c3ea08299f7873d083b04f44694daa6999a66061: digest: sha256:b78e487d663c02edec61009ab2b5df5d0b87bf930654b6f98b43d29408faed48 size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:11:24.246Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:11:24.556Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [2021-02-04T05:11:24.556Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-02-04T05:11:24.556Z] 6dffe07561d0: Preparing [2021-02-04T05:11:24.556Z] f5e005dec91c: Preparing [2021-02-04T05:11:24.556Z] 48dbd1740ec3: Preparing [2021-02-04T05:11:24.556Z] d311fecb08d4: Preparing [2021-02-04T05:11:24.556Z] 777b2c648970: Preparing [2021-02-04T05:11:24.556Z] 6dffe07561d0: Layer already exists [2021-02-04T05:11:24.556Z] f5e005dec91c: Layer already exists [2021-02-04T05:11:24.556Z] d311fecb08d4: Layer already exists [2021-02-04T05:11:24.556Z] 777b2c648970: Layer already exists [2021-02-04T05:11:24.556Z] 48dbd1740ec3: Layer already exists [2021-02-04T05:11:24.556Z] latest: digest: sha256:b78e487d663c02edec61009ab2b5df5d0b87bf930654b6f98b43d29408faed48 size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:11:24.865Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.2-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:11:25.167Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.2-dev.3 [2021-02-04T05:11:25.167Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-02-04T05:11:25.167Z] 6dffe07561d0: Preparing [2021-02-04T05:11:25.167Z] f5e005dec91c: Preparing [2021-02-04T05:11:25.167Z] 48dbd1740ec3: Preparing [2021-02-04T05:11:25.167Z] d311fecb08d4: Preparing [2021-02-04T05:11:25.167Z] 777b2c648970: Preparing [2021-02-04T05:11:25.167Z] 6dffe07561d0: Layer already exists [2021-02-04T05:11:25.167Z] 777b2c648970: Layer already exists [2021-02-04T05:11:25.167Z] 48dbd1740ec3: Layer already exists [2021-02-04T05:11:25.167Z] d311fecb08d4: Layer already exists [2021-02-04T05:11:25.167Z] f5e005dec91c: Layer already exists [2021-02-04T05:11:25.168Z] 1.3.2-dev.3: digest: sha256:b78e487d663c02edec61009ab2b5df5d0b87bf930654b6f98b43d29408faed48 size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:11:25.480Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:c3ea08299f7873d083b04f44694daa6999a66061-1.3.2-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:11:25.784Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:c3ea08299f7873d083b04f44694daa6999a66061-1.3.2-dev.3 [2021-02-04T05:11:25.784Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-02-04T05:11:25.784Z] 6dffe07561d0: Preparing [2021-02-04T05:11:25.784Z] f5e005dec91c: Preparing [2021-02-04T05:11:25.784Z] 48dbd1740ec3: Preparing [2021-02-04T05:11:25.784Z] d311fecb08d4: Preparing [2021-02-04T05:11:25.784Z] 777b2c648970: Preparing [2021-02-04T05:11:25.784Z] 6dffe07561d0: Layer already exists [2021-02-04T05:11:25.784Z] 777b2c648970: Layer already exists [2021-02-04T05:11:25.784Z] d311fecb08d4: Layer already exists [2021-02-04T05:11:25.784Z] f5e005dec91c: Layer already exists [2021-02-04T05:11:25.784Z] 48dbd1740ec3: Layer already exists [2021-02-04T05:11:25.784Z] c3ea08299f7873d083b04f44694daa6999a66061-1.3.2-dev.3: digest: sha256:b78e487d663c02edec61009ab2b5df5d0b87bf930654b6f98b43d29408faed48 size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:11:26.091Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:11:26.392Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [2021-02-04T05:11:26.392Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-02-04T05:11:26.392Z] 6dffe07561d0: Preparing [2021-02-04T05:11:26.392Z] f5e005dec91c: Preparing [2021-02-04T05:11:26.392Z] 48dbd1740ec3: Preparing [2021-02-04T05:11:26.392Z] d311fecb08d4: Preparing [2021-02-04T05:11:26.392Z] 777b2c648970: Preparing [2021-02-04T05:11:26.392Z] 6dffe07561d0: Layer already exists [2021-02-04T05:11:26.392Z] 777b2c648970: Layer already exists [2021-02-04T05:11:26.392Z] 48dbd1740ec3: Layer already exists [2021-02-04T05:11:26.392Z] f5e005dec91c: Layer already exists [2021-02-04T05:11:26.392Z] d311fecb08d4: Layer already exists [2021-02-04T05:11:26.392Z] master: digest: sha256:b78e487d663c02edec61009ab2b5df5d0b87bf930654b6f98b43d29408faed48 size: 1364 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-02-04T05:11:26.633Z] ===================================================== [Pipeline] echo [2021-02-04T05:11:26.724Z] taggedImages: [2021-02-04T05:11:26.724Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:c3ea08299f7873d083b04f44694daa6999a66061 [2021-02-04T05:11:26.724Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [2021-02-04T05:11:26.724Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.2-dev.3 [2021-02-04T05:11:26.724Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:c3ea08299f7873d083b04f44694daa6999a66061-1.3.2-dev.3 [2021-02-04T05:11:26.724Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-04T05:11:35.793Z] Removing intermediate container 0a9ab18b790d [2021-02-04T05:11:35.793Z] ---> 78a3c5b618ff [2021-02-04T05:11:35.793Z] Successfully built 78a3c5b618ff [2021-02-04T05:11:35.793Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:11:36.135Z] + docker inspect -f . ci-base-image-arm64 [2021-02-04T05:11:36.135Z] . [Pipeline] withDockerContainer [2021-02-04T05:11:36.371Z] prd-ubuntu18.04-docker-arm64-4c-16g-24898 does not seem to be running inside a container [2021-02-04T05:11:36.439Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/33 -v /w/workspace/device-mqtt-go/33:/w/workspace/device-mqtt-go/33:rw,z -v /w/workspace/device-mqtt-go/33@tmp:/w/workspace/device-mqtt-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-04T05:11:38.022Z] $ docker top 9369956ffbdb41408b61129b01d8ac3429cd0add72d5c2c17fd32fc14af74610 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T05:11:39.044Z] + go version [2021-02-04T05:11:39.044Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-04T05:11:39.044Z] $ docker stop --time=1 9369956ffbdb41408b61129b01d8ac3429cd0add72d5c2c17fd32fc14af74610 [2021-02-04T05:11:40.904Z] $ docker rm -f 9369956ffbdb41408b61129b01d8ac3429cd0add72d5c2c17fd32fc14af74610 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:11:42.137Z] + docker inspect -f . ci-base-image-arm64 [2021-02-04T05:11:42.137Z] . [Pipeline] withDockerContainer [2021-02-04T05:11:42.359Z] prd-ubuntu18.04-docker-arm64-4c-16g-24898 does not seem to be running inside a container [2021-02-04T05:11:42.408Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/33 -v /w/workspace/device-mqtt-go/33:/w/workspace/device-mqtt-go/33:rw,z -v /w/workspace/device-mqtt-go/33@tmp:/w/workspace/device-mqtt-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-04T05:11:43.931Z] $ docker top 60a3b998afd3936b049bc3b776023ac0c6f2fc936e0945fc99462f382309ffed -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T05:11:44.951Z] + make test [2021-02-04T05:11:44.951Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-02-04T05:11:45.931Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-02-04T05:12:24.967Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-02-04T05:12:26.938Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.035s coverage: 26.5% of statements [2021-02-04T05:12:26.938Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-02-04T05:12:27.214Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-02-04T05:12:35.511Z] gofmt -l . [2021-02-04T05:12:35.511Z] ["`gofmt -l .`" = ""] [2021-02-04T05:12:35.511Z] ./bin/test-attribution-txt.sh [2021-02-04T05:12:36.107Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-04T05:12:36.706Z] $ docker stop --time=1 60a3b998afd3936b049bc3b776023ac0c6f2fc936e0945fc99462f382309ffed [2021-02-04T05:12:38.834Z] $ docker rm -f 60a3b998afd3936b049bc3b776023ac0c6f2fc936e0945fc99462f382309ffed [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-04T05:12:41.417Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-04T05:12:41.446Z] Warning: overwriting stash ‘coverage-report’ [2021-02-04T05:12:42.785Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T05:12:43.525Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-04T05:12:43.868Z] + ls -al . [2021-02-04T05:12:43.868Z] total 132 [2021-02-04T05:12:43.868Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 4 05:12 . [2021-02-04T05:12:43.868Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 05:10 .. [2021-02-04T05:12:43.868Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 4 05:10 .dockerignore [2021-02-04T05:12:43.868Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 4 05:10 .git [2021-02-04T05:12:43.868Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 05:10 .github [2021-02-04T05:12:43.868Z] -rw-rw-r-- 1 jenkins jenkins 336 Feb 4 05:10 .gitignore [2021-02-04T05:12:43.868Z] -rw-rw-r-- 1 jenkins jenkins 6165 Feb 4 05:10 Attribution.txt [2021-02-04T05:12:43.868Z] -rw-rw-r-- 1 jenkins jenkins 1941 Feb 4 05:10 Dockerfile [2021-02-04T05:12:43.868Z] -rw-rw-r-- 1 jenkins jenkins 957 Feb 4 05:10 Dockerfile.build [2021-02-04T05:12:43.868Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 4 05:10 Jenkinsfile [2021-02-04T05:12:43.868Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 4 05:10 LICENSE [2021-02-04T05:12:43.868Z] -rw-rw-r-- 1 jenkins jenkins 902 Feb 4 05:10 Makefile [2021-02-04T05:12:43.868Z] -rw-rw-r-- 1 jenkins jenkins 444 Feb 4 05:10 README.md [2021-02-04T05:12:43.868Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 4 05:08 VERSION [2021-02-04T05:12:43.868Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 05:10 bin [2021-02-04T05:12:43.868Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 4 05:10 cmd [2021-02-04T05:12:43.868Z] -rw-r--r-- 1 jenkins jenkins 20209 Feb 4 05:12 coverage.out [2021-02-04T05:12:43.868Z] -rw-r--r-- 1 jenkins jenkins 495 Feb 4 05:12 go.mod [2021-02-04T05:12:43.868Z] -rw-r--r-- 1 jenkins jenkins 16162 Feb 4 05:12 go.sum [2021-02-04T05:12:43.868Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 4 05:10 internal [2021-02-04T05:12:43.868Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 05:10 mock [2021-02-04T05:12:43.868Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 05:10 snap [2021-02-04T05:12:43.868Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 4 05:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:12:44.214Z] + 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=c3ea08299f7873d083b04f44694daa6999a66061 --label arch=arm64 --label version=1.3.2-dev.3 . [2021-02-04T05:12:44.487Z] Sending build context to Docker daemon 509.4kB [2021-02-04T05:12:44.487Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T05:12:44.487Z] Step 2/23 : FROM ${BASE} AS builder [2021-02-04T05:12:44.487Z] ---> 78a3c5b618ff [2021-02-04T05:12:44.487Z] Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-02-04T05:12:44.758Z] ---> Running in e083c8b70cf4 [2021-02-04T05:12:45.030Z] Removing intermediate container e083c8b70cf4 [2021-02-04T05:12:45.030Z] ---> 7aead44cb5e2 [2021-02-04T05:12:45.030Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-02-04T05:12:45.301Z] ---> Running in c6170dff04f1 [2021-02-04T05:12:45.899Z] Removing intermediate container c6170dff04f1 [2021-02-04T05:12:45.899Z] ---> 6b7107130f6c [2021-02-04T05:12:45.899Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-04T05:12:45.899Z] ---> Running in 07f33eb429c6 [2021-02-04T05:12:47.871Z] Removing intermediate container 07f33eb429c6 [2021-02-04T05:12:47.871Z] ---> 54aca4f42037 [2021-02-04T05:12:47.871Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-02-04T05:12:48.147Z] ---> Running in 5e6c2c895c41 [2021-02-04T05:12:49.132Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-04T05:12:50.103Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-04T05:12:50.697Z] OK: 221 MiB in 53 packages [2021-02-04T05:12:52.147Z] Removing intermediate container 5e6c2c895c41 [2021-02-04T05:12:52.147Z] ---> 4bf011492967 [2021-02-04T05:12:52.147Z] Step 7/23 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2021-02-04T05:12:52.147Z] ---> Running in 9f7ebce6889d [2021-02-04T05:12:52.745Z] Removing intermediate container 9f7ebce6889d [2021-02-04T05:12:52.745Z] ---> 14772f01fc37 [2021-02-04T05:12:52.745Z] Step 8/23 : COPY . . [2021-02-04T05:12:53.721Z] ---> 3b816d6c9df2 [2021-02-04T05:12:53.721Z] Step 9/23 : ARG MAKE='make build' [2021-02-04T05:12:53.721Z] ---> Running in dc428d6a3e68 [2021-02-04T05:12:54.315Z] Removing intermediate container dc428d6a3e68 [2021-02-04T05:12:54.315Z] ---> d6fdeaf3c398 [2021-02-04T05:12:54.315Z] Step 10/23 : RUN $MAKE [2021-02-04T05:12:54.315Z] ---> Running in b8424ee6fb9c [2021-02-04T05:12:55.750Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.3" -o cmd/device-mqtt ./cmd [2021-02-04T05:13:28.127Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-02-04T05:13:32.450Z] Removing intermediate container b8424ee6fb9c [2021-02-04T05:13:32.450Z] ---> 4fd2763971e5 [2021-02-04T05:13:32.450Z] Step 11/23 : FROM alpine:3.12 [2021-02-04T05:13:33.089Z] 3.12: Pulling from library/alpine [2021-02-04T05:13:33.089Z] 159e5727ea61: Pulling fs layer [2021-02-04T05:13:33.362Z] 159e5727ea61: Verifying Checksum [2021-02-04T05:13:33.362Z] 159e5727ea61: Download complete [2021-02-04T05:13:33.956Z] 159e5727ea61: Pull complete [2021-02-04T05:13:33.956Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-02-04T05:13:34.229Z] Status: Downloaded newer image for alpine:3.12 [2021-02-04T05:13:34.229Z] ---> afeebe901d6b [2021-02-04T05:13:34.229Z] Step 12/23 : RUN apk add --update --no-cache dumb-init [2021-02-04T05:13:34.524Z] ---> Running in 5c50a0e48931 [2021-02-04T05:13:35.503Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-04T05:13:35.777Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-04T05:13:36.372Z] (1/1) Installing dumb-init (1.2.2-r1) [2021-02-04T05:13:36.372Z] Executing busybox-1.31.1-r19.trigger [2021-02-04T05:13:36.372Z] OK: 5 MiB in 15 packages [2021-02-04T05:13:37.806Z] Removing intermediate container 5c50a0e48931 [2021-02-04T05:13:37.807Z] ---> 9a8e0131ba8c [2021-02-04T05:13:37.807Z] Step 13/23 : ENV APP_PORT=49982 [2021-02-04T05:13:37.807Z] ---> Running in a25a41550198 [2021-02-04T05:13:38.401Z] Removing intermediate container a25a41550198 [2021-02-04T05:13:38.401Z] ---> 231d3cd0f53b [2021-02-04T05:13:38.401Z] Step 14/23 : EXPOSE $APP_PORT [2021-02-04T05:13:38.401Z] ---> Running in fd6181e389bd [2021-02-04T05:13:38.996Z] Removing intermediate container fd6181e389bd [2021-02-04T05:13:38.996Z] ---> 3960a380dad8 [2021-02-04T05:13:38.996Z] Step 15/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2021-02-04T05:13:40.430Z] ---> 797a8619b83d [2021-02-04T05:13:40.430Z] Step 16/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2021-02-04T05:13:41.026Z] ---> 969623768baf [2021-02-04T05:13:41.026Z] Step 17/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2021-02-04T05:13:42.011Z] ---> 1293ead09d84 [2021-02-04T05:13:42.012Z] Step 18/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2021-02-04T05:13:42.012Z] ---> Running in f5de20845dfc [2021-02-04T05:13:42.609Z] Removing intermediate container f5de20845dfc [2021-02-04T05:13:42.609Z] ---> 9556426b468e [2021-02-04T05:13:42.609Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-02-04T05:13:42.609Z] ---> Running in f472e9522997 [2021-02-04T05:13:43.208Z] Removing intermediate container f472e9522997 [2021-02-04T05:13:43.208Z] ---> f9486ac65b10 [2021-02-04T05:13:43.208Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-04T05:13:43.481Z] ---> Running in db7e41d2ce95 [2021-02-04T05:13:43.755Z] Removing intermediate container db7e41d2ce95 [2021-02-04T05:13:43.755Z] ---> b9eca66b722e [2021-02-04T05:13:43.755Z] Step 21/23 : LABEL arch=arm64 [2021-02-04T05:13:44.031Z] ---> Running in 3aca41d7c528 [2021-02-04T05:13:44.309Z] Removing intermediate container 3aca41d7c528 [2021-02-04T05:13:44.309Z] ---> 14fd968e0510 [2021-02-04T05:13:44.309Z] Step 22/23 : LABEL git_sha=c3ea08299f7873d083b04f44694daa6999a66061 [2021-02-04T05:13:44.588Z] ---> Running in ff5e3d6f1881 [2021-02-04T05:13:45.186Z] Removing intermediate container ff5e3d6f1881 [2021-02-04T05:13:45.186Z] ---> 25ac1e182eb3 [2021-02-04T05:13:45.186Z] Step 23/23 : LABEL version=1.3.2-dev.3 [2021-02-04T05:13:45.186Z] ---> Running in ec1775ad332c [2021-02-04T05:13:45.785Z] Removing intermediate container ec1775ad332c [2021-02-04T05:13:45.785Z] ---> d46c56bdc666 [2021-02-04T05:13:45.785Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-04T05:13:45.785Z] Successfully built d46c56bdc666 [2021-02-04T05:13:45.785Z] Successfully tagged docker-device-mqtt-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T05:13:46.225Z] provisioning config files... [2021-02-04T05:13:46.271Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/33@tmp/config1554295410034641526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T05:13:46.680Z] ---> docker-login.sh [2021-02-04T05:13:46.680Z] nexus3.edgexfoundry.org:10001 [2021-02-04T05:13:46.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:13:47.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:13:47.231Z] Configure a credential helper to remove this warning. See [2021-02-04T05:13:47.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:13:47.231Z] [2021-02-04T05:13:47.231Z] Login Succeeded [2021-02-04T05:13:47.231Z] nexus3.edgexfoundry.org:10002 [2021-02-04T05:13:47.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:13:47.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:13:47.847Z] Configure a credential helper to remove this warning. See [2021-02-04T05:13:47.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:13:47.847Z] [2021-02-04T05:13:47.847Z] Login Succeeded [2021-02-04T05:13:47.847Z] nexus3.edgexfoundry.org:10003 [2021-02-04T05:13:48.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:13:48.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:13:48.446Z] Configure a credential helper to remove this warning. See [2021-02-04T05:13:48.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:13:48.446Z] [2021-02-04T05:13:48.446Z] Login Succeeded [2021-02-04T05:13:48.446Z] nexus3.edgexfoundry.org:10004 [2021-02-04T05:13:49.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:13:49.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:13:49.043Z] Configure a credential helper to remove this warning. See [2021-02-04T05:13:49.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:13:49.043Z] [2021-02-04T05:13:49.043Z] Login Succeeded [2021-02-04T05:13:49.043Z] docker.io [2021-02-04T05:13:49.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:13:49.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:13:49.914Z] Configure a credential helper to remove this warning. See [2021-02-04T05:13:49.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:13:49.914Z] [2021-02-04T05:13:49.914Z] Login Succeeded [2021-02-04T05:13:49.914Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T05:13:49.934Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-02-04T05:13:50.160Z] [edgeXDocker.push] Tagging docker image docker-device-mqtt-go-arm64 with the following tags: [2021-02-04T05:13:50.160Z] c3ea08299f7873d083b04f44694daa6999a66061 [2021-02-04T05:13:50.160Z] latest [2021-02-04T05:13:50.160Z] 1.3.2-dev.3 [2021-02-04T05:13:50.160Z] c3ea08299f7873d083b04f44694daa6999a66061-1.3.2-dev.3 [2021-02-04T05:13:50.160Z] master [2021-02-04T05:13:50.160Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:13:50.698Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:c3ea08299f7873d083b04f44694daa6999a66061 [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:13:51.036Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:c3ea08299f7873d083b04f44694daa6999a66061 [2021-02-04T05:13:51.036Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-02-04T05:13:51.036Z] 6763adb3154a: Preparing [2021-02-04T05:13:51.036Z] 732fae78e7b3: Preparing [2021-02-04T05:13:51.036Z] 1a83771f5b9c: Preparing [2021-02-04T05:13:51.036Z] 18414a5d1574: Preparing [2021-02-04T05:13:51.036Z] 379067d0cb53: Preparing [2021-02-04T05:13:51.317Z] 379067d0cb53: Layer already exists [2021-02-04T05:13:51.317Z] 6763adb3154a: Pushed [2021-02-04T05:13:51.317Z] 18414a5d1574: Pushed [2021-02-04T05:13:51.589Z] 732fae78e7b3: Pushed [2021-02-04T05:13:54.196Z] 1a83771f5b9c: Pushed [2021-02-04T05:13:54.196Z] c3ea08299f7873d083b04f44694daa6999a66061: digest: sha256:d23eb918783a9639da14f9b116b757ff9931fab058dcf8a42696a94eb5b1886f size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:13:54.539Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:13:54.878Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [2021-02-04T05:13:54.878Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-02-04T05:13:54.878Z] 6763adb3154a: Preparing [2021-02-04T05:13:54.878Z] 732fae78e7b3: Preparing [2021-02-04T05:13:54.878Z] 1a83771f5b9c: Preparing [2021-02-04T05:13:54.878Z] 18414a5d1574: Preparing [2021-02-04T05:13:54.878Z] 379067d0cb53: Preparing [2021-02-04T05:13:55.150Z] 379067d0cb53: Layer already exists [2021-02-04T05:13:55.150Z] 18414a5d1574: Layer already exists [2021-02-04T05:13:55.150Z] 1a83771f5b9c: Layer already exists [2021-02-04T05:13:55.150Z] 6763adb3154a: Layer already exists [2021-02-04T05:13:55.150Z] 732fae78e7b3: Layer already exists [2021-02-04T05:13:55.150Z] latest: digest: sha256:d23eb918783a9639da14f9b116b757ff9931fab058dcf8a42696a94eb5b1886f size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:13:55.495Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.2-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:13:55.834Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.2-dev.3 [2021-02-04T05:13:55.834Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-02-04T05:13:55.834Z] 6763adb3154a: Preparing [2021-02-04T05:13:55.834Z] 732fae78e7b3: Preparing [2021-02-04T05:13:55.834Z] 1a83771f5b9c: Preparing [2021-02-04T05:13:55.834Z] 18414a5d1574: Preparing [2021-02-04T05:13:55.834Z] 379067d0cb53: Preparing [2021-02-04T05:13:56.106Z] 1a83771f5b9c: Layer already exists [2021-02-04T05:13:56.106Z] 6763adb3154a: Layer already exists [2021-02-04T05:13:56.106Z] 732fae78e7b3: Layer already exists [2021-02-04T05:13:56.106Z] 379067d0cb53: Layer already exists [2021-02-04T05:13:56.106Z] 18414a5d1574: Layer already exists [2021-02-04T05:13:56.106Z] 1.3.2-dev.3: digest: sha256:d23eb918783a9639da14f9b116b757ff9931fab058dcf8a42696a94eb5b1886f size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:13:56.455Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:c3ea08299f7873d083b04f44694daa6999a66061-1.3.2-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:13:56.797Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:c3ea08299f7873d083b04f44694daa6999a66061-1.3.2-dev.3 [2021-02-04T05:13:56.797Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-02-04T05:13:56.797Z] 6763adb3154a: Preparing [2021-02-04T05:13:56.797Z] 732fae78e7b3: Preparing [2021-02-04T05:13:56.798Z] 1a83771f5b9c: Preparing [2021-02-04T05:13:56.798Z] 18414a5d1574: Preparing [2021-02-04T05:13:56.798Z] 379067d0cb53: Preparing [2021-02-04T05:13:57.070Z] 6763adb3154a: Layer already exists [2021-02-04T05:13:57.070Z] 18414a5d1574: Layer already exists [2021-02-04T05:13:57.070Z] 1a83771f5b9c: Layer already exists [2021-02-04T05:13:57.070Z] 732fae78e7b3: Layer already exists [2021-02-04T05:13:57.070Z] 379067d0cb53: Layer already exists [2021-02-04T05:13:57.070Z] c3ea08299f7873d083b04f44694daa6999a66061-1.3.2-dev.3: digest: sha256:d23eb918783a9639da14f9b116b757ff9931fab058dcf8a42696a94eb5b1886f size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:13:57.416Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:13:57.756Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [2021-02-04T05:13:57.756Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-02-04T05:13:57.756Z] 6763adb3154a: Preparing [2021-02-04T05:13:57.756Z] 732fae78e7b3: Preparing [2021-02-04T05:13:57.756Z] 1a83771f5b9c: Preparing [2021-02-04T05:13:57.756Z] 18414a5d1574: Preparing [2021-02-04T05:13:57.756Z] 379067d0cb53: Preparing [2021-02-04T05:13:58.028Z] 18414a5d1574: Layer already exists [2021-02-04T05:13:58.028Z] 732fae78e7b3: Layer already exists [2021-02-04T05:13:58.028Z] 6763adb3154a: Layer already exists [2021-02-04T05:13:58.028Z] 1a83771f5b9c: Layer already exists [2021-02-04T05:13:58.028Z] 379067d0cb53: Layer already exists [2021-02-04T05:13:58.028Z] master: digest: sha256:d23eb918783a9639da14f9b116b757ff9931fab058dcf8a42696a94eb5b1886f size: 1364 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-02-04T05:13:58.232Z] ===================================================== [Pipeline] echo [2021-02-04T05:13:58.280Z] taggedImages: [2021-02-04T05:13:58.280Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:c3ea08299f7873d083b04f44694daa6999a66061 [2021-02-04T05:13:58.280Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [2021-02-04T05:13:58.280Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.2-dev.3 [2021-02-04T05:13:58.280Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:c3ea08299f7873d083b04f44694daa6999a66061-1.3.2-dev.3 [2021-02-04T05:13:58.280Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-02-04T05:13:59.459Z] provisioning config files... [2021-02-04T05:13:59.480Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7140115977743700506tmp [Pipeline] { [Pipeline] sh [2021-02-04T05:13:59.850Z] + set +x [2021-02-04T05:13:59.850Z] + curl -s https://codecov.io/bash [2021-02-04T05:13:59.850Z] + bash -s -- [2021-02-04T05:14:00.115Z] [2021-02-04T05:14:00.115Z] _____ _ [2021-02-04T05:14:00.115Z] / ____| | | [2021-02-04T05:14:00.115Z] | | ___ __| | ___ ___ _____ __ [2021-02-04T05:14:00.115Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-04T05:14:00.115Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-04T05:14:00.115Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-04T05:14:00.115Z] Bash-20210129-7c25fce [2021-02-04T05:14:00.115Z] [2021-02-04T05:14:00.115Z] [2021-02-04T05:14:00.115Z] ==> git version 2.24.3 found [2021-02-04T05:14:00.115Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-02-04T05:14:00.115Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-04T05:14:00.115Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-04T05:14:00.115Z] ==> Jenkins CI detected. [2021-02-04T05:14:00.115Z] project root: . [2021-02-04T05:14:00.115Z] --> token set from env [2021-02-04T05:14:00.115Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-04T05:14:00.115Z] ==> Running gcov in . (disable via -X gcov) [2021-02-04T05:14:00.115Z] ==> Python coveragepy not found [2021-02-04T05:14:00.115Z] ==> Searching for coverage reports in: [2021-02-04T05:14:00.115Z] + . [2021-02-04T05:14:00.115Z] -> Found 1 reports [2021-02-04T05:14:00.115Z] ==> Detecting git/mercurial file structure [2021-02-04T05:14:00.115Z] ==> Reading reports [2021-02-04T05:14:00.115Z] + ./coverage.out bytes=20209 [2021-02-04T05:14:00.115Z] ==> Appending adjustments [2021-02-04T05:14:00.115Z] https://docs.codecov.io/docs/fixing-reports [2021-02-04T05:14:00.378Z] + Found adjustments [2021-02-04T05:14:00.378Z] ==> Gzipping contents [2021-02-04T05:14:00.378Z] 4.0K /tmp/codecov.bc9y8G.gz [2021-02-04T05:14:00.378Z] ==> Uploading reports [2021-02-04T05:14:00.378Z] url: https://codecov.io [2021-02-04T05:14:00.378Z] query: branch=master&commit=c3ea08299f7873d083b04f44694daa6999a66061&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-04T05:14:00.378Z] -> Pinging Codecov [2021-02-04T05:14:00.378Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=c3ea08299f7873d083b04f44694daa6999a66061&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-04T05:14:00.647Z] -> Uploading to [2021-02-04T05:14:00.647Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-04/7D719EC7BBE17E464838252E33014C33/c3ea08299f7873d083b04f44694daa6999a66061/46703280-cd76-489b-a4a2-766eabf6de11.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210204%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210204T051400Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b0d1cf7a7319ac2a86f430667f35d3e7a0f01baee0d13960cdf4a0f537a2d76b [2021-02-04T05:14:00.647Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-04T05:14:00.647Z] Dload Upload Total Spent Left Speed [2021-02-04T05:14:01.174Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3465 0 0 100 3465 0 7086 --:--:-- --:--:-- --:--:-- 7085 [2021-02-04T05:14:01.174Z] -> View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/c3ea08299f7873d083b04f44694daa6999a66061 [Pipeline] } [2021-02-04T05:14:01.186Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-02-04T05:14:02.024Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-02-04T05:14:02.196Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:14:02.562Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-04T05:14:02.562Z] [2021-02-04T05:14:02.562Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:14:02.942Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-04T05:14:02.943Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-02-04T05:14:02.943Z] 188c0c94c7c5: Pulling fs layer [2021-02-04T05:14:02.943Z] 0ef7d3d256c8: Pulling fs layer [2021-02-04T05:14:02.943Z] de9db76c5a1d: Pulling fs layer [2021-02-04T05:14:02.943Z] 0eba1c9be4d2: Pulling fs layer [2021-02-04T05:14:02.943Z] 0d57e429df01: Pulling fs layer [2021-02-04T05:14:02.943Z] 4e4be7b47b0d: Pulling fs layer [2021-02-04T05:14:02.943Z] e1f770b5df2f: Pulling fs layer [2021-02-04T05:14:02.943Z] 85a0685a4137: Pulling fs layer [2021-02-04T05:14:02.943Z] 0eba1c9be4d2: Waiting [2021-02-04T05:14:02.943Z] 0d57e429df01: Waiting [2021-02-04T05:14:02.943Z] 4e4be7b47b0d: Waiting [2021-02-04T05:14:02.943Z] e1f770b5df2f: Waiting [2021-02-04T05:14:02.943Z] 85a0685a4137: Waiting [2021-02-04T05:14:02.943Z] de9db76c5a1d: Verifying Checksum [2021-02-04T05:14:02.943Z] de9db76c5a1d: Download complete [2021-02-04T05:14:02.943Z] 0ef7d3d256c8: Verifying Checksum [2021-02-04T05:14:02.943Z] 0ef7d3d256c8: Download complete [2021-02-04T05:14:02.943Z] 0d57e429df01: Verifying Checksum [2021-02-04T05:14:02.943Z] 0d57e429df01: Download complete [2021-02-04T05:14:02.943Z] 4e4be7b47b0d: Verifying Checksum [2021-02-04T05:14:02.943Z] 4e4be7b47b0d: Download complete [2021-02-04T05:14:03.519Z] 188c0c94c7c5: Verifying Checksum [2021-02-04T05:14:03.519Z] 188c0c94c7c5: Download complete [2021-02-04T05:14:03.782Z] 188c0c94c7c5: Pull complete [2021-02-04T05:14:04.045Z] 0ef7d3d256c8: Pull complete [2021-02-04T05:14:04.045Z] de9db76c5a1d: Pull complete [2021-02-04T05:14:05.006Z] e1f770b5df2f: Verifying Checksum [2021-02-04T05:14:05.006Z] e1f770b5df2f: Download complete [2021-02-04T05:14:06.952Z] 0eba1c9be4d2: Verifying Checksum [2021-02-04T05:14:06.952Z] 0eba1c9be4d2: Download complete [2021-02-04T05:14:07.224Z] 85a0685a4137: Verifying Checksum [2021-02-04T05:14:07.224Z] 85a0685a4137: Download complete [2021-02-04T05:14:12.541Z] 0eba1c9be4d2: Pull complete [2021-02-04T05:14:12.541Z] 0d57e429df01: Pull complete [2021-02-04T05:14:12.541Z] 4e4be7b47b0d: Pull complete [2021-02-04T05:14:13.934Z] e1f770b5df2f: Pull complete [2021-02-04T05:14:22.115Z] 85a0685a4137: Pull complete [2021-02-04T05:14:22.115Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-02-04T05:14:22.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-04T05:14:22.115Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-02-04T05:14:22.325Z] prd-centos7-docker-4c-2g-24894 does not seem to be running inside a container [2021-02-04T05:14:22.376Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-02-04T05:14:23.399Z] $ docker top 89bfdd09632668672a28917e9f0f309865e66827cdc1f767d3297568261be845 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-02-04T05:14:23.614Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-02-04T05:14:23.910Z] + set -o pipefail [2021-02-04T05:14:23.911Z] + snyk monitor '--org=edgex-jenkins' [2021-02-04T05:14:30.517Z] [2021-02-04T05:14:30.517Z] Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... [2021-02-04T05:14:30.517Z] [2021-02-04T05:14:30.517Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/26784a18-28ad-46b3-8dcb-9f1afc23c1c9 [2021-02-04T05:14:30.517Z] [2021-02-04T05:14:30.517Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-02-04T05:14:30.517Z] [2021-02-04T05:14:30.517Z] [Pipeline] } [2021-02-04T05:14:30.536Z] $ docker stop --time=1 89bfdd09632668672a28917e9f0f309865e66827cdc1f767d3297568261be845 [2021-02-04T05:14:33.383Z] $ docker rm -f 89bfdd09632668672a28917e9f0f309865e66827cdc1f767d3297568261be845 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-04T05:14:35.483Z] + git log --format=format:%s -1 c3ea08299f7873d083b04f44694daa6999a66061 [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:14:35.797Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T05:14:35.797Z] . [Pipeline] withDockerContainer [2021-02-04T05:14:35.899Z] prd-centos7-docker-4c-2g-24894 does not seem to be running inside a container [2021-02-04T05:14:35.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-04T05:14:36.713Z] $ docker top 81e9e21fcc8cc4348e0c1419167995a95c4fa8a8ee82eaca1453f909db5e8baf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-04T05:14:37.018Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T05:14:37.018Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T05:14:37.238Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T05:14:37.242Z] $ docker exec 81e9e21fcc8cc4348e0c1419167995a95c4fa8a8ee82eaca1453f909db5e8baf ssh-agent [2021-02-04T05:14:37.419Z] SSH_AUTH_SOCK=/tmp/ssh-kE9TeMYEdbAj/agent.11 [2021-02-04T05:14:37.419Z] SSH_AGENT_PID=16 [2021-02-04T05:14:37.427Z] Running ssh-add (command line suppressed) [2021-02-04T05:14:37.563Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6378719073913792458.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6378719073913792458.key) [2021-02-04T05:14:37.622Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T05:14:37.962Z] + git semver tag [2021-02-04T05:14:37.962Z] # -> Open(): unable to determine branch for HEAD [2021-02-04T05:14:37.962Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-02-04T05:14:37.962Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-02-04T05:14:37.962Z] # $SEMVER_REMOTE_NAME = origin [2021-02-04T05:14:37.962Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-04T05:14:37.962Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-04T05:14:37.962Z] # $SEMVER_BRANCH = master [2021-02-04T05:14:37.962Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-02-04T05:14:37.962Z] # c3ea08299f7873d083b04f44694daa6999a66061 HEAD [2021-02-04T05:14:37.962Z] # -> Force: false [2021-02-04T05:14:38.224Z] # 89665d07af4828900b182554c1409644a494198b refs/tags/v1.3.2-dev.3 [Pipeline] } [2021-02-04T05:14:38.237Z] $ docker exec --env ******** --env ******** 81e9e21fcc8cc4348e0c1419167995a95c4fa8a8ee82eaca1453f909db5e8baf ssh-agent -k [2021-02-04T05:14:38.381Z] unset SSH_AUTH_SOCK; [2021-02-04T05:14:38.381Z] unset SSH_AGENT_PID; [2021-02-04T05:14:38.381Z] echo Agent pid 16 killed; [2021-02-04T05:14:38.442Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-04T05:14:38.910Z] + git semver [Pipeline] } [2021-02-04T05:14:38.927Z] $ docker stop --time=1 81e9e21fcc8cc4348e0c1419167995a95c4fa8a8ee82eaca1453f909db5e8baf [2021-02-04T05:14:40.288Z] $ docker rm -f 81e9e21fcc8cc4348e0c1419167995a95c4fa8a8ee82eaca1453f909db5e8baf [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:14:41.130Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-04T05:14:41.131Z] [2021-02-04T05:14:41.131Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:14:41.544Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-04T05:14:41.544Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-02-04T05:14:41.544Z] ab5ef0e58194: Pulling fs layer [2021-02-04T05:14:41.544Z] 9712f1f96733: Pulling fs layer [2021-02-04T05:14:41.544Z] 63f879dbbcfc: Pulling fs layer [2021-02-04T05:14:41.544Z] 0d9ebad4ef96: Pulling fs layer [2021-02-04T05:14:41.544Z] e9a5061849ea: Pulling fs layer [2021-02-04T05:14:41.544Z] d747dcd14b5f: Pulling fs layer [2021-02-04T05:14:41.544Z] 2de7ff778b66: Pulling fs layer [2021-02-04T05:14:41.544Z] e9a5061849ea: Waiting [2021-02-04T05:14:41.544Z] d747dcd14b5f: Waiting [2021-02-04T05:14:41.544Z] 2de7ff778b66: Waiting [2021-02-04T05:14:41.544Z] 0d9ebad4ef96: Waiting [2021-02-04T05:14:41.544Z] 9712f1f96733: Download complete [2021-02-04T05:14:43.478Z] 63f879dbbcfc: Verifying Checksum [2021-02-04T05:14:43.478Z] 63f879dbbcfc: Download complete [2021-02-04T05:14:43.478Z] e9a5061849ea: Verifying Checksum [2021-02-04T05:14:43.478Z] e9a5061849ea: Download complete [2021-02-04T05:14:43.478Z] d747dcd14b5f: Verifying Checksum [2021-02-04T05:14:43.478Z] d747dcd14b5f: Download complete [2021-02-04T05:14:44.057Z] 2de7ff778b66: Verifying Checksum [2021-02-04T05:14:44.057Z] 2de7ff778b66: Download complete [2021-02-04T05:14:44.057Z] 0d9ebad4ef96: Verifying Checksum [2021-02-04T05:14:44.057Z] 0d9ebad4ef96: Download complete [2021-02-04T05:14:44.320Z] ab5ef0e58194: Verifying Checksum [2021-02-04T05:14:44.320Z] ab5ef0e58194: Download complete [2021-02-04T05:14:48.569Z] ab5ef0e58194: Pull complete [2021-02-04T05:14:48.569Z] 9712f1f96733: Pull complete [2021-02-04T05:14:51.130Z] 63f879dbbcfc: Pull complete [2021-02-04T05:14:57.751Z] 0d9ebad4ef96: Pull complete [2021-02-04T05:14:59.681Z] e9a5061849ea: Pull complete [2021-02-04T05:14:59.681Z] d747dcd14b5f: Pull complete [2021-02-04T05:15:03.036Z] 2de7ff778b66: Pull complete [2021-02-04T05:15:03.036Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-02-04T05:15:03.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-04T05:15:03.036Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-02-04T05:15:03.283Z] prd-centos7-docker-4c-2g-24894 does not seem to be running inside a container [2021-02-04T05:15:03.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-02-04T05:15:06.900Z] $ docker top 6a3695fd80976f1481ec4d0cb09c886a9f1e89a466ffa9834950cb7ec5e3b83f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-02-04T05:15:07.171Z] provisioning config files... [2021-02-04T05:15:07.189Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config8425953877535464596tmp [2021-02-04T05:15:07.205Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config1184669951543019448tmp [2021-02-04T05:15:07.221Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config8525817214094636320tmp [Pipeline] { [Pipeline] echo [2021-02-04T05:15:07.277Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T05:15:07.577Z] ---> sigul-configuration.sh [2021-02-04T05:15:07.577Z] gpg: directory `/root/.gnupg' created [2021-02-04T05:15:07.577Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-02-04T05:15:07.577Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-02-04T05:15:07.577Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-02-04T05:15:07.577Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-02-04T05:15:07.577Z] gpg: CAST5 encrypted data [2021-02-04T05:15:07.838Z] gpg: encrypted with 1 passphrase [2021-02-04T05:15:07.838Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-02-04T05:15:08.138Z] + mkdir /home/jenkins [2021-02-04T05:15:08.138Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-02-04T05:15:08.448Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-02-04T05:15:08.459Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T05:15:08.759Z] ---> sigul-install.sh [2021-02-04T05:15:16.932Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-02-04T05:15:17.239Z] + git tag --list [2021-02-04T05:15:17.239Z] 0.7.1 [2021-02-04T05:15:17.239Z] v1.0.0 [2021-02-04T05:15:17.239Z] v1.1.0 [2021-02-04T05:15:17.239Z] v1.1.1 [2021-02-04T05:15:17.239Z] v1.2.2 [2021-02-04T05:15:17.239Z] v1.3.0 [2021-02-04T05:15:17.239Z] v1.3.1 [2021-02-04T05:15:17.239Z] v1.3.1-dev.1 [2021-02-04T05:15:17.239Z] v1.3.1-dev.2 [2021-02-04T05:15:17.239Z] v1.3.1-dev.3 [2021-02-04T05:15:17.239Z] v1.3.1-dev.4 [2021-02-04T05:15:17.239Z] v1.3.2-dev.1 [2021-02-04T05:15:17.239Z] v1.3.2-dev.2 [2021-02-04T05:15:17.239Z] v1.3.2-dev.3 [Pipeline] sh [2021-02-04T05:15:17.547Z] + lftools sign git-tag v1.3.2-dev.3 [2021-02-04T05:15:18.941Z] Signing Git tag with Sigul... [2021-02-04T05:15:18.941Z] Signing v1.3.2-dev.3 [Pipeline] echo [2021-02-04T05:15:19.909Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T05:15:20.247Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-02-04T05:15:20.257Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-02-04T05:15:20.367Z] $ docker stop --time=1 6a3695fd80976f1481ec4d0cb09c886a9f1e89a466ffa9834950cb7ec5e3b83f [2021-02-04T05:15:22.574Z] $ docker rm -f 6a3695fd80976f1481ec4d0cb09c886a9f1e89a466ffa9834950cb7ec5e3b83f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:15:23.503Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T05:15:23.503Z] . [Pipeline] withDockerContainer [2021-02-04T05:15:23.611Z] prd-centos7-docker-4c-2g-24894 does not seem to be running inside a container [2021-02-04T05:15:23.667Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-04T05:15:24.359Z] $ docker top 74c63be0901a3e6f6e0cbccd1564f1afc460caaa0184dd43898ab06a4b0001fe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-04T05:15:24.687Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T05:15:24.687Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T05:15:24.925Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T05:15:24.930Z] $ docker exec 74c63be0901a3e6f6e0cbccd1564f1afc460caaa0184dd43898ab06a4b0001fe ssh-agent [2021-02-04T05:15:25.124Z] SSH_AUTH_SOCK=/tmp/ssh-zq2GfxXc1pLG/agent.12 [2021-02-04T05:15:25.124Z] SSH_AGENT_PID=18 [2021-02-04T05:15:25.131Z] Running ssh-add (command line suppressed) [2021-02-04T05:15:25.261Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4330665287897324592.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4330665287897324592.key) [2021-02-04T05:15:25.318Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T05:15:25.654Z] + git semver bump pre [2021-02-04T05:15:25.654Z] # -> Open(): unable to determine branch for HEAD [2021-02-04T05:15:25.654Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-02-04T05:15:25.654Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-02-04T05:15:25.654Z] # $SEMVER_REMOTE_NAME = origin [2021-02-04T05:15:25.654Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-04T05:15:25.654Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-04T05:15:25.654Z] # $SEMVER_BRANCH = master [2021-02-04T05:15:25.654Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-02-04T05:15:25.654Z] 1.3.2-dev.4 [Pipeline] } [2021-02-04T05:15:25.667Z] $ docker exec --env ******** --env ******** 74c63be0901a3e6f6e0cbccd1564f1afc460caaa0184dd43898ab06a4b0001fe ssh-agent -k [2021-02-04T05:15:25.789Z] unset SSH_AUTH_SOCK; [2021-02-04T05:15:25.789Z] unset SSH_AGENT_PID; [2021-02-04T05:15:25.789Z] echo Agent pid 18 killed; [2021-02-04T05:15:25.843Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-04T05:15:26.310Z] + git semver [Pipeline] } [2021-02-04T05:15:26.328Z] $ docker stop --time=1 74c63be0901a3e6f6e0cbccd1564f1afc460caaa0184dd43898ab06a4b0001fe [2021-02-04T05:15:27.708Z] $ docker rm -f 74c63be0901a3e6f6e0cbccd1564f1afc460caaa0184dd43898ab06a4b0001fe [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:15:28.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T05:15:28.282Z] . [Pipeline] withDockerContainer [2021-02-04T05:15:28.383Z] prd-centos7-docker-4c-2g-24894 does not seem to be running inside a container [2021-02-04T05:15:28.432Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-04T05:15:29.184Z] $ docker top c16eb7b22ddba29b84fc92166f2aa2f44a9a2dd6d82e881136fadfa103087300 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-04T05:15:29.594Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T05:15:29.594Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T05:15:29.802Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T05:15:29.807Z] $ docker exec c16eb7b22ddba29b84fc92166f2aa2f44a9a2dd6d82e881136fadfa103087300 ssh-agent [2021-02-04T05:15:30.001Z] SSH_AUTH_SOCK=/tmp/ssh-Cn04KkNcyvaq/agent.11 [2021-02-04T05:15:30.001Z] SSH_AGENT_PID=16 [2021-02-04T05:15:30.010Z] Running ssh-add (command line suppressed) [2021-02-04T05:15:30.144Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6252964398554436707.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6252964398554436707.key) [2021-02-04T05:15:30.204Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T05:15:30.556Z] + git semver push [2021-02-04T05:15:30.556Z] # -> Open(): unable to determine branch for HEAD [2021-02-04T05:15:30.556Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-02-04T05:15:30.556Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-02-04T05:15:30.556Z] # $SEMVER_REMOTE_NAME = origin [2021-02-04T05:15:30.556Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-04T05:15:30.556Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-04T05:15:30.556Z] # $SEMVER_BRANCH = master [2021-02-04T05:15:30.556Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-02-04T05:15:37.167Z] $ docker exec --env ******** --env ******** c16eb7b22ddba29b84fc92166f2aa2f44a9a2dd6d82e881136fadfa103087300 ssh-agent -k [2021-02-04T05:15:37.301Z] unset SSH_AUTH_SOCK; [2021-02-04T05:15:37.302Z] unset SSH_AGENT_PID; [2021-02-04T05:15:37.302Z] echo Agent pid 16 killed; [2021-02-04T05:15:37.383Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-04T05:15:37.850Z] + git semver [Pipeline] } [2021-02-04T05:15:37.866Z] $ docker stop --time=1 c16eb7b22ddba29b84fc92166f2aa2f44a9a2dd6d82e881136fadfa103087300 [2021-02-04T05:15:39.287Z] $ docker rm -f c16eb7b22ddba29b84fc92166f2aa2f44a9a2dd6d82e881136fadfa103087300 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-02-04T05:15:40.956Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T05:15:41.279Z] ---> package-listing.sh [2021-02-04T05:15:41.279Z] ++ facter osfamily [2021-02-04T05:15:41.279Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-04T05:15:41.279Z] + OS_FAMILY=redhat [2021-02-04T05:15:41.279Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_master [2021-02-04T05:15:41.279Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-04T05:15:41.279Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-04T05:15:41.279Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-04T05:15:41.279Z] + PACKAGES=/tmp/packages_start.txt [2021-02-04T05:15:41.279Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-02-04T05:15:41.279Z] + PACKAGES=/tmp/packages_end.txt [2021-02-04T05:15:41.279Z] + case "${OS_FAMILY}" in [2021-02-04T05:15:41.279Z] + rpm -qa [2021-02-04T05:15:41.279Z] + sort [2021-02-04T05:15:46.592Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-04T05:15:46.592Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-04T05:15:46.592Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-04T05:15:46.592Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-02-04T05:15:46.592Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [2021-02-04T05:15:46.592Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo [2021-02-04T05:15:46.612Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-04T05:15:46.909Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:15:47.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T05:15:47.224Z] [2021-02-04T05:15:47.225Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:15:47.608Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T05:15:47.608Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-04T05:15:47.608Z] df20fa9351a1: Pulling fs layer [2021-02-04T05:15:47.608Z] 36b3adc4ff6f: Pulling fs layer [2021-02-04T05:15:47.608Z] 8ad3a11d3b57: Pulling fs layer [2021-02-04T05:15:47.608Z] 46f8f816bc3b: Pulling fs layer [2021-02-04T05:15:47.608Z] 93b61091891f: Pulling fs layer [2021-02-04T05:15:47.608Z] 93b9cdb0e59b: Pulling fs layer [2021-02-04T05:15:47.608Z] 5e14af77c1be: Pulling fs layer [2021-02-04T05:15:47.608Z] 01666e4c0597: Pulling fs layer [2021-02-04T05:15:47.608Z] aa168da1d23b: Pulling fs layer [2021-02-04T05:15:47.608Z] 46f8f816bc3b: Waiting [2021-02-04T05:15:47.608Z] 93b61091891f: Waiting [2021-02-04T05:15:47.608Z] 93b9cdb0e59b: Waiting [2021-02-04T05:15:47.608Z] 5e14af77c1be: Waiting [2021-02-04T05:15:47.608Z] 01666e4c0597: Waiting [2021-02-04T05:15:47.608Z] aa168da1d23b: Waiting [2021-02-04T05:15:47.608Z] 36b3adc4ff6f: Download complete [2021-02-04T05:15:47.608Z] 46f8f816bc3b: Verifying Checksum [2021-02-04T05:15:47.608Z] 46f8f816bc3b: Download complete [2021-02-04T05:15:47.870Z] df20fa9351a1: Verifying Checksum [2021-02-04T05:15:47.870Z] df20fa9351a1: Download complete [2021-02-04T05:15:47.870Z] 93b9cdb0e59b: Download complete [2021-02-04T05:15:47.870Z] 5e14af77c1be: Verifying Checksum [2021-02-04T05:15:47.870Z] 5e14af77c1be: Download complete [2021-02-04T05:15:47.870Z] 93b61091891f: Verifying Checksum [2021-02-04T05:15:47.870Z] 93b61091891f: Download complete [2021-02-04T05:15:47.870Z] 01666e4c0597: Verifying Checksum [2021-02-04T05:15:47.870Z] 01666e4c0597: Download complete [2021-02-04T05:15:48.445Z] df20fa9351a1: Pull complete [2021-02-04T05:15:48.445Z] 8ad3a11d3b57: Verifying Checksum [2021-02-04T05:15:48.445Z] 8ad3a11d3b57: Download complete [2021-02-04T05:15:48.710Z] 36b3adc4ff6f: Pull complete [2021-02-04T05:15:50.639Z] aa168da1d23b: Verifying Checksum [2021-02-04T05:15:50.639Z] aa168da1d23b: Download complete [2021-02-04T05:15:50.639Z] 8ad3a11d3b57: Pull complete [2021-02-04T05:15:50.639Z] 46f8f816bc3b: Pull complete [2021-02-04T05:15:50.901Z] 93b61091891f: Pull complete [2021-02-04T05:15:51.164Z] 93b9cdb0e59b: Pull complete [2021-02-04T05:15:51.164Z] 5e14af77c1be: Pull complete [2021-02-04T05:15:51.440Z] 01666e4c0597: Pull complete [2021-02-04T05:15:59.622Z] aa168da1d23b: Pull complete [2021-02-04T05:15:59.622Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-04T05:15:59.622Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T05:15:59.622Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-04T05:15:59.743Z] prd-centos7-docker-4c-2g-24894 does not seem to be running inside a container [2021-02-04T05:15:59.795Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-04T05:16:03.171Z] $ docker top a8519aae48737e07078cd1c34a5121313d320756df807f4b78662de5db0d0277 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T05:16:03.741Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-04T05:16:04.042Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-04T05:16:04.344Z] + ls /var/log/sa-host [2021-02-04T05:16:04.344Z] + sadf -c /var/log/sa-host/sa04 [2021-02-04T05:16:04.345Z] file_magic: OK [2021-02-04T05:16:04.345Z] HZ: Using current value: 100 [2021-02-04T05:16:04.345Z] file_header: OK [2021-02-04T05:16:04.345Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-02-04T05:16:04.345Z] Statistics: [2021-02-04T05:16:04.345Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-04T05:16:04.345Z] File successfully converted to sysstat format version 12.2.1 [2021-02-04T05:16:04.345Z] + sadf -c /var/log/sa-host/sa23 [2021-02-04T05:16:04.345Z] file_magic: OK [2021-02-04T05:16:04.345Z] HZ: Using current value: 100 [2021-02-04T05:16:04.345Z] file_header: OK [2021-02-04T05:16:04.345Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-02-04T05:16:04.345Z] Statistics: [2021-02-04T05:16:04.345Z] Hnuu...uuuununununu... [2021-02-04T05:16:04.345Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-04T05:16:04.590Z] provisioning config files... [2021-02-04T05:16:04.608Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2253548841074102498tmp [Pipeline] { [Pipeline] echo [2021-02-04T05:16:04.682Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T05:16:04.983Z] ---> create-netrc.sh [Pipeline] } [2021-02-04T05:16:04.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-04T05:16:05.077Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T05:16:05.377Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-04T05:16:05.393Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T05:16:05.694Z] ---> sudo-logs.sh [2021-02-04T05:16:05.694Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-04T05:16:05.706Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T05:16:06.003Z] ---> job-cost.sh [2021-02-04T05:16:06.003Z] lf-activate-venv: SKIPPING [2021-02-04T05:16:06.003Z] INFO: No Stack... [2021-02-04T05:16:06.948Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-04T05:16:07.524Z] INFO: Archiving Costs [Pipeline] echo [2021-02-04T05:16:07.538Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T05:16:07.835Z] ---> logs-deploy.sh [2021-02-04T05:16:07.835Z] lf-activate-venv: SKIPPING [2021-02-04T05:16:07.835Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/33 [2021-02-04T05:16:07.835Z] INFO: archiving workspace using pattern(s): [2021-02-04T05:16:09.230Z] Archives upload complete. [2021-02-04T05:16:09.492Z] INFO: archiving logs to Nexus