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 [2020-12-04T17:26:46.946Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-04T17:26:47.308Z] 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 [2020-12-04T17:26:47.475Z] ========================================================= [2020-12-04T17:26:47.475Z] EdgeX Global Pipelines Version Info [2020-12-04T17:26:47.475Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-04T17:26:48.928Z] ------------------- [2020-12-04T17:26:48.928Z] stable info: [2020-12-04T17:26:48.928Z] ------------------- [2020-12-04T17:26:48.928Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-04T17:26:48.928Z] Commit SHA: eca33996f4fbe88610f9be003a62d5383d966c7d [2020-12-04T17:26:48.928Z] Message: update stable to v1.0.170 [2020-12-04T17:26:49.878Z] ------------------- [2020-12-04T17:26:49.878Z] experimental info: [2020-12-04T17:26:49.878Z] ------------------- [2020-12-04T17:26:49.878Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-04T17:26:49.878Z] Commit SHA: eca33996f4fbe88610f9be003a62d5383d966c7d [2020-12-04T17:26:49.878Z] Message: update experimental to v1.0.170 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-04T17:26:50.256Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2020-12-04T17:26:50.447Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2020-12-04T17:26:50.551Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-04T17:26:50.688Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-04T17:26:50.805Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-04T17:26:51.029Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-04T17:26:51.152Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-04T17:26:51.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-04T17:26:51.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-04T17:26:51.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-04T17:26:51.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-04T17:26:51.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2020-12-04T17:26:51.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-04T17:26:51.975Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-04T17:26:52.088Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-04T17:26:52.185Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-04T17:26:52.292Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-04T17:26:52.390Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-04T17:26:52.486Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-04T17:26:52.581Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-04T17:26:52.695Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-04T17:26:52.799Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-04T17:26:52.898Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-04T17:26:53.001Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-04T17:26:53.096Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-04T17:26:53.210Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-04T17:26:53.369Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-186 [Pipeline] echo [2020-12-04T17:26:53.472Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-186 [Pipeline] echo [2020-12-04T17:26:53.595Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-186 [Pipeline] echo [2020-12-04T17:26:53.690Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bad7e1bfc72e0dfb6692cb44f1928257282e29c2 [Pipeline] echo [2020-12-04T17:26:53.786Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bad7e1b [Pipeline] echo [2020-12-04T17:26:53.881Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-04T17:26:54.070Z] provisioning config files... [2020-12-04T17:26:54.109Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-186@tmp/config8942602532766645658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-04T17:26:54.483Z] ---> docker-login.sh [2020-12-04T17:26:54.484Z] nexus3.edgexfoundry.org:10001 [2020-12-04T17:26:54.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T17:26:55.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T17:26:55.009Z] Configure a credential helper to remove this warning. See [2020-12-04T17:26:55.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T17:26:55.009Z] [2020-12-04T17:26:55.009Z] Login Succeeded [2020-12-04T17:26:55.009Z] nexus3.edgexfoundry.org:10002 [2020-12-04T17:26:55.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T17:26:55.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T17:26:55.274Z] Configure a credential helper to remove this warning. See [2020-12-04T17:26:55.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T17:26:55.274Z] [2020-12-04T17:26:55.274Z] Login Succeeded [2020-12-04T17:26:55.274Z] nexus3.edgexfoundry.org:10003 [2020-12-04T17:26:55.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T17:26:55.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T17:26:55.274Z] Configure a credential helper to remove this warning. See [2020-12-04T17:26:55.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T17:26:55.274Z] [2020-12-04T17:26:55.274Z] Login Succeeded [2020-12-04T17:26:55.274Z] nexus3.edgexfoundry.org:10004 [2020-12-04T17:26:55.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T17:26:55.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T17:26:55.536Z] Configure a credential helper to remove this warning. See [2020-12-04T17:26:55.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T17:26:55.537Z] [2020-12-04T17:26:55.537Z] Login Succeeded [2020-12-04T17:26:55.537Z] docker.io [2020-12-04T17:26:55.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T17:26:55.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T17:26:55.800Z] Configure a credential helper to remove this warning. See [2020-12-04T17:26:55.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T17:26:55.800Z] [2020-12-04T17:26:55.800Z] Login Succeeded [2020-12-04T17:26:55.800Z] ---> docker-login.sh ends [Pipeline] } [2020-12-04T17:26:55.810Z] 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 [2020-12-04T17:26:56.786Z] + git log --format=format:%s -1 bad7e1bfc72e0dfb6692cb44f1928257282e29c2 [Pipeline] echo [2020-12-04T17:26:56.857Z] GIT_COMMIT: bad7e1bfc72e0dfb6692cb44f1928257282e29c2, Commit Message: feat(snap): add startup-duration and startup-interval configure options [Pipeline] echo [2020-12-04T17:26:56.907Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-04T17:26:58.044Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-04T17:26:58.044Z] [2020-12-04T17:26:58.044Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-04T17:26:58.433Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-04T17:26:58.433Z] latest: Pulling from edgex-devops/git-semver [2020-12-04T17:26:58.433Z] 31603596830f: Pulling fs layer [2020-12-04T17:26:58.433Z] 2a8b12db71e7: Pulling fs layer [2020-12-04T17:26:58.433Z] 6ca5941a6612: Pulling fs layer [2020-12-04T17:26:58.433Z] ecc8261a40a4: Pulling fs layer [2020-12-04T17:26:58.433Z] ecc8261a40a4: Waiting [2020-12-04T17:26:58.433Z] 2a8b12db71e7: Verifying Checksum [2020-12-04T17:26:58.433Z] 2a8b12db71e7: Download complete [2020-12-04T17:26:58.433Z] 31603596830f: Verifying Checksum [2020-12-04T17:26:58.433Z] 31603596830f: Download complete [2020-12-04T17:26:58.705Z] ecc8261a40a4: Verifying Checksum [2020-12-04T17:26:58.705Z] ecc8261a40a4: Download complete [2020-12-04T17:26:58.705Z] 6ca5941a6612: Verifying Checksum [2020-12-04T17:26:58.705Z] 6ca5941a6612: Download complete [2020-12-04T17:26:58.970Z] 31603596830f: Pull complete [2020-12-04T17:26:58.970Z] 2a8b12db71e7: Pull complete [2020-12-04T17:26:59.921Z] 6ca5941a6612: Pull complete [2020-12-04T17:27:00.184Z] ecc8261a40a4: Pull complete [2020-12-04T17:27:00.184Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-04T17:27:00.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-04T17:27:00.184Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-04T17:27:00.294Z] prd-centos7-docker-4c-2g-14501 does not seem to be running inside a container [2020-12-04T17:27:00.346Z] $ 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 [2020-12-04T17:27:02.263Z] $ docker top cf4b7ebfaac951fcf7b23ee4be3893693c86ac541d184a95f994b3fb5f8b9418 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-04T17:27:02.683Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-04T17:27:02.683Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-04T17:27:02.894Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-04T17:27:02.900Z] $ docker exec cf4b7ebfaac951fcf7b23ee4be3893693c86ac541d184a95f994b3fb5f8b9418 ssh-agent [2020-12-04T17:27:03.061Z] SSH_AUTH_SOCK=/tmp/ssh-YaJKOpvL7QTQ/agent.11 [2020-12-04T17:27:03.061Z] SSH_AGENT_PID=16 [2020-12-04T17:27:03.071Z] Running ssh-add (command line suppressed) [2020-12-04T17:27:03.186Z] 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) [2020-12-04T17:27:03.233Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-04T17:27:03.565Z] + git tag --points-at HEAD [Pipeline] } [2020-12-04T17:27:03.596Z] $ docker exec --env ******** --env ******** cf4b7ebfaac951fcf7b23ee4be3893693c86ac541d184a95f994b3fb5f8b9418 ssh-agent -k [2020-12-04T17:27:03.718Z] unset SSH_AUTH_SOCK; [2020-12-04T17:27:03.718Z] unset SSH_AGENT_PID; [2020-12-04T17:27:03.718Z] echo Agent pid 16 killed; [2020-12-04T17:27:03.761Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-04T17:27:03.918Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-04T17:27:03.918Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-04T17:27:04.075Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-04T17:27:04.081Z] $ docker exec cf4b7ebfaac951fcf7b23ee4be3893693c86ac541d184a95f994b3fb5f8b9418 ssh-agent [2020-12-04T17:27:04.241Z] SSH_AUTH_SOCK=/tmp/ssh-Df8YZg7I5S1O/agent.45 [2020-12-04T17:27:04.241Z] SSH_AGENT_PID=50 [2020-12-04T17:27:04.247Z] Running ssh-add (command line suppressed) [2020-12-04T17:27:04.370Z] 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) [2020-12-04T17:27:04.419Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-04T17:27:04.760Z] + git semver init [2020-12-04T17:27:04.760Z] # -> Open(): unable to determine branch for HEAD [2020-12-04T17:27:04.760Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-186/.git [2020-12-04T17:27:04.760Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-186 [2020-12-04T17:27:04.760Z] # $SEMVER_REMOTE_NAME = origin [2020-12-04T17:27:04.760Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-04T17:27:04.760Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-04T17:27:04.760Z] # $SEMVER_BRANCH = PR-186 [2020-12-04T17:27:04.760Z] # $SEMVER_TEMP = /tmp/semver-455532085 [2020-12-04T17:27:04.760Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2020-12-04T17:27:05.336Z] # '/tmp/semver-455532085' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-186/.semver' [2020-12-04T17:27:05.336Z] # -> Force: false [2020-12-04T17:27:05.336Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-186/.semver [Pipeline] } [2020-12-04T17:27:05.351Z] $ docker exec --env ******** --env ******** cf4b7ebfaac951fcf7b23ee4be3893693c86ac541d184a95f994b3fb5f8b9418 ssh-agent -k [2020-12-04T17:27:05.462Z] unset SSH_AUTH_SOCK; [2020-12-04T17:27:05.462Z] unset SSH_AGENT_PID; [2020-12-04T17:27:05.462Z] echo Agent pid 50 killed; [2020-12-04T17:27:05.516Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-04T17:27:05.982Z] + git semver [Pipeline] } [2020-12-04T17:27:06.001Z] $ docker stop --time=1 cf4b7ebfaac951fcf7b23ee4be3893693c86ac541d184a95f994b3fb5f8b9418 [2020-12-04T17:27:07.329Z] $ docker rm -f cf4b7ebfaac951fcf7b23ee4be3893693c86ac541d184a95f994b3fb5f8b9418 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-04T17:27:07.802Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-04T17:27:08.344Z] Stashed 1 file(s) [Pipeline] echo [2020-12-04T17:27:08.347Z] [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 [2020-12-04T17:27:23.959Z] Still waiting to schedule task [2020-12-04T17:27:23.959Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-14501’ [2020-12-04T17:27:23.962Z] Still waiting to schedule task [2020-12-04T17:27:23.962Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline [2020-12-04T17:29:13.410Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14502 in /w/workspace/gexfoundry_device-mqtt-go_PR-186 [Pipeline] { [Pipeline] ws [2020-12-04T17:29:13.515Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2020-12-04T17:29:18.404Z] using credential edgex-jenkins-ssh [2020-12-04T17:29:18.467Z] Cloning the remote Git repository [2020-12-04T17:29:18.564Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-04T17:29:18.684Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2020-12-04T17:29:18.759Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-04T17:29:18.760Z] > git --version # timeout=10 [2020-12-04T17:29:18.776Z] > git --version # 'git version 2.17.1' [2020-12-04T17:29:18.777Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-04T17:29:18.862Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-04T17:29:19.574Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-04T17:29:19.598Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-04T17:29:19.639Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-04T17:29:19.683Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-04T17:29:19.683Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-04T17:29:19.695Z] > 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 [2020-12-04T17:29:20.261Z] Merging remotes/origin/master commit 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 into PR head commit bad7e1bfc72e0dfb6692cb44f1928257282e29c2 [2020-12-04T17:29:20.547Z] Merge succeeded, producing bad7e1bfc72e0dfb6692cb44f1928257282e29c2 [2020-12-04T17:29:20.548Z] Checking out Revision bad7e1bfc72e0dfb6692cb44f1928257282e29c2 (PR-186) [2020-12-04T17:29:20.283Z] > git config core.sparsecheckout # timeout=10 [2020-12-04T17:29:20.303Z] > git checkout -f bad7e1bfc72e0dfb6692cb44f1928257282e29c2 # timeout=10 [2020-12-04T17:29:20.395Z] > git remote # timeout=10 [2020-12-04T17:29:20.424Z] > git config --get remote.origin.url # timeout=10 [2020-12-04T17:29:20.440Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-04T17:29:20.452Z] > git merge 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 [2020-12-04T17:29:20.477Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-04T17:29:20.559Z] > git config core.sparsecheckout # timeout=10 [2020-12-04T17:29:20.601Z] > git checkout -f bad7e1bfc72e0dfb6692cb44f1928257282e29c2 # timeout=10 [2020-12-04T17:29:24.939Z] 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 [2020-12-04T17:29:26.553Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-04T17:29:26.962Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-04T17:29:27.397Z] + sudo service docker restart [2020-12-04T17:29:27.397Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-04T17:29:30.137Z] provisioning config files... [2020-12-04T17:29:30.177Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config1353811568436537445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-04T17:29:30.589Z] ---> docker-login.sh [2020-12-04T17:29:30.589Z] nexus3.edgexfoundry.org:10001 [2020-12-04T17:29:31.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T17:29:31.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T17:29:31.866Z] Configure a credential helper to remove this warning. See [2020-12-04T17:29:31.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T17:29:31.866Z] [2020-12-04T17:29:31.866Z] Login Succeeded [2020-12-04T17:29:31.866Z] nexus3.edgexfoundry.org:10002 [2020-12-04T17:29:32.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T17:29:32.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T17:29:32.417Z] Configure a credential helper to remove this warning. See [2020-12-04T17:29:32.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T17:29:32.417Z] [2020-12-04T17:29:32.417Z] Login Succeeded [2020-12-04T17:29:32.417Z] nexus3.edgexfoundry.org:10003 [2020-12-04T17:29:32.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T17:29:32.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T17:29:32.966Z] Configure a credential helper to remove this warning. See [2020-12-04T17:29:32.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T17:29:32.966Z] [2020-12-04T17:29:32.966Z] Login Succeeded [2020-12-04T17:29:32.966Z] nexus3.edgexfoundry.org:10004 [2020-12-04T17:29:33.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T17:29:33.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T17:29:33.515Z] Configure a credential helper to remove this warning. See [2020-12-04T17:29:33.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T17:29:33.515Z] [2020-12-04T17:29:33.515Z] Login Succeeded [2020-12-04T17:29:33.515Z] docker.io [2020-12-04T17:29:33.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T17:29:34.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T17:29:34.381Z] Configure a credential helper to remove this warning. See [2020-12-04T17:29:34.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T17:29:34.381Z] [2020-12-04T17:29:34.381Z] Login Succeeded [2020-12-04T17:29:34.381Z] ---> docker-login.sh ends [Pipeline] } [2020-12-04T17:29:34.400Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-04T17:29:34.850Z] ========================================================= [2020-12-04T17:29:34.850Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-04T17:29:34.850Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-04T17:29:35.294Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-04T17:29:35.570Z] Sending build context to Docker daemon 492.5kB [2020-12-04T17:29:35.570Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-04T17:29:35.570Z] Step 2/8 : FROM ${BASE} [2020-12-04T17:29:35.844Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-04T17:29:35.844Z] 5f621e34cdf4: Pulling fs layer [2020-12-04T17:29:35.844Z] a4357932f1b6: Pulling fs layer [2020-12-04T17:29:35.844Z] 18c013af1878: Pulling fs layer [2020-12-04T17:29:35.844Z] 00ac8860ef70: Pulling fs layer [2020-12-04T17:29:35.844Z] 63d7cb157983: Pulling fs layer [2020-12-04T17:29:35.844Z] b116817d02f9: Pulling fs layer [2020-12-04T17:29:35.844Z] 745a02a5169b: Pulling fs layer [2020-12-04T17:29:35.844Z] 63d7cb157983: Waiting [2020-12-04T17:29:35.844Z] 00ac8860ef70: Waiting [2020-12-04T17:29:35.844Z] b116817d02f9: Waiting [2020-12-04T17:29:35.844Z] 745a02a5169b: Waiting [2020-12-04T17:29:35.844Z] 18c013af1878: Verifying Checksum [2020-12-04T17:29:35.844Z] 18c013af1878: Download complete [2020-12-04T17:29:35.844Z] a4357932f1b6: Download complete [2020-12-04T17:29:35.844Z] 63d7cb157983: Verifying Checksum [2020-12-04T17:29:35.844Z] 63d7cb157983: Download complete [2020-12-04T17:29:35.844Z] 5f621e34cdf4: Verifying Checksum [2020-12-04T17:29:35.844Z] b116817d02f9: Verifying Checksum [2020-12-04T17:29:35.844Z] b116817d02f9: Download complete [2020-12-04T17:29:36.447Z] 5f621e34cdf4: Pull complete [2020-12-04T17:29:37.054Z] a4357932f1b6: Pull complete [2020-12-04T17:29:37.655Z] 18c013af1878: Pull complete [2020-12-04T17:29:39.085Z] 745a02a5169b: Verifying Checksum [2020-12-04T17:29:39.085Z] 745a02a5169b: Download complete [2020-12-04T17:29:40.059Z] 00ac8860ef70: Verifying Checksum [2020-12-04T17:29:40.059Z] 00ac8860ef70: Download complete [2020-12-04T17:29:50.231Z] 00ac8860ef70: Pull complete [2020-12-04T17:29:50.231Z] 63d7cb157983: Pull complete [2020-12-04T17:29:50.231Z] b116817d02f9: Pull complete [2020-12-04T17:29:53.604Z] Running on prd-centos7-docker-4c-2g-14503 in /w/workspace/gexfoundry_device-mqtt-go_PR-186 [Pipeline] { [Pipeline] ws [2020-12-04T17:29:53.739Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2020-12-04T17:29:54.551Z] 745a02a5169b: Pull complete [2020-12-04T17:29:54.551Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-04T17:29:54.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-04T17:29:54.551Z] ---> b7e6874047d6 [2020-12-04T17:29:54.551Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-04T17:29:56.256Z] using credential edgex-jenkins-ssh [2020-12-04T17:29:56.331Z] Cloning the remote Git repository [2020-12-04T17:29:57.192Z] ---> Running in ff77dc0ac266 [2020-12-04T17:29:56.376Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-04T17:29:56.477Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2020-12-04T17:29:56.584Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-04T17:29:56.585Z] > git --version # timeout=10 [2020-12-04T17:29:56.598Z] > git --version # 'git version 2.24.3' [2020-12-04T17:29:56.599Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-04T17:29:56.643Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-04T17:29:57.215Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-04T17:29:57.228Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-04T17:29:57.245Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-04T17:29:57.259Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-04T17:29:57.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-04T17:29:57.264Z] > 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 [2020-12-04T17:29:57.474Z] Removing intermediate container ff77dc0ac266 [2020-12-04T17:29:57.474Z] ---> 3ca4fce5d4c3 [2020-12-04T17:29:57.474Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-04T17:29:57.474Z] ---> Running in 9bb464023b63 [2020-12-04T17:29:57.720Z] Merging remotes/origin/master commit 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 into PR head commit bad7e1bfc72e0dfb6692cb44f1928257282e29c2 [2020-12-04T17:29:57.812Z] Merge succeeded, producing bad7e1bfc72e0dfb6692cb44f1928257282e29c2 [2020-12-04T17:29:57.812Z] Checking out Revision bad7e1bfc72e0dfb6692cb44f1928257282e29c2 (PR-186) [2020-12-04T17:29:57.730Z] > git config core.sparsecheckout # timeout=10 [2020-12-04T17:29:57.736Z] > git checkout -f bad7e1bfc72e0dfb6692cb44f1928257282e29c2 # timeout=10 [2020-12-04T17:29:57.773Z] > git remote # timeout=10 [2020-12-04T17:29:57.785Z] > git config --get remote.origin.url # timeout=10 [2020-12-04T17:29:57.794Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-04T17:29:57.798Z] > git merge 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 [2020-12-04T17:29:57.807Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-04T17:29:57.816Z] > git config core.sparsecheckout # timeout=10 [2020-12-04T17:29:57.822Z] > git checkout -f bad7e1bfc72e0dfb6692cb44f1928257282e29c2 # timeout=10 [2020-12-04T17:30:00.108Z] Removing intermediate container 9bb464023b63 [2020-12-04T17:30:00.109Z] ---> 80800b7d30b5 [2020-12-04T17:30:00.109Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-04T17:30:00.109Z] ---> Running in d75c826f6251 [2020-12-04T17:30:01.095Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-04T17:30:01.419Z] Commit message: "feat(snap): add startup-duration and startup-interval configure options" [Pipeline] withEnv [Pipeline] { [2020-12-04T17:30:02.117Z] 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 [2020-12-04T17:30:02.722Z] (1/14) Installing libmagic (5.38-r0) [2020-12-04T17:30:02.722Z] (2/14) Installing file (5.38-r0) [2020-12-04T17:30:02.722Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-04T17:30:02.994Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-04T17:30:03.039Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-04T17:30:03.371Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-04T17:30:03.675Z] + sudo service docker restart [2020-12-04T17:30:03.676Z] + true [2020-12-04T17:30:03.676Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-04T17:30:05.151Z] provisioning config files... [2020-12-04T17:30:05.179Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config7223138689284708920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-04T17:30:05.571Z] ---> docker-login.sh [2020-12-04T17:30:05.571Z] nexus3.edgexfoundry.org:10001 [2020-12-04T17:30:05.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T17:30:05.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T17:30:05.834Z] Configure a credential helper to remove this warning. See [2020-12-04T17:30:05.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T17:30:05.834Z] [2020-12-04T17:30:05.834Z] Login Succeeded [2020-12-04T17:30:05.834Z] nexus3.edgexfoundry.org:10002 [2020-12-04T17:30:06.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T17:30:06.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T17:30:06.095Z] Configure a credential helper to remove this warning. See [2020-12-04T17:30:06.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T17:30:06.095Z] [2020-12-04T17:30:06.095Z] Login Succeeded [2020-12-04T17:30:06.095Z] nexus3.edgexfoundry.org:10003 [2020-12-04T17:30:06.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T17:30:06.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T17:30:06.358Z] Configure a credential helper to remove this warning. See [2020-12-04T17:30:06.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T17:30:06.358Z] [2020-12-04T17:30:06.358Z] Login Succeeded [2020-12-04T17:30:06.358Z] nexus3.edgexfoundry.org:10004 [2020-12-04T17:30:06.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T17:30:06.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T17:30:06.358Z] Configure a credential helper to remove this warning. See [2020-12-04T17:30:06.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T17:30:06.358Z] [2020-12-04T17:30:06.358Z] Login Succeeded [2020-12-04T17:30:06.358Z] docker.io [2020-12-04T17:30:06.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-04T17:30:06.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-04T17:30:06.883Z] Configure a credential helper to remove this warning. See [2020-12-04T17:30:06.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-04T17:30:06.883Z] [2020-12-04T17:30:06.883Z] Login Succeeded [2020-12-04T17:30:06.883Z] ---> docker-login.sh ends [Pipeline] } [2020-12-04T17:30:06.892Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-04T17:30:07.231Z] ========================================================= [2020-12-04T17:30:07.231Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-04T17:30:07.231Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-04T17:30:07.294Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-04T17:30:07.294Z] (6/14) Installing patch (2.7.6-r6) [2020-12-04T17:30:07.294Z] (7/14) Installing build-base (0.5-r2) [2020-12-04T17:30:07.294Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-12-04T17:30:07.294Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-04T17:30:07.294Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-12-04T17:30:07.564Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-12-04T17:30:07.564Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-12-04T17:30:07.564Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-12-04T17:30:07.573Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-04T17:30:07.573Z] Sending build context to Docker daemon 493.6kB [2020-12-04T17:30:07.573Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-04T17:30:07.573Z] Step 2/8 : FROM ${BASE} [2020-12-04T17:30:07.573Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-04T17:30:07.573Z] 188c0c94c7c5: Pulling fs layer [2020-12-04T17:30:07.573Z] 0ef7d3d256c8: Pulling fs layer [2020-12-04T17:30:07.573Z] de9db76c5a1d: Pulling fs layer [2020-12-04T17:30:07.573Z] bca2f99d35d6: Pulling fs layer [2020-12-04T17:30:07.573Z] 93359f2a8cfa: Pulling fs layer [2020-12-04T17:30:07.573Z] 7c6f9722023f: Pulling fs layer [2020-12-04T17:30:07.573Z] a35cf1a2eb13: Pulling fs layer [2020-12-04T17:30:07.573Z] 93359f2a8cfa: Waiting [2020-12-04T17:30:07.573Z] 7c6f9722023f: Waiting [2020-12-04T17:30:07.573Z] a35cf1a2eb13: Waiting [2020-12-04T17:30:07.573Z] bca2f99d35d6: Waiting [2020-12-04T17:30:07.833Z] (14/14) Installing openssh (8.3_p1-r0) [2020-12-04T17:30:07.841Z] de9db76c5a1d: Verifying Checksum [2020-12-04T17:30:07.841Z] de9db76c5a1d: Download complete [2020-12-04T17:30:07.841Z] 93359f2a8cfa: Verifying Checksum [2020-12-04T17:30:07.841Z] 93359f2a8cfa: Download complete [2020-12-04T17:30:07.841Z] 7c6f9722023f: Verifying Checksum [2020-12-04T17:30:07.841Z] 7c6f9722023f: Download complete [2020-12-04T17:30:07.841Z] 188c0c94c7c5: Download complete [2020-12-04T17:30:08.106Z] Executing busybox-1.31.1-r19.trigger [2020-12-04T17:30:08.107Z] 188c0c94c7c5: Pull complete [2020-12-04T17:30:08.381Z] 0ef7d3d256c8: Pull complete [2020-12-04T17:30:08.381Z] de9db76c5a1d: Pull complete [2020-12-04T17:30:08.382Z] OK: 221 MiB in 53 packages [2020-12-04T17:30:09.787Z] a35cf1a2eb13: Verifying Checksum [2020-12-04T17:30:09.787Z] a35cf1a2eb13: Download complete [2020-12-04T17:30:10.365Z] bca2f99d35d6: Verifying Checksum [2020-12-04T17:30:10.365Z] bca2f99d35d6: Download complete [2020-12-04T17:30:12.697Z] Removing intermediate container d75c826f6251 [2020-12-04T17:30:12.697Z] ---> ea647912eee4 [2020-12-04T17:30:12.697Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-12-04T17:30:12.697Z] ---> Running in de7be51b8692 [2020-12-04T17:30:12.971Z] Removing intermediate container de7be51b8692 [2020-12-04T17:30:12.971Z] ---> 0afce9b6d8f6 [2020-12-04T17:30:12.971Z] Step 7/8 : COPY . . [2020-12-04T17:30:13.955Z] ---> 1e1a6d9f13e0 [2020-12-04T17:30:13.955Z] Step 8/8 : RUN go mod download [2020-12-04T17:30:13.955Z] ---> Running in 6a518ba8a9cd [2020-12-04T17:30:15.698Z] bca2f99d35d6: Pull complete [2020-12-04T17:30:15.960Z] 93359f2a8cfa: Pull complete [2020-12-04T17:30:15.960Z] 7c6f9722023f: Pull complete [2020-12-04T17:30:21.281Z] a35cf1a2eb13: Pull complete [2020-12-04T17:30:21.281Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-04T17:30:21.281Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-04T17:30:21.281Z] ---> a62c8e92a672 [2020-12-04T17:30:21.281Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-04T17:30:21.281Z] ---> Running in 95fa69c33f47 [2020-12-04T17:30:21.281Z] Removing intermediate container 95fa69c33f47 [2020-12-04T17:30:21.281Z] ---> d51ba7ad39e5 [2020-12-04T17:30:21.281Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-04T17:30:21.281Z] ---> Running in 3ae1b666359d [2020-12-04T17:30:22.241Z] Removing intermediate container 3ae1b666359d [2020-12-04T17:30:22.241Z] ---> 50508ccbf852 [2020-12-04T17:30:22.241Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-04T17:30:22.508Z] ---> Running in ff886d43589c [2020-12-04T17:30:22.773Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-04T17:30:23.721Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-04T17:30:24.300Z] (1/14) Installing libmagic (5.38-r0) [2020-12-04T17:30:24.300Z] (2/14) Installing file (5.38-r0) [2020-12-04T17:30:24.563Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-04T17:30:24.563Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-04T17:30:27.881Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-04T17:30:27.881Z] (6/14) Installing patch (2.7.6-r6) [2020-12-04T17:30:27.881Z] (7/14) Installing build-base (0.5-r2) [2020-12-04T17:30:27.881Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-12-04T17:30:27.881Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-04T17:30:27.881Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-12-04T17:30:28.456Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-12-04T17:30:28.456Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-12-04T17:30:28.456Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-12-04T17:30:28.456Z] (14/14) Installing openssh (8.3_p1-r0) [2020-12-04T17:30:28.719Z] Executing busybox-1.31.1-r19.trigger [2020-12-04T17:30:28.719Z] OK: 237 MiB in 53 packages [2020-12-04T17:30:32.052Z] Removing intermediate container ff886d43589c [2020-12-04T17:30:32.052Z] ---> b198d4dd6775 [2020-12-04T17:30:32.052Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-12-04T17:30:32.316Z] ---> Running in 79060a2fe911 [2020-12-04T17:30:32.316Z] Removing intermediate container 79060a2fe911 [2020-12-04T17:30:32.316Z] ---> bf923e0b858c [2020-12-04T17:30:32.316Z] Step 7/8 : COPY . . [2020-12-04T17:30:33.271Z] ---> 77978983a0b5 [2020-12-04T17:30:33.271Z] Step 8/8 : RUN go mod download [2020-12-04T17:30:33.271Z] ---> Running in eb498e5a76d8 [2020-12-04T17:30:36.152Z] Removing intermediate container 6a518ba8a9cd [2020-12-04T17:30:36.152Z] ---> 4fbf4a4a426a [2020-12-04T17:30:36.152Z] Successfully built 4fbf4a4a426a [2020-12-04T17:30:36.423Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-04T17:30:36.768Z] + docker inspect -f . ci-base-image-arm64 [2020-12-04T17:30:36.769Z] . [Pipeline] withDockerContainer [2020-12-04T17:30:37.017Z] prd-ubuntu18.04-docker-arm64-4c-16g-14502 does not seem to be running inside a container [2020-12-04T17:30:37.112Z] $ 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 [2020-12-04T17:30:38.654Z] $ docker top d93053004b2462e6db1cebf004d8ea05090c3aa65daf72c1975d5bfc68f3ee5f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-04T17:30:39.675Z] + go version [2020-12-04T17:30:39.675Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-04T17:30:39.707Z] $ docker stop --time=1 d93053004b2462e6db1cebf004d8ea05090c3aa65daf72c1975d5bfc68f3ee5f [2020-12-04T17:30:41.739Z] $ docker rm -f d93053004b2462e6db1cebf004d8ea05090c3aa65daf72c1975d5bfc68f3ee5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-04T17:30:42.889Z] + docker inspect -f . ci-base-image-arm64 [2020-12-04T17:30:42.890Z] . [Pipeline] withDockerContainer [2020-12-04T17:30:43.151Z] prd-ubuntu18.04-docker-arm64-4c-16g-14502 does not seem to be running inside a container [2020-12-04T17:30:43.243Z] $ 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 [2020-12-04T17:30:44.813Z] $ docker top 5229ab33a342ab5c5eabba3ee17412e41b61ca581edd52295129e93e5181b38b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-04T17:30:45.841Z] + make test [2020-12-04T17:30:45.841Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-04T17:30:46.825Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-12-04T17:30:55.288Z] Removing intermediate container eb498e5a76d8 [2020-12-04T17:30:55.288Z] ---> 838e29e0ce20 [2020-12-04T17:30:55.288Z] Successfully built 838e29e0ce20 [2020-12-04T17:30:55.288Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-04T17:30:55.603Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-04T17:30:55.603Z] . [Pipeline] withDockerContainer [2020-12-04T17:30:55.809Z] prd-centos7-docker-4c-2g-14503 does not seem to be running inside a container [2020-12-04T17:30:55.945Z] $ 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 [2020-12-04T17:30:56.833Z] $ docker top 24eb609613ef7fdaa965f0bec2fc433f4dc17270cc42ec4d244e3cae63205f90 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-04T17:30:57.338Z] + go version [2020-12-04T17:30:57.338Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-04T17:30:57.354Z] $ docker stop --time=1 24eb609613ef7fdaa965f0bec2fc433f4dc17270cc42ec4d244e3cae63205f90 [2020-12-04T17:30:58.701Z] $ docker rm -f 24eb609613ef7fdaa965f0bec2fc433f4dc17270cc42ec4d244e3cae63205f90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-04T17:30:59.641Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-04T17:30:59.641Z] . [Pipeline] withDockerContainer [2020-12-04T17:30:59.737Z] prd-centos7-docker-4c-2g-14503 does not seem to be running inside a container [2020-12-04T17:30:59.795Z] $ 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 [2020-12-04T17:31:00.363Z] $ docker top 1cce55e8a0b8e0ebdda471be1adfa9c0529783e530384d189a1399fcff87a92c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-04T17:31:00.859Z] + make test [2020-12-04T17:31:00.859Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-04T17:31:01.812Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-12-04T17:31:14.180Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-12-04T17:31:14.180Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 28.3% of statements [2020-12-04T17:31:14.180Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-12-04T17:31:14.180Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-04T17:31:16.776Z] gofmt -l . [2020-12-04T17:31:16.776Z] ["`gofmt -l .`" = ""] [2020-12-04T17:31:16.776Z] ./bin/test-attribution-txt.sh [2020-12-04T17:31:17.734Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-04T17:31:17.750Z] $ docker stop --time=1 1cce55e8a0b8e0ebdda471be1adfa9c0529783e530384d189a1399fcff87a92c [2020-12-04T17:31:20.159Z] $ docker rm -f 1cce55e8a0b8e0ebdda471be1adfa9c0529783e530384d189a1399fcff87a92c [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-04T17:31:20.810Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-04T17:31:21.116Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-04T17:31:23.657Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-04T17:31:23.955Z] + ls -al . [2020-12-04T17:31:23.955Z] total 100 [2020-12-04T17:31:23.955Z] drwxrwxr-x. 9 jenkins jenkins 4096 Dec 4 17:31 . [2020-12-04T17:31:23.955Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 4 17:29 .. [2020-12-04T17:31:23.955Z] -rw-rw-r--. 1 jenkins jenkins 5932 Dec 4 17:29 Attribution.txt [2020-12-04T17:31:23.955Z] drwxrwxr-x. 2 jenkins jenkins 87 Dec 4 17:29 bin [2020-12-04T17:31:23.955Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 4 17:29 cmd [2020-12-04T17:31:23.955Z] -rw-r--r--. 1 jenkins jenkins 18940 Dec 4 17:31 coverage.out [2020-12-04T17:31:23.955Z] -rw-rw-r--. 1 jenkins jenkins 1784 Dec 4 17:29 Dockerfile [2020-12-04T17:31:23.955Z] -rw-rw-r--. 1 jenkins jenkins 953 Dec 4 17:29 Dockerfile.build [2020-12-04T17:31:23.955Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 4 17:29 .dockerignore [2020-12-04T17:31:23.955Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 4 17:30 .git [2020-12-04T17:31:23.955Z] drwxrwxr-x. 2 jenkins jenkins 60 Dec 4 17:29 .github [2020-12-04T17:31:23.955Z] -rw-rw-r--. 1 jenkins jenkins 336 Dec 4 17:29 .gitignore [2020-12-04T17:31:23.955Z] -rw-r--r--. 1 jenkins jenkins 504 Dec 4 17:31 go.mod [2020-12-04T17:31:23.955Z] -rw-r--r--. 1 jenkins jenkins 14793 Dec 4 17:31 go.sum [2020-12-04T17:31:23.955Z] drwxrwxr-x. 3 jenkins jenkins 20 Dec 4 17:29 internal [2020-12-04T17:31:23.955Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 4 17:29 Jenkinsfile [2020-12-04T17:31:23.955Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 4 17:29 LICENSE [2020-12-04T17:31:23.955Z] -rw-rw-r--. 1 jenkins jenkins 902 Dec 4 17:29 Makefile [2020-12-04T17:31:23.955Z] drwxrwxr-x. 2 jenkins jenkins 23 Dec 4 17:29 mock [2020-12-04T17:31:23.955Z] -rw-rw-r--. 1 jenkins jenkins 444 Dec 4 17:29 README.md [2020-12-04T17:31:23.955Z] drwxrwxr-x. 4 jenkins jenkins 71 Dec 4 17:29 snap [2020-12-04T17:31:23.955Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 4 17:27 VERSION [2020-12-04T17:31:23.955Z] -rw-rw-r--. 1 jenkins jenkins 227 Dec 4 17:29 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-04T17:31:24.260Z] + 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 . [2020-12-04T17:31:24.260Z] Sending build context to Docker daemon 513kB [2020-12-04T17:31:24.260Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-12-04T17:31:24.260Z] Step 2/22 : FROM ${BASE} AS builder [2020-12-04T17:31:24.260Z] ---> 838e29e0ce20 [2020-12-04T17:31:24.260Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-12-04T17:31:24.524Z] ---> Running in 161f935f9c5f [2020-12-04T17:31:24.787Z] Removing intermediate container 161f935f9c5f [2020-12-04T17:31:24.787Z] ---> 2155889f6549 [2020-12-04T17:31:24.787Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-12-04T17:31:24.787Z] ---> Running in 4f1a069ba748 [2020-12-04T17:31:24.787Z] Removing intermediate container 4f1a069ba748 [2020-12-04T17:31:24.787Z] ---> 3d238f34625c [2020-12-04T17:31:24.787Z] Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-04T17:31:25.053Z] ---> Running in a3b4c166e83d [2020-12-04T17:31:25.840Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-12-04T17:31:25.840Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.033s coverage: 28.3% of statements [2020-12-04T17:31:25.840Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-12-04T17:31:25.840Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-04T17:31:25.999Z] Removing intermediate container a3b4c166e83d [2020-12-04T17:31:25.999Z] ---> a8d366a00ecc [2020-12-04T17:31:25.999Z] Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-04T17:31:25.999Z] ---> Running in 4fc49a2df543 [2020-12-04T17:31:26.574Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-04T17:31:27.149Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-04T17:31:27.411Z] OK: 237 MiB in 53 packages [2020-12-04T17:31:27.986Z] Removing intermediate container 4fc49a2df543 [2020-12-04T17:31:27.986Z] ---> 08e965d68b62 [2020-12-04T17:31:27.986Z] Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-12-04T17:31:27.986Z] ---> Running in 71d6df40d916 [2020-12-04T17:31:28.250Z] Removing intermediate container 71d6df40d916 [2020-12-04T17:31:28.250Z] ---> 385bcaf950a2 [2020-12-04T17:31:28.250Z] Step 8/22 : COPY . . [2020-12-04T17:31:28.824Z] ---> 67f031231f8f [2020-12-04T17:31:28.824Z] Step 9/22 : ARG MAKE='make build' [2020-12-04T17:31:29.087Z] ---> Running in 73521ca32002 [2020-12-04T17:31:29.087Z] Removing intermediate container 73521ca32002 [2020-12-04T17:31:29.087Z] ---> 942782d63715 [2020-12-04T17:31:29.087Z] Step 10/22 : RUN $MAKE [2020-12-04T17:31:29.350Z] ---> Running in b020936070c5 [2020-12-04T17:31:29.621Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2020-12-04T17:31:34.166Z] gofmt -l . [2020-12-04T17:31:34.166Z] ["`gofmt -l .`" = ""] [2020-12-04T17:31:34.166Z] ./bin/test-attribution-txt.sh [2020-12-04T17:31:34.166Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-04T17:31:34.198Z] $ docker stop --time=1 5229ab33a342ab5c5eabba3ee17412e41b61ca581edd52295129e93e5181b38b [2020-12-04T17:31:36.474Z] $ docker rm -f 5229ab33a342ab5c5eabba3ee17412e41b61ca581edd52295129e93e5181b38b [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-04T17:31:37.380Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-04T17:31:37.452Z] Warning: overwriting stash ‘coverage-report’ [2020-12-04T17:31:38.167Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-04T17:31:39.095Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-04T17:31:39.457Z] + ls -al . [2020-12-04T17:31:39.457Z] total 132 [2020-12-04T17:31:39.457Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 4 17:31 . [2020-12-04T17:31:39.457Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 4 17:29 .. [2020-12-04T17:31:39.457Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 4 17:29 .dockerignore [2020-12-04T17:31:39.457Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 4 17:29 .git [2020-12-04T17:31:39.457Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 4 17:29 .github [2020-12-04T17:31:39.457Z] -rw-rw-r-- 1 jenkins jenkins 336 Dec 4 17:29 .gitignore [2020-12-04T17:31:39.457Z] -rw-rw-r-- 1 jenkins jenkins 5932 Dec 4 17:29 Attribution.txt [2020-12-04T17:31:39.457Z] -rw-rw-r-- 1 jenkins jenkins 1784 Dec 4 17:29 Dockerfile [2020-12-04T17:31:39.457Z] -rw-rw-r-- 1 jenkins jenkins 953 Dec 4 17:29 Dockerfile.build [2020-12-04T17:31:39.457Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 4 17:29 Jenkinsfile [2020-12-04T17:31:39.457Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 4 17:29 LICENSE [2020-12-04T17:31:39.457Z] -rw-rw-r-- 1 jenkins jenkins 902 Dec 4 17:29 Makefile [2020-12-04T17:31:39.457Z] -rw-rw-r-- 1 jenkins jenkins 444 Dec 4 17:29 README.md [2020-12-04T17:31:39.457Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 4 17:27 VERSION [2020-12-04T17:31:39.457Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 4 17:29 bin [2020-12-04T17:31:39.457Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 4 17:29 cmd [2020-12-04T17:31:39.457Z] -rw-r--r-- 1 jenkins jenkins 18940 Dec 4 17:31 coverage.out [2020-12-04T17:31:39.458Z] -rw-r--r-- 1 jenkins jenkins 504 Dec 4 17:31 go.mod [2020-12-04T17:31:39.458Z] -rw-r--r-- 1 jenkins jenkins 14793 Dec 4 17:31 go.sum [2020-12-04T17:31:39.458Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 4 17:29 internal [2020-12-04T17:31:39.458Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 4 17:29 mock [2020-12-04T17:31:39.458Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 4 17:29 snap [2020-12-04T17:31:39.458Z] -rw-rw-r-- 1 jenkins jenkins 227 Dec 4 17:29 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-04T17:31:39.784Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-12-04T17:31:39.829Z] + 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 . [2020-12-04T17:31:40.145Z] Sending build context to Docker daemon 512kB [2020-12-04T17:31:40.433Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-12-04T17:31:40.433Z] Step 2/22 : FROM ${BASE} AS builder [2020-12-04T17:31:40.433Z] ---> 4fbf4a4a426a [2020-12-04T17:31:40.433Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-12-04T17:31:40.433Z] ---> Running in 4fcf9a51ea93 [2020-12-04T17:31:41.033Z] Removing intermediate container 4fcf9a51ea93 [2020-12-04T17:31:41.033Z] ---> a0133ac1f936 [2020-12-04T17:31:41.033Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-12-04T17:31:41.033Z] ---> Running in 38ec8271af16 [2020-12-04T17:31:41.635Z] Removing intermediate container 38ec8271af16 [2020-12-04T17:31:41.635Z] ---> 41136c42f29a [2020-12-04T17:31:41.635Z] Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-04T17:31:41.635Z] ---> Running in 8fe93735946c [2020-12-04T17:31:42.332Z] Removing intermediate container b020936070c5 [2020-12-04T17:31:42.332Z] ---> b06e8a126041 [2020-12-04T17:31:42.332Z] Step 11/22 : FROM alpine [2020-12-04T17:31:42.594Z] latest: Pulling from library/alpine [2020-12-04T17:31:42.594Z] 188c0c94c7c5: Already exists [2020-12-04T17:31:43.167Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-12-04T17:31:43.167Z] Status: Downloaded newer image for alpine:latest [2020-12-04T17:31:43.167Z] ---> d6e46aa2470d [2020-12-04T17:31:43.167Z] Step 12/22 : ENV APP_PORT=49982 [2020-12-04T17:31:43.167Z] ---> Running in 4c60a8c0613f [2020-12-04T17:31:43.429Z] Removing intermediate container 4c60a8c0613f [2020-12-04T17:31:43.429Z] ---> 0177463dd83d [2020-12-04T17:31:43.429Z] Step 13/22 : EXPOSE $APP_PORT [2020-12-04T17:31:43.429Z] ---> Running in 151cfad0573d [2020-12-04T17:31:43.429Z] Removing intermediate container 151cfad0573d [2020-12-04T17:31:43.429Z] ---> 3f8804934994 [2020-12-04T17:31:43.429Z] Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-12-04T17:31:44.000Z] ---> 26327ca95e3f [2020-12-04T17:31:44.000Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2020-12-04T17:31:44.263Z] ---> 17be5d94f1a0 [2020-12-04T17:31:44.263Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2020-12-04T17:31:44.273Z] Removing intermediate container 8fe93735946c [2020-12-04T17:31:44.274Z] ---> 2b4e984147bd [2020-12-04T17:31:44.274Z] Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-04T17:31:44.274Z] ---> Running in 8aa20aa5954b [2020-12-04T17:31:44.524Z] ---> cc8e884ae23c [2020-12-04T17:31:44.524Z] Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-12-04T17:31:44.524Z] ---> Running in 5eb453a4ad4f [2020-12-04T17:31:44.785Z] Removing intermediate container 5eb453a4ad4f [2020-12-04T17:31:44.785Z] ---> 3b82e6e27ee1 [2020-12-04T17:31:44.785Z] Step 18/22 : ENTRYPOINT ["/device-mqtt"] [2020-12-04T17:31:44.785Z] ---> Running in 856ea1371c67 [2020-12-04T17:31:45.048Z] Removing intermediate container 856ea1371c67 [2020-12-04T17:31:45.048Z] ---> 5e3d1d265bf5 [2020-12-04T17:31:45.048Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-04T17:31:45.048Z] ---> Running in 961bf951b9f1 [2020-12-04T17:31:45.250Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-04T17:31:45.310Z] Removing intermediate container 961bf951b9f1 [2020-12-04T17:31:45.310Z] ---> adbd74bc3a8e [2020-12-04T17:31:45.310Z] Step 20/22 : LABEL arch=amd64 [2020-12-04T17:31:45.310Z] ---> Running in 5e6510f06a3a [2020-12-04T17:31:45.570Z] Removing intermediate container 5e6510f06a3a [2020-12-04T17:31:45.570Z] ---> e78071b8677e [2020-12-04T17:31:45.570Z] Step 21/22 : LABEL git_sha=bad7e1bfc72e0dfb6692cb44f1928257282e29c2 [2020-12-04T17:31:45.570Z] ---> Running in ed52df76277d [2020-12-04T17:31:45.570Z] Removing intermediate container ed52df76277d [2020-12-04T17:31:45.570Z] ---> 4b7bbd2d2722 [2020-12-04T17:31:45.570Z] Step 22/22 : LABEL version=0.0.0 [2020-12-04T17:31:45.832Z] ---> Running in 7a022d841606 [2020-12-04T17:31:45.832Z] Removing intermediate container 7a022d841606 [2020-12-04T17:31:45.832Z] ---> ce7d8fe9d2e2 [2020-12-04T17:31:45.832Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-04T17:31:45.832Z] Successfully built ce7d8fe9d2e2 [2020-12-04T17:31:45.843Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-04T17:31:46.094Z] 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 [2020-12-04T17:31:46.439Z] OK: 221 MiB in 53 packages [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node [2020-12-04T17:31:47.874Z] Removing intermediate container 8aa20aa5954b [2020-12-04T17:31:47.874Z] ---> 5737fd05270e [2020-12-04T17:31:47.874Z] Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-12-04T17:31:47.874Z] ---> Running in 9123e373f336 [2020-12-04T17:31:48.470Z] Removing intermediate container 9123e373f336 [2020-12-04T17:31:48.470Z] ---> 014565a48f69 [2020-12-04T17:31:48.470Z] Step 8/22 : COPY . . [2020-12-04T17:31:49.450Z] ---> 41a85e8c2279 [2020-12-04T17:31:49.450Z] Step 9/22 : ARG MAKE='make build' [2020-12-04T17:31:49.450Z] ---> Running in 8f01428cb00e [2020-12-04T17:31:50.047Z] Removing intermediate container 8f01428cb00e [2020-12-04T17:31:50.047Z] ---> 795bf37d71af [2020-12-04T17:31:50.047Z] Step 10/22 : RUN $MAKE [2020-12-04T17:31:50.047Z] ---> Running in 8017970fb32b [2020-12-04T17:31:51.027Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2020-12-04T17:32:01.617Z] Still waiting to schedule task [2020-12-04T17:32:01.617Z] All nodes of label ‘centos7-docker-8c-8g’ are offline [2020-12-04T17:32:17.888Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-12-04T17:32:26.179Z] Removing intermediate container 8017970fb32b [2020-12-04T17:32:26.179Z] ---> 64742b79b0a8 [2020-12-04T17:32:26.179Z] Step 11/22 : FROM alpine [2020-12-04T17:32:26.179Z] latest: Pulling from library/alpine [2020-12-04T17:32:26.451Z] 5f621e34cdf4: Already exists [2020-12-04T17:32:26.723Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-12-04T17:32:26.723Z] Status: Downloaded newer image for alpine:latest [2020-12-04T17:32:26.723Z] ---> 2e77e061c27f [2020-12-04T17:32:26.723Z] Step 12/22 : ENV APP_PORT=49982 [2020-12-04T17:32:26.723Z] ---> Running in 9f83f2601fe6 [2020-12-04T17:32:27.318Z] Removing intermediate container 9f83f2601fe6 [2020-12-04T17:32:27.319Z] ---> c0fcfe520655 [2020-12-04T17:32:27.319Z] Step 13/22 : EXPOSE $APP_PORT [2020-12-04T17:32:27.319Z] ---> Running in 2b67fb778347 [2020-12-04T17:32:27.916Z] Removing intermediate container 2b67fb778347 [2020-12-04T17:32:27.916Z] ---> 81310aee15b3 [2020-12-04T17:32:27.916Z] Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-12-04T17:32:29.351Z] ---> e216a4218ac4 [2020-12-04T17:32:29.351Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2020-12-04T17:32:29.623Z] ---> 17f52364d22d [2020-12-04T17:32:29.623Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2020-12-04T17:32:30.601Z] ---> 82b59824ec6b [2020-12-04T17:32:30.601Z] Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-12-04T17:32:30.601Z] ---> Running in dd0fcb26f598 [2020-12-04T17:32:30.875Z] Removing intermediate container dd0fcb26f598 [2020-12-04T17:32:30.875Z] ---> ac8fc9e9e8e3 [2020-12-04T17:32:30.875Z] Step 18/22 : ENTRYPOINT ["/device-mqtt"] [2020-12-04T17:32:31.149Z] ---> Running in 344bb4babe0c [2020-12-04T17:32:31.745Z] Removing intermediate container 344bb4babe0c [2020-12-04T17:32:31.745Z] ---> aab46ae96679 [2020-12-04T17:32:31.745Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-04T17:32:31.745Z] ---> Running in b61b75fe9689 [2020-12-04T17:32:32.342Z] Removing intermediate container b61b75fe9689 [2020-12-04T17:32:32.342Z] ---> bc8fec559e30 [2020-12-04T17:32:32.342Z] Step 20/22 : LABEL arch=arm64 [2020-12-04T17:32:32.342Z] ---> Running in 42f855cd0176 [2020-12-04T17:32:32.613Z] Removing intermediate container 42f855cd0176 [2020-12-04T17:32:32.614Z] ---> 8e6932daeb3f [2020-12-04T17:32:32.614Z] Step 21/22 : LABEL git_sha=bad7e1bfc72e0dfb6692cb44f1928257282e29c2 [2020-12-04T17:32:32.888Z] ---> Running in 36edb354888d [2020-12-04T17:32:33.164Z] Removing intermediate container 36edb354888d [2020-12-04T17:32:33.164Z] ---> 0f3a75eff9aa [2020-12-04T17:32:33.164Z] Step 22/22 : LABEL version=0.0.0 [2020-12-04T17:32:33.437Z] ---> Running in 50e90877b44e [2020-12-04T17:32:33.711Z] Removing intermediate container 50e90877b44e [2020-12-04T17:32:33.711Z] ---> d2d7d9eb1c74 [2020-12-04T17:32:33.711Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-04T17:32:33.711Z] Successfully built d2d7d9eb1c74 [2020-12-04T17:32:33.982Z] 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] } [2020-12-04T17:32:48.600Z] Running on prd-centos7-docker-8c-8g-14504 in /w/workspace/gexfoundry_device-mqtt-go_PR-186 [Pipeline] { [Pipeline] ws [2020-12-04T17:32:48.659Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2020-12-04T17:32:50.630Z] using credential edgex-jenkins-ssh [2020-12-04T17:32:50.685Z] Cloning the remote Git repository [2020-12-04T17:32:50.045Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-04T17:32:50.105Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2020-12-04T17:32:50.147Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-04T17:32:50.148Z] > git --version # timeout=10 [2020-12-04T17:32:50.153Z] > git --version # 'git version 2.24.3' [2020-12-04T17:32:50.153Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-04T17:32:50.174Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-04T17:32:50.691Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-04T17:32:50.697Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-04T17:32:50.708Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-04T17:32:50.720Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-04T17:32:50.720Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-04T17:32:50.723Z] > 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 [2020-12-04T17:32:52.368Z] Merging remotes/origin/master commit 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 into PR head commit bad7e1bfc72e0dfb6692cb44f1928257282e29c2 [2020-12-04T17:32:52.467Z] Merge succeeded, producing bad7e1bfc72e0dfb6692cb44f1928257282e29c2 [2020-12-04T17:32:52.467Z] Checking out Revision bad7e1bfc72e0dfb6692cb44f1928257282e29c2 (PR-186) [2020-12-04T17:32:51.720Z] > git config core.sparsecheckout # timeout=10 [2020-12-04T17:32:51.725Z] > git checkout -f bad7e1bfc72e0dfb6692cb44f1928257282e29c2 # timeout=10 [2020-12-04T17:32:51.776Z] > git remote # timeout=10 [2020-12-04T17:32:51.780Z] > git config --get remote.origin.url # timeout=10 [2020-12-04T17:32:51.785Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-04T17:32:51.789Z] > git merge 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 [2020-12-04T17:32:51.800Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-04T17:32:51.811Z] > git config core.sparsecheckout # timeout=10 [2020-12-04T17:32:51.814Z] > git checkout -f bad7e1bfc72e0dfb6692cb44f1928257282e29c2 # timeout=10 [2020-12-04T17:32:56.001Z] Commit message: "feat(snap): add startup-duration and startup-interval configure options" [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-12-04T17:32:57.460Z] ++ find /w/workspace/device-mqtt-go/2 [2020-12-04T17:32:57.460Z] ++ grep snapcraft.yaml [2020-12-04T17:32:57.460Z] + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-04T17:32:57.594Z] provisioning config files... [2020-12-04T17:32:57.604Z] copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/2@tmp/config2247647987627999962tmp [Pipeline] { [Pipeline] sh [2020-12-04T17:32:57.975Z] + cp /w/workspace/device-mqtt-go/2@tmp/config2247647987627999962tmp /w/workspace/device-mqtt-go/2/edgex-snap-store-login [Pipeline] sh [2020-12-04T17:32:58.269Z] + 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 [2020-12-04T17:32:58.269Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-12-04T17:32:58.529Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-12-04T17:32:58.529Z] f08d8e2a3ba1: Pulling fs layer [2020-12-04T17:32:58.529Z] 3baa9cb2483b: Pulling fs layer [2020-12-04T17:32:58.529Z] 94e5ff4c0b15: Pulling fs layer [2020-12-04T17:32:58.529Z] 1860925334f9: Pulling fs layer [2020-12-04T17:32:58.529Z] 2daf38717194: Pulling fs layer [2020-12-04T17:32:58.529Z] 309017e8d7a4: Pulling fs layer [2020-12-04T17:32:58.529Z] f7790dc9fd0f: Pulling fs layer [2020-12-04T17:32:58.529Z] cac0ae9282c2: Pulling fs layer [2020-12-04T17:32:58.529Z] 1f4cadf9a1ed: Pulling fs layer [2020-12-04T17:32:58.529Z] 1860925334f9: Waiting [2020-12-04T17:32:58.529Z] 2daf38717194: Waiting [2020-12-04T17:32:58.529Z] 309017e8d7a4: Waiting [2020-12-04T17:32:58.529Z] f7790dc9fd0f: Waiting [2020-12-04T17:32:58.529Z] 1f4cadf9a1ed: Waiting [2020-12-04T17:32:58.529Z] cac0ae9282c2: Waiting [2020-12-04T17:32:58.529Z] 94e5ff4c0b15: Verifying Checksum [2020-12-04T17:32:58.529Z] 94e5ff4c0b15: Download complete [2020-12-04T17:32:58.529Z] 3baa9cb2483b: Download complete [2020-12-04T17:32:58.529Z] 1860925334f9: Verifying Checksum [2020-12-04T17:32:58.529Z] 1860925334f9: Download complete [2020-12-04T17:32:58.529Z] 309017e8d7a4: Verifying Checksum [2020-12-04T17:32:58.529Z] 309017e8d7a4: Download complete [2020-12-04T17:32:58.529Z] f7790dc9fd0f: Download complete [2020-12-04T17:32:58.529Z] cac0ae9282c2: Verifying Checksum [2020-12-04T17:32:58.529Z] cac0ae9282c2: Download complete [2020-12-04T17:32:58.529Z] 1f4cadf9a1ed: Verifying Checksum [2020-12-04T17:32:58.529Z] 1f4cadf9a1ed: Download complete [2020-12-04T17:33:01.830Z] f08d8e2a3ba1: Verifying Checksum [2020-12-04T17:33:01.830Z] f08d8e2a3ba1: Download complete [2020-12-04T17:33:02.401Z] f08d8e2a3ba1: Pull complete [2020-12-04T17:33:02.665Z] 3baa9cb2483b: Pull complete [2020-12-04T17:33:02.926Z] 94e5ff4c0b15: Pull complete [2020-12-04T17:33:02.926Z] 1860925334f9: Pull complete [2020-12-04T17:33:06.248Z] 2daf38717194: Verifying Checksum [2020-12-04T17:33:06.248Z] 2daf38717194: Download complete [2020-12-04T17:33:24.447Z] 2daf38717194: Pull complete [2020-12-04T17:33:24.447Z] 309017e8d7a4: Pull complete [2020-12-04T17:33:24.447Z] f7790dc9fd0f: Pull complete [2020-12-04T17:33:24.447Z] cac0ae9282c2: Pull complete [2020-12-04T17:33:24.447Z] 1f4cadf9a1ed: Pull complete [2020-12-04T17:33:24.447Z] Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 [2020-12-04T17:33:24.447Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-12-04T17:33:26.367Z] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-12-04T17:33:26.367Z] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-12-04T17:33:26.367Z] Get:3 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [15.8 kB] [2020-12-04T17:33:26.367Z] Get:4 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1370 kB] [2020-12-04T17:33:26.367Z] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-12-04T17:33:26.367Z] Get:6 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [236 kB] [2020-12-04T17:33:26.367Z] Get:7 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1815 kB] [2020-12-04T17:33:26.627Z] Get:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-12-04T17:33:26.627Z] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [265 kB] [2020-12-04T17:33:26.888Z] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2243 kB] [2020-12-04T17:33:27.149Z] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2134 kB] [2020-12-04T17:33:27.149Z] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [54.3 kB] [2020-12-04T17:33:27.149Z] Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB] [2020-12-04T17:33:27.149Z] Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB] [2020-12-04T17:33:27.409Z] Fetched 8410 kB in 1s (5640 kB/s) [2020-12-04T17:33:28.794Z] Reading package lists... [2020-12-04T17:33:30.178Z] 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: [2020-12-04T17:33:30.178Z] - README.md [2020-12-04T17:33:30.178Z] [2020-12-04T17:33:30.178Z] If you must store these files within the 'snap' directory, move them to 'snap/local', which is ignored by snapcraft. [2020-12-04T17:33:32.091Z] 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [2020-12-04T17:33:32.091Z] 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 [2020-12-04T17:33:32.091Z] 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [2020-12-04T17:33:32.091Z] 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 [2020-12-04T17:33:33.712Z] 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 [2020-12-04T17:33:35.630Z] 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 [2020-12-04T17:33:36.462Z] 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 [2020-12-04T17:33:36.723Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree [2020-12-04T17:33:36.723Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-12-04T17:33:36.723Z] The following packages were automatically installed and are no longer required: [2020-12-04T17:33:36.723Z] libjq1 libonig4 [2020-12-04T17:33:36.723Z] Use 'sudo apt autoremove' to remove them. [2020-12-04T17:33:36.723Z] Suggested packages: [2020-12-04T17:33:36.723Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-12-04T17:33:36.723Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-12-04T17:33:36.723Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-12-04T17:33:36.723Z] | libterm-readline-perl-perl [2020-12-04T17:33:36.984Z] The following NEW packages will be installed: [2020-12-04T17:33:36.984Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-12-04T17:33:36.984Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-12-04T17:33:36.984Z] The following packages will be upgraded: [2020-12-04T17:33:36.984Z] perl-base [2020-12-04T17:33:36.984Z] 1 upgraded, 14 newly installed, 0 to remove and 50 not upgraded. [2020-12-04T17:33:36.984Z] Need to get 13.4 MB of archives. [2020-12-04T17:33:36.984Z] After this operation, 77.5 MB of additional disk space will be used. [2020-12-04T17:33:37.245Z] 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-base amd64 5.26.1-6ubuntu0.5 [1391 kB] [2020-12-04T17:33:37.767Z] 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] [2020-12-04T17:33:38.029Z] 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] [2020-12-04T17:33:38.029Z] 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] [2020-12-04T17:33:38.029Z] 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] [2020-12-04T17:33:38.029Z] 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] [2020-12-04T17:33:38.029Z] 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] [2020-12-04T17:33:38.029Z] 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] [2020-12-04T17:33:38.029Z] 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] [2020-12-04T17:33:38.029Z] 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] [2020-12-04T17:33:38.029Z] 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] [2020-12-04T17:33:38.029Z] 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] [2020-12-04T17:33:38.029Z] 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] [2020-12-04T17:33:38.289Z] 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] [2020-12-04T17:33:38.289Z] 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] [2020-12-04T17:33:38.289Z] 98% [15 patch 53.7 kB/102 kB 53%] 100% [Working] Fetched 13.4 MB in 1s (9832 kB/s) [2020-12-04T17:33:38.549Z] debconf: delaying package configuration, since apt-utils is not installed [2020-12-04T17:33:38.550Z] (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.) [2020-12-04T17:33:38.550Z] Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_amd64.deb ... [2020-12-04T17:33:38.550Z] Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... [2020-12-04T17:33:41.846Z] Setting up perl-base (5.26.1-6ubuntu0.5) ... [2020-12-04T17:33:41.846Z] Selecting previously unselected package perl-modules-5.26. [2020-12-04T17:33:41.846Z] (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.) [2020-12-04T17:33:41.846Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... [2020-12-04T17:33:41.846Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-12-04T17:33:43.245Z] Selecting previously unselected package libgdbm5:amd64. [2020-12-04T17:33:43.245Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... [2020-12-04T17:33:43.245Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-12-04T17:33:43.245Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-12-04T17:33:43.245Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-12-04T17:33:43.245Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-12-04T17:33:43.245Z] Selecting previously unselected package libperl5.26:amd64. [2020-12-04T17:33:43.245Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_amd64.deb ... [2020-12-04T17:33:43.245Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... [2020-12-04T17:33:43.816Z] Selecting previously unselected package perl. [2020-12-04T17:33:43.816Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_amd64.deb ... [2020-12-04T17:33:43.816Z] Unpacking perl (5.26.1-6ubuntu0.5) ... [2020-12-04T17:33:43.816Z] Selecting previously unselected package less. [2020-12-04T17:33:43.816Z] Preparing to unpack .../05-less_487-0.1_amd64.deb ... [2020-12-04T17:33:43.816Z] Unpacking less (487-0.1) ... [2020-12-04T17:33:44.076Z] Selecting previously unselected package netbase. [2020-12-04T17:33:44.076Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-12-04T17:33:44.076Z] Unpacking netbase (5.4) ... [2020-12-04T17:33:44.076Z] Selecting previously unselected package curl. [2020-12-04T17:33:44.076Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... [2020-12-04T17:33:44.076Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-12-04T17:33:44.076Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-12-04T17:33:44.076Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... [2020-12-04T17:33:44.076Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-12-04T17:33:44.338Z] Selecting previously unselected package liberror-perl. [2020-12-04T17:33:44.338Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-12-04T17:33:44.338Z] Unpacking liberror-perl (0.17025-1) ... [2020-12-04T17:33:44.338Z] Selecting previously unselected package git-man. [2020-12-04T17:33:44.338Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-12-04T17:33:44.338Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-12-04T17:33:44.338Z] Selecting previously unselected package git. [2020-12-04T17:33:44.338Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-12-04T17:33:44.599Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-12-04T17:33:45.170Z] Selecting previously unselected package make. [2020-12-04T17:33:45.170Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... [2020-12-04T17:33:45.170Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-12-04T17:33:45.170Z] Selecting previously unselected package patch. [2020-12-04T17:33:45.170Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-12-04T17:33:45.170Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-12-04T17:33:45.170Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-12-04T17:33:45.170Z] Setting up less (487-0.1) ... [2020-12-04T17:33:45.430Z] Setting up make (4.1-9.1ubuntu1) ... [2020-12-04T17:33:45.430Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-12-04T17:33:45.430Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-12-04T17:33:45.430Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-12-04T17:33:45.430Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-12-04T17:33:45.430Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-12-04T17:33:45.430Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-12-04T17:33:45.691Z] Setting up netbase (5.4) ... [2020-12-04T17:33:45.691Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... [2020-12-04T17:33:45.691Z] Setting up perl (5.26.1-6ubuntu0.5) ... [2020-12-04T17:33:45.691Z] Setting up liberror-perl (0.17025-1) ... [2020-12-04T17:33:45.691Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-12-04T17:33:45.691Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-12-04T17:33:45.691Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-12-04T17:33:47.073Z] curl set to automatically installed. [2020-12-04T17:33:47.073Z] git set to automatically installed. [2020-12-04T17:33:47.073Z] git-man set to automatically installed. [2020-12-04T17:33:47.073Z] less set to automatically installed. [2020-12-04T17:33:47.073Z] libcurl3-gnutls set to automatically installed. [2020-12-04T17:33:47.073Z] liberror-perl set to automatically installed. [2020-12-04T17:33:47.073Z] libgdbm-compat4 set to automatically installed. [2020-12-04T17:33:47.333Z] libgdbm5 set to automatically installed. [2020-12-04T17:33:47.333Z] libperl5.26 set to automatically installed. [2020-12-04T17:33:47.333Z] make set to automatically installed. [2020-12-04T17:33:47.333Z] netbase set to automatically installed. [2020-12-04T17:33:47.333Z] patch set to automatically installed. [2020-12-04T17:33:47.333Z] perl set to automatically installed. [2020-12-04T17:33:47.333Z] perl-base set to automatically installed. [2020-12-04T17:33:47.333Z] perl-modules-5.26 set to automatically installed. [2020-12-04T17:33:47.333Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-12-04T17:33:47.333Z] Please ensure the environment is properly setup before continuing. [2020-12-04T17:33:47.333Z] Ignore this message if the appropriate measures have already been taken [2020-12-04T17:33:47.903Z] Pulling config-common  [2020-12-04T17:33:48.846Z] Pulling go  [2020-12-04T17:33:49.786Z] 'device-mqtt' has dependencies that need to be staged: go [2020-12-04T17:33:49.786Z] Skipping pull go (already ran) [2020-12-04T17:33:49.786Z] Building go  [2020-12-04T17:33:49.786Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-04T17:33:49.786Z] Dload Upload Total Spent Left Speed [2020-12-04T17:33:51.942Z] 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 [2020-12-04T17:33:52.882Z] go1.15.2.linux-amd64.tar.gz: OK [2020-12-04T17:33:59.459Z] Staging go  [2020-12-04T17:33:59.719Z] Pulling device-mqtt  [2020-12-04T17:34:00.659Z] Building config-common  [2020-12-04T17:34:03.957Z] Skipping build go (already ran) [2020-12-04T17:34:03.957Z] Building device-mqtt  [2020-12-04T17:34:04.217Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2020-12-04T17:34:05.159Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.3.0 [2020-12-04T17:34:05.159Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.111 [2020-12-04T17:34:05.159Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-12-04T17:34:05.159Z] go: downloading github.com/spf13/cast v1.3.1 [2020-12-04T17:34:05.420Z] go: downloading gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 [2020-12-04T17:34:05.420Z] go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd [2020-12-04T17:34:05.420Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-12-04T17:34:05.420Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.57 [2020-12-04T17:34:05.420Z] go: downloading github.com/pkg/errors v0.8.1 [2020-12-04T17:34:05.420Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2020-12-04T17:34:05.420Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-12-04T17:34:05.420Z] go: downloading github.com/google/uuid v1.1.2 [2020-12-04T17:34:05.420Z] go: downloading github.com/go-playground/validator/v10 v10.3.0 [2020-12-04T17:34:05.420Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 [2020-12-04T17:34:05.420Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 [2020-12-04T17:34:05.420Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-12-04T17:34:05.420Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-12-04T17:34:05.420Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2020-12-04T17:34:05.683Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 [2020-12-04T17:34:05.683Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2020-12-04T17:34:05.683Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-12-04T17:34:05.683Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-12-04T17:34:05.683Z] go: downloading github.com/x448/float16 v0.8.4 [2020-12-04T17:34:05.683Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-12-04T17:34:05.683Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2020-12-04T17:34:05.683Z] go: downloading github.com/leodido/go-urn v1.2.0 [2020-12-04T17:34:05.683Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-12-04T17:34:05.683Z] go: downloading github.com/go-playground/locales v0.13.0 [2020-12-04T17:34:05.683Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-12-04T17:34:05.683Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-12-04T17:34:05.683Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-12-04T17:34:05.683Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-12-04T17:34:05.683Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-12-04T17:34:05.683Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-12-04T17:34:05.683Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-12-04T17:34:05.944Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-12-04T17:34:05.944Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-12-04T17:34:05.944Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2020-12-04T17:34:12.565Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-12-04T17:34:15.112Z] Staging config-common  [2020-12-04T17:34:16.054Z] Skipping stage go (already ran) [2020-12-04T17:34:16.054Z] Staging device-mqtt  [2020-12-04T17:34:16.996Z] Priming config-common  [2020-12-04T17:34:17.937Z] Priming go  [2020-12-04T17:34:18.507Z] Priming device-mqtt  [2020-12-04T17:34:19.449Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-12-04T17:34:19.449Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-12-04T17:34:19.449Z] Determining the version from the project repo (version-script). [2020-12-04T17:34:19.735Z] The version has been set to 'local-dev-20201204+bad7e1b' [2020-12-04T17:34:20.274Z] Snapping | Snapping / Snapping - Snapping | [2020-12-04T17:34:20.274Z] Snapped edgex-device-mqtt_local-dev-20201204+bad7e1b_amd64.snap [Pipeline] } [2020-12-04T17:34:23.596Z] 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 [2020-12-04T17:34:26.813Z] provisioning config files... [2020-12-04T17:34:26.824Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-186@tmp/config6237692907551499579tmp [Pipeline] { [Pipeline] sh [2020-12-04T17:34:27.224Z] + set +x [2020-12-04T17:34:27.224Z] + curl -s https://codecov.io/bash [2020-12-04T17:34:27.224Z] + bash -s -- [2020-12-04T17:34:27.486Z] [2020-12-04T17:34:27.486Z] _____ _ [2020-12-04T17:34:27.486Z] / ____| | | [2020-12-04T17:34:27.486Z] | | ___ __| | ___ ___ _____ __ [2020-12-04T17:34:27.486Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-04T17:34:27.486Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-04T17:34:27.486Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-04T17:34:27.486Z] Bash-20201130-cc6d3fe [2020-12-04T17:34:27.486Z] [2020-12-04T17:34:27.486Z] [2020-12-04T17:34:27.486Z] ==> Jenkins CI detected. [2020-12-04T17:34:27.486Z] project root: . [2020-12-04T17:34:27.486Z] --> token set from env [2020-12-04T17:34:27.487Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-04T17:34:27.487Z] ==> Running gcov in . (disable via -X gcov) [2020-12-04T17:34:27.487Z] ==> Python coveragepy not found [2020-12-04T17:34:27.487Z] ==> Searching for coverage reports in: [2020-12-04T17:34:27.487Z] + . [2020-12-04T17:34:27.487Z] -> Found 1 reports [2020-12-04T17:34:27.487Z] ==> Detecting git/mercurial file structure [2020-12-04T17:34:27.487Z] ==> Reading reports [2020-12-04T17:34:27.487Z] + ./coverage.out bytes=18940 [2020-12-04T17:34:27.749Z] ==> Appending adjustments [2020-12-04T17:34:27.749Z] https://docs.codecov.io/docs/fixing-reports [2020-12-04T17:34:27.749Z] + Found adjustments [2020-12-04T17:34:27.749Z] ==> Gzipping contents [2020-12-04T17:34:27.749Z] 4.0K /tmp/codecov.gPLSor.gz [2020-12-04T17:34:27.749Z] ==> Uploading reports [2020-12-04T17:34:27.749Z] url: https://codecov.io [2020-12-04T17:34:27.749Z] 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= [2020-12-04T17:34:27.749Z] -> Pinging Codecov [2020-12-04T17:34:27.749Z] 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= [2020-12-04T17:34:28.325Z] -> Uploading to [2020-12-04T17:34:28.325Z] 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 [2020-12-04T17:34:28.325Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-04T17:34:28.325Z] Dload Upload Total Spent Left Speed [2020-12-04T17:34:28.594Z] 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 [2020-12-04T17:34:28.594Z] -> View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/bad7e1bfc72e0dfb6692cb44f1928257282e29c2 [Pipeline] } [2020-12-04T17:34:28.604Z] 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 [2020-12-04T17:34:31.604Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-04T17:34:31.918Z] ---> package-listing.sh [2020-12-04T17:34:31.918Z] ++ facter osfamily [2020-12-04T17:34:31.918Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-04T17:34:31.918Z] + OS_FAMILY=redhat [2020-12-04T17:34:31.918Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-186 [2020-12-04T17:34:31.918Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-04T17:34:31.918Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-04T17:34:31.918Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-04T17:34:31.918Z] + PACKAGES=/tmp/packages_start.txt [2020-12-04T17:34:31.918Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-186 ']' [2020-12-04T17:34:31.918Z] + PACKAGES=/tmp/packages_end.txt [2020-12-04T17:34:31.918Z] + case "${OS_FAMILY}" in [2020-12-04T17:34:31.918Z] + rpm -qa [2020-12-04T17:34:31.918Z] + sort [2020-12-04T17:34:37.244Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-04T17:34:37.244Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-04T17:34:37.244Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-04T17:34:37.244Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-186 ']' [2020-12-04T17:34:37.244Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-186/archives/ [2020-12-04T17:34:37.244Z] + 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 [2020-12-04T17:34:37.260Z] 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 [2020-12-04T17:34:37.552Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-04T17:34:37.861Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-04T17:34:37.861Z] [2020-12-04T17:34:37.861Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-04T17:34:38.214Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-04T17:34:38.214Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-04T17:34:38.214Z] df20fa9351a1: Pulling fs layer [2020-12-04T17:34:38.214Z] 36b3adc4ff6f: Pulling fs layer [2020-12-04T17:34:38.214Z] 8ad3a11d3b57: Pulling fs layer [2020-12-04T17:34:38.214Z] 46f8f816bc3b: Pulling fs layer [2020-12-04T17:34:38.214Z] 93b61091891f: Pulling fs layer [2020-12-04T17:34:38.214Z] 93b9cdb0e59b: Pulling fs layer [2020-12-04T17:34:38.214Z] 5e14af77c1be: Pulling fs layer [2020-12-04T17:34:38.214Z] 01666e4c0597: Pulling fs layer [2020-12-04T17:34:38.214Z] aa168da1d23b: Pulling fs layer [2020-12-04T17:34:38.214Z] 93b9cdb0e59b: Waiting [2020-12-04T17:34:38.214Z] 5e14af77c1be: Waiting [2020-12-04T17:34:38.214Z] 46f8f816bc3b: Waiting [2020-12-04T17:34:38.214Z] 01666e4c0597: Waiting [2020-12-04T17:34:38.214Z] 93b61091891f: Waiting [2020-12-04T17:34:38.214Z] aa168da1d23b: Waiting [2020-12-04T17:34:38.214Z] 36b3adc4ff6f: Verifying Checksum [2020-12-04T17:34:38.214Z] 36b3adc4ff6f: Download complete [2020-12-04T17:34:38.214Z] 46f8f816bc3b: Download complete [2020-12-04T17:34:38.486Z] df20fa9351a1: Verifying Checksum [2020-12-04T17:34:38.486Z] df20fa9351a1: Download complete [2020-12-04T17:34:38.486Z] 93b9cdb0e59b: Verifying Checksum [2020-12-04T17:34:38.486Z] 93b9cdb0e59b: Download complete [2020-12-04T17:34:38.486Z] 5e14af77c1be: Verifying Checksum [2020-12-04T17:34:38.486Z] 5e14af77c1be: Download complete [2020-12-04T17:34:38.486Z] 93b61091891f: Download complete [2020-12-04T17:34:38.486Z] 01666e4c0597: Verifying Checksum [2020-12-04T17:34:38.486Z] 01666e4c0597: Download complete [2020-12-04T17:34:38.486Z] 8ad3a11d3b57: Verifying Checksum [2020-12-04T17:34:38.486Z] 8ad3a11d3b57: Download complete [2020-12-04T17:34:38.748Z] df20fa9351a1: Pull complete [2020-12-04T17:34:39.012Z] 36b3adc4ff6f: Pull complete [2020-12-04T17:34:39.600Z] 8ad3a11d3b57: Pull complete [2020-12-04T17:34:39.866Z] 46f8f816bc3b: Pull complete [2020-12-04T17:34:40.817Z] 93b61091891f: Pull complete [2020-12-04T17:34:40.817Z] aa168da1d23b: Verifying Checksum [2020-12-04T17:34:40.817Z] aa168da1d23b: Download complete [2020-12-04T17:34:40.817Z] 93b9cdb0e59b: Pull complete [2020-12-04T17:34:40.817Z] 5e14af77c1be: Pull complete [2020-12-04T17:34:41.080Z] 01666e4c0597: Pull complete [2020-12-04T17:34:47.713Z] aa168da1d23b: Pull complete [2020-12-04T17:34:47.713Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-04T17:34:47.713Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-04T17:34:47.713Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-04T17:34:47.901Z] prd-centos7-docker-4c-2g-14501 does not seem to be running inside a container [2020-12-04T17:34:47.952Z] $ 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 [2020-12-04T17:34:52.115Z] $ docker top eb8a7a28c53acc0a615204993689690eb680588ecf0f6b161b5a08f8d7fc3e33 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-04T17:34:52.697Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-04T17:34:52.999Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-04T17:34:53.300Z] + ls /var/log/sa-host [2020-12-04T17:34:53.300Z] + sadf -c /var/log/sa-host/sa04 [2020-12-04T17:34:53.300Z] file_magic: OK [2020-12-04T17:34:53.300Z] HZ: Using current value: 100 [2020-12-04T17:34:53.300Z] file_header: OK [2020-12-04T17:34:53.300Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-04T17:34:53.300Z] Statistics: [2020-12-04T17:34:53.300Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-04T17:34:53.300Z] File successfully converted to sysstat format version 12.2.1 [2020-12-04T17:34:53.300Z] + sadf -c /var/log/sa-host/sa23 [2020-12-04T17:34:53.300Z] file_magic: OK [2020-12-04T17:34:53.300Z] HZ: Using current value: 100 [2020-12-04T17:34:53.300Z] file_header: OK [2020-12-04T17:34:53.300Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-04T17:34:53.300Z] Statistics: [2020-12-04T17:34:53.300Z] Hnuu...uuuununununu... [2020-12-04T17:34:53.300Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-04T17:34:53.915Z] provisioning config files... [2020-12-04T17:34:53.931Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-186@tmp/config6755783760239937099tmp [Pipeline] { [Pipeline] echo [2020-12-04T17:34:54.013Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-04T17:34:54.311Z] ---> create-netrc.sh [Pipeline] } [2020-12-04T17:34:54.322Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-04T17:34:54.426Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-04T17:34:54.725Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-04T17:34:54.736Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-04T17:34:55.035Z] ---> sudo-logs.sh [2020-12-04T17:34:55.035Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-04T17:34:55.047Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-04T17:34:55.345Z] ---> job-cost.sh [2020-12-04T17:34:55.345Z] lf-activate-venv: SKIPPING [2020-12-04T17:34:55.345Z] INFO: No Stack... [2020-12-04T17:34:56.734Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-04T17:34:56.996Z] INFO: Archiving Costs [Pipeline] echo [2020-12-04T17:34:57.010Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-04T17:34:57.307Z] ---> logs-deploy.sh [2020-12-04T17:34:57.307Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-186/2 [2020-12-04T17:34:57.307Z] INFO: archiving workspace using pattern(s): [2020-12-04T17:34:59.228Z] Archives upload complete. [2020-12-04T17:34:59.228Z] INFO: archiving logs to Nexus