Pull request #61 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 hahattan for edgexfoundry/device-snmp-go Obtained Jenkinsfile from de6315afb7906193e21f0753bca1af458610dda0+c3a411597e9cf6081b038267f0590ff316b15934 (5887bde5a7e1b2b7b3afcb1e212dd11a002e1074) 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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-61/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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > 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. [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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-125’ Running on prd-centos7-docker-4c-2g-128 in /w/workspace/dgexfoundry_device-snmp-go_PR-61 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/dgexfoundry_device-snmp-go_PR-61 # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/61/head:refs/remotes/origin/PR-61 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit c3a411597e9cf6081b038267f0590ff316b15934 into PR head commit de6315afb7906193e21f0753bca1af458610dda0 Merge succeeded, producing de6315afb7906193e21f0753bca1af458610dda0 Checking out Revision de6315afb7906193e21f0753bca1af458610dda0 (PR-61) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/61/head:refs/remotes/origin/PR-61 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/61/head:refs/remotes/origin/PR-61 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f de6315afb7906193e21f0753bca1af458610dda0 # 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 c3a411597e9cf6081b038267f0590ff316b15934 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f de6315afb7906193e21f0753bca1af458610dda0 # timeout=10 Commit message: "build: Upgrade to Go1.15" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-17T08:28:36.888Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-17T08:28:37.242Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-17T08:28:37.464Z] ========================================================= [2020-09-17T08:28:37.464Z] EdgeX Global Pipelines Version Info [2020-09-17T08:28:37.464Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-17T08:28:38.964Z] ------------------- [2020-09-17T08:28:38.964Z] stable info: [2020-09-17T08:28:38.964Z] ------------------- [2020-09-17T08:28:38.964Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-17T08:28:38.964Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-17T08:28:38.964Z] Message: update stable to v1.0.122 [2020-09-17T08:28:39.936Z] ------------------- [2020-09-17T08:28:39.936Z] experimental info: [2020-09-17T08:28:39.936Z] ------------------- [2020-09-17T08:28:39.936Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-17T08:28:39.936Z] Commit SHA: 84d9a0843d1df7ebf9e0c4533e50f756df06f1d7 [2020-09-17T08:28:39.936Z] Message: update experimental to v1.0.124 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-17T08:28:40.544Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2020-09-17T08:28:40.731Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2020-09-17T08:28:40.920Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-17T08:28:41.058Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-17T08:28:41.220Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-17T08:28:41.352Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-17T08:28:41.504Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-17T08:28:41.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-17T08:28:41.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-17T08:28:41.903Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-17T08:28:42.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-17T08:28:42.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo [2020-09-17T08:28:42.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-17T08:28:42.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-17T08:28:42.581Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-17T08:28:42.710Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-17T08:28:42.849Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T08:28:42.979Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T08:28:43.099Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-17T08:28:43.220Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-17T08:28:43.351Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-17T08:28:43.479Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-17T08:28:43.607Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-61 [Pipeline] echo [2020-09-17T08:28:43.735Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-61 [Pipeline] echo [2020-09-17T08:28:43.864Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-61 [Pipeline] echo [2020-09-17T08:28:44.026Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = de6315afb7906193e21f0753bca1af458610dda0 [Pipeline] echo [2020-09-17T08:28:44.152Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = de6315a [Pipeline] echo [2020-09-17T08:28:44.279Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-17T08:28:45.233Z] + git log --format=format:%s -1 de6315afb7906193e21f0753bca1af458610dda0 [Pipeline] echo [2020-09-17T08:28:45.314Z] GIT_COMMIT: de6315afb7906193e21f0753bca1af458610dda0, Commit Message: build: Upgrade to Go1.15 [Pipeline] echo [2020-09-17T08:28:45.397Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:28:45.983Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T08:28:46.250Z] [2020-09-17T08:28:46.250Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:28:46.642Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T08:28:46.642Z] latest: Pulling from edgex-devops/git-semver [2020-09-17T08:28:46.642Z] 31603596830f: Pulling fs layer [2020-09-17T08:28:46.642Z] 2a8b12db71e7: Pulling fs layer [2020-09-17T08:28:46.642Z] 6ca5941a6612: Pulling fs layer [2020-09-17T08:28:46.642Z] ecc8261a40a4: Pulling fs layer [2020-09-17T08:28:46.642Z] ecc8261a40a4: Waiting [2020-09-17T08:28:46.642Z] 2a8b12db71e7: Download complete [2020-09-17T08:28:46.908Z] 31603596830f: Download complete [2020-09-17T08:28:46.908Z] ecc8261a40a4: Verifying Checksum [2020-09-17T08:28:46.908Z] ecc8261a40a4: Download complete [2020-09-17T08:28:46.908Z] 6ca5941a6612: Verifying Checksum [2020-09-17T08:28:47.172Z] 31603596830f: Pull complete [2020-09-17T08:28:47.435Z] 2a8b12db71e7: Pull complete [2020-09-17T08:28:48.017Z] 6ca5941a6612: Pull complete [2020-09-17T08:28:48.284Z] ecc8261a40a4: Pull complete [2020-09-17T08:28:48.547Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-17T08:28:48.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T08:28:48.548Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-17T08:28:48.675Z] prd-centos7-docker-4c-2g-128 does not seem to be running inside a container [2020-09-17T08:28:48.730Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-61 -v /w/workspace/dgexfoundry_device-snmp-go_PR-61:/w/workspace/dgexfoundry_device-snmp-go_PR-61:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-61@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-17T08:28:50.409Z] $ docker top d4e1e1bded4c5f5b45280c330685d1ebcd07cd91f84545ecf3e93540e1a3796e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T08:28:50.822Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T08:28:50.822Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T08:28:51.031Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T08:28:51.036Z] $ docker exec d4e1e1bded4c5f5b45280c330685d1ebcd07cd91f84545ecf3e93540e1a3796e ssh-agent [2020-09-17T08:28:51.200Z] SSH_AUTH_SOCK=/tmp/ssh-Q33Ga5m0Ws1P/agent.12 [2020-09-17T08:28:51.200Z] SSH_AGENT_PID=18 [2020-09-17T08:28:51.212Z] Running ssh-add (command line suppressed) [2020-09-17T08:28:51.328Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-61@tmp/private_key_846659242413611966.key (/w/workspace/dgexfoundry_device-snmp-go_PR-61@tmp/private_key_846659242413611966.key) [2020-09-17T08:28:51.377Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T08:28:51.768Z] + git describe --exact-match --tags HEAD [2020-09-17T08:28:51.768Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-17T08:28:51.904Z] $ docker exec --env ******** --env ******** d4e1e1bded4c5f5b45280c330685d1ebcd07cd91f84545ecf3e93540e1a3796e ssh-agent -k [2020-09-17T08:28:52.019Z] unset SSH_AUTH_SOCK; [2020-09-17T08:28:52.019Z] unset SSH_AGENT_PID; [2020-09-17T08:28:52.019Z] echo Agent pid 18 killed; [2020-09-17T08:28:52.066Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-17T08:28:52.230Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-17T08:28:52.230Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-17T08:28:52.346Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T08:28:52.346Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T08:28:52.515Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T08:28:52.520Z] $ docker exec d4e1e1bded4c5f5b45280c330685d1ebcd07cd91f84545ecf3e93540e1a3796e ssh-agent [2020-09-17T08:28:52.674Z] SSH_AUTH_SOCK=/tmp/ssh-zd3WvXdQmDRp/agent.47 [2020-09-17T08:28:52.674Z] SSH_AGENT_PID=52 [2020-09-17T08:28:52.680Z] Running ssh-add (command line suppressed) [2020-09-17T08:28:52.795Z] Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-61@tmp/private_key_363991117715276774.key (/w/workspace/dgexfoundry_device-snmp-go_PR-61@tmp/private_key_363991117715276774.key) [2020-09-17T08:28:52.845Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T08:28:53.211Z] + git semver init [2020-09-17T08:28:53.211Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T08:28:53.211Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-61/.git [2020-09-17T08:28:53.211Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-61 [2020-09-17T08:28:53.211Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T08:28:53.211Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T08:28:53.211Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T08:28:53.211Z] # $SEMVER_BRANCH = PR-61 [2020-09-17T08:28:53.211Z] # $SEMVER_TEMP = /tmp/semver-923701062 [2020-09-17T08:28:53.211Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2020-09-17T08:28:53.473Z] # '/tmp/semver-923701062' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-61/.semver' [2020-09-17T08:28:53.473Z] # -> Force: false [2020-09-17T08:28:53.473Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-61/.semver [Pipeline] } [2020-09-17T08:28:53.493Z] $ docker exec --env ******** --env ******** d4e1e1bded4c5f5b45280c330685d1ebcd07cd91f84545ecf3e93540e1a3796e ssh-agent -k [2020-09-17T08:28:53.604Z] unset SSH_AUTH_SOCK; [2020-09-17T08:28:53.604Z] unset SSH_AGENT_PID; [2020-09-17T08:28:53.604Z] echo Agent pid 52 killed; [2020-09-17T08:28:53.647Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T08:28:54.225Z] + git semver [Pipeline] } [2020-09-17T08:28:54.257Z] $ docker stop --time=1 d4e1e1bded4c5f5b45280c330685d1ebcd07cd91f84545ecf3e93540e1a3796e [2020-09-17T08:28:55.599Z] $ docker rm -f d4e1e1bded4c5f5b45280c330685d1ebcd07cd91f84545ecf3e93540e1a3796e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-17T08:28:56.336Z] Stashed 26 file(s) [Pipeline] echo [2020-09-17T08:28:56.355Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-17T08:28:56.486Z] Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-09-17T08:29:12.184Z] Still waiting to schedule task [2020-09-17T08:29:12.184Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-17T08:29:12.217Z] Still waiting to schedule task [2020-09-17T08:29:12.217Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-126’ [2020-09-17T08:31:16.814Z] Running on prd-centos7-docker-4c-2g-130 in /w/workspace/dgexfoundry_device-snmp-go_PR-61 [Pipeline] { [Pipeline] ws [2020-09-17T08:31:16.907Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2020-09-17T08:31:19.360Z] using credential edgex-jenkins-ssh [2020-09-17T08:31:19.533Z] Cloning the remote Git repository [2020-09-17T08:31:19.533Z] Cloning with configured refspecs honoured and without tags [2020-09-17T08:31:20.307Z] Fetching without tags [2020-09-17T08:31:19.562Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2020-09-17T08:31:19.632Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2020-09-17T08:31:19.808Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-09-17T08:31:19.809Z] > git --version # timeout=10 [2020-09-17T08:31:19.814Z] > git --version # 'git version 2.16.5' [2020-09-17T08:31:19.814Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T08:31:19.865Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/61/head:refs/remotes/origin/PR-61 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:31:20.284Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-09-17T08:31:20.289Z] > git config --add remote.origin.fetch +refs/pull/61/head:refs/remotes/origin/PR-61 # timeout=10 [2020-09-17T08:31:20.293Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:31:20.303Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-09-17T08:31:20.313Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-09-17T08:31:20.313Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T08:31:20.317Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/61/head:refs/remotes/origin/PR-61 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:31:20.682Z] Merging remotes/origin/master commit c3a411597e9cf6081b038267f0590ff316b15934 into PR head commit de6315afb7906193e21f0753bca1af458610dda0 [2020-09-17T08:31:20.743Z] Merge succeeded, producing de6315afb7906193e21f0753bca1af458610dda0 [2020-09-17T08:31:20.744Z] Checking out Revision de6315afb7906193e21f0753bca1af458610dda0 (PR-61) [2020-09-17T08:31:20.690Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T08:31:20.694Z] > git checkout -f de6315afb7906193e21f0753bca1af458610dda0 # timeout=10 [2020-09-17T08:31:20.721Z] > git remote # timeout=10 [2020-09-17T08:31:20.726Z] > git config --get remote.origin.url # timeout=10 [2020-09-17T08:31:20.729Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T08:31:20.732Z] > git merge c3a411597e9cf6081b038267f0590ff316b15934 # timeout=10 [2020-09-17T08:31:20.740Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-17T08:31:20.748Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T08:31:20.753Z] > git checkout -f de6315afb7906193e21f0753bca1af458610dda0 # timeout=10 [2020-09-17T08:31:24.285Z] Commit message: "build: Upgrade to Go1.15" [2020-09-17T08:31:24.310Z] > git --version # timeout=10 [2020-09-17T08:31:24.315Z] > git --version # 'git version 2.16.5' [2020-09-17T08:31:24.319Z] fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-17T08:31:25.279Z] ========================================================= [2020-09-17T08:31:25.279Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-17T08:31:25.279Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:31:26.057Z] + 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-09-17T08:31:26.323Z] Sending build context to Docker daemon 370.2kB [2020-09-17T08:31:26.323Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-09-17T08:31:26.323Z] Step 2/10 : FROM ${BASE} [2020-09-17T08:31:26.323Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-17T08:31:26.323Z] df20fa9351a1: Pulling fs layer [2020-09-17T08:31:26.323Z] ed8968b2872e: Pulling fs layer [2020-09-17T08:31:26.323Z] a92cc7c5fd73: Pulling fs layer [2020-09-17T08:31:26.323Z] e871e8e8d7a9: Pulling fs layer [2020-09-17T08:31:26.323Z] e73272ec9a57: Pulling fs layer [2020-09-17T08:31:26.323Z] 1e910a182e73: Pulling fs layer [2020-09-17T08:31:26.323Z] 4e634b169226: Pulling fs layer [2020-09-17T08:31:26.323Z] e73272ec9a57: Waiting [2020-09-17T08:31:26.323Z] 1e910a182e73: Waiting [2020-09-17T08:31:26.323Z] 4e634b169226: Waiting [2020-09-17T08:31:26.323Z] e871e8e8d7a9: Waiting [2020-09-17T08:31:26.323Z] a92cc7c5fd73: Verifying Checksum [2020-09-17T08:31:26.323Z] a92cc7c5fd73: Download complete [2020-09-17T08:31:26.323Z] ed8968b2872e: Download complete [2020-09-17T08:31:26.323Z] e73272ec9a57: Verifying Checksum [2020-09-17T08:31:26.323Z] e73272ec9a57: Download complete [2020-09-17T08:31:26.897Z] df20fa9351a1: Verifying Checksum [2020-09-17T08:31:26.897Z] df20fa9351a1: Download complete [2020-09-17T08:31:26.897Z] 1e910a182e73: Verifying Checksum [2020-09-17T08:31:26.897Z] 1e910a182e73: Download complete [2020-09-17T08:31:26.897Z] df20fa9351a1: Pull complete [2020-09-17T08:31:27.162Z] ed8968b2872e: Pull complete [2020-09-17T08:31:27.422Z] a92cc7c5fd73: Pull complete [2020-09-17T08:31:28.813Z] 4e634b169226: Verifying Checksum [2020-09-17T08:31:28.813Z] 4e634b169226: Download complete [2020-09-17T08:31:29.077Z] e871e8e8d7a9: Verifying Checksum [2020-09-17T08:31:29.077Z] e871e8e8d7a9: Download complete [2020-09-17T08:31:34.455Z] e871e8e8d7a9: Pull complete [2020-09-17T08:31:34.455Z] e73272ec9a57: Pull complete [2020-09-17T08:31:34.455Z] 1e910a182e73: Pull complete [2020-09-17T08:31:38.822Z] 4e634b169226: Pull complete [2020-09-17T08:31:38.822Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-17T08:31:38.822Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-17T08:31:38.822Z] ---> f7629b54cfaa [2020-09-17T08:31:38.822Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-17T08:31:38.822Z] ---> Running in 7203e4d7caa6 [2020-09-17T08:31:38.822Z] Removing intermediate container 7203e4d7caa6 [2020-09-17T08:31:38.822Z] ---> eaad0e498918 [2020-09-17T08:31:38.822Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-17T08:31:38.822Z] ---> Running in c656369b66fc [2020-09-17T08:31:39.087Z] Removing intermediate container c656369b66fc [2020-09-17T08:31:39.087Z] ---> 14c8fbff09d4 [2020-09-17T08:31:39.087Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2020-09-17T08:31:39.087Z] ---> Running in d63ad8227564 [2020-09-17T08:31:39.361Z] Removing intermediate container d63ad8227564 [2020-09-17T08:31:39.361Z] ---> 4786113c0416 [2020-09-17T08:31:39.361Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T08:31:39.361Z] ---> Running in bff798745e06 [2020-09-17T08:31:40.774Z] Removing intermediate container bff798745e06 [2020-09-17T08:31:40.774Z] ---> b1d79c82fdcf [2020-09-17T08:31:40.774Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-17T08:31:40.775Z] ---> Running in a7f65cca6c24 [2020-09-17T08:31:41.038Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-17T08:31:41.621Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-17T08:31:42.214Z] OK: 166 MiB in 39 packages [2020-09-17T08:31:42.812Z] Removing intermediate container a7f65cca6c24 [2020-09-17T08:31:42.812Z] ---> 86ef8522d104 [2020-09-17T08:31:42.812Z] Step 8/10 : WORKDIR /device-snmp-go [2020-09-17T08:31:42.812Z] ---> Running in d97b1f9b1c37 [2020-09-17T08:31:42.812Z] Removing intermediate container d97b1f9b1c37 [2020-09-17T08:31:42.812Z] ---> f6aabe00fb30 [2020-09-17T08:31:42.812Z] Step 9/10 : COPY . . [2020-09-17T08:31:43.401Z] ---> d4224d47d4b1 [2020-09-17T08:31:43.401Z] Step 10/10 : RUN go mod download [2020-09-17T08:31:43.669Z] ---> Running in 0f6ccceae162 [2020-09-17T08:31:55.991Z] Removing intermediate container 0f6ccceae162 [2020-09-17T08:31:55.991Z] ---> ee20608dc85b [2020-09-17T08:31:55.991Z] Successfully built ee20608dc85b [2020-09-17T08:31:55.991Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:31:56.486Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-17T08:31:56.486Z] . [Pipeline] withDockerContainer [2020-09-17T08:31:56.600Z] prd-centos7-docker-4c-2g-130 does not seem to be running inside a container [2020-09-17T08:31:56.648Z] $ 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 ******** ci-base-image-x86_64 cat [2020-09-17T08:31:57.782Z] $ docker top 28b42094b83eeb71a34ff91e72a410ab09ff4d6eb72fe163ea786c8217f3d9ef -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T08:31:58.331Z] + go version [2020-09-17T08:31:58.331Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-17T08:31:58.358Z] $ docker stop --time=1 28b42094b83eeb71a34ff91e72a410ab09ff4d6eb72fe163ea786c8217f3d9ef [2020-09-17T08:31:59.684Z] $ docker rm -f 28b42094b83eeb71a34ff91e72a410ab09ff4d6eb72fe163ea786c8217f3d9ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:32:00.866Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-17T08:32:00.866Z] . [Pipeline] withDockerContainer [2020-09-17T08:32:00.976Z] prd-centos7-docker-4c-2g-130 does not seem to be running inside a container [2020-09-17T08:32:01.021Z] $ 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 ******** ci-base-image-x86_64 cat [2020-09-17T08:32:01.558Z] $ docker top b0738982c516446e4f851d681c692802fa18e2f62a6ad035a58ee8aa8c642753 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T08:32:02.092Z] + make test [2020-09-17T08:32:02.092Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-09-17T08:32:02.678Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2020-09-17T08:32:12.761Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2020-09-17T08:32:12.761Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements [2020-09-17T08:32:12.761Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-17T08:32:12.761Z] gofmt -l . [2020-09-17T08:32:12.761Z] [ "`gofmt -l .`" = "" ] [2020-09-17T08:32:12.761Z] ./bin/test-attribution-txt.sh [2020-09-17T08:32:13.033Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-17T08:32:13.556Z] Stashed 1 file(s) [Pipeline] } [2020-09-17T08:32:13.578Z] $ docker stop --time=1 b0738982c516446e4f851d681c692802fa18e2f62a6ad035a58ee8aa8c642753 [2020-09-17T08:32:15.767Z] $ docker rm -f b0738982c516446e4f851d681c692802fa18e2f62a6ad035a58ee8aa8c642753 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-17T08:32:17.506Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-17T08:32:17.830Z] + ls -al . [2020-09-17T08:32:17.830Z] total 104 [2020-09-17T08:32:17.830Z] drwxrwxr-x. 9 jenkins jenkins 4096 Sep 17 08:32 . [2020-09-17T08:32:17.830Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 17 08:31 .. [2020-09-17T08:32:17.830Z] -rw-rw-r--. 1 jenkins jenkins 4405 Sep 17 08:31 Attribution.txt [2020-09-17T08:32:17.830Z] drwxrwxr-x. 2 jenkins jenkins 87 Sep 17 08:31 bin [2020-09-17T08:32:17.830Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 08:31 cmd [2020-09-17T08:32:17.830Z] -rw-r--r--. 1 jenkins jenkins 8493 Sep 17 08:32 coverage.out [2020-09-17T08:32:17.830Z] -rw-rw-r--. 1 jenkins jenkins 1002 Sep 17 08:31 Dockerfile [2020-09-17T08:32:17.830Z] -rw-rw-r--. 1 jenkins jenkins 409 Sep 17 08:31 Dockerfile.build [2020-09-17T08:32:17.830Z] -rw-rw-r--. 1 jenkins jenkins 6 Sep 17 08:31 .dockerignore [2020-09-17T08:32:17.830Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 17 08:31 .git [2020-09-17T08:32:17.830Z] drwxrwxr-x. 2 jenkins jenkins 38 Sep 17 08:31 .github [2020-09-17T08:32:17.830Z] -rw-rw-r--. 1 jenkins jenkins 272 Sep 17 08:31 .gitignore [2020-09-17T08:32:17.830Z] -rw-r--r--. 1 jenkins jenkins 203 Sep 17 08:32 go.mod [2020-09-17T08:32:17.830Z] -rw-r--r--. 1 jenkins jenkins 12704 Sep 17 08:32 go.sum [2020-09-17T08:32:17.830Z] drwxrwxr-x. 3 jenkins jenkins 20 Sep 17 08:31 internal [2020-09-17T08:32:17.830Z] -rw-rw-r--. 1 jenkins jenkins 656 Sep 17 08:31 Jenkinsfile [2020-09-17T08:32:17.830Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 17 08:31 LICENSE [2020-09-17T08:32:17.830Z] -rw-rw-r--. 1 jenkins jenkins 937 Sep 17 08:31 Makefile [2020-09-17T08:32:17.830Z] drwxrwxr-x. 2 jenkins jenkins 84 Sep 17 08:31 profiles [2020-09-17T08:32:17.830Z] -rw-rw-r--. 1 jenkins jenkins 12398 Sep 17 08:31 README.md [2020-09-17T08:32:17.830Z] drwxrwxr-x. 3 jenkins jenkins 74 Sep 17 08:31 .semver [2020-09-17T08:32:17.830Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 17 08:28 VERSION [2020-09-17T08:32:17.830Z] -rw-rw-r--. 1 jenkins jenkins 209 Sep 17 08:31 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:32:18.190Z] + 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=de6315afb7906193e21f0753bca1af458610dda0 --label arch=amd64 --label version=0.0.0 . [2020-09-17T08:32:18.190Z] Sending build context to Docker daemon 379.4kB [2020-09-17T08:32:18.190Z] Step 1/26 : ARG BASE=golang:1.15-alpine [2020-09-17T08:32:18.190Z] Step 2/26 : FROM ${BASE} AS builder [2020-09-17T08:32:18.190Z] ---> ee20608dc85b [2020-09-17T08:32:18.190Z] Step 3/26 : ARG MAKE='make build' [2020-09-17T08:32:18.190Z] ---> Running in 353aeba26cc0 [2020-09-17T08:32:18.452Z] Removing intermediate container 353aeba26cc0 [2020-09-17T08:32:18.452Z] ---> 41a0502b1786 [2020-09-17T08:32:18.452Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2020-09-17T08:32:18.452Z] ---> Running in 7a5b3fe9d419 [2020-09-17T08:32:18.714Z] Removing intermediate container 7a5b3fe9d419 [2020-09-17T08:32:18.714Z] ---> dab40d216d49 [2020-09-17T08:32:18.714Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2020-09-17T08:32:18.714Z] ---> Running in 7e5ab2dbbee8 [2020-09-17T08:32:18.975Z] Removing intermediate container 7e5ab2dbbee8 [2020-09-17T08:32:18.975Z] ---> 14afab6d9c08 [2020-09-17T08:32:18.975Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T08:32:18.975Z] ---> Running in fd357ed05c71 [2020-09-17T08:32:19.550Z] Removing intermediate container fd357ed05c71 [2020-09-17T08:32:19.550Z] ---> fbd2ade55f09 [2020-09-17T08:32:19.550Z] Step 7/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-17T08:32:19.812Z] ---> Running in 10e8f4061a5e [2020-09-17T08:32:20.075Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-17T08:32:21.046Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-17T08:32:21.311Z] OK: 166 MiB in 39 packages [2020-09-17T08:32:21.574Z] Removing intermediate container 10e8f4061a5e [2020-09-17T08:32:21.574Z] ---> 84173e05fda5 [2020-09-17T08:32:21.574Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2020-09-17T08:32:21.836Z] ---> Running in 37f9ad5baded [2020-09-17T08:32:21.836Z] Removing intermediate container 37f9ad5baded [2020-09-17T08:32:21.836Z] ---> f58b2e0a7652 [2020-09-17T08:32:21.836Z] Step 9/26 : COPY go.mod . [2020-09-17T08:32:22.098Z] ---> 676c1b71fc99 [2020-09-17T08:32:22.098Z] Step 10/26 : COPY Makefile . [2020-09-17T08:32:22.359Z] ---> 72afffedc20c [2020-09-17T08:32:22.359Z] Step 11/26 : RUN make update [2020-09-17T08:32:22.359Z] ---> Running in d5233cbc86bd [2020-09-17T08:32:22.933Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-17T08:32:23.199Z] Removing intermediate container d5233cbc86bd [2020-09-17T08:32:23.199Z] ---> 281f09a468d5 [2020-09-17T08:32:23.199Z] Step 12/26 : COPY . . [2020-09-17T08:32:23.777Z] ---> 597a0029ce63 [2020-09-17T08:32:23.778Z] Step 13/26 : RUN ${MAKE} [2020-09-17T08:32:23.778Z] ---> Running in 493d1365d5fc [2020-09-17T08:32:24.352Z] 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-09-17T08:32:31.017Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-17T08:32:34.334Z] Removing intermediate container 493d1365d5fc [2020-09-17T08:32:34.334Z] ---> ee579e75900e [2020-09-17T08:32:34.334Z] Step 14/26 : FROM alpine [2020-09-17T08:32:34.334Z] latest: Pulling from library/alpine [2020-09-17T08:32:34.334Z] df20fa9351a1: Already exists [2020-09-17T08:32:34.334Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-17T08:32:34.334Z] Status: Downloaded newer image for alpine:latest [2020-09-17T08:32:34.334Z] ---> a24bb4013296 [2020-09-17T08:32:34.334Z] Step 15/26 : ENV APP_PORT=49993 [2020-09-17T08:32:34.334Z] ---> Running in feef6388ad3b [2020-09-17T08:32:34.334Z] Removing intermediate container feef6388ad3b [2020-09-17T08:32:34.334Z] ---> fc3afca0e6c0 [2020-09-17T08:32:34.334Z] Step 16/26 : EXPOSE $APP_PORT [2020-09-17T08:32:34.595Z] ---> Running in 85c1cb95be39 [2020-09-17T08:32:34.595Z] Removing intermediate container 85c1cb95be39 [2020-09-17T08:32:34.595Z] ---> 7bd02ec685ef [2020-09-17T08:32:34.595Z] Step 17/26 : ENV DEVICE_PORT=161 [2020-09-17T08:32:34.858Z] ---> Running in d1fcc44f99ab [2020-09-17T08:32:34.858Z] Removing intermediate container d1fcc44f99ab [2020-09-17T08:32:34.858Z] ---> b05814a7d49a [2020-09-17T08:32:34.858Z] Step 18/26 : EXPOSE $DEVICE_PORT [2020-09-17T08:32:34.858Z] ---> Running in 05c8a15277d7 [2020-09-17T08:32:35.120Z] Removing intermediate container 05c8a15277d7 [2020-09-17T08:32:35.120Z] ---> 23c222416fd1 [2020-09-17T08:32:35.120Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2020-09-17T08:32:35.696Z] ---> 6caa6d1e37a3 [2020-09-17T08:32:35.696Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2020-09-17T08:32:35.696Z] ---> badd38ca2cfe [2020-09-17T08:32:35.696Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2020-09-17T08:32:35.964Z] ---> ee8da05a6286 [2020-09-17T08:32:35.964Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2020-09-17T08:32:35.964Z] ---> Running in 8af4ff58fffe [2020-09-17T08:32:36.225Z] Removing intermediate container 8af4ff58fffe [2020-09-17T08:32:36.225Z] ---> 58332856165b [2020-09-17T08:32:36.225Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-17T08:32:36.225Z] ---> Running in 644e9ab366b3 [2020-09-17T08:32:36.487Z] Removing intermediate container 644e9ab366b3 [2020-09-17T08:32:36.487Z] ---> ddda7f4b1b57 [2020-09-17T08:32:36.487Z] Step 24/26 : LABEL arch=amd64 [2020-09-17T08:32:36.487Z] ---> Running in 4d16b7673c4b [2020-09-17T08:32:36.487Z] Removing intermediate container 4d16b7673c4b [2020-09-17T08:32:36.487Z] ---> f15035b8f37b [2020-09-17T08:32:36.487Z] Step 25/26 : LABEL git_sha=de6315afb7906193e21f0753bca1af458610dda0 [2020-09-17T08:32:36.748Z] ---> Running in 8fbd6f754e0f [2020-09-17T08:32:36.748Z] Removing intermediate container 8fbd6f754e0f [2020-09-17T08:32:36.748Z] ---> fbb6e7f4af03 [2020-09-17T08:32:36.748Z] Step 26/26 : LABEL version=0.0.0 [2020-09-17T08:32:36.748Z] ---> Running in 27b88c1a409e [2020-09-17T08:32:37.011Z] Removing intermediate container 27b88c1a409e [2020-09-17T08:32:37.011Z] ---> 6ccc1abd394e [2020-09-17T08:32:37.011Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-17T08:32:37.011Z] Successfully built 6ccc1abd394e [2020-09-17T08:32:37.011Z] Successfully tagged docker-device-snmp-go: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] } [2020-09-17T08:32:56.434Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-132 in /w/workspace/dgexfoundry_device-snmp-go_PR-61 [Pipeline] { [Pipeline] ws [2020-09-17T08:32:56.527Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2020-09-17T08:33:02.296Z] using credential edgex-jenkins-ssh [2020-09-17T08:33:02.419Z] Cloning the remote Git repository [2020-09-17T08:33:02.419Z] Cloning with configured refspecs honoured and without tags [2020-09-17T08:33:02.505Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2020-09-17T08:33:02.632Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2020-09-17T08:33:02.712Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-09-17T08:33:02.713Z] > git --version # timeout=10 [2020-09-17T08:33:02.736Z] > git --version # 'git version 2.17.1' [2020-09-17T08:33:02.739Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T08:33:02.835Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/61/head:refs/remotes/origin/PR-61 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:33:03.807Z] Fetching without tags [2020-09-17T08:33:03.720Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-09-17T08:33:03.738Z] > git config --add remote.origin.fetch +refs/pull/61/head:refs/remotes/origin/PR-61 # timeout=10 [2020-09-17T08:33:03.762Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:33:03.791Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-09-17T08:33:03.825Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-09-17T08:33:03.826Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T08:33:03.840Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/61/head:refs/remotes/origin/PR-61 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:33:04.338Z] Merging remotes/origin/master commit c3a411597e9cf6081b038267f0590ff316b15934 into PR head commit de6315afb7906193e21f0753bca1af458610dda0 [2020-09-17T08:33:04.692Z] Merge succeeded, producing de6315afb7906193e21f0753bca1af458610dda0 [2020-09-17T08:33:04.692Z] Checking out Revision de6315afb7906193e21f0753bca1af458610dda0 (PR-61) [2020-09-17T08:33:04.361Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T08:33:04.381Z] > git checkout -f de6315afb7906193e21f0753bca1af458610dda0 # timeout=10 [2020-09-17T08:33:04.531Z] > git remote # timeout=10 [2020-09-17T08:33:04.571Z] > git config --get remote.origin.url # timeout=10 [2020-09-17T08:33:04.628Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T08:33:04.644Z] > git merge c3a411597e9cf6081b038267f0590ff316b15934 # timeout=10 [2020-09-17T08:33:04.677Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-17T08:33:04.701Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T08:33:04.721Z] > git checkout -f de6315afb7906193e21f0753bca1af458610dda0 # timeout=10 [2020-09-17T08:33:09.068Z] Commit message: "build: Upgrade to Go1.15" [2020-09-17T08:33:09.133Z] > git --version # timeout=10 [2020-09-17T08:33:09.151Z] > git --version # 'git version 2.17.1' [2020-09-17T08:33:09.165Z] fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-17T08:33:10.362Z] ========================================================= [2020-09-17T08:33:10.362Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-17T08:33:10.362Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:33:11.753Z] + 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-09-17T08:33:12.746Z] Sending build context to Docker daemon 370.2kB [2020-09-17T08:33:12.746Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-09-17T08:33:12.746Z] Step 2/10 : FROM ${BASE} [2020-09-17T08:33:13.024Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-17T08:33:13.024Z] b538f80385f9: Pulling fs layer [2020-09-17T08:33:13.024Z] 74f711af9a0d: Pulling fs layer [2020-09-17T08:33:13.024Z] 99f96fe45779: Pulling fs layer [2020-09-17T08:33:13.024Z] 8529a6b9a6be: Pulling fs layer [2020-09-17T08:33:13.024Z] 45590311c82a: Pulling fs layer [2020-09-17T08:33:13.024Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-17T08:33:13.024Z] 209524e5b208: Pulling fs layer [2020-09-17T08:33:13.024Z] 8529a6b9a6be: Waiting [2020-09-17T08:33:13.024Z] 69ca0ff8b7b3: Waiting [2020-09-17T08:33:13.024Z] 45590311c82a: Waiting [2020-09-17T08:33:13.024Z] 99f96fe45779: Download complete [2020-09-17T08:33:13.024Z] 74f711af9a0d: Verifying Checksum [2020-09-17T08:33:13.024Z] 74f711af9a0d: Download complete [2020-09-17T08:33:13.024Z] 45590311c82a: Verifying Checksum [2020-09-17T08:33:13.024Z] 45590311c82a: Download complete [2020-09-17T08:33:13.024Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-17T08:33:13.024Z] 69ca0ff8b7b3: Download complete [2020-09-17T08:33:13.302Z] b538f80385f9: Verifying Checksum [2020-09-17T08:33:13.302Z] b538f80385f9: Download complete [2020-09-17T08:33:14.324Z] b538f80385f9: Pull complete [2020-09-17T08:33:14.932Z] 74f711af9a0d: Pull complete [2020-09-17T08:33:15.210Z] 99f96fe45779: Pull complete [2020-09-17T08:33:16.673Z] 209524e5b208: Verifying Checksum [2020-09-17T08:33:16.673Z] 209524e5b208: Download complete [2020-09-17T08:33:16.953Z] 8529a6b9a6be: Verifying Checksum [2020-09-17T08:33:16.953Z] 8529a6b9a6be: Download complete [2020-09-17T08:33:27.133Z] 8529a6b9a6be: Pull complete [2020-09-17T08:33:27.133Z] 45590311c82a: Pull complete [2020-09-17T08:33:27.423Z] 69ca0ff8b7b3: Pull complete [2020-09-17T08:33:30.861Z] 209524e5b208: Pull complete [2020-09-17T08:33:30.861Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-17T08:33:30.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-17T08:33:31.140Z] ---> 5bddaf1c2fca [2020-09-17T08:33:31.140Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-17T08:33:34.565Z] ---> Running in 83452edd600e [2020-09-17T08:33:34.565Z] Removing intermediate container 83452edd600e [2020-09-17T08:33:34.565Z] ---> ac54061d25f1 [2020-09-17T08:33:34.565Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-17T08:33:34.565Z] ---> Running in 8a704c30ff5c [2020-09-17T08:33:35.175Z] Removing intermediate container 8a704c30ff5c [2020-09-17T08:33:35.175Z] ---> 6a037822ae61 [2020-09-17T08:33:35.175Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2020-09-17T08:33:35.175Z] ---> Running in 61adcf260112 [2020-09-17T08:33:35.782Z] Removing intermediate container 61adcf260112 [2020-09-17T08:33:35.782Z] ---> ebb7346352d0 [2020-09-17T08:33:35.782Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T08:33:35.782Z] ---> Running in b001fa58606d [2020-09-17T08:33:38.414Z] Removing intermediate container b001fa58606d [2020-09-17T08:33:38.414Z] ---> ef451e2236a3 [2020-09-17T08:33:38.414Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-17T08:33:38.700Z] ---> Running in e8adcc78111f [2020-09-17T08:33:40.148Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-17T08:33:41.132Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-17T08:33:41.730Z] OK: 142 MiB in 39 packages [2020-09-17T08:33:43.173Z] Removing intermediate container e8adcc78111f [2020-09-17T08:33:43.173Z] ---> 7e3766a917b9 [2020-09-17T08:33:43.173Z] Step 8/10 : WORKDIR /device-snmp-go [2020-09-17T08:33:43.173Z] ---> Running in b5b73d847462 [2020-09-17T08:33:43.448Z] Removing intermediate container b5b73d847462 [2020-09-17T08:33:43.448Z] ---> 6a3a1f31d49c [2020-09-17T08:33:43.448Z] Step 9/10 : COPY . . [2020-09-17T08:33:44.432Z] ---> fc5be1035c92 [2020-09-17T08:33:44.432Z] Step 10/10 : RUN go mod download [2020-09-17T08:33:44.707Z] ---> Running in 2f99d21e99c1 [2020-09-17T08:33:59.797Z] Removing intermediate container 2f99d21e99c1 [2020-09-17T08:33:59.797Z] ---> f9cb71a2c81a [2020-09-17T08:33:59.797Z] Successfully built f9cb71a2c81a [2020-09-17T08:33:59.797Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:34:00.244Z] + docker inspect -f . ci-base-image-arm64 [2020-09-17T08:34:00.244Z] . [Pipeline] withDockerContainer [2020-09-17T08:34:00.547Z] prd-ubuntu18.04-docker-arm64-4c-16g-132 does not seem to be running inside a container [2020-09-17T08:34:00.661Z] $ 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 ******** ci-base-image-arm64 cat [2020-09-17T08:34:02.584Z] $ docker top 13452063f8fe459b8a4c03cf4fa505f8e0496cc2dbdf9ad5dc19c88191b10e2d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T08:34:04.075Z] + go version [2020-09-17T08:34:04.075Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-17T08:34:04.123Z] $ docker stop --time=1 13452063f8fe459b8a4c03cf4fa505f8e0496cc2dbdf9ad5dc19c88191b10e2d [2020-09-17T08:34:06.048Z] $ docker rm -f 13452063f8fe459b8a4c03cf4fa505f8e0496cc2dbdf9ad5dc19c88191b10e2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:34:07.408Z] + docker inspect -f . ci-base-image-arm64 [2020-09-17T08:34:07.408Z] . [Pipeline] withDockerContainer [2020-09-17T08:34:07.704Z] prd-ubuntu18.04-docker-arm64-4c-16g-132 does not seem to be running inside a container [2020-09-17T08:34:07.788Z] $ 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 ******** ci-base-image-arm64 cat [2020-09-17T08:34:09.660Z] $ docker top 48669ac99b1bd8faf3d1f9e5e115b8dc17f632ef2e9addfa8702f5093da5cf25 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T08:34:11.136Z] + make test [2020-09-17T08:34:11.136Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-09-17T08:34:12.132Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2020-09-17T08:34:44.521Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2020-09-17T08:34:44.521Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements [2020-09-17T08:34:44.521Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-17T08:34:47.163Z] gofmt -l . [2020-09-17T08:34:47.163Z] [ "`gofmt -l .`" = "" ] [2020-09-17T08:34:47.163Z] ./bin/test-attribution-txt.sh [2020-09-17T08:34:47.773Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-17T08:34:48.418Z] Warning: overwriting stash ‘coverage-report’ [2020-09-17T08:34:49.237Z] Stashed 1 file(s) [Pipeline] } [2020-09-17T08:34:49.267Z] $ docker stop --time=1 48669ac99b1bd8faf3d1f9e5e115b8dc17f632ef2e9addfa8702f5093da5cf25 [2020-09-17T08:34:51.582Z] $ docker rm -f 48669ac99b1bd8faf3d1f9e5e115b8dc17f632ef2e9addfa8702f5093da5cf25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-17T08:34:53.249Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-17T08:34:53.676Z] + ls -al . [2020-09-17T08:34:53.676Z] total 136 [2020-09-17T08:34:53.676Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 17 08:34 . [2020-09-17T08:34:53.676Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 08:33 .. [2020-09-17T08:34:53.676Z] -rw-rw-r-- 1 jenkins jenkins 6 Sep 17 08:33 .dockerignore [2020-09-17T08:34:53.676Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 08:33 .git [2020-09-17T08:34:53.676Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:33 .github [2020-09-17T08:34:53.676Z] -rw-rw-r-- 1 jenkins jenkins 272 Sep 17 08:33 .gitignore [2020-09-17T08:34:53.676Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:33 .semver [2020-09-17T08:34:53.676Z] -rw-rw-r-- 1 jenkins jenkins 4405 Sep 17 08:33 Attribution.txt [2020-09-17T08:34:53.676Z] -rw-rw-r-- 1 jenkins jenkins 1002 Sep 17 08:33 Dockerfile [2020-09-17T08:34:53.676Z] -rw-rw-r-- 1 jenkins jenkins 409 Sep 17 08:33 Dockerfile.build [2020-09-17T08:34:53.676Z] -rw-rw-r-- 1 jenkins jenkins 656 Sep 17 08:33 Jenkinsfile [2020-09-17T08:34:53.676Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 17 08:33 LICENSE [2020-09-17T08:34:53.676Z] -rw-rw-r-- 1 jenkins jenkins 937 Sep 17 08:33 Makefile [2020-09-17T08:34:53.676Z] -rw-rw-r-- 1 jenkins jenkins 12398 Sep 17 08:33 README.md [2020-09-17T08:34:53.676Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 17 08:28 VERSION [2020-09-17T08:34:53.676Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:33 bin [2020-09-17T08:34:53.676Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:33 cmd [2020-09-17T08:34:53.676Z] -rw-r--r-- 1 jenkins jenkins 8493 Sep 17 08:34 coverage.out [2020-09-17T08:34:53.676Z] -rw-r--r-- 1 jenkins jenkins 203 Sep 17 08:34 go.mod [2020-09-17T08:34:53.676Z] -rw-r--r-- 1 jenkins jenkins 12704 Sep 17 08:34 go.sum [2020-09-17T08:34:53.676Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:33 internal [2020-09-17T08:34:53.676Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:33 profiles [2020-09-17T08:34:53.676Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 17 08:33 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:34:54.060Z] + 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=de6315afb7906193e21f0753bca1af458610dda0 --label arch=arm64 --label version=0.0.0 . [2020-09-17T08:34:54.339Z] Sending build context to Docker daemon 379.4kB [2020-09-17T08:34:54.339Z] Step 1/26 : ARG BASE=golang:1.15-alpine [2020-09-17T08:34:54.339Z] Step 2/26 : FROM ${BASE} AS builder [2020-09-17T08:34:54.339Z] ---> f9cb71a2c81a [2020-09-17T08:34:54.339Z] Step 3/26 : ARG MAKE='make build' [2020-09-17T08:34:54.628Z] ---> Running in 0ca18c63f3d2 [2020-09-17T08:34:55.229Z] Removing intermediate container 0ca18c63f3d2 [2020-09-17T08:34:55.229Z] ---> 564c8a5a6f15 [2020-09-17T08:34:55.229Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git" [2020-09-17T08:34:55.229Z] ---> Running in ef90319115f9 [2020-09-17T08:34:55.828Z] Removing intermediate container ef90319115f9 [2020-09-17T08:34:55.828Z] ---> 42d03a74e3d3 [2020-09-17T08:34:55.828Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2020-09-17T08:34:55.828Z] ---> Running in 8a23f3e8025c [2020-09-17T08:34:56.428Z] Removing intermediate container 8a23f3e8025c [2020-09-17T08:34:56.428Z] ---> cc6b1ec69faa [2020-09-17T08:34:56.428Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T08:34:56.428Z] ---> Running in b973b558b67c [2020-09-17T08:34:59.063Z] Removing intermediate container b973b558b67c [2020-09-17T08:34:59.064Z] ---> 1967bdfd70bf [2020-09-17T08:34:59.064Z] Step 7/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-17T08:34:59.064Z] ---> Running in a728e245c597 [2020-09-17T08:35:00.517Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-17T08:35:01.493Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-17T08:35:02.475Z] OK: 142 MiB in 39 packages [2020-09-17T08:35:03.461Z] Removing intermediate container a728e245c597 [2020-09-17T08:35:03.461Z] ---> 95e66a3e2f74 [2020-09-17T08:35:03.461Z] Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2020-09-17T08:35:03.461Z] ---> Running in 6914e6a5ed12 [2020-09-17T08:35:04.059Z] Removing intermediate container 6914e6a5ed12 [2020-09-17T08:35:04.059Z] ---> 47df2d28ee20 [2020-09-17T08:35:04.059Z] Step 9/26 : COPY go.mod . [2020-09-17T08:35:04.658Z] ---> 025eea6a6ab7 [2020-09-17T08:35:04.658Z] Step 10/26 : COPY Makefile . [2020-09-17T08:35:05.636Z] ---> 0826cfe264ad [2020-09-17T08:35:05.636Z] Step 11/26 : RUN make update [2020-09-17T08:35:05.636Z] ---> Running in 2784c6fab77d [2020-09-17T08:35:07.072Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-17T08:35:08.050Z] Removing intermediate container 2784c6fab77d [2020-09-17T08:35:08.050Z] ---> 96b8ec683189 [2020-09-17T08:35:08.050Z] Step 12/26 : COPY . . [2020-09-17T08:35:09.027Z] ---> ad631d13f30d [2020-09-17T08:35:09.027Z] Step 13/26 : RUN ${MAKE} [2020-09-17T08:35:09.027Z] ---> Running in 669095f963cb [2020-09-17T08:35:10.478Z] 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-09-17T08:35:37.307Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-17T08:35:40.703Z] Removing intermediate container 669095f963cb [2020-09-17T08:35:40.703Z] ---> bacd98688c3b [2020-09-17T08:35:40.703Z] Step 14/26 : FROM alpine [2020-09-17T08:35:41.101Z] latest: Pulling from library/alpine [2020-09-17T08:35:41.375Z] b538f80385f9: Already exists [2020-09-17T08:35:41.375Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-17T08:35:41.375Z] Status: Downloaded newer image for alpine:latest [2020-09-17T08:35:41.375Z] ---> 62ee0e9f8440 [2020-09-17T08:35:41.375Z] Step 15/26 : ENV APP_PORT=49993 [2020-09-17T08:35:41.649Z] ---> Running in 8d65adc2eaa2 [2020-09-17T08:35:41.928Z] Removing intermediate container 8d65adc2eaa2 [2020-09-17T08:35:41.928Z] ---> b58ebd00a31f [2020-09-17T08:35:41.928Z] Step 16/26 : EXPOSE $APP_PORT [2020-09-17T08:35:42.209Z] ---> Running in eff6c089bfe7 [2020-09-17T08:35:42.480Z] Removing intermediate container eff6c089bfe7 [2020-09-17T08:35:42.480Z] ---> 730626b59dd8 [2020-09-17T08:35:42.480Z] Step 17/26 : ENV DEVICE_PORT=161 [2020-09-17T08:35:42.754Z] ---> Running in 2bf259f66272 [2020-09-17T08:35:43.027Z] Removing intermediate container 2bf259f66272 [2020-09-17T08:35:43.027Z] ---> bb908d450193 [2020-09-17T08:35:43.027Z] Step 18/26 : EXPOSE $DEVICE_PORT [2020-09-17T08:35:43.303Z] ---> Running in a01dc440afb7 [2020-09-17T08:35:43.578Z] Removing intermediate container a01dc440afb7 [2020-09-17T08:35:43.578Z] ---> 10d3b7913cbb [2020-09-17T08:35:43.578Z] Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2020-09-17T08:35:45.014Z] ---> f3ed739d996d [2020-09-17T08:35:45.014Z] Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / [2020-09-17T08:35:45.612Z] ---> beca394c806a [2020-09-17T08:35:45.612Z] Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / [2020-09-17T08:35:46.207Z] ---> 9675e32091ea [2020-09-17T08:35:46.207Z] Step 22/26 : ENTRYPOINT ["/device-snmp-go"] [2020-09-17T08:35:46.488Z] ---> Running in 38fb3f83a2ca [2020-09-17T08:35:46.760Z] Removing intermediate container 38fb3f83a2ca [2020-09-17T08:35:46.760Z] ---> 03558ca13d2e [2020-09-17T08:35:46.760Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-17T08:35:47.034Z] ---> Running in bc9ff0daca64 [2020-09-17T08:35:47.306Z] Removing intermediate container bc9ff0daca64 [2020-09-17T08:35:47.307Z] ---> 2d4238e0f332 [2020-09-17T08:35:47.307Z] Step 24/26 : LABEL arch=arm64 [2020-09-17T08:35:47.579Z] ---> Running in b6aad1d94ba8 [2020-09-17T08:35:47.852Z] Removing intermediate container b6aad1d94ba8 [2020-09-17T08:35:47.852Z] ---> 7db86d7b1df2 [2020-09-17T08:35:47.852Z] Step 25/26 : LABEL git_sha=de6315afb7906193e21f0753bca1af458610dda0 [2020-09-17T08:35:48.128Z] ---> Running in 952f34b84b62 [2020-09-17T08:35:48.406Z] Removing intermediate container 952f34b84b62 [2020-09-17T08:35:48.406Z] ---> ddb75ddf43ec [2020-09-17T08:35:48.406Z] Step 26/26 : LABEL version=0.0.0 [2020-09-17T08:35:48.679Z] ---> Running in 3ba8ccf4b482 [2020-09-17T08:35:48.952Z] Removing intermediate container 3ba8ccf4b482 [2020-09-17T08:35:48.952Z] ---> 41c133b8b975 [2020-09-17T08:35:48.952Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-17T08:35:48.952Z] Successfully built 41c133b8b975 [2020-09-17T08:35:48.952Z] 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-09-17T08:35:52.383Z] provisioning config files... [2020-09-17T08:35:52.397Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-61@tmp/config7758796650818130913tmp [Pipeline] { [Pipeline] sh [2020-09-17T08:35:52.839Z] + curl -s https://codecov.io/bash [2020-09-17T08:35:52.839Z] + bash -s - -t @/w/workspace/dgexfoundry_device-snmp-go_PR-61@tmp/config7758796650818130913tmp [Pipeline] } [2020-09-17T08:35:53.127Z] 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] { (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-09-17T08:35:56.541Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T08:35:57.159Z] ---> package-listing.sh [2020-09-17T08:35:57.159Z] ++ facter osfamily [2020-09-17T08:35:57.159Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-17T08:35:57.159Z] + OS_FAMILY=redhat [2020-09-17T08:35:57.159Z] + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-61 [2020-09-17T08:35:57.159Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-17T08:35:57.159Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-17T08:35:57.159Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-17T08:35:57.159Z] + PACKAGES=/tmp/packages_start.txt [2020-09-17T08:35:57.159Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-61 ']' [2020-09-17T08:35:57.159Z] + PACKAGES=/tmp/packages_end.txt [2020-09-17T08:35:57.159Z] + case "${OS_FAMILY}" in [2020-09-17T08:35:57.159Z] + rpm -qa [2020-09-17T08:35:57.159Z] + sort [2020-09-17T08:36:01.421Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-17T08:36:01.421Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-17T08:36:01.421Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-17T08:36:01.421Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-61 ']' [2020-09-17T08:36:01.421Z] + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-61/archives/ [2020-09-17T08:36:01.421Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-61/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:36:02.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T08:36:02.960Z] [2020-09-17T08:36:02.960Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:36:03.570Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T08:36:03.835Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-17T08:36:03.835Z] df20fa9351a1: Pulling fs layer [2020-09-17T08:36:03.835Z] 36b3adc4ff6f: Pulling fs layer [2020-09-17T08:36:03.835Z] 8ad3a11d3b57: Pulling fs layer [2020-09-17T08:36:03.835Z] 46f8f816bc3b: Pulling fs layer [2020-09-17T08:36:03.835Z] 0dadc02b9964: Pulling fs layer [2020-09-17T08:36:03.835Z] ce6a7cf60c04: Pulling fs layer [2020-09-17T08:36:03.835Z] 7a184a31f384: Pulling fs layer [2020-09-17T08:36:03.835Z] 0879bd2ef858: Pulling fs layer [2020-09-17T08:36:03.835Z] 0dadc02b9964: Waiting [2020-09-17T08:36:03.835Z] ce6a7cf60c04: Waiting [2020-09-17T08:36:03.835Z] 7a184a31f384: Waiting [2020-09-17T08:36:03.835Z] 0879bd2ef858: Waiting [2020-09-17T08:36:03.835Z] 46f8f816bc3b: Waiting [2020-09-17T08:36:03.835Z] 36b3adc4ff6f: Verifying Checksum [2020-09-17T08:36:03.835Z] 36b3adc4ff6f: Download complete [2020-09-17T08:36:04.099Z] 46f8f816bc3b: Verifying Checksum [2020-09-17T08:36:04.099Z] 46f8f816bc3b: Download complete [2020-09-17T08:36:04.099Z] df20fa9351a1: Verifying Checksum [2020-09-17T08:36:04.099Z] df20fa9351a1: Download complete [2020-09-17T08:36:04.099Z] ce6a7cf60c04: Verifying Checksum [2020-09-17T08:36:04.099Z] ce6a7cf60c04: Download complete [2020-09-17T08:36:04.375Z] 7a184a31f384: Verifying Checksum [2020-09-17T08:36:04.375Z] 7a184a31f384: Download complete [2020-09-17T08:36:04.375Z] 0dadc02b9964: Verifying Checksum [2020-09-17T08:36:04.375Z] 0dadc02b9964: Download complete [2020-09-17T08:36:04.651Z] df20fa9351a1: Pull complete [2020-09-17T08:36:04.915Z] 36b3adc4ff6f: Pull complete [2020-09-17T08:36:04.915Z] 8ad3a11d3b57: Download complete [2020-09-17T08:36:05.498Z] 8ad3a11d3b57: Pull complete [2020-09-17T08:36:05.498Z] 46f8f816bc3b: Pull complete [2020-09-17T08:36:06.076Z] 0dadc02b9964: Pull complete [2020-09-17T08:36:06.076Z] ce6a7cf60c04: Pull complete [2020-09-17T08:36:06.340Z] 7a184a31f384: Pull complete [2020-09-17T08:36:06.918Z] 0879bd2ef858: Verifying Checksum [2020-09-17T08:36:06.918Z] 0879bd2ef858: Download complete [2020-09-17T08:36:09.517Z] 0879bd2ef858: Pull complete [2020-09-17T08:36:09.517Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-17T08:36:09.517Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T08:36:09.517Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-17T08:36:09.741Z] prd-centos7-docker-4c-2g-128 does not seem to be running inside a container [2020-09-17T08:36:09.812Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-snmp-go_PR-61 -v /w/workspace/dgexfoundry_device-snmp-go_PR-61:/w/workspace/dgexfoundry_device-snmp-go_PR-61:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-61@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-61@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-17T08:36:15.116Z] $ docker top e3e445abbb5522c0f145c4cf6f6e8ec2d220e36ff926a439dbd9a263ba3925f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T08:36:15.698Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-17T08:36:16.031Z] + ls /var/log/sa-host [2020-09-17T08:36:16.031Z] + sadf -c /var/log/sa-host/sa05 [2020-09-17T08:36:16.031Z] file_magic: OK [2020-09-17T08:36:16.031Z] HZ: Using current value: 100 [2020-09-17T08:36:16.031Z] file_header: OK [2020-09-17T08:36:16.031Z] 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-09-17T08:36:16.031Z] Statistics: [2020-09-17T08:36:16.031Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T08:36:16.031Z] File successfully converted to sysstat format version 12.2.1 [2020-09-17T08:36:16.031Z] + sadf -c /var/log/sa-host/sa17 [2020-09-17T08:36:16.031Z] file_magic: OK [2020-09-17T08:36:16.031Z] HZ: Using current value: 100 [2020-09-17T08:36:16.031Z] file_header: OK [2020-09-17T08:36:16.031Z] 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-09-17T08:36:16.031Z] Statistics: [2020-09-17T08:36:16.031Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T08:36:16.031Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-17T08:36:16.171Z] provisioning config files... [2020-09-17T08:36:16.189Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-61@tmp/config8757973202499037359tmp [Pipeline] { [Pipeline] echo [2020-09-17T08:36:16.324Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T08:36:16.682Z] ---> create-netrc.sh [Pipeline] echo [2020-09-17T08:36:16.712Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T08:36:17.058Z] ---> logs-deploy.sh [2020-09-17T08:36:17.058Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-61/1 [2020-09-17T08:36:17.058Z] INFO: archiving workspace using pattern(s): [2020-09-17T08:36:18.453Z] Archives upload complete. [2020-09-17T08:36:18.453Z] INFO: archiving logs to Nexus