Pull request #70 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 902c3945f65da81e26ed8e96df8a7b3a5aa03b12+03464ffadf6f8b9068bcdea2569ab2e117b905af (798301e2a3a32f8c4936c7210aadfaaa1ca8e182) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 14412ea6c559e203c60c6aec71a1cbd01eb2e17f Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 14412ea6c559e203c60c6aec71a1cbd01eb2e17f using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-70/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 14412ea6c559e203c60c6aec71a1cbd01eb2e17f (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 14412ea6c559e203c60c6aec71a1cbd01eb2e17f # timeout=10 Commit message: "Merge pull request #284 from ernestojeda/codecov-fix" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-70/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-snmp-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-10057 in /w/workspace/dgexfoundry_device-snmp-go_PR-70 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/dgexfoundry_device-snmp-go_PR-70 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/70/head:refs/remotes/origin/PR-70 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 03464ffadf6f8b9068bcdea2569ab2e117b905af into PR head commit 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 Merge succeeded, producing 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 Checking out Revision 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 (PR-70) > git config core.sparsecheckout # timeout=10 > git checkout -f 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 03464ffadf6f8b9068bcdea2569ab2e117b905af # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 # timeout=10 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-02T06:42:18.740Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-02T06:42:19.180Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-02T06:42:19.440Z] ========================================================= [2020-11-02T06:42:19.440Z] EdgeX Global Pipelines Version Info [2020-11-02T06:42:19.440Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:42:22.157Z] ------------------- [2020-11-02T06:42:22.157Z] stable info: [2020-11-02T06:42:22.157Z] ------------------- [2020-11-02T06:42:22.157Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-02T06:42:22.157Z] Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [2020-11-02T06:42:22.157Z] Message: update stable to v1.0.152 [2020-11-02T06:42:23.241Z] ------------------- [2020-11-02T06:42:23.241Z] experimental info: [2020-11-02T06:42:23.241Z] ------------------- [2020-11-02T06:42:23.242Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-02T06:42:23.242Z] Commit SHA: a289ce3bd006757951f62b250e9ecca5ba035f92 [2020-11-02T06:42:23.242Z] Message: update experimental to v1.0.154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-02T06:42:23.928Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2020-11-02T06:42:24.058Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2020-11-02T06:42:24.231Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-02T06:42:24.392Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-02T06:42:24.523Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-02T06:42:24.674Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-02T06:42:24.937Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-02T06:42:25.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-02T06:42:25.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-02T06:42:25.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-02T06:42:25.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-02T06:42:25.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo [2020-11-02T06:42:25.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-02T06:42:25.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-02T06:42:26.043Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-02T06:42:26.169Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-02T06:42:26.291Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-02T06:42:26.418Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-02T06:42:26.590Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-02T06:42:26.725Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-02T06:42:26.851Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-02T06:42:26.974Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-02T06:42:27.099Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-02T06:42:27.236Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-02T06:42:27.379Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-02T06:42:27.515Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-70 [Pipeline] echo [2020-11-02T06:42:27.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-70 [Pipeline] echo [2020-11-02T06:42:27.771Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-70 [Pipeline] echo [2020-11-02T06:42:27.893Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 [Pipeline] echo [2020-11-02T06:42:28.029Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 902c394 [Pipeline] echo [2020-11-02T06:42:28.153Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-02T06:42:29.005Z] + git log --format=format:%s -1 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 [Pipeline] echo [2020-11-02T06:42:29.131Z] GIT_COMMIT: 902c3945f65da81e26ed8e96df8a7b3a5aa03b12, Commit Message: Bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-11-02T06:42:29.203Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:42:29.876Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-02T06:42:30.665Z] [2020-11-02T06:42:30.666Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:42:31.275Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-02T06:42:33.955Z] latest: Pulling from edgex-devops/git-semver [2020-11-02T06:42:33.955Z] 31603596830f: Pulling fs layer [2020-11-02T06:42:33.955Z] 2a8b12db71e7: Pulling fs layer [2020-11-02T06:42:33.955Z] 6ca5941a6612: Pulling fs layer [2020-11-02T06:42:33.955Z] ecc8261a40a4: Pulling fs layer [2020-11-02T06:42:33.955Z] ecc8261a40a4: Waiting [2020-11-02T06:42:33.955Z] 2a8b12db71e7: Verifying Checksum [2020-11-02T06:42:33.955Z] 2a8b12db71e7: Download complete [2020-11-02T06:42:34.274Z] 31603596830f: Verifying Checksum [2020-11-02T06:42:34.274Z] 31603596830f: Download complete [2020-11-02T06:42:34.274Z] ecc8261a40a4: Verifying Checksum [2020-11-02T06:42:34.274Z] ecc8261a40a4: Download complete [2020-11-02T06:42:34.924Z] 6ca5941a6612: Verifying Checksum [2020-11-02T06:42:34.924Z] 6ca5941a6612: Download complete [2020-11-02T06:42:35.245Z] 31603596830f: Pull complete [2020-11-02T06:42:35.246Z] 2a8b12db71e7: Pull complete [2020-11-02T06:42:37.314Z] 6ca5941a6612: Pull complete [2020-11-02T06:42:37.314Z] ecc8261a40a4: Pull complete [2020-11-02T06:42:37.314Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-02T06:42:37.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-02T06:42:37.314Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-02T06:42:37.583Z] prd-centos7-docker-4c-2g-10057 does not seem to be running inside a container [2020-11-02T06:42:37.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-70 -v /w/workspace/dgexfoundry_device-snmp-go_PR-70:/w/workspace/dgexfoundry_device-snmp-go_PR-70:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-02T06:42:40.473Z] $ docker top a5aad867c4c589dedc7dc24426adc5ca67d4360a1cffe48e59f92bf3e8046da5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-02T06:42:41.154Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-02T06:42:41.154Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-02T06:42:41.657Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-02T06:42:41.664Z] $ docker exec a5aad867c4c589dedc7dc24426adc5ca67d4360a1cffe48e59f92bf3e8046da5 ssh-agent [2020-11-02T06:42:42.091Z] SSH_AUTH_SOCK=/tmp/ssh-29i04LxVbtR6/agent.11 [2020-11-02T06:42:42.091Z] SSH_AGENT_PID=16 [2020-11-02T06:42:42.144Z] Running ssh-add (command line suppressed) [2020-11-02T06:42:42.386Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp/private_key_987670455028019963.key (/w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp/private_key_987670455028019963.key) [2020-11-02T06:42:42.494Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-02T06:42:42.994Z] + git tag --points-at HEAD [Pipeline] } [2020-11-02T06:42:43.036Z] $ docker exec --env ******** --env ******** a5aad867c4c589dedc7dc24426adc5ca67d4360a1cffe48e59f92bf3e8046da5 ssh-agent -k [2020-11-02T06:42:43.216Z] unset SSH_AUTH_SOCK; [2020-11-02T06:42:43.217Z] unset SSH_AGENT_PID; [2020-11-02T06:42:43.217Z] echo Agent pid 16 killed; [2020-11-02T06:42:43.297Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-02T06:42:43.553Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-02T06:42:43.553Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-02T06:42:43.955Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-02T06:42:43.963Z] $ docker exec a5aad867c4c589dedc7dc24426adc5ca67d4360a1cffe48e59f92bf3e8046da5 ssh-agent [2020-11-02T06:42:44.232Z] SSH_AUTH_SOCK=/tmp/ssh-1dLBdiF4bC0Z/agent.44 [2020-11-02T06:42:44.232Z] SSH_AGENT_PID=49 [2020-11-02T06:42:44.259Z] Running ssh-add (command line suppressed) [2020-11-02T06:42:44.476Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp/private_key_3307677340601675659.key (/w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp/private_key_3307677340601675659.key) [2020-11-02T06:42:44.549Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-02T06:42:44.961Z] + git semver init [2020-11-02T06:42:44.961Z] # -> Open(): unable to determine branch for HEAD [2020-11-02T06:42:44.961Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-70/.git [2020-11-02T06:42:44.961Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-70 [2020-11-02T06:42:44.961Z] # $SEMVER_REMOTE_NAME = origin [2020-11-02T06:42:44.961Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-02T06:42:44.961Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-02T06:42:44.961Z] # $SEMVER_BRANCH = PR-70 [2020-11-02T06:42:44.961Z] # $SEMVER_TEMP = /tmp/semver-163816898 [2020-11-02T06:42:44.961Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2020-11-02T06:42:45.555Z] # '/tmp/semver-163816898' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-70/.semver' [2020-11-02T06:42:45.555Z] # -> Force: false [2020-11-02T06:42:45.555Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-70/.semver [Pipeline] } [2020-11-02T06:42:45.582Z] $ docker exec --env ******** --env ******** a5aad867c4c589dedc7dc24426adc5ca67d4360a1cffe48e59f92bf3e8046da5 ssh-agent -k [2020-11-02T06:42:45.791Z] unset SSH_AUTH_SOCK; [2020-11-02T06:42:45.797Z] unset SSH_AGENT_PID; [2020-11-02T06:42:45.797Z] echo Agent pid 49 killed; [2020-11-02T06:42:45.891Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-02T06:42:46.598Z] + git semver [Pipeline] } [2020-11-02T06:42:46.662Z] $ docker stop --time=1 a5aad867c4c589dedc7dc24426adc5ca67d4360a1cffe48e59f92bf3e8046da5 [2020-11-02T06:42:48.316Z] $ docker rm -f a5aad867c4c589dedc7dc24426adc5ca67d4360a1cffe48e59f92bf3e8046da5 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T06:42:48.949Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-02T06:42:51.684Z] Stashed 1 file(s) [Pipeline] echo [2020-11-02T06:42:51.712Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-11-02T06:42:53.364Z] ========================================================= [2020-11-02T06:42:53.365Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-02T06:42:53.365Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:42:53.805Z] + 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 . [2020-11-02T06:42:53.805Z] Sending build context to Docker daemon 460.3kB [2020-11-02T06:42:53.805Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-11-02T06:42:53.805Z] Step 2/10 : FROM ${BASE} [2020-11-02T06:42:54.116Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-02T06:42:54.116Z] df20fa9351a1: Pulling fs layer [2020-11-02T06:42:54.116Z] ed8968b2872e: Pulling fs layer [2020-11-02T06:42:54.116Z] a92cc7c5fd73: Pulling fs layer [2020-11-02T06:42:54.116Z] e871e8e8d7a9: Pulling fs layer [2020-11-02T06:42:54.116Z] e73272ec9a57: Pulling fs layer [2020-11-02T06:42:54.116Z] 1e910a182e73: Pulling fs layer [2020-11-02T06:42:54.116Z] 4e634b169226: Pulling fs layer [2020-11-02T06:42:54.116Z] e73272ec9a57: Waiting [2020-11-02T06:42:54.116Z] 1e910a182e73: Waiting [2020-11-02T06:42:54.116Z] 4e634b169226: Waiting [2020-11-02T06:42:54.116Z] e871e8e8d7a9: Waiting [2020-11-02T06:42:54.116Z] a92cc7c5fd73: Verifying Checksum [2020-11-02T06:42:54.116Z] a92cc7c5fd73: Download complete [2020-11-02T06:42:54.116Z] ed8968b2872e: Download complete [2020-11-02T06:42:54.116Z] e73272ec9a57: Verifying Checksum [2020-11-02T06:42:54.116Z] e73272ec9a57: Download complete [2020-11-02T06:42:54.116Z] 1e910a182e73: Verifying Checksum [2020-11-02T06:42:54.116Z] 1e910a182e73: Download complete [2020-11-02T06:42:54.116Z] df20fa9351a1: Verifying Checksum [2020-11-02T06:42:54.116Z] df20fa9351a1: Download complete [2020-11-02T06:42:54.425Z] df20fa9351a1: Pull complete [2020-11-02T06:42:54.764Z] ed8968b2872e: Pull complete [2020-11-02T06:42:54.764Z] a92cc7c5fd73: Pull complete [2020-11-02T06:43:00.394Z] 4e634b169226: Verifying Checksum [2020-11-02T06:43:00.394Z] 4e634b169226: Download complete [2020-11-02T06:43:02.516Z] e871e8e8d7a9: Download complete [2020-11-02T06:43:07.897Z] Still waiting to schedule task [2020-11-02T06:43:07.897Z] ‘prd-centos7-docker-4c-2g-10065’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-8c-8g-10049’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-8c-8g-10051’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10024’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10062’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-9796’ is offline [2020-11-02T06:43:12.836Z] e871e8e8d7a9: Pull complete [2020-11-02T06:43:12.836Z] e73272ec9a57: Pull complete [2020-11-02T06:43:12.836Z] 1e910a182e73: Pull complete [2020-11-02T06:43:21.249Z] 4e634b169226: Pull complete [2020-11-02T06:43:21.249Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-02T06:43:21.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-02T06:43:21.249Z] ---> f7629b54cfaa [2020-11-02T06:43:21.249Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-11-02T06:43:21.249Z] ---> Running in 581f537cdfe4 [2020-11-02T06:43:21.249Z] Removing intermediate container 581f537cdfe4 [2020-11-02T06:43:21.249Z] ---> 7b036bad6f96 [2020-11-02T06:43:21.249Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-11-02T06:43:21.249Z] ---> Running in 042fe9581270 [2020-11-02T06:43:21.249Z] Removing intermediate container 042fe9581270 [2020-11-02T06:43:21.249Z] ---> 5c8b2a675ec7 [2020-11-02T06:43:21.249Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2020-11-02T06:43:21.537Z] ---> Running in 5689e3cc657d [2020-11-02T06:43:21.537Z] Removing intermediate container 5689e3cc657d [2020-11-02T06:43:21.537Z] ---> 5f485e8e2ee0 [2020-11-02T06:43:21.537Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:43:21.821Z] ---> Running in 677e5aff9447 [2020-11-02T06:43:24.525Z] Removing intermediate container 677e5aff9447 [2020-11-02T06:43:24.525Z] ---> fee7a48bbbf8 [2020-11-02T06:43:24.525Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-02T06:43:24.525Z] ---> Running in b494118b7547 [2020-11-02T06:43:25.124Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-02T06:43:26.101Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-02T06:43:27.109Z] OK: 166 MiB in 39 packages [2020-11-02T06:43:27.726Z] Removing intermediate container b494118b7547 [2020-11-02T06:43:27.726Z] ---> ac8e5cf343e5 [2020-11-02T06:43:27.726Z] Step 8/10 : WORKDIR /device-snmp-go [2020-11-02T06:43:27.726Z] ---> Running in 1f65bd7b2923 [2020-11-02T06:43:27.999Z] Removing intermediate container 1f65bd7b2923 [2020-11-02T06:43:27.999Z] ---> 1d2f482ed74e [2020-11-02T06:43:27.999Z] Step 9/10 : COPY . . [2020-11-02T06:43:28.598Z] ---> b852d7221957 [2020-11-02T06:43:28.598Z] Step 10/10 : RUN go mod download [2020-11-02T06:43:28.871Z] ---> Running in ca38cec6ff4a [2020-11-02T06:43:55.899Z] Removing intermediate container ca38cec6ff4a [2020-11-02T06:43:55.899Z] ---> e2e3ded90b28 [2020-11-02T06:43:55.899Z] Successfully built e2e3ded90b28 [2020-11-02T06:43:55.899Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:43:56.375Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-02T06:43:56.679Z] . [Pipeline] withDockerContainer [2020-11-02T06:43:57.462Z] prd-centos7-docker-4c-2g-10057 does not seem to be running inside a container [2020-11-02T06:43:57.696Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-snmp-go_PR-70 -v /w/workspace/dgexfoundry_device-snmp-go_PR-70:/w/workspace/dgexfoundry_device-snmp-go_PR-70:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-02T06:43:59.535Z] $ docker top 3038d877baa9da1dad9da85c57f0e3f8c3a8e77a50c8c1f80174e2a580884fb1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:44:00.738Z] + go version [2020-11-02T06:44:00.738Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-02T06:44:00.798Z] $ docker stop --time=1 3038d877baa9da1dad9da85c57f0e3f8c3a8e77a50c8c1f80174e2a580884fb1 [2020-11-02T06:44:03.224Z] $ docker rm -f 3038d877baa9da1dad9da85c57f0e3f8c3a8e77a50c8c1f80174e2a580884fb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:44:05.118Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-02T06:44:05.407Z] . [Pipeline] withDockerContainer [2020-11-02T06:44:05.818Z] prd-centos7-docker-4c-2g-10057 does not seem to be running inside a container [2020-11-02T06:44:05.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-snmp-go_PR-70 -v /w/workspace/dgexfoundry_device-snmp-go_PR-70:/w/workspace/dgexfoundry_device-snmp-go_PR-70:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-02T06:44:07.153Z] $ docker top 7b99bed201ff004b607f0a0aae16cffb8c60e3b5e8414a10193581c36c444786 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:44:08.211Z] + make test [2020-11-02T06:44:08.211Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-02T06:44:09.269Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2020-11-02T06:44:33.084Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2020-11-02T06:44:33.084Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.018s coverage: 0.0% of statements [2020-11-02T06:44:33.084Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-02T06:44:35.766Z] gofmt -l . [2020-11-02T06:44:35.766Z] [ "`gofmt -l .`" = "" ] [2020-11-02T06:44:35.766Z] ./bin/test-attribution-txt.sh [2020-11-02T06:44:36.784Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-02T06:44:37.479Z] $ docker stop --time=1 7b99bed201ff004b607f0a0aae16cffb8c60e3b5e8414a10193581c36c444786 [2020-11-02T06:44:39.911Z] $ docker rm -f 7b99bed201ff004b607f0a0aae16cffb8c60e3b5e8414a10193581c36c444786 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T06:44:40.863Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-02T06:44:40.987Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-11-02T06:44:42.448Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-02T06:44:42.821Z] + ls -al . [2020-11-02T06:44:42.821Z] total 104 [2020-11-02T06:44:42.821Z] drwxrwxr-x. 9 jenkins jenkins 4096 Nov 2 06:44 . [2020-11-02T06:44:42.821Z] drwxrwxr-x. 4 jenkins jenkins 112 Nov 2 06:42 .. [2020-11-02T06:44:42.821Z] -rw-rw-r--. 1 jenkins jenkins 5082 Nov 2 06:42 Attribution.txt [2020-11-02T06:44:42.821Z] drwxrwxr-x. 2 jenkins jenkins 87 Nov 2 06:42 bin [2020-11-02T06:44:42.821Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 2 06:42 cmd [2020-11-02T06:44:42.821Z] -rw-r--r--. 1 jenkins jenkins 8493 Nov 2 06:44 coverage.out [2020-11-02T06:44:42.821Z] -rw-rw-r--. 1 jenkins jenkins 1002 Nov 2 06:42 Dockerfile [2020-11-02T06:44:42.821Z] -rw-rw-r--. 1 jenkins jenkins 409 Nov 2 06:42 Dockerfile.build [2020-11-02T06:44:42.821Z] -rw-rw-r--. 1 jenkins jenkins 6 Nov 2 06:42 .dockerignore [2020-11-02T06:44:42.821Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 2 06:42 .git [2020-11-02T06:44:42.821Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 2 06:42 .github [2020-11-02T06:44:42.821Z] -rw-rw-r--. 1 jenkins jenkins 272 Nov 2 06:42 .gitignore [2020-11-02T06:44:42.821Z] -rw-r--r--. 1 jenkins jenkins 211 Nov 2 06:44 go.mod [2020-11-02T06:44:42.821Z] -rw-r--r--. 1 jenkins jenkins 14387 Nov 2 06:44 go.sum [2020-11-02T06:44:42.821Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 2 06:42 internal [2020-11-02T06:44:42.821Z] -rw-rw-r--. 1 jenkins jenkins 656 Nov 2 06:42 Jenkinsfile [2020-11-02T06:44:42.821Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 2 06:42 LICENSE [2020-11-02T06:44:42.821Z] -rw-rw-r--. 1 jenkins jenkins 937 Nov 2 06:42 Makefile [2020-11-02T06:44:42.821Z] drwxrwxr-x. 2 jenkins jenkins 84 Nov 2 06:42 profiles [2020-11-02T06:44:42.821Z] -rw-rw-r--. 1 jenkins jenkins 12398 Nov 2 06:42 README.md [2020-11-02T06:44:42.821Z] drwx------. 3 jenkins jenkins 74 Nov 2 06:42 .semver [2020-11-02T06:44:42.821Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 2 06:42 VERSION [2020-11-02T06:44:42.821Z] -rw-rw-r--. 1 jenkins jenkins 209 Nov 2 06:42 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:44:43.193Z] + docker build -t docker-device-snmp-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=902c3945f65da81e26ed8e96df8a7b3a5aa03b12 --label arch=amd64 --label version=0.0.0 . [2020-11-02T06:44:43.465Z] Sending build context to Docker daemon 469.5kB [2020-11-02T06:44:43.465Z] Step 1/26 : ARG BASE=golang:1.15-alpine [2020-11-02T06:44:43.465Z] Step 2/26 : FROM ${BASE} AS builder [2020-11-02T06:44:43.465Z] ---> e2e3ded90b28 [2020-11-02T06:44:43.465Z] Step 3/26 : ARG MAKE='make build' [2020-11-02T06:44:43.749Z] ---> Running in 5b4ae4858f97 [2020-11-02T06:44:44.044Z] Removing intermediate container 5b4ae4858f97 [2020-11-02T06:44:44.044Z] ---> 92a03edb9bad [2020-11-02T06:44:44.044Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2020-11-02T06:44:44.044Z] ---> Running in bde7343f52d2 [2020-11-02T06:44:44.344Z] Removing intermediate container bde7343f52d2 [2020-11-02T06:44:44.344Z] ---> fa38be01bc36 [2020-11-02T06:44:44.344Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2020-11-02T06:44:44.652Z] ---> Running in f7666b42216d [2020-11-02T06:44:45.059Z] Removing intermediate container f7666b42216d [2020-11-02T06:44:45.059Z] ---> eb82dac69579 [2020-11-02T06:44:45.059Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:44:45.059Z] ---> Running in c250d4da98c0 [2020-11-02T06:44:46.489Z] Removing intermediate container c250d4da98c0 [2020-11-02T06:44:46.489Z] ---> 7c44d0da7a3c [2020-11-02T06:44:46.489Z] Step 7/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-02T06:44:46.489Z] ---> Running in f842c2600a78 [2020-11-02T06:44:47.484Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-02T06:44:48.462Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-02T06:44:49.947Z] OK: 166 MiB in 39 packages [2020-11-02T06:44:50.979Z] Removing intermediate container f842c2600a78 [2020-11-02T06:44:50.979Z] ---> a96004010052 [2020-11-02T06:44:50.979Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2020-11-02T06:44:51.256Z] ---> Running in b18223f48d33 [2020-11-02T06:44:51.539Z] Removing intermediate container b18223f48d33 [2020-11-02T06:44:51.539Z] ---> 36785b39a3bd [2020-11-02T06:44:51.539Z] Step 9/26 : COPY go.mod . [2020-11-02T06:44:52.156Z] ---> 47be917a200f [2020-11-02T06:44:52.156Z] Step 10/26 : COPY Makefile . [2020-11-02T06:44:52.523Z] ---> c4fba7999019 [2020-11-02T06:44:52.523Z] Step 11/26 : RUN make update [2020-11-02T06:44:52.524Z] ---> Running in ed03f9c541e5 [2020-11-02T06:44:53.690Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-11-02T06:44:54.385Z] Removing intermediate container ed03f9c541e5 [2020-11-02T06:44:54.385Z] ---> a1eece7e5fcb [2020-11-02T06:44:54.385Z] Step 12/26 : COPY . . [2020-11-02T06:44:55.118Z] ---> 67a8f4dd7539 [2020-11-02T06:44:55.118Z] Step 13/26 : RUN ${MAKE} [2020-11-02T06:44:55.118Z] ---> Running in e3110b775002 [2020-11-02T06:44:55.742Z] 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 [2020-11-02T06:45:14.609Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-02T06:45:18.058Z] Removing intermediate container e3110b775002 [2020-11-02T06:45:18.058Z] ---> 7ff3a87160c8 [2020-11-02T06:45:18.058Z] Step 14/26 : FROM alpine [2020-11-02T06:45:18.369Z] latest: Pulling from library/alpine [2020-11-02T06:45:18.369Z] 188c0c94c7c5: Pulling fs layer [2020-11-02T06:45:18.656Z] 188c0c94c7c5: Verifying Checksum [2020-11-02T06:45:18.656Z] 188c0c94c7c5: Download complete [2020-11-02T06:45:19.263Z] 188c0c94c7c5: Pull complete [2020-11-02T06:45:19.263Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-02T06:45:19.263Z] Status: Downloaded newer image for alpine:latest [2020-11-02T06:45:19.263Z] ---> d6e46aa2470d [2020-11-02T06:45:19.263Z] Step 15/26 : ENV APP_PORT=49993 [2020-11-02T06:45:19.263Z] ---> Running in 1c83c17cf609 [2020-11-02T06:45:19.540Z] Removing intermediate container 1c83c17cf609 [2020-11-02T06:45:19.540Z] ---> 1dbe5bb38446 [2020-11-02T06:45:19.540Z] Step 16/26 : EXPOSE $APP_PORT [2020-11-02T06:45:19.540Z] ---> Running in bbc45d1d3c39 [2020-11-02T06:45:19.814Z] Removing intermediate container bbc45d1d3c39 [2020-11-02T06:45:19.814Z] ---> 6adae0ec6ba7 [2020-11-02T06:45:19.814Z] Step 17/26 : ENV DEVICE_PORT=161 [2020-11-02T06:45:19.814Z] ---> Running in 8d5b85955d5e [2020-11-02T06:45:20.087Z] Removing intermediate container 8d5b85955d5e [2020-11-02T06:45:20.087Z] ---> d95156f941a2 [2020-11-02T06:45:20.087Z] Step 18/26 : EXPOSE $DEVICE_PORT [2020-11-02T06:45:20.087Z] ---> Running in efc8747278c3 [2020-11-02T06:45:20.358Z] Removing intermediate container efc8747278c3 [2020-11-02T06:45:20.358Z] ---> 70d85293fe31 [2020-11-02T06:45:20.358Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2020-11-02T06:45:20.975Z] ---> 776b587c4676 [2020-11-02T06:45:20.975Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2020-11-02T06:45:21.565Z] ---> b61e70b4f0be [2020-11-02T06:45:21.565Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2020-11-02T06:45:21.836Z] ---> 8e67ffa97c84 [2020-11-02T06:45:21.836Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2020-11-02T06:45:21.836Z] ---> Running in a77b4d6ea252 [2020-11-02T06:45:22.172Z] Removing intermediate container a77b4d6ea252 [2020-11-02T06:45:22.172Z] ---> 743fee6fa4e9 [2020-11-02T06:45:22.172Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-11-02T06:45:22.172Z] ---> Running in b628c566ca5c [2020-11-02T06:45:22.527Z] Removing intermediate container b628c566ca5c [2020-11-02T06:45:22.527Z] ---> 62a542b1cb7e [2020-11-02T06:45:22.527Z] Step 24/26 : LABEL arch=amd64 [2020-11-02T06:45:22.527Z] ---> Running in bde95db9d492 [2020-11-02T06:45:22.527Z] Removing intermediate container bde95db9d492 [2020-11-02T06:45:22.527Z] ---> b3d31763f190 [2020-11-02T06:45:22.527Z] Step 25/26 : LABEL git_sha=902c3945f65da81e26ed8e96df8a7b3a5aa03b12 [2020-11-02T06:45:22.853Z] ---> Running in e01c026cfc70 [2020-11-02T06:45:22.853Z] Removing intermediate container e01c026cfc70 [2020-11-02T06:45:22.853Z] ---> 3f2814aabb91 [2020-11-02T06:45:22.853Z] Step 26/26 : LABEL version=0.0.0 [2020-11-02T06:45:22.853Z] ---> Running in f664a514bfdc [2020-11-02T06:45:23.124Z] Removing intermediate container f664a514bfdc [2020-11-02T06:45:23.124Z] ---> 94bb57796f57 [2020-11-02T06:45:23.124Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-02T06:45:23.124Z] Successfully built 94bb57796f57 [2020-11-02T06:45:23.124Z] Successfully tagged docker-device-snmp-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-11-02T06:46:17.968Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-10077 in /w/workspace/dgexfoundry_device-snmp-go_PR-70 [Pipeline] { [Pipeline] ws [2020-11-02T06:46:18.077Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2020-11-02T06:46:25.721Z] using credential edgex-jenkins-ssh [2020-11-02T06:46:25.795Z] Cloning the remote Git repository [2020-11-02T06:46:25.897Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2020-11-02T06:46:26.029Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2020-11-02T06:46:26.130Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-11-02T06:46:26.131Z] > git --version # timeout=10 [2020-11-02T06:46:26.151Z] > git --version # 'git version 2.17.1' [2020-11-02T06:46:26.153Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:46:26.231Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-02T06:46:26.907Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-11-02T06:46:26.937Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-02T06:46:26.962Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-11-02T06:46:27.003Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-11-02T06:46:27.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:46:27.018Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/70/head:refs/remotes/origin/PR-70 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-02T06:46:27.486Z] Merging remotes/origin/master commit 03464ffadf6f8b9068bcdea2569ab2e117b905af into PR head commit 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 [2020-11-02T06:46:27.857Z] Merge succeeded, producing 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 [2020-11-02T06:46:27.858Z] Checking out Revision 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 (PR-70) [2020-11-02T06:46:27.516Z] > git config core.sparsecheckout # timeout=10 [2020-11-02T06:46:27.535Z] > git checkout -f 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 # timeout=10 [2020-11-02T06:46:27.679Z] > git remote # timeout=10 [2020-11-02T06:46:27.705Z] > git config --get remote.origin.url # timeout=10 [2020-11-02T06:46:27.757Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-02T06:46:27.767Z] > git merge 03464ffadf6f8b9068bcdea2569ab2e117b905af # timeout=10 [2020-11-02T06:46:27.811Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-02T06:46:27.876Z] > git config core.sparsecheckout # timeout=10 [2020-11-02T06:46:27.907Z] > git checkout -f 902c3945f65da81e26ed8e96df8a7b3a5aa03b12 # timeout=10 [2020-11-02T06:46:32.530Z] Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" [2020-11-02T06:46:32.611Z] > git --version # timeout=10 [2020-11-02T06:46:32.622Z] > git --version # 'git version 2.17.1' [2020-11-02T06:46:32.641Z] fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-11-02T06:46:33.970Z] ========================================================= [2020-11-02T06:46:33.970Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-02T06:46:33.970Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:46:35.136Z] + 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 . [2020-11-02T06:46:36.160Z] Sending build context to Docker daemon 313.9kB [2020-11-02T06:46:36.160Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-11-02T06:46:36.160Z] Step 2/10 : FROM ${BASE} [2020-11-02T06:46:36.446Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-02T06:46:36.446Z] b538f80385f9: Pulling fs layer [2020-11-02T06:46:36.446Z] 74f711af9a0d: Pulling fs layer [2020-11-02T06:46:36.446Z] 99f96fe45779: Pulling fs layer [2020-11-02T06:46:36.446Z] 8529a6b9a6be: Pulling fs layer [2020-11-02T06:46:36.446Z] 45590311c82a: Pulling fs layer [2020-11-02T06:46:36.446Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-02T06:46:36.446Z] 209524e5b208: Pulling fs layer [2020-11-02T06:46:36.446Z] 8529a6b9a6be: Waiting [2020-11-02T06:46:36.446Z] 45590311c82a: Waiting [2020-11-02T06:46:36.446Z] 69ca0ff8b7b3: Waiting [2020-11-02T06:46:36.446Z] 209524e5b208: Waiting [2020-11-02T06:46:36.446Z] 99f96fe45779: Verifying Checksum [2020-11-02T06:46:36.446Z] 99f96fe45779: Download complete [2020-11-02T06:46:36.446Z] 74f711af9a0d: Download complete [2020-11-02T06:46:36.446Z] 45590311c82a: Verifying Checksum [2020-11-02T06:46:36.446Z] 45590311c82a: Download complete [2020-11-02T06:46:36.446Z] 69ca0ff8b7b3: Download complete [2020-11-02T06:46:36.446Z] b538f80385f9: Verifying Checksum [2020-11-02T06:46:36.446Z] b538f80385f9: Download complete [2020-11-02T06:46:37.462Z] b538f80385f9: Pull complete [2020-11-02T06:46:38.074Z] 74f711af9a0d: Pull complete [2020-11-02T06:46:38.358Z] 99f96fe45779: Pull complete [2020-11-02T06:46:39.832Z] 209524e5b208: Verifying Checksum [2020-11-02T06:46:39.832Z] 209524e5b208: Download complete [2020-11-02T06:46:44.162Z] 8529a6b9a6be: Verifying Checksum [2020-11-02T06:46:44.162Z] 8529a6b9a6be: Download complete [2020-11-02T06:46:54.359Z] 8529a6b9a6be: Pull complete [2020-11-02T06:46:54.359Z] 45590311c82a: Pull complete [2020-11-02T06:46:54.359Z] 69ca0ff8b7b3: Pull complete [2020-11-02T06:46:57.784Z] 209524e5b208: Pull complete [2020-11-02T06:46:57.784Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-02T06:46:57.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-02T06:46:57.784Z] ---> 5bddaf1c2fca [2020-11-02T06:46:57.784Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-11-02T06:47:01.178Z] ---> Running in f024c4f76f30 [2020-11-02T06:47:01.178Z] Removing intermediate container f024c4f76f30 [2020-11-02T06:47:01.178Z] ---> 9c431366754a [2020-11-02T06:47:01.178Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-11-02T06:47:01.456Z] ---> Running in 09d08d1545df [2020-11-02T06:47:02.069Z] Removing intermediate container 09d08d1545df [2020-11-02T06:47:02.069Z] ---> 94a8ed574016 [2020-11-02T06:47:02.069Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2020-11-02T06:47:02.069Z] ---> Running in 0b19a99f2670 [2020-11-02T06:47:02.675Z] Removing intermediate container 0b19a99f2670 [2020-11-02T06:47:02.675Z] ---> 8005353af441 [2020-11-02T06:47:02.675Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:47:02.675Z] ---> Running in e3b022d0fbb3 [2020-11-02T06:47:06.096Z] Removing intermediate container e3b022d0fbb3 [2020-11-02T06:47:06.096Z] ---> 1a5279e23183 [2020-11-02T06:47:06.096Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-02T06:47:06.096Z] ---> Running in 3090a0b2ad4a [2020-11-02T06:47:07.537Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-02T06:47:08.520Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-02T06:47:09.506Z] OK: 142 MiB in 39 packages [2020-11-02T06:47:10.960Z] Removing intermediate container 3090a0b2ad4a [2020-11-02T06:47:10.960Z] ---> 7e70c16ff8fe [2020-11-02T06:47:10.960Z] Step 8/10 : WORKDIR /device-snmp-go [2020-11-02T06:47:10.960Z] ---> Running in 706d85000de8 [2020-11-02T06:47:11.562Z] Removing intermediate container 706d85000de8 [2020-11-02T06:47:11.562Z] ---> 8d708b8da4f6 [2020-11-02T06:47:11.562Z] Step 9/10 : COPY . . [2020-11-02T06:47:12.549Z] ---> cc0646ff1cc6 [2020-11-02T06:47:12.549Z] Step 10/10 : RUN go mod download [2020-11-02T06:47:12.831Z] ---> Running in b31f1759f86c [2020-11-02T06:47:39.660Z] Removing intermediate container b31f1759f86c [2020-11-02T06:47:39.660Z] ---> f91e3d1f458a [2020-11-02T06:47:39.660Z] Successfully built f91e3d1f458a [2020-11-02T06:47:39.660Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:47:40.109Z] + docker inspect -f . ci-base-image-arm64 [2020-11-02T06:47:40.109Z] . [Pipeline] withDockerContainer [2020-11-02T06:47:40.387Z] prd-ubuntu18.04-docker-arm64-4c-16g-10077 does not seem to be running inside a container [2020-11-02T06:47:40.499Z] $ 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 [2020-11-02T06:47:42.663Z] $ docker top 87fd4da07bac9f5d477753147c4d8fa929361fc7c3c3622b133244e347d9ad75 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:47:44.171Z] + go version [2020-11-02T06:47:44.171Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-02T06:47:44.214Z] $ docker stop --time=1 87fd4da07bac9f5d477753147c4d8fa929361fc7c3c3622b133244e347d9ad75 [2020-11-02T06:47:46.257Z] $ docker rm -f 87fd4da07bac9f5d477753147c4d8fa929361fc7c3c3622b133244e347d9ad75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:47:47.639Z] + docker inspect -f . ci-base-image-arm64 [2020-11-02T06:47:47.639Z] . [Pipeline] withDockerContainer [2020-11-02T06:47:47.922Z] prd-ubuntu18.04-docker-arm64-4c-16g-10077 does not seem to be running inside a container [2020-11-02T06:47:48.007Z] $ 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 [2020-11-02T06:47:50.017Z] $ docker top 2335c3c95f4a891a5a3ff41f5a931eaccfc36594ec714cdf615f83521ee0eb9c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:47:51.477Z] + make test [2020-11-02T06:47:51.477Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-02T06:47:52.477Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2020-11-02T06:48:31.551Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2020-11-02T06:48:31.551Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.040s coverage: 0.0% of statements [2020-11-02T06:48:31.551Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-02T06:48:39.880Z] gofmt -l . [2020-11-02T06:48:39.880Z] [ "`gofmt -l .`" = "" ] [2020-11-02T06:48:39.880Z] ./bin/test-attribution-txt.sh [2020-11-02T06:48:40.938Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-02T06:48:41.254Z] $ docker stop --time=1 2335c3c95f4a891a5a3ff41f5a931eaccfc36594ec714cdf615f83521ee0eb9c [2020-11-02T06:48:43.691Z] $ docker rm -f 2335c3c95f4a891a5a3ff41f5a931eaccfc36594ec714cdf615f83521ee0eb9c [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-02T06:48:44.710Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-02T06:48:44.758Z] Warning: overwriting stash ‘coverage-report’ [2020-11-02T06:48:45.594Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-02T06:48:46.505Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-02T06:48:46.871Z] + ls -al . [2020-11-02T06:48:46.872Z] total 132 [2020-11-02T06:48:46.872Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 06:48 . [2020-11-02T06:48:46.872Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:46 .. [2020-11-02T06:48:46.872Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 2 06:46 .dockerignore [2020-11-02T06:48:46.872Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 06:46 .git [2020-11-02T06:48:46.872Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:46 .github [2020-11-02T06:48:46.872Z] -rw-rw-r-- 1 jenkins jenkins 272 Nov 2 06:46 .gitignore [2020-11-02T06:48:46.872Z] -rw-rw-r-- 1 jenkins jenkins 5082 Nov 2 06:46 Attribution.txt [2020-11-02T06:48:46.872Z] -rw-rw-r-- 1 jenkins jenkins 1002 Nov 2 06:46 Dockerfile [2020-11-02T06:48:46.872Z] -rw-rw-r-- 1 jenkins jenkins 409 Nov 2 06:46 Dockerfile.build [2020-11-02T06:48:46.872Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 2 06:46 Jenkinsfile [2020-11-02T06:48:46.872Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 06:46 LICENSE [2020-11-02T06:48:46.872Z] -rw-rw-r-- 1 jenkins jenkins 937 Nov 2 06:46 Makefile [2020-11-02T06:48:46.872Z] -rw-rw-r-- 1 jenkins jenkins 12398 Nov 2 06:46 README.md [2020-11-02T06:48:46.872Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 06:42 VERSION [2020-11-02T06:48:46.872Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:46 bin [2020-11-02T06:48:46.872Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:46 cmd [2020-11-02T06:48:46.872Z] -rw-r--r-- 1 jenkins jenkins 8493 Nov 2 06:48 coverage.out [2020-11-02T06:48:46.872Z] -rw-r--r-- 1 jenkins jenkins 211 Nov 2 06:48 go.mod [2020-11-02T06:48:46.872Z] -rw-r--r-- 1 jenkins jenkins 14387 Nov 2 06:48 go.sum [2020-11-02T06:48:46.872Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:46 internal [2020-11-02T06:48:46.872Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:46 profiles [2020-11-02T06:48:46.872Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 2 06:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:48:47.264Z] + docker build -t docker-device-snmp-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=902c3945f65da81e26ed8e96df8a7b3a5aa03b12 --label arch=arm64 --label version=0.0.0 . [2020-11-02T06:48:47.547Z] Sending build context to Docker daemon 323.1kB [2020-11-02T06:48:47.823Z] Step 1/26 : ARG BASE=golang:1.15-alpine [2020-11-02T06:48:47.823Z] Step 2/26 : FROM ${BASE} AS builder [2020-11-02T06:48:47.823Z] ---> f91e3d1f458a [2020-11-02T06:48:47.823Z] Step 3/26 : ARG MAKE='make build' [2020-11-02T06:48:48.104Z] ---> Running in 345daa360473 [2020-11-02T06:48:48.378Z] Removing intermediate container 345daa360473 [2020-11-02T06:48:48.378Z] ---> 1ef1335dbde4 [2020-11-02T06:48:48.378Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2020-11-02T06:48:48.667Z] ---> Running in bc02695bcd19 [2020-11-02T06:48:49.275Z] Removing intermediate container bc02695bcd19 [2020-11-02T06:48:49.275Z] ---> 626c963fa623 [2020-11-02T06:48:49.275Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2020-11-02T06:48:49.275Z] ---> Running in 0c4a90c9db86 [2020-11-02T06:48:49.873Z] Removing intermediate container 0c4a90c9db86 [2020-11-02T06:48:49.873Z] ---> 35966e00fe68 [2020-11-02T06:48:49.873Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-02T06:48:50.152Z] ---> Running in 7e276a03b745 [2020-11-02T06:48:52.850Z] Removing intermediate container 7e276a03b745 [2020-11-02T06:48:52.850Z] ---> 006a94f8a8fa [2020-11-02T06:48:52.850Z] Step 7/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-11-02T06:48:53.131Z] ---> Running in dcc9396cedca [2020-11-02T06:48:55.110Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-02T06:48:56.087Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-02T06:48:58.067Z] OK: 142 MiB in 39 packages [2020-11-02T06:48:59.051Z] Removing intermediate container dcc9396cedca [2020-11-02T06:48:59.051Z] ---> c20560422474 [2020-11-02T06:48:59.051Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2020-11-02T06:48:59.325Z] ---> Running in b3ad77341368 [2020-11-02T06:48:59.923Z] Removing intermediate container b3ad77341368 [2020-11-02T06:48:59.923Z] ---> c1c3555cf26a [2020-11-02T06:48:59.923Z] Step 9/26 : COPY go.mod . [2020-11-02T06:49:00.520Z] ---> f2c827694c38 [2020-11-02T06:49:00.520Z] Step 10/26 : COPY Makefile . [2020-11-02T06:49:01.503Z] ---> 547c26073b7c [2020-11-02T06:49:01.503Z] Step 11/26 : RUN make update [2020-11-02T06:49:01.503Z] ---> Running in aa5c95af24c0 [2020-11-02T06:49:02.960Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-11-02T06:49:04.940Z] Removing intermediate container aa5c95af24c0 [2020-11-02T06:49:04.940Z] ---> bae1dc4b6cdc [2020-11-02T06:49:04.940Z] Step 12/26 : COPY . . [2020-11-02T06:49:05.536Z] ---> 3a67e33f1922 [2020-11-02T06:49:05.536Z] Step 13/26 : RUN ${MAKE} [2020-11-02T06:49:05.815Z] ---> Running in 88ae27fa4f05 [2020-11-02T06:49:07.249Z] 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 [2020-11-02T06:49:39.634Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-02T06:49:41.609Z] Removing intermediate container 88ae27fa4f05 [2020-11-02T06:49:41.609Z] ---> 5430aff5bcb4 [2020-11-02T06:49:41.609Z] Step 14/26 : FROM alpine [2020-11-02T06:49:42.206Z] latest: Pulling from library/alpine [2020-11-02T06:49:42.206Z] 5f621e34cdf4: Pulling fs layer [2020-11-02T06:49:42.480Z] 5f621e34cdf4: Verifying Checksum [2020-11-02T06:49:42.480Z] 5f621e34cdf4: Download complete [2020-11-02T06:49:43.074Z] 5f621e34cdf4: Pull complete [2020-11-02T06:49:43.074Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-11-02T06:49:43.074Z] Status: Downloaded newer image for alpine:latest [2020-11-02T06:49:43.074Z] ---> 2e77e061c27f [2020-11-02T06:49:43.074Z] Step 15/26 : ENV APP_PORT=49993 [2020-11-02T06:49:43.074Z] ---> Running in 3c5463fd8aef [2020-11-02T06:49:43.674Z] Removing intermediate container 3c5463fd8aef [2020-11-02T06:49:43.674Z] ---> d6ecb0ba18f1 [2020-11-02T06:49:43.674Z] Step 16/26 : EXPOSE $APP_PORT [2020-11-02T06:49:43.674Z] ---> Running in da8626bbbceb [2020-11-02T06:49:44.270Z] Removing intermediate container da8626bbbceb [2020-11-02T06:49:44.270Z] ---> 22a17504d86f [2020-11-02T06:49:44.270Z] Step 17/26 : ENV DEVICE_PORT=161 [2020-11-02T06:49:44.270Z] ---> Running in d29ac55a8a46 [2020-11-02T06:49:44.867Z] Removing intermediate container d29ac55a8a46 [2020-11-02T06:49:44.867Z] ---> 716808f203da [2020-11-02T06:49:44.867Z] Step 18/26 : EXPOSE $DEVICE_PORT [2020-11-02T06:49:44.867Z] ---> Running in 6d682442512c [2020-11-02T06:49:45.463Z] Removing intermediate container 6d682442512c [2020-11-02T06:49:45.464Z] ---> e4ee89b34578 [2020-11-02T06:49:45.464Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2020-11-02T06:49:46.899Z] ---> 8302b6c75fa6 [2020-11-02T06:49:46.899Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2020-11-02T06:49:47.495Z] ---> 6fb1e0f49344 [2020-11-02T06:49:47.495Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2020-11-02T06:49:48.474Z] ---> 047ee756b094 [2020-11-02T06:49:48.474Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2020-11-02T06:49:48.474Z] ---> Running in 851bec9c180c [2020-11-02T06:49:48.756Z] Removing intermediate container 851bec9c180c [2020-11-02T06:49:48.756Z] ---> 9b6f76d7b0e1 [2020-11-02T06:49:48.756Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-11-02T06:49:49.030Z] ---> Running in ef19586afaf4 [2020-11-02T06:49:49.627Z] Removing intermediate container ef19586afaf4 [2020-11-02T06:49:49.627Z] ---> c805588fd530 [2020-11-02T06:49:49.627Z] Step 24/26 : LABEL arch=arm64 [2020-11-02T06:49:49.627Z] ---> Running in 7cfb9ffc971a [2020-11-02T06:49:50.223Z] Removing intermediate container 7cfb9ffc971a [2020-11-02T06:49:50.223Z] ---> 92b0b853e098 [2020-11-02T06:49:50.223Z] Step 25/26 : LABEL git_sha=902c3945f65da81e26ed8e96df8a7b3a5aa03b12 [2020-11-02T06:49:50.223Z] ---> Running in 9d579e1543c9 [2020-11-02T06:49:50.818Z] Removing intermediate container 9d579e1543c9 [2020-11-02T06:49:50.818Z] ---> 29735f5bae9e [2020-11-02T06:49:50.818Z] Step 26/26 : LABEL version=0.0.0 [2020-11-02T06:49:50.818Z] ---> Running in c0f2abc4975c [2020-11-02T06:49:51.429Z] Removing intermediate container c0f2abc4975c [2020-11-02T06:49:51.429Z] ---> 17994c0b2deb [2020-11-02T06:49:51.429Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-02T06:49:51.429Z] Successfully built 17994c0b2deb [2020-11-02T06:49:51.429Z] 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 [2020-11-02T06:49:54.233Z] provisioning config files... [2020-11-02T06:49:54.259Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp/config3321152092906125027tmp [Pipeline] { [Pipeline] sh [2020-11-02T06:49:54.766Z] + set +x [2020-11-02T06:49:54.766Z] + curl -s https://codecov.io/bash [2020-11-02T06:49:54.766Z] + bash -s -- [2020-11-02T06:49:55.049Z] [2020-11-02T06:49:55.049Z] _____ _ [2020-11-02T06:49:55.049Z] / ____| | | [2020-11-02T06:49:55.049Z] | | ___ __| | ___ ___ _____ __ [2020-11-02T06:49:55.049Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-02T06:49:55.049Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-02T06:49:55.049Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-02T06:49:55.049Z] Bash-20201009-048fee3 [2020-11-02T06:49:55.049Z] [2020-11-02T06:49:55.049Z] [2020-11-02T06:49:55.049Z] ==> Jenkins CI detected. [2020-11-02T06:49:55.049Z] project root: . [2020-11-02T06:49:55.049Z] --> token set from env [2020-11-02T06:49:55.049Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-02T06:49:55.049Z] ==> Running gcov in . (disable via -X gcov) [2020-11-02T06:49:55.049Z] ==> Python coveragepy not found [2020-11-02T06:49:55.049Z] ==> Searching for coverage reports in: [2020-11-02T06:49:55.049Z] + . [2020-11-02T06:49:55.049Z] -> Found 1 reports [2020-11-02T06:49:55.049Z] ==> Detecting git/mercurial file structure [2020-11-02T06:49:55.049Z] ==> Reading reports [2020-11-02T06:49:55.318Z] + ./coverage.out bytes=8493 [2020-11-02T06:49:55.318Z] ==> Appending adjustments [2020-11-02T06:49:55.318Z] https://docs.codecov.io/docs/fixing-reports [2020-11-02T06:49:55.318Z] + Found adjustments [2020-11-02T06:49:55.318Z] ==> Gzipping contents [2020-11-02T06:49:55.318Z] ==> Uploading reports [2020-11-02T06:49:55.318Z] url: https://codecov.io [2020-11-02T06:49:55.318Z] query: branch=PR-70&commit=902c3945f65da81e26ed8e96df8a7b3a5aa03b12&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-70%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=70&job=&cmd_args= [2020-11-02T06:49:55.318Z] -> Pinging Codecov [2020-11-02T06:49:55.318Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-70&commit=902c3945f65da81e26ed8e96df8a7b3a5aa03b12&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-70%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=70&job=&cmd_args= [2020-11-02T06:49:55.611Z] -> Uploading to [2020-11-02T06:49:55.611Z] [2020-11-02T06:49:55.611Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-02T06:49:55.611Z] Dload Upload Total Spent Left Speed [2020-11-02T06:49:55.611Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-11-02T06:49:55.611Z] X> Failed to upload [2020-11-02T06:49:55.611Z] ==> Uploading to Codecov [2020-11-02T06:49:55.611Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-02T06:49:55.611Z] Dload Upload Total Spent Left Speed [2020-11-02T06:49:56.244Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1558 100 111 100 1447 216 2825 --:--:-- --:--:-- --:--:-- 2831 [2020-11-02T06:49:56.244Z] View reports at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/902c3945f65da81e26ed8e96df8a7b3a5aa03b12 [Pipeline] } [2020-11-02T06:49:56.281Z] 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 [2020-11-02T06:50:00.865Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:50:02.290Z] ---> package-listing.sh [2020-11-02T06:50:02.290Z] ++ facter osfamily [2020-11-02T06:50:02.290Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-02T06:50:02.617Z] + OS_FAMILY=redhat [2020-11-02T06:50:02.617Z] + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-70 [2020-11-02T06:50:02.617Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-02T06:50:02.617Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-02T06:50:02.617Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-02T06:50:02.617Z] + PACKAGES=/tmp/packages_start.txt [2020-11-02T06:50:02.617Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-70 ']' [2020-11-02T06:50:02.617Z] + PACKAGES=/tmp/packages_end.txt [2020-11-02T06:50:02.617Z] + case "${OS_FAMILY}" in [2020-11-02T06:50:02.617Z] + rpm -qa [2020-11-02T06:50:02.617Z] + sort [2020-11-02T06:50:08.022Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-02T06:50:08.022Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-02T06:50:08.022Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-02T06:50:08.022Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-70 ']' [2020-11-02T06:50:08.022Z] + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-70/archives/ [2020-11-02T06:50:08.022Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-70/archives/ [Pipeline] echo [2020-11-02T06:50:08.059Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-snmp-go_PR-70/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-02T06:50:08.530Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:50:08.896Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T06:50:09.216Z] [2020-11-02T06:50:09.216Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-02T06:50:09.673Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T06:50:09.673Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-02T06:50:09.673Z] df20fa9351a1: Already exists [2020-11-02T06:50:09.673Z] 36b3adc4ff6f: Pulling fs layer [2020-11-02T06:50:09.673Z] 8ad3a11d3b57: Pulling fs layer [2020-11-02T06:50:09.673Z] 46f8f816bc3b: Pulling fs layer [2020-11-02T06:50:09.673Z] 93b61091891f: Pulling fs layer [2020-11-02T06:50:09.673Z] 93b9cdb0e59b: Pulling fs layer [2020-11-02T06:50:09.673Z] 5e14af77c1be: Pulling fs layer [2020-11-02T06:50:09.673Z] 01666e4c0597: Pulling fs layer [2020-11-02T06:50:09.673Z] aa168da1d23b: Pulling fs layer [2020-11-02T06:50:09.673Z] 93b9cdb0e59b: Waiting [2020-11-02T06:50:09.673Z] 5e14af77c1be: Waiting [2020-11-02T06:50:09.673Z] 01666e4c0597: Waiting [2020-11-02T06:50:09.673Z] aa168da1d23b: Waiting [2020-11-02T06:50:09.673Z] 93b61091891f: Waiting [2020-11-02T06:50:09.673Z] 46f8f816bc3b: Verifying Checksum [2020-11-02T06:50:09.673Z] 46f8f816bc3b: Download complete [2020-11-02T06:50:09.673Z] 36b3adc4ff6f: Verifying Checksum [2020-11-02T06:50:09.673Z] 36b3adc4ff6f: Download complete [2020-11-02T06:50:09.971Z] 93b9cdb0e59b: Verifying Checksum [2020-11-02T06:50:09.971Z] 93b9cdb0e59b: Download complete [2020-11-02T06:50:09.971Z] 5e14af77c1be: Verifying Checksum [2020-11-02T06:50:09.971Z] 5e14af77c1be: Download complete [2020-11-02T06:50:09.971Z] 01666e4c0597: Verifying Checksum [2020-11-02T06:50:09.971Z] 01666e4c0597: Download complete [2020-11-02T06:50:10.293Z] 36b3adc4ff6f: Pull complete [2020-11-02T06:50:10.914Z] 93b61091891f: Verifying Checksum [2020-11-02T06:50:10.914Z] 93b61091891f: Download complete [2020-11-02T06:50:11.565Z] 8ad3a11d3b57: Verifying Checksum [2020-11-02T06:50:11.565Z] 8ad3a11d3b57: Download complete [2020-11-02T06:50:13.138Z] 8ad3a11d3b57: Pull complete [2020-11-02T06:50:13.438Z] 46f8f816bc3b: Pull complete [2020-11-02T06:50:14.973Z] 93b61091891f: Pull complete [2020-11-02T06:50:14.973Z] 93b9cdb0e59b: Pull complete [2020-11-02T06:50:15.260Z] 5e14af77c1be: Pull complete [2020-11-02T06:50:15.260Z] 01666e4c0597: Pull complete [2020-11-02T06:50:17.992Z] aa168da1d23b: Verifying Checksum [2020-11-02T06:50:17.992Z] aa168da1d23b: Download complete [2020-11-02T06:50:30.698Z] aa168da1d23b: Pull complete [2020-11-02T06:50:30.698Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-02T06:50:30.698Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-02T06:50:30.698Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-02T06:50:31.090Z] prd-centos7-docker-4c-2g-10057 does not seem to be running inside a container [2020-11-02T06:50:31.299Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-snmp-go_PR-70/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-snmp-go_PR-70 -v /w/workspace/dgexfoundry_device-snmp-go_PR-70:/w/workspace/dgexfoundry_device-snmp-go_PR-70:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-02T06:50:34.911Z] $ docker top 97d9e36889f2d446f397dd75abfccc0e4c7990c6da8e97139163c50f21e10724 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-02T06:50:35.802Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-02T06:50:36.256Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-02T06:50:36.642Z] + ls /var/log/sa-host [2020-11-02T06:50:36.642Z] + sadf -c /var/log/sa-host/sa02 [2020-11-02T06:50:36.642Z] file_magic: OK [2020-11-02T06:50:36.642Z] HZ: Using current value: 100 [2020-11-02T06:50:36.642Z] file_header: OK [2020-11-02T06:50:36.642Z] 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 [2020-11-02T06:50:36.642Z] Statistics: [2020-11-02T06:50:36.642Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-02T06:50:36.642Z] File successfully converted to sysstat format version 12.2.1 [2020-11-02T06:50:36.642Z] + sadf -c /var/log/sa-host/sa05 [2020-11-02T06:50:36.642Z] file_magic: OK [2020-11-02T06:50:36.642Z] HZ: Using current value: 100 [2020-11-02T06:50:36.642Z] file_header: OK [2020-11-02T06:50:36.642Z] 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 [2020-11-02T06:50:36.642Z] Statistics: [2020-11-02T06:50:36.642Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-02T06:50:36.642Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-02T06:50:36.911Z] provisioning config files... [2020-11-02T06:50:36.938Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-70@tmp/config5392895118816066521tmp [Pipeline] { [Pipeline] echo [2020-11-02T06:50:37.056Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:50:37.418Z] ---> create-netrc.sh [Pipeline] } [2020-11-02T06:50:37.448Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-02T06:50:37.600Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:50:37.955Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-02T06:50:37.993Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:50:38.806Z] ---> sudo-logs.sh [2020-11-02T06:50:38.806Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-02T06:50:38.838Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:50:39.274Z] ---> job-cost.sh [2020-11-02T06:50:39.559Z] lf-activate-venv: SKIPPING [2020-11-02T06:50:39.559Z] INFO: No Stack... [2020-11-02T06:50:40.551Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-02T06:50:41.164Z] INFO: Archiving Costs [Pipeline] echo [2020-11-02T06:50:41.213Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-02T06:50:41.610Z] ---> logs-deploy.sh [2020-11-02T06:50:41.610Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-70/1 [2020-11-02T06:50:41.610Z] INFO: archiving workspace using pattern(s): [2020-11-02T06:50:43.972Z] Archives upload complete. [2020-11-02T06:50:43.972Z] INFO: archiving logs to Nexus