Pull request #68 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-snmp-go Loading trusted files from base branch master at 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 rather than 892246bbce24206d546dfec362c7e037a6389aa9 Obtained Jenkinsfile from 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 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 f3f382fce060f16c10d6f597981912fab355381a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f3f382fce060f16c10d6f597981912fab355381a using credential edgex-jenkins-ssh 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-68/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 f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-68/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 f3f382fce060f16c10d6f597981912fab355381a 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-9368 in /w/workspace/dgexfoundry_device-snmp-go_PR-68 [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-68 # 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/68/head:refs/remotes/origin/PR-68 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 into PR head commit 892246bbce24206d546dfec362c7e037a6389aa9 Merge succeeded, producing 892246bbce24206d546dfec362c7e037a6389aa9 Checking out Revision 892246bbce24206d546dfec362c7e037a6389aa9 (PR-68) > git config core.sparsecheckout # timeout=10 > git checkout -f 892246bbce24206d546dfec362c7e037a6389aa9 # 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 892246bbce24206d546dfec362c7e037a6389aa9 # timeout=10 Commit message: "refactor: Upgrade SDK to v1.2.4-dev.34" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:27:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:27:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:27:41 ========================================================= 02:27:41 EdgeX Global Pipelines Version Info 02:27:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:27:43 ------------------- 02:27:43 stable info: 02:27:43 ------------------- 02:27:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:27:43 Commit SHA: f3f382fce060f16c10d6f597981912fab355381a 02:27:43 Message: update stable to v1.0.148 02:27:44 ------------------- 02:27:44 experimental info: 02:27:44 ------------------- 02:27:44 Commited By: **** collab-it+edgex@linuxfoundation.org 02:27:44 Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 02:27:44 Message: update experimental to v1.0.152 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:27:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 02:27:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 02:27:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:27:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:27:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:27:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:27:46 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:27:46 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:27:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:27:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:27:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:27:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo 02:27:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:27:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:27:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:27:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:27:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:27:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:27:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:27:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:27:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:27:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:27:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:27:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:27:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:27:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-68 [Pipeline] echo 02:27:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-68 [Pipeline] echo 02:27:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-68 [Pipeline] echo 02:27:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 892246bbce24206d546dfec362c7e037a6389aa9 [Pipeline] echo 02:27:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 892246b [Pipeline] echo 02:27:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:27:50 + git log --format=format:%s -1 892246bbce24206d546dfec362c7e037a6389aa9 [Pipeline] echo 02:27:50 GIT_COMMIT: 892246bbce24206d546dfec362c7e037a6389aa9, Commit Message: refactor: Upgrade SDK to v1.2.4-dev.34 [Pipeline] echo 02:27:50 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:27:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:27:52 02:27:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:27:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:27:52 latest: Pulling from edgex-devops/git-semver 02:27:52 31603596830f: Pulling fs layer 02:27:52 2a8b12db71e7: Pulling fs layer 02:27:52 6ca5941a6612: Pulling fs layer 02:27:52 ecc8261a40a4: Pulling fs layer 02:27:52 ecc8261a40a4: Waiting 02:27:52 2a8b12db71e7: Verifying Checksum 02:27:52 2a8b12db71e7: Download complete 02:27:54 31603596830f: Verifying Checksum 02:27:54 31603596830f: Download complete 02:27:54 31603596830f: Pull complete 02:27:54 2a8b12db71e7: Pull complete 02:27:57 ecc8261a40a4: Verifying Checksum 02:27:57 ecc8261a40a4: Download complete 02:28:01 6ca5941a6612: Verifying Checksum 02:28:01 6ca5941a6612: Download complete 02:28:02 6ca5941a6612: Pull complete 02:28:02 ecc8261a40a4: Pull complete 02:28:02 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:28:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:28:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:28:02 prd-centos7-docker-4c-2g-9368 does not seem to be running inside a container 02:28:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-68 -v /w/workspace/dgexfoundry_device-snmp-go_PR-68:/w/workspace/dgexfoundry_device-snmp-go_PR-68:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-68@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-68@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:28:05 $ docker top 3b1c45bf5db318273f7ef231d7f94e9df6912a5c0c76faa7f301917c509af9c7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:28:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:28:05 [ssh-agent] Looking for ssh-agent implementation... 02:28:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:28:05 $ docker exec 3b1c45bf5db318273f7ef231d7f94e9df6912a5c0c76faa7f301917c509af9c7 ssh-agent 02:28:05 SSH_AUTH_SOCK=/tmp/ssh-cLDYx7oYrC3R/agent.13 02:28:05 SSH_AGENT_PID=19 02:28:05 Running ssh-add (command line suppressed) 02:28:06 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-68@tmp/private_key_4844802965029915803.key (/w/workspace/dgexfoundry_device-snmp-go_PR-68@tmp/private_key_4844802965029915803.key) 02:28:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:28:06 + git tag --points-at HEAD [Pipeline] } 02:28:06 $ docker exec --env ******** --env ******** 3b1c45bf5db318273f7ef231d7f94e9df6912a5c0c76faa7f301917c509af9c7 ssh-agent -k 02:28:06 unset SSH_AUTH_SOCK; 02:28:06 unset SSH_AGENT_PID; 02:28:06 echo Agent pid 19 killed; 02:28:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:28:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:28:06 [ssh-agent] Looking for ssh-agent implementation... 02:28:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:28:07 $ docker exec 3b1c45bf5db318273f7ef231d7f94e9df6912a5c0c76faa7f301917c509af9c7 ssh-agent 02:28:07 SSH_AUTH_SOCK=/tmp/ssh-j6pnKncA9eit/agent.48 02:28:07 SSH_AGENT_PID=53 02:28:07 Running ssh-add (command line suppressed) 02:28:07 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-68@tmp/private_key_5744250919146687155.key (/w/workspace/dgexfoundry_device-snmp-go_PR-68@tmp/private_key_5744250919146687155.key) 02:28:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:28:07 + git semver init 02:28:07 # -> Open(): unable to determine branch for HEAD 02:28:07 # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-68/.git 02:28:07 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-68 02:28:07 # $SEMVER_REMOTE_NAME = origin 02:28:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:28:07 # $SEMVER_USER_NAME = edgex-jenkins 02:28:07 # $SEMVER_BRANCH = PR-68 02:28:07 # $SEMVER_TEMP = /tmp/semver-746137812 02:28:07 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 02:28:08 # '/tmp/semver-746137812' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-68/.semver' 02:28:08 # -> Force: false 02:28:08 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-68/.semver [Pipeline] } 02:28:08 $ docker exec --env ******** --env ******** 3b1c45bf5db318273f7ef231d7f94e9df6912a5c0c76faa7f301917c509af9c7 ssh-agent -k 02:28:09 unset SSH_AUTH_SOCK; 02:28:09 unset SSH_AGENT_PID; 02:28:09 echo Agent pid 53 killed; 02:28:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:28:09 + git semver [Pipeline] } 02:28:09 $ docker stop --time=1 3b1c45bf5db318273f7ef231d7f94e9df6912a5c0c76faa7f301917c509af9c7 02:28:11 $ docker rm -f 3b1c45bf5db318273f7ef231d7f94e9df6912a5c0c76faa7f301917c509af9c7 [Pipeline] // withDockerContainer [Pipeline] sh 02:28:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:28:12 Stashed 1 file(s) [Pipeline] echo 02:28:12 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 02:28:28 Still waiting to schedule task 02:28:28 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:28:28 Still waiting to schedule task 02:28:28 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:30:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-9369 in /w/workspace/dgexfoundry_device-snmp-go_PR-68 [Pipeline] { [Pipeline] ws 02:30:17 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 02:30:22 using credential edgex-jenkins-ssh 02:30:22 Cloning the remote Git repository 02:30:22 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 02:30:22 > git init /w/workspace/device-snmp-go/1 # timeout=10 02:30:22 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 02:30:22 > git --version # timeout=10 02:30:22 > git --version # 'git version 2.17.1' 02:30:22 using GIT_SSH to set credentials SSH Credentials for GitHub 02:30:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:30:23 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 02:30:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:30:23 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 02:30:23 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 02:30:23 using GIT_SSH to set credentials SSH Credentials for GitHub 02:30:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/68/head:refs/remotes/origin/PR-68 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:30:24 Merging remotes/origin/master commit 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 into PR head commit 892246bbce24206d546dfec362c7e037a6389aa9 02:30:24 Merge succeeded, producing 892246bbce24206d546dfec362c7e037a6389aa9 02:30:24 Checking out Revision 892246bbce24206d546dfec362c7e037a6389aa9 (PR-68) 02:30:24 > git config core.sparsecheckout # timeout=10 02:30:24 > git checkout -f 892246bbce24206d546dfec362c7e037a6389aa9 # timeout=10 02:30:24 > git remote # timeout=10 02:30:24 > git config --get remote.origin.url # timeout=10 02:30:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:30:24 > git merge 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 # timeout=10 02:30:24 > git rev-parse HEAD^{commit} # timeout=10 02:30:24 > git config core.sparsecheckout # timeout=10 02:30:24 > git checkout -f 892246bbce24206d546dfec362c7e037a6389aa9 # timeout=10 02:30:28 Commit message: "refactor: Upgrade SDK to v1.2.4-dev.34" 02:30:28 > git --version # timeout=10 02:30:29 > git --version # 'git version 2.17.1' 02:30:29 fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:30:30 ========================================================= 02:30:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:30:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:30:31 + 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 . 02:30:31 Sending build context to Docker daemon 309.2kB 02:30:31 Step 1/10 : ARG BASE=golang:1.15-alpine 02:30:31 Step 2/10 : FROM ${BASE} 02:30:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:30:32 b538f80385f9: Pulling fs layer 02:30:32 74f711af9a0d: Pulling fs layer 02:30:32 99f96fe45779: Pulling fs layer 02:30:32 8529a6b9a6be: Pulling fs layer 02:30:32 45590311c82a: Pulling fs layer 02:30:32 69ca0ff8b7b3: Pulling fs layer 02:30:32 209524e5b208: Pulling fs layer 02:30:32 8529a6b9a6be: Waiting 02:30:32 45590311c82a: Waiting 02:30:32 69ca0ff8b7b3: Waiting 02:30:32 209524e5b208: Waiting 02:30:32 99f96fe45779: Verifying Checksum 02:30:32 45590311c82a: Verifying Checksum 02:30:32 45590311c82a: Download complete 02:30:32 b538f80385f9: Verifying Checksum 02:30:32 b538f80385f9: Download complete 02:30:32 69ca0ff8b7b3: Verifying Checksum 02:30:32 69ca0ff8b7b3: Download complete 02:30:33 b538f80385f9: Pull complete 02:30:34 74f711af9a0d: Pull complete 02:30:34 99f96fe45779: Pull complete 02:30:44 209524e5b208: Verifying Checksum 02:30:44 209524e5b208: Download complete 02:30:54 8529a6b9a6be: Verifying Checksum 02:30:54 8529a6b9a6be: Download complete 02:31:02 Running on prd-centos7-docker-4c-2g-9370 in /w/workspace/dgexfoundry_device-snmp-go_PR-68 [Pipeline] { [Pipeline] ws 02:31:02 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 02:31:04 8529a6b9a6be: Pull complete 02:31:05 45590311c82a: Pull complete 02:31:05 using credential edgex-jenkins-ssh 02:31:05 Cloning the remote Git repository 02:31:05 69ca0ff8b7b3: Pull complete 02:31:05 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 02:31:05 > git init /w/workspace/device-snmp-go/1 # timeout=10 02:31:05 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 02:31:05 > git --version # timeout=10 02:31:05 > git --version # 'git version 2.16.5' 02:31:05 using GIT_SSH to set credentials SSH Credentials for GitHub 02:31:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:31:06 Merging remotes/origin/master commit 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 into PR head commit 892246bbce24206d546dfec362c7e037a6389aa9 02:31:06 Merge succeeded, producing 892246bbce24206d546dfec362c7e037a6389aa9 02:31:06 Checking out Revision 892246bbce24206d546dfec362c7e037a6389aa9 (PR-68) 02:31:06 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 02:31:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:31:06 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 02:31:06 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 02:31:06 using GIT_SSH to set credentials SSH Credentials for GitHub 02:31:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/68/head:refs/remotes/origin/PR-68 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:31:06 > git config core.sparsecheckout # timeout=10 02:31:06 > git checkout -f 892246bbce24206d546dfec362c7e037a6389aa9 # timeout=10 02:31:06 > git remote # timeout=10 02:31:06 > git config --get remote.origin.url # timeout=10 02:31:06 using GIT_SSH to set credentials SSH Credentials for GitHub 02:31:06 > git merge 848f2065905ad4eb93e9b774cef4a4ef5a1cd264 # timeout=10 02:31:06 > git rev-parse HEAD^{commit} # timeout=10 02:31:06 > git config core.sparsecheckout # timeout=10 02:31:06 > git checkout -f 892246bbce24206d546dfec362c7e037a6389aa9 # timeout=10 02:31:08 209524e5b208: Pull complete 02:31:08 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:31:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:31:08 ---> 5bddaf1c2fca 02:31:08 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 02:31:10 Commit message: "refactor: Upgrade SDK to v1.2.4-dev.34" 02:31:10 > git --version # timeout=10 02:31:10 > git --version # 'git version 2.16.5' 02:31:10 fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:31:11 ========================================================= 02:31:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:31:11 ========================================================= 02:31:11 ---> Running in 7825f1692600 [Pipeline] isUnix [Pipeline] sh 02:31:11 Removing intermediate container 7825f1692600 02:31:11 ---> 4fcd116926fb 02:31:11 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 02:31:11 ---> Running in 126e19957ec5 02:31:12 + 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 . 02:31:12 Removing intermediate container 126e19957ec5 02:31:12 ---> fb8e16a5be73 02:31:12 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 02:31:12 ---> Running in 7e6175d2d8e3 02:31:12 Sending build context to Docker daemon 309.2kB 02:31:12 Step 1/10 : ARG BASE=golang:1.15-alpine 02:31:12 Step 2/10 : FROM ${BASE} 02:31:12 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:31:12 df20fa9351a1: Pulling fs layer 02:31:12 ed8968b2872e: Pulling fs layer 02:31:12 a92cc7c5fd73: Pulling fs layer 02:31:12 e871e8e8d7a9: Pulling fs layer 02:31:12 e73272ec9a57: Pulling fs layer 02:31:12 1e910a182e73: Pulling fs layer 02:31:12 4e634b169226: Pulling fs layer 02:31:12 e73272ec9a57: Waiting 02:31:12 1e910a182e73: Waiting 02:31:12 4e634b169226: Waiting 02:31:12 e871e8e8d7a9: Waiting 02:31:12 a92cc7c5fd73: Verifying Checksum 02:31:12 a92cc7c5fd73: Download complete 02:31:13 Removing intermediate container 7e6175d2d8e3 02:31:13 ---> 022312850bac 02:31:13 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:31:13 ---> Running in 6c20fcd85ec8 02:31:13 ed8968b2872e: Verifying Checksum 02:31:13 ed8968b2872e: Download complete 02:31:13 e73272ec9a57: Verifying Checksum 02:31:13 e73272ec9a57: Download complete 02:31:13 1e910a182e73: Verifying Checksum 02:31:13 1e910a182e73: Download complete 02:31:13 df20fa9351a1: Verifying Checksum 02:31:13 df20fa9351a1: Download complete 02:31:13 df20fa9351a1: Pull complete 02:31:13 ed8968b2872e: Pull complete 02:31:13 a92cc7c5fd73: Pull complete 02:31:15 Removing intermediate container 6c20fcd85ec8 02:31:15 ---> d180776b7327 02:31:15 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:31:15 ---> Running in f3d1d1b2fdf7 02:31:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:31:23 4e634b169226: Verifying Checksum 02:31:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:31:32 e871e8e8d7a9: Verifying Checksum 02:31:32 e871e8e8d7a9: Download complete 02:31:34 OK: 142 MiB in 39 packages 02:31:34 Removing intermediate container f3d1d1b2fdf7 02:31:34 ---> c4c7feb7d26c 02:31:34 Step 8/10 : WORKDIR /device-snmp-go 02:31:34 ---> Running in b186b6a58db8 02:31:34 Removing intermediate container b186b6a58db8 02:31:34 ---> 1097353c6e59 02:31:34 Step 9/10 : COPY . . 02:31:35 ---> 14775f6af47c 02:31:35 Step 10/10 : RUN go mod download 02:31:35 ---> Running in 7c21b1fdf393 02:31:36 e871e8e8d7a9: Pull complete 02:31:36 e73272ec9a57: Pull complete 02:31:36 1e910a182e73: Pull complete 02:31:46 4e634b169226: Pull complete 02:31:46 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:31:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:31:46 ---> f7629b54cfaa 02:31:46 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 02:31:46 ---> Running in 473f2fc28c1d 02:31:46 Removing intermediate container 473f2fc28c1d 02:31:46 ---> 50e15578c2f9 02:31:46 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 02:31:46 ---> Running in 79e359b089f8 02:31:46 Removing intermediate container 79e359b089f8 02:31:46 ---> 1720b737d8ab 02:31:46 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 02:31:46 ---> Running in 837ec23385b3 02:31:46 Removing intermediate container 837ec23385b3 02:31:46 ---> 9a6dec3f65ec 02:31:46 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:31:46 ---> Running in 20270b465658 02:31:46 Removing intermediate container 20270b465658 02:31:46 ---> 8f1aaf3ffd91 02:31:46 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:31:47 ---> Running in 801212362e77 02:31:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:31:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:31:57 Removing intermediate container 7c21b1fdf393 02:31:57 ---> 6ad18adf3008 02:31:57 Successfully built 6ad18adf3008 02:31:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:31:58 + docker inspect -f . ci-base-image-arm64 02:31:58 . [Pipeline] withDockerContainer 02:31:58 prd-ubuntu18.04-docker-arm64-4c-16g-9369 does not seem to be running inside a container 02:31:58 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:32:00 $ docker top 2be0b4c72ce6b81de125b697c3cbbfbe1311472b7562cce7e81b619b4b6fc289 -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:01 OK: 166 MiB in 39 packages 02:32:01 Removing intermediate container 801212362e77 02:32:01 ---> 5848bfc29542 02:32:01 Step 8/10 : WORKDIR /device-snmp-go 02:32:01 ---> Running in b08385f1c32c 02:32:01 Removing intermediate container b08385f1c32c 02:32:01 ---> 54486a537c47 02:32:01 Step 9/10 : COPY . . 02:32:01 + go version 02:32:01 go version go1.15.2 linux/arm64 [Pipeline] } 02:32:01 $ docker stop --time=1 2be0b4c72ce6b81de125b697c3cbbfbe1311472b7562cce7e81b619b4b6fc289 02:32:02 ---> acc06c7ed9d2 02:32:02 Step 10/10 : RUN go mod download 02:32:02 ---> Running in e5e4e369f421 02:32:03 $ docker rm -f 2be0b4c72ce6b81de125b697c3cbbfbe1311472b7562cce7e81b619b4b6fc289 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:32:05 + docker inspect -f . ci-base-image-arm64 02:32:05 . [Pipeline] withDockerContainer 02:32:05 prd-ubuntu18.04-docker-arm64-4c-16g-9369 does not seem to be running inside a container 02:32:05 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:32:07 $ docker top e12ce6bed9e8e6eeb6ffb0a4db6438333703207820fb36b38db41570040abd91 -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:09 + make test 02:32:09 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:32:10 ? github.com/edgexfoundry/device-snmp-go [no test files] 02:32:24 Removing intermediate container e5e4e369f421 02:32:24 ---> e90f78783de3 02:32:24 Successfully built e90f78783de3 02:32:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:32:25 + docker inspect -f . ci-base-image-x86_64 02:32:25 . [Pipeline] withDockerContainer 02:32:25 prd-centos7-docker-4c-2g-9370 does not seem to be running inside a container 02:32:25 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:32:26 $ docker top 815cf237eb43712f64162b3450871c81383c610867d5b8d24ef5437a3ed88223 -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:26 + go version 02:32:26 go version go1.15.2 linux/amd64 [Pipeline] } 02:32:26 $ docker stop --time=1 815cf237eb43712f64162b3450871c81383c610867d5b8d24ef5437a3ed88223 02:32:28 $ docker rm -f 815cf237eb43712f64162b3450871c81383c610867d5b8d24ef5437a3ed88223 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:32:29 + docker inspect -f . ci-base-image-x86_64 02:32:29 . [Pipeline] withDockerContainer 02:32:29 prd-centos7-docker-4c-2g-9370 does not seem to be running inside a container 02:32:29 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:32:30 $ docker top acdb9779326ea213124f4afd603755ad399001763d1e3c11b2042e68631f141c -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:31 + make test 02:32:31 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:32:31 ? github.com/edgexfoundry/device-snmp-go [no test files] 02:32:42 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 02:32:42 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements 02:32:42 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:32:44 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 02:32:44 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.005s coverage: 0.0% of statements 02:32:44 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:32:44 gofmt -l . 02:32:44 [ "`gofmt -l .`" = "" ] 02:32:44 ./bin/test-attribution-txt.sh 02:32:45 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:32:46 Stashed 1 file(s) [Pipeline] } 02:32:46 $ docker stop --time=1 acdb9779326ea213124f4afd603755ad399001763d1e3c11b2042e68631f141c 02:32:48 gofmt -l . 02:32:48 [ "`gofmt -l .`" = "" ] 02:32:48 ./bin/test-attribution-txt.sh 02:32:48 $ docker rm -f acdb9779326ea213124f4afd603755ad399001763d1e3c11b2042e68631f141c 02:32:48 ./bin/test-go-mod-tidy.sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stash 02:32:49 Warning: overwriting stash ‘coverage-report’ [Pipeline] stage [Pipeline] { (Build) 02:32:50 Stashed 1 file(s) [Pipeline] sh [Pipeline] } 02:32:52 $ docker stop --time=1 e12ce6bed9e8e6eeb6ffb0a4db6438333703207820fb36b38db41570040abd91 02:32:52 + sudo chown -R jenkins:jenkins . 02:32:54 $ docker rm -f e12ce6bed9e8e6eeb6ffb0a4db6438333703207820fb36b38db41570040abd91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } 02:32:55 + ls -al . 02:32:55 total 104 02:32:55 drwxrwxr-x. 8 jenkins jenkins 4096 Oct 28 02:32 . 02:32:55 drwxrwxr-x. 4 jenkins jenkins 28 Oct 28 02:31 .. 02:32:55 -rw-rw-r--. 1 jenkins jenkins 5082 Oct 28 02:31 Attribution.txt 02:32:55 drwxrwxr-x. 2 jenkins jenkins 87 Oct 28 02:31 bin 02:32:55 drwxrwxr-x. 3 jenkins jenkins 32 Oct 28 02:31 cmd 02:32:55 -rw-r--r--. 1 jenkins jenkins 8493 Oct 28 02:32 coverage.out 02:32:55 -rw-rw-r--. 1 jenkins jenkins 1002 Oct 28 02:31 Dockerfile 02:32:55 -rw-rw-r--. 1 jenkins jenkins 409 Oct 28 02:31 Dockerfile.build 02:32:55 -rw-rw-r--. 1 jenkins jenkins 6 Oct 28 02:31 .dockerignore 02:32:55 drwxrwxr-x. 8 jenkins jenkins 179 Oct 28 02:31 .git 02:32:55 drwxrwxr-x. 2 jenkins jenkins 60 Oct 28 02:31 .github 02:32:55 -rw-rw-r--. 1 jenkins jenkins 272 Oct 28 02:31 .gitignore 02:32:55 -rw-r--r--. 1 jenkins jenkins 210 Oct 28 02:32 go.mod 02:32:55 -rw-r--r--. 1 jenkins jenkins 14276 Oct 28 02:32 go.sum 02:32:55 drwxrwxr-x. 3 jenkins jenkins 20 Oct 28 02:31 internal 02:32:55 -rw-rw-r--. 1 jenkins jenkins 656 Oct 28 02:31 Jenkinsfile 02:32:55 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 28 02:31 LICENSE 02:32:55 -rw-rw-r--. 1 jenkins jenkins 937 Oct 28 02:31 Makefile 02:32:55 drwxrwxr-x. 2 jenkins jenkins 84 Oct 28 02:31 profiles 02:32:55 -rw-rw-r--. 1 jenkins jenkins 12398 Oct 28 02:31 README.md 02:32:55 -rw-rw-r--. 1 jenkins jenkins 5 Oct 28 02:28 VERSION 02:32:55 -rw-rw-r--. 1 jenkins jenkins 209 Oct 28 02:31 version.go [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 02:32:55 + 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=892246bbce24206d546dfec362c7e037a6389aa9 --label arch=amd64 --label version=0.0.0 . 02:32:56 Sending build context to Docker daemon 318.5kB 02:32:56 Step 1/26 : ARG BASE=golang:1.15-alpine 02:32:56 Step 2/26 : FROM ${BASE} AS builder 02:32:56 ---> e90f78783de3 02:32:56 Step 3/26 : ARG MAKE='make build' 02:32:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:32:56 ---> Running in b6552bb7485b 02:32:56 Removing intermediate container b6552bb7485b 02:32:56 ---> 558c08e6eea5 02:32:56 Step 4/26 : ARG ALPINE_PKG_BASE="make git" 02:32:56 + ls -al . 02:32:56 total 132 02:32:56 drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 02:32 . 02:32:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 02:30 .. 02:32:56 -rw-rw-r-- 1 jenkins jenkins 6 Oct 28 02:30 .dockerignore 02:32:56 drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 02:30 .git 02:32:56 drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 02:30 .github 02:32:56 -rw-rw-r-- 1 jenkins jenkins 272 Oct 28 02:30 .gitignore 02:32:56 -rw-rw-r-- 1 jenkins jenkins 5082 Oct 28 02:30 Attribution.txt 02:32:56 -rw-rw-r-- 1 jenkins jenkins 1002 Oct 28 02:30 Dockerfile 02:32:56 -rw-rw-r-- 1 jenkins jenkins 409 Oct 28 02:30 Dockerfile.build 02:32:56 -rw-rw-r-- 1 jenkins jenkins 656 Oct 28 02:30 Jenkinsfile 02:32:56 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 28 02:30 LICENSE 02:32:56 -rw-rw-r-- 1 jenkins jenkins 937 Oct 28 02:30 Makefile 02:32:56 -rw-rw-r-- 1 jenkins jenkins 12398 Oct 28 02:30 README.md 02:32:56 -rw-rw-r-- 1 jenkins jenkins 5 Oct 28 02:28 VERSION 02:32:56 drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 02:30 bin 02:32:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 02:30 cmd 02:32:56 -rw-r--r-- 1 jenkins jenkins 8493 Oct 28 02:32 coverage.out 02:32:56 -rw-r--r-- 1 jenkins jenkins 210 Oct 28 02:32 go.mod 02:32:56 -rw-r--r-- 1 jenkins jenkins 14276 Oct 28 02:32 go.sum 02:32:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 02:30 internal 02:32:56 drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 02:30 profiles 02:32:56 -rw-rw-r-- 1 jenkins jenkins 209 Oct 28 02:30 version.go [Pipeline] isUnix [Pipeline] sh 02:32:56 ---> Running in d4145d1ffc91 02:32:56 Removing intermediate container d4145d1ffc91 02:32:56 ---> 1fd06ce92170 02:32:56 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 02:32:56 ---> Running in adb0d78c9153 02:32:56 Removing intermediate container adb0d78c9153 02:32:56 ---> fe6e65157d45 02:32:56 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:32:56 ---> Running in 0645b6a830bd 02:32:56 + 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=892246bbce24206d546dfec362c7e037a6389aa9 --label arch=arm64 --label version=0.0.0 . 02:32:57 Sending build context to Docker daemon 318.5kB 02:32:57 Step 1/26 : ARG BASE=golang:1.15-alpine 02:32:57 Step 2/26 : FROM ${BASE} AS builder 02:32:57 ---> 6ad18adf3008 02:32:57 Step 3/26 : ARG MAKE='make build' 02:32:57 ---> Running in 70303ad6c7e7 02:32:57 Removing intermediate container 70303ad6c7e7 02:32:57 ---> 54be22dcc375 02:32:57 Step 4/26 : ARG ALPINE_PKG_BASE="make git" 02:32:57 Removing intermediate container 0645b6a830bd 02:32:57 ---> 7fa697ac4464 02:32:57 Step 7/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:32:57 ---> Running in a7336d9e66a3 02:32:58 ---> Running in 94cb7ba4559b 02:32:58 Removing intermediate container 94cb7ba4559b 02:32:58 ---> 7eb0482f6873 02:32:58 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 02:32:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:32:58 ---> Running in ba7de90083ea 02:32:58 Removing intermediate container ba7de90083ea 02:32:58 ---> 81c0626b5d7c 02:32:58 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:32:59 ---> Running in 1635176d324e 02:33:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:33:01 Removing intermediate container 1635176d324e 02:33:01 ---> fd79a4bf5b0f 02:33:01 Step 7/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:33:01 ---> Running in 0c925aa4d5fe 02:33:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:33:07 OK: 166 MiB in 39 packages 02:33:07 Removing intermediate container a7336d9e66a3 02:33:07 ---> cc847caec682 02:33:07 Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 02:33:07 ---> Running in 7809477ad742 02:33:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:33:07 Removing intermediate container 7809477ad742 02:33:07 ---> 007c28e65c77 02:33:07 Step 9/26 : COPY go.mod . 02:33:07 ---> 642f8520441d 02:33:07 Step 10/26 : COPY Makefile . 02:33:07 ---> f7b516ca62da 02:33:07 Step 11/26 : RUN make update 02:33:07 ---> Running in 08286bd14372 02:33:08 CGO_ENABLED=0 GO111MODULE=on go mod download 02:33:09 Removing intermediate container 08286bd14372 02:33:09 ---> c03f07ab1cd4 02:33:09 Step 12/26 : COPY . . 02:33:10 ---> 904fc9a7df2c 02:33:10 Step 13/26 : RUN ${MAKE} 02:33:10 ---> Running in b35d1d373cee 02:33:10 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 02:33:14 OK: 142 MiB in 39 packages 02:33:14 Removing intermediate container 0c925aa4d5fe 02:33:14 ---> 11a662f08f94 02:33:14 Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 02:33:14 ---> Running in 2a479a272969 02:33:15 Removing intermediate container 2a479a272969 02:33:15 ---> a48adbf5c016 02:33:15 Step 9/26 : COPY go.mod . 02:33:15 ---> d89485095a6e 02:33:15 Step 10/26 : COPY Makefile . 02:33:16 ---> d5d89cea997e 02:33:16 Step 11/26 : RUN make update 02:33:16 ---> Running in fd9db6647f87 02:33:18 CGO_ENABLED=0 GO111MODULE=on go mod download 02:33:19 Removing intermediate container fd9db6647f87 02:33:19 ---> 2411f572f0da 02:33:19 Step 12/26 : COPY . . 02:33:20 ---> 7999bf438992 02:33:20 Step 13/26 : RUN ${MAKE} 02:33:20 ---> Running in b39d3a5294d7 02:33:20 CGO_ENABLED=0 GO111MODULE=on go build ./... 02:33:21 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 02:33:23 Removing intermediate container b35d1d373cee 02:33:23 ---> d95c8560f917 02:33:23 Step 14/26 : FROM alpine 02:33:23 latest: Pulling from library/alpine 02:33:23 188c0c94c7c5: Pulling fs layer 02:33:23 188c0c94c7c5: Verifying Checksum 02:33:23 188c0c94c7c5: Download complete 02:33:23 188c0c94c7c5: Pull complete 02:33:23 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 02:33:23 Status: Downloaded newer image for alpine:latest 02:33:23 ---> d6e46aa2470d 02:33:23 Step 15/26 : ENV APP_PORT=49993 02:33:24 ---> Running in a69a2bc23f37 02:33:24 Removing intermediate container a69a2bc23f37 02:33:24 ---> 1fcc9505aa8b 02:33:24 Step 16/26 : EXPOSE $APP_PORT 02:33:24 ---> Running in d5d4913c46c4 02:33:24 Removing intermediate container d5d4913c46c4 02:33:24 ---> f8a8fe32633f 02:33:24 Step 17/26 : ENV DEVICE_PORT=161 02:33:24 ---> Running in b7a8c89a73ab 02:33:24 Removing intermediate container b7a8c89a73ab 02:33:24 ---> 05e1273ab42b 02:33:24 Step 18/26 : EXPOSE $DEVICE_PORT 02:33:24 ---> Running in a82108df106d 02:33:24 Removing intermediate container a82108df106d 02:33:24 ---> a2d20b8dd9f5 02:33:24 Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 02:33:25 ---> 73014f3ee97d 02:33:25 Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 02:33:25 ---> 767113f47cb2 02:33:25 Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 02:33:25 ---> 8f7607044789 02:33:25 Step 22/26 : ENTRYPOINT ["/device-snmp-go"] 02:33:26 ---> Running in ebca83f85f55 02:33:26 Removing intermediate container ebca83f85f55 02:33:26 ---> 0c4c1f9c30a4 02:33:26 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 02:33:26 ---> Running in 25e4077fd23d 02:33:26 Removing intermediate container 25e4077fd23d 02:33:26 ---> c27fcb674b19 02:33:26 Step 24/26 : LABEL arch=amd64 02:33:26 ---> Running in 4bfd7a1cf418 02:33:26 Removing intermediate container 4bfd7a1cf418 02:33:26 ---> 24a0e482124f 02:33:26 Step 25/26 : LABEL git_sha=892246bbce24206d546dfec362c7e037a6389aa9 02:33:26 ---> Running in f7d0db02e581 02:33:26 Removing intermediate container f7d0db02e581 02:33:26 ---> bddfb7ca4212 02:33:26 Step 26/26 : LABEL version=0.0.0 02:33:26 ---> Running in e762ff3410fd 02:33:27 Removing intermediate container e762ff3410fd 02:33:27 ---> e140866f60dd 02:33:27 [Warning] One or more build-args [ARCH] were not consumed 02:33:27 Successfully built e140866f60dd 02:33:27 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] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:33:48 CGO_ENABLED=0 GO111MODULE=on go build ./... 02:33:52 Removing intermediate container b39d3a5294d7 02:33:52 ---> 1c5633f5fb97 02:33:52 Step 14/26 : FROM alpine 02:33:52 latest: Pulling from library/alpine 02:33:53 5f621e34cdf4: Pulling fs layer 02:33:53 5f621e34cdf4: Verifying Checksum 02:33:53 5f621e34cdf4: Download complete 02:33:53 5f621e34cdf4: Pull complete 02:33:53 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 02:33:53 Status: Downloaded newer image for alpine:latest 02:33:53 ---> 2e77e061c27f 02:33:53 Step 15/26 : ENV APP_PORT=49993 02:33:54 ---> Running in bbf77a95fa0a 02:33:54 Removing intermediate container bbf77a95fa0a 02:33:54 ---> 477e94a14c8a 02:33:54 Step 16/26 : EXPOSE $APP_PORT 02:33:54 ---> Running in ab201bd92b10 02:33:55 Removing intermediate container ab201bd92b10 02:33:55 ---> 6584ebec1310 02:33:55 Step 17/26 : ENV DEVICE_PORT=161 02:33:55 ---> Running in ef5e0f6ecd0c 02:33:55 Removing intermediate container ef5e0f6ecd0c 02:33:55 ---> 87bcd0da48f4 02:33:55 Step 18/26 : EXPOSE $DEVICE_PORT 02:33:55 ---> Running in b91f975903c9 02:33:56 Removing intermediate container b91f975903c9 02:33:56 ---> 039576f96175 02:33:56 Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 02:33:57 ---> 2b0632b51bd3 02:33:57 Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 02:33:58 ---> eaba28b90ff6 02:33:58 Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 02:33:58 ---> 863c79ab6e8b 02:33:58 Step 22/26 : ENTRYPOINT ["/device-snmp-go"] 02:33:59 ---> Running in 5bddf8528a5c 02:33:59 Removing intermediate container 5bddf8528a5c 02:33:59 ---> 2186c46cc437 02:33:59 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 02:33:59 ---> Running in 74600564bc19 02:33:59 Removing intermediate container 74600564bc19 02:33:59 ---> b089b8b8ec21 02:33:59 Step 24/26 : LABEL arch=arm64 02:34:00 ---> Running in 594a5795a097 02:34:00 Removing intermediate container 594a5795a097 02:34:00 ---> 318583d177af 02:34:00 Step 25/26 : LABEL git_sha=892246bbce24206d546dfec362c7e037a6389aa9 02:34:00 ---> Running in 40833ddfe46d 02:34:01 Removing intermediate container 40833ddfe46d 02:34:01 ---> da753df05b27 02:34:01 Step 26/26 : LABEL version=0.0.0 02:34:01 ---> Running in 984dadd97c91 02:34:01 Removing intermediate container 984dadd97c91 02:34:01 ---> 43bf1e7bfb28 02:34:01 [Warning] One or more build-args [ARCH] were not consumed 02:34:01 Successfully built 43bf1e7bfb28 02:34:01 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 02:34:04 provisioning config files... 02:34:04 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-68@tmp/config9112022807762436203tmp [Pipeline] { [Pipeline] sh 02:34:05 + set +x 02:34:05 + curl -s https://codecov.io/bash 02:34:05 + bash -s -- 02:34:05 02:34:05 _____ _ 02:34:05 / ____| | | 02:34:05 | | ___ __| | ___ ___ _____ __ 02:34:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:34:05 | |___| (_) | (_| | __/ (_| (_) \ V / 02:34:05 \_____\___/ \__,_|\___|\___\___/ \_/ 02:34:05 Bash-20201009-048fee3 02:34:05 02:34:05 02:34:05 ==> Jenkins CI detected. 02:34:05 project root: . 02:34:05 --> token set from env 02:34:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:34:05 ==> Running gcov in . (disable via -X gcov) 02:34:05 ==> Python coveragepy not found 02:34:05 ==> Searching for coverage reports in: 02:34:05 + . 02:34:05 -> Found 1 reports 02:34:05 ==> Detecting git/mercurial file structure 02:34:05 ==> Reading reports 02:34:05 + ./coverage.out bytes=8493 02:34:05 ==> Appending adjustments 02:34:05 https://docs.codecov.io/docs/fixing-reports 02:34:05 + Found adjustments 02:34:05 ==> Gzipping contents 02:34:05 ==> Uploading reports 02:34:05 url: https://codecov.io 02:34:05 query: branch=PR-68&commit=892246bbce24206d546dfec362c7e037a6389aa9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-68%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=68&job=&cmd_args= 02:34:05 -> Pinging Codecov 02:34:05 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-68&commit=892246bbce24206d546dfec362c7e037a6389aa9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-68%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=68&job=&cmd_args= 02:34:05 -> Uploading to 02:34:05 02:34:05 % Total % Received % Xferd Average Speed Time Time Time Current 02:34:05 Dload Upload Total Spent Left Speed 02:34:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 02:34:05 X> Failed to upload 02:34:05 ==> Uploading to Codecov 02:34:05 % Total % Received % Xferd Average Speed Time Time Time Current 02:34:05 Dload Upload Total Spent Left Speed 02:34:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1558 100 111 100 1447 187 2446 --:--:-- --:--:-- --:--:-- 2448 02:34:06 View reports at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/892246bbce24206d546dfec362c7e037a6389aa9 [Pipeline] } 02:34:06 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 02:34:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:34:11 ---> package-listing.sh 02:34:11 ++ tr '[:upper:]' '[:lower:]' 02:34:11 ++ facter osfamily 02:34:11 + OS_FAMILY=redhat 02:34:11 + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-68 02:34:11 + START_PACKAGES=/tmp/packages_start.txt 02:34:11 + END_PACKAGES=/tmp/packages_end.txt 02:34:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:34:11 + PACKAGES=/tmp/packages_start.txt 02:34:11 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-68 ']' 02:34:11 + PACKAGES=/tmp/packages_end.txt 02:34:11 + case "${OS_FAMILY}" in 02:34:11 + rpm -qa 02:34:11 + sort 02:34:15 + '[' -f /tmp/packages_start.txt ']' 02:34:15 + '[' -f /tmp/packages_end.txt ']' 02:34:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:34:15 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-68 ']' 02:34:15 + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-68/archives/ 02:34:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-68/archives/ [Pipeline] echo 02:34:15 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-68/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:34:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:34:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:34:16 02:34:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:34:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:34:16 alpine: Pulling from edgex-lftools-log-publisher 02:34:16 df20fa9351a1: Pulling fs layer 02:34:16 36b3adc4ff6f: Pulling fs layer 02:34:16 8ad3a11d3b57: Pulling fs layer 02:34:16 46f8f816bc3b: Pulling fs layer 02:34:16 93b61091891f: Pulling fs layer 02:34:16 93b9cdb0e59b: Pulling fs layer 02:34:16 5e14af77c1be: Pulling fs layer 02:34:16 01666e4c0597: Pulling fs layer 02:34:16 aa168da1d23b: Pulling fs layer 02:34:16 93b61091891f: Waiting 02:34:16 93b9cdb0e59b: Waiting 02:34:16 5e14af77c1be: Waiting 02:34:16 01666e4c0597: Waiting 02:34:16 aa168da1d23b: Waiting 02:34:16 46f8f816bc3b: Waiting 02:34:16 36b3adc4ff6f: Verifying Checksum 02:34:16 36b3adc4ff6f: Download complete 02:34:16 46f8f816bc3b: Verifying Checksum 02:34:16 46f8f816bc3b: Download complete 02:34:16 df20fa9351a1: Verifying Checksum 02:34:16 df20fa9351a1: Download complete 02:34:16 93b9cdb0e59b: Verifying Checksum 02:34:16 93b9cdb0e59b: Download complete 02:34:16 5e14af77c1be: Download complete 02:34:16 01666e4c0597: Verifying Checksum 02:34:16 01666e4c0597: Download complete 02:34:16 93b61091891f: Verifying Checksum 02:34:16 93b61091891f: Download complete 02:34:17 df20fa9351a1: Pull complete 02:34:17 36b3adc4ff6f: Pull complete 02:34:18 8ad3a11d3b57: Download complete 02:34:18 8ad3a11d3b57: Pull complete 02:34:18 46f8f816bc3b: Pull complete 02:34:19 93b61091891f: Pull complete 02:34:19 93b9cdb0e59b: Pull complete 02:34:19 5e14af77c1be: Pull complete 02:34:19 01666e4c0597: Pull complete 02:34:21 aa168da1d23b: Verifying Checksum 02:34:21 aa168da1d23b: Download complete 02:34:28 aa168da1d23b: Pull complete 02:34:28 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:34:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:34:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:34:28 prd-centos7-docker-4c-2g-9368 does not seem to be running inside a container 02:34:28 $ 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-68/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-68 -v /w/workspace/dgexfoundry_device-snmp-go_PR-68:/w/workspace/dgexfoundry_device-snmp-go_PR-68:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-68@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:34:31 $ docker top fe8a51251bc6f65e58a95729d6506ab22bf3dddd11ec742451db4c433ca83dbf -eo pid,comm [Pipeline] { [Pipeline] sh 02:34:32 + touch /tmp/pre-build-complete [Pipeline] sh 02:34:32 + mkdir -p /var/log/sa [Pipeline] sh 02:34:33 + ls /var/log/sa-host 02:34:33 + sadf -c /var/log/sa-host/sa05 02:34:33 file_magic: OK 02:34:33 HZ: Using current value: 100 02:34:33 file_header: OK 02:34:33 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 02:34:33 Statistics: 02:34:33 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:34:33 File successfully converted to sysstat format version 12.2.1 02:34:33 + sadf -c /var/log/sa-host/sa28 02:34:33 file_magic: OK 02:34:33 HZ: Using current value: 100 02:34:33 file_header: OK 02:34:33 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 02:34:33 Statistics: 02:34:33 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:34:33 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:34:34 provisioning config files... 02:34:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-68@tmp/config7171192728814794021tmp [Pipeline] { [Pipeline] echo 02:34:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:34:34 ---> create-netrc.sh [Pipeline] } 02:34:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:34:34 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:34:35 ---> python-tools-install.sh [Pipeline] echo 02:34:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:34:35 ---> sudo-logs.sh 02:34:35 Archiving 'sudo' log.. [Pipeline] echo 02:34:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:34:35 ---> job-cost.sh 02:34:35 lf-activate-venv: SKIPPING 02:34:35 INFO: No Stack... 02:34:37 INFO: Retrieving Pricing Info for: v1-standard-2 02:34:37 INFO: Archiving Costs [Pipeline] echo 02:34:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:34:38 ---> logs-deploy.sh 02:34:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-68/1 02:34:38 INFO: archiving workspace using pattern(s): 02:34:40 Archives upload complete. 02:34:40 INFO: archiving logs to Nexus