Pull request #186 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of siggiskulason for edgexfoundry/device-mqtt-go Loading trusted files from base branch master at 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 rather than bad7e1bfc72e0dfb6692cb44f1928257282e29c2 Obtained Jenkinsfile from 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eca33996f4fbe88610f9be003a62d5383d966c7d 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 eca33996f4fbe88610f9be003a62d5383d966c7d 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 eca33996f4fbe88610f9be003a62d5383d966c7d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eca33996f4fbe88610f9be003a62d5383d966c7d # timeout=10 Commit message: "Merge pull request #304 from ernestojeda/alter-go-mod-versions" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-mqtt-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-14501 in /w/workspace/gexfoundry_device-mqtt-go_PR-186 [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_PR-186 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 into PR head commit bad7e1bfc72e0dfb6692cb44f1928257282e29c2 Merge succeeded, producing bad7e1bfc72e0dfb6692cb44f1928257282e29c2 Checking out Revision bad7e1bfc72e0dfb6692cb44f1928257282e29c2 (PR-186) > git config core.sparsecheckout # timeout=10 > git checkout -f bad7e1bfc72e0dfb6692cb44f1928257282e29c2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bad7e1bfc72e0dfb6692cb44f1928257282e29c2 # timeout=10 Commit message: "feat(snap): add startup-duration and startup-interval configure options" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:26:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:26:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 46a303ea7b6db18f2a11768b5c4d69957f7eac02 # timeout=10 [Pipeline] echo 17:26:47 ========================================================= 17:26:47 EdgeX Global Pipelines Version Info 17:26:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:26:48 ------------------- 17:26:48 stable info: 17:26:48 ------------------- 17:26:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:26:48 Commit SHA: eca33996f4fbe88610f9be003a62d5383d966c7d 17:26:48 Message: update stable to v1.0.170 17:26:49 ------------------- 17:26:49 experimental info: 17:26:49 ------------------- 17:26:49 Commited By: **** collab-it+edgex@linuxfoundation.org 17:26:49 Commit SHA: eca33996f4fbe88610f9be003a62d5383d966c7d 17:26:49 Message: update experimental to v1.0.170 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:26:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 17:26:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 17:26:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:26:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:26:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:26:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 17:26:51 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:26:51 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 17:26:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:26:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:26:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:26:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo 17:26:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:26:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:26:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:26:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:26:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:26:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:26:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:26:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 17:26:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:26:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:26:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:26:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:26:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:26:53 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 17:26:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-186 [Pipeline] echo 17:26:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-186 [Pipeline] echo 17:26:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-186 [Pipeline] echo 17:26:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bad7e1bfc72e0dfb6692cb44f1928257282e29c2 [Pipeline] echo 17:26:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bad7e1b [Pipeline] echo 17:26:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:26:54 provisioning config files... 17:26:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-186@tmp/config8942602532766645658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:26:54 ---> docker-login.sh 17:26:54 nexus3.edgexfoundry.org:10001 17:26:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:55 Configure a credential helper to remove this warning. See 17:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:55 17:26:55 Login Succeeded 17:26:55 nexus3.edgexfoundry.org:10002 17:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:55 Configure a credential helper to remove this warning. See 17:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:55 17:26:55 Login Succeeded 17:26:55 nexus3.edgexfoundry.org:10003 17:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:55 Configure a credential helper to remove this warning. See 17:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:55 17:26:55 Login Succeeded 17:26:55 nexus3.edgexfoundry.org:10004 17:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:55 Configure a credential helper to remove this warning. See 17:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:55 17:26:55 Login Succeeded 17:26:55 docker.io 17:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:55 Configure a credential helper to remove this warning. See 17:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:55 17:26:55 Login Succeeded 17:26:55 ---> docker-login.sh ends [Pipeline] } 17:26:55 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 17:26:56 + git log --format=format:%s -1 bad7e1bfc72e0dfb6692cb44f1928257282e29c2 [Pipeline] echo 17:26:56 GIT_COMMIT: bad7e1bfc72e0dfb6692cb44f1928257282e29c2, Commit Message: feat(snap): add startup-duration and startup-interval configure options [Pipeline] echo 17:26:56 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:26:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:26:58 17:26:58 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:26:58 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:26:58 latest: Pulling from edgex-devops/git-semver 17:26:58 31603596830f: Pulling fs layer 17:26:58 2a8b12db71e7: Pulling fs layer 17:26:58 6ca5941a6612: Pulling fs layer 17:26:58 ecc8261a40a4: Pulling fs layer 17:26:58 ecc8261a40a4: Waiting 17:26:58 2a8b12db71e7: Verifying Checksum 17:26:58 2a8b12db71e7: Download complete 17:26:58 31603596830f: Verifying Checksum 17:26:58 31603596830f: Download complete 17:26:58 ecc8261a40a4: Verifying Checksum 17:26:58 ecc8261a40a4: Download complete 17:26:58 6ca5941a6612: Verifying Checksum 17:26:58 6ca5941a6612: Download complete 17:26:58 31603596830f: Pull complete 17:26:58 2a8b12db71e7: Pull complete 17:26:59 6ca5941a6612: Pull complete 17:27:00 ecc8261a40a4: Pull complete 17:27:00 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 17:27:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:27:00 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:27:00 prd-centos7-docker-4c-2g-14501 does not seem to be running inside a container 17:27:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-186 -v /w/workspace/gexfoundry_device-mqtt-go_PR-186:/w/workspace/gexfoundry_device-mqtt-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-186@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:27:02 $ docker top cf4b7ebfaac951fcf7b23ee4be3893693c86ac541d184a95f994b3fb5f8b9418 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:27:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:27:02 [ssh-agent] Looking for ssh-agent implementation... 17:27:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:27:02 $ docker exec cf4b7ebfaac951fcf7b23ee4be3893693c86ac541d184a95f994b3fb5f8b9418 ssh-agent 17:27:03 SSH_AUTH_SOCK=/tmp/ssh-YaJKOpvL7QTQ/agent.11 17:27:03 SSH_AGENT_PID=16 17:27:03 Running ssh-add (command line suppressed) 17:27:03 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-186@tmp/private_key_8557106967653139801.key (/w/workspace/gexfoundry_device-mqtt-go_PR-186@tmp/private_key_8557106967653139801.key) 17:27:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:27:03 + git tag --points-at HEAD [Pipeline] } 17:27:03 $ docker exec --env ******** --env ******** cf4b7ebfaac951fcf7b23ee4be3893693c86ac541d184a95f994b3fb5f8b9418 ssh-agent -k 17:27:03 unset SSH_AUTH_SOCK; 17:27:03 unset SSH_AGENT_PID; 17:27:03 echo Agent pid 16 killed; 17:27:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:27:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:27:03 [ssh-agent] Looking for ssh-agent implementation... 17:27:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:27:04 $ docker exec cf4b7ebfaac951fcf7b23ee4be3893693c86ac541d184a95f994b3fb5f8b9418 ssh-agent 17:27:04 SSH_AUTH_SOCK=/tmp/ssh-Df8YZg7I5S1O/agent.45 17:27:04 SSH_AGENT_PID=50 17:27:04 Running ssh-add (command line suppressed) 17:27:04 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-186@tmp/private_key_4854834302240392867.key (/w/workspace/gexfoundry_device-mqtt-go_PR-186@tmp/private_key_4854834302240392867.key) 17:27:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:27:04 + git semver init 17:27:04 # -> Open(): unable to determine branch for HEAD 17:27:04 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-186/.git 17:27:04 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-186 17:27:04 # $SEMVER_REMOTE_NAME = origin 17:27:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:27:04 # $SEMVER_USER_NAME = edgex-jenkins 17:27:04 # $SEMVER_BRANCH = PR-186 17:27:04 # $SEMVER_TEMP = /tmp/semver-455532085 17:27:04 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 17:27:05 # '/tmp/semver-455532085' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-186/.semver' 17:27:05 # -> Force: false 17:27:05 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-186/.semver [Pipeline] } 17:27:05 $ docker exec --env ******** --env ******** cf4b7ebfaac951fcf7b23ee4be3893693c86ac541d184a95f994b3fb5f8b9418 ssh-agent -k 17:27:05 unset SSH_AUTH_SOCK; 17:27:05 unset SSH_AGENT_PID; 17:27:05 echo Agent pid 50 killed; 17:27:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:27:05 + git semver [Pipeline] } 17:27:06 $ docker stop --time=1 cf4b7ebfaac951fcf7b23ee4be3893693c86ac541d184a95f994b3fb5f8b9418 17:27:07 $ docker rm -f cf4b7ebfaac951fcf7b23ee4be3893693c86ac541d184a95f994b3fb5f8b9418 [Pipeline] // withDockerContainer [Pipeline] sh 17:27:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:27:08 Stashed 1 file(s) [Pipeline] echo 17:27:08 [edgeXSemver]: initialized semver on version 0.0.0 [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 17:27:23 Still waiting to schedule task 17:27:23 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-14501’ 17:27:23 Still waiting to schedule task 17:27:23 ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline 17:29:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-14502 in /w/workspace/gexfoundry_device-mqtt-go_PR-186 [Pipeline] { [Pipeline] ws 17:29:13 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 17:29:18 using credential edgex-jenkins-ssh 17:29:18 Cloning the remote Git repository 17:29:18 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 17:29:18 > git init /w/workspace/device-mqtt-go/2 # timeout=10 17:29:18 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 17:29:18 > git --version # timeout=10 17:29:18 > git --version # 'git version 2.17.1' 17:29:18 using GIT_SSH to set credentials SSH Credentials for GitHub 17:29:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:29:19 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 17:29:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:29:19 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 17:29:19 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 17:29:19 using GIT_SSH to set credentials SSH Credentials for GitHub 17:29:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:29:20 Merging remotes/origin/master commit 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 into PR head commit bad7e1bfc72e0dfb6692cb44f1928257282e29c2 17:29:20 Merge succeeded, producing bad7e1bfc72e0dfb6692cb44f1928257282e29c2 17:29:20 Checking out Revision bad7e1bfc72e0dfb6692cb44f1928257282e29c2 (PR-186) 17:29:20 > git config core.sparsecheckout # timeout=10 17:29:20 > git checkout -f bad7e1bfc72e0dfb6692cb44f1928257282e29c2 # timeout=10 17:29:20 > git remote # timeout=10 17:29:20 > git config --get remote.origin.url # timeout=10 17:29:20 using GIT_SSH to set credentials SSH Credentials for GitHub 17:29:20 > git merge 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 17:29:20 > git rev-parse HEAD^{commit} # timeout=10 17:29:20 > git config core.sparsecheckout # timeout=10 17:29:20 > git checkout -f bad7e1bfc72e0dfb6692cb44f1928257282e29c2 # timeout=10 17:29:24 Commit message: "feat(snap): add startup-duration and startup-interval configure options" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:29:26 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 17:29:26 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:29:27 + sudo service docker restart 17:29:27 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:29:30 provisioning config files... 17:29:30 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config1353811568436537445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:30 ---> docker-login.sh 17:29:30 nexus3.edgexfoundry.org:10001 17:29:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:31 Configure a credential helper to remove this warning. See 17:29:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:31 17:29:31 Login Succeeded 17:29:31 nexus3.edgexfoundry.org:10002 17:29:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:32 Configure a credential helper to remove this warning. See 17:29:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:32 17:29:32 Login Succeeded 17:29:32 nexus3.edgexfoundry.org:10003 17:29:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:32 Configure a credential helper to remove this warning. See 17:29:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:32 17:29:32 Login Succeeded 17:29:32 nexus3.edgexfoundry.org:10004 17:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:33 Configure a credential helper to remove this warning. See 17:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:33 17:29:33 Login Succeeded 17:29:33 docker.io 17:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:34 Configure a credential helper to remove this warning. See 17:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:34 17:29:34 Login Succeeded 17:29:34 ---> docker-login.sh ends [Pipeline] } 17:29:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:29:34 ========================================================= 17:29:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 17:29:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:29:35 + 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 . 17:29:35 Sending build context to Docker daemon 492.5kB 17:29:35 Step 1/8 : ARG BASE=golang:1.15-alpine 17:29:35 Step 2/8 : FROM ${BASE} 17:29:35 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:29:35 5f621e34cdf4: Pulling fs layer 17:29:35 a4357932f1b6: Pulling fs layer 17:29:35 18c013af1878: Pulling fs layer 17:29:35 00ac8860ef70: Pulling fs layer 17:29:35 63d7cb157983: Pulling fs layer 17:29:35 b116817d02f9: Pulling fs layer 17:29:35 745a02a5169b: Pulling fs layer 17:29:35 63d7cb157983: Waiting 17:29:35 00ac8860ef70: Waiting 17:29:35 b116817d02f9: Waiting 17:29:35 745a02a5169b: Waiting 17:29:35 18c013af1878: Verifying Checksum 17:29:35 18c013af1878: Download complete 17:29:35 a4357932f1b6: Download complete 17:29:35 63d7cb157983: Verifying Checksum 17:29:35 63d7cb157983: Download complete 17:29:35 5f621e34cdf4: Verifying Checksum 17:29:35 b116817d02f9: Verifying Checksum 17:29:35 b116817d02f9: Download complete 17:29:36 5f621e34cdf4: Pull complete 17:29:37 a4357932f1b6: Pull complete 17:29:37 18c013af1878: Pull complete 17:29:39 745a02a5169b: Verifying Checksum 17:29:39 745a02a5169b: Download complete 17:29:40 00ac8860ef70: Verifying Checksum 17:29:40 00ac8860ef70: Download complete 17:29:50 00ac8860ef70: Pull complete 17:29:50 63d7cb157983: Pull complete 17:29:50 b116817d02f9: Pull complete 17:29:53 Running on prd-centos7-docker-4c-2g-14503 in /w/workspace/gexfoundry_device-mqtt-go_PR-186 [Pipeline] { [Pipeline] ws 17:29:53 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 17:29:54 745a02a5169b: Pull complete 17:29:54 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 17:29:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 17:29:54 ---> b7e6874047d6 17:29:54 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 17:29:56 using credential edgex-jenkins-ssh 17:29:56 Cloning the remote Git repository 17:29:57 ---> Running in ff77dc0ac266 17:29:56 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 17:29:56 > git init /w/workspace/device-mqtt-go/2 # timeout=10 17:29:56 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 17:29:56 > git --version # timeout=10 17:29:56 > git --version # 'git version 2.24.3' 17:29:56 using GIT_SSH to set credentials SSH Credentials for GitHub 17:29:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:29:57 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 17:29:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:29:57 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 17:29:57 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 17:29:57 using GIT_SSH to set credentials SSH Credentials for GitHub 17:29:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:29:57 Removing intermediate container ff77dc0ac266 17:29:57 ---> 3ca4fce5d4c3 17:29:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:29:57 ---> Running in 9bb464023b63 17:29:57 Merging remotes/origin/master commit 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 into PR head commit bad7e1bfc72e0dfb6692cb44f1928257282e29c2 17:29:57 Merge succeeded, producing bad7e1bfc72e0dfb6692cb44f1928257282e29c2 17:29:57 Checking out Revision bad7e1bfc72e0dfb6692cb44f1928257282e29c2 (PR-186) 17:29:57 > git config core.sparsecheckout # timeout=10 17:29:57 > git checkout -f bad7e1bfc72e0dfb6692cb44f1928257282e29c2 # timeout=10 17:29:57 > git remote # timeout=10 17:29:57 > git config --get remote.origin.url # timeout=10 17:29:57 using GIT_SSH to set credentials SSH Credentials for GitHub 17:29:57 > git merge 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 17:29:57 > git rev-parse HEAD^{commit} # timeout=10 17:29:57 > git config core.sparsecheckout # timeout=10 17:29:57 > git checkout -f bad7e1bfc72e0dfb6692cb44f1928257282e29c2 # timeout=10 17:30:00 Removing intermediate container 9bb464023b63 17:30:00 ---> 80800b7d30b5 17:30:00 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 17:30:00 ---> Running in d75c826f6251 17:30:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:30:01 Commit message: "feat(snap): add startup-duration and startup-interval configure options" [Pipeline] withEnv [Pipeline] { 17:30:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:30:02 (1/14) Installing libmagic (5.38-r0) 17:30:02 (2/14) Installing file (5.38-r0) 17:30:02 (3/14) Installing libc-dev (0.7.2-r3) 17:30:02 (4/14) Installing g++ (9.3.0-r2) 17:30:03 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 17:30:03 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:30:03 + sudo service docker restart 17:30:03 + true 17:30:03 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:30:05 provisioning config files... 17:30:05 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config7223138689284708920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:30:05 ---> docker-login.sh 17:30:05 nexus3.edgexfoundry.org:10001 17:30:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:05 Configure a credential helper to remove this warning. See 17:30:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:05 17:30:05 Login Succeeded 17:30:05 nexus3.edgexfoundry.org:10002 17:30:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:06 Configure a credential helper to remove this warning. See 17:30:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:06 17:30:06 Login Succeeded 17:30:06 nexus3.edgexfoundry.org:10003 17:30:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:06 Configure a credential helper to remove this warning. See 17:30:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:06 17:30:06 Login Succeeded 17:30:06 nexus3.edgexfoundry.org:10004 17:30:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:06 Configure a credential helper to remove this warning. See 17:30:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:06 17:30:06 Login Succeeded 17:30:06 docker.io 17:30:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:06 Configure a credential helper to remove this warning. See 17:30:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:06 17:30:06 Login Succeeded 17:30:06 ---> docker-login.sh ends [Pipeline] } 17:30:06 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:30:07 ========================================================= 17:30:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 17:30:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:30:07 (5/14) Installing fortify-headers (1.1-r0) 17:30:07 (6/14) Installing patch (2.7.6-r6) 17:30:07 (7/14) Installing build-base (0.5-r2) 17:30:07 (8/14) Installing openssh-keygen (8.3_p1-r0) 17:30:07 (9/14) Installing libedit (20191231.3.1-r0) 17:30:07 (10/14) Installing openssh-client (8.3_p1-r0) 17:30:07 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 17:30:07 (12/14) Installing openssh-server-common (8.3_p1-r0) 17:30:07 (13/14) Installing openssh-server (8.3_p1-r0) 17:30:07 + 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 . 17:30:07 Sending build context to Docker daemon 493.6kB 17:30:07 Step 1/8 : ARG BASE=golang:1.15-alpine 17:30:07 Step 2/8 : FROM ${BASE} 17:30:07 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 17:30:07 188c0c94c7c5: Pulling fs layer 17:30:07 0ef7d3d256c8: Pulling fs layer 17:30:07 de9db76c5a1d: Pulling fs layer 17:30:07 bca2f99d35d6: Pulling fs layer 17:30:07 93359f2a8cfa: Pulling fs layer 17:30:07 7c6f9722023f: Pulling fs layer 17:30:07 a35cf1a2eb13: Pulling fs layer 17:30:07 93359f2a8cfa: Waiting 17:30:07 7c6f9722023f: Waiting 17:30:07 a35cf1a2eb13: Waiting 17:30:07 bca2f99d35d6: Waiting 17:30:07 (14/14) Installing openssh (8.3_p1-r0) 17:30:07 de9db76c5a1d: Verifying Checksum 17:30:07 de9db76c5a1d: Download complete 17:30:07 93359f2a8cfa: Verifying Checksum 17:30:07 93359f2a8cfa: Download complete 17:30:07 7c6f9722023f: Verifying Checksum 17:30:07 7c6f9722023f: Download complete 17:30:07 188c0c94c7c5: Download complete 17:30:08 Executing busybox-1.31.1-r19.trigger 17:30:08 188c0c94c7c5: Pull complete 17:30:08 0ef7d3d256c8: Pull complete 17:30:08 de9db76c5a1d: Pull complete 17:30:08 OK: 221 MiB in 53 packages 17:30:09 a35cf1a2eb13: Verifying Checksum 17:30:09 a35cf1a2eb13: Download complete 17:30:10 bca2f99d35d6: Verifying Checksum 17:30:10 bca2f99d35d6: Download complete 17:30:12 Removing intermediate container d75c826f6251 17:30:12 ---> ea647912eee4 17:30:12 Step 6/8 : WORKDIR /device-mqtt-go 17:30:12 ---> Running in de7be51b8692 17:30:12 Removing intermediate container de7be51b8692 17:30:12 ---> 0afce9b6d8f6 17:30:12 Step 7/8 : COPY . . 17:30:13 ---> 1e1a6d9f13e0 17:30:13 Step 8/8 : RUN go mod download 17:30:13 ---> Running in 6a518ba8a9cd 17:30:15 bca2f99d35d6: Pull complete 17:30:15 93359f2a8cfa: Pull complete 17:30:15 7c6f9722023f: Pull complete 17:30:21 a35cf1a2eb13: Pull complete 17:30:21 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 17:30:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 17:30:21 ---> a62c8e92a672 17:30:21 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 17:30:21 ---> Running in 95fa69c33f47 17:30:21 Removing intermediate container 95fa69c33f47 17:30:21 ---> d51ba7ad39e5 17:30:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:30:21 ---> Running in 3ae1b666359d 17:30:22 Removing intermediate container 3ae1b666359d 17:30:22 ---> 50508ccbf852 17:30:22 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 17:30:22 ---> Running in ff886d43589c 17:30:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:30:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:30:24 (1/14) Installing libmagic (5.38-r0) 17:30:24 (2/14) Installing file (5.38-r0) 17:30:24 (3/14) Installing libc-dev (0.7.2-r3) 17:30:24 (4/14) Installing g++ (9.3.0-r2) 17:30:27 (5/14) Installing fortify-headers (1.1-r0) 17:30:27 (6/14) Installing patch (2.7.6-r6) 17:30:27 (7/14) Installing build-base (0.5-r2) 17:30:27 (8/14) Installing openssh-keygen (8.3_p1-r0) 17:30:27 (9/14) Installing libedit (20191231.3.1-r0) 17:30:27 (10/14) Installing openssh-client (8.3_p1-r0) 17:30:28 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 17:30:28 (12/14) Installing openssh-server-common (8.3_p1-r0) 17:30:28 (13/14) Installing openssh-server (8.3_p1-r0) 17:30:28 (14/14) Installing openssh (8.3_p1-r0) 17:30:28 Executing busybox-1.31.1-r19.trigger 17:30:28 OK: 237 MiB in 53 packages 17:30:32 Removing intermediate container ff886d43589c 17:30:32 ---> b198d4dd6775 17:30:32 Step 6/8 : WORKDIR /device-mqtt-go 17:30:32 ---> Running in 79060a2fe911 17:30:32 Removing intermediate container 79060a2fe911 17:30:32 ---> bf923e0b858c 17:30:32 Step 7/8 : COPY . . 17:30:33 ---> 77978983a0b5 17:30:33 Step 8/8 : RUN go mod download 17:30:33 ---> Running in eb498e5a76d8 17:30:36 Removing intermediate container 6a518ba8a9cd 17:30:36 ---> 4fbf4a4a426a 17:30:36 Successfully built 4fbf4a4a426a 17:30:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:30:36 + docker inspect -f . ci-base-image-arm64 17:30:36 . [Pipeline] withDockerContainer 17:30:37 prd-ubuntu18.04-docker-arm64-4c-16g-14502 does not seem to be running inside a container 17:30:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:30:38 $ docker top d93053004b2462e6db1cebf004d8ea05090c3aa65daf72c1975d5bfc68f3ee5f -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:39 + go version 17:30:39 go version go1.15.5 linux/arm64 [Pipeline] } 17:30:39 $ docker stop --time=1 d93053004b2462e6db1cebf004d8ea05090c3aa65daf72c1975d5bfc68f3ee5f 17:30:41 $ docker rm -f d93053004b2462e6db1cebf004d8ea05090c3aa65daf72c1975d5bfc68f3ee5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:30:42 + docker inspect -f . ci-base-image-arm64 17:30:42 . [Pipeline] withDockerContainer 17:30:43 prd-ubuntu18.04-docker-arm64-4c-16g-14502 does not seem to be running inside a container 17:30:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:30:44 $ docker top 5229ab33a342ab5c5eabba3ee17412e41b61ca581edd52295129e93e5181b38b -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:45 + make test 17:30:45 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:30:46 ? github.com/edgexfoundry/device-mqtt-go [no test files] 17:30:55 Removing intermediate container eb498e5a76d8 17:30:55 ---> 838e29e0ce20 17:30:55 Successfully built 838e29e0ce20 17:30:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:30:55 + docker inspect -f . ci-base-image-x86_64 17:30:55 . [Pipeline] withDockerContainer 17:30:55 prd-centos7-docker-4c-2g-14503 does not seem to be running inside a container 17:30:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:30:56 $ docker top 24eb609613ef7fdaa965f0bec2fc433f4dc17270cc42ec4d244e3cae63205f90 -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:57 + go version 17:30:57 go version go1.15.5 linux/amd64 [Pipeline] } 17:30:57 $ docker stop --time=1 24eb609613ef7fdaa965f0bec2fc433f4dc17270cc42ec4d244e3cae63205f90 17:30:58 $ docker rm -f 24eb609613ef7fdaa965f0bec2fc433f4dc17270cc42ec4d244e3cae63205f90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:30:59 + docker inspect -f . ci-base-image-x86_64 17:30:59 . [Pipeline] withDockerContainer 17:30:59 prd-centos7-docker-4c-2g-14503 does not seem to be running inside a container 17:30:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:31:00 $ docker top 1cce55e8a0b8e0ebdda471be1adfa9c0529783e530384d189a1399fcff87a92c -eo pid,comm [Pipeline] { [Pipeline] sh 17:31:00 + make test 17:31:00 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:31:01 ? github.com/edgexfoundry/device-mqtt-go [no test files] 17:31:14 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 17:31:14 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 28.3% of statements 17:31:14 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 17:31:14 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:31:16 gofmt -l . 17:31:16 ["`gofmt -l .`" = ""] 17:31:16 ./bin/test-attribution-txt.sh 17:31:17 ./bin/test-go-mod-tidy.sh [Pipeline] } 17:31:17 $ docker stop --time=1 1cce55e8a0b8e0ebdda471be1adfa9c0529783e530384d189a1399fcff87a92c 17:31:20 $ docker rm -f 1cce55e8a0b8e0ebdda471be1adfa9c0529783e530384d189a1399fcff87a92c [Pipeline] // withDockerContainer [Pipeline] sh 17:31:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:31:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:31:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:31:23 + ls -al . 17:31:23 total 100 17:31:23 drwxrwxr-x. 9 jenkins jenkins 4096 Dec 4 17:31 . 17:31:23 drwxrwxr-x. 4 jenkins jenkins 28 Dec 4 17:29 .. 17:31:23 -rw-rw-r--. 1 jenkins jenkins 5932 Dec 4 17:29 Attribution.txt 17:31:23 drwxrwxr-x. 2 jenkins jenkins 87 Dec 4 17:29 bin 17:31:23 drwxrwxr-x. 3 jenkins jenkins 32 Dec 4 17:29 cmd 17:31:23 -rw-r--r--. 1 jenkins jenkins 18940 Dec 4 17:31 coverage.out 17:31:23 -rw-rw-r--. 1 jenkins jenkins 1784 Dec 4 17:29 Dockerfile 17:31:23 -rw-rw-r--. 1 jenkins jenkins 953 Dec 4 17:29 Dockerfile.build 17:31:23 -rw-rw-r--. 1 jenkins jenkins 140 Dec 4 17:29 .dockerignore 17:31:23 drwxrwxr-x. 8 jenkins jenkins 179 Dec 4 17:30 .git 17:31:23 drwxrwxr-x. 2 jenkins jenkins 60 Dec 4 17:29 .github 17:31:23 -rw-rw-r--. 1 jenkins jenkins 336 Dec 4 17:29 .gitignore 17:31:23 -rw-r--r--. 1 jenkins jenkins 504 Dec 4 17:31 go.mod 17:31:23 -rw-r--r--. 1 jenkins jenkins 14793 Dec 4 17:31 go.sum 17:31:23 drwxrwxr-x. 3 jenkins jenkins 20 Dec 4 17:29 internal 17:31:23 -rw-rw-r--. 1 jenkins jenkins 677 Dec 4 17:29 Jenkinsfile 17:31:23 -rw-rw-r--. 1 jenkins jenkins 11340 Dec 4 17:29 LICENSE 17:31:23 -rw-rw-r--. 1 jenkins jenkins 902 Dec 4 17:29 Makefile 17:31:23 drwxrwxr-x. 2 jenkins jenkins 23 Dec 4 17:29 mock 17:31:23 -rw-rw-r--. 1 jenkins jenkins 444 Dec 4 17:29 README.md 17:31:23 drwxrwxr-x. 4 jenkins jenkins 71 Dec 4 17:29 snap 17:31:23 -rw-rw-r--. 1 jenkins jenkins 5 Dec 4 17:27 VERSION 17:31:23 -rw-rw-r--. 1 jenkins jenkins 227 Dec 4 17:29 version.go [Pipeline] isUnix [Pipeline] sh 17:31:24 + 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=bad7e1bfc72e0dfb6692cb44f1928257282e29c2 --label arch=amd64 --label version=0.0.0 . 17:31:24 Sending build context to Docker daemon 513kB 17:31:24 Step 1/22 : ARG BASE=golang:1.15-alpine 17:31:24 Step 2/22 : FROM ${BASE} AS builder 17:31:24 ---> 838e29e0ce20 17:31:24 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 17:31:24 ---> Running in 161f935f9c5f 17:31:24 Removing intermediate container 161f935f9c5f 17:31:24 ---> 2155889f6549 17:31:24 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 17:31:24 ---> Running in 4f1a069ba748 17:31:24 Removing intermediate container 4f1a069ba748 17:31:24 ---> 3d238f34625c 17:31:24 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:31:25 ---> Running in a3b4c166e83d 17:31:25 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 17:31:25 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.033s coverage: 28.3% of statements 17:31:25 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 17:31:25 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:31:25 Removing intermediate container a3b4c166e83d 17:31:25 ---> a8d366a00ecc 17:31:25 Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:31:25 ---> Running in 4fc49a2df543 17:31:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:31:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:31:27 OK: 237 MiB in 53 packages 17:31:27 Removing intermediate container 4fc49a2df543 17:31:27 ---> 08e965d68b62 17:31:27 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 17:31:27 ---> Running in 71d6df40d916 17:31:28 Removing intermediate container 71d6df40d916 17:31:28 ---> 385bcaf950a2 17:31:28 Step 8/22 : COPY . . 17:31:28 ---> 67f031231f8f 17:31:28 Step 9/22 : ARG MAKE='make build' 17:31:29 ---> Running in 73521ca32002 17:31:29 Removing intermediate container 73521ca32002 17:31:29 ---> 942782d63715 17:31:29 Step 10/22 : RUN $MAKE 17:31:29 ---> Running in b020936070c5 17:31:29 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 17:31:34 gofmt -l . 17:31:34 ["`gofmt -l .`" = ""] 17:31:34 ./bin/test-attribution-txt.sh 17:31:34 ./bin/test-go-mod-tidy.sh [Pipeline] } 17:31:34 $ docker stop --time=1 5229ab33a342ab5c5eabba3ee17412e41b61ca581edd52295129e93e5181b38b 17:31:36 $ docker rm -f 5229ab33a342ab5c5eabba3ee17412e41b61ca581edd52295129e93e5181b38b [Pipeline] // withDockerContainer [Pipeline] sh 17:31:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:31:37 Warning: overwriting stash ‘coverage-report’ 17:31:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:31:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:31:39 + ls -al . 17:31:39 total 132 17:31:39 drwxrwxr-x 9 jenkins jenkins 4096 Dec 4 17:31 . 17:31:39 drwxrwxr-x 4 jenkins jenkins 4096 Dec 4 17:29 .. 17:31:39 -rw-rw-r-- 1 jenkins jenkins 140 Dec 4 17:29 .dockerignore 17:31:39 drwxrwxr-x 8 jenkins jenkins 4096 Dec 4 17:29 .git 17:31:39 drwxrwxr-x 2 jenkins jenkins 4096 Dec 4 17:29 .github 17:31:39 -rw-rw-r-- 1 jenkins jenkins 336 Dec 4 17:29 .gitignore 17:31:39 -rw-rw-r-- 1 jenkins jenkins 5932 Dec 4 17:29 Attribution.txt 17:31:39 -rw-rw-r-- 1 jenkins jenkins 1784 Dec 4 17:29 Dockerfile 17:31:39 -rw-rw-r-- 1 jenkins jenkins 953 Dec 4 17:29 Dockerfile.build 17:31:39 -rw-rw-r-- 1 jenkins jenkins 677 Dec 4 17:29 Jenkinsfile 17:31:39 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 4 17:29 LICENSE 17:31:39 -rw-rw-r-- 1 jenkins jenkins 902 Dec 4 17:29 Makefile 17:31:39 -rw-rw-r-- 1 jenkins jenkins 444 Dec 4 17:29 README.md 17:31:39 -rw-rw-r-- 1 jenkins jenkins 5 Dec 4 17:27 VERSION 17:31:39 drwxrwxr-x 2 jenkins jenkins 4096 Dec 4 17:29 bin 17:31:39 drwxrwxr-x 3 jenkins jenkins 4096 Dec 4 17:29 cmd 17:31:39 -rw-r--r-- 1 jenkins jenkins 18940 Dec 4 17:31 coverage.out 17:31:39 -rw-r--r-- 1 jenkins jenkins 504 Dec 4 17:31 go.mod 17:31:39 -rw-r--r-- 1 jenkins jenkins 14793 Dec 4 17:31 go.sum 17:31:39 drwxrwxr-x 3 jenkins jenkins 4096 Dec 4 17:29 internal 17:31:39 drwxrwxr-x 2 jenkins jenkins 4096 Dec 4 17:29 mock 17:31:39 drwxrwxr-x 4 jenkins jenkins 4096 Dec 4 17:29 snap 17:31:39 -rw-rw-r-- 1 jenkins jenkins 227 Dec 4 17:29 version.go [Pipeline] isUnix [Pipeline] sh 17:31:39 CGO_ENABLED=0 GO111MODULE=on go build ./... 17:31:39 + 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=bad7e1bfc72e0dfb6692cb44f1928257282e29c2 --label arch=arm64 --label version=0.0.0 . 17:31:40 Sending build context to Docker daemon 512kB 17:31:40 Step 1/22 : ARG BASE=golang:1.15-alpine 17:31:40 Step 2/22 : FROM ${BASE} AS builder 17:31:40 ---> 4fbf4a4a426a 17:31:40 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 17:31:40 ---> Running in 4fcf9a51ea93 17:31:41 Removing intermediate container 4fcf9a51ea93 17:31:41 ---> a0133ac1f936 17:31:41 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 17:31:41 ---> Running in 38ec8271af16 17:31:41 Removing intermediate container 38ec8271af16 17:31:41 ---> 41136c42f29a 17:31:41 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:31:41 ---> Running in 8fe93735946c 17:31:42 Removing intermediate container b020936070c5 17:31:42 ---> b06e8a126041 17:31:42 Step 11/22 : FROM alpine 17:31:42 latest: Pulling from library/alpine 17:31:42 188c0c94c7c5: Already exists 17:31:43 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 17:31:43 Status: Downloaded newer image for alpine:latest 17:31:43 ---> d6e46aa2470d 17:31:43 Step 12/22 : ENV APP_PORT=49982 17:31:43 ---> Running in 4c60a8c0613f 17:31:43 Removing intermediate container 4c60a8c0613f 17:31:43 ---> 0177463dd83d 17:31:43 Step 13/22 : EXPOSE $APP_PORT 17:31:43 ---> Running in 151cfad0573d 17:31:43 Removing intermediate container 151cfad0573d 17:31:43 ---> 3f8804934994 17:31:43 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 17:31:44 ---> 26327ca95e3f 17:31:44 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 17:31:44 ---> 17be5d94f1a0 17:31:44 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 17:31:44 Removing intermediate container 8fe93735946c 17:31:44 ---> 2b4e984147bd 17:31:44 Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:31:44 ---> Running in 8aa20aa5954b 17:31:44 ---> cc8e884ae23c 17:31:44 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 17:31:44 ---> Running in 5eb453a4ad4f 17:31:44 Removing intermediate container 5eb453a4ad4f 17:31:44 ---> 3b82e6e27ee1 17:31:44 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 17:31:44 ---> Running in 856ea1371c67 17:31:45 Removing intermediate container 856ea1371c67 17:31:45 ---> 5e3d1d265bf5 17:31:45 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:31:45 ---> Running in 961bf951b9f1 17:31:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:31:45 Removing intermediate container 961bf951b9f1 17:31:45 ---> adbd74bc3a8e 17:31:45 Step 20/22 : LABEL arch=amd64 17:31:45 ---> Running in 5e6510f06a3a 17:31:45 Removing intermediate container 5e6510f06a3a 17:31:45 ---> e78071b8677e 17:31:45 Step 21/22 : LABEL git_sha=bad7e1bfc72e0dfb6692cb44f1928257282e29c2 17:31:45 ---> Running in ed52df76277d 17:31:45 Removing intermediate container ed52df76277d 17:31:45 ---> 4b7bbd2d2722 17:31:45 Step 22/22 : LABEL version=0.0.0 17:31:45 ---> Running in 7a022d841606 17:31:45 Removing intermediate container 7a022d841606 17:31:45 ---> ce7d8fe9d2e2 17:31:45 [Warning] One or more build-args [ARCH] were not consumed 17:31:45 Successfully built ce7d8fe9d2e2 17:31:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:31:46 Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage 17:31:46 OK: 221 MiB in 53 packages [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node 17:31:47 Removing intermediate container 8aa20aa5954b 17:31:47 ---> 5737fd05270e 17:31:47 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 17:31:47 ---> Running in 9123e373f336 17:31:48 Removing intermediate container 9123e373f336 17:31:48 ---> 014565a48f69 17:31:48 Step 8/22 : COPY . . 17:31:49 ---> 41a85e8c2279 17:31:49 Step 9/22 : ARG MAKE='make build' 17:31:49 ---> Running in 8f01428cb00e 17:31:50 Removing intermediate container 8f01428cb00e 17:31:50 ---> 795bf37d71af 17:31:50 Step 10/22 : RUN $MAKE 17:31:50 ---> Running in 8017970fb32b 17:31:51 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 17:32:01 Still waiting to schedule task 17:32:01 All nodes of label ‘centos7-docker-8c-8g’ are offline 17:32:17 CGO_ENABLED=0 GO111MODULE=on go build ./... 17:32:26 Removing intermediate container 8017970fb32b 17:32:26 ---> 64742b79b0a8 17:32:26 Step 11/22 : FROM alpine 17:32:26 latest: Pulling from library/alpine 17:32:26 5f621e34cdf4: Already exists 17:32:26 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 17:32:26 Status: Downloaded newer image for alpine:latest 17:32:26 ---> 2e77e061c27f 17:32:26 Step 12/22 : ENV APP_PORT=49982 17:32:26 ---> Running in 9f83f2601fe6 17:32:27 Removing intermediate container 9f83f2601fe6 17:32:27 ---> c0fcfe520655 17:32:27 Step 13/22 : EXPOSE $APP_PORT 17:32:27 ---> Running in 2b67fb778347 17:32:27 Removing intermediate container 2b67fb778347 17:32:27 ---> 81310aee15b3 17:32:27 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 17:32:29 ---> e216a4218ac4 17:32:29 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 17:32:29 ---> 17f52364d22d 17:32:29 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 17:32:30 ---> 82b59824ec6b 17:32:30 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 17:32:30 ---> Running in dd0fcb26f598 17:32:30 Removing intermediate container dd0fcb26f598 17:32:30 ---> ac8fc9e9e8e3 17:32:30 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 17:32:31 ---> Running in 344bb4babe0c 17:32:31 Removing intermediate container 344bb4babe0c 17:32:31 ---> aab46ae96679 17:32:31 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:32:31 ---> Running in b61b75fe9689 17:32:32 Removing intermediate container b61b75fe9689 17:32:32 ---> bc8fec559e30 17:32:32 Step 20/22 : LABEL arch=arm64 17:32:32 ---> Running in 42f855cd0176 17:32:32 Removing intermediate container 42f855cd0176 17:32:32 ---> 8e6932daeb3f 17:32:32 Step 21/22 : LABEL git_sha=bad7e1bfc72e0dfb6692cb44f1928257282e29c2 17:32:32 ---> Running in 36edb354888d 17:32:33 Removing intermediate container 36edb354888d 17:32:33 ---> 0f3a75eff9aa 17:32:33 Step 22/22 : LABEL version=0.0.0 17:32:33 ---> Running in 50e90877b44e 17:32:33 Removing intermediate container 50e90877b44e 17:32:33 ---> d2d7d9eb1c74 17:32:33 [Warning] One or more build-args [ARCH] were not consumed 17:32:33 Successfully built d2d7d9eb1c74 17:32:33 Successfully tagged docker-device-mqtt-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:32:48 Running on prd-centos7-docker-8c-8g-14504 in /w/workspace/gexfoundry_device-mqtt-go_PR-186 [Pipeline] { [Pipeline] ws 17:32:48 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 17:32:50 using credential edgex-jenkins-ssh 17:32:50 Cloning the remote Git repository 17:32:50 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 17:32:50 > git init /w/workspace/device-mqtt-go/2 # timeout=10 17:32:50 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 17:32:50 > git --version # timeout=10 17:32:50 > git --version # 'git version 2.24.3' 17:32:50 using GIT_SSH to set credentials SSH Credentials for GitHub 17:32:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:32:50 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 17:32:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:32:50 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 17:32:50 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 17:32:50 using GIT_SSH to set credentials SSH Credentials for GitHub 17:32:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:32:52 Merging remotes/origin/master commit 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 into PR head commit bad7e1bfc72e0dfb6692cb44f1928257282e29c2 17:32:52 Merge succeeded, producing bad7e1bfc72e0dfb6692cb44f1928257282e29c2 17:32:52 Checking out Revision bad7e1bfc72e0dfb6692cb44f1928257282e29c2 (PR-186) 17:32:51 > git config core.sparsecheckout # timeout=10 17:32:51 > git checkout -f bad7e1bfc72e0dfb6692cb44f1928257282e29c2 # timeout=10 17:32:51 > git remote # timeout=10 17:32:51 > git config --get remote.origin.url # timeout=10 17:32:51 using GIT_SSH to set credentials SSH Credentials for GitHub 17:32:51 > git merge 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 17:32:51 > git rev-parse HEAD^{commit} # timeout=10 17:32:51 > git config core.sparsecheckout # timeout=10 17:32:51 > git checkout -f bad7e1bfc72e0dfb6692cb44f1928257282e29c2 # timeout=10 17:32:56 Commit message: "feat(snap): add startup-duration and startup-interval configure options" [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:57 ++ find /w/workspace/device-mqtt-go/2 17:32:57 ++ grep snapcraft.yaml 17:32:57 + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:32:57 provisioning config files... 17:32:57 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/2@tmp/config2247647987627999962tmp [Pipeline] { [Pipeline] sh 17:32:57 + cp /w/workspace/device-mqtt-go/2@tmp/config2247647987627999962tmp /w/workspace/device-mqtt-go/2/edgex-snap-store-login [Pipeline] sh 17:32:58 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/2:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 17:32:58 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 17:32:58 latest: Pulling from edgex-devops/edgex-snap-builder 17:32:58 f08d8e2a3ba1: Pulling fs layer 17:32:58 3baa9cb2483b: Pulling fs layer 17:32:58 94e5ff4c0b15: Pulling fs layer 17:32:58 1860925334f9: Pulling fs layer 17:32:58 2daf38717194: Pulling fs layer 17:32:58 309017e8d7a4: Pulling fs layer 17:32:58 f7790dc9fd0f: Pulling fs layer 17:32:58 cac0ae9282c2: Pulling fs layer 17:32:58 1f4cadf9a1ed: Pulling fs layer 17:32:58 1860925334f9: Waiting 17:32:58 2daf38717194: Waiting 17:32:58 309017e8d7a4: Waiting 17:32:58 f7790dc9fd0f: Waiting 17:32:58 1f4cadf9a1ed: Waiting 17:32:58 cac0ae9282c2: Waiting 17:32:58 94e5ff4c0b15: Verifying Checksum 17:32:58 94e5ff4c0b15: Download complete 17:32:58 3baa9cb2483b: Download complete 17:32:58 1860925334f9: Verifying Checksum 17:32:58 1860925334f9: Download complete 17:32:58 309017e8d7a4: Verifying Checksum 17:32:58 309017e8d7a4: Download complete 17:32:58 f7790dc9fd0f: Download complete 17:32:58 cac0ae9282c2: Verifying Checksum 17:32:58 cac0ae9282c2: Download complete 17:32:58 1f4cadf9a1ed: Verifying Checksum 17:32:58 1f4cadf9a1ed: Download complete 17:33:01 f08d8e2a3ba1: Verifying Checksum 17:33:01 f08d8e2a3ba1: Download complete 17:33:02 f08d8e2a3ba1: Pull complete 17:33:02 3baa9cb2483b: Pull complete 17:33:02 94e5ff4c0b15: Pull complete 17:33:02 1860925334f9: Pull complete 17:33:06 2daf38717194: Verifying Checksum 17:33:06 2daf38717194: Download complete 17:33:24 2daf38717194: Pull complete 17:33:24 309017e8d7a4: Pull complete 17:33:24 f7790dc9fd0f: Pull complete 17:33:24 cac0ae9282c2: Pull complete 17:33:24 1f4cadf9a1ed: Pull complete 17:33:24 Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 17:33:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 17:33:26 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 17:33:26 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 17:33:26 Get:3 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [15.8 kB] 17:33:26 Get:4 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1370 kB] 17:33:26 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 17:33:26 Get:6 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [236 kB] 17:33:26 Get:7 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1815 kB] 17:33:26 Get:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 17:33:26 Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [265 kB] 17:33:26 Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2243 kB] 17:33:27 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2134 kB] 17:33:27 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [54.3 kB] 17:33:27 Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB] 17:33:27 Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB] 17:33:27 Fetched 8410 kB in 1s (5640 kB/s) 17:33:28 Reading package lists... 17:33:30 The 'snap' directory is meant specifically for snapcraft, but it contains the following non-snapcraft-related paths, which is unsupported and will cause unexpected behavior: 17:33:30 - README.md 17:33:30 17:33:30 If you must store these files within the 'snap' directory, move them to 'snap/local', which is ignored by snapcraft. 17:33:32 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease 17:33:32 0% [Connecting to archive.ubuntu.com (91.189.88.152)] 0% [1 InRelease gpgv 88.7 kB] [Connecting to archive.ubuntu.com (91.189.88.152) 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 17:33:32 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 17:33:32 0% [2 InRelease gpgv 242 kB] [Waiting for headers] 0% [Waiting for headers] 0% [3 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease 17:33:33 0% [3 InRelease gpgv 88.7 kB] 0% [Working] 0% [4 InRelease gpgv 74.6 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 48% Reading package lists... 60% Reading package lists... 60% Reading package lists... 60% Reading package lists... 60% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 82% Reading package lists... 82% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 91% Reading package lists... 91% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 17:33:35 Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-base perl-modules-5.26 17:33:36 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 60% Reading package lists... 60% Reading package lists... 60% Reading package lists... 60% Reading package lists... 61% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 82% Reading package lists... 82% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 91% Reading package lists... 91% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 17:33:36 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree 17:33:36 Reading state information... 0% Reading state information... 0% Reading state information... Done 17:33:36 The following packages were automatically installed and are no longer required: 17:33:36 libjq1 libonig4 17:33:36 Use 'sudo apt autoremove' to remove them. 17:33:36 Suggested packages: 17:33:36 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 17:33:36 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 17:33:36 diffutils-doc perl-doc libterm-readline-gnu-perl 17:33:36 | libterm-readline-perl-perl 17:33:36 The following NEW packages will be installed: 17:33:36 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 17:33:36 libperl5.26 make netbase patch perl perl-modules-5.26 17:33:36 The following packages will be upgraded: 17:33:36 perl-base 17:33:36 1 upgraded, 14 newly installed, 0 to remove and 50 not upgraded. 17:33:36 Need to get 13.4 MB of archives. 17:33:36 After this operation, 77.5 MB of additional disk space will be used. 17:33:37 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-base amd64 5.26.1-6ubuntu0.5 [1391 kB] 17:33:37 0% [1 perl-base 13.8 kB/1391 kB 1%] 4% [1 perl-base 741 kB/1391 kB 53%] 10% [Waiting for headers] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.5 [2762 kB] 17:33:38 10% [2 perl-modules-5.26 44.7 kB/2762 kB 2%] 27% [Waiting for headers] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 17:33:38 27% [3 libgdbm5 8240 B/26.0 kB 32%] 29% [Waiting for headers] Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 17:33:38 29% [4 libgdbm-compat4 3010 B/6084 B 49%] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.5 [3534 kB] 17:33:38 31% [5 libperl5.26 37.4 kB/3534 kB 1%] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.5 [201 kB] 17:33:38 53% [6 perl 65.5 kB/201 kB 33%] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 17:33:38 55% [7 less 29.0 kB/112 kB 26%] 57% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 17:33:38 57% [8 netbase 12.7 kB/12.7 kB 100%] 59% [Working] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] 17:33:38 59% [9 curl 13.3 kB/159 kB 8%] 61% [Waiting for headers] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.10 [213 kB] 17:33:38 61% [10 libcurl3-gnutls 51.0 kB/213 kB 24%] 64% [Waiting for headers] Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 17:33:38 64% [11 liberror-perl 22.8 kB/22.8 kB 100%] 65% [Waiting for headers] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 17:33:38 65% [12 git-man 11.6 kB/804 kB 1%] 71% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 17:33:38 71% [13 git 0 B/3915 kB 0%] 96% [Waiting for headers] Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 17:33:38 96% [14 make 11.3 kB/154 kB 7%] 98% [Waiting for headers] Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 17:33:38 98% [15 patch 53.7 kB/102 kB 53%] 100% [Working] Fetched 13.4 MB in 1s (9832 kB/s) 17:33:38 debconf: delaying package configuration, since apt-utils is not installed 17:33:38 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9889 files and directories currently installed.) 17:33:38 Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_amd64.deb ... 17:33:38 Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... 17:33:41 Setting up perl-base (5.26.1-6ubuntu0.5) ... 17:33:41 Selecting previously unselected package perl-modules-5.26. 17:33:41 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9889 files and directories currently installed.) 17:33:41 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... 17:33:41 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 17:33:43 Selecting previously unselected package libgdbm5:amd64. 17:33:43 Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... 17:33:43 Unpacking libgdbm5:amd64 (1.14.1-6) ... 17:33:43 Selecting previously unselected package libgdbm-compat4:amd64. 17:33:43 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... 17:33:43 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 17:33:43 Selecting previously unselected package libperl5.26:amd64. 17:33:43 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_amd64.deb ... 17:33:43 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... 17:33:43 Selecting previously unselected package perl. 17:33:43 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_amd64.deb ... 17:33:43 Unpacking perl (5.26.1-6ubuntu0.5) ... 17:33:43 Selecting previously unselected package less. 17:33:43 Preparing to unpack .../05-less_487-0.1_amd64.deb ... 17:33:43 Unpacking less (487-0.1) ... 17:33:44 Selecting previously unselected package netbase. 17:33:44 Preparing to unpack .../06-netbase_5.4_all.deb ... 17:33:44 Unpacking netbase (5.4) ... 17:33:44 Selecting previously unselected package curl. 17:33:44 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... 17:33:44 Unpacking curl (7.58.0-2ubuntu3.10) ... 17:33:44 Selecting previously unselected package libcurl3-gnutls:amd64. 17:33:44 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... 17:33:44 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 17:33:44 Selecting previously unselected package liberror-perl. 17:33:44 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 17:33:44 Unpacking liberror-perl (0.17025-1) ... 17:33:44 Selecting previously unselected package git-man. 17:33:44 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 17:33:44 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 17:33:44 Selecting previously unselected package git. 17:33:44 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 17:33:44 Unpacking git (1:2.17.1-1ubuntu0.7) ... 17:33:45 Selecting previously unselected package make. 17:33:45 Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... 17:33:45 Unpacking make (4.1-9.1ubuntu1) ... 17:33:45 Selecting previously unselected package patch. 17:33:45 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... 17:33:45 Unpacking patch (2.7.6-2ubuntu1.1) ... 17:33:45 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 17:33:45 Setting up less (487-0.1) ... 17:33:45 Setting up make (4.1-9.1ubuntu1) ... 17:33:45 Setting up curl (7.58.0-2ubuntu3.10) ... 17:33:45 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 17:33:45 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 17:33:45 Setting up libgdbm5:amd64 (1.14.1-6) ... 17:33:45 Setting up patch (2.7.6-2ubuntu1.1) ... 17:33:45 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 17:33:45 Setting up netbase (5.4) ... 17:33:45 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... 17:33:45 Setting up perl (5.26.1-6ubuntu0.5) ... 17:33:45 Setting up liberror-perl (0.17025-1) ... 17:33:45 Setting up git (1:2.17.1-1ubuntu0.7) ... 17:33:45 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 17:33:45 Processing triggers for mime-support (3.60ubuntu1) ... 17:33:47 curl set to automatically installed. 17:33:47 git set to automatically installed. 17:33:47 git-man set to automatically installed. 17:33:47 less set to automatically installed. 17:33:47 libcurl3-gnutls set to automatically installed. 17:33:47 liberror-perl set to automatically installed. 17:33:47 libgdbm-compat4 set to automatically installed. 17:33:47 libgdbm5 set to automatically installed. 17:33:47 libperl5.26 set to automatically installed. 17:33:47 make set to automatically installed. 17:33:47 netbase set to automatically installed. 17:33:47 patch set to automatically installed. 17:33:47 perl set to automatically installed. 17:33:47 perl-base set to automatically installed. 17:33:47 perl-modules-5.26 set to automatically installed. 17:33:47 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 17:33:47 Please ensure the environment is properly setup before continuing. 17:33:47 Ignore this message if the appropriate measures have already been taken 17:33:47 Pulling config-common  17:33:48 Pulling go  17:33:49 'device-mqtt' has dependencies that need to be staged: go 17:33:49 Skipping pull go (already ran) 17:33:49 Building go  17:33:49 % Total % Received % Xferd Average Speed Time Time Time Current 17:33:49 Dload Upload Total Spent Left Speed 17:33:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 3 115M 3 4543k 0 0 11.6M 0 0:00:09 --:--:-- 0:00:09 11.6M 60 115M 60 70.2M 0 0 50.1M 0 0:00:02 0:00:01 0:00:01 50.1M 100 115M 100 115M 0 0 52.7M 0 0:00:02 0:00:02 --:--:-- 52.7M 17:33:52 go1.15.2.linux-amd64.tar.gz: OK 17:33:59 Staging go  17:33:59 Pulling device-mqtt  17:34:00 Building config-common  17:34:03 Skipping build go (already ran) 17:34:03 Building device-mqtt  17:34:04 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 17:34:05 go: downloading github.com/edgexfoundry/device-sdk-go v1.3.0 17:34:05 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.111 17:34:05 go: downloading github.com/eclipse/paho.mqtt.golang v1.2.0 17:34:05 go: downloading github.com/spf13/cast v1.3.1 17:34:05 go: downloading gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 17:34:05 go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 17:34:05 go: downloading github.com/gorilla/mux v1.7.1 17:34:05 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.57 17:34:05 go: downloading github.com/pkg/errors v0.8.1 17:34:05 go: downloading gopkg.in/yaml.v2 v2.3.0 17:34:05 go: downloading github.com/go-kit/kit v0.8.0 17:34:05 go: downloading github.com/google/uuid v1.1.2 17:34:05 go: downloading github.com/go-playground/validator/v10 v10.3.0 17:34:05 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 17:34:05 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 17:34:05 go: downloading github.com/pelletier/go-toml v1.2.0 17:34:05 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 17:34:05 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 17:34:05 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 17:34:05 go: downloading github.com/OneOfOne/xxhash v1.2.8 17:34:05 go: downloading github.com/BurntSushi/toml v0.3.1 17:34:05 go: downloading github.com/hashicorp/consul/api v1.1.0 17:34:05 go: downloading github.com/x448/float16 v0.8.4 17:34:05 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:34:05 go: downloading github.com/go-playground/universal-translator v0.17.0 17:34:05 go: downloading github.com/leodido/go-urn v1.2.0 17:34:05 go: downloading github.com/go-logfmt/logfmt v0.4.0 17:34:05 go: downloading github.com/go-playground/locales v0.13.0 17:34:05 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:34:05 go: downloading github.com/mitchellh/copystructure v1.0.0 17:34:05 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:34:05 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 17:34:05 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:34:05 go: downloading github.com/hashicorp/serf v0.8.2 17:34:05 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:34:05 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:34:05 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:34:05 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:34:12 CGO_ENABLED=0 GO111MODULE=on go build ./... 17:34:15 Staging config-common  17:34:16 Skipping stage go (already ran) 17:34:16 Staging device-mqtt  17:34:16 Priming config-common  17:34:17 Priming go  17:34:18 Priming device-mqtt  17:34:19 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 17:34:19 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 17:34:19 Determining the version from the project repo (version-script). 17:34:19 The version has been set to 'local-dev-20201204+bad7e1b' 17:34:20 Snapping | Snapping / Snapping - Snapping | 17:34:20 Snapped edgex-device-mqtt_local-dev-20201204+bad7e1b_amd64.snap [Pipeline] } 17:34:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [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 17:34:26 provisioning config files... 17:34:26 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-186@tmp/config6237692907551499579tmp [Pipeline] { [Pipeline] sh 17:34:27 + set +x 17:34:27 + curl -s https://codecov.io/bash 17:34:27 + bash -s -- 17:34:27 17:34:27 _____ _ 17:34:27 / ____| | | 17:34:27 | | ___ __| | ___ ___ _____ __ 17:34:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:34:27 | |___| (_) | (_| | __/ (_| (_) \ V / 17:34:27 \_____\___/ \__,_|\___|\___\___/ \_/ 17:34:27 Bash-20201130-cc6d3fe 17:34:27 17:34:27 17:34:27 ==> Jenkins CI detected. 17:34:27 project root: . 17:34:27 --> token set from env 17:34:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:34:27 ==> Running gcov in . (disable via -X gcov) 17:34:27 ==> Python coveragepy not found 17:34:27 ==> Searching for coverage reports in: 17:34:27 + . 17:34:27 -> Found 1 reports 17:34:27 ==> Detecting git/mercurial file structure 17:34:27 ==> Reading reports 17:34:27 + ./coverage.out bytes=18940 17:34:27 ==> Appending adjustments 17:34:27 https://docs.codecov.io/docs/fixing-reports 17:34:27 + Found adjustments 17:34:27 ==> Gzipping contents 17:34:27 4.0K /tmp/codecov.gPLSor.gz 17:34:27 ==> Uploading reports 17:34:27 url: https://codecov.io 17:34:27 query: branch=PR-186&commit=bad7e1bfc72e0dfb6692cb44f1928257282e29c2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-186%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=186&job=&cmd_args= 17:34:27 -> Pinging Codecov 17:34:27 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-186&commit=bad7e1bfc72e0dfb6692cb44f1928257282e29c2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-186%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=186&job=&cmd_args= 17:34:28 -> Uploading to 17:34:28 https://storage.googleapis.com/codecov/v4/raw/2020-12-04/7D719EC7BBE17E464838252E33014C33/bad7e1bfc72e0dfb6692cb44f1928257282e29c2/ff7b9919-3ca7-4ea6-aca3-c56c3fecceea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201204%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201204T173428Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0261b1e871b69e33a6bd9ed1b6b9ef222cc49b00a56b58d686866beab0850e1a 17:34:28 % Total % Received % Xferd Average Speed Time Time Time Current 17:34:28 Dload Upload Total Spent Left Speed 17:34:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3312 0 0 100 3312 0 8118 --:--:-- --:--:-- --:--:-- 8117 100 3312 0 0 100 3312 0 8115 --:--:-- --:--:-- --:--:-- 8117 17:34:28 -> View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/bad7e1bfc72e0dfb6692cb44f1928257282e29c2 [Pipeline] } 17:34:28 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 17:34:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:34:31 ---> package-listing.sh 17:34:31 ++ facter osfamily 17:34:31 ++ tr '[:upper:]' '[:lower:]' 17:34:31 + OS_FAMILY=redhat 17:34:31 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-186 17:34:31 + START_PACKAGES=/tmp/packages_start.txt 17:34:31 + END_PACKAGES=/tmp/packages_end.txt 17:34:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:34:31 + PACKAGES=/tmp/packages_start.txt 17:34:31 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-186 ']' 17:34:31 + PACKAGES=/tmp/packages_end.txt 17:34:31 + case "${OS_FAMILY}" in 17:34:31 + rpm -qa 17:34:31 + sort 17:34:37 + '[' -f /tmp/packages_start.txt ']' 17:34:37 + '[' -f /tmp/packages_end.txt ']' 17:34:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:34:37 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-186 ']' 17:34:37 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-186/archives/ 17:34:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-186/archives/ [Pipeline] echo 17:34:37 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_PR-186/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:34:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:34:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:34:37 17:34:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:34:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:34:38 alpine: Pulling from edgex-lftools-log-publisher 17:34:38 df20fa9351a1: Pulling fs layer 17:34:38 36b3adc4ff6f: Pulling fs layer 17:34:38 8ad3a11d3b57: Pulling fs layer 17:34:38 46f8f816bc3b: Pulling fs layer 17:34:38 93b61091891f: Pulling fs layer 17:34:38 93b9cdb0e59b: Pulling fs layer 17:34:38 5e14af77c1be: Pulling fs layer 17:34:38 01666e4c0597: Pulling fs layer 17:34:38 aa168da1d23b: Pulling fs layer 17:34:38 93b9cdb0e59b: Waiting 17:34:38 5e14af77c1be: Waiting 17:34:38 46f8f816bc3b: Waiting 17:34:38 01666e4c0597: Waiting 17:34:38 93b61091891f: Waiting 17:34:38 aa168da1d23b: Waiting 17:34:38 36b3adc4ff6f: Verifying Checksum 17:34:38 36b3adc4ff6f: Download complete 17:34:38 46f8f816bc3b: Download complete 17:34:38 df20fa9351a1: Verifying Checksum 17:34:38 df20fa9351a1: Download complete 17:34:38 93b9cdb0e59b: Verifying Checksum 17:34:38 93b9cdb0e59b: Download complete 17:34:38 5e14af77c1be: Verifying Checksum 17:34:38 5e14af77c1be: Download complete 17:34:38 93b61091891f: Download complete 17:34:38 01666e4c0597: Verifying Checksum 17:34:38 01666e4c0597: Download complete 17:34:38 8ad3a11d3b57: Verifying Checksum 17:34:38 8ad3a11d3b57: Download complete 17:34:38 df20fa9351a1: Pull complete 17:34:39 36b3adc4ff6f: Pull complete 17:34:39 8ad3a11d3b57: Pull complete 17:34:39 46f8f816bc3b: Pull complete 17:34:40 93b61091891f: Pull complete 17:34:40 aa168da1d23b: Verifying Checksum 17:34:40 aa168da1d23b: Download complete 17:34:40 93b9cdb0e59b: Pull complete 17:34:40 5e14af77c1be: Pull complete 17:34:41 01666e4c0597: Pull complete 17:34:47 aa168da1d23b: Pull complete 17:34:47 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:34:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:34:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:34:47 prd-centos7-docker-4c-2g-14501 does not seem to be running inside a container 17:34:47 $ 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_PR-186/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_PR-186 -v /w/workspace/gexfoundry_device-mqtt-go_PR-186:/w/workspace/gexfoundry_device-mqtt-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-186@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 17:34:52 $ docker top eb8a7a28c53acc0a615204993689690eb680588ecf0f6b161b5a08f8d7fc3e33 -eo pid,comm [Pipeline] { [Pipeline] sh 17:34:52 + touch /tmp/pre-build-complete [Pipeline] sh 17:34:52 + mkdir -p /var/log/sa [Pipeline] sh 17:34:53 + ls /var/log/sa-host 17:34:53 + sadf -c /var/log/sa-host/sa04 17:34:53 file_magic: OK 17:34:53 HZ: Using current value: 100 17:34:53 file_header: OK 17:34:53 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 17:34:53 Statistics: 17:34:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:34:53 File successfully converted to sysstat format version 12.2.1 17:34:53 + sadf -c /var/log/sa-host/sa23 17:34:53 file_magic: OK 17:34:53 HZ: Using current value: 100 17:34:53 file_header: OK 17:34:53 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 17:34:53 Statistics: 17:34:53 Hnuu...uuuununununu... 17:34:53 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:34:53 provisioning config files... 17:34:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-186@tmp/config6755783760239937099tmp [Pipeline] { [Pipeline] echo 17:34:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:34:54 ---> create-netrc.sh [Pipeline] } 17:34:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 17:34:54 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 17:34:54 ---> python-tools-install.sh [Pipeline] echo 17:34:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:34:55 ---> sudo-logs.sh 17:34:55 Archiving 'sudo' log.. [Pipeline] echo 17:34:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:34:55 ---> job-cost.sh 17:34:55 lf-activate-venv: SKIPPING 17:34:55 INFO: No Stack... 17:34:56 INFO: Retrieving Pricing Info for: v1-standard-2 17:34:56 INFO: Archiving Costs [Pipeline] echo 17:34:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:34:57 ---> logs-deploy.sh 17:34:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-186/2 17:34:57 INFO: archiving workspace using pattern(s): 17:34:59 Archives upload complete. 17:34:59 INFO: archiving logs to Nexus 17:35:00 ---> uname -a: 17:35:00 Linux prd-centos7-docker-4c-2g-14501.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 17:35:00 17:35:00 17:35:00 ---> lscpu: 17:35:00 Architecture: x86_64 17:35:00 CPU op-mode(s): 32-bit, 64-bit 17:35:00 Byte Order: Little Endian 17:35:00 Address sizes: 40 bits physical, 48 bits virtual 17:35:00 CPU(s): 4 17:35:00 On-line CPU(s) list: 0-3 17:35:00 Thread(s) per core: 1 17:35:00 Core(s) per socket: 1 17:35:00 Socket(s): 4 17:35:00 NUMA node(s): 1 17:35:00 Vendor ID: GenuineIntel 17:35:00 CPU family: 6 17:35:00 Model: 44 17:35:00 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 17:35:00 Stepping: 1 17:35:00 CPU MHz: 2933.438 17:35:00 BogoMIPS: 5866.87 17:35:00 Virtualization: VT-x 17:35:00 Hypervisor vendor: KVM 17:35:00 Virtualization type: full 17:35:00 L1d cache: 128 KiB 17:35:00 L1i cache: 128 KiB 17:35:00 L2 cache: 16 MiB 17:35:00 L3 cache: 64 MiB 17:35:00 NUMA node0 CPU(s): 0-3 17:35:00 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 17:35:00 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 17:35:00 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 17:35:00 Vulnerability Meltdown: Mitigation; PTI 17:35:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:35:00 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 17:35:00 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 17:35:00 Vulnerability Srbds: Not affected 17:35:00 Vulnerability Tsx async abort: Not affected 17:35:00 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 17:35:00 17:35:00 17:35:00 ---> nproc: 17:35:00 4 17:35:00 17:35:00 17:35:00 ---> df -h: 17:35:00 Filesystem Size Used Available Use% Mounted on 17:35:00 overlay 50.0G 7.3G 42.7G 15% / 17:35:00 tmpfs 64.0M 0 64.0M 0% /dev 17:35:00 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 17:35:00 shm 64.0M 0 64.0M 0% /dev/shm 17:35:00 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 17:35:00 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 17:35:00 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 17:35:00 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 17:35:00 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 17:35:00 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 17:35:00 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/gexfoundry_device-mqtt-go_PR-186 17:35:00 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/gexfoundry_device-mqtt-go_PR-186@tmp 17:35:00 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 17:35:00 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 17:35:00 17:35:00 17:35:00 ---> free -m: 17:35:00 total used free shared buff/cache available 17:35:00 Mem: 1837 681 107 0 1049 1051 17:35:00 Swap: 1023 1 1022 17:35:00 17:35:00 17:35:00 ---> ip addr: 17:35:00 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 17:35:00 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 17:35:00 inet 127.0.0.1/8 scope host lo 17:35:00 valid_lft forever preferred_lft forever 17:35:00 inet6 ::1/128 scope host 17:35:00 valid_lft forever preferred_lft forever 17:35:00 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 17:35:00 link/ether fa:16:3e:5c:c3:ec brd ff:ff:ff:ff:ff:ff 17:35:00 inet 10.30.123.5/23 brd 10.30.123.255 scope global dynamic eth0 17:35:00 valid_lft 85872sec preferred_lft 85872sec 17:35:00 inet6 fe80::f816:3eff:fe5c:c3ec/64 scope link 17:35:00 valid_lft forever preferred_lft forever 17:35:00 3: docker0: mtu 1500 qdisc noqueue state DOWN 17:35:00 link/ether 02:42:1e:6c:35:c7 brd ff:ff:ff:ff:ff:ff 17:35:00 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 17:35:00 valid_lft forever preferred_lft forever 17:35:00 inet6 fe80::42:1eff:fe6c:35c7/64 scope link 17:35:00 valid_lft forever preferred_lft forever 17:35:00 17:35:00 17:35:00 ---> sar -b -r -n DEV: 17:35:00 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/04/20 _x86_64_ (4 CPU) 17:35:00 17:35:00 17:25:59 LINUX RESTART (4 CPU) 17:35:00 17:35:00 17:27:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:35:00 17:28:01 10.99 4.00 6.99 0.00 1076.39 170.88 0.00 17:35:00 17:29:01 0.35 0.00 0.35 0.00 0.00 5.56 0.00 17:35:00 17:30:01 0.30 0.00 0.30 0.00 0.00 4.28 0.00 17:35:00 17:31:01 0.38 0.00 0.38 0.00 0.00 3.76 0.00 17:35:00 17:32:01 0.33 0.00 0.33 0.00 0.00 5.01 0.00 17:35:00 17:33:01 0.32 0.00 0.32 0.00 0.00 4.58 0.00 17:35:00 17:34:01 0.25 0.00 0.25 0.00 0.00 2.70 0.00 17:35:00 Average: 1.85 0.57 1.28 0.00 153.80 28.12 0.00 17:35:00 17:35:00 17:27:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:35:00 17:28:01 143280 0 581404 30.90 2620 1154240 1093028 37.30 429748 1109348 20 17:35:00 17:29:01 148384 0 576292 30.63 2620 1154248 1074760 36.68 427156 1107580 24 17:35:00 17:30:01 146204 0 578468 30.74 2620 1154252 1074904 36.68 434128 1103324 12 17:35:00 17:31:01 145260 0 579412 30.79 2620 1154252 1074672 36.68 436472 1101908 8 17:35:00 17:32:01 143532 0 581132 30.89 2620 1154260 1074772 36.68 429436 1110768 16 17:35:00 17:33:01 142876 0 581784 30.92 2620 1154264 1074880 36.68 430040 1110768 16 17:35:00 17:34:01 144288 0 580368 30.85 2620 1154268 1074676 36.68 428840 1110880 12 17:35:00 Average: 144832 0 579837 30.82 2620 1154255 1077385 36.77 430831 1107797 15 17:35:00 17:35:00 17:27:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:35:00 17:28:01 eth0 28.85 23.34 24.56 24.72 0.00 0.00 0.00 0.00 17:35:00 17:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:00 17:28:01 docker0 2.13 1.67 0.40 3.94 0.00 0.00 0.00 0.00 17:35:00 17:29:01 eth0 3.90 1.92 3.05 0.13 0.00 0.00 0.00 0.00 17:35:00 17:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:00 17:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:00 17:30:01 eth0 1.48 0.75 0.62 0.38 0.00 0.00 0.00 0.00 17:35:00 17:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:00 17:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:00 17:31:01 eth0 0.10 0.08 0.01 0.04 0.00 0.00 0.00 0.00 17:35:00 17:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:00 17:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:00 17:32:01 eth0 0.27 0.18 0.14 0.07 0.00 0.00 0.00 0.00 17:35:00 17:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:00 17:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:00 17:33:01 eth0 0.97 0.23 0.32 0.19 0.00 0.00 0.00 0.00 17:35:00 17:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:00 17:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:00 17:34:01 eth0 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 17:35:00 17:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:00 17:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:00 Average: eth0 5.09 3.80 4.10 3.65 0.00 0.00 0.00 0.00 17:35:00 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:00 Average: docker0 0.30 0.24 0.06 0.56 0.00 0.00 0.00 0.00 17:35:00 17:35:00 17:35:00 ---> sar -P ALL: 17:35:00 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/04/20 _x86_64_ (4 CPU) 17:35:00 17:35:00 17:25:59 LINUX RESTART (4 CPU) 17:35:00 17:35:00 17:27:01 CPU %user %nice %system %iowait %steal %idle 17:35:00 17:28:01 all 1.25 0.00 0.88 0.06 0.00 97.81 17:35:00 17:28:01 0 1.14 0.00 1.00 0.15 0.00 97.71 17:35:00 17:28:01 1 1.64 0.00 0.89 0.00 0.00 97.48 17:35:00 17:28:01 2 1.25 0.00 0.80 0.05 0.00 97.90 17:35:00 17:28:01 3 0.99 0.00 0.84 0.03 0.00 98.15 17:35:00 17:29:01 all 0.17 0.00 0.06 0.00 0.00 99.77 17:35:00 17:29:01 0 0.05 0.00 0.08 0.00 0.02 99.85 17:35:00 17:29:01 1 0.52 0.00 0.07 0.00 0.00 99.42 17:35:00 17:29:01 2 0.05 0.00 0.05 0.00 0.00 99.90 17:35:00 17:29:01 3 0.05 0.00 0.03 0.00 0.00 99.92 17:35:00 17:30:01 all 0.11 0.00 0.05 0.00 0.00 99.84 17:35:00 17:30:01 0 0.07 0.00 0.08 0.00 0.00 99.85 17:35:00 17:30:01 1 0.30 0.00 0.03 0.00 0.00 99.67 17:35:00 17:30:01 2 0.05 0.00 0.03 0.00 0.02 99.90 17:35:00 17:30:01 3 0.03 0.00 0.03 0.00 0.00 99.93 17:35:00 17:31:01 all 0.15 0.00 0.04 0.00 0.00 99.81 17:35:00 17:31:01 0 0.02 0.00 0.05 0.00 0.00 99.93 17:35:00 17:31:01 1 0.50 0.00 0.02 0.00 0.00 99.48 17:35:00 17:31:01 2 0.03 0.00 0.05 0.00 0.00 99.92 17:35:00 17:31:01 3 0.03 0.00 0.05 0.00 0.00 99.92 17:35:00 17:32:01 all 0.18 0.00 0.25 0.00 0.00 99.56 17:35:00 17:32:01 0 0.05 0.00 0.22 0.00 0.00 99.73 17:35:00 17:32:01 1 0.18 0.00 0.23 0.00 0.00 99.58 17:35:00 17:32:01 2 0.12 0.00 0.43 0.00 0.00 99.45 17:35:00 17:32:01 3 0.38 0.00 0.12 0.00 0.02 99.48 17:35:00 17:33:01 all 0.15 0.00 0.05 0.00 0.00 99.81 17:35:00 17:33:01 0 0.03 0.00 0.02 0.00 0.00 99.95 17:35:00 17:33:01 1 0.03 0.00 0.03 0.00 0.00 99.93 17:35:00 17:33:01 2 0.07 0.00 0.10 0.00 0.00 99.83 17:35:00 17:33:01 3 0.45 0.00 0.03 0.00 0.00 99.52 17:35:00 17:34:01 all 0.12 0.00 0.04 0.00 0.00 99.84 17:35:00 17:34:01 0 0.03 0.00 0.05 0.00 0.00 99.92 17:35:00 17:34:01 1 0.02 0.00 0.02 0.00 0.02 99.95 17:35:00 17:34:01 2 0.02 0.00 0.03 0.00 0.00 99.95 17:35:00 17:34:01 3 0.40 0.00 0.05 0.00 0.00 99.55 17:35:00 Average: all 0.30 0.00 0.19 0.01 0.00 99.49 17:35:00 Average: 0 0.20 0.00 0.21 0.02 0.00 99.56 17:35:00 Average: 1 0.45 0.00 0.18 0.00 0.00 99.36 17:35:00 Average: 2 0.23 0.00 0.21 0.01 0.00 99.55 17:35:00 Average: 3 0.33 0.00 0.16 0.00 0.00 99.50 17:35:00 17:35:00 17:35:00