Pull request #61 updated 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 2a9ba1b6efe470c04f17390be7d910f3afbc8254+c3a411597e9cf6081b038267f0590ff316b15934 (65ee0e9f23ecf3d717254304ff953085089be1c8) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 ‘prd-centos7-docker-4c-2g-138’ is offline; ‘prd-centos7-docker-4c-2g-144’ is offline; ‘prd-centos7-docker-4c-2g-147’ is offline; ‘prd-centos7-docker-8c-8g-141’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-134’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-153 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 > 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 Fetching without tags Merging remotes/origin/master commit c3a411597e9cf6081b038267f0590ff316b15934 into PR head commit 2a9ba1b6efe470c04f17390be7d910f3afbc8254 Merge succeeded, producing 2a9ba1b6efe470c04f17390be7d910f3afbc8254 Checking out Revision 2a9ba1b6efe470c04f17390be7d910f3afbc8254 (PR-61) > 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 2a9ba1b6efe470c04f17390be7d910f3afbc8254 # 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 2a9ba1b6efe470c04f17390be7d910f3afbc8254 # timeout=10 Commit message: "build: Upgrade to Go1.15" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:51:07 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk de6315afb7906193e21f0753bca1af458610dda0 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:51:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:51:08 ========================================================= 08:51:08 EdgeX Global Pipelines Version Info 08:51:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:51:09 ------------------- 08:51:09 stable info: 08:51:09 ------------------- 08:51:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:51:09 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 08:51:09 Message: update stable to v1.0.122 08:51:10 ------------------- 08:51:10 experimental info: 08:51:10 ------------------- 08:51:10 Commited By: **** collab-it+edgex@linuxfoundation.org 08:51:10 Commit SHA: 84d9a0843d1df7ebf9e0c4533e50f756df06f1d7 08:51:10 Message: update experimental to v1.0.124 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 08:51:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 08:51:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 08:51:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:51:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:51:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:51:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:51:11 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:51:11 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:51:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:51:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:51:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:51:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo 08:51:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:51:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:51:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:51:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:51:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:51:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:51:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:51:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:51:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:51:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:51:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-61 [Pipeline] echo 08:51:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-61 [Pipeline] echo 08:51:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-61 [Pipeline] echo 08:51:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2a9ba1b6efe470c04f17390be7d910f3afbc8254 [Pipeline] echo 08:51:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2a9ba1b [Pipeline] echo 08:51:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:51:14 + git log --format=format:%s -1 2a9ba1b6efe470c04f17390be7d910f3afbc8254 [Pipeline] echo 08:51:14 GIT_COMMIT: 2a9ba1b6efe470c04f17390be7d910f3afbc8254, Commit Message: build: Upgrade to Go1.15 [Pipeline] echo 08:51:14 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:51:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:51:15 08:51:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:51:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:51:16 latest: Pulling from edgex-devops/git-semver 08:51:16 31603596830f: Pulling fs layer 08:51:16 2a8b12db71e7: Pulling fs layer 08:51:16 6ca5941a6612: Pulling fs layer 08:51:16 ecc8261a40a4: Pulling fs layer 08:51:16 ecc8261a40a4: Waiting 08:51:16 2a8b12db71e7: Verifying Checksum 08:51:16 2a8b12db71e7: Download complete 08:51:16 ecc8261a40a4: Verifying Checksum 08:51:16 ecc8261a40a4: Download complete 08:51:16 6ca5941a6612: Verifying Checksum 08:51:16 6ca5941a6612: Download complete 08:51:16 31603596830f: Verifying Checksum 08:51:16 31603596830f: Download complete 08:51:16 31603596830f: Pull complete 08:51:16 2a8b12db71e7: Pull complete 08:51:17 6ca5941a6612: Pull complete 08:51:17 ecc8261a40a4: Pull complete 08:51:18 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:51:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:51:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:51:18 prd-centos7-docker-4c-2g-153 does not seem to be running inside a container 08:51:18 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:51:20 $ docker top bd58cede4cd294713586336ca9cd1de0c42d9ce710c84e46700f635f14b13623 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:51:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:51:20 [ssh-agent] Looking for ssh-agent implementation... 08:51:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:51:21 $ docker exec bd58cede4cd294713586336ca9cd1de0c42d9ce710c84e46700f635f14b13623 ssh-agent 08:51:21 SSH_AUTH_SOCK=/tmp/ssh-d3eTqYzooPqV/agent.11 08:51:21 SSH_AGENT_PID=16 08:51:21 Running ssh-add (command line suppressed) 08:51:21 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-61@tmp/private_key_8750100457189370165.key (/w/workspace/dgexfoundry_device-snmp-go_PR-61@tmp/private_key_8750100457189370165.key) 08:51:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:51:21 + git describe --exact-match --tags HEAD 08:51:21 fatal: No names found, cannot describe anything. [Pipeline] } 08:51:21 $ docker exec --env ******** --env ******** bd58cede4cd294713586336ca9cd1de0c42d9ce710c84e46700f635f14b13623 ssh-agent -k 08:51:21 unset SSH_AUTH_SOCK; 08:51:21 unset SSH_AGENT_PID; 08:51:21 echo Agent pid 16 killed; 08:51:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:51:22 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:51:22 This usually means this commit has not been tagged. [Pipeline] sshagent 08:51:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:51:22 [ssh-agent] Looking for ssh-agent implementation... 08:51:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:51:22 $ docker exec bd58cede4cd294713586336ca9cd1de0c42d9ce710c84e46700f635f14b13623 ssh-agent 08:51:22 SSH_AUTH_SOCK=/tmp/ssh-Y8cb8WsE73fw/agent.45 08:51:22 SSH_AGENT_PID=50 08:51:22 Running ssh-add (command line suppressed) 08:51:22 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-61@tmp/private_key_5230049575850348596.key (/w/workspace/dgexfoundry_device-snmp-go_PR-61@tmp/private_key_5230049575850348596.key) 08:51:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:51:23 + git semver init 08:51:23 # -> Open(): unable to determine branch for HEAD 08:51:23 # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-61/.git 08:51:23 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-61 08:51:23 # $SEMVER_REMOTE_NAME = origin 08:51:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:51:23 # $SEMVER_USER_NAME = edgex-jenkins 08:51:23 # $SEMVER_BRANCH = PR-61 08:51:23 # $SEMVER_TEMP = /tmp/semver-522391444 08:51:23 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 08:51:23 # '/tmp/semver-522391444' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-61/.semver' 08:51:23 # -> Force: false 08:51:23 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-61/.semver [Pipeline] } 08:51:23 $ docker exec --env ******** --env ******** bd58cede4cd294713586336ca9cd1de0c42d9ce710c84e46700f635f14b13623 ssh-agent -k 08:51:23 unset SSH_AUTH_SOCK; 08:51:23 unset SSH_AGENT_PID; 08:51:23 echo Agent pid 50 killed; 08:51:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:51:24 + git semver [Pipeline] } 08:51:24 $ docker stop --time=1 bd58cede4cd294713586336ca9cd1de0c42d9ce710c84e46700f635f14b13623 08:51:25 $ docker rm -f bd58cede4cd294713586336ca9cd1de0c42d9ce710c84e46700f635f14b13623 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:51:26 Stashed 26 file(s) [Pipeline] echo 08:51:26 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 08:51:26 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 08:51:42 Still waiting to schedule task 08:51:42 ‘prd-centos7-docker-4c-2g-136’ is offline; ‘prd-centos7-docker-4c-2g-138’ is offline; ‘prd-centos7-docker-4c-2g-139’ is offline; ‘prd-centos7-docker-4c-2g-144’ is offline; ‘prd-centos7-docker-4c-2g-156’ is offline; ‘prd-centos7-docker-8c-8g-141’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-16c-16g-143’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-134’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-137’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-142’ doesn’t have label ‘centos7-docker-4c-2g’ 08:51:42 Still waiting to schedule task 08:51:42 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 08:53:46 Running on prd-centos7-docker-4c-2g-162 in /w/workspace/dgexfoundry_device-snmp-go_PR-61 [Pipeline] { [Pipeline] ws 08:53:46 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 08:53:50 using credential edgex-jenkins-ssh 08:53:50 Cloning the remote Git repository 08:53:50 Cloning with configured refspecs honoured and without tags 08:53:51 Fetching without tags 08:53:51 Merging remotes/origin/master commit c3a411597e9cf6081b038267f0590ff316b15934 into PR head commit 2a9ba1b6efe470c04f17390be7d910f3afbc8254 08:53:50 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 08:53:50 > git init /w/workspace/device-snmp-go/2 # timeout=10 08:53:50 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 08:53:50 > git --version # timeout=10 08:53:50 > git --version # 'git version 2.16.5' 08:53:50 using GIT_SSH to set credentials SSH Credentials for GitHub 08:53:50 > 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 08:53:51 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 08:53:51 > git config --add remote.origin.fetch +refs/pull/61/head:refs/remotes/origin/PR-61 # timeout=10 08:53:51 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:53:51 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 08:53:51 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 08:53:51 using GIT_SSH to set credentials SSH Credentials for GitHub 08:53:51 > 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 08:53:51 > git config core.sparsecheckout # timeout=10 08:53:51 Merge succeeded, producing 2a9ba1b6efe470c04f17390be7d910f3afbc8254 08:53:51 Checking out Revision 2a9ba1b6efe470c04f17390be7d910f3afbc8254 (PR-61) 08:53:51 > git checkout -f 2a9ba1b6efe470c04f17390be7d910f3afbc8254 # timeout=10 08:53:51 > git remote # timeout=10 08:53:51 > git config --get remote.origin.url # timeout=10 08:53:51 using GIT_SSH to set credentials SSH Credentials for GitHub 08:53:51 > git merge c3a411597e9cf6081b038267f0590ff316b15934 # timeout=10 08:53:51 > git rev-parse HEAD^{commit} # timeout=10 08:53:51 > git config core.sparsecheckout # timeout=10 08:53:51 > git checkout -f 2a9ba1b6efe470c04f17390be7d910f3afbc8254 # timeout=10 08:53:55 Commit message: "build: Upgrade to Go1.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:53:56 ========================================================= 08:53:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:53:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:53:57 + 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 . 08:53:57 Sending build context to Docker daemon 370.2kB 08:53:57 Step 1/10 : ARG BASE=golang:1.15-alpine 08:53:57 Step 2/10 : FROM ${BASE} 08:53:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:53:57 df20fa9351a1: Pulling fs layer 08:53:57 ed8968b2872e: Pulling fs layer 08:53:57 a92cc7c5fd73: Pulling fs layer 08:53:57 e871e8e8d7a9: Pulling fs layer 08:53:57 e73272ec9a57: Pulling fs layer 08:53:57 1e910a182e73: Pulling fs layer 08:53:57 4e634b169226: Pulling fs layer 08:53:57 e871e8e8d7a9: Waiting 08:53:57 e73272ec9a57: Waiting 08:53:57 1e910a182e73: Waiting 08:53:57 4e634b169226: Waiting 08:53:57 a92cc7c5fd73: Verifying Checksum 08:53:57 a92cc7c5fd73: Download complete 08:53:57 ed8968b2872e: Verifying Checksum 08:53:57 ed8968b2872e: Download complete 08:53:57 e73272ec9a57: Download complete 08:53:57 1e910a182e73: Verifying Checksum 08:53:57 1e910a182e73: Download complete 08:53:58 df20fa9351a1: Verifying Checksum 08:53:58 df20fa9351a1: Download complete 08:53:58 df20fa9351a1: Pull complete 08:53:59 ed8968b2872e: Pull complete 08:53:59 a92cc7c5fd73: Pull complete 08:54:00 4e634b169226: Verifying Checksum 08:54:00 4e634b169226: Download complete 08:54:01 e871e8e8d7a9: Verifying Checksum 08:54:01 e871e8e8d7a9: Download complete 08:54:06 e871e8e8d7a9: Pull complete 08:54:06 e73272ec9a57: Pull complete 08:54:06 1e910a182e73: Pull complete 08:54:10 4e634b169226: Pull complete 08:54:10 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 08:54:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:54:10 ---> f7629b54cfaa 08:54:10 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 08:54:10 ---> Running in 45a7cdf5309f 08:54:11 Removing intermediate container 45a7cdf5309f 08:54:11 ---> 17cfcc5c0062 08:54:11 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 08:54:11 ---> Running in eb4368c03df9 08:54:11 Removing intermediate container eb4368c03df9 08:54:11 ---> ba2b47ea1685 08:54:11 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 08:54:11 ---> Running in 92a4c332469d 08:54:11 Removing intermediate container 92a4c332469d 08:54:11 ---> c8daf739ebed 08:54:11 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:54:11 ---> Running in 91e095066455 08:54:12 Removing intermediate container 91e095066455 08:54:12 ---> ea9043e2e4dd 08:54:12 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:54:12 ---> Running in f0a92293ad08 08:54:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:54:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:54:17 OK: 166 MiB in 39 packages 08:54:17 Removing intermediate container f0a92293ad08 08:54:17 ---> cf4ae46751d9 08:54:17 Step 8/10 : WORKDIR /device-snmp-go 08:54:17 ---> Running in c0428d0fb6d6 08:54:17 Removing intermediate container c0428d0fb6d6 08:54:17 ---> 6e8032574c1f 08:54:17 Step 9/10 : COPY . . 08:54:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-161 in /w/workspace/dgexfoundry_device-snmp-go_PR-61 [Pipeline] { [Pipeline] ws 08:54:18 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 08:54:18 ---> 075f49f4fab6 08:54:18 Step 10/10 : RUN go mod download 08:54:18 ---> Running in 53644450bbc1 08:54:24 using credential edgex-jenkins-ssh 08:54:24 Cloning the remote Git repository 08:54:24 Cloning with configured refspecs honoured and without tags 08:54:24 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 08:54:25 > git init /w/workspace/device-snmp-go/2 # timeout=10 08:54:25 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 08:54:25 > git --version # timeout=10 08:54:25 > git --version # 'git version 2.17.1' 08:54:25 using GIT_SSH to set credentials SSH Credentials for GitHub 08:54:25 > 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 08:54:25 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 08:54:25 > git config --add remote.origin.fetch +refs/pull/61/head:refs/remotes/origin/PR-61 # timeout=10 08:54:25 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:54:26 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 08:54:26 Fetching without tags 08:54:26 Merging remotes/origin/master commit c3a411597e9cf6081b038267f0590ff316b15934 into PR head commit 2a9ba1b6efe470c04f17390be7d910f3afbc8254 08:54:26 Merge succeeded, producing 2a9ba1b6efe470c04f17390be7d910f3afbc8254 08:54:26 Checking out Revision 2a9ba1b6efe470c04f17390be7d910f3afbc8254 (PR-61) 08:54:26 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 08:54:26 using GIT_SSH to set credentials SSH Credentials for GitHub 08:54:26 > 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 08:54:26 > git config core.sparsecheckout # timeout=10 08:54:26 > git checkout -f 2a9ba1b6efe470c04f17390be7d910f3afbc8254 # timeout=10 08:54:26 > git remote # timeout=10 08:54:26 > git config --get remote.origin.url # timeout=10 08:54:26 using GIT_SSH to set credentials SSH Credentials for GitHub 08:54:26 > git merge c3a411597e9cf6081b038267f0590ff316b15934 # timeout=10 08:54:26 > git rev-parse HEAD^{commit} # timeout=10 08:54:26 > git config core.sparsecheckout # timeout=10 08:54:27 > git checkout -f 2a9ba1b6efe470c04f17390be7d910f3afbc8254 # timeout=10 08:54:30 Removing intermediate container 53644450bbc1 08:54:30 ---> 9390c8a54896 08:54:30 Successfully built 9390c8a54896 08:54:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:54:30 + docker inspect -f . ci-base-image-x86_64 08:54:30 . [Pipeline] withDockerContainer 08:54:30 prd-centos7-docker-4c-2g-162 does not seem to be running inside a container 08:54:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:54:31 Commit message: "build: Upgrade to Go1.15" 08:54:31 $ docker top 242fcfe83ca7ce7c327b61238a6e6fe263f8e5735dde57f7d7b3ad565f852815 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 08:54:32 + go version 08:54:32 go version go1.15.2 linux/amd64 [Pipeline] } 08:54:32 $ docker stop --time=1 242fcfe83ca7ce7c327b61238a6e6fe263f8e5735dde57f7d7b3ad565f852815 08:54:33 $ docker rm -f 242fcfe83ca7ce7c327b61238a6e6fe263f8e5735dde57f7d7b3ad565f852815 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] echo 08:54:33 ========================================================= 08:54:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:54:33 ========================================================= [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:54:35 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 08:54:35 + docker inspect -f . ci-base-image-x86_64 08:54:35 . [Pipeline] withDockerContainer 08:54:35 prd-centos7-docker-4c-2g-162 does not seem to be running inside a container 08:54:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:54:36 $ docker top 1c93b8f7a33fd773c0b964b4d9bc3862d2c67b06d8b1cd04257982c6678cfcee -eo pid,comm 08:54:36 Sending build context to Docker daemon 370.2kB 08:54:36 Step 1/10 : ARG BASE=golang:1.15-alpine 08:54:36 Step 2/10 : FROM ${BASE} [Pipeline] { [Pipeline] sh 08:54:36 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:54:36 b538f80385f9: Pulling fs layer 08:54:36 74f711af9a0d: Pulling fs layer 08:54:36 99f96fe45779: Pulling fs layer 08:54:36 8529a6b9a6be: Pulling fs layer 08:54:36 45590311c82a: Pulling fs layer 08:54:36 69ca0ff8b7b3: Pulling fs layer 08:54:36 209524e5b208: Pulling fs layer 08:54:36 45590311c82a: Waiting 08:54:36 69ca0ff8b7b3: Waiting 08:54:36 209524e5b208: Waiting 08:54:36 8529a6b9a6be: Waiting 08:54:36 99f96fe45779: Verifying Checksum 08:54:36 99f96fe45779: Download complete 08:54:36 74f711af9a0d: Verifying Checksum 08:54:36 74f711af9a0d: Download complete 08:54:36 45590311c82a: Download complete 08:54:36 + make test 08:54:36 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:54:36 69ca0ff8b7b3: Download complete 08:54:36 b538f80385f9: Verifying Checksum 08:54:36 b538f80385f9: Download complete 08:54:36 ? github.com/edgexfoundry/device-snmp-go [no test files] 08:54:37 b538f80385f9: Pull complete 08:54:38 74f711af9a0d: Pull complete 08:54:38 99f96fe45779: Pull complete 08:54:39 209524e5b208: Verifying Checksum 08:54:39 209524e5b208: Download complete 08:54:41 8529a6b9a6be: Verifying Checksum 08:54:41 8529a6b9a6be: Download complete 08:54:47 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 08:54:47 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.015s coverage: 0.0% of statements 08:54:47 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:54:47 gofmt -l . 08:54:47 [ "`gofmt -l .`" = "" ] 08:54:47 ./bin/test-attribution-txt.sh 08:54:47 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:54:48 Stashed 1 file(s) [Pipeline] } 08:54:48 $ docker stop --time=1 1c93b8f7a33fd773c0b964b4d9bc3862d2c67b06d8b1cd04257982c6678cfcee 08:54:50 $ docker rm -f 1c93b8f7a33fd773c0b964b4d9bc3862d2c67b06d8b1cd04257982c6678cfcee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 08:54:51 8529a6b9a6be: Pull complete 08:54:51 45590311c82a: Pull complete 08:54:51 69ca0ff8b7b3: Pull complete [Pipeline] sh 08:54:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:54:52 + ls -al . 08:54:52 total 104 08:54:52 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 17 08:54 . 08:54:52 drwxrwxr-x. 4 jenkins jenkins 28 Sep 17 08:53 .. 08:54:52 -rw-rw-r--. 1 jenkins jenkins 4405 Sep 17 08:53 Attribution.txt 08:54:52 drwxrwxr-x. 2 jenkins jenkins 87 Sep 17 08:53 bin 08:54:52 drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 08:53 cmd 08:54:52 -rw-r--r--. 1 jenkins jenkins 8493 Sep 17 08:54 coverage.out 08:54:52 -rw-rw-r--. 1 jenkins jenkins 1002 Sep 17 08:53 Dockerfile 08:54:52 -rw-rw-r--. 1 jenkins jenkins 409 Sep 17 08:53 Dockerfile.build 08:54:52 -rw-rw-r--. 1 jenkins jenkins 6 Sep 17 08:53 .dockerignore 08:54:52 drwxrwxr-x. 8 jenkins jenkins 179 Sep 17 08:53 .git 08:54:52 drwxrwxr-x. 2 jenkins jenkins 38 Sep 17 08:53 .github 08:54:52 -rw-rw-r--. 1 jenkins jenkins 272 Sep 17 08:53 .gitignore 08:54:52 -rw-r--r--. 1 jenkins jenkins 203 Sep 17 08:54 go.mod 08:54:52 -rw-r--r--. 1 jenkins jenkins 12704 Sep 17 08:54 go.sum 08:54:52 drwxrwxr-x. 3 jenkins jenkins 20 Sep 17 08:53 internal 08:54:52 -rw-rw-r--. 1 jenkins jenkins 656 Sep 17 08:53 Jenkinsfile 08:54:52 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 17 08:53 LICENSE 08:54:52 -rw-rw-r--. 1 jenkins jenkins 937 Sep 17 08:53 Makefile 08:54:52 drwxrwxr-x. 2 jenkins jenkins 84 Sep 17 08:53 profiles 08:54:52 -rw-rw-r--. 1 jenkins jenkins 12398 Sep 17 08:53 README.md 08:54:52 drwxrwxr-x. 3 jenkins jenkins 74 Sep 17 08:53 .semver 08:54:52 -rw-rw-r--. 1 jenkins jenkins 5 Sep 17 08:51 VERSION 08:54:52 -rw-rw-r--. 1 jenkins jenkins 209 Sep 17 08:53 version.go [Pipeline] isUnix [Pipeline] sh 08:54:53 + 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=2a9ba1b6efe470c04f17390be7d910f3afbc8254 --label arch=amd64 --label version=0.0.0 . 08:54:53 Sending build context to Docker daemon 379.4kB 08:54:53 Step 1/26 : ARG BASE=golang:1.15-alpine 08:54:53 Step 2/26 : FROM ${BASE} AS builder 08:54:53 ---> 9390c8a54896 08:54:53 Step 3/26 : ARG MAKE='make build' 08:54:53 ---> Running in 28525c6cbc04 08:54:53 Removing intermediate container 28525c6cbc04 08:54:53 ---> a50b1f4df27a 08:54:53 Step 4/26 : ARG ALPINE_PKG_BASE="make git" 08:54:53 ---> Running in f4f80534027c 08:54:53 Removing intermediate container f4f80534027c 08:54:53 ---> 086fa0300f53 08:54:53 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 08:54:53 ---> Running in 36afc16976c2 08:54:53 Removing intermediate container 36afc16976c2 08:54:53 ---> febade9f5561 08:54:53 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:54:53 ---> Running in 250a89566df6 08:54:54 209524e5b208: Pull complete 08:54:54 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 08:54:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:54:54 ---> 5bddaf1c2fca 08:54:54 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 08:54:54 Removing intermediate container 250a89566df6 08:54:54 ---> 4aab1714371b 08:54:54 Step 7/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:54:54 ---> Running in 002a37b9d2a4 08:54:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:54:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:54:57 OK: 166 MiB in 39 packages 08:54:58 Removing intermediate container 002a37b9d2a4 08:54:58 ---> 1266e5e3444e 08:54:58 Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 08:54:58 ---> Running in 4072d5c673f7 08:54:58 Removing intermediate container 4072d5c673f7 08:54:58 ---> 2f5ef67d73a5 08:54:58 Step 9/26 : COPY go.mod . 08:54:58 ---> Running in 5029431dd056 08:54:58 Removing intermediate container 5029431dd056 08:54:58 ---> c56fb4a7bc29 08:54:58 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 08:54:58 ---> e2d73b061c1c 08:54:58 Step 10/26 : COPY Makefile . 08:54:58 ---> Running in 5928f4e19ab0 08:54:58 ---> 03c0ecea1a1a 08:54:58 Step 11/26 : RUN make update 08:54:58 ---> Running in 59465abd548e 08:54:58 Removing intermediate container 5928f4e19ab0 08:54:58 ---> 035d444d294c 08:54:58 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 08:54:59 ---> Running in e9506e11b339 08:54:59 CGO_ENABLED=0 GO111MODULE=on go mod download 08:54:59 Removing intermediate container e9506e11b339 08:54:59 ---> a74fefd50b10 08:54:59 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:54:59 ---> Running in 98a86c3c04cf 08:54:59 Removing intermediate container 59465abd548e 08:54:59 ---> dea12edb495a 08:54:59 Step 12/26 : COPY . . 08:55:00 ---> 3372901b30bc 08:55:00 Step 13/26 : RUN ${MAKE} 08:55:00 ---> Running in 9b7185f80748 08:55:00 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 08:55:03 Removing intermediate container 98a86c3c04cf 08:55:03 ---> 9cf77e0b2239 08:55:03 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:55:03 ---> Running in 8578c581b05a 08:55:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:55:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:55:06 OK: 142 MiB in 39 packages 08:55:07 Removing intermediate container 8578c581b05a 08:55:07 ---> f7053ab19885 08:55:07 Step 8/10 : WORKDIR /device-snmp-go 08:55:07 ---> Running in 440185865a34 08:55:08 Removing intermediate container 440185865a34 08:55:08 ---> 87c4982114f9 08:55:08 Step 9/10 : COPY . . 08:55:08 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:55:09 ---> 5c97c14eb72d 08:55:09 Step 10/10 : RUN go mod download 08:55:09 ---> Running in 371a4eca2ee4 08:55:10 Removing intermediate container 9b7185f80748 08:55:10 ---> 3326343cfce0 08:55:10 Step 14/26 : FROM alpine 08:55:10 latest: Pulling from library/alpine 08:55:11 df20fa9351a1: Already exists 08:55:11 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 08:55:11 Status: Downloaded newer image for alpine:latest 08:55:11 ---> a24bb4013296 08:55:11 Step 15/26 : ENV APP_PORT=49993 08:55:11 ---> Running in 539ce4b3d19f 08:55:11 Removing intermediate container 539ce4b3d19f 08:55:11 ---> 5ad14ccbbbb4 08:55:11 Step 16/26 : EXPOSE $APP_PORT 08:55:11 ---> Running in ae5b3f13fb42 08:55:11 Removing intermediate container ae5b3f13fb42 08:55:11 ---> 6444e8201174 08:55:11 Step 17/26 : ENV DEVICE_PORT=161 08:55:11 ---> Running in 1119cbb2c049 08:55:12 Removing intermediate container 1119cbb2c049 08:55:12 ---> ce3d1d92ab6c 08:55:12 Step 18/26 : EXPOSE $DEVICE_PORT 08:55:12 ---> Running in ac3d1c2bc626 08:55:12 Removing intermediate container ac3d1c2bc626 08:55:12 ---> d062c4f20d5c 08:55:12 Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 08:55:12 ---> 5f31e4b22098 08:55:12 Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 08:55:12 ---> 222209f98bd2 08:55:12 Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 08:55:13 ---> b65e2b618dd0 08:55:13 Step 22/26 : ENTRYPOINT ["/device-snmp-go"] 08:55:13 ---> Running in 06c1d45dcae3 08:55:13 Removing intermediate container 06c1d45dcae3 08:55:13 ---> 0bdac1a02ca0 08:55:13 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 08:55:13 ---> Running in 5457843e5fe8 08:55:13 Removing intermediate container 5457843e5fe8 08:55:13 ---> 513f04f8c053 08:55:13 Step 24/26 : LABEL arch=amd64 08:55:13 ---> Running in 5e11e3feac2d 08:55:13 Removing intermediate container 5e11e3feac2d 08:55:13 ---> bf1af293ffea 08:55:13 Step 25/26 : LABEL git_sha=2a9ba1b6efe470c04f17390be7d910f3afbc8254 08:55:13 ---> Running in 07be4f86be7c 08:55:14 Removing intermediate container 07be4f86be7c 08:55:14 ---> 937b8d1eb894 08:55:14 Step 26/26 : LABEL version=0.0.0 08:55:14 ---> Running in 738cb5dd6b19 08:55:14 Removing intermediate container 738cb5dd6b19 08:55:14 ---> e343a5d12e45 08:55:14 [Warning] One or more build-args [ARCH] were not consumed 08:55:14 Successfully built e343a5d12e45 08:55:14 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] } 08:55:24 Removing intermediate container 371a4eca2ee4 08:55:24 ---> 46367728c81e 08:55:24 Successfully built 46367728c81e 08:55:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:55:25 + docker inspect -f . ci-base-image-arm64 08:55:25 . [Pipeline] withDockerContainer 08:55:25 prd-ubuntu18.04-docker-arm64-4c-16g-161 does not seem to be running inside a container 08:55:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:55:27 $ docker top caced8bdd4992b46e290243af47073589f91cd0434cb55ab30863a392f5f6958 -eo pid,comm [Pipeline] { [Pipeline] sh 08:55:28 + go version 08:55:28 go version go1.15.2 linux/arm64 [Pipeline] } 08:55:29 $ docker stop --time=1 caced8bdd4992b46e290243af47073589f91cd0434cb55ab30863a392f5f6958 08:55:31 $ docker rm -f caced8bdd4992b46e290243af47073589f91cd0434cb55ab30863a392f5f6958 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:55:32 + docker inspect -f . ci-base-image-arm64 08:55:32 . [Pipeline] withDockerContainer 08:55:32 prd-ubuntu18.04-docker-arm64-4c-16g-161 does not seem to be running inside a container 08:55:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:55:34 $ docker top c7c70def9922d674d08bbd07bc217fc3abec227404d4910750ff49090a95ab8e -eo pid,comm [Pipeline] { [Pipeline] sh 08:55:35 + make test 08:55:35 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:55:36 ? github.com/edgexfoundry/device-snmp-go [no test files] 08:56:09 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 08:56:09 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.014s coverage: 0.0% of statements 08:56:09 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:56:16 gofmt -l . 08:56:16 [ "`gofmt -l .`" = "" ] 08:56:16 ./bin/test-attribution-txt.sh 08:56:16 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:56:16 Warning: overwriting stash ‘coverage-report’ 08:56:16 Stashed 1 file(s) [Pipeline] } 08:56:16 $ docker stop --time=1 c7c70def9922d674d08bbd07bc217fc3abec227404d4910750ff49090a95ab8e 08:56:19 $ docker rm -f c7c70def9922d674d08bbd07bc217fc3abec227404d4910750ff49090a95ab8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:56:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:56:21 + ls -al . 08:56:21 total 136 08:56:21 drwxrwxr-x 9 jenkins jenkins 4096 Sep 17 08:56 . 08:56:21 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 08:54 .. 08:56:21 -rw-rw-r-- 1 jenkins jenkins 6 Sep 17 08:54 .dockerignore 08:56:21 drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 08:54 .git 08:56:21 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:54 .github 08:56:21 -rw-rw-r-- 1 jenkins jenkins 272 Sep 17 08:54 .gitignore 08:56:21 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:54 .semver 08:56:21 -rw-rw-r-- 1 jenkins jenkins 4405 Sep 17 08:54 Attribution.txt 08:56:21 -rw-rw-r-- 1 jenkins jenkins 1002 Sep 17 08:54 Dockerfile 08:56:21 -rw-rw-r-- 1 jenkins jenkins 409 Sep 17 08:54 Dockerfile.build 08:56:21 -rw-rw-r-- 1 jenkins jenkins 656 Sep 17 08:54 Jenkinsfile 08:56:21 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 17 08:54 LICENSE 08:56:21 -rw-rw-r-- 1 jenkins jenkins 937 Sep 17 08:54 Makefile 08:56:21 -rw-rw-r-- 1 jenkins jenkins 12398 Sep 17 08:54 README.md 08:56:21 -rw-rw-r-- 1 jenkins jenkins 5 Sep 17 08:51 VERSION 08:56:21 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:54 bin 08:56:21 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:54 cmd 08:56:21 -rw-r--r-- 1 jenkins jenkins 8493 Sep 17 08:56 coverage.out 08:56:21 -rw-r--r-- 1 jenkins jenkins 203 Sep 17 08:56 go.mod 08:56:21 -rw-r--r-- 1 jenkins jenkins 12704 Sep 17 08:56 go.sum 08:56:21 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:54 internal 08:56:21 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:54 profiles 08:56:21 -rw-rw-r-- 1 jenkins jenkins 209 Sep 17 08:54 version.go [Pipeline] isUnix [Pipeline] sh 08:56:21 + 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=2a9ba1b6efe470c04f17390be7d910f3afbc8254 --label arch=arm64 --label version=0.0.0 . 08:56:21 Sending build context to Docker daemon 379.4kB 08:56:21 Step 1/26 : ARG BASE=golang:1.15-alpine 08:56:21 Step 2/26 : FROM ${BASE} AS builder 08:56:21 ---> 46367728c81e 08:56:21 Step 3/26 : ARG MAKE='make build' 08:56:22 ---> Running in adf93bd32d49 08:56:22 Removing intermediate container adf93bd32d49 08:56:22 ---> 98462e05ddbf 08:56:22 Step 4/26 : ARG ALPINE_PKG_BASE="make git" 08:56:22 ---> Running in 5a2dc7a0f9be 08:56:23 Removing intermediate container 5a2dc7a0f9be 08:56:23 ---> bb2df058a854 08:56:23 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 08:56:23 ---> Running in 7652b1dcada9 08:56:23 Removing intermediate container 7652b1dcada9 08:56:23 ---> fe0ac299de19 08:56:23 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:56:24 ---> Running in 1d552e893644 08:56:26 Removing intermediate container 1d552e893644 08:56:26 ---> adb400942fea 08:56:26 Step 7/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:56:26 ---> Running in 6e55175cab28 08:56:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:56:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:56:29 OK: 142 MiB in 39 packages 08:56:31 Removing intermediate container 6e55175cab28 08:56:31 ---> 7cb748af1cfa 08:56:31 Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 08:56:31 ---> Running in dfab44591983 08:56:31 Removing intermediate container dfab44591983 08:56:31 ---> c86066ac9853 08:56:31 Step 9/26 : COPY go.mod . 08:56:32 ---> b03ae737a402 08:56:32 Step 10/26 : COPY Makefile . 08:56:32 ---> d47f07e66575 08:56:32 Step 11/26 : RUN make update 08:56:33 ---> Running in 9cf00c33265c 08:56:34 CGO_ENABLED=0 GO111MODULE=on go mod download 08:56:35 Removing intermediate container 9cf00c33265c 08:56:35 ---> 9606b5645165 08:56:35 Step 12/26 : COPY . . 08:56:36 ---> 69e9ebd4707a 08:56:36 Step 13/26 : RUN ${MAKE} 08:56:36 ---> Running in 4b2054d93504 08:56:37 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 08:57:04 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:57:06 Removing intermediate container 4b2054d93504 08:57:06 ---> a4c40c8df874 08:57:06 Step 14/26 : FROM alpine 08:57:07 latest: Pulling from library/alpine 08:57:07 b538f80385f9: Already exists 08:57:07 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 08:57:07 Status: Downloaded newer image for alpine:latest 08:57:07 ---> 62ee0e9f8440 08:57:07 Step 15/26 : ENV APP_PORT=49993 08:57:07 ---> Running in 91be058d3015 08:57:07 Removing intermediate container 91be058d3015 08:57:07 ---> 3429c4a68a7f 08:57:07 Step 16/26 : EXPOSE $APP_PORT 08:57:07 ---> Running in e2e44cc6b186 08:57:08 Removing intermediate container e2e44cc6b186 08:57:08 ---> 0f7618329b24 08:57:08 Step 17/26 : ENV DEVICE_PORT=161 08:57:08 ---> Running in cea1e7db2726 08:57:08 Removing intermediate container cea1e7db2726 08:57:08 ---> b9e67bfc42fa 08:57:08 Step 18/26 : EXPOSE $DEVICE_PORT 08:57:08 ---> Running in fcc330b7f80e 08:57:09 Removing intermediate container fcc330b7f80e 08:57:09 ---> 5412a50c0487 08:57:09 Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 08:57:10 ---> 427f5496cb67 08:57:10 Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 08:57:11 ---> dd24805c2f4d 08:57:11 Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 08:57:12 ---> 28e7c099b3c5 08:57:12 Step 22/26 : ENTRYPOINT ["/device-snmp-go"] 08:57:12 ---> Running in 14e32d5d941d 08:57:12 Removing intermediate container 14e32d5d941d 08:57:12 ---> 3872a5f393c8 08:57:12 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 08:57:12 ---> Running in 2c075eaf13fe 08:57:13 Removing intermediate container 2c075eaf13fe 08:57:13 ---> e030c5e4ddce 08:57:13 Step 24/26 : LABEL arch=arm64 08:57:13 ---> Running in b5007d1fadd2 08:57:13 Removing intermediate container b5007d1fadd2 08:57:13 ---> 11b00e4f54b7 08:57:13 Step 25/26 : LABEL git_sha=2a9ba1b6efe470c04f17390be7d910f3afbc8254 08:57:14 ---> Running in ec79368f82a2 08:57:14 Removing intermediate container ec79368f82a2 08:57:14 ---> 94dc64867c0b 08:57:14 Step 26/26 : LABEL version=0.0.0 08:57:14 ---> Running in b15ffe6efa66 08:57:15 Removing intermediate container b15ffe6efa66 08:57:15 ---> c217cfc4eefd 08:57:15 [Warning] One or more build-args [ARCH] were not consumed 08:57:15 Successfully built c217cfc4eefd 08:57:15 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 08:57:16 provisioning config files... 08:57:16 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-61@tmp/config1412910402260966145tmp [Pipeline] { [Pipeline] sh 08:57:17 + curl -s https://codecov.io/bash 08:57:17 + bash -s - -t @/w/workspace/dgexfoundry_device-snmp-go_PR-61@tmp/config1412910402260966145tmp [Pipeline] } 08:57:17 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 08:57:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:57:21 ---> package-listing.sh 08:57:21 ++ facter osfamily 08:57:21 ++ tr '[:upper:]' '[:lower:]' 08:57:21 + OS_FAMILY=redhat 08:57:21 + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-61 08:57:21 + START_PACKAGES=/tmp/packages_start.txt 08:57:21 + END_PACKAGES=/tmp/packages_end.txt 08:57:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:57:21 + PACKAGES=/tmp/packages_start.txt 08:57:21 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-61 ']' 08:57:21 + PACKAGES=/tmp/packages_end.txt 08:57:21 + case "${OS_FAMILY}" in 08:57:21 + rpm -qa 08:57:21 + sort 08:57:25 + '[' -f /tmp/packages_start.txt ']' 08:57:25 + '[' -f /tmp/packages_end.txt ']' 08:57:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:57:25 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-61 ']' 08:57:25 + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-61/archives/ 08:57:25 + 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 08:57:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:57:25 08:57:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:57:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:57:26 alpine: Pulling from edgex-lftools-log-publisher 08:57:26 df20fa9351a1: Pulling fs layer 08:57:26 36b3adc4ff6f: Pulling fs layer 08:57:26 8ad3a11d3b57: Pulling fs layer 08:57:26 46f8f816bc3b: Pulling fs layer 08:57:26 0dadc02b9964: Pulling fs layer 08:57:26 ce6a7cf60c04: Pulling fs layer 08:57:26 7a184a31f384: Pulling fs layer 08:57:26 0879bd2ef858: Pulling fs layer 08:57:26 0dadc02b9964: Waiting 08:57:26 ce6a7cf60c04: Waiting 08:57:26 0879bd2ef858: Waiting 08:57:26 7a184a31f384: Waiting 08:57:26 46f8f816bc3b: Waiting 08:57:26 36b3adc4ff6f: Download complete 08:57:26 46f8f816bc3b: Verifying Checksum 08:57:26 46f8f816bc3b: Download complete 08:57:26 df20fa9351a1: Verifying Checksum 08:57:26 0dadc02b9964: Verifying Checksum 08:57:26 0dadc02b9964: Download complete 08:57:26 ce6a7cf60c04: Download complete 08:57:26 7a184a31f384: Verifying Checksum 08:57:26 7a184a31f384: Download complete 08:57:27 df20fa9351a1: Pull complete 08:57:27 36b3adc4ff6f: Pull complete 08:57:27 8ad3a11d3b57: Verifying Checksum 08:57:27 8ad3a11d3b57: Download complete 08:57:27 8ad3a11d3b57: Pull complete 08:57:27 46f8f816bc3b: Pull complete 08:57:28 0879bd2ef858: Verifying Checksum 08:57:28 0879bd2ef858: Download complete 08:57:28 0dadc02b9964: Pull complete 08:57:28 ce6a7cf60c04: Pull complete 08:57:28 7a184a31f384: Pull complete 08:57:30 0879bd2ef858: Pull complete 08:57:30 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 08:57:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:57:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:57:31 prd-centos7-docker-4c-2g-153 does not seem to be running inside a container 08:57:31 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:57:35 $ docker top 85289cd3bdd463196d338c91325e958867bd52de8f01096eeee57faab8742f6e -eo pid,comm [Pipeline] { [Pipeline] sh 08:57:36 + mkdir -p /var/log/sa [Pipeline] sh 08:57:36 + ls /var/log/sa-host 08:57:36 + sadf -c /var/log/sa-host/sa05 08:57:36 file_magic: OK 08:57:36 HZ: Using current value: 100 08:57:36 file_header: OK 08:57:36 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 08:57:36 Statistics: 08:57:36 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:57:36 File successfully converted to sysstat format version 12.2.1 08:57:36 + sadf -c /var/log/sa-host/sa17 08:57:36 file_magic: OK 08:57:36 HZ: Using current value: 100 08:57:36 file_header: OK 08:57:36 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 08:57:36 Statistics: 08:57:36 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:57:36 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:57:36 provisioning config files... 08:57:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-61@tmp/config6471188861662120829tmp [Pipeline] { [Pipeline] echo 08:57:36 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:57:37 ---> create-netrc.sh [Pipeline] echo 08:57:37 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:57:37 ---> logs-deploy.sh 08:57:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-61/2 08:57:37 INFO: archiving workspace using pattern(s): 08:57:38 Archives upload complete. 08:57:38 INFO: archiving logs to Nexus