Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f51cf776bc0fe71d2f4f3abd3ccae881808a4c9b+b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 (a5d08bb87edf1b17520d7f11de5e94fdec1a94fd) 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > 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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-9600 in /w/workspace/gexfoundry_device-mqtt-go_PR-179 [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-179 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --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 Merging remotes/origin/master commit b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 into PR head commit f51cf776bc0fe71d2f4f3abd3ccae881808a4c9b Merge succeeded, producing ced8a9762b11cd855a349cb69fd00ee291895ad5 Checking out Revision ced8a9762b11cd855a349cb69fd00ee291895ad5 (PR-179) > 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 --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f51cf776bc0fe71d2f4f3abd3ccae881808a4c9b # 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 b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ced8a9762b11cd855a349cb69fd00ee291895ad5 # timeout=10 Commit message: "Merge commit 'b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8' into HEAD" > git rev-list --no-walk f51cf776bc0fe71d2f4f3abd3ccae881808a4c9b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:17:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:17:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:17:43 ========================================================= 23:17:43 EdgeX Global Pipelines Version Info 23:17:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:17:45 ------------------- 23:17:45 stable info: 23:17:45 ------------------- 23:17:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:17:45 Commit SHA: f3f382fce060f16c10d6f597981912fab355381a 23:17:45 Message: update stable to v1.0.148 23:17:46 ------------------- 23:17:46 experimental info: 23:17:46 ------------------- 23:17:46 Commited By: **** collab-it+edgex@linuxfoundation.org 23:17:46 Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 23:17:46 Message: update experimental to v1.0.152 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 23:17:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:17:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:17:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:17:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:17:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:17:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 23:17:47 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:17:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 23:17:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:17:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:17:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo 23:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:17:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:17:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:17:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:17:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:17:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:17:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 23:17:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:17:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:17:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:17:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:17:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:17:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-179 [Pipeline] echo 23:17:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-179 [Pipeline] echo 23:17:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-179 [Pipeline] echo 23:17:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ced8a9762b11cd855a349cb69fd00ee291895ad5 [Pipeline] echo 23:17:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ced8a97 [Pipeline] echo 23:17:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:17:50 + git log --format=format:%s -1 ced8a9762b11cd855a349cb69fd00ee291895ad5 [Pipeline] echo 23:17:50 GIT_COMMIT: ced8a9762b11cd855a349cb69fd00ee291895ad5, Commit Message: Merge commit 'b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8' into HEAD [Pipeline] echo 23:17:50 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:17:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:17:52 23:17:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:17:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:17:52 latest: Pulling from edgex-devops/git-semver 23:17:52 31603596830f: Pulling fs layer 23:17:52 2a8b12db71e7: Pulling fs layer 23:17:52 6ca5941a6612: Pulling fs layer 23:17:52 ecc8261a40a4: Pulling fs layer 23:17:52 ecc8261a40a4: Waiting 23:17:52 2a8b12db71e7: Verifying Checksum 23:17:52 2a8b12db71e7: Download complete 23:17:52 31603596830f: Verifying Checksum 23:17:52 31603596830f: Download complete 23:17:52 ecc8261a40a4: Verifying Checksum 23:17:52 ecc8261a40a4: Download complete 23:17:53 6ca5941a6612: Verifying Checksum 23:17:53 6ca5941a6612: Download complete 23:17:53 31603596830f: Pull complete 23:17:53 2a8b12db71e7: Pull complete 23:17:54 6ca5941a6612: Pull complete 23:17:54 ecc8261a40a4: Pull complete 23:17:54 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 23:17:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:17:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:17:54 prd-centos7-docker-4c-2g-9600 does not seem to be running inside a container 23:17:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-179 -v /w/workspace/gexfoundry_device-mqtt-go_PR-179:/w/workspace/gexfoundry_device-mqtt-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:17:56 $ docker top f45629a7d355aa69e59ee132f8db1268b3130bacb62a5656affc6e36bf2f629a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:17:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:17:56 [ssh-agent] Looking for ssh-agent implementation... 23:17:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:17:56 $ docker exec f45629a7d355aa69e59ee132f8db1268b3130bacb62a5656affc6e36bf2f629a ssh-agent 23:17:57 SSH_AUTH_SOCK=/tmp/ssh-xBQMG8C5fhae/agent.11 23:17:57 SSH_AGENT_PID=16 23:17:57 Running ssh-add (command line suppressed) 23:17:57 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_8220802351354270587.key (/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_8220802351354270587.key) 23:17:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:17:57 + git tag --points-at HEAD [Pipeline] } 23:17:57 $ docker exec --env ******** --env ******** f45629a7d355aa69e59ee132f8db1268b3130bacb62a5656affc6e36bf2f629a ssh-agent -k 23:17:57 unset SSH_AUTH_SOCK; 23:17:57 unset SSH_AGENT_PID; 23:17:57 echo Agent pid 16 killed; 23:17:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:17:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:17:58 [ssh-agent] Looking for ssh-agent implementation... 23:17:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:17:58 $ docker exec f45629a7d355aa69e59ee132f8db1268b3130bacb62a5656affc6e36bf2f629a ssh-agent 23:17:58 SSH_AUTH_SOCK=/tmp/ssh-LJxUEaV8KmWp/agent.44 23:17:58 SSH_AGENT_PID=49 23:17:58 Running ssh-add (command line suppressed) 23:17:58 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_905854057885380871.key (/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_905854057885380871.key) 23:17:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:17:58 + git semver init 23:17:58 # -> Open(): unable to determine branch for HEAD 23:17:58 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-179/.git 23:17:58 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-179 23:17:58 # $SEMVER_REMOTE_NAME = origin 23:17:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:17:58 # $SEMVER_USER_NAME = edgex-jenkins 23:17:58 # $SEMVER_BRANCH = PR-179 23:17:58 # $SEMVER_TEMP = /tmp/semver-609037083 23:17:58 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 23:17:59 # '/tmp/semver-609037083' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-179/.semver' 23:17:59 # -> Force: false 23:17:59 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-179/.semver [Pipeline] } 23:17:59 $ docker exec --env ******** --env ******** f45629a7d355aa69e59ee132f8db1268b3130bacb62a5656affc6e36bf2f629a ssh-agent -k 23:17:59 unset SSH_AUTH_SOCK; 23:17:59 unset SSH_AGENT_PID; 23:17:59 echo Agent pid 49 killed; 23:17:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:17:59 + git semver [Pipeline] } 23:17:59 $ docker stop --time=1 f45629a7d355aa69e59ee132f8db1268b3130bacb62a5656affc6e36bf2f629a 23:18:01 $ docker rm -f f45629a7d355aa69e59ee132f8db1268b3130bacb62a5656affc6e36bf2f629a [Pipeline] // withDockerContainer [Pipeline] sh 23:18:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:18:02 Stashed 1 file(s) [Pipeline] echo 23:18:02 [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 23:18:17 Still waiting to schedule task 23:18:17 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:18:17 Still waiting to schedule task 23:18:17 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:20:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-9601 in /w/workspace/gexfoundry_device-mqtt-go_PR-179 [Pipeline] { [Pipeline] ws 23:20:01 Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout 23:20:06 using credential edgex-jenkins-ssh 23:20:06 Cloning the remote Git repository 23:20:06 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:20:06 > git init /w/workspace/device-mqtt-go/5 # timeout=10 23:20:06 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:20:06 > git --version # timeout=10 23:20:06 > git --version # 'git version 2.17.1' 23:20:06 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:08 Merging remotes/origin/master commit b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 into PR head commit f51cf776bc0fe71d2f4f3abd3ccae881808a4c9b 23:20:08 Merge succeeded, producing aff16900b50242f4927e598d6420a5e236953490 23:20:08 Checking out Revision aff16900b50242f4927e598d6420a5e236953490 (PR-179) 23:20:07 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:20:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:07 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:20:07 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:20:07 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:20:08 > git config core.sparsecheckout # timeout=10 23:20:08 > git checkout -f f51cf776bc0fe71d2f4f3abd3ccae881808a4c9b # timeout=10 23:20:08 > git remote # timeout=10 23:20:08 > git config --get remote.origin.url # timeout=10 23:20:08 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:08 > git merge b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 # timeout=10 23:20:08 > git rev-parse HEAD^{commit} # timeout=10 23:20:08 > git config core.sparsecheckout # timeout=10 23:20:08 > git checkout -f aff16900b50242f4927e598d6420a5e236953490 # timeout=10 23:20:12 Commit message: "Merge commit 'b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8' into HEAD" 23:20:12 > git rev-list --no-walk f51cf776bc0fe71d2f4f3abd3ccae881808a4c9b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:20:14 ========================================================= 23:20:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 23:20:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:20:15 + 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 . 23:20:15 Sending build context to Docker daemon 464.9kB 23:20:16 Step 1/8 : ARG BASE=golang:1.15-alpine 23:20:16 Step 2/8 : FROM ${BASE} 23:20:16 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:20:16 b538f80385f9: Pulling fs layer 23:20:16 74f711af9a0d: Pulling fs layer 23:20:16 99f96fe45779: Pulling fs layer 23:20:16 8529a6b9a6be: Pulling fs layer 23:20:16 45590311c82a: Pulling fs layer 23:20:16 69ca0ff8b7b3: Pulling fs layer 23:20:16 209524e5b208: Pulling fs layer 23:20:16 8529a6b9a6be: Waiting 23:20:16 45590311c82a: Waiting 23:20:16 69ca0ff8b7b3: Waiting 23:20:16 209524e5b208: Waiting 23:20:16 99f96fe45779: Verifying Checksum 23:20:16 99f96fe45779: Download complete 23:20:16 74f711af9a0d: Verifying Checksum 23:20:16 74f711af9a0d: Download complete 23:20:16 45590311c82a: Verifying Checksum 23:20:16 45590311c82a: Download complete 23:20:16 69ca0ff8b7b3: Download complete 23:20:16 b538f80385f9: Verifying Checksum 23:20:16 b538f80385f9: Download complete 23:20:17 b538f80385f9: Pull complete 23:20:18 74f711af9a0d: Pull complete 23:20:18 99f96fe45779: Pull complete 23:20:19 209524e5b208: Verifying Checksum 23:20:19 209524e5b208: Download complete 23:20:20 8529a6b9a6be: Verifying Checksum 23:20:20 8529a6b9a6be: Download complete 23:20:30 8529a6b9a6be: Pull complete 23:20:30 45590311c82a: Pull complete 23:20:30 69ca0ff8b7b3: Pull complete 23:20:34 209524e5b208: Pull complete 23:20:34 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 23:20:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 23:20:34 ---> 5bddaf1c2fca 23:20:34 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 23:20:36 ---> Running in f537e1747474 23:20:37 Removing intermediate container f537e1747474 23:20:37 ---> e2e1235b5082 23:20:37 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:20:37 ---> Running in 87d8d764abdd 23:20:40 Removing intermediate container 87d8d764abdd 23:20:40 ---> c394df9d0270 23:20:40 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 23:20:40 ---> Running in 1a0000c28467 23:20:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:20:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:20:42 (1/14) Installing libmagic (5.38-r0) 23:20:42 (2/14) Installing file (5.38-r0) 23:20:42 (3/14) Installing libc-dev (0.7.2-r3) 23:20:42 (4/14) Installing g++ (9.3.0-r2) 23:20:47 (5/14) Installing fortify-headers (1.1-r0) 23:20:47 (6/14) Installing patch (2.7.6-r6) 23:20:47 (7/14) Installing build-base (0.5-r2) 23:20:47 (8/14) Installing openssh-keygen (8.3_p1-r0) 23:20:47 (9/14) Installing libedit (20191231.3.1-r0) 23:20:47 (10/14) Installing openssh-client (8.3_p1-r0) 23:20:47 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 23:20:47 (12/14) Installing openssh-server-common (8.3_p1-r0) 23:20:47 (13/14) Installing openssh-server (8.3_p1-r0) 23:20:47 (14/14) Installing openssh (8.3_p1-r0) 23:20:48 Executing busybox-1.31.1-r16.trigger 23:20:48 OK: 221 MiB in 53 packages 23:20:52 Removing intermediate container 1a0000c28467 23:20:52 ---> 27a04c27a0fb 23:20:52 Step 6/8 : WORKDIR /device-mqtt-go 23:20:52 ---> Running in b10a3e9e4ac2 23:20:52 Removing intermediate container b10a3e9e4ac2 23:20:52 ---> 51bb07ab3d56 23:20:52 Step 7/8 : COPY . . 23:20:53 ---> 166dea533571 23:20:53 Step 8/8 : RUN go mod download 23:20:53 ---> Running in 329b6268bcd9 23:21:01 Running on prd-centos7-docker-4c-2g-9602 in /w/workspace/gexfoundry_device-mqtt-go_PR-179 [Pipeline] { [Pipeline] ws 23:21:01 Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout 23:21:04 using credential edgex-jenkins-ssh 23:21:04 Cloning the remote Git repository 23:21:04 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:21:04 > git init /w/workspace/device-mqtt-go/5 # timeout=10 23:21:04 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:21:04 > git --version # timeout=10 23:21:04 > git --version # 'git version 2.16.5' 23:21:04 using GIT_SSH to set credentials SSH Credentials for GitHub 23:21:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:21:05 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:21:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:21:05 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:21:05 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:21:05 using GIT_SSH to set credentials SSH Credentials for GitHub 23:21:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:21:05 Merging remotes/origin/master commit b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 into PR head commit f51cf776bc0fe71d2f4f3abd3ccae881808a4c9b 23:21:05 Merge succeeded, producing 4001ca957a215e817113d3e4dee20476df8e65ea 23:21:05 Checking out Revision 4001ca957a215e817113d3e4dee20476df8e65ea (PR-179) 23:21:05 > git config core.sparsecheckout # timeout=10 23:21:05 > git checkout -f f51cf776bc0fe71d2f4f3abd3ccae881808a4c9b # timeout=10 23:21:05 > git remote # timeout=10 23:21:05 > git config --get remote.origin.url # timeout=10 23:21:05 using GIT_SSH to set credentials SSH Credentials for GitHub 23:21:05 > git merge b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8 # timeout=10 23:21:05 > git rev-parse HEAD^{commit} # timeout=10 23:21:05 > git config core.sparsecheckout # timeout=10 23:21:05 > git checkout -f 4001ca957a215e817113d3e4dee20476df8e65ea # timeout=10 23:21:09 Commit message: "Merge commit 'b0a5b3d163a2dd8e1c2b4bfa2bc96516260b5bc8' into HEAD" 23:21:09 > git rev-list --no-walk f51cf776bc0fe71d2f4f3abd3ccae881808a4c9b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:21:10 ========================================================= 23:21:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 23:21:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:21:11 + 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 . 23:21:11 Sending build context to Docker daemon 464.9kB 23:21:11 Step 1/8 : ARG BASE=golang:1.15-alpine 23:21:11 Step 2/8 : FROM ${BASE} 23:21:11 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 23:21:11 df20fa9351a1: Pulling fs layer 23:21:11 ed8968b2872e: Pulling fs layer 23:21:11 a92cc7c5fd73: Pulling fs layer 23:21:11 e871e8e8d7a9: Pulling fs layer 23:21:11 e73272ec9a57: Pulling fs layer 23:21:11 1e910a182e73: Pulling fs layer 23:21:11 4e634b169226: Pulling fs layer 23:21:11 e73272ec9a57: Waiting 23:21:11 e871e8e8d7a9: Waiting 23:21:11 4e634b169226: Waiting 23:21:11 1e910a182e73: Waiting 23:21:11 a92cc7c5fd73: Verifying Checksum 23:21:11 a92cc7c5fd73: Download complete 23:21:11 ed8968b2872e: Verifying Checksum 23:21:11 ed8968b2872e: Download complete 23:21:11 e73272ec9a57: Verifying Checksum 23:21:11 e73272ec9a57: Download complete 23:21:11 1e910a182e73: Verifying Checksum 23:21:11 1e910a182e73: Download complete 23:21:11 df20fa9351a1: Verifying Checksum 23:21:11 df20fa9351a1: Download complete 23:21:12 df20fa9351a1: Pull complete 23:21:12 ed8968b2872e: Pull complete 23:21:12 a92cc7c5fd73: Pull complete 23:21:13 4e634b169226: Verifying Checksum 23:21:13 4e634b169226: Download complete 23:21:14 e871e8e8d7a9: Verifying Checksum 23:21:14 e871e8e8d7a9: Download complete 23:21:15 Removing intermediate container 329b6268bcd9 23:21:15 ---> 2db126b30e14 23:21:15 Successfully built 2db126b30e14 23:21:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:21:15 + docker inspect -f . ci-base-image-arm64 23:21:15 . [Pipeline] withDockerContainer 23:21:16 prd-ubuntu18.04-docker-arm64-4c-16g-9601 does not seem to be running inside a container 23:21:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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 ******** ci-base-image-arm64 cat 23:21:18 $ docker top d98d201cbf885d7edbfc034bd60a37c65fa373beb9dca8d053d4d59c34f8e73f -eo pid,comm [Pipeline] { [Pipeline] sh 23:21:19 + go version 23:21:19 go version go1.15.2 linux/arm64 [Pipeline] } 23:21:19 $ docker stop --time=1 d98d201cbf885d7edbfc034bd60a37c65fa373beb9dca8d053d4d59c34f8e73f 23:21:20 e871e8e8d7a9: Pull complete 23:21:20 e73272ec9a57: Pull complete 23:21:20 1e910a182e73: Pull complete 23:21:21 $ docker rm -f d98d201cbf885d7edbfc034bd60a37c65fa373beb9dca8d053d4d59c34f8e73f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:21:22 + docker inspect -f . ci-base-image-arm64 23:21:22 . [Pipeline] withDockerContainer 23:21:22 prd-ubuntu18.04-docker-arm64-4c-16g-9601 does not seem to be running inside a container 23:21:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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 ******** ci-base-image-arm64 cat 23:21:24 $ docker top 6e578a09bbcb62f3b4931b63638ce18822622fba57c567379d903df06772962c -eo pid,comm [Pipeline] { [Pipeline] sh 23:21:25 4e634b169226: Pull complete 23:21:25 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 23:21:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 23:21:25 ---> f7629b54cfaa 23:21:25 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 23:21:25 ---> Running in 7440066bf3dd 23:21:25 Removing intermediate container 7440066bf3dd 23:21:25 ---> c2be73c95fb1 23:21:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:21:25 ---> Running in 24d77137d594 23:21:26 + make test 23:21:26 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:21:27 Removing intermediate container 24d77137d594 23:21:27 ---> faac7468950e 23:21:27 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 23:21:27 ---> Running in 651dce988951 23:21:27 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:21:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:21:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:21:28 (1/14) Installing libmagic (5.38-r0) 23:21:29 (2/14) Installing file (5.38-r0) 23:21:29 (3/14) Installing libc-dev (0.7.2-r3) 23:21:29 (4/14) Installing g++ (9.3.0-r2) 23:21:34 (5/14) Installing fortify-headers (1.1-r0) 23:21:34 (6/14) Installing patch (2.7.6-r6) 23:21:34 (7/14) Installing build-base (0.5-r2) 23:21:34 (8/14) Installing openssh-keygen (8.3_p1-r0) 23:21:34 (9/14) Installing libedit (20191231.3.1-r0) 23:21:34 (10/14) Installing openssh-client (8.3_p1-r0) 23:21:34 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 23:21:34 (12/14) Installing openssh-server-common (8.3_p1-r0) 23:21:34 (13/14) Installing openssh-server (8.3_p1-r0) 23:21:34 (14/14) Installing openssh (8.3_p1-r0) 23:21:34 Executing busybox-1.31.1-r16.trigger 23:21:34 OK: 237 MiB in 53 packages 23:21:38 Removing intermediate container 651dce988951 23:21:38 ---> 64f0624d1f2c 23:21:38 Step 6/8 : WORKDIR /device-mqtt-go 23:21:38 ---> Running in 4ce69563fb72 23:21:38 Removing intermediate container 4ce69563fb72 23:21:38 ---> 893d5db5d99f 23:21:38 Step 7/8 : COPY . . 23:21:39 ---> baf88a6bea62 23:21:39 Step 8/8 : RUN go mod download 23:21:39 ---> Running in 427b329bac8d 23:22:01 Removing intermediate container 427b329bac8d 23:22:01 ---> 7b1f716ff79e 23:22:01 Successfully built 7b1f716ff79e 23:22:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:22:02 + docker inspect -f . ci-base-image-x86_64 23:22:02 . [Pipeline] withDockerContainer 23:22:02 prd-centos7-docker-4c-2g-9602 does not seem to be running inside a container 23:22:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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 ******** ci-base-image-x86_64 cat 23:22:03 $ docker top bcc428a6d59a0c6fbc04302f16dd8cc8746998ed14768baf940d348951d9b42b -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:03 + go version 23:22:03 go version go1.15.2 linux/amd64 [Pipeline] } 23:22:03 $ docker stop --time=1 bcc428a6d59a0c6fbc04302f16dd8cc8746998ed14768baf940d348951d9b42b 23:22:05 $ docker rm -f bcc428a6d59a0c6fbc04302f16dd8cc8746998ed14768baf940d348951d9b42b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:22:06 + docker inspect -f . ci-base-image-x86_64 23:22:06 . [Pipeline] withDockerContainer 23:22:06 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:22:06 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.034s coverage: 28.3% of statements 23:22:06 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:22:06 CGO_ENABLED=0 GO111MODULE=on go vet ./... 23:22:06 prd-centos7-docker-4c-2g-9602 does not seem to be running inside a container 23:22:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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 ******** ci-base-image-x86_64 cat 23:22:06 $ docker top ab38a026f4f323e6c47756b3a9e9fa65d766d2d907a960a389f021baa2f8a9ad -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:07 + make test 23:22:07 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:22:08 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:22:12 gofmt -l . 23:22:12 ["`gofmt -l .`" = ""] 23:22:12 ./bin/test-attribution-txt.sh 23:22:12 An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add 23:22:13 make: *** [Makefile:29: test] Error 1 [Pipeline] } 23:22:13 $ docker stop --time=1 6e578a09bbcb62f3b4931b63638ce18822622fba57c567379d903df06772962c 23:22:15 $ docker rm -f 6e578a09bbcb62f3b4931b63638ce18822622fba57c567379d903df06772962c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:22:17 Failed in branch arm64 23:22:20 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:22:21 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 28.3% of statements 23:22:21 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:22:21 CGO_ENABLED=0 GO111MODULE=on go vet ./... 23:22:23 gofmt -l . 23:22:23 ["`gofmt -l .`" = ""] 23:22:23 ./bin/test-attribution-txt.sh 23:22:24 An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add 23:22:24 make: *** [Makefile:29: test] Error 1 [Pipeline] } 23:22:24 $ docker stop --time=1 ab38a026f4f323e6c47756b3a9e9fa65d766d2d907a960a389f021baa2f8a9ad 23:22:27 $ docker rm -f ab38a026f4f323e6c47756b3a9e9fa65d766d2d907a960a389f021baa2f8a9ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:22:29 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 23:22:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:22:32 ---> package-listing.sh 23:22:32 ++ tr '[:upper:]' '[:lower:]' 23:22:32 ++ facter osfamily 23:22:32 + OS_FAMILY=redhat 23:22:32 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-179 23:22:32 + START_PACKAGES=/tmp/packages_start.txt 23:22:32 + END_PACKAGES=/tmp/packages_end.txt 23:22:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:22:32 + PACKAGES=/tmp/packages_start.txt 23:22:32 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-179 ']' 23:22:32 + PACKAGES=/tmp/packages_end.txt 23:22:32 + case "${OS_FAMILY}" in 23:22:32 + rpm -qa 23:22:32 + sort 23:22:37 + '[' -f /tmp/packages_start.txt ']' 23:22:37 + '[' -f /tmp/packages_end.txt ']' 23:22:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:22:37 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-179 ']' 23:22:37 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-179/archives/ 23:22:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-179/archives/ [Pipeline] echo 23:22:37 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-179/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:22:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:22:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:22:37 23:22:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:22:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:22:38 alpine: Pulling from edgex-lftools-log-publisher 23:22:38 df20fa9351a1: Pulling fs layer 23:22:38 36b3adc4ff6f: Pulling fs layer 23:22:38 8ad3a11d3b57: Pulling fs layer 23:22:38 46f8f816bc3b: Pulling fs layer 23:22:38 93b61091891f: Pulling fs layer 23:22:38 93b9cdb0e59b: Pulling fs layer 23:22:38 5e14af77c1be: Pulling fs layer 23:22:38 01666e4c0597: Pulling fs layer 23:22:38 aa168da1d23b: Pulling fs layer 23:22:38 93b9cdb0e59b: Waiting 23:22:38 5e14af77c1be: Waiting 23:22:38 01666e4c0597: Waiting 23:22:38 46f8f816bc3b: Waiting 23:22:38 aa168da1d23b: Waiting 23:22:38 36b3adc4ff6f: Download complete 23:22:38 46f8f816bc3b: Verifying Checksum 23:22:38 46f8f816bc3b: Download complete 23:22:38 df20fa9351a1: Verifying Checksum 23:22:38 df20fa9351a1: Download complete 23:22:38 93b9cdb0e59b: Download complete 23:22:38 5e14af77c1be: Verifying Checksum 23:22:38 5e14af77c1be: Download complete 23:22:38 01666e4c0597: Verifying Checksum 23:22:38 01666e4c0597: Download complete 23:22:38 93b61091891f: Verifying Checksum 23:22:38 93b61091891f: Download complete 23:22:38 df20fa9351a1: Pull complete 23:22:38 36b3adc4ff6f: Pull complete 23:22:38 8ad3a11d3b57: Verifying Checksum 23:22:38 8ad3a11d3b57: Download complete 23:22:39 8ad3a11d3b57: Pull complete 23:22:39 46f8f816bc3b: Pull complete 23:22:40 93b61091891f: Pull complete 23:22:40 93b9cdb0e59b: Pull complete 23:22:40 5e14af77c1be: Pull complete 23:22:40 aa168da1d23b: Verifying Checksum 23:22:40 aa168da1d23b: Download complete 23:22:40 01666e4c0597: Pull complete 23:22:49 aa168da1d23b: Pull complete 23:22:49 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:22:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:22:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:22:49 prd-centos7-docker-4c-2g-9600 does not seem to be running inside a container 23:22:49 $ 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-179/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-179 -v /w/workspace/gexfoundry_device-mqtt-go_PR-179:/w/workspace/gexfoundry_device-mqtt-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 23:22:53 $ docker top 109038e4ed9ae5465629fdbcba0a839d195d3fd311b39d3fb83806be5de48baa -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:53 + touch /tmp/pre-build-complete [Pipeline] sh 23:22:53 + mkdir -p /var/log/sa [Pipeline] sh 23:22:54 + ls /var/log/sa-host 23:22:54 + sadf -c /var/log/sa-host/sa05 23:22:54 file_magic: OK 23:22:54 HZ: Using current value: 100 23:22:54 file_header: OK 23:22:54 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 23:22:54 Statistics: 23:22:54 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:22:54 File successfully converted to sysstat format version 12.2.1 23:22:54 + sadf -c /var/log/sa-host/sa28 23:22:54 file_magic: OK 23:22:54 HZ: Using current value: 100 23:22:54 file_header: OK 23:22:54 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 23:22:54 Statistics: 23:22:54 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:22:54 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:22:54 provisioning config files... 23:22:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/config4964004773129518626tmp [Pipeline] { [Pipeline] echo 23:22:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:22:55 ---> create-netrc.sh [Pipeline] } 23:22:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:22:55 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:22:55 ---> python-tools-install.sh [Pipeline] echo 23:22:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:22:56 ---> sudo-logs.sh 23:22:56 Archiving 'sudo' log.. [Pipeline] echo 23:22:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:22:56 ---> job-cost.sh 23:22:56 lf-activate-venv: SKIPPING 23:22:56 INFO: No Stack... 23:22:58 INFO: Retrieving Pricing Info for: v1-standard-2 23:22:58 INFO: Archiving Costs [Pipeline] echo 23:22:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:22:58 ---> logs-deploy.sh 23:22:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-179/5 23:22:58 INFO: archiving workspace using pattern(s): 23:22:59 Archives upload complete. 23:23:00 INFO: archiving logs to Nexus 23:23:01 ---> uname -a: 23:23:01 Linux prd-centos7-docker-4c-2g-9600.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 23:23:01 23:23:01