Pull request #64 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 12fcfffda2a6528212e8f1b24ac71478d0a0f3c7+848f2065905ad4eb93e9b774cef4a4ef5a1cd264 (b7d6bbe18830d0ecaec7efa86ac264393682a45f) 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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-64/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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > 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-64/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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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-1875 in /w/workspace/dgexfoundry_device-snmp-go_PR-64 [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-64 # 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 Merging remotes/origin/master commit 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 into PR head commit 12fcfffda2a6528212e8f1b24ac71478d0a0f3c7 Merge succeeded, producing 12fcfffda2a6528212e8f1b24ac71478d0a0f3c7 Checking out Revision 12fcfffda2a6528212e8f1b24ac71478d0a0f3c7 (PR-64) > 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/64/head:refs/remotes/origin/PR-64 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 12fcfffda2a6528212e8f1b24ac71478d0a0f3c7 # 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 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 12fcfffda2a6528212e8f1b24ac71478d0a0f3c7 # timeout=10 Commit message: "Bump github.com/soniah/gosnmp from 1.21.0 to 1.27.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:56:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:56:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:56:56 ========================================================= 00:56:56 EdgeX Global Pipelines Version Info 00:56:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:56:58 ------------------- 00:56:58 stable info: 00:56:58 ------------------- 00:56:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:56:58 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 00:56:58 Message: update stable to v1.0.131 00:56:59 ------------------- 00:56:59 experimental info: 00:56:59 ------------------- 00:56:59 Commited By: **** collab-it+edgex@linuxfoundation.org 00:56:59 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 00:56:59 Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 00:56:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 00:57:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 00:57:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:57:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:57:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:57:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:57:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo 00:57:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:57:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:57:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:57:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:57:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:57:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:57:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:57:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:57:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:57:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:57:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:57:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:57:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:57:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-64 [Pipeline] echo 00:57:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-64 [Pipeline] echo 00:57:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-64 [Pipeline] echo 00:57:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 12fcfffda2a6528212e8f1b24ac71478d0a0f3c7 [Pipeline] echo 00:57:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 12fcfff [Pipeline] echo 00:57:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:57:05 + git log --format=format:%s -1 12fcfffda2a6528212e8f1b24ac71478d0a0f3c7 [Pipeline] echo 00:57:05 GIT_COMMIT: 12fcfffda2a6528212e8f1b24ac71478d0a0f3c7, Commit Message: Bump github.com/soniah/gosnmp from 1.21.0 to 1.27.0 [Pipeline] echo 00:57:05 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:57:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:57:06 00:57:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:57:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:57:07 latest: Pulling from edgex-devops/git-semver 00:57:07 31603596830f: Pulling fs layer 00:57:07 2a8b12db71e7: Pulling fs layer 00:57:07 6ca5941a6612: Pulling fs layer 00:57:07 ecc8261a40a4: Pulling fs layer 00:57:07 ecc8261a40a4: Waiting 00:57:07 2a8b12db71e7: Verifying Checksum 00:57:07 2a8b12db71e7: Download complete 00:57:07 31603596830f: Download complete 00:57:07 6ca5941a6612: Verifying Checksum 00:57:07 6ca5941a6612: Download complete 00:57:07 ecc8261a40a4: Verifying Checksum 00:57:07 ecc8261a40a4: Download complete 00:57:07 31603596830f: Pull complete 00:57:07 2a8b12db71e7: Pull complete 00:57:08 6ca5941a6612: Pull complete 00:57:08 ecc8261a40a4: Pull complete 00:57:08 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:57:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:57:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:57:08 prd-centos7-docker-4c-2g-1875 does not seem to be running inside a container 00:57:09 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-64 -v /w/workspace/dgexfoundry_device-snmp-go_PR-64:/w/workspace/dgexfoundry_device-snmp-go_PR-64:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-64@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-64@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:57:11 $ docker top 8659f3547c7f6de9da04e367c0eec137e46962e3a6481fe301e756e0807b1b57 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:57:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:57:11 [ssh-agent] Looking for ssh-agent implementation... 00:57:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:57:11 $ docker exec 8659f3547c7f6de9da04e367c0eec137e46962e3a6481fe301e756e0807b1b57 ssh-agent 00:57:12 SSH_AUTH_SOCK=/tmp/ssh-SlUXoIK1xVwi/agent.11 00:57:12 SSH_AGENT_PID=16 00:57:12 Running ssh-add (command line suppressed) 00:57:12 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-64@tmp/private_key_5264125963958031932.key (/w/workspace/dgexfoundry_device-snmp-go_PR-64@tmp/private_key_5264125963958031932.key) 00:57:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:57:12 + git describe --exact-match --tags HEAD 00:57:12 fatal: no tag exactly matches '12fcfffda2a6528212e8f1b24ac71478d0a0f3c7' [Pipeline] } 00:57:12 $ docker exec --env ******** --env ******** 8659f3547c7f6de9da04e367c0eec137e46962e3a6481fe301e756e0807b1b57 ssh-agent -k 00:57:12 unset SSH_AUTH_SOCK; 00:57:12 unset SSH_AGENT_PID; 00:57:12 echo Agent pid 16 killed; 00:57:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 00:57:13 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 00:57:13 This usually means this commit has not been tagged. [Pipeline] sshagent 00:57:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:57:13 [ssh-agent] Looking for ssh-agent implementation... 00:57:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:57:13 $ docker exec 8659f3547c7f6de9da04e367c0eec137e46962e3a6481fe301e756e0807b1b57 ssh-agent 00:57:13 SSH_AUTH_SOCK=/tmp/ssh-ipQgozbhyKba/agent.46 00:57:13 SSH_AGENT_PID=52 00:57:13 Running ssh-add (command line suppressed) 00:57:13 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-64@tmp/private_key_8488761581842208184.key (/w/workspace/dgexfoundry_device-snmp-go_PR-64@tmp/private_key_8488761581842208184.key) 00:57:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:57:14 + git semver init 00:57:14 # -> Open(): unable to determine branch for HEAD 00:57:14 # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-64/.git 00:57:14 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-64 00:57:14 # $SEMVER_REMOTE_NAME = origin 00:57:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:57:14 # $SEMVER_USER_NAME = edgex-jenkins 00:57:14 # $SEMVER_BRANCH = PR-64 00:57:14 # $SEMVER_TEMP = /tmp/semver-297006788 00:57:14 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 00:57:14 # '/tmp/semver-297006788' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-64/.semver' 00:57:14 # -> Force: false 00:57:14 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-64/.semver [Pipeline] } 00:57:14 $ docker exec --env ******** --env ******** 8659f3547c7f6de9da04e367c0eec137e46962e3a6481fe301e756e0807b1b57 ssh-agent -k 00:57:14 unset SSH_AUTH_SOCK; 00:57:14 unset SSH_AGENT_PID; 00:57:14 echo Agent pid 52 killed; 00:57:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:57:15 + git semver [Pipeline] } 00:57:15 $ docker stop --time=1 8659f3547c7f6de9da04e367c0eec137e46962e3a6481fe301e756e0807b1b57 00:57:16 $ docker rm -f 8659f3547c7f6de9da04e367c0eec137e46962e3a6481fe301e756e0807b1b57 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 00:57:17 Stashed 27 file(s) [Pipeline] echo 00:57:17 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 00:57:17 Archived original 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 00:57:33 Still waiting to schedule task 00:57:33 ‘prd-centos7-docker-4c-2g-1866’ is offline; ‘prd-centos7-docker-4c-2g-1870’ is offline; ‘prd-centos7-docker-4c-2g-1876’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1868’ doesn’t have label ‘centos7-docker-4c-2g’ 00:57:33 Still waiting to schedule task 00:57:33 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1868’ is offline 01:00:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1879 in /w/workspace/dgexfoundry_device-snmp-go_PR-64 [Pipeline] { [Pipeline] ws 01:00:10 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 01:00:16 using credential edgex-jenkins-ssh 01:00:16 Cloning the remote Git repository 01:00:16 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 01:00:16 > git init /w/workspace/device-snmp-go/1 # timeout=10 01:00:16 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 01:00:16 > git --version # timeout=10 01:00:16 > git --version # 'git version 2.17.1' 01:00:16 using GIT_SSH to set credentials SSH Credentials for GitHub 01:00:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:00:17 Merging remotes/origin/master commit 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 into PR head commit 12fcfffda2a6528212e8f1b24ac71478d0a0f3c7 01:00:17 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 01:00:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:00:17 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 01:00:17 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 01:00:17 using GIT_SSH to set credentials SSH Credentials for GitHub 01:00:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/64/head:refs/remotes/origin/PR-64 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:00:17 > git config core.sparsecheckout # timeout=10 01:00:17 > git checkout -f 12fcfffda2a6528212e8f1b24ac71478d0a0f3c7 # timeout=10 01:00:18 > git remote # timeout=10 01:00:18 > git config --get remote.origin.url # timeout=10 01:00:18 using GIT_SSH to set credentials SSH Credentials for GitHub 01:00:18 > git merge 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 # timeout=10 01:00:18 > git rev-parse HEAD^{commit} # timeout=10 01:00:18 Merge succeeded, producing 12fcfffda2a6528212e8f1b24ac71478d0a0f3c7 01:00:18 Checking out Revision 12fcfffda2a6528212e8f1b24ac71478d0a0f3c7 (PR-64) 01:00:18 > git config core.sparsecheckout # timeout=10 01:00:18 > git checkout -f 12fcfffda2a6528212e8f1b24ac71478d0a0f3c7 # timeout=10 01:00:19 Running on prd-centos7-docker-4c-2g-1881 in /w/workspace/dgexfoundry_device-snmp-go_PR-64 [Pipeline] { [Pipeline] ws 01:00:20 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 01:00:22 Commit message: "Bump github.com/soniah/gosnmp from 1.21.0 to 1.27.0" 01:00:22 > git --version # timeout=10 01:00:22 > git --version # 'git version 2.17.1' 01:00:22 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:00:24 ========================================================= 01:00:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 01:00:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:00:24 using credential edgex-jenkins-ssh 01:00:24 Cloning the remote Git repository 01:00:24 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 01:00:24 > git init /w/workspace/device-snmp-go/1 # timeout=10 01:00:24 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 01:00:24 > git --version # timeout=10 01:00:24 > git --version # 'git version 2.16.5' 01:00:24 using GIT_SSH to set credentials SSH Credentials for GitHub 01:00:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:00:25 + 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 . 01:00:26 Merging remotes/origin/master commit 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 into PR head commit 12fcfffda2a6528212e8f1b24ac71478d0a0f3c7 01:00:26 Merge succeeded, producing 12fcfffda2a6528212e8f1b24ac71478d0a0f3c7 01:00:26 Checking out Revision 12fcfffda2a6528212e8f1b24ac71478d0a0f3c7 (PR-64) 01:00:25 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 01:00:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:00:25 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 01:00:25 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 01:00:25 using GIT_SSH to set credentials SSH Credentials for GitHub 01:00:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/64/head:refs/remotes/origin/PR-64 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:00:26 > git config core.sparsecheckout # timeout=10 01:00:26 > git checkout -f 12fcfffda2a6528212e8f1b24ac71478d0a0f3c7 # timeout=10 01:00:26 > git remote # timeout=10 01:00:26 > git config --get remote.origin.url # timeout=10 01:00:26 using GIT_SSH to set credentials SSH Credentials for GitHub 01:00:26 > git merge 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 # timeout=10 01:00:26 > git rev-parse HEAD^{commit} # timeout=10 01:00:26 Sending build context to Docker daemon 442.9kB 01:00:26 Step 1/10 : ARG BASE=golang:1.15-alpine 01:00:26 Step 2/10 : FROM ${BASE} 01:00:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:00:26 b538f80385f9: Pulling fs layer 01:00:26 74f711af9a0d: Pulling fs layer 01:00:26 99f96fe45779: Pulling fs layer 01:00:26 8529a6b9a6be: Pulling fs layer 01:00:26 45590311c82a: Pulling fs layer 01:00:26 69ca0ff8b7b3: Pulling fs layer 01:00:26 209524e5b208: Pulling fs layer 01:00:26 45590311c82a: Waiting 01:00:26 69ca0ff8b7b3: Waiting 01:00:26 8529a6b9a6be: Waiting 01:00:26 209524e5b208: Waiting 01:00:26 99f96fe45779: Verifying Checksum 01:00:26 99f96fe45779: Download complete 01:00:26 74f711af9a0d: Verifying Checksum 01:00:26 74f711af9a0d: Download complete 01:00:26 45590311c82a: Verifying Checksum 01:00:26 45590311c82a: Download complete 01:00:26 69ca0ff8b7b3: Verifying Checksum 01:00:26 69ca0ff8b7b3: Download complete 01:00:26 b538f80385f9: Verifying Checksum 01:00:26 b538f80385f9: Download complete 01:00:26 > git config core.sparsecheckout # timeout=10 01:00:26 > git checkout -f 12fcfffda2a6528212e8f1b24ac71478d0a0f3c7 # timeout=10 01:00:27 b538f80385f9: Pull complete 01:00:28 74f711af9a0d: Pull complete 01:00:28 99f96fe45779: Pull complete 01:00:29 209524e5b208: Verifying Checksum 01:00:30 Commit message: "Bump github.com/soniah/gosnmp from 1.21.0 to 1.27.0" 01:00:30 > git --version # timeout=10 01:00:30 > git --version # 'git version 2.16.5' 01:00:30 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { 01:00:30 8529a6b9a6be: Verifying Checksum 01:00:30 8529a6b9a6be: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:00:31 ========================================================= 01:00:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 01:00:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:00:32 + 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 . 01:00:32 Sending build context to Docker daemon 442.9kB 01:00:32 Step 1/10 : ARG BASE=golang:1.15-alpine 01:00:32 Step 2/10 : FROM ${BASE} 01:00:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 01:00:32 df20fa9351a1: Pulling fs layer 01:00:32 ed8968b2872e: Pulling fs layer 01:00:32 a92cc7c5fd73: Pulling fs layer 01:00:32 e871e8e8d7a9: Pulling fs layer 01:00:32 e73272ec9a57: Pulling fs layer 01:00:32 1e910a182e73: Pulling fs layer 01:00:32 4e634b169226: Pulling fs layer 01:00:32 e73272ec9a57: Waiting 01:00:32 1e910a182e73: Waiting 01:00:32 4e634b169226: Waiting 01:00:32 e871e8e8d7a9: Waiting 01:00:32 a92cc7c5fd73: Verifying Checksum 01:00:32 a92cc7c5fd73: Download complete 01:00:32 ed8968b2872e: Download complete 01:00:32 e73272ec9a57: Verifying Checksum 01:00:32 e73272ec9a57: Download complete 01:00:32 1e910a182e73: Verifying Checksum 01:00:32 1e910a182e73: Download complete 01:00:32 df20fa9351a1: Verifying Checksum 01:00:32 df20fa9351a1: Download complete 01:00:33 df20fa9351a1: Pull complete 01:00:33 ed8968b2872e: Pull complete 01:00:33 a92cc7c5fd73: Pull complete 01:00:34 4e634b169226: Verifying Checksum 01:00:34 4e634b169226: Download complete 01:00:35 e871e8e8d7a9: Verifying Checksum 01:00:35 e871e8e8d7a9: Download complete 01:00:40 e871e8e8d7a9: Pull complete 01:00:40 e73272ec9a57: Pull complete 01:00:40 1e910a182e73: Pull complete 01:00:41 8529a6b9a6be: Pull complete 01:00:41 45590311c82a: Pull complete 01:00:41 69ca0ff8b7b3: Pull complete 01:00:45 209524e5b208: Pull complete 01:00:45 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 01:00:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 01:00:45 ---> 5bddaf1c2fca 01:00:45 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 01:00:48 ---> Running in b18e8bcd6922 01:00:48 Removing intermediate container b18e8bcd6922 01:00:48 ---> 8e1ae1273e3d 01:00:48 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 01:00:48 ---> Running in 6fcf8d2125ca 01:00:48 Removing intermediate container 6fcf8d2125ca 01:00:48 ---> ac5b88e8ef41 01:00:48 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 01:00:48 ---> Running in eec6c51f45dc 01:00:48 Removing intermediate container eec6c51f45dc 01:00:48 ---> 0fe5ccde99d3 01:00:48 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:00:49 ---> Running in b7bcfdd1283b 01:00:50 4e634b169226: Pull complete 01:00:50 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 01:00:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 01:00:50 ---> f7629b54cfaa 01:00:50 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 01:00:50 ---> Running in 2430da7de88c 01:00:50 Removing intermediate container 2430da7de88c 01:00:50 ---> 8d1ab058ec4c 01:00:50 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 01:00:50 ---> Running in 192fc6bfb4ab 01:00:50 Removing intermediate container 192fc6bfb4ab 01:00:50 ---> dbb2a8829d71 01:00:50 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 01:00:50 ---> Running in 351f4f5971db 01:00:50 Removing intermediate container 351f4f5971db 01:00:50 ---> f23021a041f2 01:00:50 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:00:51 ---> Running in 6136166fc022 01:00:51 Removing intermediate container b7bcfdd1283b 01:00:51 ---> 33c178eec475 01:00:51 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:00:51 ---> Running in 1751baf1eb53 01:00:52 Removing intermediate container 6136166fc022 01:00:52 ---> 169bc98e011a 01:00:52 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:00:52 ---> Running in b290651a9d36 01:00:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:00:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:00:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:00:54 OK: 166 MiB in 39 packages 01:00:54 Removing intermediate container b290651a9d36 01:00:54 ---> 0faaae7f7a61 01:00:54 Step 8/10 : WORKDIR /device-snmp-go 01:00:54 ---> Running in 5e7037855e1b 01:00:54 Removing intermediate container 5e7037855e1b 01:00:54 ---> 2e745cedea4c 01:00:54 Step 9/10 : COPY . . 01:00:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:00:55 ---> f2de1a8cb65a 01:00:55 Step 10/10 : RUN go mod download 01:00:55 ---> Running in e76a6376cb0b 01:00:59 OK: 142 MiB in 39 packages 01:01:00 Removing intermediate container 1751baf1eb53 01:01:00 ---> 94f1c2c06dd2 01:01:00 Step 8/10 : WORKDIR /device-snmp-go 01:01:00 ---> Running in e40429e5969b 01:01:01 Removing intermediate container e40429e5969b 01:01:01 ---> 0df02752313c 01:01:01 Step 9/10 : COPY . . 01:01:02 ---> 5034980716b4 01:01:02 Step 10/10 : RUN go mod download 01:01:02 ---> Running in b24979166810 01:01:14 Removing intermediate container e76a6376cb0b 01:01:14 ---> 944a56389b3a 01:01:14 Successfully built 944a56389b3a 01:01:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:01:15 + docker inspect -f . ci-base-image-x86_64 01:01:15 . [Pipeline] withDockerContainer 01:01:16 prd-centos7-docker-4c-2g-1881 does not seem to be running inside a container 01:01:16 $ 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-x86_64 cat 01:01:17 $ docker top 6d867c96da9c50202262a2d7b4fb4fd8d24e055f4c289e575686435464338068 -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:18 + go version 01:01:18 go version go1.15.2 linux/amd64 [Pipeline] } 01:01:18 $ docker stop --time=1 6d867c96da9c50202262a2d7b4fb4fd8d24e055f4c289e575686435464338068 01:01:19 $ docker rm -f 6d867c96da9c50202262a2d7b4fb4fd8d24e055f4c289e575686435464338068 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:01:20 Removing intermediate container b24979166810 01:01:20 ---> dd865a1d4de7 01:01:20 Successfully built dd865a1d4de7 01:01:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:01:21 + docker inspect -f . ci-base-image-x86_64 01:01:21 . [Pipeline] withDockerContainer 01:01:21 prd-centos7-docker-4c-2g-1881 does not seem to be running inside a container 01:01:21 + docker inspect -f . ci-base-image-arm64 01:01:21 . 01:01:21 $ 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-x86_64 cat 01:01:22 $ docker top 56f981662330efcec062bfbe2cb3b92cca421ecba4d8304a336f868497bb805d -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 01:01:22 prd-ubuntu18.04-docker-arm64-4c-16g-1879 does not seem to be running inside a container 01:01:22 $ 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 01:01:24 $ docker top 0fa9083b050476b1b324fad45eb784afd4b8a0be14f9349783d023697734e6a9 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 01:01:25 + make test 01:01:25 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:01:26 ? github.com/edgexfoundry/device-snmp-go [no test files] 01:01:26 + go version 01:01:26 go version go1.15.2 linux/arm64 [Pipeline] } 01:01:26 $ docker stop --time=1 0fa9083b050476b1b324fad45eb784afd4b8a0be14f9349783d023697734e6a9 01:01:28 $ docker rm -f 0fa9083b050476b1b324fad45eb784afd4b8a0be14f9349783d023697734e6a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:01:30 + docker inspect -f . ci-base-image-arm64 01:01:30 . [Pipeline] withDockerContainer 01:01:30 prd-ubuntu18.04-docker-arm64-4c-16g-1879 does not seem to be running inside a container 01:01:30 $ 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 01:01:31 # github.com/edgexfoundry/device-snmp-go/internal/driver 01:01:31 internal/driver/snmpclient.go:123:84: unknown field 'Logger' in struct literal of type gosnmp.SnmpPDU 01:01:32 $ docker top 9fc805f3075cd94f8223fffcb8ec53d9e63542b1c68f7e8fab629f5002f0bc6a -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:34 + make test 01:01:34 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:01:34 # github.com/edgexfoundry/device-snmp-go/internal/driver [github.com/edgexfoundry/device-snmp-go/internal/driver.test] 01:01:34 internal/driver/snmpclient.go:123: unknown field 'Logger' in struct literal of type gosnmp.SnmpPDU 01:01:34 ? github.com/edgexfoundry/device-snmp-go [no test files] 01:01:34 FAIL github.com/edgexfoundry/device-snmp-go/internal/driver [build failed] 01:01:34 make: *** [Makefile:23: test] Error 2 [Pipeline] } 01:01:35 $ docker stop --time=1 56f981662330efcec062bfbe2cb3b92cca421ecba4d8304a336f868497bb805d 01:01:38 $ docker rm -f 56f981662330efcec062bfbe2cb3b92cca421ecba4d8304a336f868497bb805d [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] } 01:01:41 Failed in branch amd64 01:01:57 # github.com/edgexfoundry/device-snmp-go/internal/driver 01:01:57 internal/driver/snmpclient.go:123:84: unknown field 'Logger' in struct literal of type gosnmp.SnmpPDU 01:02:02 # github.com/edgexfoundry/device-snmp-go/internal/driver [github.com/edgexfoundry/device-snmp-go/internal/driver.test] 01:02:02 internal/driver/snmpclient.go:123: unknown field 'Logger' in struct literal of type gosnmp.SnmpPDU 01:02:04 FAIL github.com/edgexfoundry/device-snmp-go/internal/driver [build failed] 01:02:05 make: *** [Makefile:23: test] Error 2 [Pipeline] } 01:02:05 $ docker stop --time=1 9fc805f3075cd94f8223fffcb8ec53d9e63542b1c68f7e8fab629f5002f0bc6a 01:02:07 $ docker rm -f 9fc805f3075cd94f8223fffcb8ec53d9e63542b1c68f7e8fab629f5002f0bc6a [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] } 01:02:10 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 01:02:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:02:16 ---> package-listing.sh 01:02:16 ++ facter osfamily 01:02:16 ++ tr '[:upper:]' '[:lower:]' 01:02:16 + OS_FAMILY=redhat 01:02:16 + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-64 01:02:16 + START_PACKAGES=/tmp/packages_start.txt 01:02:16 + END_PACKAGES=/tmp/packages_end.txt 01:02:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:02:16 + PACKAGES=/tmp/packages_start.txt 01:02:16 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-64 ']' 01:02:16 + PACKAGES=/tmp/packages_end.txt 01:02:16 + case "${OS_FAMILY}" in 01:02:16 + rpm -qa 01:02:16 + sort 01:02:19 + '[' -f /tmp/packages_start.txt ']' 01:02:19 + '[' -f /tmp/packages_end.txt ']' 01:02:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:02:19 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-64 ']' 01:02:19 + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-64/archives/ 01:02:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-64/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:02:19 provisioning config files... 01:02:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-64@tmp/config7375783716152259158tmp [Pipeline] { [Pipeline] echo 01:02:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:02:20 ---> create-netrc.sh [Pipeline] } 01:02:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 01:02:20 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 01:02:20 ---> python-tools-install.sh 01:02:20 Generating Requirements File 01:03:43 Python 3.6.8 01:03:43 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 01:03:43 aiohttp==3.6.2 01:03:43 appdirs==1.4.3 01:03:43 argcomplete==1.12.1 01:03:43 aspy.yaml==1.3.0 01:03:43 async-timeout==3.0.1 01:03:43 attrs==19.3.0 01:03:43 Babel==2.8.0 01:03:43 beautifulsoup4==4.8.2 01:03:43 boto3==1.11.6 01:03:43 botocore==1.14.6 01:03:43 bs4==0.0.1 01:03:43 cachetools==4.1.1 01:03:43 certifi==2019.11.28 01:03:43 cffi==1.14.3 01:03:43 cfgv==2.0.1 01:03:43 chardet==3.0.4 01:03:43 click==7.1 01:03:43 cliff==3.4.0 01:03:43 cmd2==1.3.10 01:03:43 colorama==0.4.3 01:03:43 cryptography==3.1.1 01:03:43 debtcollector==2.2.0 01:03:43 decorator==4.4.2 01:03:43 defusedxml==0.6.0 01:03:43 Deprecated==1.2.7 01:03:43 distlib==0.3.1 01:03:43 distro==1.2.0 01:03:43 dnspython==1.16.0 01:03:43 docker==4.2.0 01:03:43 docutils==0.15.2 01:03:43 dogpile.cache==1.0.2 01:03:43 email-validator==1.0.5 01:03:43 filelock==3.0.12 01:03:43 future==0.18.2 01:03:43 google-auth==1.22.0 01:03:43 httplib2==0.17.0 01:03:43 identify==1.4.11 01:03:43 idna==2.9 01:03:43 idna-ssl==1.1.0 01:03:43 importlib-metadata==1.7.0 01:03:43 importlib-resources==1.5.0 01:03:43 iso8601==0.1.13 01:03:43 Jinja2==2.11.1 01:03:43 jmespath==0.10.0 01:03:43 jsonpatch==1.26 01:03:43 jsonpointer==2.0 01:03:43 jsonschema==3.2.0 01:03:43 keystoneauth1==4.2.1 01:03:43 kubernetes==11.0.0 01:03:43 lftools==0.34.2 01:03:43 lxml==4.5.0 01:03:43 MarkupSafe==0.23 01:03:43 msgpack==1.0.0 01:03:43 multi-key-dict==2.0.3 01:03:43 multidict==4.7.6 01:03:43 munch==2.5.0 01:03:43 netaddr==0.8.0 01:03:43 netifaces==0.10.9 01:03:43 niet==1.4.2 01:03:43 nodeenv==1.3.5 01:03:43 oauth2client==4.1.3 01:03:43 oauthlib==3.1.0 01:03:43 openstacksdk==0.50.0 01:03:43 os-client-config==2.1.0 01:03:43 os-service-types==1.7.0 01:03:43 osc-lib==2.2.1 01:03:43 oslo.config==8.3.2 01:03:43 oslo.context==3.1.1 01:03:43 oslo.i18n==5.0.1 01:03:43 oslo.log==4.4.0 01:03:43 oslo.serialization==4.0.1 01:03:43 oslo.utils==4.6.0 01:03:43 packaging==20.4 01:03:43 pbr==5.4.4 01:03:43 pluggy==0.13.1 01:03:43 prettytable==0.7.2 01:03:43 py==1.9.0 01:03:43 pyasn1==0.4.8 01:03:43 pyasn1-modules==0.2.8 01:03:43 pycparser==2.20 01:03:43 pygerrit2==2.0.10 01:03:43 PyGithub==1.46 01:03:43 pyinotify==0.9.6 01:03:43 PyJWT==1.7.1 01:03:43 pyparsing==2.4.7 01:03:43 pyperclip==1.8.0 01:03:43 pyroute2==0.4.13 01:03:43 pyrsistent==0.15.7 01:03:43 PySocks==1.6.8 01:03:43 python-cinderclient==7.2.0 01:03:43 python-dateutil==2.8.1 01:03:43 python-heatclient==2.2.1 01:03:43 python-jenkins==1.7.0 01:03:43 python-keystoneclient==4.1.1 01:03:43 python-magnumclient==3.2.1 01:03:43 python-novaclient==17.2.1 01:03:43 python-openstackclient==5.3.1 01:03:43 python-swiftclient==3.10.1 01:03:43 pytz==2020.1 01:03:43 PyYAML==5.3 01:03:43 requests==2.23.0 01:03:43 requests-oauthlib==1.3.0 01:03:43 requestsexceptions==1.4.0 01:03:43 rfc3986==1.4.0 01:03:43 rpm==4.11.3 01:03:43 rsa==4.0 01:03:43 ruamel.yaml==0.16.10 01:03:43 ruamel.yaml.clib==0.2.0 01:03:43 s3transfer==0.3.3 01:03:43 shade==1.27.2 01:03:43 simplejson==3.17.2 01:03:43 six==1.14.0 01:03:43 soupsieve==2.0 01:03:43 stevedore==3.2.2 01:03:43 tabulate==0.8.6 01:03:43 toml==0.10.0 01:03:43 tox==3.20.0 01:03:43 tqdm==4.43.0 01:03:43 typing-extensions==3.7.4.3 01:03:43 urllib3==1.25.8 01:03:43 virtualenv==20.0.31 01:03:43 wcwidth==0.2.5 01:03:43 websocket-client==0.57.0 01:03:43 wrapt==1.12.1 01:03:43 xdg==3.0.2 01:03:43 xmltodict==0.12.0 01:03:43 yarl==1.6.0 01:03:43 yq==2.11.1 01:03:43 zipp==3.2.0 01:03:43 Cache entry deserialization failed, entry ignored 01:03:43 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 01:03:43 Python 2.7.5 01:03:43 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 01:03:44 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 01:03:44 ansible==2.9.7 01:03:44 Babel==0.9.6 01:03:44 backports.ssl-match-hostname==3.5.0.1 01:03:44 beautifulsoup4==4.4.1 01:03:44 bodhi==2.11.0 01:03:44 bodhi-client==2.11.0 01:03:44 CCColUtils==1.4 01:03:44 cffi==1.6.0 01:03:44 chardet==2.2.1 01:03:44 click==6.7 01:03:44 cloud-init==18.5 01:03:44 configobj==4.7.2 01:03:44 cryptography==1.7.2 01:03:44 decorator==3.4.0 01:03:44 distro==1.2.0 01:03:44 enum34==1.0.4 01:03:44 fedpkg==1.38 01:03:44 futures==3.1.1 01:03:44 gitdb==0.6.4 01:03:44 GitPython==1.0.1 01:03:44 html5lib==0.999 01:03:44 httplib2==0.9.2 01:03:44 idna==2.4 01:03:44 iniparse==0.4 01:03:44 ipaddress==1.0.16 01:03:44 IPy==0.75 01:03:44 javapackages==1.0.0 01:03:44 Jinja2==2.7.2 01:03:44 jmespath==0.9.4 01:03:44 jsonpatch==1.2 01:03:44 jsonpointer==1.9 01:03:44 kerberos==1.1 01:03:44 kitchen==1.1.1 01:03:44 langtable==0.0.31 01:03:44 lockfile==0.9.1 01:03:44 lxml==3.2.1 01:03:44 MarkupSafe==0.11 01:03:44 munch==2.0.2 01:03:44 offtrac==0.1.0 01:03:44 openidc-client==0.6.0 01:03:44 packagedb-cli==2.14.1 01:03:44 paramiko==2.1.1 01:03:44 perf==0.1 01:03:44 ply==3.4 01:03:44 policycoreutils-default-encoding==0.1 01:03:44 prettytable==0.7.2 01:03:44 pyasn1==0.1.9 01:03:44 pycparser==2.14 01:03:44 pycurl==7.19.0 01:03:44 pygobject==3.22.0 01:03:44 pygpgme==0.3 01:03:44 pyliblzma==0.5.3 01:03:44 pyOpenSSL==0.13.1 01:03:44 pyparsing==1.5.6 01:03:44 pyserial==2.6 01:03:44 python-augeas==0.5.0 01:03:44 python-bugzilla==2.3.0 01:03:44 python-dateutil==1.5 01:03:44 python-fedora==0.10.0 01:03:44 python-linux-procfs==0.4.9 01:03:44 python-yubico==1.2.3 01:03:44 pyudev==0.15 01:03:44 pyusb==1.0.0b1 01:03:44 pyxattr==0.5.1 01:03:44 PyYAML==3.10 01:03:44 requests==2.6.0 01:03:44 requests-kerberos==0.7.0 01:03:44 rpkg==1.60 01:03:44 schedutils==0.4 01:03:44 seobject==0.1 01:03:44 sepolicy==1.1 01:03:44 six==1.9.0 01:03:44 smmap==0.9.0 01:03:44 urlgrabber==3.10 01:03:44 urllib3==1.10.2 01:03:44 virtualenv==15.1.0 01:03:44 yum-langpacks==0.4.2 01:03:44 yum-metadata-parser==1.1.4 [Pipeline] echo 01:03:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:03:44 ---> sudo-logs.sh 01:03:44 Archiving 'sudo' log.. [Pipeline] echo 01:03:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:03:45 ---> job-cost.sh 01:03:45 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-VKWk 01:03:57 Cache entry deserialization failed, entry ignored 01:03:57 Cache entry deserialization failed, entry ignored 01:03:57 Cache entry deserialization failed, entry ignored 01:03:57 Cache entry deserialization failed, entry ignored 01:03:57 Cache entry deserialization failed, entry ignored 01:03:57 Cache entry deserialization failed, entry ignored 01:03:57 Cache entry deserialization failed, entry ignored 01:03:57 Cache entry deserialization failed, entry ignored 01:03:58 Cache entry deserialization failed, entry ignored 01:03:58 Cache entry deserialization failed, entry ignored 01:03:58 Cache entry deserialization failed, entry ignored 01:03:58 Cache entry deserialization failed, entry ignored 01:03:58 Cache entry deserialization failed, entry ignored 01:04:01 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 01:04:27 ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. 01:04:27 01:04:27 We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 01:04:27 01:04:27 virtualenv 20.0.31 requires importlib-metadata<2,>=0.12; python_version < "3.8", but you'll have importlib-metadata 2.0.0 which is incompatible. 01:04:27 lf-activate-venv(): INFO: Adding /tmp/venv-VKWk/bin to PATH 01:04:27 INFO: No Stack... 01:04:28 INFO: Retrieving Pricing Info for: v1-standard-2 01:04:28 INFO: Archiving Costs [Pipeline] echo 01:04:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:04:30 ---> logs-deploy.sh 01:04:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-64/1 01:04:30 INFO: archiving workspace using pattern(s): 01:04:32 Archives upload complete. 01:04:32 INFO: archiving logs to Nexus