Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cdd6c33d41f01dc10b68606080ac8b6263924bf1 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-mqtt-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-19365’ is offline; ‘prd-centos7-docker-4c-2g-19373’ is offline; ‘prd-centos7-docker-4c-2g-19396’ is offline; ‘prd-centos7-docker-4c-2g-19398’ is offline; ‘prd-centos7-docker-4c-2g-19401’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19391’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19397’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-19414 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 Checking out Revision cdd6c33d41f01dc10b68606080ac8b6263924bf1 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 Commit message: "Merge pull request #202 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.4.0" > git rev-list --no-walk 7a1b18f551239dfc150e88617034cadc3790dddc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:15:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:15:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:15:54 ========================================================= 06:15:54 EdgeX Global Pipelines Version Info 06:15:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:15:56 ------------------- 06:15:56 stable info: 06:15:56 ------------------- 06:15:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:15:56 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:15:56 Message: update stable to v1.0.173 06:15:57 ------------------- 06:15:57 experimental info: 06:15:57 ------------------- 06:15:57 Commited By: **** collab-it+edgex@linuxfoundation.org 06:15:57 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:15:57 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:15:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 06:15:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 06:15:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:15:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:15:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:16:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:16:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo 06:16:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:16:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:16:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:16:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:16:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:16:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:16:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:16:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 06:16:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:16:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:16:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:16:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:16:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:16:02 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:16:02 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:16:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 06:16:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 06:16:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 06:16:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cdd6c33d41f01dc10b68606080ac8b6263924bf1 [Pipeline] echo 06:16:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cdd6c33 [Pipeline] echo 06:16:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:16:03 provisioning config files... 06:16:03 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config1229624044206280311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:04 ---> docker-login.sh 06:16:04 nexus3.edgexfoundry.org:10001 06:16:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:04 Configure a credential helper to remove this warning. See 06:16:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:04 06:16:04 Login Succeeded 06:16:04 nexus3.edgexfoundry.org:10002 06:16:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:05 Configure a credential helper to remove this warning. See 06:16:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:05 06:16:05 Login Succeeded 06:16:05 nexus3.edgexfoundry.org:10003 06:16:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:05 Configure a credential helper to remove this warning. See 06:16:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:05 06:16:05 Login Succeeded 06:16:05 nexus3.edgexfoundry.org:10004 06:16:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:05 Configure a credential helper to remove this warning. See 06:16:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:05 06:16:05 Login Succeeded 06:16:05 docker.io 06:16:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:05 Configure a credential helper to remove this warning. See 06:16:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:05 06:16:05 Login Succeeded 06:16:05 ---> docker-login.sh ends [Pipeline] } 06:16:05 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 06:16:06 + git log --format=format:%s -1 cdd6c33d41f01dc10b68606080ac8b6263924bf1 [Pipeline] echo 06:16:06 GIT_COMMIT: cdd6c33d41f01dc10b68606080ac8b6263924bf1, Commit Message: Merge pull request #202 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.4.0 [Pipeline] echo 06:16:06 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:16:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:16:07 06:16:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:16:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:16:07 latest: Pulling from edgex-devops/git-semver 06:16:07 31603596830f: Pulling fs layer 06:16:07 2a8b12db71e7: Pulling fs layer 06:16:07 6ca5941a6612: Pulling fs layer 06:16:07 ecc8261a40a4: Pulling fs layer 06:16:07 ecc8261a40a4: Waiting 06:16:07 2a8b12db71e7: Verifying Checksum 06:16:07 2a8b12db71e7: Download complete 06:16:07 31603596830f: Verifying Checksum 06:16:07 31603596830f: Download complete 06:16:08 ecc8261a40a4: Verifying Checksum 06:16:08 ecc8261a40a4: Download complete 06:16:08 6ca5941a6612: Verifying Checksum 06:16:08 6ca5941a6612: Download complete 06:16:08 31603596830f: Pull complete 06:16:08 2a8b12db71e7: Pull complete 06:16:09 6ca5941a6612: Pull complete 06:16:09 ecc8261a40a4: Pull complete 06:16:09 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:16:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:16:09 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:16:10 prd-centos7-docker-4c-2g-19414 does not seem to be running inside a container 06:16:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:16:12 $ docker top 20d37c69cb90df3f29a7345c25e1c77a221dc94771a5a5f0848bcf69c0a49322 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:16:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:12 [ssh-agent] Looking for ssh-agent implementation... 06:16:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:13 $ docker exec 20d37c69cb90df3f29a7345c25e1c77a221dc94771a5a5f0848bcf69c0a49322 ssh-agent 06:16:13 SSH_AUTH_SOCK=/tmp/ssh-lJp1SyIDixCJ/agent.11 06:16:13 SSH_AGENT_PID=16 06:16:13 Running ssh-add (command line suppressed) 06:16:13 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_1325434305573039299.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_1325434305573039299.key) 06:16:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:13 + git tag --points-at HEAD [Pipeline] } 06:16:13 $ docker exec --env ******** --env ******** 20d37c69cb90df3f29a7345c25e1c77a221dc94771a5a5f0848bcf69c0a49322 ssh-agent -k 06:16:13 unset SSH_AUTH_SOCK; 06:16:13 unset SSH_AGENT_PID; 06:16:13 echo Agent pid 16 killed; 06:16:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:16:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:14 [ssh-agent] Looking for ssh-agent implementation... 06:16:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:14 $ docker exec 20d37c69cb90df3f29a7345c25e1c77a221dc94771a5a5f0848bcf69c0a49322 ssh-agent 06:16:14 SSH_AUTH_SOCK=/tmp/ssh-FQMZN80hvWce/agent.44 06:16:14 SSH_AGENT_PID=49 06:16:14 Running ssh-add (command line suppressed) 06:16:14 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2066449128851962841.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2066449128851962841.key) 06:16:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:15 + git semver init 06:16:15 # -> Open(): unable to determine branch for HEAD 06:16:15 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 06:16:15 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 06:16:15 # $SEMVER_REMOTE_NAME = origin 06:16:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:16:15 # $SEMVER_USER_NAME = edgex-jenkins 06:16:15 # $SEMVER_BRANCH = master 06:16:15 # $SEMVER_TEMP = /tmp/semver-154613473 06:16:15 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 06:16:15 # '/tmp/semver-154613473' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' 06:16:15 # -> Force: false 06:16:15 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 06:16:15 $ docker exec --env ******** --env ******** 20d37c69cb90df3f29a7345c25e1c77a221dc94771a5a5f0848bcf69c0a49322 ssh-agent -k 06:16:15 unset SSH_AUTH_SOCK; 06:16:15 unset SSH_AGENT_PID; 06:16:15 echo Agent pid 49 killed; 06:16:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:16:16 + git semver [Pipeline] } 06:16:16 $ docker stop --time=1 20d37c69cb90df3f29a7345c25e1c77a221dc94771a5a5f0848bcf69c0a49322 06:16:17 $ docker rm -f 20d37c69cb90df3f29a7345c25e1c77a221dc94771a5a5f0848bcf69c0a49322 [Pipeline] // withDockerContainer [Pipeline] sh 06:16:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:16:18 Stashed 1 file(s) [Pipeline] echo 06:16:18 [edgeXSemver]: initialized semver on version 1.3.1-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 06:16:34 Still waiting to schedule task 06:16:34 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:16:34 Still waiting to schedule task 06:16:34 ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15505’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19365’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19373’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19375’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19396’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19400’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-19412’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19391’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19397’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19416’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19418’ is offline 06:17:19 Running on prd-ubuntu18.04-docker-arm64-4c-16g-19418 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 06:17:19 Running in /w/workspace/device-mqtt-go/28 [Pipeline] { [Pipeline] checkout 06:17:25 using credential edgex-jenkins-ssh 06:17:26 Cloning the remote Git repository 06:17:25 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 06:17:26 > git init /w/workspace/device-mqtt-go/28 # timeout=10 06:17:26 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:17:26 > git --version # timeout=10 06:17:26 > git --version # 'git version 2.17.1' 06:17:26 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:17:27 Checking out Revision cdd6c33d41f01dc10b68606080ac8b6263924bf1 (master) 06:17:27 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:17:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:17:27 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:17:27 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:17:27 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 06:17:27 > git config core.sparsecheckout # timeout=10 06:17:27 > git checkout -f cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 06:17:32 Commit message: "Merge pull request #202 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.4.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:17:34 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:17:34 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:17:34 + + true 06:17:34 sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:17:37 provisioning config files... 06:17:37 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/28@tmp/config3019302704811406111tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:38 ---> docker-login.sh 06:17:38 nexus3.edgexfoundry.org:10001 06:17:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:39 Configure a credential helper to remove this warning. See 06:17:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:39 06:17:39 Login Succeeded 06:17:39 nexus3.edgexfoundry.org:10002 06:17:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:40 Configure a credential helper to remove this warning. See 06:17:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:40 06:17:40 Login Succeeded 06:17:40 nexus3.edgexfoundry.org:10003 06:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:40 Configure a credential helper to remove this warning. See 06:17:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:40 06:17:40 Login Succeeded 06:17:40 nexus3.edgexfoundry.org:10004 06:17:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:41 Configure a credential helper to remove this warning. See 06:17:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:41 06:17:41 Login Succeeded 06:17:41 docker.io 06:17:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:42 Configure a credential helper to remove this warning. See 06:17:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:42 06:17:42 Login Succeeded 06:17:42 ---> docker-login.sh ends [Pipeline] } 06:17:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:17:42 ========================================================= 06:17:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:17:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:17:43 + 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 . 06:17:43 Sending build context to Docker daemon 486.4kB 06:17:43 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:17:43 Step 2/8 : FROM ${BASE} 06:17:43 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:17:43 5f621e34cdf4: Pulling fs layer 06:17:43 a4357932f1b6: Pulling fs layer 06:17:43 18c013af1878: Pulling fs layer 06:17:43 00ac8860ef70: Pulling fs layer 06:17:43 63d7cb157983: Pulling fs layer 06:17:43 b116817d02f9: Pulling fs layer 06:17:43 745a02a5169b: Pulling fs layer 06:17:43 63d7cb157983: Waiting 06:17:43 b116817d02f9: Waiting 06:17:43 745a02a5169b: Waiting 06:17:43 00ac8860ef70: Waiting 06:17:43 18c013af1878: Verifying Checksum 06:17:43 18c013af1878: Download complete 06:17:43 a4357932f1b6: Verifying Checksum 06:17:43 a4357932f1b6: Download complete 06:17:43 63d7cb157983: Verifying Checksum 06:17:43 63d7cb157983: Download complete 06:17:43 b116817d02f9: Verifying Checksum 06:17:43 b116817d02f9: Download complete 06:17:43 5f621e34cdf4: Verifying Checksum 06:17:43 5f621e34cdf4: Download complete 06:17:44 5f621e34cdf4: Pull complete 06:17:45 a4357932f1b6: Pull complete 06:17:45 18c013af1878: Pull complete 06:17:46 745a02a5169b: Verifying Checksum 06:17:46 745a02a5169b: Download complete 06:17:48 00ac8860ef70: Verifying Checksum 06:17:48 00ac8860ef70: Download complete 06:17:58 00ac8860ef70: Pull complete 06:17:58 63d7cb157983: Pull complete 06:17:59 b116817d02f9: Pull complete 06:18:03 745a02a5169b: Pull complete 06:18:03 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:18:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:18:03 ---> b7e6874047d6 06:18:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:18:06 ---> Running in 6d6d6043e8d7 06:18:06 Removing intermediate container 6d6d6043e8d7 06:18:06 ---> 328d8a816ea7 06:18:06 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:18:06 ---> Running in eccecec332c7 06:18:09 Removing intermediate container eccecec332c7 06:18:09 ---> 4c3f2c07f7fb 06:18:09 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:18:09 ---> Running in ac60e86d1e8e 06:18:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:18:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:18:12 (1/14) Installing libmagic (5.38-r0) 06:18:13 (2/14) Installing file (5.38-r0) 06:18:13 (3/14) Installing libc-dev (0.7.2-r3) 06:18:13 (4/14) Installing g++ (9.3.0-r2) 06:18:28 (5/14) Installing fortify-headers (1.1-r0) 06:18:28 (6/14) Installing patch (2.7.6-r6) 06:18:28 (7/14) Installing build-base (0.5-r2) 06:18:28 (8/14) Installing openssh-keygen (8.3_p1-r1) 06:18:28 (9/14) Installing libedit (20191231.3.1-r0) 06:18:28 (10/14) Installing openssh-client (8.3_p1-r1) 06:18:29 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 06:18:29 (12/14) Installing openssh-server-common (8.3_p1-r1) 06:18:29 (13/14) Installing openssh-server (8.3_p1-r1) 06:18:30 (14/14) Installing openssh (8.3_p1-r1) 06:18:30 Executing busybox-1.31.1-r19.trigger 06:18:30 OK: 221 MiB in 53 packages 06:18:34 Removing intermediate container ac60e86d1e8e 06:18:34 ---> ea24496e5d61 06:18:34 Step 6/8 : WORKDIR /device-mqtt-go 06:18:35 ---> Running in 362ed924db40 06:18:35 Removing intermediate container 362ed924db40 06:18:35 ---> 873b486b8d5a 06:18:35 Step 7/8 : COPY . . 06:18:36 ---> 553c3c908ae2 06:18:36 Step 8/8 : RUN go mod download 06:18:36 ---> Running in 0a76ae6f928f 06:18:59 Removing intermediate container 0a76ae6f928f 06:18:59 ---> f4ac91b03234 06:18:59 Successfully built f4ac91b03234 06:18:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:19:00 + docker inspect -f . ci-base-image-arm64 06:19:00 . [Pipeline] withDockerContainer 06:19:00 prd-ubuntu18.04-docker-arm64-4c-16g-19418 does not seem to be running inside a container 06:19:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/28 -v /w/workspace/device-mqtt-go/28:/w/workspace/device-mqtt-go/28:rw,z -v /w/workspace/device-mqtt-go/28@tmp:/w/workspace/device-mqtt-go/28@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 ******** ci-base-image-arm64 cat 06:19:01 $ docker top 44baface5b5fd9f1e02734612fa4132b4bfb55d4bc0524d79b4520b4e603f47f -eo pid,comm [Pipeline] { [Pipeline] sh 06:19:03 + go version 06:19:03 go version go1.15.5 linux/arm64 [Pipeline] } 06:19:03 $ docker stop --time=1 44baface5b5fd9f1e02734612fa4132b4bfb55d4bc0524d79b4520b4e603f47f 06:19:05 $ docker rm -f 44baface5b5fd9f1e02734612fa4132b4bfb55d4bc0524d79b4520b4e603f47f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:19:06 + docker inspect -f . ci-base-image-arm64 06:19:06 . [Pipeline] withDockerContainer 06:19:06 prd-ubuntu18.04-docker-arm64-4c-16g-19418 does not seem to be running inside a container 06:19:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/28 -v /w/workspace/device-mqtt-go/28:/w/workspace/device-mqtt-go/28:rw,z -v /w/workspace/device-mqtt-go/28@tmp:/w/workspace/device-mqtt-go/28@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 ******** ci-base-image-arm64 cat 06:19:07 $ docker top 2b609147a82637905a442465b0d962ba827a8f6e344e44d0dde9b6697a53bdb2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:19:08 + make test 06:19:08 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:19:10 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:19:49 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 06:19:49 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.033s coverage: 28.3% of statements 06:19:49 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 06:19:49 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:19:54 gofmt -l . 06:19:54 ["`gofmt -l .`" = ""] 06:19:54 ./bin/test-attribution-txt.sh 06:19:55 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:19:56 $ docker stop --time=1 2b609147a82637905a442465b0d962ba827a8f6e344e44d0dde9b6697a53bdb2 06:19:58 $ docker rm -f 2b609147a82637905a442465b0d962ba827a8f6e344e44d0dde9b6697a53bdb2 [Pipeline] // withDockerContainer [Pipeline] sh 06:19:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:20:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:20:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:20:02 + ls -al . 06:20:02 total 132 06:20:02 drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 06:19 . 06:20:02 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 06:17 .. 06:20:02 -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 06:17 .dockerignore 06:20:02 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 06:17 .git 06:20:02 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:17 .github 06:20:02 -rw-rw-r-- 1 jenkins jenkins 336 Jan 11 06:17 .gitignore 06:20:02 -rw-rw-r-- 1 jenkins jenkins 5932 Jan 11 06:17 Attribution.txt 06:20:02 -rw-rw-r-- 1 jenkins jenkins 1802 Jan 11 06:17 Dockerfile 06:20:02 -rw-rw-r-- 1 jenkins jenkins 957 Jan 11 06:17 Dockerfile.build 06:20:02 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 06:17 Jenkinsfile 06:20:02 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 06:17 LICENSE 06:20:02 -rw-rw-r-- 1 jenkins jenkins 902 Jan 11 06:17 Makefile 06:20:02 -rw-rw-r-- 1 jenkins jenkins 444 Jan 11 06:17 README.md 06:20:02 -rw-rw-r-- 1 jenkins jenkins 11 Jan 11 06:16 VERSION 06:20:02 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:17 bin 06:20:02 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 06:17 cmd 06:20:02 -rw-r--r-- 1 jenkins jenkins 18940 Jan 11 06:19 coverage.out 06:20:02 -rw-r--r-- 1 jenkins jenkins 504 Jan 11 06:19 go.mod 06:20:02 -rw-r--r-- 1 jenkins jenkins 14988 Jan 11 06:19 go.sum 06:20:02 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 06:17 internal 06:20:02 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:17 mock 06:20:02 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 06:17 snap 06:20:02 -rw-rw-r-- 1 jenkins jenkins 227 Jan 11 06:17 version.go [Pipeline] isUnix [Pipeline] sh 06:20:02 + 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=cdd6c33d41f01dc10b68606080ac8b6263924bf1 --label arch=arm64 --label version=1.3.1-dev.3 . 06:20:02 Sending build context to Docker daemon 505.9kB 06:20:02 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 06:20:02 Step 2/22 : FROM ${BASE} AS builder 06:20:02 ---> f4ac91b03234 06:20:02 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 06:20:03 ---> Running in a660cf766839 06:20:03 Removing intermediate container a660cf766839 06:20:03 ---> ca09e4e5dfb4 06:20:03 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 06:20:03 ---> Running in 374c4c4c5410 06:20:04 Removing intermediate container 374c4c4c5410 06:20:04 ---> c0f52d40c7da 06:20:04 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:20:04 ---> Running in 6703a5a06814 06:20:06 Removing intermediate container 6703a5a06814 06:20:06 ---> f9fa6c24268c 06:20:06 Step 6/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:20:06 ---> Running in c61a44da7262 06:20:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:20:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:20:09 OK: 221 MiB in 53 packages 06:20:10 Removing intermediate container c61a44da7262 06:20:10 ---> 37dee953ab81 06:20:10 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 06:20:10 ---> Running in e68924a78f95 06:20:10 Removing intermediate container e68924a78f95 06:20:10 ---> e12caff3709b 06:20:10 Step 8/22 : COPY . . 06:20:11 ---> b70eb6f9e0f4 06:20:11 Step 9/22 : ARG MAKE='make build' 06:20:12 ---> Running in fee0825b6453 06:20:12 Removing intermediate container fee0825b6453 06:20:12 ---> bd104e1fc0ad 06:20:12 Step 10/22 : RUN $MAKE 06:20:12 ---> Running in 3e22acb8c8ad 06:20:13 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.1-dev.3" -o cmd/device-mqtt ./cmd 06:20:40 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:20:47 Removing intermediate container 3e22acb8c8ad 06:20:47 ---> 20006e47fe3e 06:20:47 Step 11/22 : FROM alpine:3.12 06:20:47 3.12: Pulling from library/alpine 06:20:47 159e5727ea61: Pulling fs layer 06:20:48 159e5727ea61: Verifying Checksum 06:20:48 159e5727ea61: Download complete 06:20:48 159e5727ea61: Pull complete 06:20:48 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 06:20:48 Status: Downloaded newer image for alpine:3.12 06:20:48 ---> afeebe901d6b 06:20:48 Step 12/22 : ENV APP_PORT=49982 06:20:48 ---> Running in c94e633cc003 06:20:49 Removing intermediate container c94e633cc003 06:20:49 ---> 33cd0e99baec 06:20:49 Step 13/22 : EXPOSE $APP_PORT 06:20:49 ---> Running in 4ce2da5e063f 06:20:49 Removing intermediate container 4ce2da5e063f 06:20:49 ---> bffbdf13d57c 06:20:49 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 06:20:51 ---> 1930f2541a84 06:20:51 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 06:20:51 ---> c8addfdc1f8b 06:20:51 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 06:20:52 ---> 24044a869e24 06:20:52 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 06:20:52 ---> Running in 4e77f4b85048 06:20:53 Removing intermediate container 4e77f4b85048 06:20:53 ---> ca6e28ab0c7f 06:20:53 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 06:20:53 ---> Running in bdb192cf3a48 06:20:53 Removing intermediate container bdb192cf3a48 06:20:53 ---> 069cc25940bb 06:20:53 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:20:53 ---> Running in c0fdc96a371f 06:20:54 Removing intermediate container c0fdc96a371f 06:20:54 ---> c88c72710a39 06:20:54 Step 20/22 : LABEL arch=arm64 06:20:54 ---> Running in 66130daad320 06:20:54 Removing intermediate container 66130daad320 06:20:54 ---> d303c2a03f03 06:20:54 Step 21/22 : LABEL git_sha=cdd6c33d41f01dc10b68606080ac8b6263924bf1 06:20:55 ---> Running in 6aae032db492 06:20:55 Removing intermediate container 6aae032db492 06:20:55 ---> 6ed9f5b423f5 06:20:55 Step 22/22 : LABEL version=1.3.1-dev.3 06:20:55 ---> Running in fbb029c4592d 06:20:56 Removing intermediate container fbb029c4592d 06:20:56 ---> 4fadbbb50fce 06:20:56 [Warning] One or more build-args [ARCH] were not consumed 06:20:56 Successfully built 4fadbbb50fce 06:20:56 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 06:20:56 provisioning config files... 06:20:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/28@tmp/config6332598387668103572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:20:57 ---> docker-login.sh 06:20:57 nexus3.edgexfoundry.org:10001 06:20:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:57 Configure a credential helper to remove this warning. See 06:20:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:57 06:20:57 Login Succeeded 06:20:57 nexus3.edgexfoundry.org:10002 06:20:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:57 Configure a credential helper to remove this warning. See 06:20:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:57 06:20:57 Login Succeeded 06:20:58 nexus3.edgexfoundry.org:10003 06:20:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:58 Configure a credential helper to remove this warning. See 06:20:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:58 06:20:58 Login Succeeded 06:20:58 nexus3.edgexfoundry.org:10004 06:20:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:59 Configure a credential helper to remove this warning. See 06:20:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:59 06:20:59 Login Succeeded 06:20:59 docker.io 06:20:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:59 Configure a credential helper to remove this warning. See 06:20:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:59 06:20:59 Login Succeeded 06:20:59 ---> docker-login.sh ends [Pipeline] } 06:20:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:21:00 [edgeXDocker.push] Tagging docker image docker-device-mqtt-go-arm64 with the following tags: 06:21:00 cdd6c33d41f01dc10b68606080ac8b6263924bf1 06:21:00 latest 06:21:00 1.3.1-dev.3 06:21:00 cdd6c33d41f01dc10b68606080ac8b6263924bf1-1.3.1-dev.3 06:21:00 master 06:21:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:21:00 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:cdd6c33d41f01dc10b68606080ac8b6263924bf1 [Pipeline] isUnix [Pipeline] sh 06:21:00 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:cdd6c33d41f01dc10b68606080ac8b6263924bf1 06:21:00 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 06:21:00 aa35c539e823: Preparing 06:21:00 ccaaac72e2b4: Preparing 06:21:00 a2216a1527b7: Preparing 06:21:00 379067d0cb53: Preparing 06:21:01 379067d0cb53: Layer already exists 06:21:01 aa35c539e823: Pushed 06:21:01 ccaaac72e2b4: Pushed 06:21:04 a2216a1527b7: Pushed 06:21:04 cdd6c33d41f01dc10b68606080ac8b6263924bf1: digest: sha256:400f488755c5963350dbdac59a36a5259576549d54b6bea3a8a6b234723bef9d size: 1155 [Pipeline] isUnix [Pipeline] sh 06:21:04 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:21:05 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest 06:21:05 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 06:21:05 aa35c539e823: Preparing 06:21:05 ccaaac72e2b4: Preparing 06:21:05 a2216a1527b7: Preparing 06:21:05 379067d0cb53: Preparing 06:21:05 aa35c539e823: Layer already exists 06:21:05 379067d0cb53: Layer already exists 06:21:05 a2216a1527b7: Layer already exists 06:21:05 ccaaac72e2b4: Layer already exists 06:21:05 latest: digest: sha256:400f488755c5963350dbdac59a36a5259576549d54b6bea3a8a6b234723bef9d size: 1155 [Pipeline] isUnix [Pipeline] sh 06:21:05 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.1-dev.3 [Pipeline] isUnix [Pipeline] sh 06:21:06 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.1-dev.3 06:21:06 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 06:21:06 aa35c539e823: Preparing 06:21:06 ccaaac72e2b4: Preparing 06:21:06 a2216a1527b7: Preparing 06:21:06 379067d0cb53: Preparing 06:21:06 ccaaac72e2b4: Layer already exists 06:21:06 aa35c539e823: Layer already exists 06:21:06 a2216a1527b7: Layer already exists 06:21:06 379067d0cb53: Layer already exists 06:21:06 1.3.1-dev.3: digest: sha256:400f488755c5963350dbdac59a36a5259576549d54b6bea3a8a6b234723bef9d size: 1155 [Pipeline] isUnix [Pipeline] sh 06:21:06 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:cdd6c33d41f01dc10b68606080ac8b6263924bf1-1.3.1-dev.3 [Pipeline] isUnix [Pipeline] sh 06:21:07 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:cdd6c33d41f01dc10b68606080ac8b6263924bf1-1.3.1-dev.3 06:21:07 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 06:21:07 aa35c539e823: Preparing 06:21:07 ccaaac72e2b4: Preparing 06:21:07 a2216a1527b7: Preparing 06:21:07 379067d0cb53: Preparing 06:21:07 a2216a1527b7: Layer already exists 06:21:07 ccaaac72e2b4: Layer already exists 06:21:07 379067d0cb53: Layer already exists 06:21:07 aa35c539e823: Layer already exists 06:21:07 cdd6c33d41f01dc10b68606080ac8b6263924bf1-1.3.1-dev.3: digest: sha256:400f488755c5963350dbdac59a36a5259576549d54b6bea3a8a6b234723bef9d size: 1155 [Pipeline] isUnix [Pipeline] sh 06:21:07 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] isUnix [Pipeline] sh 06:21:08 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master 06:21:08 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 06:21:08 aa35c539e823: Preparing 06:21:08 ccaaac72e2b4: Preparing 06:21:08 a2216a1527b7: Preparing 06:21:08 379067d0cb53: Preparing 06:21:08 a2216a1527b7: Layer already exists 06:21:08 ccaaac72e2b4: Layer already exists 06:21:08 379067d0cb53: Layer already exists 06:21:08 aa35c539e823: Layer already exists 06:21:08 master: digest: sha256:400f488755c5963350dbdac59a36a5259576549d54b6bea3a8a6b234723bef9d size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:21:08 ===================================================== [Pipeline] echo 06:21:08 taggedImages: 06:21:08 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:cdd6c33d41f01dc10b68606080ac8b6263924bf1 06:21:08 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest 06:21:08 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.1-dev.3 06:21:08 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:cdd6c33d41f01dc10b68606080ac8b6263924bf1-1.3.1-dev.3 06:21:08 - 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] } 06:24:47 Running on prd-centos7-docker-4c-2g-19419 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 06:24:47 Running in /w/workspace/device-mqtt-go/28 [Pipeline] { [Pipeline] checkout 06:24:50 using credential edgex-jenkins-ssh 06:24:50 Cloning the remote Git repository 06:24:50 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 06:24:50 > git init /w/workspace/device-mqtt-go/28 # timeout=10 06:24:50 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:24:50 > git --version # timeout=10 06:24:50 > git --version # 'git version 2.24.3' 06:24:50 using GIT_SSH to set credentials SSH Credentials for GitHub 06:24:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:24:50 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:24:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:24:51 Checking out Revision cdd6c33d41f01dc10b68606080ac8b6263924bf1 (master) 06:24:50 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:24:50 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:24:50 using GIT_SSH to set credentials SSH Credentials for GitHub 06:24:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 06:24:51 > git config core.sparsecheckout # timeout=10 06:24:51 > git checkout -f cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 06:24:55 Commit message: "Merge pull request #202 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.4.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:24:56 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:24:57 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:24:57 + sudo service docker restart 06:24:57 + true 06:24:57 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:24:58 provisioning config files... 06:24:58 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/28@tmp/config8001046349658369833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:24:59 ---> docker-login.sh 06:24:59 nexus3.edgexfoundry.org:10001 06:24:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:24:59 Configure a credential helper to remove this warning. See 06:24:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:24:59 06:24:59 Login Succeeded 06:24:59 nexus3.edgexfoundry.org:10002 06:24:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:00 Configure a credential helper to remove this warning. See 06:25:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:00 06:25:00 Login Succeeded 06:25:00 nexus3.edgexfoundry.org:10003 06:25:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:00 Configure a credential helper to remove this warning. See 06:25:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:00 06:25:00 Login Succeeded 06:25:00 nexus3.edgexfoundry.org:10004 06:25:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:00 Configure a credential helper to remove this warning. See 06:25:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:00 06:25:00 Login Succeeded 06:25:00 docker.io 06:25:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:00 Configure a credential helper to remove this warning. See 06:25:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:00 06:25:00 Login Succeeded 06:25:00 ---> docker-login.sh ends [Pipeline] } 06:25:00 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:25:01 ========================================================= 06:25:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:25:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:25:01 + 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 . 06:25:01 Sending build context to Docker daemon 487.4kB 06:25:01 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:25:01 Step 2/8 : FROM ${BASE} 06:25:02 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:25:02 188c0c94c7c5: Pulling fs layer 06:25:02 0ef7d3d256c8: Pulling fs layer 06:25:02 de9db76c5a1d: Pulling fs layer 06:25:02 bca2f99d35d6: Pulling fs layer 06:25:02 93359f2a8cfa: Pulling fs layer 06:25:02 7c6f9722023f: Pulling fs layer 06:25:02 a35cf1a2eb13: Pulling fs layer 06:25:02 93359f2a8cfa: Waiting 06:25:02 7c6f9722023f: Waiting 06:25:02 a35cf1a2eb13: Waiting 06:25:02 bca2f99d35d6: Waiting 06:25:02 de9db76c5a1d: Verifying Checksum 06:25:02 de9db76c5a1d: Download complete 06:25:02 0ef7d3d256c8: Verifying Checksum 06:25:02 0ef7d3d256c8: Download complete 06:25:02 93359f2a8cfa: Download complete 06:25:02 7c6f9722023f: Verifying Checksum 06:25:02 7c6f9722023f: Download complete 06:25:02 188c0c94c7c5: Verifying Checksum 06:25:02 188c0c94c7c5: Download complete 06:25:03 188c0c94c7c5: Pull complete 06:25:03 0ef7d3d256c8: Pull complete 06:25:03 de9db76c5a1d: Pull complete 06:25:06 a35cf1a2eb13: Verifying Checksum 06:25:06 a35cf1a2eb13: Download complete 06:25:07 bca2f99d35d6: Verifying Checksum 06:25:07 bca2f99d35d6: Download complete 06:25:12 bca2f99d35d6: Pull complete 06:25:12 93359f2a8cfa: Pull complete 06:25:12 7c6f9722023f: Pull complete 06:25:21 a35cf1a2eb13: Pull complete 06:25:21 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:25:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:25:21 ---> a62c8e92a672 06:25:21 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:25:21 ---> Running in cb7fc34100e9 06:25:21 Removing intermediate container cb7fc34100e9 06:25:21 ---> cfe230b5b452 06:25:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:25:21 ---> Running in 545bd2c0abd3 06:25:22 Removing intermediate container 545bd2c0abd3 06:25:22 ---> 99be84c2a593 06:25:22 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:25:22 ---> Running in 89fc51d02e34 06:25:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:25:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:25:24 (1/14) Installing libmagic (5.38-r0) 06:25:24 (2/14) Installing file (5.38-r0) 06:25:24 (3/14) Installing libc-dev (0.7.2-r3) 06:25:24 (4/14) Installing g++ (9.3.0-r2) 06:26:11 (5/14) Installing fortify-headers (1.1-r0) 06:26:11 (6/14) Installing patch (2.7.6-r6) 06:26:11 (7/14) Installing build-base (0.5-r2) 06:26:11 (8/14) Installing openssh-keygen (8.3_p1-r1) 06:26:11 (9/14) Installing libedit (20191231.3.1-r0) 06:26:11 (10/14) Installing openssh-client (8.3_p1-r1) 06:26:11 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 06:26:11 (12/14) Installing openssh-server-common (8.3_p1-r1) 06:26:11 (13/14) Installing openssh-server (8.3_p1-r1) 06:26:11 (14/14) Installing openssh (8.3_p1-r1) 06:26:11 Executing busybox-1.31.1-r19.trigger 06:26:11 OK: 237 MiB in 53 packages 06:26:14 Removing intermediate container 89fc51d02e34 06:26:14 ---> a9655556e1f4 06:26:14 Step 6/8 : WORKDIR /device-mqtt-go 06:26:14 ---> Running in 12532c51b90d 06:26:14 Removing intermediate container 12532c51b90d 06:26:14 ---> a20fd622cc5e 06:26:14 Step 7/8 : COPY . . 06:26:15 ---> fd29fecdf63a 06:26:15 Step 8/8 : RUN go mod download 06:26:15 ---> Running in 527549206f7a 06:26:37 Removing intermediate container 527549206f7a 06:26:37 ---> 0cf900cb2af8 06:26:37 Successfully built 0cf900cb2af8 06:26:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:26:37 + docker inspect -f . ci-base-image-x86_64 06:26:37 . [Pipeline] withDockerContainer 06:26:37 prd-centos7-docker-4c-2g-19419 does not seem to be running inside a container 06:26:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/28 -v /w/workspace/device-mqtt-go/28:/w/workspace/device-mqtt-go/28:rw,z -v /w/workspace/device-mqtt-go/28@tmp:/w/workspace/device-mqtt-go/28@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 ******** ci-base-image-x86_64 cat 06:26:38 $ docker top c3af334b8b9ff1fb125fa411e5235b311fabc4badb25027f2fdf17832a2b677c -eo pid,comm [Pipeline] { [Pipeline] sh 06:26:39 + go version 06:26:39 go version go1.15.5 linux/amd64 [Pipeline] } 06:26:39 $ docker stop --time=1 c3af334b8b9ff1fb125fa411e5235b311fabc4badb25027f2fdf17832a2b677c 06:26:40 $ docker rm -f c3af334b8b9ff1fb125fa411e5235b311fabc4badb25027f2fdf17832a2b677c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:26:41 + docker inspect -f . ci-base-image-x86_64 06:26:41 . [Pipeline] withDockerContainer 06:26:41 prd-centos7-docker-4c-2g-19419 does not seem to be running inside a container 06:26:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/28 -v /w/workspace/device-mqtt-go/28:/w/workspace/device-mqtt-go/28:rw,z -v /w/workspace/device-mqtt-go/28@tmp:/w/workspace/device-mqtt-go/28@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 ******** ci-base-image-x86_64 cat 06:26:42 $ docker top e177b9118260090687e05272d8c73de60899c7733c299c2201f15dcc16893c68 -eo pid,comm [Pipeline] { [Pipeline] sh 06:26:42 + make test 06:26:42 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:26:43 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:26:56 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 06:26:56 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 28.3% of statements 06:26:56 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 06:26:56 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:26:58 gofmt -l . 06:26:58 ["`gofmt -l .`" = ""] 06:26:58 ./bin/test-attribution-txt.sh 06:26:59 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:26:59 $ docker stop --time=1 e177b9118260090687e05272d8c73de60899c7733c299c2201f15dcc16893c68 06:27:01 $ docker rm -f e177b9118260090687e05272d8c73de60899c7733c299c2201f15dcc16893c68 [Pipeline] // withDockerContainer [Pipeline] sh 06:27:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:27:02 Warning: overwriting stash ‘coverage-report’ 06:27:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:27:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:27:03 + ls -al . 06:27:03 total 100 06:27:03 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 11 06:26 . 06:27:03 drwxrwxr-x. 4 jenkins jenkins 30 Jan 11 06:24 .. 06:27:03 -rw-rw-r--. 1 jenkins jenkins 5932 Jan 11 06:24 Attribution.txt 06:27:03 drwxrwxr-x. 2 jenkins jenkins 87 Jan 11 06:24 bin 06:27:03 drwxrwxr-x. 3 jenkins jenkins 32 Jan 11 06:24 cmd 06:27:03 -rw-r--r--. 1 jenkins jenkins 18940 Jan 11 06:26 coverage.out 06:27:03 -rw-rw-r--. 1 jenkins jenkins 1802 Jan 11 06:24 Dockerfile 06:27:03 -rw-rw-r--. 1 jenkins jenkins 957 Jan 11 06:24 Dockerfile.build 06:27:03 -rw-rw-r--. 1 jenkins jenkins 140 Jan 11 06:24 .dockerignore 06:27:03 drwxrwxr-x. 8 jenkins jenkins 162 Jan 11 06:24 .git 06:27:03 drwxrwxr-x. 2 jenkins jenkins 60 Jan 11 06:24 .github 06:27:03 -rw-rw-r--. 1 jenkins jenkins 336 Jan 11 06:24 .gitignore 06:27:03 -rw-r--r--. 1 jenkins jenkins 504 Jan 11 06:26 go.mod 06:27:03 -rw-r--r--. 1 jenkins jenkins 14988 Jan 11 06:26 go.sum 06:27:03 drwxrwxr-x. 3 jenkins jenkins 20 Jan 11 06:24 internal 06:27:03 -rw-rw-r--. 1 jenkins jenkins 677 Jan 11 06:24 Jenkinsfile 06:27:03 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 11 06:24 LICENSE 06:27:03 -rw-rw-r--. 1 jenkins jenkins 902 Jan 11 06:24 Makefile 06:27:03 drwxrwxr-x. 2 jenkins jenkins 23 Jan 11 06:24 mock 06:27:03 -rw-rw-r--. 1 jenkins jenkins 444 Jan 11 06:24 README.md 06:27:03 drwxrwxr-x. 4 jenkins jenkins 71 Jan 11 06:24 snap 06:27:03 -rw-rw-r--. 1 jenkins jenkins 11 Jan 11 06:16 VERSION 06:27:03 -rw-rw-r--. 1 jenkins jenkins 227 Jan 11 06:24 version.go [Pipeline] isUnix [Pipeline] sh 06:27:03 + 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=cdd6c33d41f01dc10b68606080ac8b6263924bf1 --label arch=amd64 --label version=1.3.1-dev.3 . 06:27:03 Sending build context to Docker daemon 506.9kB 06:27:03 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 06:27:03 Step 2/22 : FROM ${BASE} AS builder 06:27:03 ---> 0cf900cb2af8 06:27:03 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 06:27:03 ---> Running in 3e47369f450d 06:27:03 Removing intermediate container 3e47369f450d 06:27:03 ---> e6c3af66f051 06:27:03 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 06:27:04 ---> Running in e7e740b6f185 06:27:04 Removing intermediate container e7e740b6f185 06:27:04 ---> 7ab02dbe4831 06:27:04 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:27:04 ---> Running in 4b4ba90bad47 06:27:05 Removing intermediate container 4b4ba90bad47 06:27:05 ---> 2fc17d1e76fd 06:27:05 Step 6/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:27:05 ---> Running in 1bde1755cf8a 06:27:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:27:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:27:09 OK: 237 MiB in 53 packages 06:27:09 Removing intermediate container 1bde1755cf8a 06:27:09 ---> f45ac1b052f5 06:27:09 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 06:27:10 ---> Running in ed87f253232d 06:27:10 Removing intermediate container ed87f253232d 06:27:10 ---> 76936a50f739 06:27:10 Step 8/22 : COPY . . 06:27:11 ---> 32670356dd0b 06:27:11 Step 9/22 : ARG MAKE='make build' 06:27:11 ---> Running in 7a6ddc6da196 06:27:11 Removing intermediate container 7a6ddc6da196 06:27:11 ---> 580a825e9c54 06:27:11 Step 10/22 : RUN $MAKE 06:27:11 ---> Running in 79aa0e0d96d9 06:27:11 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.1-dev.3" -o cmd/device-mqtt ./cmd 06:27:21 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:27:24 Removing intermediate container 79aa0e0d96d9 06:27:24 ---> 6d0eefd5e097 06:27:24 Step 11/22 : FROM alpine:3.12 06:27:25 3.12: Pulling from library/alpine 06:27:25 801bfaa63ef2: Pulling fs layer 06:27:25 801bfaa63ef2: Verifying Checksum 06:27:25 801bfaa63ef2: Download complete 06:27:26 801bfaa63ef2: Pull complete 06:27:26 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 06:27:26 Status: Downloaded newer image for alpine:3.12 06:27:26 ---> 389fef711851 06:27:26 Step 12/22 : ENV APP_PORT=49982 06:27:26 ---> Running in 23ccde7ef160 06:27:26 Removing intermediate container 23ccde7ef160 06:27:26 ---> d76b86e1ad3c 06:27:26 Step 13/22 : EXPOSE $APP_PORT 06:27:26 ---> Running in a414f4c5a191 06:27:26 Removing intermediate container a414f4c5a191 06:27:26 ---> 5ad633427329 06:27:26 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 06:27:27 ---> 6611c3f241f8 06:27:27 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 06:27:27 ---> 105a08f1905c 06:27:27 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 06:27:27 ---> 0bae7dac349e 06:27:27 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 06:27:27 ---> Running in 7edff9d864f3 06:27:28 Removing intermediate container 7edff9d864f3 06:27:28 ---> 3c183770c4f4 06:27:28 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 06:27:28 ---> Running in ad321ad2a209 06:27:28 Removing intermediate container ad321ad2a209 06:27:28 ---> f50c1adb0041 06:27:28 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:27:28 ---> Running in 06337eaf0738 06:27:28 Removing intermediate container 06337eaf0738 06:27:28 ---> 5aaf8a1d0ac3 06:27:28 Step 20/22 : LABEL arch=amd64 06:27:28 ---> Running in 2ce61d6d6185 06:27:28 Removing intermediate container 2ce61d6d6185 06:27:28 ---> 3ab95eb2d0ff 06:27:28 Step 21/22 : LABEL git_sha=cdd6c33d41f01dc10b68606080ac8b6263924bf1 06:27:28 ---> Running in 3e3f0149ff7d 06:27:28 Removing intermediate container 3e3f0149ff7d 06:27:28 ---> b2bfc79ab370 06:27:28 Step 22/22 : LABEL version=1.3.1-dev.3 06:27:28 ---> Running in a6c79f3bde66 06:27:29 Removing intermediate container a6c79f3bde66 06:27:29 ---> ad91f5c7fecb 06:27:29 [Warning] One or more build-args [ARCH] were not consumed 06:27:29 Successfully built ad91f5c7fecb 06:27:29 Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:27:29 provisioning config files... 06:27:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/28@tmp/config2149887928553781850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:27:29 ---> docker-login.sh 06:27:29 nexus3.edgexfoundry.org:10001 06:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:30 Configure a credential helper to remove this warning. See 06:27:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:30 06:27:30 Login Succeeded 06:27:30 nexus3.edgexfoundry.org:10002 06:27:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:30 Configure a credential helper to remove this warning. See 06:27:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:30 06:27:30 Login Succeeded 06:27:30 nexus3.edgexfoundry.org:10003 06:27:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:30 Configure a credential helper to remove this warning. See 06:27:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:30 06:27:30 Login Succeeded 06:27:30 nexus3.edgexfoundry.org:10004 06:27:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:30 Configure a credential helper to remove this warning. See 06:27:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:30 06:27:30 Login Succeeded 06:27:30 docker.io 06:27:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:30 Configure a credential helper to remove this warning. See 06:27:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:30 06:27:30 Login Succeeded 06:27:30 ---> docker-login.sh ends [Pipeline] } 06:27:30 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:27:31 [edgeXDocker.push] Tagging docker image docker-device-mqtt-go with the following tags: 06:27:31 cdd6c33d41f01dc10b68606080ac8b6263924bf1 06:27:31 latest 06:27:31 1.3.1-dev.3 06:27:31 cdd6c33d41f01dc10b68606080ac8b6263924bf1-1.3.1-dev.3 06:27:31 master 06:27:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:27:31 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:cdd6c33d41f01dc10b68606080ac8b6263924bf1 [Pipeline] isUnix [Pipeline] sh 06:27:31 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:cdd6c33d41f01dc10b68606080ac8b6263924bf1 06:27:31 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 06:27:31 53114ac7c14d: Preparing 06:27:31 0e0beee5ee24: Preparing 06:27:31 9f72b50e064f: Preparing 06:27:31 777b2c648970: Preparing 06:27:31 777b2c648970: Layer already exists 06:27:31 53114ac7c14d: Pushed 06:27:32 0e0beee5ee24: Pushed 06:27:33 9f72b50e064f: Pushed 06:27:33 cdd6c33d41f01dc10b68606080ac8b6263924bf1: digest: sha256:f3db4284e50fc86df5bf969b23648eb7dde3d77171b5ee3335050e5565139d77 size: 1155 [Pipeline] isUnix [Pipeline] sh 06:27:34 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [Pipeline] isUnix [Pipeline] sh 06:27:34 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest 06:27:34 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 06:27:34 53114ac7c14d: Preparing 06:27:34 0e0beee5ee24: Preparing 06:27:34 9f72b50e064f: Preparing 06:27:34 777b2c648970: Preparing 06:27:34 777b2c648970: Layer already exists 06:27:34 9f72b50e064f: Layer already exists 06:27:34 0e0beee5ee24: Layer already exists 06:27:34 53114ac7c14d: Layer already exists 06:27:34 latest: digest: sha256:f3db4284e50fc86df5bf969b23648eb7dde3d77171b5ee3335050e5565139d77 size: 1155 [Pipeline] isUnix [Pipeline] sh 06:27:34 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.1-dev.3 [Pipeline] isUnix [Pipeline] sh 06:27:35 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.1-dev.3 06:27:35 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 06:27:35 53114ac7c14d: Preparing 06:27:35 0e0beee5ee24: Preparing 06:27:35 9f72b50e064f: Preparing 06:27:35 777b2c648970: Preparing 06:27:35 9f72b50e064f: Layer already exists 06:27:35 0e0beee5ee24: Layer already exists 06:27:35 53114ac7c14d: Layer already exists 06:27:35 777b2c648970: Layer already exists 06:27:35 1.3.1-dev.3: digest: sha256:f3db4284e50fc86df5bf969b23648eb7dde3d77171b5ee3335050e5565139d77 size: 1155 [Pipeline] isUnix [Pipeline] sh 06:27:35 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:cdd6c33d41f01dc10b68606080ac8b6263924bf1-1.3.1-dev.3 [Pipeline] isUnix [Pipeline] sh 06:27:35 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:cdd6c33d41f01dc10b68606080ac8b6263924bf1-1.3.1-dev.3 06:27:35 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 06:27:35 53114ac7c14d: Preparing 06:27:35 0e0beee5ee24: Preparing 06:27:35 9f72b50e064f: Preparing 06:27:35 777b2c648970: Preparing 06:27:35 9f72b50e064f: Layer already exists 06:27:35 777b2c648970: Layer already exists 06:27:35 53114ac7c14d: Layer already exists 06:27:35 0e0beee5ee24: Layer already exists 06:27:35 cdd6c33d41f01dc10b68606080ac8b6263924bf1-1.3.1-dev.3: digest: sha256:f3db4284e50fc86df5bf969b23648eb7dde3d77171b5ee3335050e5565139d77 size: 1155 [Pipeline] isUnix [Pipeline] sh 06:27:35 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] isUnix [Pipeline] sh 06:27:36 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master 06:27:36 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 06:27:36 53114ac7c14d: Preparing 06:27:36 0e0beee5ee24: Preparing 06:27:36 9f72b50e064f: Preparing 06:27:36 777b2c648970: Preparing 06:27:36 53114ac7c14d: Layer already exists 06:27:36 0e0beee5ee24: Layer already exists 06:27:36 9f72b50e064f: Layer already exists 06:27:36 777b2c648970: Layer already exists 06:27:36 master: digest: sha256:f3db4284e50fc86df5bf969b23648eb7dde3d77171b5ee3335050e5565139d77 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:27:36 ===================================================== [Pipeline] echo 06:27:36 taggedImages: 06:27:36 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:cdd6c33d41f01dc10b68606080ac8b6263924bf1 06:27:36 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest 06:27:36 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.1-dev.3 06:27:36 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:cdd6c33d41f01dc10b68606080ac8b6263924bf1-1.3.1-dev.3 06:27:36 - 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:27:38 provisioning config files... 06:27:38 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2742187519824153146tmp [Pipeline] { [Pipeline] sh 06:27:38 + set +x 06:27:38 + curl -s https://codecov.io/bash 06:27:38 + bash -s -- 06:27:38 06:27:38 _____ _ 06:27:38 / ____| | | 06:27:38 | | ___ __| | ___ ___ _____ __ 06:27:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:27:38 | |___| (_) | (_| | __/ (_| (_) \ V / 06:27:38 \_____\___/ \__,_|\___|\___\___/ \_/ 06:27:38 Bash-20201231-23d4836 06:27:38 06:27:38 06:27:38 ==> git version 2.24.3 found 06:27:38 ==> 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 06:27:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:27:38 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:27:38 ==> Jenkins CI detected. 06:27:38 project root: . 06:27:38 --> token set from env 06:27:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:27:38 ==> Running gcov in . (disable via -X gcov) 06:27:38 ==> Python coveragepy not found 06:27:38 ==> Searching for coverage reports in: 06:27:38 + . 06:27:38 -> Found 1 reports 06:27:38 ==> Detecting git/mercurial file structure 06:27:38 ==> Reading reports 06:27:38 + ./coverage.out bytes=18940 06:27:38 ==> Appending adjustments 06:27:38 https://docs.codecov.io/docs/fixing-reports 06:27:39 + Found adjustments 06:27:39 ==> Gzipping contents 06:27:39 4.0K /tmp/codecov.r32Eza.gz 06:27:39 ==> Uploading reports 06:27:39 url: https://codecov.io 06:27:39 query: branch=master&commit=cdd6c33d41f01dc10b68606080ac8b6263924bf1&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:27:39 -> Pinging Codecov 06:27:39 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=master&commit=cdd6c33d41f01dc10b68606080ac8b6263924bf1&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:27:39 -> Uploading to 06:27:39 https://storage.googleapis.com/codecov/v4/raw/2021-01-11/7D719EC7BBE17E464838252E33014C33/cdd6c33d41f01dc10b68606080ac8b6263924bf1/14de6e4e-e4ab-4aa9-870b-780b3ee6ea23.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210111T062739Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9ed77adae0fa1176afa31661dc327bbfd5d3bbe83f5c71540dd7890ea62d21c6 06:27:39 % Total % Received % Xferd Average Speed Time Time Time Current 06:27:39 Dload Upload Total Spent Left Speed 06:27:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3307 0 0 100 3307 0 6786 --:--:-- --:--:-- --:--:-- 6776 06:27:39 -> View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/cdd6c33d41f01dc10b68606080ac8b6263924bf1 [Pipeline] } 06:27:39 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:27:40 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:27:40 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:27:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:27:41 06:27:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 06:27:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:27:41 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:27:41 188c0c94c7c5: Pulling fs layer 06:27:41 0ef7d3d256c8: Pulling fs layer 06:27:41 de9db76c5a1d: Pulling fs layer 06:27:41 0eba1c9be4d2: Pulling fs layer 06:27:41 0d57e429df01: Pulling fs layer 06:27:41 4e4be7b47b0d: Pulling fs layer 06:27:41 e1f770b5df2f: Pulling fs layer 06:27:41 85a0685a4137: Pulling fs layer 06:27:41 0eba1c9be4d2: Waiting 06:27:41 0d57e429df01: Waiting 06:27:41 4e4be7b47b0d: Waiting 06:27:41 e1f770b5df2f: Waiting 06:27:41 85a0685a4137: Waiting 06:27:41 de9db76c5a1d: Verifying Checksum 06:27:41 de9db76c5a1d: Download complete 06:27:41 0ef7d3d256c8: Verifying Checksum 06:27:41 0ef7d3d256c8: Download complete 06:27:41 0d57e429df01: Verifying Checksum 06:27:41 0d57e429df01: Download complete 06:27:41 4e4be7b47b0d: Download complete 06:27:41 188c0c94c7c5: Verifying Checksum 06:27:41 188c0c94c7c5: Download complete 06:27:42 188c0c94c7c5: Pull complete 06:27:42 0ef7d3d256c8: Pull complete 06:27:42 de9db76c5a1d: Pull complete 06:27:44 e1f770b5df2f: Download complete 06:27:50 0eba1c9be4d2: Verifying Checksum 06:27:50 0eba1c9be4d2: Download complete 06:27:50 85a0685a4137: Verifying Checksum 06:27:50 85a0685a4137: Download complete 06:27:56 0eba1c9be4d2: Pull complete 06:27:56 0d57e429df01: Pull complete 06:27:56 4e4be7b47b0d: Pull complete 06:27:58 e1f770b5df2f: Pull complete 06:28:07 85a0685a4137: Pull complete 06:28:07 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 06:28:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:28:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 06:28:07 prd-centos7-docker-4c-2g-19414 does not seem to be running inside a container 06:28:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:28:08 $ docker top 8658cd0518c209d8ef3ccd715f9f200da734438149a64efd6eb858c2ae62a681 -eo pid,comm [Pipeline] { [Pipeline] echo 06:28:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 06:28:09 + set -o pipefail 06:28:09 + snyk monitor '--org=edgex-jenkins' 06:28:47 06:28:47 Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... 06:28:47 06:28:47 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/24b8e430-68b0-49c9-a1c9-d8d2d7b07e73 06:28:47 06:28:47 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:28:47 06:28:47 [Pipeline] } 06:28:47 $ docker stop --time=1 8658cd0518c209d8ef3ccd715f9f200da734438149a64efd6eb858c2ae62a681 06:28:50 $ docker rm -f 8658cd0518c209d8ef3ccd715f9f200da734438149a64efd6eb858c2ae62a681 [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 06:28:52 + git log --format=format:%s -1 cdd6c33d41f01dc10b68606080ac8b6263924bf1 [Pipeline] isUnix [Pipeline] sh 06:28:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:28:53 . [Pipeline] withDockerContainer 06:28:53 prd-centos7-docker-4c-2g-19414 does not seem to be running inside a container 06:28:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:28:54 $ docker top 1aae4cfed8fcea428b0424aabe1736914d263ff746fccbbc1d104b1b254b149e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:28:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:28:54 [ssh-agent] Looking for ssh-agent implementation... 06:28:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:28:54 $ docker exec 1aae4cfed8fcea428b0424aabe1736914d263ff746fccbbc1d104b1b254b149e ssh-agent 06:28:55 SSH_AUTH_SOCK=/tmp/ssh-LjSBEKXhK6KA/agent.11 06:28:55 SSH_AGENT_PID=16 06:28:55 Running ssh-add (command line suppressed) 06:28:55 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_1950691577224711084.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_1950691577224711084.key) 06:28:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:28:55 + git semver tag 06:28:55 # -> Open(): unable to determine branch for HEAD 06:28:55 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 06:28:55 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 06:28:55 # $SEMVER_REMOTE_NAME = origin 06:28:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:28:55 # $SEMVER_USER_NAME = edgex-jenkins 06:28:55 # $SEMVER_BRANCH = master 06:28:55 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 06:28:55 # cdd6c33d41f01dc10b68606080ac8b6263924bf1 HEAD 06:28:55 # -> Force: false 06:28:55 # c4fe78a65cc760b3cf3d50c97720bd82d4a713f1 refs/tags/v1.3.1-dev.3 [Pipeline] } 06:28:55 $ docker exec --env ******** --env ******** 1aae4cfed8fcea428b0424aabe1736914d263ff746fccbbc1d104b1b254b149e ssh-agent -k 06:28:55 unset SSH_AUTH_SOCK; 06:28:55 unset SSH_AGENT_PID; 06:28:55 echo Agent pid 16 killed; 06:28:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:28:56 + git semver [Pipeline] } 06:28:56 $ docker stop --time=1 1aae4cfed8fcea428b0424aabe1736914d263ff746fccbbc1d104b1b254b149e 06:28:57 $ docker rm -f 1aae4cfed8fcea428b0424aabe1736914d263ff746fccbbc1d104b1b254b149e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 06:28:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:28:58 06:28:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 06:28:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:28:58 0.23.1-centos7: Pulling from edgex-lftools 06:28:58 ab5ef0e58194: Pulling fs layer 06:28:58 9712f1f96733: Pulling fs layer 06:28:58 63f879dbbcfc: Pulling fs layer 06:28:58 0d9ebad4ef96: Pulling fs layer 06:28:58 e9a5061849ea: Pulling fs layer 06:28:58 d747dcd14b5f: Pulling fs layer 06:28:58 2de7ff778b66: Pulling fs layer 06:28:58 0d9ebad4ef96: Waiting 06:28:58 e9a5061849ea: Waiting 06:28:58 d747dcd14b5f: Waiting 06:28:58 2de7ff778b66: Waiting 06:28:58 9712f1f96733: Verifying Checksum 06:28:58 9712f1f96733: Download complete 06:29:02 63f879dbbcfc: Verifying Checksum 06:29:02 63f879dbbcfc: Download complete 06:29:02 e9a5061849ea: Verifying Checksum 06:29:02 e9a5061849ea: Download complete 06:29:02 d747dcd14b5f: Verifying Checksum 06:29:02 d747dcd14b5f: Download complete 06:29:02 2de7ff778b66: Verifying Checksum 06:29:02 2de7ff778b66: Download complete 06:29:03 0d9ebad4ef96: Verifying Checksum 06:29:03 0d9ebad4ef96: Download complete 06:29:03 ab5ef0e58194: Verifying Checksum 06:29:03 ab5ef0e58194: Download complete 06:29:07 ab5ef0e58194: Pull complete 06:29:07 9712f1f96733: Pull complete 06:29:09 63f879dbbcfc: Pull complete 06:29:16 0d9ebad4ef96: Pull complete 06:29:17 e9a5061849ea: Pull complete 06:29:17 d747dcd14b5f: Pull complete 06:29:19 2de7ff778b66: Pull complete 06:29:19 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:29:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:29:19 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 06:29:20 prd-centos7-docker-4c-2g-19414 does not seem to be running inside a container 06:29:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:29:24 $ docker top ad9950cb09dc0fd80457421a3de91e281edd83709f804f63feb175d6df89648e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:29:24 provisioning config files... 06:29:24 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config34582546967911855tmp 06:29:24 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2033774890893067885tmp 06:29:24 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config6604967619943067878tmp [Pipeline] { [Pipeline] echo 06:29:24 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:29:24 ---> sigul-configuration.sh 06:29:24 gpg: directory `/root/.gnupg' created 06:29:24 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:29:24 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:29:24 gpg: keyring `/root/.gnupg/secring.gpg' created 06:29:24 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:29:24 gpg: CAST5 encrypted data 06:29:25 gpg: encrypted with 1 passphrase 06:29:25 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:29:25 + mkdir /home/jenkins 06:29:25 + mkdir /home/jenkins/sigul [Pipeline] sh 06:29:25 + 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 06:29:25 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:29:25 ---> sigul-install.sh 06:29:32 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 06:29:32 + git tag --list 06:29:32 0.7.1 06:29:32 v1.0.0 06:29:32 v1.1.0 06:29:32 v1.1.1 06:29:32 v1.2.1 06:29:32 v1.2.2 06:29:32 v1.2.2-dev.1 06:29:32 v1.2.2-dev.2 06:29:32 v1.2.3-dev.1 06:29:32 v1.2.3-dev.10 06:29:32 v1.2.3-dev.2 06:29:32 v1.2.3-dev.3 06:29:32 v1.2.3-dev.4 06:29:32 v1.2.3-dev.5 06:29:32 v1.2.3-dev.6 06:29:32 v1.2.3-dev.7 06:29:32 v1.2.3-dev.8 06:29:32 v1.2.3-dev.9 06:29:32 v1.3.0 06:29:32 v1.3.1-dev.1 06:29:32 v1.3.1-dev.2 06:29:32 v1.3.1-dev.3 [Pipeline] sh 06:29:33 + lftools sign git-tag v1.3.1-dev.3 06:29:34 Signing Git tag with Sigul... 06:29:34 Signing v1.3.1-dev.3 [Pipeline] echo 06:29:36 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:29:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:29:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:29:36 $ docker stop --time=1 ad9950cb09dc0fd80457421a3de91e281edd83709f804f63feb175d6df89648e 06:29:38 $ docker rm -f ad9950cb09dc0fd80457421a3de91e281edd83709f804f63feb175d6df89648e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 06:29:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:29:39 . [Pipeline] withDockerContainer 06:29:39 prd-centos7-docker-4c-2g-19414 does not seem to be running inside a container 06:29:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:29:40 $ docker top d325e2f6936936e754c779ea7390524538756a447e6138d7fb7597c71fad7ae0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:29:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:29:40 [ssh-agent] Looking for ssh-agent implementation... 06:29:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:29:41 $ docker exec d325e2f6936936e754c779ea7390524538756a447e6138d7fb7597c71fad7ae0 ssh-agent 06:29:41 SSH_AUTH_SOCK=/tmp/ssh-18OtpFLASrjU/agent.11 06:29:41 SSH_AGENT_PID=17 06:29:41 Running ssh-add (command line suppressed) 06:29:41 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7136757520902349561.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7136757520902349561.key) 06:29:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:29:41 + git semver bump pre 06:29:41 # -> Open(): unable to determine branch for HEAD 06:29:41 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 06:29:41 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 06:29:41 # $SEMVER_REMOTE_NAME = origin 06:29:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:29:41 # $SEMVER_USER_NAME = edgex-jenkins 06:29:41 # $SEMVER_BRANCH = master 06:29:41 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver 06:29:41 1.3.1-dev.4 [Pipeline] } 06:29:41 $ docker exec --env ******** --env ******** d325e2f6936936e754c779ea7390524538756a447e6138d7fb7597c71fad7ae0 ssh-agent -k 06:29:42 unset SSH_AUTH_SOCK; 06:29:42 unset SSH_AGENT_PID; 06:29:42 echo Agent pid 17 killed; 06:29:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:29:42 + git semver [Pipeline] } 06:29:42 $ docker stop --time=1 d325e2f6936936e754c779ea7390524538756a447e6138d7fb7597c71fad7ae0 06:29:44 $ docker rm -f d325e2f6936936e754c779ea7390524538756a447e6138d7fb7597c71fad7ae0 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 06:29:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:29:44 . [Pipeline] withDockerContainer 06:29:44 prd-centos7-docker-4c-2g-19414 does not seem to be running inside a container 06:29:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:29:45 $ docker top a2618985f600ace56d14b1705fbe568ffa4f422c9b1fb71916558c41b995400e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:29:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:29:45 [ssh-agent] Looking for ssh-agent implementation... 06:29:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:29:46 $ docker exec a2618985f600ace56d14b1705fbe568ffa4f422c9b1fb71916558c41b995400e ssh-agent 06:29:46 SSH_AUTH_SOCK=/tmp/ssh-MNLpflLHiFVb/agent.11 06:29:46 SSH_AGENT_PID=17 06:29:46 Running ssh-add (command line suppressed) 06:29:46 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6178381254579612583.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6178381254579612583.key) 06:29:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:29:46 + git semver push 06:29:46 # -> Open(): unable to determine branch for HEAD 06:29:46 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 06:29:46 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 06:29:46 # $SEMVER_REMOTE_NAME = origin 06:29:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:29:46 # $SEMVER_USER_NAME = edgex-jenkins 06:29:46 # $SEMVER_BRANCH = master 06:29:46 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 06:29:53 $ docker exec --env ******** --env ******** a2618985f600ace56d14b1705fbe568ffa4f422c9b1fb71916558c41b995400e ssh-agent -k 06:29:53 unset SSH_AUTH_SOCK; 06:29:53 unset SSH_AGENT_PID; 06:29:53 echo Agent pid 17 killed; 06:29:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:29:54 + git semver [Pipeline] } 06:29:54 $ docker stop --time=1 a2618985f600ace56d14b1705fbe568ffa4f422c9b1fb71916558c41b995400e 06:29:55 $ docker rm -f a2618985f600ace56d14b1705fbe568ffa4f422c9b1fb71916558c41b995400e [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 06:29:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:29:57 ---> package-listing.sh 06:29:57 ++ facter osfamily 06:29:57 ++ tr '[:upper:]' '[:lower:]' 06:29:57 + OS_FAMILY=redhat 06:29:57 + workspace=/w/workspace/gexfoundry_device-mqtt-go_master 06:29:57 + START_PACKAGES=/tmp/packages_start.txt 06:29:57 + END_PACKAGES=/tmp/packages_end.txt 06:29:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:29:57 + PACKAGES=/tmp/packages_start.txt 06:29:57 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 06:29:57 + PACKAGES=/tmp/packages_end.txt 06:29:57 + case "${OS_FAMILY}" in 06:29:57 + rpm -qa 06:29:57 + sort 06:30:03 + '[' -f /tmp/packages_start.txt ']' 06:30:03 + '[' -f /tmp/packages_end.txt ']' 06:30:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:30:03 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 06:30:03 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ 06:30:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo 06:30:03 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 06:30:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:30:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:30:03 06:30:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:30:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:30:04 alpine: Pulling from edgex-lftools-log-publisher 06:30:04 df20fa9351a1: Pulling fs layer 06:30:04 36b3adc4ff6f: Pulling fs layer 06:30:04 8ad3a11d3b57: Pulling fs layer 06:30:04 46f8f816bc3b: Pulling fs layer 06:30:04 93b61091891f: Pulling fs layer 06:30:04 93b9cdb0e59b: Pulling fs layer 06:30:04 5e14af77c1be: Pulling fs layer 06:30:04 01666e4c0597: Pulling fs layer 06:30:04 aa168da1d23b: Pulling fs layer 06:30:04 93b9cdb0e59b: Waiting 06:30:04 5e14af77c1be: Waiting 06:30:04 01666e4c0597: Waiting 06:30:04 aa168da1d23b: Waiting 06:30:04 46f8f816bc3b: Waiting 06:30:04 36b3adc4ff6f: Verifying Checksum 06:30:04 36b3adc4ff6f: Download complete 06:30:04 46f8f816bc3b: Verifying Checksum 06:30:04 46f8f816bc3b: Download complete 06:30:04 df20fa9351a1: Download complete 06:30:04 93b9cdb0e59b: Verifying Checksum 06:30:04 93b9cdb0e59b: Download complete 06:30:04 5e14af77c1be: Verifying Checksum 06:30:04 5e14af77c1be: Download complete 06:30:04 01666e4c0597: Verifying Checksum 06:30:04 01666e4c0597: Download complete 06:30:04 93b61091891f: Verifying Checksum 06:30:04 93b61091891f: Download complete 06:30:04 8ad3a11d3b57: Verifying Checksum 06:30:04 8ad3a11d3b57: Download complete 06:30:04 df20fa9351a1: Pull complete 06:30:05 36b3adc4ff6f: Pull complete 06:30:06 8ad3a11d3b57: Pull complete 06:30:07 aa168da1d23b: Verifying Checksum 06:30:07 aa168da1d23b: Download complete 06:30:07 46f8f816bc3b: Pull complete 06:30:07 93b61091891f: Pull complete 06:30:08 93b9cdb0e59b: Pull complete 06:30:08 5e14af77c1be: Pull complete 06:30:08 01666e4c0597: Pull complete 06:30:16 aa168da1d23b: Pull complete 06:30:16 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:30:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:30:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:30:16 prd-centos7-docker-4c-2g-19414 does not seem to be running inside a container 06:30:16 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:30:19 $ docker top 0fd17acccc5c6cc0e0024b84e015adbd5799ea8ce05ced9ff020facbb267b0b9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:30:20 + touch /tmp/pre-build-complete [Pipeline] sh 06:30:20 + mkdir -p /var/log/sa [Pipeline] sh 06:30:20 + ls /var/log/sa-host 06:30:20 + sadf -c /var/log/sa-host/sa11 06:30:20 file_magic: OK 06:30:20 HZ: Using current value: 100 06:30:20 file_header: OK 06:30:20 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 06:30:20 Statistics: 06:30:20 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:30:20 File successfully converted to sysstat format version 12.2.1 06:30:20 + sadf -c /var/log/sa-host/sa23 06:30:20 file_magic: OK 06:30:20 HZ: Using current value: 100 06:30:20 file_header: OK 06:30:20 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 06:30:20 Statistics: 06:30:20 Hnuu...uuuununununu... 06:30:20 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:30:21 provisioning config files... 06:30:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config5740290658174592071tmp [Pipeline] { [Pipeline] echo 06:30:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:30:21 ---> create-netrc.sh [Pipeline] } 06:30:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:30:21 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:30:22 ---> python-tools-install.sh [Pipeline] echo 06:30:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:30:22 ---> sudo-logs.sh 06:30:22 Archiving 'sudo' log.. [Pipeline] echo 06:30:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:30:22 ---> job-cost.sh 06:30:22 lf-activate-venv: SKIPPING 06:30:22 INFO: No Stack... 06:30:23 INFO: Retrieving Pricing Info for: v1-standard-2 06:30:24 INFO: Archiving Costs [Pipeline] echo 06:30:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:30:24 ---> logs-deploy.sh 06:30:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/28 06:30:24 INFO: archiving workspace using pattern(s): 06:30:26 Archives upload complete. 06:30:26 INFO: archiving logs to Nexus 06:30:27 ---> uname -a: 06:30:27 Linux prd-centos7-docker-4c-2g-19414.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:30:27 06:30:27 06:30:27 ---> lscpu: 06:30:27 Architecture: x86_64 06:30:27 CPU op-mode(s): 32-bit, 64-bit 06:30:27 Byte Order: Little Endian 06:30:27 Address sizes: 40 bits physical, 48 bits virtual 06:30:27 CPU(s): 4 06:30:27 On-line CPU(s) list: 0-3 06:30:27 Thread(s) per core: 1 06:30:27 Core(s) per socket: 1 06:30:27 Socket(s): 4 06:30:27 NUMA node(s): 1 06:30:27 Vendor ID: GenuineIntel 06:30:27 CPU family: 6 06:30:27 Model: 44 06:30:27 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:30:27 Stepping: 1 06:30:27 CPU MHz: 2933.442 06:30:27 BogoMIPS: 5866.88 06:30:27 Virtualization: VT-x 06:30:27 Hypervisor vendor: KVM 06:30:27 Virtualization type: full 06:30:27 L1d cache: 128 KiB 06:30:27 L1i cache: 128 KiB 06:30:27 L2 cache: 16 MiB 06:30:27 L3 cache: 64 MiB 06:30:27 NUMA node0 CPU(s): 0-3 06:30:27 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:30:27 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:30:27 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:30:27 Vulnerability Meltdown: Mitigation; PTI 06:30:27 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:30:27 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:30:27 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:30:27 Vulnerability Srbds: Not affected 06:30:27 Vulnerability Tsx async abort: Not affected 06:30:27 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 06:30:27 06:30:27 06:30:27 ---> nproc: 06:30:27 4 06:30:27 06:30:27 06:30:27 ---> df -h: 06:30:27 Filesystem Size Used Available Use% Mounted on 06:30:27 overlay 50.0G 8.2G 41.8G 16% / 06:30:27 tmpfs 64.0M 0 64.0M 0% /dev 06:30:27 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:30:27 shm 64.0M 0 64.0M 0% /dev/shm 06:30:27 /dev/vda1 50.0G 8.2G 41.8G 16% /facter-os 06:30:27 /dev/vda1 50.0G 8.2G 41.8G 16% /etc/resolv.conf 06:30:27 /dev/vda1 50.0G 8.2G 41.8G 16% /etc/hostname 06:30:27 /dev/vda1 50.0G 8.2G 41.8G 16% /etc/hosts 06:30:27 /dev/vda1 50.0G 8.2G 41.8G 16% /run/cloud-init/result.json 06:30:27 /dev/vda1 50.0G 8.2G 41.8G 16% /w/workspace/gexfoundry_device-mqtt-go_master 06:30:27 /dev/vda1 50.0G 8.2G 41.8G 16% /w/workspace/gexfoundry_device-mqtt-go_master@tmp 06:30:27 /dev/vda1 50.0G 8.2G 41.8G 16% /var/log/sa-host 06:30:27 /dev/vda1 50.0G 8.2G 41.8G 16% /var/log/secure 06:30:27 /dev/vda1 50.0G 8.2G 41.8G 16% /var/log/auth.log 06:30:27 06:30:27 06:30:27 ---> free -m: 06:30:27 total used free shared buff/cache available 06:30:27 Mem: 1837 818 141 0 877 954 06:30:27 Swap: 1023 2 1021 06:30:27 06:30:27 06:30:27 ---> ip addr: 06:30:27 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:30:27 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:30:27 inet 127.0.0.1/8 scope host lo 06:30:27 valid_lft forever preferred_lft forever 06:30:27 inet6 ::1/128 scope host 06:30:27 valid_lft forever preferred_lft forever 06:30:27 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:30:27 link/ether fa:16:3e:33:57:2f brd ff:ff:ff:ff:ff:ff 06:30:27 inet 10.30.122.109/23 brd 10.30.123.255 scope global dynamic eth0 06:30:27 valid_lft 85492sec preferred_lft 85492sec 06:30:27 inet6 fe80::f816:3eff:fe33:572f/64 scope link 06:30:27 valid_lft forever preferred_lft forever 06:30:27 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:30:27 link/ether 02:42:5a:6e:69:58 brd ff:ff:ff:ff:ff:ff 06:30:27 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:30:27 valid_lft forever preferred_lft forever 06:30:27 inet6 fe80::42:5aff:fe6e:6958/64 scope link 06:30:27 valid_lft forever preferred_lft forever 06:30:27 06:30:27 06:30:27 ---> sar -b -r -n DEV: 06:30:27 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/11/21 _x86_64_ (4 CPU) 06:30:27 06:30:27 06:15:02 LINUX RESTART (4 CPU) 06:30:27 06:30:27 06:16:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:30:27 06:17:01 29.00 11.04 17.96 0.00 4388.88 2952.72 0.00 06:30:27 06:18:01 0.35 0.00 0.35 0.00 0.00 4.90 0.00 06:30:27 06:19:02 0.32 0.00 0.32 0.00 0.00 3.76 0.00 06:30:27 06:20:01 0.27 0.00 0.27 0.00 0.00 4.62 0.00 06:30:27 06:21:01 0.30 0.00 0.30 0.00 0.00 5.31 0.00 06:30:27 06:22:01 0.37 0.00 0.37 0.00 0.00 5.66 0.00 06:30:27 06:23:01 0.28 0.00 0.28 0.00 0.00 3.60 0.00 06:30:27 06:24:01 0.30 0.00 0.30 0.00 0.00 5.06 0.00 06:30:27 06:25:01 0.28 0.00 0.28 0.00 0.00 4.45 0.00 06:30:27 06:26:01 0.33 0.00 0.33 0.00 0.00 5.43 0.00 06:30:27 06:27:01 0.28 0.00 0.28 0.00 0.00 4.31 0.00 06:30:27 06:28:01 103.28 45.88 57.40 0.00 2677.67 23017.16 0.00 06:30:27 06:29:01 170.92 107.57 63.35 0.00 6423.56 16541.56 0.00 06:30:27 06:30:01 235.09 109.23 125.86 0.00 7246.70 29299.38 0.00 06:30:27 Average: 38.76 19.60 19.17 0.00 1484.32 5147.78 0.00 06:30:27 06:30:27 06:16:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:30:27 06:17:01 152400 0 618396 32.87 2620 1108128 1111504 37.93 445512 1085392 20 06:30:27 06:18:01 155908 0 614880 32.68 2620 1108136 1087428 37.11 456876 1070876 8 06:30:27 06:19:02 156960 0 613824 32.62 2620 1108140 1077184 36.76 457320 1069440 12 06:30:27 06:20:01 156268 0 614516 32.66 2620 1108140 1077148 36.76 464368 1063472 8 06:30:27 06:21:01 156280 0 614496 32.66 2620 1108148 1077232 36.76 463384 1064648 8 06:30:27 06:22:01 156680 0 614092 32.64 2620 1108152 1077148 36.76 463080 1064648 12 06:30:27 06:23:01 156820 0 613948 32.63 2620 1108156 1077148 36.76 463092 1064648 8 06:30:27 06:24:01 156880 0 613884 32.63 2620 1108160 1077148 36.76 463224 1064648 8 06:30:27 06:25:01 155948 0 614808 32.68 2620 1108168 1077256 36.76 463792 1064652 20 06:30:27 06:26:01 155712 0 615040 32.69 2620 1108172 1077280 36.77 463888 1064648 20 06:30:27 06:27:01 155400 0 615352 32.70 2620 1108172 1077304 36.77 464100 1064648 8 06:30:27 06:28:01 64604 0 746392 39.67 2620 1067928 1504812 51.36 538144 1022820 55128 06:30:27 06:29:01 77916 0 704812 37.46 2596 1096220 1277904 43.61 568296 984396 12576 06:30:27 06:30:01 104500 0 783284 41.63 1492 992268 1114052 38.02 601068 837828 120 06:30:27 Average: 140163 0 642695 34.16 2538 1096149 1127896 38.49 484010 1041912 4854 06:30:27 06:30:27 06:16:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:30:27 06:17:01 eth0 77.23 59.33 344.50 30.12 0.00 0.00 0.00 0.00 06:30:27 06:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:17:01 docker0 2.18 1.70 0.43 4.05 0.00 0.00 0.00 0.00 06:30:27 06:18:01 eth0 1.02 0.53 0.54 0.39 0.00 0.00 0.00 0.00 06:30:27 06:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:19:02 eth0 0.42 0.28 0.20 0.02 0.00 0.00 0.00 0.00 06:30:27 06:19:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:19:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:20:01 eth0 0.30 0.08 0.02 0.01 0.00 0.00 0.00 0.00 06:30:27 06:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:21:01 eth0 0.28 0.20 0.14 0.07 0.00 0.00 0.00 0.00 06:30:27 06:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:22:01 eth0 0.05 0.03 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:23:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 06:30:27 06:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:24:01 eth0 0.23 0.08 0.01 0.01 0.00 0.00 0.00 0.00 06:30:27 06:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:25:01 eth0 4.68 0.30 0.67 0.17 0.00 0.00 0.00 0.00 06:30:27 06:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:26:01 eth0 4.05 0.75 0.98 0.47 0.00 0.00 0.00 0.00 06:30:27 06:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:27:01 eth0 1.71 0.43 0.38 0.24 0.00 0.00 0.00 0.00 06:30:27 06:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:28:01 eth0 641.89 585.73 4074.04 45.03 0.00 0.00 0.00 0.00 06:30:27 06:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:29:01 eth0 411.80 370.49 2219.29 79.89 0.00 0.00 0.00 0.00 06:30:27 06:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:29:01 docker0 40.21 43.34 3.37 188.78 0.00 0.00 0.00 0.00 06:30:27 06:30:01 eth0 294.36 237.62 1464.20 75.55 0.00 0.00 0.00 0.00 06:30:27 06:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 06:30:01 docker0 30.05 42.69 1.94 202.60 0.00 0.00 0.00 0.00 06:30:27 Average: eth0 103.06 90.01 580.97 16.61 0.00 0.00 0.00 0.00 06:30:27 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:30:27 Average: docker0 5.18 6.28 0.41 28.30 0.00 0.00 0.00 0.00 06:30:27 06:30:27 06:30:27 ---> sar -P ALL: 06:30:27 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/11/21 _x86_64_ (4 CPU) 06:30:27 06:30:27 06:15:02 LINUX RESTART (4 CPU) 06:30:27 06:30:27 06:16:01 CPU %user %nice %system %iowait %steal %idle 06:30:27 06:17:01 all 2.59 0.00 2.02 0.47 0.02 94.90 06:30:27 06:17:01 0 2.50 0.00 2.68 0.27 0.02 94.53 06:30:27 06:17:01 1 2.30 0.00 1.42 0.25 0.02 96.01 06:30:27 06:17:01 2 2.36 0.00 1.88 0.50 0.02 95.24 06:30:27 06:17:01 3 3.18 0.00 2.11 0.84 0.03 93.83 06:30:27 06:18:01 all 0.19 0.00 0.05 0.00 0.00 99.75 06:30:27 06:18:01 0 0.05 0.00 0.07 0.00 0.00 99.88 06:30:27 06:18:01 1 0.12 0.00 0.08 0.00 0.00 99.80 06:30:27 06:18:01 2 0.05 0.00 0.02 0.00 0.00 99.93 06:30:27 06:18:01 3 0.55 0.00 0.05 0.00 0.00 99.40 06:30:27 06:19:02 all 0.14 0.00 0.04 0.00 0.00 99.82 06:30:27 06:19:02 0 0.03 0.00 0.02 0.00 0.00 99.95 06:30:27 06:19:02 1 0.02 0.00 0.05 0.00 0.00 99.93 06:30:27 06:19:02 2 0.47 0.00 0.03 0.00 0.00 99.50 06:30:27 06:19:02 3 0.05 0.00 0.05 0.00 0.00 99.90 06:30:27 06:20:01 all 0.14 0.00 0.05 0.00 0.00 99.82 06:30:27 06:20:01 0 0.03 0.00 0.03 0.00 0.00 99.93 06:30:27 06:20:01 1 0.05 0.00 0.08 0.00 0.00 99.86 06:30:27 06:20:01 2 0.41 0.00 0.03 0.00 0.00 99.56 06:30:27 06:20:01 3 0.05 0.00 0.03 0.00 0.00 99.92 06:30:27 06:21:01 all 0.22 0.00 0.35 0.00 0.01 99.41 06:30:27 06:21:01 0 0.12 0.00 0.50 0.00 0.02 99.37 06:30:27 06:21:01 1 0.40 0.00 0.20 0.00 0.00 99.40 06:30:27 06:21:01 2 0.13 0.00 0.53 0.00 0.02 99.32 06:30:27 06:21:01 3 0.23 0.00 0.18 0.00 0.02 99.57 06:30:27 06:22:01 all 0.14 0.00 0.03 0.00 0.00 99.83 06:30:27 06:22:01 0 0.03 0.00 0.05 0.00 0.00 99.92 06:30:27 06:22:01 1 0.50 0.00 0.02 0.00 0.00 99.48 06:30:27 06:22:01 2 0.02 0.00 0.02 0.00 0.00 99.97 06:30:27 06:22:01 3 0.02 0.00 0.03 0.00 0.00 99.95 06:30:27 06:23:01 all 0.16 0.00 0.04 0.00 0.00 99.80 06:30:27 06:23:01 0 0.05 0.00 0.05 0.00 0.00 99.90 06:30:27 06:23:01 1 0.52 0.00 0.03 0.00 0.00 99.45 06:30:27 06:23:01 2 0.03 0.00 0.03 0.00 0.00 99.93 06:30:27 06:23:01 3 0.03 0.00 0.03 0.00 0.00 99.93 06:30:27 06:24:01 all 0.15 0.00 0.03 0.00 0.00 99.81 06:30:27 06:24:01 0 0.02 0.00 0.03 0.00 0.00 99.95 06:30:27 06:24:01 1 0.52 0.00 0.02 0.00 0.00 99.47 06:30:27 06:24:01 2 0.03 0.00 0.02 0.00 0.00 99.95 06:30:27 06:24:01 3 0.05 0.00 0.07 0.00 0.00 99.88 06:30:27 06:25:01 all 0.16 0.00 0.05 0.00 0.00 99.79 06:30:27 06:25:01 0 0.03 0.00 0.02 0.00 0.00 99.95 06:30:27 06:25:01 1 0.20 0.00 0.07 0.00 0.00 99.73 06:30:27 06:25:01 2 0.37 0.00 0.07 0.00 0.00 99.57 06:30:27 06:25:01 3 0.05 0.00 0.03 0.00 0.00 99.92 06:30:27 06:26:01 all 0.07 0.00 0.03 0.00 0.00 99.90 06:30:27 06:26:01 0 0.02 0.00 0.02 0.00 0.00 99.97 06:30:27 06:26:01 1 0.10 0.00 0.03 0.00 0.00 99.87 06:30:27 06:26:01 2 0.12 0.00 0.05 0.00 0.00 99.83 06:30:27 06:26:01 3 0.03 0.00 0.03 0.00 0.00 99.93 06:30:27 06:27:01 all 0.18 0.00 0.04 0.00 0.00 99.78 06:30:27 06:27:01 0 0.07 0.00 0.07 0.00 0.00 99.87 06:30:27 06:27:01 1 0.53 0.00 0.03 0.00 0.00 99.43 06:30:27 06:27:01 2 0.07 0.00 0.03 0.00 0.00 99.90 06:30:27 06:27:01 3 0.05 0.00 0.03 0.00 0.00 99.92 06:30:27 06:30:27 06:27:01 CPU %user %nice %system %iowait %steal %idle 06:30:27 06:28:01 all 6.14 0.00 4.97 1.00 0.03 87.85 06:30:27 06:28:01 0 6.17 0.00 5.21 1.11 0.03 87.48 06:30:27 06:28:01 1 6.63 0.00 4.72 1.00 0.03 87.62 06:30:27 06:28:01 2 5.75 0.00 5.04 0.91 0.03 88.27 06:30:27 06:28:01 3 6.02 0.00 4.94 0.98 0.03 88.04 06:30:27 06:29:01 all 5.54 0.00 4.12 1.63 0.01 88.69 06:30:27 06:29:01 0 4.99 0.00 4.79 1.64 0.02 88.57 06:30:27 06:29:01 1 5.17 0.00 4.18 1.42 0.02 89.21 06:30:27 06:29:01 2 5.12 0.00 3.53 2.21 0.02 89.12 06:30:27 06:29:01 3 6.89 0.00 4.00 1.25 0.00 87.86 06:30:27 06:30:01 all 10.82 0.00 8.54 3.98 0.02 76.64 06:30:27 06:30:01 0 9.24 0.00 7.54 3.72 0.02 79.49 06:30:27 06:30:01 1 9.68 0.00 7.33 3.54 0.02 79.44 06:30:27 06:30:01 2 9.65 0.00 9.26 3.77 0.02 77.30 06:30:27 06:30:01 3 14.71 0.00 10.04 4.90 0.03 70.32 06:30:27 Average: all 1.88 0.00 1.44 0.50 0.01 96.18 06:30:27 Average: 0 1.64 0.00 1.48 0.47 0.01 96.40 06:30:27 Average: 1 1.89 0.00 1.29 0.44 0.01 96.37 06:30:27 Average: 2 1.74 0.00 1.45 0.52 0.01 96.29 06:30:27 Average: 3 2.25 0.00 1.53 0.56 0.01 95.65 06:30:27 06:30:27 06:30:27