Pull request #70 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 902c3945f65da81e26ed8e96df8a7b3a5aa03b12+03464ffadf6f8b9068bcdea2569ab2e117b905af (798301e2a3a32f8c4936c7210aadfaaa1ca8e182) 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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 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-snmp-go/branches/PR-70/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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 14412ea6c559e203c60c6aec71a1cbd01eb2e17f # timeout=10 Commit message: "Merge pull request #284 from ernestojeda/codecov-fix" > 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-snmp-go/branches/PR-70/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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 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-snmp-go] ========================================================= [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-snmp-go-settings PROJECT: device-snmp-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-snmp-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: false 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-10057 in /w/workspace/dgexfoundry_device-snmp-go_PR-70 [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-snmp-go.git > git init /w/workspace/dgexfoundry_device-snmp-go_PR-70 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-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-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-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-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/70/head:refs/remotes/origin/PR-70 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 03464ffadf6f8b9068bcdea2569ab2e117b905af into PR head commit 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 Merge succeeded, producing 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 Checking out Revision 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 (PR-70) > git config core.sparsecheckout # timeout=10 > git checkout -f 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 # 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 03464ffadf6f8b9068bcdea2569ab2e117b905af # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 # timeout=10 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:42:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:42:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:42:19 ========================================================= 06:42:19 EdgeX Global Pipelines Version Info 06:42:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:42:22 ------------------- 06:42:22 stable info: 06:42:22 ------------------- 06:42:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:42:22 Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 06:42:22 Message: update stable to v1.0.152 06:42:23 ------------------- 06:42:23 experimental info: 06:42:23 ------------------- 06:42:23 Commited By: **** collab-it+edgex@linuxfoundation.org 06:42:23 Commit SHA: a289ce3bd006757951f62b250e9ecca5ba035f92 06:42:23 Message: update experimental to v1.0.154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:42:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 06:42:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 06:42:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:42:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:42:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:42:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:42:24 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo 06:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:42:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:42:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:42:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:42:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:42:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:42:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:42:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:42:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:42:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:42:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:42:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:42:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-70 [Pipeline] echo 06:42:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-70 [Pipeline] echo 06:42:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-70 [Pipeline] echo 06:42:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 [Pipeline] echo 06:42:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 902c394 [Pipeline] echo 06:42:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:42:29 + git log --format=format:%s -1 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 [Pipeline] echo 06:42:29 GIT_COMMIT: 902c3945f65da81e26ed8e96df8a7b3a5aa03b12, Commit Message: Bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 06:42:29 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:42:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:42:30 06:42:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:42:31 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:42:33 latest: Pulling from edgex-devops/git-semver 06:42:33 31603596830f: Pulling fs layer 06:42:33 2a8b12db71e7: Pulling fs layer 06:42:33 6ca5941a6612: Pulling fs layer 06:42:33 ecc8261a40a4: Pulling fs layer 06:42:33 ecc8261a40a4: Waiting 06:42:33 2a8b12db71e7: Verifying Checksum 06:42:33 2a8b12db71e7: Download complete 06:42:34 31603596830f: Verifying Checksum 06:42:34 31603596830f: Download complete 06:42:34 ecc8261a40a4: Verifying Checksum 06:42:34 ecc8261a40a4: Download complete 06:42:34 6ca5941a6612: Verifying Checksum 06:42:34 6ca5941a6612: Download complete 06:42:35 31603596830f: Pull complete 06:42:35 2a8b12db71e7: Pull complete 06:42:37 6ca5941a6612: Pull complete 06:42:37 ecc8261a40a4: Pull complete 06:42:37 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:42:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:42:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:42:37 prd-centos7-docker-4c-2g-10057 does not seem to be running inside a container 06:42:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-70 -v /w/workspace/dgexfoundry_device-snmp-go_PR-70:/w/workspace/dgexfoundry_device-snmp-go_PR-70:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-70@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:42:40 $ docker top a5aad867c4c589dedc7dc24426adc5ca67d4360a1cffe48e59f92bf3e8046da5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:42:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:42:41 [ssh-agent] Looking for ssh-agent implementation... 06:42:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:42:41 $ docker exec a5aad867c4c589dedc7dc24426adc5ca67d4360a1cffe48e59f92bf3e8046da5 ssh-agent 06:42:42 SSH_AUTH_SOCK=/tmp/ssh-29i04LxVbtR6/agent.11 06:42:42 SSH_AGENT_PID=16 06:42:42 Running ssh-add (command line suppressed) 06:42:42 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp/private_key_987670455028019963.key (/w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp/private_key_987670455028019963.key) 06:42:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:42:42 + git tag --points-at HEAD [Pipeline] } 06:42:43 $ docker exec --env ******** --env ******** a5aad867c4c589dedc7dc24426adc5ca67d4360a1cffe48e59f92bf3e8046da5 ssh-agent -k 06:42:43 unset SSH_AUTH_SOCK; 06:42:43 unset SSH_AGENT_PID; 06:42:43 echo Agent pid 16 killed; 06:42:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:42:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:42:43 [ssh-agent] Looking for ssh-agent implementation... 06:42:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:42:43 $ docker exec a5aad867c4c589dedc7dc24426adc5ca67d4360a1cffe48e59f92bf3e8046da5 ssh-agent 06:42:44 SSH_AUTH_SOCK=/tmp/ssh-1dLBdiF4bC0Z/agent.44 06:42:44 SSH_AGENT_PID=49 06:42:44 Running ssh-add (command line suppressed) 06:42:44 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp/private_key_3307677340601675659.key (/w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp/private_key_3307677340601675659.key) 06:42:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:42:44 + git semver init 06:42:44 # -> Open(): unable to determine branch for HEAD 06:42:44 # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-70/.git 06:42:44 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-70 06:42:44 # $SEMVER_REMOTE_NAME = origin 06:42:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:42:44 # $SEMVER_USER_NAME = edgex-jenkins 06:42:44 # $SEMVER_BRANCH = PR-70 06:42:44 # $SEMVER_TEMP = /tmp/semver-163816898 06:42:44 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 06:42:45 # '/tmp/semver-163816898' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-70/.semver' 06:42:45 # -> Force: false 06:42:45 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-70/.semver [Pipeline] } 06:42:45 $ docker exec --env ******** --env ******** a5aad867c4c589dedc7dc24426adc5ca67d4360a1cffe48e59f92bf3e8046da5 ssh-agent -k 06:42:45 unset SSH_AUTH_SOCK; 06:42:45 unset SSH_AGENT_PID; 06:42:45 echo Agent pid 49 killed; 06:42:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:42:46 + git semver [Pipeline] } 06:42:46 $ docker stop --time=1 a5aad867c4c589dedc7dc24426adc5ca67d4360a1cffe48e59f92bf3e8046da5 06:42:48 $ docker rm -f a5aad867c4c589dedc7dc24426adc5ca67d4360a1cffe48e59f92bf3e8046da5 [Pipeline] // withDockerContainer [Pipeline] sh 06:42:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:42:51 Stashed 1 file(s) [Pipeline] echo 06:42:51 [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] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:42:53 ========================================================= 06:42:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:42:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:42:53 + 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:42:53 Sending build context to Docker daemon 460.3kB 06:42:53 Step 1/10 : ARG BASE=golang:1.15-alpine 06:42:53 Step 2/10 : FROM ${BASE} 06:42:54 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:42:54 df20fa9351a1: Pulling fs layer 06:42:54 ed8968b2872e: Pulling fs layer 06:42:54 a92cc7c5fd73: Pulling fs layer 06:42:54 e871e8e8d7a9: Pulling fs layer 06:42:54 e73272ec9a57: Pulling fs layer 06:42:54 1e910a182e73: Pulling fs layer 06:42:54 4e634b169226: Pulling fs layer 06:42:54 e73272ec9a57: Waiting 06:42:54 1e910a182e73: Waiting 06:42:54 4e634b169226: Waiting 06:42:54 e871e8e8d7a9: Waiting 06:42:54 a92cc7c5fd73: Verifying Checksum 06:42:54 a92cc7c5fd73: Download complete 06:42:54 ed8968b2872e: Download complete 06:42:54 e73272ec9a57: Verifying Checksum 06:42:54 e73272ec9a57: Download complete 06:42:54 1e910a182e73: Verifying Checksum 06:42:54 1e910a182e73: Download complete 06:42:54 df20fa9351a1: Verifying Checksum 06:42:54 df20fa9351a1: Download complete 06:42:54 df20fa9351a1: Pull complete 06:42:54 ed8968b2872e: Pull complete 06:42:54 a92cc7c5fd73: Pull complete 06:43:00 4e634b169226: Verifying Checksum 06:43:00 4e634b169226: Download complete 06:43:02 e871e8e8d7a9: Download complete 06:43:07 Still waiting to schedule task 06:43:07 ‘prd-centos7-docker-4c-2g-10065’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-8c-8g-10049’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-8c-8g-10051’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10024’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10062’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-9796’ is offline 06:43:12 e871e8e8d7a9: Pull complete 06:43:12 e73272ec9a57: Pull complete 06:43:12 1e910a182e73: Pull complete 06:43:21 4e634b169226: Pull complete 06:43:21 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:43:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:43:21 ---> f7629b54cfaa 06:43:21 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:43:21 ---> Running in 581f537cdfe4 06:43:21 Removing intermediate container 581f537cdfe4 06:43:21 ---> 7b036bad6f96 06:43:21 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:43:21 ---> Running in 042fe9581270 06:43:21 Removing intermediate container 042fe9581270 06:43:21 ---> 5c8b2a675ec7 06:43:21 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 06:43:21 ---> Running in 5689e3cc657d 06:43:21 Removing intermediate container 5689e3cc657d 06:43:21 ---> 5f485e8e2ee0 06:43:21 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:43:21 ---> Running in 677e5aff9447 06:43:24 Removing intermediate container 677e5aff9447 06:43:24 ---> fee7a48bbbf8 06:43:24 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:43:24 ---> Running in b494118b7547 06:43:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:43:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:43:27 OK: 166 MiB in 39 packages 06:43:27 Removing intermediate container b494118b7547 06:43:27 ---> ac8e5cf343e5 06:43:27 Step 8/10 : WORKDIR /device-snmp-go 06:43:27 ---> Running in 1f65bd7b2923 06:43:27 Removing intermediate container 1f65bd7b2923 06:43:27 ---> 1d2f482ed74e 06:43:27 Step 9/10 : COPY . . 06:43:28 ---> b852d7221957 06:43:28 Step 10/10 : RUN go mod download 06:43:28 ---> Running in ca38cec6ff4a 06:43:55 Removing intermediate container ca38cec6ff4a 06:43:55 ---> e2e3ded90b28 06:43:55 Successfully built e2e3ded90b28 06:43:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:43:56 + docker inspect -f . ci-base-image-x86_64 06:43:56 . [Pipeline] withDockerContainer 06:43:57 prd-centos7-docker-4c-2g-10057 does not seem to be running inside a container 06:43:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-snmp-go_PR-70 -v /w/workspace/dgexfoundry_device-snmp-go_PR-70:/w/workspace/dgexfoundry_device-snmp-go_PR-70:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:43:59 $ docker top 3038d877baa9da1dad9da85c57f0e3f8c3a8e77a50c8c1f80174e2a580884fb1 -eo pid,comm [Pipeline] { [Pipeline] sh 06:44:00 + go version 06:44:00 go version go1.15.2 linux/amd64 [Pipeline] } 06:44:00 $ docker stop --time=1 3038d877baa9da1dad9da85c57f0e3f8c3a8e77a50c8c1f80174e2a580884fb1 06:44:03 $ docker rm -f 3038d877baa9da1dad9da85c57f0e3f8c3a8e77a50c8c1f80174e2a580884fb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:44:05 + docker inspect -f . ci-base-image-x86_64 06:44:05 . [Pipeline] withDockerContainer 06:44:05 prd-centos7-docker-4c-2g-10057 does not seem to be running inside a container 06:44:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-snmp-go_PR-70 -v /w/workspace/dgexfoundry_device-snmp-go_PR-70:/w/workspace/dgexfoundry_device-snmp-go_PR-70:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:44:07 $ docker top 7b99bed201ff004b607f0a0aae16cffb8c60e3b5e8414a10193581c36c444786 -eo pid,comm [Pipeline] { [Pipeline] sh 06:44:08 + make test 06:44:08 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:44:09 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:44:33 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:44:33 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.018s coverage: 0.0% of statements 06:44:33 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:44:35 gofmt -l . 06:44:35 [ "`gofmt -l .`" = "" ] 06:44:35 ./bin/test-attribution-txt.sh 06:44:36 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:44:37 $ docker stop --time=1 7b99bed201ff004b607f0a0aae16cffb8c60e3b5e8414a10193581c36c444786 06:44:39 $ docker rm -f 7b99bed201ff004b607f0a0aae16cffb8c60e3b5e8414a10193581c36c444786 [Pipeline] // withDockerContainer [Pipeline] sh 06:44:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:44:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:44:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:44:42 + ls -al . 06:44:42 total 104 06:44:42 drwxrwxr-x. 9 jenkins jenkins 4096 Nov 2 06:44 . 06:44:42 drwxrwxr-x. 4 jenkins jenkins 112 Nov 2 06:42 .. 06:44:42 -rw-rw-r--. 1 jenkins jenkins 5082 Nov 2 06:42 Attribution.txt 06:44:42 drwxrwxr-x. 2 jenkins jenkins 87 Nov 2 06:42 bin 06:44:42 drwxrwxr-x. 3 jenkins jenkins 32 Nov 2 06:42 cmd 06:44:42 -rw-r--r--. 1 jenkins jenkins 8493 Nov 2 06:44 coverage.out 06:44:42 -rw-rw-r--. 1 jenkins jenkins 1002 Nov 2 06:42 Dockerfile 06:44:42 -rw-rw-r--. 1 jenkins jenkins 409 Nov 2 06:42 Dockerfile.build 06:44:42 -rw-rw-r--. 1 jenkins jenkins 6 Nov 2 06:42 .dockerignore 06:44:42 drwxrwxr-x. 8 jenkins jenkins 179 Nov 2 06:42 .git 06:44:42 drwxrwxr-x. 2 jenkins jenkins 60 Nov 2 06:42 .github 06:44:42 -rw-rw-r--. 1 jenkins jenkins 272 Nov 2 06:42 .gitignore 06:44:42 -rw-r--r--. 1 jenkins jenkins 211 Nov 2 06:44 go.mod 06:44:42 -rw-r--r--. 1 jenkins jenkins 14387 Nov 2 06:44 go.sum 06:44:42 drwxrwxr-x. 3 jenkins jenkins 20 Nov 2 06:42 internal 06:44:42 -rw-rw-r--. 1 jenkins jenkins 656 Nov 2 06:42 Jenkinsfile 06:44:42 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 2 06:42 LICENSE 06:44:42 -rw-rw-r--. 1 jenkins jenkins 937 Nov 2 06:42 Makefile 06:44:42 drwxrwxr-x. 2 jenkins jenkins 84 Nov 2 06:42 profiles 06:44:42 -rw-rw-r--. 1 jenkins jenkins 12398 Nov 2 06:42 README.md 06:44:42 drwx------. 3 jenkins jenkins 74 Nov 2 06:42 .semver 06:44:42 -rw-rw-r--. 1 jenkins jenkins 5 Nov 2 06:42 VERSION 06:44:42 -rw-rw-r--. 1 jenkins jenkins 209 Nov 2 06:42 version.go [Pipeline] isUnix [Pipeline] sh 06:44:43 + docker build -t docker-device-snmp-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=902c3945f65da81e26ed8e96df8a7b3a5aa03b12 --label arch=amd64 --label version=0.0.0 . 06:44:43 Sending build context to Docker daemon 469.5kB 06:44:43 Step 1/26 : ARG BASE=golang:1.15-alpine 06:44:43 Step 2/26 : FROM ${BASE} AS builder 06:44:43 ---> e2e3ded90b28 06:44:43 Step 3/26 : ARG MAKE='make build' 06:44:43 ---> Running in 5b4ae4858f97 06:44:44 Removing intermediate container 5b4ae4858f97 06:44:44 ---> 92a03edb9bad 06:44:44 Step 4/26 : ARG ALPINE_PKG_BASE="make git" 06:44:44 ---> Running in bde7343f52d2 06:44:44 Removing intermediate container bde7343f52d2 06:44:44 ---> fa38be01bc36 06:44:44 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 06:44:44 ---> Running in f7666b42216d 06:44:45 Removing intermediate container f7666b42216d 06:44:45 ---> eb82dac69579 06:44:45 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:44:45 ---> Running in c250d4da98c0 06:44:46 Removing intermediate container c250d4da98c0 06:44:46 ---> 7c44d0da7a3c 06:44:46 Step 7/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:44:46 ---> Running in f842c2600a78 06:44:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:44:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:44:49 OK: 166 MiB in 39 packages 06:44:50 Removing intermediate container f842c2600a78 06:44:50 ---> a96004010052 06:44:50 Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 06:44:51 ---> Running in b18223f48d33 06:44:51 Removing intermediate container b18223f48d33 06:44:51 ---> 36785b39a3bd 06:44:51 Step 9/26 : COPY go.mod . 06:44:52 ---> 47be917a200f 06:44:52 Step 10/26 : COPY Makefile . 06:44:52 ---> c4fba7999019 06:44:52 Step 11/26 : RUN make update 06:44:52 ---> Running in ed03f9c541e5 06:44:53 CGO_ENABLED=0 GO111MODULE=on go mod download 06:44:54 Removing intermediate container ed03f9c541e5 06:44:54 ---> a1eece7e5fcb 06:44:54 Step 12/26 : COPY . . 06:44:55 ---> 67a8f4dd7539 06:44:55 Step 13/26 : RUN ${MAKE} 06:44:55 ---> Running in e3110b775002 06:44:55 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp-go ./cmd 06:45:14 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:45:18 Removing intermediate container e3110b775002 06:45:18 ---> 7ff3a87160c8 06:45:18 Step 14/26 : FROM alpine 06:45:18 latest: Pulling from library/alpine 06:45:18 188c0c94c7c5: Pulling fs layer 06:45:18 188c0c94c7c5: Verifying Checksum 06:45:18 188c0c94c7c5: Download complete 06:45:19 188c0c94c7c5: Pull complete 06:45:19 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 06:45:19 Status: Downloaded newer image for alpine:latest 06:45:19 ---> d6e46aa2470d 06:45:19 Step 15/26 : ENV APP_PORT=49993 06:45:19 ---> Running in 1c83c17cf609 06:45:19 Removing intermediate container 1c83c17cf609 06:45:19 ---> 1dbe5bb38446 06:45:19 Step 16/26 : EXPOSE $APP_PORT 06:45:19 ---> Running in bbc45d1d3c39 06:45:19 Removing intermediate container bbc45d1d3c39 06:45:19 ---> 6adae0ec6ba7 06:45:19 Step 17/26 : ENV DEVICE_PORT=161 06:45:19 ---> Running in 8d5b85955d5e 06:45:20 Removing intermediate container 8d5b85955d5e 06:45:20 ---> d95156f941a2 06:45:20 Step 18/26 : EXPOSE $DEVICE_PORT 06:45:20 ---> Running in efc8747278c3 06:45:20 Removing intermediate container efc8747278c3 06:45:20 ---> 70d85293fe31 06:45:20 Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 06:45:20 ---> 776b587c4676 06:45:20 Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 06:45:21 ---> b61e70b4f0be 06:45:21 Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 06:45:21 ---> 8e67ffa97c84 06:45:21 Step 22/26 : ENTRYPOINT ["/device-snmp-go"] 06:45:21 ---> Running in a77b4d6ea252 06:45:22 Removing intermediate container a77b4d6ea252 06:45:22 ---> 743fee6fa4e9 06:45:22 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:45:22 ---> Running in b628c566ca5c 06:45:22 Removing intermediate container b628c566ca5c 06:45:22 ---> 62a542b1cb7e 06:45:22 Step 24/26 : LABEL arch=amd64 06:45:22 ---> Running in bde95db9d492 06:45:22 Removing intermediate container bde95db9d492 06:45:22 ---> b3d31763f190 06:45:22 Step 25/26 : LABEL git_sha=902c3945f65da81e26ed8e96df8a7b3a5aa03b12 06:45:22 ---> Running in e01c026cfc70 06:45:22 Removing intermediate container e01c026cfc70 06:45:22 ---> 3f2814aabb91 06:45:22 Step 26/26 : LABEL version=0.0.0 06:45:22 ---> Running in f664a514bfdc 06:45:23 Removing intermediate container f664a514bfdc 06:45:23 ---> 94bb57796f57 06:45:23 [Warning] One or more build-args [ARCH] were not consumed 06:45:23 Successfully built 94bb57796f57 06:45:23 Successfully tagged docker-device-snmp-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:46:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-10077 in /w/workspace/dgexfoundry_device-snmp-go_PR-70 [Pipeline] { [Pipeline] ws 06:46:18 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 06:46:25 using credential edgex-jenkins-ssh 06:46:25 Cloning the remote Git repository 06:46:25 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 06:46:26 > git init /w/workspace/device-snmp-go/1 # timeout=10 06:46:26 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:46:26 > git --version # timeout=10 06:46:26 > git --version # 'git version 2.17.1' 06:46:26 using GIT_SSH to set credentials SSH Credentials for GitHub 06:46:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:46:26 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:46:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:46:26 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:46:27 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:46:27 using GIT_SSH to set credentials SSH Credentials for GitHub 06:46:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/70/head:refs/remotes/origin/PR-70 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:46:27 Merging remotes/origin/master commit 03464ffadf6f8b9068bcdea2569ab2e117b905af into PR head commit 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 06:46:27 Merge succeeded, producing 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 06:46:27 Checking out Revision 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 (PR-70) 06:46:27 > git config core.sparsecheckout # timeout=10 06:46:27 > git checkout -f 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 # timeout=10 06:46:27 > git remote # timeout=10 06:46:27 > git config --get remote.origin.url # timeout=10 06:46:27 using GIT_SSH to set credentials SSH Credentials for GitHub 06:46:27 > git merge 03464ffadf6f8b9068bcdea2569ab2e117b905af # timeout=10 06:46:27 > git rev-parse HEAD^{commit} # timeout=10 06:46:27 > git config core.sparsecheckout # timeout=10 06:46:27 > git checkout -f 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 # timeout=10 06:46:32 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" 06:46:32 > git --version # timeout=10 06:46:32 > git --version # 'git version 2.17.1' 06:46:32 fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:46:33 ========================================================= 06:46:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:46:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:46:35 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 06:46:36 Sending build context to Docker daemon 313.9kB 06:46:36 Step 1/10 : ARG BASE=golang:1.15-alpine 06:46:36 Step 2/10 : FROM ${BASE} 06:46:36 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:46:36 b538f80385f9: Pulling fs layer 06:46:36 74f711af9a0d: Pulling fs layer 06:46:36 99f96fe45779: Pulling fs layer 06:46:36 8529a6b9a6be: Pulling fs layer 06:46:36 45590311c82a: Pulling fs layer 06:46:36 69ca0ff8b7b3: Pulling fs layer 06:46:36 209524e5b208: Pulling fs layer 06:46:36 8529a6b9a6be: Waiting 06:46:36 45590311c82a: Waiting 06:46:36 69ca0ff8b7b3: Waiting 06:46:36 209524e5b208: Waiting 06:46:36 99f96fe45779: Verifying Checksum 06:46:36 99f96fe45779: Download complete 06:46:36 74f711af9a0d: Download complete 06:46:36 45590311c82a: Verifying Checksum 06:46:36 45590311c82a: Download complete 06:46:36 69ca0ff8b7b3: Download complete 06:46:36 b538f80385f9: Verifying Checksum 06:46:36 b538f80385f9: Download complete 06:46:37 b538f80385f9: Pull complete 06:46:38 74f711af9a0d: Pull complete 06:46:38 99f96fe45779: Pull complete 06:46:39 209524e5b208: Verifying Checksum 06:46:39 209524e5b208: Download complete 06:46:44 8529a6b9a6be: Verifying Checksum 06:46:44 8529a6b9a6be: Download complete 06:46:54 8529a6b9a6be: Pull complete 06:46:54 45590311c82a: Pull complete 06:46:54 69ca0ff8b7b3: Pull complete 06:46:57 209524e5b208: Pull complete 06:46:57 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:46:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:46:57 ---> 5bddaf1c2fca 06:46:57 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:47:01 ---> Running in f024c4f76f30 06:47:01 Removing intermediate container f024c4f76f30 06:47:01 ---> 9c431366754a 06:47:01 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:47:01 ---> Running in 09d08d1545df 06:47:02 Removing intermediate container 09d08d1545df 06:47:02 ---> 94a8ed574016 06:47:02 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 06:47:02 ---> Running in 0b19a99f2670 06:47:02 Removing intermediate container 0b19a99f2670 06:47:02 ---> 8005353af441 06:47:02 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:47:02 ---> Running in e3b022d0fbb3 06:47:06 Removing intermediate container e3b022d0fbb3 06:47:06 ---> 1a5279e23183 06:47:06 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:47:06 ---> Running in 3090a0b2ad4a 06:47:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:47:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:47:09 OK: 142 MiB in 39 packages 06:47:10 Removing intermediate container 3090a0b2ad4a 06:47:10 ---> 7e70c16ff8fe 06:47:10 Step 8/10 : WORKDIR /device-snmp-go 06:47:10 ---> Running in 706d85000de8 06:47:11 Removing intermediate container 706d85000de8 06:47:11 ---> 8d708b8da4f6 06:47:11 Step 9/10 : COPY . . 06:47:12 ---> cc0646ff1cc6 06:47:12 Step 10/10 : RUN go mod download 06:47:12 ---> Running in b31f1759f86c 06:47:39 Removing intermediate container b31f1759f86c 06:47:39 ---> f91e3d1f458a 06:47:39 Successfully built f91e3d1f458a 06:47:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:47:40 + docker inspect -f . ci-base-image-arm64 06:47:40 . [Pipeline] withDockerContainer 06:47:40 prd-ubuntu18.04-docker-arm64-4c-16g-10077 does not seem to be running inside a container 06:47:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-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 ******** -e ******** ci-base-image-arm64 cat 06:47:42 $ docker top 87fd4da07bac9f5d477753147c4d8fa929361fc7c3c3622b133244e347d9ad75 -eo pid,comm [Pipeline] { [Pipeline] sh 06:47:44 + go version 06:47:44 go version go1.15.2 linux/arm64 [Pipeline] } 06:47:44 $ docker stop --time=1 87fd4da07bac9f5d477753147c4d8fa929361fc7c3c3622b133244e347d9ad75 06:47:46 $ docker rm -f 87fd4da07bac9f5d477753147c4d8fa929361fc7c3c3622b133244e347d9ad75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:47:47 + docker inspect -f . ci-base-image-arm64 06:47:47 . [Pipeline] withDockerContainer 06:47:47 prd-ubuntu18.04-docker-arm64-4c-16g-10077 does not seem to be running inside a container 06:47:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-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 ******** -e ******** ci-base-image-arm64 cat 06:47:50 $ docker top 2335c3c95f4a891a5a3ff41f5a931eaccfc36594ec714cdf615f83521ee0eb9c -eo pid,comm [Pipeline] { [Pipeline] sh 06:47:51 + make test 06:47:51 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:47:52 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:48:31 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:48:31 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.040s coverage: 0.0% of statements 06:48:31 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:48:39 gofmt -l . 06:48:39 [ "`gofmt -l .`" = "" ] 06:48:39 ./bin/test-attribution-txt.sh 06:48:40 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:48:41 $ docker stop --time=1 2335c3c95f4a891a5a3ff41f5a931eaccfc36594ec714cdf615f83521ee0eb9c 06:48:43 $ docker rm -f 2335c3c95f4a891a5a3ff41f5a931eaccfc36594ec714cdf615f83521ee0eb9c [Pipeline] // withDockerContainer [Pipeline] sh 06:48:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:48:44 Warning: overwriting stash ‘coverage-report’ 06:48:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:48:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:48:46 + ls -al . 06:48:46 total 132 06:48:46 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 06:48 . 06:48:46 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:46 .. 06:48:46 -rw-rw-r-- 1 jenkins jenkins 6 Nov 2 06:46 .dockerignore 06:48:46 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 06:46 .git 06:48:46 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:46 .github 06:48:46 -rw-rw-r-- 1 jenkins jenkins 272 Nov 2 06:46 .gitignore 06:48:46 -rw-rw-r-- 1 jenkins jenkins 5082 Nov 2 06:46 Attribution.txt 06:48:46 -rw-rw-r-- 1 jenkins jenkins 1002 Nov 2 06:46 Dockerfile 06:48:46 -rw-rw-r-- 1 jenkins jenkins 409 Nov 2 06:46 Dockerfile.build 06:48:46 -rw-rw-r-- 1 jenkins jenkins 656 Nov 2 06:46 Jenkinsfile 06:48:46 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 06:46 LICENSE 06:48:46 -rw-rw-r-- 1 jenkins jenkins 937 Nov 2 06:46 Makefile 06:48:46 -rw-rw-r-- 1 jenkins jenkins 12398 Nov 2 06:46 README.md 06:48:46 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 06:42 VERSION 06:48:46 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:46 bin 06:48:46 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:46 cmd 06:48:46 -rw-r--r-- 1 jenkins jenkins 8493 Nov 2 06:48 coverage.out 06:48:46 -rw-r--r-- 1 jenkins jenkins 211 Nov 2 06:48 go.mod 06:48:46 -rw-r--r-- 1 jenkins jenkins 14387 Nov 2 06:48 go.sum 06:48:46 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:46 internal 06:48:46 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:46 profiles 06:48:46 -rw-rw-r-- 1 jenkins jenkins 209 Nov 2 06:46 version.go [Pipeline] isUnix [Pipeline] sh 06:48:47 + docker build -t docker-device-snmp-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=902c3945f65da81e26ed8e96df8a7b3a5aa03b12 --label arch=arm64 --label version=0.0.0 . 06:48:47 Sending build context to Docker daemon 323.1kB 06:48:47 Step 1/26 : ARG BASE=golang:1.15-alpine 06:48:47 Step 2/26 : FROM ${BASE} AS builder 06:48:47 ---> f91e3d1f458a 06:48:47 Step 3/26 : ARG MAKE='make build' 06:48:48 ---> Running in 345daa360473 06:48:48 Removing intermediate container 345daa360473 06:48:48 ---> 1ef1335dbde4 06:48:48 Step 4/26 : ARG ALPINE_PKG_BASE="make git" 06:48:48 ---> Running in bc02695bcd19 06:48:49 Removing intermediate container bc02695bcd19 06:48:49 ---> 626c963fa623 06:48:49 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 06:48:49 ---> Running in 0c4a90c9db86 06:48:49 Removing intermediate container 0c4a90c9db86 06:48:49 ---> 35966e00fe68 06:48:49 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:48:50 ---> Running in 7e276a03b745 06:48:52 Removing intermediate container 7e276a03b745 06:48:52 ---> 006a94f8a8fa 06:48:52 Step 7/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:48:53 ---> Running in dcc9396cedca 06:48:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:48:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:48:58 OK: 142 MiB in 39 packages 06:48:59 Removing intermediate container dcc9396cedca 06:48:59 ---> c20560422474 06:48:59 Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 06:48:59 ---> Running in b3ad77341368 06:48:59 Removing intermediate container b3ad77341368 06:48:59 ---> c1c3555cf26a 06:48:59 Step 9/26 : COPY go.mod . 06:49:00 ---> f2c827694c38 06:49:00 Step 10/26 : COPY Makefile . 06:49:01 ---> 547c26073b7c 06:49:01 Step 11/26 : RUN make update 06:49:01 ---> Running in aa5c95af24c0 06:49:02 CGO_ENABLED=0 GO111MODULE=on go mod download 06:49:04 Removing intermediate container aa5c95af24c0 06:49:04 ---> bae1dc4b6cdc 06:49:04 Step 12/26 : COPY . . 06:49:05 ---> 3a67e33f1922 06:49:05 Step 13/26 : RUN ${MAKE} 06:49:05 ---> Running in 88ae27fa4f05 06:49:07 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp-go ./cmd 06:49:39 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:49:41 Removing intermediate container 88ae27fa4f05 06:49:41 ---> 5430aff5bcb4 06:49:41 Step 14/26 : FROM alpine 06:49:42 latest: Pulling from library/alpine 06:49:42 5f621e34cdf4: Pulling fs layer 06:49:42 5f621e34cdf4: Verifying Checksum 06:49:42 5f621e34cdf4: Download complete 06:49:43 5f621e34cdf4: Pull complete 06:49:43 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 06:49:43 Status: Downloaded newer image for alpine:latest 06:49:43 ---> 2e77e061c27f 06:49:43 Step 15/26 : ENV APP_PORT=49993 06:49:43 ---> Running in 3c5463fd8aef 06:49:43 Removing intermediate container 3c5463fd8aef 06:49:43 ---> d6ecb0ba18f1 06:49:43 Step 16/26 : EXPOSE $APP_PORT 06:49:43 ---> Running in da8626bbbceb 06:49:44 Removing intermediate container da8626bbbceb 06:49:44 ---> 22a17504d86f 06:49:44 Step 17/26 : ENV DEVICE_PORT=161 06:49:44 ---> Running in d29ac55a8a46 06:49:44 Removing intermediate container d29ac55a8a46 06:49:44 ---> 716808f203da 06:49:44 Step 18/26 : EXPOSE $DEVICE_PORT 06:49:44 ---> Running in 6d682442512c 06:49:45 Removing intermediate container 6d682442512c 06:49:45 ---> e4ee89b34578 06:49:45 Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 06:49:46 ---> 8302b6c75fa6 06:49:46 Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 06:49:47 ---> 6fb1e0f49344 06:49:47 Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 06:49:48 ---> 047ee756b094 06:49:48 Step 22/26 : ENTRYPOINT ["/device-snmp-go"] 06:49:48 ---> Running in 851bec9c180c 06:49:48 Removing intermediate container 851bec9c180c 06:49:48 ---> 9b6f76d7b0e1 06:49:48 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:49:49 ---> Running in ef19586afaf4 06:49:49 Removing intermediate container ef19586afaf4 06:49:49 ---> c805588fd530 06:49:49 Step 24/26 : LABEL arch=arm64 06:49:49 ---> Running in 7cfb9ffc971a 06:49:50 Removing intermediate container 7cfb9ffc971a 06:49:50 ---> 92b0b853e098 06:49:50 Step 25/26 : LABEL git_sha=902c3945f65da81e26ed8e96df8a7b3a5aa03b12 06:49:50 ---> Running in 9d579e1543c9 06:49:50 Removing intermediate container 9d579e1543c9 06:49:50 ---> 29735f5bae9e 06:49:50 Step 26/26 : LABEL version=0.0.0 06:49:50 ---> Running in c0f2abc4975c 06:49:51 Removing intermediate container c0f2abc4975c 06:49:51 ---> 17994c0b2deb 06:49:51 [Warning] One or more build-args [ARCH] were not consumed 06:49:51 Successfully built 17994c0b2deb 06:49:51 Successfully tagged docker-device-snmp-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:49:54 provisioning config files... 06:49:54 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp/config3321152092906125027tmp [Pipeline] { [Pipeline] sh 06:49:54 + set +x 06:49:54 + curl -s https://codecov.io/bash 06:49:54 + bash -s -- 06:49:55 06:49:55 _____ _ 06:49:55 / ____| | | 06:49:55 | | ___ __| | ___ ___ _____ __ 06:49:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:49:55 | |___| (_) | (_| | __/ (_| (_) \ V / 06:49:55 \_____\___/ \__,_|\___|\___\___/ \_/ 06:49:55 Bash-20201009-048fee3 06:49:55 06:49:55 06:49:55 ==> Jenkins CI detected. 06:49:55 project root: . 06:49:55 --> token set from env 06:49:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:49:55 ==> Running gcov in . (disable via -X gcov) 06:49:55 ==> Python coveragepy not found 06:49:55 ==> Searching for coverage reports in: 06:49:55 + . 06:49:55 -> Found 1 reports 06:49:55 ==> Detecting git/mercurial file structure 06:49:55 ==> Reading reports 06:49:55 + ./coverage.out bytes=8493 06:49:55 ==> Appending adjustments 06:49:55 https://docs.codecov.io/docs/fixing-reports 06:49:55 + Found adjustments 06:49:55 ==> Gzipping contents 06:49:55 ==> Uploading reports 06:49:55 url: https://codecov.io 06:49:55 query: branch=PR-70&commit=902c3945f65da81e26ed8e96df8a7b3a5aa03b12&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-70%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=70&job=&cmd_args= 06:49:55 -> Pinging Codecov 06:49:55 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-70&commit=902c3945f65da81e26ed8e96df8a7b3a5aa03b12&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-70%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=70&job=&cmd_args= 06:49:55 -> Uploading to 06:49:55 06:49:55 % Total % Received % Xferd Average Speed Time Time Time Current 06:49:55 Dload Upload Total Spent Left Speed 06:49:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 06:49:55 X> Failed to upload 06:49:55 ==> Uploading to Codecov 06:49:55 % Total % Received % Xferd Average Speed Time Time Time Current 06:49:55 Dload Upload Total Spent Left Speed 06:49:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1558 100 111 100 1447 216 2825 --:--:-- --:--:-- --:--:-- 2831 06:49:56 View reports at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/902c3945f65da81e26ed8e96df8a7b3a5aa03b12 [Pipeline] } 06:49:56 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:50:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:50:02 ---> package-listing.sh 06:50:02 ++ facter osfamily 06:50:02 ++ tr '[:upper:]' '[:lower:]' 06:50:02 + OS_FAMILY=redhat 06:50:02 + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-70 06:50:02 + START_PACKAGES=/tmp/packages_start.txt 06:50:02 + END_PACKAGES=/tmp/packages_end.txt 06:50:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:50:02 + PACKAGES=/tmp/packages_start.txt 06:50:02 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-70 ']' 06:50:02 + PACKAGES=/tmp/packages_end.txt 06:50:02 + case "${OS_FAMILY}" in 06:50:02 + rpm -qa 06:50:02 + sort 06:50:08 + '[' -f /tmp/packages_start.txt ']' 06:50:08 + '[' -f /tmp/packages_end.txt ']' 06:50:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:50:08 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-70 ']' 06:50:08 + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-70/archives/ 06:50:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-70/archives/ [Pipeline] echo 06:50:08 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/dgexfoundry_device-snmp-go_PR-70/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:50:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:50:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:50:09 06:50:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:50:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:50:09 alpine: Pulling from edgex-lftools-log-publisher 06:50:09 df20fa9351a1: Already exists 06:50:09 36b3adc4ff6f: Pulling fs layer 06:50:09 8ad3a11d3b57: Pulling fs layer 06:50:09 46f8f816bc3b: Pulling fs layer 06:50:09 93b61091891f: Pulling fs layer 06:50:09 93b9cdb0e59b: Pulling fs layer 06:50:09 5e14af77c1be: Pulling fs layer 06:50:09 01666e4c0597: Pulling fs layer 06:50:09 aa168da1d23b: Pulling fs layer 06:50:09 93b9cdb0e59b: Waiting 06:50:09 5e14af77c1be: Waiting 06:50:09 01666e4c0597: Waiting 06:50:09 aa168da1d23b: Waiting 06:50:09 93b61091891f: Waiting 06:50:09 46f8f816bc3b: Verifying Checksum 06:50:09 46f8f816bc3b: Download complete 06:50:09 36b3adc4ff6f: Verifying Checksum 06:50:09 36b3adc4ff6f: Download complete 06:50:09 93b9cdb0e59b: Verifying Checksum 06:50:09 93b9cdb0e59b: Download complete 06:50:09 5e14af77c1be: Verifying Checksum 06:50:09 5e14af77c1be: Download complete 06:50:09 01666e4c0597: Verifying Checksum 06:50:09 01666e4c0597: Download complete 06:50:10 36b3adc4ff6f: Pull complete 06:50:10 93b61091891f: Verifying Checksum 06:50:10 93b61091891f: Download complete 06:50:11 8ad3a11d3b57: Verifying Checksum 06:50:11 8ad3a11d3b57: Download complete 06:50:13 8ad3a11d3b57: Pull complete 06:50:13 46f8f816bc3b: Pull complete 06:50:14 93b61091891f: Pull complete 06:50:14 93b9cdb0e59b: Pull complete 06:50:15 5e14af77c1be: Pull complete 06:50:15 01666e4c0597: Pull complete 06:50:17 aa168da1d23b: Verifying Checksum 06:50:17 aa168da1d23b: Download complete 06:50:30 aa168da1d23b: Pull complete 06:50:30 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:50:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:50:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:50:31 prd-centos7-docker-4c-2g-10057 does not seem to be running inside a container 06:50:31 $ 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/dgexfoundry_device-snmp-go_PR-70/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-snmp-go_PR-70 -v /w/workspace/dgexfoundry_device-snmp-go_PR-70:/w/workspace/dgexfoundry_device-snmp-go_PR-70:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-70@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:50:34 $ docker top 97d9e36889f2d446f397dd75abfccc0e4c7990c6da8e97139163c50f21e10724 -eo pid,comm [Pipeline] { [Pipeline] sh 06:50:35 + touch /tmp/pre-build-complete [Pipeline] sh 06:50:36 + mkdir -p /var/log/sa [Pipeline] sh 06:50:36 + ls /var/log/sa-host 06:50:36 + sadf -c /var/log/sa-host/sa02 06:50:36 file_magic: OK 06:50:36 HZ: Using current value: 100 06:50:36 file_header: OK 06:50:36 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:50:36 Statistics: 06:50:36 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:50:36 File successfully converted to sysstat format version 12.2.1 06:50:36 + sadf -c /var/log/sa-host/sa05 06:50:36 file_magic: OK 06:50:36 HZ: Using current value: 100 06:50:36 file_header: OK 06:50:36 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:50:36 Statistics: 06:50:36 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:50:36 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:50:36 provisioning config files... 06:50:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp/config5392895118816066521tmp [Pipeline] { [Pipeline] echo 06:50:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:50:37 ---> create-netrc.sh [Pipeline] } 06:50:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:50:37 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:50:37 ---> python-tools-install.sh [Pipeline] echo 06:50:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:50:38 ---> sudo-logs.sh 06:50:38 Archiving 'sudo' log.. [Pipeline] echo 06:50:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:50:39 ---> job-cost.sh 06:50:39 lf-activate-venv: SKIPPING 06:50:39 INFO: No Stack... 06:50:40 INFO: Retrieving Pricing Info for: v1-standard-2 06:50:41 INFO: Archiving Costs [Pipeline] echo 06:50:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:50:41 ---> logs-deploy.sh 06:50:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-70/1 06:50:41 INFO: archiving workspace using pattern(s): 06:50:43 Archives upload complete. 06:50:43 INFO: archiving logs to Nexus