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 08:28:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:28:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:28:37 ========================================================= 08:28:37 EdgeX Global Pipelines Version Info 08:28:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:28:38 ------------------- 08:28:38 stable info: 08:28:38 ------------------- 08:28:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:28:38 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 08:28:38 Message: update stable to v1.0.122 08:28:39 ------------------- 08:28:39 experimental info: 08:28:39 ------------------- 08:28:39 Commited By: **** collab-it+edgex@linuxfoundation.org 08:28:39 Commit SHA: 84d9a0843d1df7ebf9e0c4533e50f756df06f1d7 08:28:39 Message: update experimental to v1.0.124 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 08:28:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 08:28:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 08:28:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:28:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:28:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:28:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:28:41 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:28:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:28:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:28:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:28:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:28:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo 08:28:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:28:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:28:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:28:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:28:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:28:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:28:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:28:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:28:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:28:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:28:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-61 [Pipeline] echo 08:28:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-61 [Pipeline] echo 08:28:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-61 [Pipeline] echo 08:28:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = de6315afb7906193e21f0753bca1af458610dda0 [Pipeline] echo 08:28:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = de6315a [Pipeline] echo 08:28:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:28:45 + git log --format=format:%s -1 de6315afb7906193e21f0753bca1af458610dda0 [Pipeline] echo 08:28:45 GIT_COMMIT: de6315afb7906193e21f0753bca1af458610dda0, Commit Message: build: Upgrade to Go1.15 [Pipeline] echo 08:28:45 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:28:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:28:46 08:28:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:28:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:28:46 latest: Pulling from edgex-devops/git-semver 08:28:46 31603596830f: Pulling fs layer 08:28:46 2a8b12db71e7: Pulling fs layer 08:28:46 6ca5941a6612: Pulling fs layer 08:28:46 ecc8261a40a4: Pulling fs layer 08:28:46 ecc8261a40a4: Waiting 08:28:46 2a8b12db71e7: Download complete 08:28:46 31603596830f: Download complete 08:28:46 ecc8261a40a4: Verifying Checksum 08:28:46 ecc8261a40a4: Download complete 08:28:46 6ca5941a6612: Verifying Checksum 08:28:47 31603596830f: Pull complete 08:28:47 2a8b12db71e7: Pull complete 08:28:48 6ca5941a6612: Pull complete 08:28:48 ecc8261a40a4: Pull complete 08:28:48 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:28:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:28:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:28:48 prd-centos7-docker-4c-2g-128 does not seem to be running inside a container 08:28:48 $ 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 08:28:50 $ docker top d4e1e1bded4c5f5b45280c330685d1ebcd07cd91f84545ecf3e93540e1a3796e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:28:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:28:50 [ssh-agent] Looking for ssh-agent implementation... 08:28:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:28:51 $ docker exec d4e1e1bded4c5f5b45280c330685d1ebcd07cd91f84545ecf3e93540e1a3796e ssh-agent 08:28:51 SSH_AUTH_SOCK=/tmp/ssh-Q33Ga5m0Ws1P/agent.12 08:28:51 SSH_AGENT_PID=18 08:28:51 Running ssh-add (command line suppressed) 08:28:51 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) 08:28:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:28:51 + git describe --exact-match --tags HEAD 08:28:51 fatal: No names found, cannot describe anything. [Pipeline] } 08:28:51 $ docker exec --env ******** --env ******** d4e1e1bded4c5f5b45280c330685d1ebcd07cd91f84545ecf3e93540e1a3796e ssh-agent -k 08:28:52 unset SSH_AUTH_SOCK; 08:28:52 unset SSH_AGENT_PID; 08:28:52 echo Agent pid 18 killed; 08:28:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:28:52 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:28:52 This usually means this commit has not been tagged. [Pipeline] sshagent 08:28:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:28:52 [ssh-agent] Looking for ssh-agent implementation... 08:28:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:28:52 $ docker exec d4e1e1bded4c5f5b45280c330685d1ebcd07cd91f84545ecf3e93540e1a3796e ssh-agent 08:28:52 SSH_AUTH_SOCK=/tmp/ssh-zd3WvXdQmDRp/agent.47 08:28:52 SSH_AGENT_PID=52 08:28:52 Running ssh-add (command line suppressed) 08:28:52 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) 08:28:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:28:53 + git semver init 08:28:53 # -> Open(): unable to determine branch for HEAD 08:28:53 # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-61/.git 08:28:53 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-61 08:28:53 # $SEMVER_REMOTE_NAME = origin 08:28:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:28:53 # $SEMVER_USER_NAME = edgex-jenkins 08:28:53 # $SEMVER_BRANCH = PR-61 08:28:53 # $SEMVER_TEMP = /tmp/semver-923701062 08:28:53 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 08:28:53 # '/tmp/semver-923701062' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-61/.semver' 08:28:53 # -> Force: false 08:28:53 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-61/.semver [Pipeline] } 08:28:53 $ docker exec --env ******** --env ******** d4e1e1bded4c5f5b45280c330685d1ebcd07cd91f84545ecf3e93540e1a3796e ssh-agent -k 08:28:53 unset SSH_AUTH_SOCK; 08:28:53 unset SSH_AGENT_PID; 08:28:53 echo Agent pid 52 killed; 08:28:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:28:54 + git semver [Pipeline] } 08:28:54 $ docker stop --time=1 d4e1e1bded4c5f5b45280c330685d1ebcd07cd91f84545ecf3e93540e1a3796e 08:28:55 $ docker rm -f d4e1e1bded4c5f5b45280c330685d1ebcd07cd91f84545ecf3e93540e1a3796e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:28:56 Stashed 26 file(s) [Pipeline] echo 08:28:56 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 08:28:56 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:29:12 Still waiting to schedule task 08:29:12 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:29:12 Still waiting to schedule task 08:29:12 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-126’ 08:31:16 Running on prd-centos7-docker-4c-2g-130 in /w/workspace/dgexfoundry_device-snmp-go_PR-61 [Pipeline] { [Pipeline] ws 08:31:16 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 08:31:19 using credential edgex-jenkins-ssh 08:31:19 Cloning the remote Git repository 08:31:19 Cloning with configured refspecs honoured and without tags 08:31:20 Fetching without tags 08:31:19 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 08:31:19 > git init /w/workspace/device-snmp-go/1 # timeout=10 08:31:19 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 08:31:19 > git --version # timeout=10 08:31:19 > git --version # 'git version 2.16.5' 08:31:19 using GIT_SSH to set credentials SSH Credentials for GitHub 08:31:19 > 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:31:20 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 08:31:20 > git config --add remote.origin.fetch +refs/pull/61/head:refs/remotes/origin/PR-61 # timeout=10 08:31:20 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:31:20 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 08:31:20 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 08:31:20 using GIT_SSH to set credentials SSH Credentials for GitHub 08:31:20 > 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:31:20 Merging remotes/origin/master commit c3a411597e9cf6081b038267f0590ff316b15934 into PR head commit de6315afb7906193e21f0753bca1af458610dda0 08:31:20 Merge succeeded, producing de6315afb7906193e21f0753bca1af458610dda0 08:31:20 Checking out Revision de6315afb7906193e21f0753bca1af458610dda0 (PR-61) 08:31:20 > git config core.sparsecheckout # timeout=10 08:31:20 > git checkout -f de6315afb7906193e21f0753bca1af458610dda0 # timeout=10 08:31:20 > git remote # timeout=10 08:31:20 > git config --get remote.origin.url # timeout=10 08:31:20 using GIT_SSH to set credentials SSH Credentials for GitHub 08:31:20 > git merge c3a411597e9cf6081b038267f0590ff316b15934 # timeout=10 08:31:20 > git rev-parse HEAD^{commit} # timeout=10 08:31:20 > git config core.sparsecheckout # timeout=10 08:31:20 > git checkout -f de6315afb7906193e21f0753bca1af458610dda0 # timeout=10 08:31:24 Commit message: "build: Upgrade to Go1.15" 08:31:24 > git --version # timeout=10 08:31:24 > git --version # 'git version 2.16.5' 08:31:24 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:31:25 ========================================================= 08:31:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:31:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:31:26 + 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:31:26 Sending build context to Docker daemon 370.2kB 08:31:26 Step 1/10 : ARG BASE=golang:1.15-alpine 08:31:26 Step 2/10 : FROM ${BASE} 08:31:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:31:26 df20fa9351a1: Pulling fs layer 08:31:26 ed8968b2872e: Pulling fs layer 08:31:26 a92cc7c5fd73: Pulling fs layer 08:31:26 e871e8e8d7a9: Pulling fs layer 08:31:26 e73272ec9a57: Pulling fs layer 08:31:26 1e910a182e73: Pulling fs layer 08:31:26 4e634b169226: Pulling fs layer 08:31:26 e73272ec9a57: Waiting 08:31:26 1e910a182e73: Waiting 08:31:26 4e634b169226: Waiting 08:31:26 e871e8e8d7a9: Waiting 08:31:26 a92cc7c5fd73: Verifying Checksum 08:31:26 a92cc7c5fd73: Download complete 08:31:26 ed8968b2872e: Download complete 08:31:26 e73272ec9a57: Verifying Checksum 08:31:26 e73272ec9a57: Download complete 08:31:26 df20fa9351a1: Verifying Checksum 08:31:26 df20fa9351a1: Download complete 08:31:26 1e910a182e73: Verifying Checksum 08:31:26 1e910a182e73: Download complete 08:31:26 df20fa9351a1: Pull complete 08:31:27 ed8968b2872e: Pull complete 08:31:27 a92cc7c5fd73: Pull complete 08:31:28 4e634b169226: Verifying Checksum 08:31:28 4e634b169226: Download complete 08:31:29 e871e8e8d7a9: Verifying Checksum 08:31:29 e871e8e8d7a9: Download complete 08:31:34 e871e8e8d7a9: Pull complete 08:31:34 e73272ec9a57: Pull complete 08:31:34 1e910a182e73: Pull complete 08:31:38 4e634b169226: Pull complete 08:31:38 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 08:31:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:31:38 ---> f7629b54cfaa 08:31:38 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 08:31:38 ---> Running in 7203e4d7caa6 08:31:38 Removing intermediate container 7203e4d7caa6 08:31:38 ---> eaad0e498918 08:31:38 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 08:31:38 ---> Running in c656369b66fc 08:31:39 Removing intermediate container c656369b66fc 08:31:39 ---> 14c8fbff09d4 08:31:39 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 08:31:39 ---> Running in d63ad8227564 08:31:39 Removing intermediate container d63ad8227564 08:31:39 ---> 4786113c0416 08:31:39 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:31:39 ---> Running in bff798745e06 08:31:40 Removing intermediate container bff798745e06 08:31:40 ---> b1d79c82fdcf 08:31:40 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:31:40 ---> Running in a7f65cca6c24 08:31:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:31:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:31:42 OK: 166 MiB in 39 packages 08:31:42 Removing intermediate container a7f65cca6c24 08:31:42 ---> 86ef8522d104 08:31:42 Step 8/10 : WORKDIR /device-snmp-go 08:31:42 ---> Running in d97b1f9b1c37 08:31:42 Removing intermediate container d97b1f9b1c37 08:31:42 ---> f6aabe00fb30 08:31:42 Step 9/10 : COPY . . 08:31:43 ---> d4224d47d4b1 08:31:43 Step 10/10 : RUN go mod download 08:31:43 ---> Running in 0f6ccceae162 08:31:55 Removing intermediate container 0f6ccceae162 08:31:55 ---> ee20608dc85b 08:31:55 Successfully built ee20608dc85b 08:31:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:31:56 + docker inspect -f . ci-base-image-x86_64 08:31:56 . [Pipeline] withDockerContainer 08:31:56 prd-centos7-docker-4c-2g-130 does not seem to be running inside a container 08:31:56 $ 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 08:31:57 $ docker top 28b42094b83eeb71a34ff91e72a410ab09ff4d6eb72fe163ea786c8217f3d9ef -eo pid,comm [Pipeline] { [Pipeline] sh 08:31:58 + go version 08:31:58 go version go1.15.2 linux/amd64 [Pipeline] } 08:31:58 $ docker stop --time=1 28b42094b83eeb71a34ff91e72a410ab09ff4d6eb72fe163ea786c8217f3d9ef 08:31:59 $ docker rm -f 28b42094b83eeb71a34ff91e72a410ab09ff4d6eb72fe163ea786c8217f3d9ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:32:00 + docker inspect -f . ci-base-image-x86_64 08:32:00 . [Pipeline] withDockerContainer 08:32:00 prd-centos7-docker-4c-2g-130 does not seem to be running inside a container 08:32:01 $ 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 08:32:01 $ docker top b0738982c516446e4f851d681c692802fa18e2f62a6ad035a58ee8aa8c642753 -eo pid,comm [Pipeline] { [Pipeline] sh 08:32:02 + make test 08:32:02 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:32:02 ? github.com/edgexfoundry/device-snmp-go [no test files] 08:32:12 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 08:32:12 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements 08:32:12 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:32:12 gofmt -l . 08:32:12 [ "`gofmt -l .`" = "" ] 08:32:12 ./bin/test-attribution-txt.sh 08:32:13 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:32:13 Stashed 1 file(s) [Pipeline] } 08:32:13 $ docker stop --time=1 b0738982c516446e4f851d681c692802fa18e2f62a6ad035a58ee8aa8c642753 08:32:15 $ docker rm -f b0738982c516446e4f851d681c692802fa18e2f62a6ad035a58ee8aa8c642753 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:32:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:32:17 + ls -al . 08:32:17 total 104 08:32:17 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 17 08:32 . 08:32:17 drwxrwxr-x. 4 jenkins jenkins 28 Sep 17 08:31 .. 08:32:17 -rw-rw-r--. 1 jenkins jenkins 4405 Sep 17 08:31 Attribution.txt 08:32:17 drwxrwxr-x. 2 jenkins jenkins 87 Sep 17 08:31 bin 08:32:17 drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 08:31 cmd 08:32:17 -rw-r--r--. 1 jenkins jenkins 8493 Sep 17 08:32 coverage.out 08:32:17 -rw-rw-r--. 1 jenkins jenkins 1002 Sep 17 08:31 Dockerfile 08:32:17 -rw-rw-r--. 1 jenkins jenkins 409 Sep 17 08:31 Dockerfile.build 08:32:17 -rw-rw-r--. 1 jenkins jenkins 6 Sep 17 08:31 .dockerignore 08:32:17 drwxrwxr-x. 8 jenkins jenkins 179 Sep 17 08:31 .git 08:32:17 drwxrwxr-x. 2 jenkins jenkins 38 Sep 17 08:31 .github 08:32:17 -rw-rw-r--. 1 jenkins jenkins 272 Sep 17 08:31 .gitignore 08:32:17 -rw-r--r--. 1 jenkins jenkins 203 Sep 17 08:32 go.mod 08:32:17 -rw-r--r--. 1 jenkins jenkins 12704 Sep 17 08:32 go.sum 08:32:17 drwxrwxr-x. 3 jenkins jenkins 20 Sep 17 08:31 internal 08:32:17 -rw-rw-r--. 1 jenkins jenkins 656 Sep 17 08:31 Jenkinsfile 08:32:17 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 17 08:31 LICENSE 08:32:17 -rw-rw-r--. 1 jenkins jenkins 937 Sep 17 08:31 Makefile 08:32:17 drwxrwxr-x. 2 jenkins jenkins 84 Sep 17 08:31 profiles 08:32:17 -rw-rw-r--. 1 jenkins jenkins 12398 Sep 17 08:31 README.md 08:32:17 drwxrwxr-x. 3 jenkins jenkins 74 Sep 17 08:31 .semver 08:32:17 -rw-rw-r--. 1 jenkins jenkins 5 Sep 17 08:28 VERSION 08:32:17 -rw-rw-r--. 1 jenkins jenkins 209 Sep 17 08:31 version.go [Pipeline] isUnix [Pipeline] sh 08:32:18 + 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 . 08:32:18 Sending build context to Docker daemon 379.4kB 08:32:18 Step 1/26 : ARG BASE=golang:1.15-alpine 08:32:18 Step 2/26 : FROM ${BASE} AS builder 08:32:18 ---> ee20608dc85b 08:32:18 Step 3/26 : ARG MAKE='make build' 08:32:18 ---> Running in 353aeba26cc0 08:32:18 Removing intermediate container 353aeba26cc0 08:32:18 ---> 41a0502b1786 08:32:18 Step 4/26 : ARG ALPINE_PKG_BASE="make git" 08:32:18 ---> Running in 7a5b3fe9d419 08:32:18 Removing intermediate container 7a5b3fe9d419 08:32:18 ---> dab40d216d49 08:32:18 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 08:32:18 ---> Running in 7e5ab2dbbee8 08:32:18 Removing intermediate container 7e5ab2dbbee8 08:32:18 ---> 14afab6d9c08 08:32:18 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:32:18 ---> Running in fd357ed05c71 08:32:19 Removing intermediate container fd357ed05c71 08:32:19 ---> fbd2ade55f09 08:32:19 Step 7/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:32:19 ---> Running in 10e8f4061a5e 08:32:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:32:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:32:21 OK: 166 MiB in 39 packages 08:32:21 Removing intermediate container 10e8f4061a5e 08:32:21 ---> 84173e05fda5 08:32:21 Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 08:32:21 ---> Running in 37f9ad5baded 08:32:21 Removing intermediate container 37f9ad5baded 08:32:21 ---> f58b2e0a7652 08:32:21 Step 9/26 : COPY go.mod . 08:32:22 ---> 676c1b71fc99 08:32:22 Step 10/26 : COPY Makefile . 08:32:22 ---> 72afffedc20c 08:32:22 Step 11/26 : RUN make update 08:32:22 ---> Running in d5233cbc86bd 08:32:22 CGO_ENABLED=0 GO111MODULE=on go mod download 08:32:23 Removing intermediate container d5233cbc86bd 08:32:23 ---> 281f09a468d5 08:32:23 Step 12/26 : COPY . . 08:32:23 ---> 597a0029ce63 08:32:23 Step 13/26 : RUN ${MAKE} 08:32:23 ---> Running in 493d1365d5fc 08:32:24 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:32:31 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:32:34 Removing intermediate container 493d1365d5fc 08:32:34 ---> ee579e75900e 08:32:34 Step 14/26 : FROM alpine 08:32:34 latest: Pulling from library/alpine 08:32:34 df20fa9351a1: Already exists 08:32:34 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 08:32:34 Status: Downloaded newer image for alpine:latest 08:32:34 ---> a24bb4013296 08:32:34 Step 15/26 : ENV APP_PORT=49993 08:32:34 ---> Running in feef6388ad3b 08:32:34 Removing intermediate container feef6388ad3b 08:32:34 ---> fc3afca0e6c0 08:32:34 Step 16/26 : EXPOSE $APP_PORT 08:32:34 ---> Running in 85c1cb95be39 08:32:34 Removing intermediate container 85c1cb95be39 08:32:34 ---> 7bd02ec685ef 08:32:34 Step 17/26 : ENV DEVICE_PORT=161 08:32:34 ---> Running in d1fcc44f99ab 08:32:34 Removing intermediate container d1fcc44f99ab 08:32:34 ---> b05814a7d49a 08:32:34 Step 18/26 : EXPOSE $DEVICE_PORT 08:32:34 ---> Running in 05c8a15277d7 08:32:35 Removing intermediate container 05c8a15277d7 08:32:35 ---> 23c222416fd1 08:32:35 Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 08:32:35 ---> 6caa6d1e37a3 08:32:35 Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 08:32:35 ---> badd38ca2cfe 08:32:35 Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 08:32:35 ---> ee8da05a6286 08:32:35 Step 22/26 : ENTRYPOINT ["/device-snmp-go"] 08:32:35 ---> Running in 8af4ff58fffe 08:32:36 Removing intermediate container 8af4ff58fffe 08:32:36 ---> 58332856165b 08:32:36 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 08:32:36 ---> Running in 644e9ab366b3 08:32:36 Removing intermediate container 644e9ab366b3 08:32:36 ---> ddda7f4b1b57 08:32:36 Step 24/26 : LABEL arch=amd64 08:32:36 ---> Running in 4d16b7673c4b 08:32:36 Removing intermediate container 4d16b7673c4b 08:32:36 ---> f15035b8f37b 08:32:36 Step 25/26 : LABEL git_sha=de6315afb7906193e21f0753bca1af458610dda0 08:32:36 ---> Running in 8fbd6f754e0f 08:32:36 Removing intermediate container 8fbd6f754e0f 08:32:36 ---> fbb6e7f4af03 08:32:36 Step 26/26 : LABEL version=0.0.0 08:32:36 ---> Running in 27b88c1a409e 08:32:37 Removing intermediate container 27b88c1a409e 08:32:37 ---> 6ccc1abd394e 08:32:37 [Warning] One or more build-args [ARCH] were not consumed 08:32:37 Successfully built 6ccc1abd394e 08:32:37 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:32:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-132 in /w/workspace/dgexfoundry_device-snmp-go_PR-61 [Pipeline] { [Pipeline] ws 08:32:56 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 08:33:02 using credential edgex-jenkins-ssh 08:33:02 Cloning the remote Git repository 08:33:02 Cloning with configured refspecs honoured and without tags 08:33:02 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 08:33:02 > git init /w/workspace/device-snmp-go/1 # timeout=10 08:33:02 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 08:33:02 > git --version # timeout=10 08:33:02 > git --version # 'git version 2.17.1' 08:33:02 using GIT_SSH to set credentials SSH Credentials for GitHub 08:33:02 > 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:33:03 Fetching without tags 08:33:03 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 08:33:03 > git config --add remote.origin.fetch +refs/pull/61/head:refs/remotes/origin/PR-61 # timeout=10 08:33:03 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:33:03 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 08:33:03 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 08:33:03 using GIT_SSH to set credentials SSH Credentials for GitHub 08:33:03 > 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:33:04 Merging remotes/origin/master commit c3a411597e9cf6081b038267f0590ff316b15934 into PR head commit de6315afb7906193e21f0753bca1af458610dda0 08:33:04 Merge succeeded, producing de6315afb7906193e21f0753bca1af458610dda0 08:33:04 Checking out Revision de6315afb7906193e21f0753bca1af458610dda0 (PR-61) 08:33:04 > git config core.sparsecheckout # timeout=10 08:33:04 > git checkout -f de6315afb7906193e21f0753bca1af458610dda0 # timeout=10 08:33:04 > git remote # timeout=10 08:33:04 > git config --get remote.origin.url # timeout=10 08:33:04 using GIT_SSH to set credentials SSH Credentials for GitHub 08:33:04 > git merge c3a411597e9cf6081b038267f0590ff316b15934 # timeout=10 08:33:04 > git rev-parse HEAD^{commit} # timeout=10 08:33:04 > git config core.sparsecheckout # timeout=10 08:33:04 > git checkout -f de6315afb7906193e21f0753bca1af458610dda0 # timeout=10 08:33:09 Commit message: "build: Upgrade to Go1.15" 08:33:09 > git --version # timeout=10 08:33:09 > git --version # 'git version 2.17.1' 08:33:09 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:33:10 ========================================================= 08:33:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:33:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:33:11 + 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:33:12 Sending build context to Docker daemon 370.2kB 08:33:12 Step 1/10 : ARG BASE=golang:1.15-alpine 08:33:12 Step 2/10 : FROM ${BASE} 08:33:13 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:33:13 b538f80385f9: Pulling fs layer 08:33:13 74f711af9a0d: Pulling fs layer 08:33:13 99f96fe45779: Pulling fs layer 08:33:13 8529a6b9a6be: Pulling fs layer 08:33:13 45590311c82a: Pulling fs layer 08:33:13 69ca0ff8b7b3: Pulling fs layer 08:33:13 209524e5b208: Pulling fs layer 08:33:13 8529a6b9a6be: Waiting 08:33:13 69ca0ff8b7b3: Waiting 08:33:13 45590311c82a: Waiting 08:33:13 99f96fe45779: Download complete 08:33:13 74f711af9a0d: Verifying Checksum 08:33:13 74f711af9a0d: Download complete 08:33:13 45590311c82a: Verifying Checksum 08:33:13 45590311c82a: Download complete 08:33:13 69ca0ff8b7b3: Verifying Checksum 08:33:13 69ca0ff8b7b3: Download complete 08:33:13 b538f80385f9: Verifying Checksum 08:33:13 b538f80385f9: Download complete 08:33:14 b538f80385f9: Pull complete 08:33:14 74f711af9a0d: Pull complete 08:33:15 99f96fe45779: Pull complete 08:33:16 209524e5b208: Verifying Checksum 08:33:16 209524e5b208: Download complete 08:33:16 8529a6b9a6be: Verifying Checksum 08:33:16 8529a6b9a6be: Download complete 08:33:27 8529a6b9a6be: Pull complete 08:33:27 45590311c82a: Pull complete 08:33:27 69ca0ff8b7b3: Pull complete 08:33:30 209524e5b208: Pull complete 08:33:30 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 08:33:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:33:31 ---> 5bddaf1c2fca 08:33:31 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 08:33:34 ---> Running in 83452edd600e 08:33:34 Removing intermediate container 83452edd600e 08:33:34 ---> ac54061d25f1 08:33:34 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 08:33:34 ---> Running in 8a704c30ff5c 08:33:35 Removing intermediate container 8a704c30ff5c 08:33:35 ---> 6a037822ae61 08:33:35 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 08:33:35 ---> Running in 61adcf260112 08:33:35 Removing intermediate container 61adcf260112 08:33:35 ---> ebb7346352d0 08:33:35 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:33:35 ---> Running in b001fa58606d 08:33:38 Removing intermediate container b001fa58606d 08:33:38 ---> ef451e2236a3 08:33:38 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:33:38 ---> Running in e8adcc78111f 08:33:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:33:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:33:41 OK: 142 MiB in 39 packages 08:33:43 Removing intermediate container e8adcc78111f 08:33:43 ---> 7e3766a917b9 08:33:43 Step 8/10 : WORKDIR /device-snmp-go 08:33:43 ---> Running in b5b73d847462 08:33:43 Removing intermediate container b5b73d847462 08:33:43 ---> 6a3a1f31d49c 08:33:43 Step 9/10 : COPY . . 08:33:44 ---> fc5be1035c92 08:33:44 Step 10/10 : RUN go mod download 08:33:44 ---> Running in 2f99d21e99c1 08:33:59 Removing intermediate container 2f99d21e99c1 08:33:59 ---> f9cb71a2c81a 08:33:59 Successfully built f9cb71a2c81a 08:33:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:34:00 + docker inspect -f . ci-base-image-arm64 08:34:00 . [Pipeline] withDockerContainer 08:34:00 prd-ubuntu18.04-docker-arm64-4c-16g-132 does not seem to be running inside a container 08:34:00 $ 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 08:34:02 $ docker top 13452063f8fe459b8a4c03cf4fa505f8e0496cc2dbdf9ad5dc19c88191b10e2d -eo pid,comm [Pipeline] { [Pipeline] sh 08:34:04 + go version 08:34:04 go version go1.15.2 linux/arm64 [Pipeline] } 08:34:04 $ docker stop --time=1 13452063f8fe459b8a4c03cf4fa505f8e0496cc2dbdf9ad5dc19c88191b10e2d 08:34:06 $ docker rm -f 13452063f8fe459b8a4c03cf4fa505f8e0496cc2dbdf9ad5dc19c88191b10e2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:34:07 + docker inspect -f . ci-base-image-arm64 08:34:07 . [Pipeline] withDockerContainer 08:34:07 prd-ubuntu18.04-docker-arm64-4c-16g-132 does not seem to be running inside a container 08:34:07 $ 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 08:34:09 $ docker top 48669ac99b1bd8faf3d1f9e5e115b8dc17f632ef2e9addfa8702f5093da5cf25 -eo pid,comm [Pipeline] { [Pipeline] sh 08:34:11 + make test 08:34:11 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:34:12 ? github.com/edgexfoundry/device-snmp-go [no test files] 08:34:44 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 08:34:44 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements 08:34:44 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:34:47 gofmt -l . 08:34:47 [ "`gofmt -l .`" = "" ] 08:34:47 ./bin/test-attribution-txt.sh 08:34:47 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:34:48 Warning: overwriting stash ‘coverage-report’ 08:34:49 Stashed 1 file(s) [Pipeline] } 08:34:49 $ docker stop --time=1 48669ac99b1bd8faf3d1f9e5e115b8dc17f632ef2e9addfa8702f5093da5cf25 08:34:51 $ docker rm -f 48669ac99b1bd8faf3d1f9e5e115b8dc17f632ef2e9addfa8702f5093da5cf25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:34:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:34:53 + ls -al . 08:34:53 total 136 08:34:53 drwxrwxr-x 9 jenkins jenkins 4096 Sep 17 08:34 . 08:34:53 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 08:33 .. 08:34:53 -rw-rw-r-- 1 jenkins jenkins 6 Sep 17 08:33 .dockerignore 08:34:53 drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 08:33 .git 08:34:53 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:33 .github 08:34:53 -rw-rw-r-- 1 jenkins jenkins 272 Sep 17 08:33 .gitignore 08:34:53 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:33 .semver 08:34:53 -rw-rw-r-- 1 jenkins jenkins 4405 Sep 17 08:33 Attribution.txt 08:34:53 -rw-rw-r-- 1 jenkins jenkins 1002 Sep 17 08:33 Dockerfile 08:34:53 -rw-rw-r-- 1 jenkins jenkins 409 Sep 17 08:33 Dockerfile.build 08:34:53 -rw-rw-r-- 1 jenkins jenkins 656 Sep 17 08:33 Jenkinsfile 08:34:53 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 17 08:33 LICENSE 08:34:53 -rw-rw-r-- 1 jenkins jenkins 937 Sep 17 08:33 Makefile 08:34:53 -rw-rw-r-- 1 jenkins jenkins 12398 Sep 17 08:33 README.md 08:34:53 -rw-rw-r-- 1 jenkins jenkins 5 Sep 17 08:28 VERSION 08:34:53 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:33 bin 08:34:53 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:33 cmd 08:34:53 -rw-r--r-- 1 jenkins jenkins 8493 Sep 17 08:34 coverage.out 08:34:53 -rw-r--r-- 1 jenkins jenkins 203 Sep 17 08:34 go.mod 08:34:53 -rw-r--r-- 1 jenkins jenkins 12704 Sep 17 08:34 go.sum 08:34:53 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:33 internal 08:34:53 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:33 profiles 08:34:53 -rw-rw-r-- 1 jenkins jenkins 209 Sep 17 08:33 version.go [Pipeline] isUnix [Pipeline] sh 08:34:54 + 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 . 08:34:54 Sending build context to Docker daemon 379.4kB 08:34:54 Step 1/26 : ARG BASE=golang:1.15-alpine 08:34:54 Step 2/26 : FROM ${BASE} AS builder 08:34:54 ---> f9cb71a2c81a 08:34:54 Step 3/26 : ARG MAKE='make build' 08:34:54 ---> Running in 0ca18c63f3d2 08:34:55 Removing intermediate container 0ca18c63f3d2 08:34:55 ---> 564c8a5a6f15 08:34:55 Step 4/26 : ARG ALPINE_PKG_BASE="make git" 08:34:55 ---> Running in ef90319115f9 08:34:55 Removing intermediate container ef90319115f9 08:34:55 ---> 42d03a74e3d3 08:34:55 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 08:34:55 ---> Running in 8a23f3e8025c 08:34:56 Removing intermediate container 8a23f3e8025c 08:34:56 ---> cc6b1ec69faa 08:34:56 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:34:56 ---> Running in b973b558b67c 08:34:59 Removing intermediate container b973b558b67c 08:34:59 ---> 1967bdfd70bf 08:34:59 Step 7/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:34:59 ---> Running in a728e245c597 08:35:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:35:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:35:02 OK: 142 MiB in 39 packages 08:35:03 Removing intermediate container a728e245c597 08:35:03 ---> 95e66a3e2f74 08:35:03 Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 08:35:03 ---> Running in 6914e6a5ed12 08:35:04 Removing intermediate container 6914e6a5ed12 08:35:04 ---> 47df2d28ee20 08:35:04 Step 9/26 : COPY go.mod . 08:35:04 ---> 025eea6a6ab7 08:35:04 Step 10/26 : COPY Makefile . 08:35:05 ---> 0826cfe264ad 08:35:05 Step 11/26 : RUN make update 08:35:05 ---> Running in 2784c6fab77d 08:35:07 CGO_ENABLED=0 GO111MODULE=on go mod download 08:35:08 Removing intermediate container 2784c6fab77d 08:35:08 ---> 96b8ec683189 08:35:08 Step 12/26 : COPY . . 08:35:09 ---> ad631d13f30d 08:35:09 Step 13/26 : RUN ${MAKE} 08:35:09 ---> Running in 669095f963cb 08:35:10 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp-go ./cmd 08:35:37 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:35:40 Removing intermediate container 669095f963cb 08:35:40 ---> bacd98688c3b 08:35:40 Step 14/26 : FROM alpine 08:35:41 latest: Pulling from library/alpine 08:35:41 b538f80385f9: Already exists 08:35:41 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 08:35:41 Status: Downloaded newer image for alpine:latest 08:35:41 ---> 62ee0e9f8440 08:35:41 Step 15/26 : ENV APP_PORT=49993 08:35:41 ---> Running in 8d65adc2eaa2 08:35:41 Removing intermediate container 8d65adc2eaa2 08:35:41 ---> b58ebd00a31f 08:35:41 Step 16/26 : EXPOSE $APP_PORT 08:35:42 ---> Running in eff6c089bfe7 08:35:42 Removing intermediate container eff6c089bfe7 08:35:42 ---> 730626b59dd8 08:35:42 Step 17/26 : ENV DEVICE_PORT=161 08:35:42 ---> Running in 2bf259f66272 08:35:43 Removing intermediate container 2bf259f66272 08:35:43 ---> bb908d450193 08:35:43 Step 18/26 : EXPOSE $DEVICE_PORT 08:35:43 ---> Running in a01dc440afb7 08:35:43 Removing intermediate container a01dc440afb7 08:35:43 ---> 10d3b7913cbb 08:35:43 Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 08:35:45 ---> f3ed739d996d 08:35:45 Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 08:35:45 ---> beca394c806a 08:35:45 Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 08:35:46 ---> 9675e32091ea 08:35:46 Step 22/26 : ENTRYPOINT ["/device-snmp-go"] 08:35:46 ---> Running in 38fb3f83a2ca 08:35:46 Removing intermediate container 38fb3f83a2ca 08:35:46 ---> 03558ca13d2e 08:35:46 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 08:35:47 ---> Running in bc9ff0daca64 08:35:47 Removing intermediate container bc9ff0daca64 08:35:47 ---> 2d4238e0f332 08:35:47 Step 24/26 : LABEL arch=arm64 08:35:47 ---> Running in b6aad1d94ba8 08:35:47 Removing intermediate container b6aad1d94ba8 08:35:47 ---> 7db86d7b1df2 08:35:47 Step 25/26 : LABEL git_sha=de6315afb7906193e21f0753bca1af458610dda0 08:35:48 ---> Running in 952f34b84b62 08:35:48 Removing intermediate container 952f34b84b62 08:35:48 ---> ddb75ddf43ec 08:35:48 Step 26/26 : LABEL version=0.0.0 08:35:48 ---> Running in 3ba8ccf4b482 08:35:48 Removing intermediate container 3ba8ccf4b482 08:35:48 ---> 41c133b8b975 08:35:48 [Warning] One or more build-args [ARCH] were not consumed 08:35:48 Successfully built 41c133b8b975 08:35:48 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:35:52 provisioning config files... 08:35:52 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-61@tmp/config7758796650818130913tmp [Pipeline] { [Pipeline] sh 08:35:52 + curl -s https://codecov.io/bash 08:35:52 + bash -s - -t @/w/workspace/dgexfoundry_device-snmp-go_PR-61@tmp/config7758796650818130913tmp [Pipeline] } 08:35:53 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:35:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:35:57 ---> package-listing.sh 08:35:57 ++ facter osfamily 08:35:57 ++ tr '[:upper:]' '[:lower:]' 08:35:57 + OS_FAMILY=redhat 08:35:57 + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-61 08:35:57 + START_PACKAGES=/tmp/packages_start.txt 08:35:57 + END_PACKAGES=/tmp/packages_end.txt 08:35:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:35:57 + PACKAGES=/tmp/packages_start.txt 08:35:57 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-61 ']' 08:35:57 + PACKAGES=/tmp/packages_end.txt 08:35:57 + case "${OS_FAMILY}" in 08:35:57 + rpm -qa 08:35:57 + sort 08:36:01 + '[' -f /tmp/packages_start.txt ']' 08:36:01 + '[' -f /tmp/packages_end.txt ']' 08:36:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:36:01 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-61 ']' 08:36:01 + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-61/archives/ 08:36:01 + 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:36:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:36:02 08:36:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:36:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:36:03 alpine: Pulling from edgex-lftools-log-publisher 08:36:03 df20fa9351a1: Pulling fs layer 08:36:03 36b3adc4ff6f: Pulling fs layer 08:36:03 8ad3a11d3b57: Pulling fs layer 08:36:03 46f8f816bc3b: Pulling fs layer 08:36:03 0dadc02b9964: Pulling fs layer 08:36:03 ce6a7cf60c04: Pulling fs layer 08:36:03 7a184a31f384: Pulling fs layer 08:36:03 0879bd2ef858: Pulling fs layer 08:36:03 0dadc02b9964: Waiting 08:36:03 ce6a7cf60c04: Waiting 08:36:03 7a184a31f384: Waiting 08:36:03 0879bd2ef858: Waiting 08:36:03 46f8f816bc3b: Waiting 08:36:03 36b3adc4ff6f: Verifying Checksum 08:36:03 36b3adc4ff6f: Download complete 08:36:04 46f8f816bc3b: Verifying Checksum 08:36:04 46f8f816bc3b: Download complete 08:36:04 df20fa9351a1: Verifying Checksum 08:36:04 df20fa9351a1: Download complete 08:36:04 ce6a7cf60c04: Verifying Checksum 08:36:04 ce6a7cf60c04: Download complete 08:36:04 7a184a31f384: Verifying Checksum 08:36:04 7a184a31f384: Download complete 08:36:04 0dadc02b9964: Verifying Checksum 08:36:04 0dadc02b9964: Download complete 08:36:04 df20fa9351a1: Pull complete 08:36:04 36b3adc4ff6f: Pull complete 08:36:04 8ad3a11d3b57: Download complete 08:36:05 8ad3a11d3b57: Pull complete 08:36:05 46f8f816bc3b: Pull complete 08:36:06 0dadc02b9964: Pull complete 08:36:06 ce6a7cf60c04: Pull complete 08:36:06 7a184a31f384: Pull complete 08:36:06 0879bd2ef858: Verifying Checksum 08:36:06 0879bd2ef858: Download complete 08:36:09 0879bd2ef858: Pull complete 08:36:09 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 08:36:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:36:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:36:09 prd-centos7-docker-4c-2g-128 does not seem to be running inside a container 08:36:09 $ 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 08:36:15 $ docker top e3e445abbb5522c0f145c4cf6f6e8ec2d220e36ff926a439dbd9a263ba3925f2 -eo pid,comm [Pipeline] { [Pipeline] sh 08:36:15 + mkdir -p /var/log/sa [Pipeline] sh 08:36:16 + ls /var/log/sa-host 08:36:16 + sadf -c /var/log/sa-host/sa05 08:36:16 file_magic: OK 08:36:16 HZ: Using current value: 100 08:36:16 file_header: OK 08:36:16 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:36:16 Statistics: 08:36:16 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:36:16 File successfully converted to sysstat format version 12.2.1 08:36:16 + sadf -c /var/log/sa-host/sa17 08:36:16 file_magic: OK 08:36:16 HZ: Using current value: 100 08:36:16 file_header: OK 08:36:16 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:36:16 Statistics: 08:36:16 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:36:16 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:36:16 provisioning config files... 08:36:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-61@tmp/config8757973202499037359tmp [Pipeline] { [Pipeline] echo 08:36:16 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:36:16 ---> create-netrc.sh [Pipeline] echo 08:36:16 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:36:17 ---> logs-deploy.sh 08:36:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-61/1 08:36:17 INFO: archiving workspace using pattern(s): 08:36:18 Archives upload complete. 08:36:18 INFO: archiving logs to Nexus