Pull request #179 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0a1ba28c24f30c2862210b6a490f4a6ad7d86fd0+8d03a592335dd56f24d0450c56224a899597e60a (6615fe17da7b57d028f66d3650ae760a4ec53cd5) 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; ‘prd-centos7-docker-4c-2g-9372’ is offline; ‘prd-centos7-docker-4c-2g-9373’ is offline; ‘prd-centos7-docker-4c-2g-9379’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-9384 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 Merging remotes/origin/master commit 8d03a592335dd56f24d0450c56224a899597e60a into PR head commit 0a1ba28c24f30c2862210b6a490f4a6ad7d86fd0 Merge succeeded, producing 0a1ba28c24f30c2862210b6a490f4a6ad7d86fd0 Checking out Revision 0a1ba28c24f30c2862210b6a490f4a6ad7d86fd0 (PR-179) > 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 --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 0a1ba28c24f30c2862210b6a490f4a6ad7d86fd0 # 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 8d03a592335dd56f24d0450c56224a899597e60a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0a1ba28c24f30c2862210b6a490f4a6ad7d86fd0 # timeout=10 Commit message: "Bump github.com/stretchr/testify from 1.5.1 to 1.6.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 73f2a7de690d2925ac2614ff7edb74af5d4d6590 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:04:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:04:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:04:19 ========================================================= 03:04:19 EdgeX Global Pipelines Version Info 03:04:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:04:20 jq: error (at :4): Cannot index string with string "ref" 03:04:21 ------------------- 03:04:21 stable info: 03:04:21 ------------------- 03:04:21 Commited By: 03:04:21 Commit SHA: null 03:04:21 Message: You have triggered an abuse detection mechanism. Please wait a few minutes before you try again. 03:04:21 jq: error (at :4): Cannot index string with string "ref" 03:04:21 ------------------- 03:04:21 experimental info: 03:04:21 ------------------- 03:04:21 Commited By: 03:04:21 Commit SHA: null 03:04:21 Message: You have triggered an abuse detection mechanism. Please wait a few minutes before you try again. [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 03:04:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 03:04:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 03:04:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:04:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:04:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:04:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 03:04:22 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 03:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo 03:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:04:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:04:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:04:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:04:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:04:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:04:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 03:04:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:04:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:04:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:04:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:04:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:04:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-179 [Pipeline] echo 03:04:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-179 [Pipeline] echo 03:04:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-179 [Pipeline] echo 03:04:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0a1ba28c24f30c2862210b6a490f4a6ad7d86fd0 [Pipeline] echo 03:04:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0a1ba28 [Pipeline] echo 03:04:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:04:25 + git log --format=format:%s -1 0a1ba28c24f30c2862210b6a490f4a6ad7d86fd0 [Pipeline] echo 03:04:26 GIT_COMMIT: 0a1ba28c24f30c2862210b6a490f4a6ad7d86fd0, Commit Message: Bump github.com/stretchr/testify from 1.5.1 to 1.6.1 [Pipeline] echo 03:04:26 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:04:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:04:27 03:04:27 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:04:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:04:27 latest: Pulling from edgex-devops/git-semver 03:04:27 31603596830f: Pulling fs layer 03:04:27 2a8b12db71e7: Pulling fs layer 03:04:27 6ca5941a6612: Pulling fs layer 03:04:27 ecc8261a40a4: Pulling fs layer 03:04:27 ecc8261a40a4: Waiting 03:04:27 2a8b12db71e7: Download complete 03:04:27 31603596830f: Verifying Checksum 03:04:27 31603596830f: Download complete 03:04:27 ecc8261a40a4: Verifying Checksum 03:04:27 ecc8261a40a4: Download complete 03:04:27 6ca5941a6612: Verifying Checksum 03:04:27 6ca5941a6612: Download complete 03:04:27 31603596830f: Pull complete 03:04:27 2a8b12db71e7: Pull complete 03:04:28 6ca5941a6612: Pull complete 03:04:28 ecc8261a40a4: Pull complete 03:04:28 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:04:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:04:29 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:04:29 prd-centos7-docker-4c-2g-9384 does not seem to be running inside a container 03:04:29 $ 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 03:04:31 $ docker top 166ec90ec9ef3ed83dcafab07bf6da3b5f96ad5e41b2b25ff4c7e1ba94a61a20 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:04:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:04:31 [ssh-agent] Looking for ssh-agent implementation... 03:04:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:04:32 $ docker exec 166ec90ec9ef3ed83dcafab07bf6da3b5f96ad5e41b2b25ff4c7e1ba94a61a20 ssh-agent 03:04:32 SSH_AUTH_SOCK=/tmp/ssh-ibav193RAMIw/agent.11 03:04:32 SSH_AGENT_PID=17 03:04:32 Running ssh-add (command line suppressed) 03:04:32 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_6607029747716419787.key (/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_6607029747716419787.key) 03:04:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:04:32 + git tag --points-at HEAD [Pipeline] } 03:04:33 $ docker exec --env ******** --env ******** 166ec90ec9ef3ed83dcafab07bf6da3b5f96ad5e41b2b25ff4c7e1ba94a61a20 ssh-agent -k 03:04:33 unset SSH_AUTH_SOCK; 03:04:33 unset SSH_AGENT_PID; 03:04:33 echo Agent pid 17 killed; 03:04:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:04:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:04:33 [ssh-agent] Looking for ssh-agent implementation... 03:04:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:04:33 $ docker exec 166ec90ec9ef3ed83dcafab07bf6da3b5f96ad5e41b2b25ff4c7e1ba94a61a20 ssh-agent 03:04:33 SSH_AUTH_SOCK=/tmp/ssh-ptVfGtVEPl3y/agent.47 03:04:33 SSH_AGENT_PID=52 03:04:33 Running ssh-add (command line suppressed) 03:04:33 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_7808933632613681396.key (/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_7808933632613681396.key) 03:04:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:04:34 + git semver init 03:04:34 # -> Open(): unable to determine branch for HEAD 03:04:34 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-179/.git 03:04:34 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-179 03:04:34 # $SEMVER_REMOTE_NAME = origin 03:04:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:04:34 # $SEMVER_USER_NAME = edgex-jenkins 03:04:34 # $SEMVER_BRANCH = PR-179 03:04:34 # $SEMVER_TEMP = /tmp/semver-176647767 03:04:34 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 03:04:34 # '/tmp/semver-176647767' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-179/.semver' 03:04:34 # -> Force: false 03:04:34 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-179/.semver [Pipeline] } 03:04:34 $ docker exec --env ******** --env ******** 166ec90ec9ef3ed83dcafab07bf6da3b5f96ad5e41b2b25ff4c7e1ba94a61a20 ssh-agent -k 03:04:34 unset SSH_AUTH_SOCK; 03:04:34 unset SSH_AGENT_PID; 03:04:34 echo Agent pid 52 killed; 03:04:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:04:35 + git semver [Pipeline] } 03:04:35 $ docker stop --time=1 166ec90ec9ef3ed83dcafab07bf6da3b5f96ad5e41b2b25ff4c7e1ba94a61a20 03:04:36 $ docker rm -f 166ec90ec9ef3ed83dcafab07bf6da3b5f96ad5e41b2b25ff4c7e1ba94a61a20 [Pipeline] // withDockerContainer [Pipeline] sh 03:04:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:04:37 Stashed 1 file(s) [Pipeline] echo 03:04:37 [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 03:04:53 Still waiting to schedule task 03:04:53 Still waiting to schedule task 03:04:53 ‘prd-centos7-builder-2c-1g-9386’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-9388’ is offline; ‘prd-centos7-docker-4c-2g-9389’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-9376’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-9385’ doesn’t have label ‘centos7-docker-4c-2g’ 03:04:53 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 03:07:00 Running on prd-centos7-docker-4c-2g-9397 in /w/workspace/gexfoundry_device-mqtt-go_PR-179 [Pipeline] { [Pipeline] ws 03:07:00 Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout 03:07:03 using credential edgex-jenkins-ssh 03:07:03 Cloning the remote Git repository 03:07:03 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 03:07:03 > git init /w/workspace/device-mqtt-go/3 # timeout=10 03:07:03 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:07:03 > git --version # timeout=10 03:07:03 > git --version # 'git version 2.16.5' 03:07:03 using GIT_SSH to set credentials SSH Credentials for GitHub 03:07:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:07:04 Merging remotes/origin/master commit 8d03a592335dd56f24d0450c56224a899597e60a into PR head commit 0a1ba28c24f30c2862210b6a490f4a6ad7d86fd0 03:07:04 Merge succeeded, producing 0a1ba28c24f30c2862210b6a490f4a6ad7d86fd0 03:07:04 Checking out Revision 0a1ba28c24f30c2862210b6a490f4a6ad7d86fd0 (PR-179) 03:07:04 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:07:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:07:04 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:07:04 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:07:04 using GIT_SSH to set credentials SSH Credentials for GitHub 03:07:04 > 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 03:07:04 > git config core.sparsecheckout # timeout=10 03:07:04 > git checkout -f 0a1ba28c24f30c2862210b6a490f4a6ad7d86fd0 # timeout=10 03:07:04 > git remote # timeout=10 03:07:04 > git config --get remote.origin.url # timeout=10 03:07:04 using GIT_SSH to set credentials SSH Credentials for GitHub 03:07:04 > git merge 8d03a592335dd56f24d0450c56224a899597e60a # timeout=10 03:07:04 > git rev-parse HEAD^{commit} # timeout=10 03:07:04 > git config core.sparsecheckout # timeout=10 03:07:04 > git checkout -f 0a1ba28c24f30c2862210b6a490f4a6ad7d86fd0 # timeout=10 03:07:08 Commit message: "Bump github.com/stretchr/testify from 1.5.1 to 1.6.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:07:09 ========================================================= 03:07:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 03:07:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:07:10 + 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 . 03:07:10 Sending build context to Docker daemon 456.2kB 03:07:10 Step 1/8 : ARG BASE=golang:1.15-alpine 03:07:10 Step 2/8 : FROM ${BASE} 03:07:10 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 03:07:10 df20fa9351a1: Pulling fs layer 03:07:10 ed8968b2872e: Pulling fs layer 03:07:10 a92cc7c5fd73: Pulling fs layer 03:07:10 e871e8e8d7a9: Pulling fs layer 03:07:10 e73272ec9a57: Pulling fs layer 03:07:10 1e910a182e73: Pulling fs layer 03:07:10 4e634b169226: Pulling fs layer 03:07:10 e73272ec9a57: Waiting 03:07:10 1e910a182e73: Waiting 03:07:10 4e634b169226: Waiting 03:07:10 e871e8e8d7a9: Waiting 03:07:10 a92cc7c5fd73: Verifying Checksum 03:07:10 a92cc7c5fd73: Download complete 03:07:10 ed8968b2872e: Download complete 03:07:10 e73272ec9a57: Verifying Checksum 03:07:10 e73272ec9a57: Download complete 03:07:10 1e910a182e73: Verifying Checksum 03:07:10 1e910a182e73: Download complete 03:07:10 df20fa9351a1: Verifying Checksum 03:07:10 df20fa9351a1: Download complete 03:07:11 df20fa9351a1: Pull complete 03:07:11 ed8968b2872e: Pull complete 03:07:11 a92cc7c5fd73: Pull complete 03:07:13 4e634b169226: Verifying Checksum 03:07:13 4e634b169226: Download complete 03:07:14 e871e8e8d7a9: Verifying Checksum 03:07:14 e871e8e8d7a9: Download complete 03:07:19 e871e8e8d7a9: Pull complete 03:07:19 e73272ec9a57: Pull complete 03:07:19 1e910a182e73: Pull complete 03:07:26 4e634b169226: Pull complete 03:07:26 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 03:07:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 03:07:26 ---> f7629b54cfaa 03:07:26 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 03:07:26 ---> Running in 132ae81eaed2 03:07:26 Removing intermediate container 132ae81eaed2 03:07:26 ---> c9e41a8f7893 03:07:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:07:26 ---> Running in 222d1236685f 03:07:27 Removing intermediate container 222d1236685f 03:07:27 ---> 2178bbba9475 03:07:27 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 03:07:27 ---> Running in f22753a68a8f 03:07:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:07:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:07:35 (1/14) Installing libmagic (5.38-r0) 03:07:36 (2/14) Installing file (5.38-r0) 03:07:36 (3/14) Installing libc-dev (0.7.2-r3) 03:07:36 (4/14) Installing g++ (9.3.0-r2) 03:07:54 (5/14) Installing fortify-headers (1.1-r0) 03:07:54 (6/14) Installing patch (2.7.6-r6) 03:07:54 (7/14) Installing build-base (0.5-r2) 03:07:54 (8/14) Installing openssh-keygen (8.3_p1-r0) 03:07:54 (9/14) Installing libedit (20191231.3.1-r0) 03:07:54 (10/14) Installing openssh-client (8.3_p1-r0) 03:07:54 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 03:07:54 (12/14) Installing openssh-server-common (8.3_p1-r0) 03:07:54 (13/14) Installing openssh-server (8.3_p1-r0) 03:07:54 (14/14) Installing openssh (8.3_p1-r0) 03:07:54 Executing busybox-1.31.1-r16.trigger 03:07:54 OK: 237 MiB in 53 packages 03:07:57 Removing intermediate container f22753a68a8f 03:07:57 ---> 51b8baaac5cd 03:07:57 Step 6/8 : WORKDIR /device-mqtt-go 03:07:57 ---> Running in 59c8749c29b1 03:07:57 Removing intermediate container 59c8749c29b1 03:07:57 ---> 95f7e35a0700 03:07:57 Step 7/8 : COPY . . 03:07:58 ---> f43aa0fa1199 03:07:58 Step 8/8 : RUN go mod download 03:07:58 ---> Running in 5060e3479b6b 03:08:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-9402 in /w/workspace/gexfoundry_device-mqtt-go_PR-179 [Pipeline] { [Pipeline] ws 03:08:10 Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout 03:08:16 using credential edgex-jenkins-ssh 03:08:16 Cloning the remote Git repository 03:08:16 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 03:08:16 > git init /w/workspace/device-mqtt-go/3 # timeout=10 03:08:16 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:08:16 > git --version # timeout=10 03:08:16 > git --version # 'git version 2.17.1' 03:08:16 using GIT_SSH to set credentials SSH Credentials for GitHub 03:08:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:08:17 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:08:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:08:17 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:08:17 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:08:17 using GIT_SSH to set credentials SSH Credentials for GitHub 03:08:17 > 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 03:08:18 Merging remotes/origin/master commit 8d03a592335dd56f24d0450c56224a899597e60a into PR head commit 0a1ba28c24f30c2862210b6a490f4a6ad7d86fd0 03:08:18 Merge succeeded, producing 0a1ba28c24f30c2862210b6a490f4a6ad7d86fd0 03:08:18 Checking out Revision 0a1ba28c24f30c2862210b6a490f4a6ad7d86fd0 (PR-179) 03:08:18 > git config core.sparsecheckout # timeout=10 03:08:18 > git checkout -f 0a1ba28c24f30c2862210b6a490f4a6ad7d86fd0 # timeout=10 03:08:18 > git remote # timeout=10 03:08:18 > git config --get remote.origin.url # timeout=10 03:08:18 using GIT_SSH to set credentials SSH Credentials for GitHub 03:08:18 > git merge 8d03a592335dd56f24d0450c56224a899597e60a # timeout=10 03:08:18 > git rev-parse HEAD^{commit} # timeout=10 03:08:18 > git config core.sparsecheckout # timeout=10 03:08:18 > git checkout -f 0a1ba28c24f30c2862210b6a490f4a6ad7d86fd0 # timeout=10 03:08:20 Removing intermediate container 5060e3479b6b 03:08:20 ---> b4fb3b1ce071 03:08:20 Successfully built b4fb3b1ce071 03:08:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:08:20 + docker inspect -f . ci-base-image-x86_64 03:08:20 . [Pipeline] withDockerContainer 03:08:21 prd-centos7-docker-4c-2g-9397 does not seem to be running inside a container 03:08:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 ******** ci-base-image-x86_64 cat 03:08:21 $ docker top 96073f9c29abe94b6ba479914b2b3c9cfee12a1744e7842413d54c4d8ff31c1d -eo pid,comm [Pipeline] { [Pipeline] sh 03:08:22 + go version 03:08:22 go version go1.15.2 linux/amd64 [Pipeline] } 03:08:22 $ docker stop --time=1 96073f9c29abe94b6ba479914b2b3c9cfee12a1744e7842413d54c4d8ff31c1d 03:08:23 Commit message: "Bump github.com/stretchr/testify from 1.5.1 to 1.6.1" 03:08:23 $ docker rm -f 96073f9c29abe94b6ba479914b2b3c9cfee12a1744e7842413d54c4d8ff31c1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] unstash 03:08:24 + docker inspect -f . ci-base-image-x86_64 03:08:24 . [Pipeline] withDockerContainer 03:08:25 prd-centos7-docker-4c-2g-9397 does not seem to be running inside a container 03:08:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 ******** ci-base-image-x86_64 cat 03:08:25 $ docker top 31de56604ff3f8d0aea448645e10a7ccee56ea89cc7e4a09910ce80f5a53e969 -eo pid,comm [Pipeline] { [Pipeline] echo 03:08:26 ========================================================= 03:08:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 03:08:26 ========================================================= [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 03:08:26 + make test 03:08:26 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:08:27 + 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 . 03:08:27 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:08:28 Sending build context to Docker daemon 456.2kB 03:08:28 Step 1/8 : ARG BASE=golang:1.15-alpine 03:08:28 Step 2/8 : FROM ${BASE} 03:08:28 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:08:28 b538f80385f9: Pulling fs layer 03:08:28 74f711af9a0d: Pulling fs layer 03:08:28 99f96fe45779: Pulling fs layer 03:08:28 8529a6b9a6be: Pulling fs layer 03:08:28 45590311c82a: Pulling fs layer 03:08:28 69ca0ff8b7b3: Pulling fs layer 03:08:28 209524e5b208: Pulling fs layer 03:08:28 45590311c82a: Waiting 03:08:28 69ca0ff8b7b3: Waiting 03:08:28 8529a6b9a6be: Waiting 03:08:28 209524e5b208: Waiting 03:08:28 99f96fe45779: Verifying Checksum 03:08:28 99f96fe45779: Download complete 03:08:28 74f711af9a0d: Verifying Checksum 03:08:28 74f711af9a0d: Download complete 03:08:28 45590311c82a: Verifying Checksum 03:08:28 45590311c82a: Download complete 03:08:28 69ca0ff8b7b3: Verifying Checksum 03:08:28 69ca0ff8b7b3: Download complete 03:08:28 b538f80385f9: Verifying Checksum 03:08:28 b538f80385f9: Download complete 03:08:29 b538f80385f9: Pull complete 03:08:30 74f711af9a0d: Pull complete 03:08:30 99f96fe45779: Pull complete 03:08:31 209524e5b208: Download complete 03:08:34 8529a6b9a6be: Verifying Checksum 03:08:34 8529a6b9a6be: Download complete 03:08:40 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:08:40 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 28.3% of statements 03:08:40 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:08:40 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:08:42 gofmt -l . 03:08:42 ["`gofmt -l .`" = ""] 03:08:42 ./bin/test-attribution-txt.sh 03:08:43 An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add 03:08:43 make: *** [Makefile:29: test] Error 1 [Pipeline] } 03:08:43 $ docker stop --time=1 31de56604ff3f8d0aea448645e10a7ccee56ea89cc7e4a09910ce80f5a53e969 03:08:44 8529a6b9a6be: Pull complete 03:08:44 45590311c82a: Pull complete 03:08:44 69ca0ff8b7b3: Pull complete 03:08:46 $ docker rm -f 31de56604ff3f8d0aea448645e10a7ccee56ea89cc7e4a09910ce80f5a53e969 [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] } 03:08:49 Failed in branch amd64 03:08:49 209524e5b208: Pull complete 03:08:49 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 03:08:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 03:08:49 ---> 5bddaf1c2fca 03:08:49 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 03:08:51 ---> Running in 0e740f95d812 03:08:52 Removing intermediate container 0e740f95d812 03:08:52 ---> 2fdb04d959bc 03:08:52 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:08:52 ---> Running in bee0cb6e6cf2 03:08:54 Removing intermediate container bee0cb6e6cf2 03:08:54 ---> 76a9a6bd7b65 03:08:54 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 03:08:55 ---> Running in 0773eaedd4ac 03:08:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:08:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:08:58 (1/14) Installing libmagic (5.38-r0) 03:08:59 (2/14) Installing file (5.38-r0) 03:08:59 (3/14) Installing libc-dev (0.7.2-r3) 03:08:59 (4/14) Installing g++ (9.3.0-r2) 03:09:31 (5/14) Installing fortify-headers (1.1-r0) 03:09:31 (6/14) Installing patch (2.7.6-r6) 03:09:31 (7/14) Installing build-base (0.5-r2) 03:09:31 (8/14) Installing openssh-keygen (8.3_p1-r0) 03:09:31 (9/14) Installing libedit (20191231.3.1-r0) 03:09:31 (10/14) Installing openssh-client (8.3_p1-r0) 03:09:33 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 03:09:33 (12/14) Installing openssh-server-common (8.3_p1-r0) 03:09:33 (13/14) Installing openssh-server (8.3_p1-r0) 03:09:34 (14/14) Installing openssh (8.3_p1-r0) 03:09:35 Executing busybox-1.31.1-r16.trigger 03:09:35 OK: 221 MiB in 53 packages 03:09:39 Removing intermediate container 0773eaedd4ac 03:09:39 ---> 7af760552e7b 03:09:39 Step 6/8 : WORKDIR /device-mqtt-go 03:09:39 ---> Running in 775aee0f0d67 03:09:39 Removing intermediate container 775aee0f0d67 03:09:39 ---> 0c84e1892ddb 03:09:39 Step 7/8 : COPY . . 03:09:40 ---> f74830e3cca4 03:09:40 Step 8/8 : RUN go mod download 03:09:40 ---> Running in a4b67b5d2713 03:10:07 Removing intermediate container a4b67b5d2713 03:10:07 ---> d8da84dc0990 03:10:07 Successfully built d8da84dc0990 03:10:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:10:08 + docker inspect -f . ci-base-image-arm64 03:10:08 . [Pipeline] withDockerContainer 03:10:08 prd-ubuntu18.04-docker-arm64-4c-16g-9402 does not seem to be running inside a container 03:10:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 ******** ci-base-image-arm64 cat 03:10:10 $ docker top 1f6ce58091424a05e002732e923def1b44fcce8d270efbb8e2fd64abb70888cf -eo pid,comm [Pipeline] { [Pipeline] sh 03:10:12 + go version 03:10:12 go version go1.15.2 linux/arm64 [Pipeline] } 03:10:12 $ docker stop --time=1 1f6ce58091424a05e002732e923def1b44fcce8d270efbb8e2fd64abb70888cf 03:10:14 $ docker rm -f 1f6ce58091424a05e002732e923def1b44fcce8d270efbb8e2fd64abb70888cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:10:16 + docker inspect -f . ci-base-image-arm64 03:10:16 . [Pipeline] withDockerContainer 03:10:16 prd-ubuntu18.04-docker-arm64-4c-16g-9402 does not seem to be running inside a container 03:10:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 ******** ci-base-image-arm64 cat 03:10:19 $ docker top 96330d30ec67a0ef504226fbf2fb4496179cb8ae6c06c03a9cdf541e685eee07 -eo pid,comm [Pipeline] { [Pipeline] sh 03:10:20 + make test 03:10:20 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:10:21 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:11:01 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:11:02 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.035s coverage: 28.3% of statements 03:11:02 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:11:02 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:11:11 gofmt -l . 03:11:11 ["`gofmt -l .`" = ""] 03:11:11 ./bin/test-attribution-txt.sh 03:11:11 An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add 03:11:11 make: *** [Makefile:29: test] Error 1 [Pipeline] } 03:11:11 $ docker stop --time=1 96330d30ec67a0ef504226fbf2fb4496179cb8ae6c06c03a9cdf541e685eee07 03:11:13 $ docker rm -f 96330d30ec67a0ef504226fbf2fb4496179cb8ae6c06c03a9cdf541e685eee07 [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] } 03:11:16 Failed in branch arm64 [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 03:11:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:11:20 ---> package-listing.sh 03:11:20 ++ facter osfamily 03:11:20 ++ tr '[:upper:]' '[:lower:]' 03:11:20 + OS_FAMILY=redhat 03:11:20 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-179 03:11:20 + START_PACKAGES=/tmp/packages_start.txt 03:11:20 + END_PACKAGES=/tmp/packages_end.txt 03:11:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:11:20 + PACKAGES=/tmp/packages_start.txt 03:11:20 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-179 ']' 03:11:20 + PACKAGES=/tmp/packages_end.txt 03:11:20 + case "${OS_FAMILY}" in 03:11:20 + rpm -qa 03:11:20 + sort 03:11:24 + '[' -f /tmp/packages_start.txt ']' 03:11:24 + '[' -f /tmp/packages_end.txt ']' 03:11:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:11:24 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-179 ']' 03:11:24 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-179/archives/ 03:11:24 + 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 03:11:24 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 03:11:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:11:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:11:25 03:11:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:11:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:11:25 alpine: Pulling from edgex-lftools-log-publisher 03:11:25 df20fa9351a1: Pulling fs layer 03:11:25 36b3adc4ff6f: Pulling fs layer 03:11:25 8ad3a11d3b57: Pulling fs layer 03:11:25 46f8f816bc3b: Pulling fs layer 03:11:25 93b61091891f: Pulling fs layer 03:11:25 93b9cdb0e59b: Pulling fs layer 03:11:25 5e14af77c1be: Pulling fs layer 03:11:25 01666e4c0597: Pulling fs layer 03:11:25 aa168da1d23b: Pulling fs layer 03:11:25 5e14af77c1be: Waiting 03:11:25 01666e4c0597: Waiting 03:11:25 aa168da1d23b: Waiting 03:11:25 93b61091891f: Waiting 03:11:25 46f8f816bc3b: Waiting 03:11:25 93b9cdb0e59b: Waiting 03:11:25 36b3adc4ff6f: Verifying Checksum 03:11:25 36b3adc4ff6f: Download complete 03:11:25 46f8f816bc3b: Verifying Checksum 03:11:25 46f8f816bc3b: Download complete 03:11:25 df20fa9351a1: Verifying Checksum 03:11:25 df20fa9351a1: Download complete 03:11:25 93b9cdb0e59b: Verifying Checksum 03:11:25 93b9cdb0e59b: Download complete 03:11:25 5e14af77c1be: Verifying Checksum 03:11:25 5e14af77c1be: Download complete 03:11:25 01666e4c0597: Verifying Checksum 03:11:25 01666e4c0597: Download complete 03:11:25 93b61091891f: Verifying Checksum 03:11:25 93b61091891f: Download complete 03:11:25 8ad3a11d3b57: Verifying Checksum 03:11:25 8ad3a11d3b57: Download complete 03:11:25 df20fa9351a1: Pull complete 03:11:26 36b3adc4ff6f: Pull complete 03:11:26 8ad3a11d3b57: Pull complete 03:11:26 46f8f816bc3b: Pull complete 03:11:27 93b61091891f: Pull complete 03:11:27 93b9cdb0e59b: Pull complete 03:11:27 aa168da1d23b: Verifying Checksum 03:11:27 aa168da1d23b: Download complete 03:11:27 5e14af77c1be: Pull complete 03:11:27 01666e4c0597: Pull complete 03:11:35 aa168da1d23b: Pull complete 03:11:35 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 03:11:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:11:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:11:35 prd-centos7-docker-4c-2g-9384 does not seem to be running inside a container 03:11:35 $ 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 03:11:39 $ docker top 7b6d90160227bb07997cbc55cc4e5c5c0fab82ed8dcbc4aa37174a5c5d090ed1 -eo pid,comm [Pipeline] { [Pipeline] sh 03:11:40 + touch /tmp/pre-build-complete [Pipeline] sh 03:11:40 + mkdir -p /var/log/sa [Pipeline] sh 03:11:40 + ls /var/log/sa-host 03:11:40 + sadf -c /var/log/sa-host/sa05 03:11:40 file_magic: OK 03:11:40 HZ: Using current value: 100 03:11:40 file_header: OK 03:11:40 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 03:11:40 Statistics: 03:11:40 Hnuu...uuuununununu...Hnuu...uuuununununu... 03:11:40 File successfully converted to sysstat format version 12.2.1 03:11:40 + sadf -c /var/log/sa-host/sa28 03:11:40 file_magic: OK 03:11:40 HZ: Using current value: 100 03:11:40 file_header: OK 03:11:40 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 03:11:40 Statistics: 03:11:40 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:11:40 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:11:41 provisioning config files... 03:11:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/config6485778810962152980tmp [Pipeline] { [Pipeline] echo 03:11:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:11:41 ---> create-netrc.sh [Pipeline] } 03:11:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 03:11:41 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 03:11:42 ---> python-tools-install.sh [Pipeline] echo 03:11:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:11:42 ---> sudo-logs.sh 03:11:42 Archiving 'sudo' log.. [Pipeline] echo 03:11:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:11:42 ---> job-cost.sh 03:11:42 lf-activate-venv: SKIPPING 03:11:42 INFO: No Stack... 03:11:43 INFO: Retrieving Pricing Info for: v1-standard-2 03:11:44 INFO: Archiving Costs [Pipeline] echo 03:11:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:11:44 ---> logs-deploy.sh 03:11:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-179/3 03:11:44 INFO: archiving workspace using pattern(s): 03:11:46 Archives upload complete. 03:11:46 INFO: archiving logs to Nexus