Pull request #179 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 73f2a7de690d2925ac2614ff7edb74af5d4d6590+12b1a35b74ef9c89c590951cdcdb7fdae4622f9b (a4dbfa7b1dd976d98c7122afb76f957628f967a9) Running in Durability level: MAX_SURVIVABILITY 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-179/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-179/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 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-6161 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 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b into PR head commit 73f2a7de690d2925ac2614ff7edb74af5d4d6590 Merge succeeded, producing 73f2a7de690d2925ac2614ff7edb74af5d4d6590 Checking out Revision 73f2a7de690d2925ac2614ff7edb74af5d4d6590 (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 73f2a7de690d2925ac2614ff7edb74af5d4d6590 # 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 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 73f2a7de690d2925ac2614ff7edb74af5d4d6590 # timeout=10 Commit message: "Bump github.com/stretchr/testify from 1.5.1 to 1.6.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:10:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:10:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:10:37 ========================================================= 06:10:37 EdgeX Global Pipelines Version Info 06:10:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:10:38 ------------------- 06:10:38 stable info: 06:10:38 ------------------- 06:10:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:10:38 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 06:10:38 Message: update stable to v1.0.144 06:10:39 ------------------- 06:10:39 experimental info: 06:10:39 ------------------- 06:10:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:10:39 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 06:10:39 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:10:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 06:10:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 06:10:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:10:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:10:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:10:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:10:40 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:10:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:10:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:10:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:10:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:10:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo 06:10:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:10:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:10:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:10:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:10:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:10:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:10:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:10:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 06:10:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:10:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:10:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:10:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:10:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:10:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-179 [Pipeline] echo 06:10:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-179 [Pipeline] echo 06:10:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-179 [Pipeline] echo 06:10:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 73f2a7de690d2925ac2614ff7edb74af5d4d6590 [Pipeline] echo 06:10:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 73f2a7d [Pipeline] echo 06:10:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:10:44 + git log --format=format:%s -1 73f2a7de690d2925ac2614ff7edb74af5d4d6590 [Pipeline] echo 06:10:44 GIT_COMMIT: 73f2a7de690d2925ac2614ff7edb74af5d4d6590, Commit Message: Bump github.com/stretchr/testify from 1.5.1 to 1.6.1 [Pipeline] echo 06:10:44 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:10:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:10:45 06:10:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:10:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:10:46 latest: Pulling from edgex-devops/git-semver 06:10:46 31603596830f: Pulling fs layer 06:10:46 2a8b12db71e7: Pulling fs layer 06:10:46 6ca5941a6612: Pulling fs layer 06:10:46 ecc8261a40a4: Pulling fs layer 06:10:46 ecc8261a40a4: Waiting 06:10:46 2a8b12db71e7: Verifying Checksum 06:10:46 2a8b12db71e7: Download complete 06:10:46 31603596830f: Verifying Checksum 06:10:46 31603596830f: Download complete 06:10:46 6ca5941a6612: Verifying Checksum 06:10:46 6ca5941a6612: Download complete 06:10:46 ecc8261a40a4: Verifying Checksum 06:10:46 ecc8261a40a4: Download complete 06:10:47 31603596830f: Pull complete 06:10:47 2a8b12db71e7: Pull complete 06:10:48 6ca5941a6612: Pull complete 06:10:48 ecc8261a40a4: Pull complete 06:10:48 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:10:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:10:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:10:48 prd-centos7-docker-4c-2g-6161 does not seem to be running inside a container 06:10:48 $ 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 06:10:50 $ docker top 8696a69a0c2801e7f79c850b3b071f28a706c8f3e316ae61f13275d2caaa5e4c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:10:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:51 [ssh-agent] Looking for ssh-agent implementation... 06:10:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:51 $ docker exec 8696a69a0c2801e7f79c850b3b071f28a706c8f3e316ae61f13275d2caaa5e4c ssh-agent 06:10:51 SSH_AUTH_SOCK=/tmp/ssh-z6Z4ReTbKz7A/agent.11 06:10:51 SSH_AGENT_PID=16 06:10:51 Running ssh-add (command line suppressed) 06:10:51 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_7323971638412731164.key (/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_7323971638412731164.key) 06:10:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:52 + git tag --points-at HEAD [Pipeline] } 06:10:52 $ docker exec --env ******** --env ******** 8696a69a0c2801e7f79c850b3b071f28a706c8f3e316ae61f13275d2caaa5e4c ssh-agent -k 06:10:52 unset SSH_AUTH_SOCK; 06:10:52 unset SSH_AGENT_PID; 06:10:52 echo Agent pid 16 killed; 06:10:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:10:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:52 [ssh-agent] Looking for ssh-agent implementation... 06:10:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:52 $ docker exec 8696a69a0c2801e7f79c850b3b071f28a706c8f3e316ae61f13275d2caaa5e4c ssh-agent 06:10:53 SSH_AUTH_SOCK=/tmp/ssh-zukICg32NM6I/agent.46 06:10:53 SSH_AGENT_PID=51 06:10:53 Running ssh-add (command line suppressed) 06:10:53 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_484834884105313918.key (/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/private_key_484834884105313918.key) 06:10:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:53 + git semver init 06:10:53 # -> Open(): unable to determine branch for HEAD 06:10:53 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-179/.git 06:10:53 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-179 06:10:53 # $SEMVER_REMOTE_NAME = origin 06:10:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:10:53 # $SEMVER_USER_NAME = edgex-jenkins 06:10:53 # $SEMVER_BRANCH = PR-179 06:10:53 # $SEMVER_TEMP = /tmp/semver-501194456 06:10:53 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 06:10:54 # '/tmp/semver-501194456' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-179/.semver' 06:10:54 # -> Force: false 06:10:54 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-179/.semver [Pipeline] } 06:10:54 $ docker exec --env ******** --env ******** 8696a69a0c2801e7f79c850b3b071f28a706c8f3e316ae61f13275d2caaa5e4c ssh-agent -k 06:10:54 unset SSH_AUTH_SOCK; 06:10:54 unset SSH_AGENT_PID; 06:10:54 echo Agent pid 51 killed; 06:10:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:10:55 + git semver [Pipeline] } 06:10:55 $ docker stop --time=1 8696a69a0c2801e7f79c850b3b071f28a706c8f3e316ae61f13275d2caaa5e4c 06:10:56 $ docker rm -f 8696a69a0c2801e7f79c850b3b071f28a706c8f3e316ae61f13275d2caaa5e4c [Pipeline] // withDockerContainer [Pipeline] sh 06:10:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:10:57 Stashed 1 file(s) [Pipeline] echo 06:10:57 [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 06:11:13 Still waiting to schedule task 06:11:13 ‘prd-centos7-builder-2c-1g-6158’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-6163’ 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-6035’ doesn’t have label ‘centos7-docker-4c-2g’ 06:11:13 Still waiting to schedule task 06:11:13 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:11:35 Running on prd-centos7-docker-4c-2g-6164 in /w/workspace/gexfoundry_device-mqtt-go_PR-179 [Pipeline] { [Pipeline] ws 06:11:35 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 06:11:39 using credential edgex-jenkins-ssh 06:11:39 Cloning the remote Git repository 06:11:39 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 06:11:39 > git init /w/workspace/device-mqtt-go/1 # timeout=10 06:11:39 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:11:39 > git --version # timeout=10 06:11:39 > git --version # 'git version 2.16.5' 06:11:39 using GIT_SSH to set credentials SSH Credentials for GitHub 06:11:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:11:40 Merging remotes/origin/master commit 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b into PR head commit 73f2a7de690d2925ac2614ff7edb74af5d4d6590 06:11:40 Merge succeeded, producing 73f2a7de690d2925ac2614ff7edb74af5d4d6590 06:11:40 Checking out Revision 73f2a7de690d2925ac2614ff7edb74af5d4d6590 (PR-179) 06:11:40 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:11:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:11:40 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:11:40 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:11:40 using GIT_SSH to set credentials SSH Credentials for GitHub 06:11:40 > 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 06:11:40 > git config core.sparsecheckout # timeout=10 06:11:40 > git checkout -f 73f2a7de690d2925ac2614ff7edb74af5d4d6590 # timeout=10 06:11:40 > git remote # timeout=10 06:11:40 > git config --get remote.origin.url # timeout=10 06:11:40 using GIT_SSH to set credentials SSH Credentials for GitHub 06:11:40 > git merge 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b # timeout=10 06:11:40 > git rev-parse HEAD^{commit} # timeout=10 06:11:40 > git config core.sparsecheckout # timeout=10 06:11:40 > git checkout -f 73f2a7de690d2925ac2614ff7edb74af5d4d6590 # timeout=10 06:11:44 Commit message: "Bump github.com/stretchr/testify from 1.5.1 to 1.6.1" 06:11:44 > git --version # timeout=10 06:11:44 > git --version # 'git version 2.16.5' 06:11:44 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:11:45 ========================================================= 06:11:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:11:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:11:46 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 06:11:47 Sending build context to Docker daemon 455.2kB 06:11:47 Step 1/8 : ARG BASE=golang:1.15-alpine 06:11:47 Step 2/8 : FROM ${BASE} 06:11:47 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:11:47 df20fa9351a1: Pulling fs layer 06:11:47 ed8968b2872e: Pulling fs layer 06:11:47 a92cc7c5fd73: Pulling fs layer 06:11:47 e871e8e8d7a9: Pulling fs layer 06:11:47 e73272ec9a57: Pulling fs layer 06:11:47 1e910a182e73: Pulling fs layer 06:11:47 4e634b169226: Pulling fs layer 06:11:47 e73272ec9a57: Waiting 06:11:47 1e910a182e73: Waiting 06:11:47 4e634b169226: Waiting 06:11:47 e871e8e8d7a9: Waiting 06:11:47 a92cc7c5fd73: Verifying Checksum 06:11:47 a92cc7c5fd73: Download complete 06:11:47 ed8968b2872e: Verifying Checksum 06:11:47 ed8968b2872e: Download complete 06:11:47 e73272ec9a57: Verifying Checksum 06:11:47 e73272ec9a57: Download complete 06:11:47 1e910a182e73: Download complete 06:11:47 df20fa9351a1: Verifying Checksum 06:11:47 df20fa9351a1: Download complete 06:11:47 df20fa9351a1: Pull complete 06:11:47 ed8968b2872e: Pull complete 06:11:47 a92cc7c5fd73: Pull complete 06:11:49 4e634b169226: Verifying Checksum 06:11:49 4e634b169226: Download complete 06:11:49 e871e8e8d7a9: Verifying Checksum 06:11:49 e871e8e8d7a9: Download complete 06:11:55 e871e8e8d7a9: Pull complete 06:11:55 e73272ec9a57: Pull complete 06:11:55 1e910a182e73: Pull complete 06:11:59 4e634b169226: Pull complete 06:11:59 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:11:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:11:59 ---> f7629b54cfaa 06:11:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:12:00 ---> Running in 5bec9c2cf8bf 06:12:00 Removing intermediate container 5bec9c2cf8bf 06:12:00 ---> 38e6680ec84d 06:12:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:12:00 ---> Running in a29b70c3d8fd 06:12:01 Removing intermediate container a29b70c3d8fd 06:12:01 ---> 937681db6255 06:12:01 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:12:01 ---> Running in e9941c139927 06:12:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:12:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:12:04 (1/14) Installing libmagic (5.38-r0) 06:12:04 (2/14) Installing file (5.38-r0) 06:12:04 (3/14) Installing libc-dev (0.7.2-r3) 06:12:04 (4/14) Installing g++ (9.3.0-r2) 06:12:09 (5/14) Installing fortify-headers (1.1-r0) 06:12:09 (6/14) Installing patch (2.7.6-r6) 06:12:09 (7/14) Installing build-base (0.5-r2) 06:12:09 (8/14) Installing openssh-keygen (8.3_p1-r0) 06:12:09 (9/14) Installing libedit (20191231.3.1-r0) 06:12:09 (10/14) Installing openssh-client (8.3_p1-r0) 06:12:09 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 06:12:09 (12/14) Installing openssh-server-common (8.3_p1-r0) 06:12:09 (13/14) Installing openssh-server (8.3_p1-r0) 06:12:09 (14/14) Installing openssh (8.3_p1-r0) 06:12:10 Executing busybox-1.31.1-r16.trigger 06:12:10 OK: 237 MiB in 53 packages 06:12:13 Removing intermediate container e9941c139927 06:12:13 ---> bb415978109e 06:12:13 Step 6/8 : WORKDIR /device-mqtt-go 06:12:13 ---> Running in d28b35793864 06:12:13 Removing intermediate container d28b35793864 06:12:13 ---> 08922932958f 06:12:13 Step 7/8 : COPY . . 06:12:14 ---> 2010d974f7f6 06:12:14 Step 8/8 : RUN go mod download 06:12:14 ---> Running in a72d2d5285ab 06:12:29 Removing intermediate container a72d2d5285ab 06:12:29 ---> b3d3e75aa5a6 06:12:29 Successfully built b3d3e75aa5a6 06:12:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:12:30 + docker inspect -f . ci-base-image-x86_64 06:12:30 . [Pipeline] withDockerContainer 06:12:30 prd-centos7-docker-4c-2g-6164 does not seem to be running inside a container 06:12:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-x86_64 cat 06:12:31 $ docker top 08b88a8b7efe1f4b4bca3e65701b01c1c97d7977dbd48277adabd4c984d040c8 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:31 + go version 06:12:31 go version go1.15.2 linux/amd64 [Pipeline] } 06:12:31 $ docker stop --time=1 08b88a8b7efe1f4b4bca3e65701b01c1c97d7977dbd48277adabd4c984d040c8 06:12:33 $ docker rm -f 08b88a8b7efe1f4b4bca3e65701b01c1c97d7977dbd48277adabd4c984d040c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:12:34 + docker inspect -f . ci-base-image-x86_64 06:12:34 . [Pipeline] withDockerContainer 06:12:34 prd-centos7-docker-4c-2g-6164 does not seem to be running inside a container 06:12:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-x86_64 cat 06:12:35 $ docker top 3355995be698dabacef30175b799d13331165ae2efd2f00d6fb5dd05c8f7c0b7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:35 + make test 06:12:35 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:12:36 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:12:48 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 06:12:48 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 28.3% of statements 06:12:48 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 06:12:48 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:12:49 gofmt -l . 06:12:49 ["`gofmt -l .`" = ""] 06:12:49 ./bin/test-attribution-txt.sh 06:12:50 An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add 06:12:50 make: *** [Makefile:29: test] Error 1 [Pipeline] } 06:12:50 $ docker stop --time=1 3355995be698dabacef30175b799d13331165ae2efd2f00d6fb5dd05c8f7c0b7 06:12:52 $ docker rm -f 3355995be698dabacef30175b799d13331165ae2efd2f00d6fb5dd05c8f7c0b7 [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] } 06:12:54 Failed in branch amd64 06:13:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6165 in /w/workspace/gexfoundry_device-mqtt-go_PR-179 [Pipeline] { [Pipeline] ws 06:13:07 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 06:13:12 using credential edgex-jenkins-ssh 06:13:12 Cloning the remote Git repository 06:13:12 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 06:13:12 > git init /w/workspace/device-mqtt-go/1 # timeout=10 06:13:12 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:13:12 > git --version # timeout=10 06:13:12 > git --version # 'git version 2.17.1' 06:13:12 using GIT_SSH to set credentials SSH Credentials for GitHub 06:13:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:13:13 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:13:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:13:13 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:13:13 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:13:13 using GIT_SSH to set credentials SSH Credentials for GitHub 06:13:13 > 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 06:13:13 Merging remotes/origin/master commit 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b into PR head commit 73f2a7de690d2925ac2614ff7edb74af5d4d6590 06:13:14 Merge succeeded, producing 73f2a7de690d2925ac2614ff7edb74af5d4d6590 06:13:14 Checking out Revision 73f2a7de690d2925ac2614ff7edb74af5d4d6590 (PR-179) 06:13:13 > git config core.sparsecheckout # timeout=10 06:13:13 > git checkout -f 73f2a7de690d2925ac2614ff7edb74af5d4d6590 # timeout=10 06:13:14 > git remote # timeout=10 06:13:14 > git config --get remote.origin.url # timeout=10 06:13:14 using GIT_SSH to set credentials SSH Credentials for GitHub 06:13:14 > git merge 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b # timeout=10 06:13:14 > git rev-parse HEAD^{commit} # timeout=10 06:13:14 > git config core.sparsecheckout # timeout=10 06:13:14 > git checkout -f 73f2a7de690d2925ac2614ff7edb74af5d4d6590 # timeout=10 06:13:18 Commit message: "Bump github.com/stretchr/testify from 1.5.1 to 1.6.1" 06:13:18 > git --version # timeout=10 06:13:18 > git --version # 'git version 2.17.1' 06:13:18 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:13:19 ========================================================= 06:13:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:13:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:13:20 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 06:13:21 Sending build context to Docker daemon 455.2kB 06:13:21 Step 1/8 : ARG BASE=golang:1.15-alpine 06:13:21 Step 2/8 : FROM ${BASE} 06:13:22 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:13:22 b538f80385f9: Pulling fs layer 06:13:22 74f711af9a0d: Pulling fs layer 06:13:22 99f96fe45779: Pulling fs layer 06:13:22 8529a6b9a6be: Pulling fs layer 06:13:22 45590311c82a: Pulling fs layer 06:13:22 69ca0ff8b7b3: Pulling fs layer 06:13:22 209524e5b208: Pulling fs layer 06:13:22 8529a6b9a6be: Waiting 06:13:22 45590311c82a: Waiting 06:13:22 69ca0ff8b7b3: Waiting 06:13:22 209524e5b208: Waiting 06:13:22 99f96fe45779: Verifying Checksum 06:13:22 99f96fe45779: Download complete 06:13:22 74f711af9a0d: Verifying Checksum 06:13:22 74f711af9a0d: Download complete 06:13:22 45590311c82a: Download complete 06:13:22 69ca0ff8b7b3: Verifying Checksum 06:13:22 69ca0ff8b7b3: Download complete 06:13:22 b538f80385f9: Download complete 06:13:23 b538f80385f9: Pull complete 06:13:23 74f711af9a0d: Pull complete 06:13:24 99f96fe45779: Pull complete 06:13:25 209524e5b208: Verifying Checksum 06:13:25 209524e5b208: Download complete 06:13:26 8529a6b9a6be: Verifying Checksum 06:13:26 8529a6b9a6be: Download complete 06:13:36 8529a6b9a6be: Pull complete 06:13:36 45590311c82a: Pull complete 06:13:36 69ca0ff8b7b3: Pull complete 06:13:40 209524e5b208: Pull complete 06:13:40 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:13:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:13:40 ---> 5bddaf1c2fca 06:13:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:13:43 ---> Running in aa10c9b79102 06:13:43 Removing intermediate container aa10c9b79102 06:13:43 ---> 218c90177db8 06:13:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:13:44 ---> Running in 2b1b2f3f4176 06:13:46 Removing intermediate container 2b1b2f3f4176 06:13:46 ---> 81f8e716ce97 06:13:46 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:13:46 ---> Running in 170d9833fc9e 06:13:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:13:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:13:49 (1/14) Installing libmagic (5.38-r0) 06:13:50 (2/14) Installing file (5.38-r0) 06:13:50 (3/14) Installing libc-dev (0.7.2-r3) 06:13:50 (4/14) Installing g++ (9.3.0-r2) 06:13:54 (5/14) Installing fortify-headers (1.1-r0) 06:13:54 (6/14) Installing patch (2.7.6-r6) 06:13:54 (7/14) Installing build-base (0.5-r2) 06:13:54 (8/14) Installing openssh-keygen (8.3_p1-r0) 06:13:54 (9/14) Installing libedit (20191231.3.1-r0) 06:13:54 (10/14) Installing openssh-client (8.3_p1-r0) 06:13:55 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 06:13:55 (12/14) Installing openssh-server-common (8.3_p1-r0) 06:13:55 (13/14) Installing openssh-server (8.3_p1-r0) 06:13:55 (14/14) Installing openssh (8.3_p1-r0) 06:13:55 Executing busybox-1.31.1-r16.trigger 06:13:55 OK: 221 MiB in 53 packages 06:14:00 Removing intermediate container 170d9833fc9e 06:14:00 ---> 530b5394c421 06:14:00 Step 6/8 : WORKDIR /device-mqtt-go 06:14:00 ---> Running in bee8bfac32de 06:14:00 Removing intermediate container bee8bfac32de 06:14:00 ---> d4f4f93ff1f9 06:14:00 Step 7/8 : COPY . . 06:14:01 ---> 92f0a49b127a 06:14:01 Step 8/8 : RUN go mod download 06:14:01 ---> Running in 62200e742ffd 06:14:16 Removing intermediate container 62200e742ffd 06:14:16 ---> f1453a6633a4 06:14:16 Successfully built f1453a6633a4 06:14:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:14:16 + docker inspect -f . ci-base-image-arm64 06:14:16 . [Pipeline] withDockerContainer 06:14:17 prd-ubuntu18.04-docker-arm64-4c-16g-6165 does not seem to be running inside a container 06:14:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat 06:14:19 $ docker top d9bfed5056606b3e02179e175e920690b81cf5216226b47a2e321345f100501f -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:20 + go version 06:14:20 go version go1.15.2 linux/arm64 [Pipeline] } 06:14:20 $ docker stop --time=1 d9bfed5056606b3e02179e175e920690b81cf5216226b47a2e321345f100501f 06:14:22 $ docker rm -f d9bfed5056606b3e02179e175e920690b81cf5216226b47a2e321345f100501f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:14:24 + docker inspect -f . ci-base-image-arm64 06:14:24 . [Pipeline] withDockerContainer 06:14:24 prd-ubuntu18.04-docker-arm64-4c-16g-6165 does not seem to be running inside a container 06:14:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat 06:14:26 $ docker top fb82239916024b42cc6373a4cd65f11adfea6ae58bac55cc2e007cbabd6aaf6f -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:27 + make test 06:14:27 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:14:28 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:15:08 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 06:15:08 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.022s coverage: 28.3% of statements 06:15:08 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 06:15:08 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:15:12 gofmt -l . 06:15:12 ["`gofmt -l .`" = ""] 06:15:12 ./bin/test-attribution-txt.sh 06:15:12 An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add 06:15:12 make: *** [Makefile:29: test] Error 1 [Pipeline] } 06:15:12 $ docker stop --time=1 fb82239916024b42cc6373a4cd65f11adfea6ae58bac55cc2e007cbabd6aaf6f 06:15:15 $ docker rm -f fb82239916024b42cc6373a4cd65f11adfea6ae58bac55cc2e007cbabd6aaf6f [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] } 06:15:17 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 06:15:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:15:22 ---> package-listing.sh 06:15:22 ++ facter osfamily 06:15:22 ++ tr '[:upper:]' '[:lower:]' 06:15:22 + OS_FAMILY=redhat 06:15:22 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-179 06:15:22 + START_PACKAGES=/tmp/packages_start.txt 06:15:22 + END_PACKAGES=/tmp/packages_end.txt 06:15:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:15:22 + PACKAGES=/tmp/packages_start.txt 06:15:22 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-179 ']' 06:15:22 + PACKAGES=/tmp/packages_end.txt 06:15:22 + case "${OS_FAMILY}" in 06:15:22 + rpm -qa 06:15:22 + sort 06:15:27 + '[' -f /tmp/packages_start.txt ']' 06:15:27 + '[' -f /tmp/packages_end.txt ']' 06:15:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:15:27 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-179 ']' 06:15:27 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-179/archives/ 06:15:27 + 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 06:15:27 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 06:15:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:15:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:15:27 06:15:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:15:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:15:28 alpine: Pulling from edgex-lftools-log-publisher 06:15:28 df20fa9351a1: Pulling fs layer 06:15:28 36b3adc4ff6f: Pulling fs layer 06:15:28 8ad3a11d3b57: Pulling fs layer 06:15:28 46f8f816bc3b: Pulling fs layer 06:15:28 93b61091891f: Pulling fs layer 06:15:28 93b9cdb0e59b: Pulling fs layer 06:15:28 5e14af77c1be: Pulling fs layer 06:15:28 01666e4c0597: Pulling fs layer 06:15:28 aa168da1d23b: Pulling fs layer 06:15:28 93b9cdb0e59b: Waiting 06:15:28 5e14af77c1be: Waiting 06:15:28 01666e4c0597: Waiting 06:15:28 aa168da1d23b: Waiting 06:15:28 93b61091891f: Waiting 06:15:28 46f8f816bc3b: Waiting 06:15:28 36b3adc4ff6f: Verifying Checksum 06:15:28 36b3adc4ff6f: Download complete 06:15:28 46f8f816bc3b: Verifying Checksum 06:15:28 46f8f816bc3b: Download complete 06:15:28 df20fa9351a1: Verifying Checksum 06:15:28 df20fa9351a1: Download complete 06:15:28 93b9cdb0e59b: Verifying Checksum 06:15:28 93b9cdb0e59b: Download complete 06:15:28 5e14af77c1be: Verifying Checksum 06:15:28 5e14af77c1be: Download complete 06:15:28 01666e4c0597: Verifying Checksum 06:15:28 01666e4c0597: Download complete 06:15:28 93b61091891f: Verifying Checksum 06:15:28 93b61091891f: Download complete 06:15:28 df20fa9351a1: Pull complete 06:15:28 36b3adc4ff6f: Pull complete 06:15:29 8ad3a11d3b57: Verifying Checksum 06:15:29 8ad3a11d3b57: Download complete 06:15:29 8ad3a11d3b57: Pull complete 06:15:29 46f8f816bc3b: Pull complete 06:15:30 93b61091891f: Pull complete 06:15:30 93b9cdb0e59b: Pull complete 06:15:30 5e14af77c1be: Pull complete 06:15:30 01666e4c0597: Pull complete 06:15:30 aa168da1d23b: Verifying Checksum 06:15:30 aa168da1d23b: Download complete 06:15:39 aa168da1d23b: Pull complete 06:15:39 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:15:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:15:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:15:39 prd-centos7-docker-4c-2g-6161 does not seem to be running inside a container 06:15:39 $ 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 06:15:43 $ docker top 25086b019c36ad7d6d8d7069a47ed0fb9c328438684e612c697908f0b20fe060 -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:43 + touch /tmp/pre-build-complete [Pipeline] sh 06:15:44 + mkdir -p /var/log/sa [Pipeline] sh 06:15:44 + ls /var/log/sa-host 06:15:44 + sadf -c /var/log/sa-host/sa05 06:15:44 file_magic: OK 06:15:44 HZ: Using current value: 100 06:15:44 file_header: OK 06:15:44 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:15:44 Statistics: 06:15:44 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:15:44 File successfully converted to sysstat format version 12.2.1 06:15:44 + sadf -c /var/log/sa-host/sa19 06:15:44 file_magic: OK 06:15:44 HZ: Using current value: 100 06:15:44 file_header: OK 06:15:44 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:15:44 Statistics: 06:15:44 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:15:44 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:44 provisioning config files... 06:15:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-179@tmp/config9146227523240769163tmp [Pipeline] { [Pipeline] echo 06:15:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:15:45 ---> create-netrc.sh [Pipeline] } 06:15:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:15:45 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:15:45 ---> python-tools-install.sh [Pipeline] echo 06:15:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:15:46 ---> sudo-logs.sh 06:15:46 Archiving 'sudo' log.. [Pipeline] echo 06:15:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:15:46 ---> job-cost.sh 06:15:46 lf-activate-venv: SKIPPING 06:15:46 INFO: No Stack... 06:15:47 INFO: Retrieving Pricing Info for: v1-standard-2 06:15:48 INFO: Archiving Costs [Pipeline] echo 06:15:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:15:48 ---> logs-deploy.sh 06:15:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-179/1 06:15:48 INFO: archiving workspace using pattern(s): 06:15:50 Archives upload complete. 06:15:50 INFO: archiving logs to Nexus