Pull request #94 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 tonyespy for edgexfoundry/device-snmp-go Loading trusted files from base branch master at 0ab86073b0269e161c45419c6956d6e22a89cd28 rather than 029de773be3ee92d8a76ad39c20a2d8a6bd1decc Obtained Jenkinsfile from 0ab86073b0269e161c45419c6956d6e22a89cd28 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 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-94/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 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-94/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4803’ is offline; ‘prd-centos7-docker-4c-2g-4804’ is offline; ‘prd-centos7-docker-4c-2g-4805’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4814 in /w/workspace/dgexfoundry_device-snmp-go_PR-94 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/dgexfoundry_device-snmp-go_PR-94 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0ab86073b0269e161c45419c6956d6e22a89cd28 into PR head commit 029de773be3ee92d8a76ad39c20a2d8a6bd1decc Merge succeeded, producing 029de773be3ee92d8a76ad39c20a2d8a6bd1decc Checking out Revision 029de773be3ee92d8a76ad39c20a2d8a6bd1decc (PR-94) > git config core.sparsecheckout # timeout=10 > git checkout -f 029de773be3ee92d8a76ad39c20a2d8a6bd1decc # 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 0ab86073b0269e161c45419c6956d6e22a89cd28 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 029de773be3ee92d8a76ad39c20a2d8a6bd1decc # timeout=10 Commit message: "fix(build): update Dockerfiles to use go 1.16" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:09:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:09:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:09:29 ========================================================= 20:09:29 EdgeX Global Pipelines Version Info 20:09:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:09:31 ------------------- 20:09:31 stable info: 20:09:31 ------------------- 20:09:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:09:31 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 20:09:31 Message: update stable to v1.0.192 20:09:32 ------------------- 20:09:32 experimental info: 20:09:32 ------------------- 20:09:32 Commited By: **** collab-it+edgex@linuxfoundation.org 20:09:32 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 20:09:32 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:09:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 20:09:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 20:09:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:09:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:09:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:09:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 20:09:32 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:09:32 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 20:09:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:09:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:09:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:09:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 20:09:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:09:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:09:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:09:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:09:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:09:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:09:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:09:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:09:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:09:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:09:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:09:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:09:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:09:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:09:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-94 [Pipeline] echo 20:09:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-94 [Pipeline] echo 20:09:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-94 [Pipeline] echo 20:09:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 029de773be3ee92d8a76ad39c20a2d8a6bd1decc [Pipeline] echo 20:09:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 029de77 [Pipeline] echo 20:09:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:09:34 provisioning config files... 20:09:34 copy managed file [device-snmp-go-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-94@tmp/config6690421957187966932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:09:35 ---> docker-login.sh 20:09:35 nexus3.edgexfoundry.org:10001 20:09:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:35 Configure a credential helper to remove this warning. See 20:09:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:35 20:09:35 Login Succeeded 20:09:35 nexus3.edgexfoundry.org:10002 20:09:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:36 Configure a credential helper to remove this warning. See 20:09:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:36 20:09:36 Login Succeeded 20:09:36 nexus3.edgexfoundry.org:10003 20:09:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:36 Configure a credential helper to remove this warning. See 20:09:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:36 20:09:36 Login Succeeded 20:09:36 nexus3.edgexfoundry.org:10004 20:09:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:36 Configure a credential helper to remove this warning. See 20:09:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:36 20:09:36 Login Succeeded 20:09:36 docker.io 20:09:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:37 Configure a credential helper to remove this warning. See 20:09:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:37 20:09:37 Login Succeeded 20:09:37 ---> docker-login.sh ends [Pipeline] } 20:09:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:09:38 + git log --format=format:%s -1 029de773be3ee92d8a76ad39c20a2d8a6bd1decc [Pipeline] echo 20:09:38 GIT_COMMIT: 029de773be3ee92d8a76ad39c20a2d8a6bd1decc, Commit Message: fix(build): update Dockerfiles to use go 1.16 [Pipeline] echo 20:09:38 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:09:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:09:38 20:09:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:09:39 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:09:39 latest: Pulling from edgex-devops/git-semver 20:09:39 31603596830f: Pulling fs layer 20:09:39 54011a49482f: Pulling fs layer 20:09:39 a6820b24f6d8: Pulling fs layer 20:09:39 f581987b2513: Pulling fs layer 20:09:39 f581987b2513: Waiting 20:09:39 54011a49482f: Verifying Checksum 20:09:39 54011a49482f: Download complete 20:09:39 31603596830f: Verifying Checksum 20:09:39 31603596830f: Download complete 20:09:39 f581987b2513: Verifying Checksum 20:09:39 f581987b2513: Download complete 20:09:39 a6820b24f6d8: Verifying Checksum 20:09:39 a6820b24f6d8: Download complete 20:09:40 31603596830f: Pull complete 20:09:40 54011a49482f: Pull complete 20:09:41 a6820b24f6d8: Pull complete 20:09:41 f581987b2513: Pull complete 20:09:41 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 20:09:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:09:41 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:09:42 prd-centos7-docker-4c-2g-4814 does not seem to be running inside a container 20:09:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-94 -v /w/workspace/dgexfoundry_device-snmp-go_PR-94:/w/workspace/dgexfoundry_device-snmp-go_PR-94:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-94@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:09:44 $ docker top fbb5cdac846b600ab7ba154fbebea8c726b68e83eef2cce9e792e0ca3ddaefa2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:09:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:09:44 [ssh-agent] Looking for ssh-agent implementation... 20:09:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:09:45 $ docker exec fbb5cdac846b600ab7ba154fbebea8c726b68e83eef2cce9e792e0ca3ddaefa2 ssh-agent 20:09:45 SSH_AUTH_SOCK=/tmp/ssh-9Of3kQnWWicf/agent.12 20:09:45 SSH_AGENT_PID=17 20:09:45 Running ssh-add (command line suppressed) 20:09:45 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-94@tmp/private_key_2547990806645119857.key (/w/workspace/dgexfoundry_device-snmp-go_PR-94@tmp/private_key_2547990806645119857.key) 20:09:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:09:45 + git tag --points-at HEAD [Pipeline] } 20:09:45 $ docker exec --env ******** --env ******** fbb5cdac846b600ab7ba154fbebea8c726b68e83eef2cce9e792e0ca3ddaefa2 ssh-agent -k 20:09:45 unset SSH_AUTH_SOCK; 20:09:45 unset SSH_AGENT_PID; 20:09:45 echo Agent pid 17 killed; 20:09:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:09:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:09:46 [ssh-agent] Looking for ssh-agent implementation... 20:09:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:09:46 $ docker exec fbb5cdac846b600ab7ba154fbebea8c726b68e83eef2cce9e792e0ca3ddaefa2 ssh-agent 20:09:46 SSH_AUTH_SOCK=/tmp/ssh-QDwiGvzWN04R/agent.46 20:09:46 SSH_AGENT_PID=51 20:09:46 Running ssh-add (command line suppressed) 20:09:46 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-94@tmp/private_key_215868840023813655.key (/w/workspace/dgexfoundry_device-snmp-go_PR-94@tmp/private_key_215868840023813655.key) 20:09:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:09:47 + git semver init 20:09:47 # -> Open(): unable to determine branch for HEAD 20:09:47 # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-94/.git 20:09:47 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-94 20:09:47 # $SEMVER_REMOTE_NAME = origin 20:09:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:09:47 # $SEMVER_USER_NAME = edgex-jenkins 20:09:47 # $SEMVER_BRANCH = PR-94 20:09:47 # $SEMVER_TEMP = /tmp/semver-857011128 20:09:47 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 20:09:47 # '/tmp/semver-857011128' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-94/.semver' 20:09:47 # -> Force: false 20:09:47 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-94/.semver [Pipeline] } 20:09:47 $ docker exec --env ******** --env ******** fbb5cdac846b600ab7ba154fbebea8c726b68e83eef2cce9e792e0ca3ddaefa2 ssh-agent -k 20:09:47 unset SSH_AUTH_SOCK; 20:09:47 unset SSH_AGENT_PID; 20:09:47 echo Agent pid 51 killed; 20:09:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:09:48 + git semver [Pipeline] } 20:09:48 $ docker stop --time=1 fbb5cdac846b600ab7ba154fbebea8c726b68e83eef2cce9e792e0ca3ddaefa2 20:09:49 $ docker rm -f fbb5cdac846b600ab7ba154fbebea8c726b68e83eef2cce9e792e0ca3ddaefa2 [Pipeline] // withDockerContainer [Pipeline] sh 20:09:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:09:50 Stashed 1 file(s) [Pipeline] echo 20:09:50 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 20:10:06 Still waiting to schedule task 20:10:06 Waiting for next available executor on ‘centos7-docker-4c-2g’ 20:10:06 Still waiting to schedule task 20:10:06 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 20:11:53 Running on prd-centos7-docker-4c-2g-4829 in /w/workspace/dgexfoundry_device-snmp-go_PR-94 [Pipeline] { [Pipeline] ws 20:11:53 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 20:11:57 using credential edgex-jenkins-ssh 20:11:57 Cloning the remote Git repository 20:11:57 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 20:11:57 > git init /w/workspace/device-snmp-go/1 # timeout=10 20:11:58 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 20:11:58 > git --version # timeout=10 20:11:58 > git --version # 'git version 2.24.3' 20:11:58 using GIT_SSH to set credentials SSH Credentials for GitHub 20:11:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:11:58 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 20:11:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:11:58 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 20:11:58 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 20:11:58 using GIT_SSH to set credentials SSH Credentials for GitHub 20:11:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:11:59 Merging remotes/origin/master commit 0ab86073b0269e161c45419c6956d6e22a89cd28 into PR head commit 029de773be3ee92d8a76ad39c20a2d8a6bd1decc 20:11:59 Merge succeeded, producing 029de773be3ee92d8a76ad39c20a2d8a6bd1decc 20:11:59 Checking out Revision 029de773be3ee92d8a76ad39c20a2d8a6bd1decc (PR-94) 20:11:59 > git config core.sparsecheckout # timeout=10 20:11:59 > git checkout -f 029de773be3ee92d8a76ad39c20a2d8a6bd1decc # timeout=10 20:11:59 > git remote # timeout=10 20:11:59 > git config --get remote.origin.url # timeout=10 20:11:59 using GIT_SSH to set credentials SSH Credentials for GitHub 20:11:59 > git merge 0ab86073b0269e161c45419c6956d6e22a89cd28 # timeout=10 20:11:59 > git rev-parse HEAD^{commit} # timeout=10 20:11:59 > git config core.sparsecheckout # timeout=10 20:11:59 > git checkout -f 029de773be3ee92d8a76ad39c20a2d8a6bd1decc # timeout=10 20:12:04 Commit message: "fix(build): update Dockerfiles to use go 1.16" 20:12:04 > git --version # timeout=10 20:12:04 > git --version # 'git version 2.24.3' 20:12:04 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:12:05 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:12:06 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:12:06 + sudo service docker restart 20:12:06 + true 20:12:06 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:12:07 provisioning config files... 20:12:07 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7526946473745722788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:12:08 ---> docker-login.sh 20:12:08 nexus3.edgexfoundry.org:10001 20:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:08 Configure a credential helper to remove this warning. See 20:12:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:08 20:12:08 Login Succeeded 20:12:08 nexus3.edgexfoundry.org:10002 20:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:08 Configure a credential helper to remove this warning. See 20:12:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:08 20:12:08 Login Succeeded 20:12:08 nexus3.edgexfoundry.org:10003 20:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:09 Configure a credential helper to remove this warning. See 20:12:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:09 20:12:09 Login Succeeded 20:12:09 nexus3.edgexfoundry.org:10004 20:12:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:09 Configure a credential helper to remove this warning. See 20:12:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:09 20:12:09 Login Succeeded 20:12:09 docker.io 20:12:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:09 Configure a credential helper to remove this warning. See 20:12:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:09 20:12:09 Login Succeeded 20:12:09 ---> docker-login.sh ends [Pipeline] } 20:12:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:12:09 ========================================================= 20:12:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 20:12:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:12:10 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 20:12:10 Sending build context to Docker daemon 359.4kB 20:12:10 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 20:12:10 Step 2/10 : FROM ${BASE} 20:12:10 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 20:12:10 540db60ca938: Pulling fs layer 20:12:10 adcc1eea9eea: Pulling fs layer 20:12:10 4c4ab2625f07: Pulling fs layer 20:12:10 0510c868ecb4: Pulling fs layer 20:12:10 afea3b2eda06: Pulling fs layer 20:12:10 7809a108b3ef: Pulling fs layer 20:12:10 f706445af74f: Pulling fs layer 20:12:10 7809a108b3ef: Waiting 20:12:10 afea3b2eda06: Waiting 20:12:10 0510c868ecb4: Waiting 20:12:10 f706445af74f: Waiting 20:12:10 4c4ab2625f07: Download complete 20:12:10 adcc1eea9eea: Verifying Checksum 20:12:10 adcc1eea9eea: Download complete 20:12:10 afea3b2eda06: Verifying Checksum 20:12:10 afea3b2eda06: Download complete 20:12:10 7809a108b3ef: Verifying Checksum 20:12:10 7809a108b3ef: Download complete 20:12:10 540db60ca938: Verifying Checksum 20:12:10 540db60ca938: Download complete 20:12:10 540db60ca938: Pull complete 20:12:11 adcc1eea9eea: Pull complete 20:12:11 4c4ab2625f07: Pull complete 20:12:12 f706445af74f: Verifying Checksum 20:12:12 f706445af74f: Download complete 20:12:13 0510c868ecb4: Verifying Checksum 20:12:13 0510c868ecb4: Download complete 20:12:20 0510c868ecb4: Pull complete 20:12:20 afea3b2eda06: Pull complete 20:12:20 7809a108b3ef: Pull complete 20:12:28 f706445af74f: Pull complete 20:12:28 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 20:12:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:12:28 ---> b068be0155e3 20:12:28 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 20:12:28 ---> Running in 3393d22a84e9 20:12:28 Removing intermediate container 3393d22a84e9 20:12:28 ---> a8e7c078fc82 20:12:28 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 20:12:28 ---> Running in fc6fbb22e619 20:12:28 Removing intermediate container fc6fbb22e619 20:12:28 ---> e905e0bf51a2 20:12:28 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 20:12:28 ---> Running in c5e6f875b57f 20:12:28 Removing intermediate container c5e6f875b57f 20:12:28 ---> 0e78ff85a4e5 20:12:28 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:12:28 ---> Running in 3231e9705a50 20:12:30 Removing intermediate container 3231e9705a50 20:12:30 ---> 3da8dc566218 20:12:30 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:12:30 ---> Running in a7bcdacaf76d 20:12:31 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:12:32 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:12:33 OK: 149 MiB in 40 packages 20:12:34 Removing intermediate container a7bcdacaf76d 20:12:34 ---> c190312148a6 20:12:34 Step 8/10 : WORKDIR /device-snmp-go 20:12:34 ---> Running in bb92e2b31942 20:12:34 Removing intermediate container bb92e2b31942 20:12:34 ---> 03ac437a3e53 20:12:34 Step 9/10 : COPY . . 20:12:35 ---> eacf97b4c170 20:12:35 Step 10/10 : RUN go mod download 20:12:35 ---> Running in d7691ee5ebcb 20:12:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4832 in /w/workspace/dgexfoundry_device-snmp-go_PR-94 [Pipeline] { [Pipeline] ws 20:12:47 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 20:12:54 using credential edgex-jenkins-ssh 20:12:54 Cloning the remote Git repository 20:12:54 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 20:12:55 > git init /w/workspace/device-snmp-go/1 # timeout=10 20:12:55 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 20:12:55 > git --version # timeout=10 20:12:55 > git --version # 'git version 2.17.1' 20:12:55 using GIT_SSH to set credentials SSH Credentials for GitHub 20:12:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:12:56 Merging remotes/origin/master commit 0ab86073b0269e161c45419c6956d6e22a89cd28 into PR head commit 029de773be3ee92d8a76ad39c20a2d8a6bd1decc 20:12:56 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 20:12:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:12:56 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 20:12:56 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 20:12:56 using GIT_SSH to set credentials SSH Credentials for GitHub 20:12:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:12:56 > git config core.sparsecheckout # timeout=10 20:12:56 > git checkout -f 029de773be3ee92d8a76ad39c20a2d8a6bd1decc # timeout=10 20:12:57 > git remote # timeout=10 20:12:57 > git config --get remote.origin.url # timeout=10 20:12:57 using GIT_SSH to set credentials SSH Credentials for GitHub 20:12:57 Merge succeeded, producing 029de773be3ee92d8a76ad39c20a2d8a6bd1decc 20:12:57 Checking out Revision 029de773be3ee92d8a76ad39c20a2d8a6bd1decc (PR-94) 20:12:58 Removing intermediate container d7691ee5ebcb 20:12:58 ---> c65183c4951e 20:12:58 Successfully built c65183c4951e 20:12:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:12:57 > git merge 0ab86073b0269e161c45419c6956d6e22a89cd28 # timeout=10 20:12:57 > git rev-parse HEAD^{commit} # timeout=10 20:12:57 > git config core.sparsecheckout # timeout=10 20:12:57 > git checkout -f 029de773be3ee92d8a76ad39c20a2d8a6bd1decc # timeout=10 20:12:58 + docker inspect -f . ci-base-image-x86_64 20:12:58 . [Pipeline] withDockerContainer 20:12:58 prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container 20:12:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:12:59 $ docker top 18a5c1af4d1cfd797cc07363e0f6fe0832d646e29a4973abd585719d89ff80c2 -eo pid,comm [Pipeline] { [Pipeline] sh 20:13:00 + go version 20:13:00 go version go1.16.3 linux/amd64 [Pipeline] } 20:13:00 $ docker stop --time=1 18a5c1af4d1cfd797cc07363e0f6fe0832d646e29a4973abd585719d89ff80c2 20:13:01 Commit message: "fix(build): update Dockerfiles to use go 1.16" 20:13:01 > git --version # timeout=10 20:13:01 > git --version # 'git version 2.17.1' 20:13:01 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 20:13:01 $ docker rm -f 18a5c1af4d1cfd797cc07363e0f6fe0832d646e29a4973abd585719d89ff80c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 20:13:02 + docker inspect -f . ci-base-image-x86_64 20:13:02 . [Pipeline] withDockerContainer 20:13:03 prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container 20:13:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:13:03 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 20:13:04 $ docker top 3ce56ffa74432d6bd406cc2be343b9ebc6493944f3fbe63707b37bace8909aca -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 20:13:05 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:13:05 + go mod tidy [Pipeline] sh 20:13:05 + sudo service docker restart 20:13:05 + true 20:13:05 + make test 20:13:05 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:13:06 ? github.com/edgexfoundry/device-snmp-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:13:08 provisioning config files... 20:13:08 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7951613017375064945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:13:08 ---> docker-login.sh 20:13:08 nexus3.edgexfoundry.org:10001 20:13:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:10 Configure a credential helper to remove this warning. See 20:13:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:10 20:13:10 Login Succeeded 20:13:10 nexus3.edgexfoundry.org:10002 20:13:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:10 Configure a credential helper to remove this warning. See 20:13:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:10 20:13:10 Login Succeeded 20:13:10 nexus3.edgexfoundry.org:10003 20:13:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:11 Configure a credential helper to remove this warning. See 20:13:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:11 20:13:11 Login Succeeded 20:13:11 nexus3.edgexfoundry.org:10004 20:13:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:11 Configure a credential helper to remove this warning. See 20:13:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:11 20:13:11 Login Succeeded 20:13:11 docker.io 20:13:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:12 Configure a credential helper to remove this warning. See 20:13:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:12 20:13:12 Login Succeeded 20:13:12 ---> docker-login.sh ends [Pipeline] } 20:13:12 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:13:13 ========================================================= 20:13:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 20:13:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:13:13 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 20:13:13 Sending build context to Docker daemon 358.4kB 20:13:13 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 20:13:13 Step 2/10 : FROM ${BASE} 20:13:14 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:13:14 595b0fe564bb: Pulling fs layer 20:13:14 7186ed65a4f7: Pulling fs layer 20:13:14 316046926c0a: Pulling fs layer 20:13:14 4ebd0625c992: Pulling fs layer 20:13:14 207e8628e3a3: Pulling fs layer 20:13:14 c791037a9be2: Pulling fs layer 20:13:14 ffd874e62e21: Pulling fs layer 20:13:14 4ebd0625c992: Waiting 20:13:14 207e8628e3a3: Waiting 20:13:14 c791037a9be2: Waiting 20:13:14 ffd874e62e21: Waiting 20:13:14 316046926c0a: Verifying Checksum 20:13:14 316046926c0a: Download complete 20:13:14 7186ed65a4f7: Verifying Checksum 20:13:14 7186ed65a4f7: Download complete 20:13:14 207e8628e3a3: Verifying Checksum 20:13:14 207e8628e3a3: Download complete 20:13:14 c791037a9be2: Verifying Checksum 20:13:14 c791037a9be2: Download complete 20:13:14 595b0fe564bb: Verifying Checksum 20:13:14 595b0fe564bb: Download complete 20:13:15 595b0fe564bb: Pull complete 20:13:15 7186ed65a4f7: Pull complete 20:13:16 316046926c0a: Pull complete 20:13:16 ffd874e62e21: Verifying Checksum 20:13:16 ffd874e62e21: Download complete 20:13:17 4ebd0625c992: Verifying Checksum 20:13:17 4ebd0625c992: Download complete 20:13:24 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 20:13:24 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.015s coverage: 0.0% of statements 20:13:24 CGO_ENABLED=0 GO111MODULE=on go vet ./... 20:13:27 4ebd0625c992: Pull complete 20:13:28 207e8628e3a3: Pull complete 20:13:28 c791037a9be2: Pull complete 20:13:32 ffd874e62e21: Pull complete 20:13:32 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 20:13:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:13:32 ---> cfc18b08335c 20:13:32 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 20:13:33 gofmt -l . 20:13:33 [ "`gofmt -l .`" = "" ] 20:13:33 ./bin/test-attribution-txt.sh 20:13:33 ./bin/test-go-mod-tidy.sh [Pipeline] } 20:13:33 $ docker stop --time=1 3ce56ffa74432d6bd406cc2be343b9ebc6493944f3fbe63707b37bace8909aca 20:13:35 ---> Running in 663b21f017ea 20:13:35 $ docker rm -f 3ce56ffa74432d6bd406cc2be343b9ebc6493944f3fbe63707b37bace8909aca 20:13:35 Removing intermediate container 663b21f017ea 20:13:35 ---> 46f6f97dcf1b 20:13:35 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 20:13:35 ---> Running in d9c3b4b6ddee [Pipeline] // withDockerContainer [Pipeline] sh 20:13:36 Removing intermediate container d9c3b4b6ddee 20:13:36 ---> abf1267a06de 20:13:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 20:13:36 + sudo chown -R jenkins:jenkins . 20:13:36 ---> Running in 160ef54087cf [Pipeline] stash 20:13:36 Removing intermediate container 160ef54087cf 20:13:36 ---> fd2c06dddfd5 20:13:36 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:13:37 Stashed 1 file(s) 20:13:37 ---> Running in 302e131739a6 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:13:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:13:38 + ls -al . 20:13:38 total 104 20:13:38 drwxrwxr-x. 8 jenkins jenkins 4096 May 12 20:13 . 20:13:38 drwxrwxr-x. 4 jenkins jenkins 28 May 12 20:11 .. 20:13:38 -rw-rw-r--. 1 jenkins jenkins 5082 May 12 20:11 Attribution.txt 20:13:38 drwxrwxr-x. 2 jenkins jenkins 87 May 12 20:11 bin 20:13:38 drwxrwxr-x. 3 jenkins jenkins 32 May 12 20:11 cmd 20:13:38 -rw-r--r--. 1 jenkins jenkins 8493 May 12 20:13 coverage.out 20:13:38 -rw-rw-r--. 1 jenkins jenkins 1529 May 12 20:11 Dockerfile 20:13:38 -rw-rw-r--. 1 jenkins jenkins 1006 May 12 20:11 Dockerfile.build 20:13:38 -rw-rw-r--. 1 jenkins jenkins 6 May 12 20:11 .dockerignore 20:13:38 drwxrwxr-x. 8 jenkins jenkins 179 May 12 20:12 .git 20:13:38 drwxrwxr-x. 2 jenkins jenkins 103 May 12 20:11 .github 20:13:38 -rw-rw-r--. 1 jenkins jenkins 272 May 12 20:11 .gitignore 20:13:38 -rw-r--r--. 1 jenkins jenkins 204 May 12 20:13 go.mod 20:13:38 -rw-r--r--. 1 jenkins jenkins 14055 May 12 20:13 go.sum 20:13:38 drwxrwxr-x. 3 jenkins jenkins 20 May 12 20:11 internal 20:13:38 -rw-rw-r--. 1 jenkins jenkins 656 May 12 20:11 Jenkinsfile 20:13:38 -rw-rw-r--. 1 jenkins jenkins 11340 May 12 20:11 LICENSE 20:13:38 -rw-rw-r--. 1 jenkins jenkins 917 May 12 20:11 Makefile 20:13:38 drwxrwxr-x. 2 jenkins jenkins 84 May 12 20:11 profiles 20:13:38 -rw-rw-r--. 1 jenkins jenkins 14171 May 12 20:11 README.md 20:13:38 -rw-rw-r--. 1 jenkins jenkins 5 May 12 20:09 VERSION 20:13:38 -rw-rw-r--. 1 jenkins jenkins 209 May 12 20:11 version.go [Pipeline] isUnix [Pipeline] sh 20:13:38 + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=029de773be3ee92d8a76ad39c20a2d8a6bd1decc --label arch=amd64 --label version=0.0.0 . 20:13:39 Removing intermediate container 302e131739a6 20:13:39 ---> 2127edfa5bfc 20:13:39 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:13:39 Sending build context to Docker daemon 368.6kB 20:13:39 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 20:13:39 Step 2/26 : FROM ${BASE} AS builder 20:13:39 ---> c65183c4951e 20:13:39 Step 3/26 : ARG MAKE='make build' 20:13:39 ---> Running in 5626d222a56f 20:13:39 ---> Running in 70cfaf5d623f 20:13:39 Removing intermediate container 5626d222a56f 20:13:39 ---> 224d3b5b5ae5 20:13:39 Step 4/26 : ARG ALPINE_PKG_BASE="make git" 20:13:39 ---> Running in 4fe99879cbd7 20:13:39 Removing intermediate container 4fe99879cbd7 20:13:39 ---> 681bde1b9271 20:13:39 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 20:13:39 ---> Running in be6633d4c868 20:13:40 Removing intermediate container be6633d4c868 20:13:40 ---> 412850331b51 20:13:40 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:13:40 ---> Running in 56dbc0800fdb 20:13:40 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:13:41 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:13:41 Removing intermediate container 56dbc0800fdb 20:13:41 ---> 399a03d71d13 20:13:41 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:13:41 ---> Running in 792b9af3810e 20:13:41 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:13:42 OK: 138 MiB in 40 packages 20:13:42 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:13:43 OK: 149 MiB in 40 packages 20:13:43 Removing intermediate container 70cfaf5d623f 20:13:43 ---> f70a40270688 20:13:43 Step 8/10 : WORKDIR /device-snmp-go 20:13:43 ---> Running in c3acd012b48d 20:13:43 Removing intermediate container 792b9af3810e 20:13:43 ---> fb818bec82d7 20:13:43 Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 20:13:43 ---> Running in a0024fbc7967 20:13:44 Removing intermediate container a0024fbc7967 20:13:44 ---> 4339354a5274 20:13:44 Step 9/26 : COPY go.mod . 20:13:44 Removing intermediate container c3acd012b48d 20:13:44 ---> e8b6698204a8 20:13:44 Step 9/10 : COPY . . 20:13:44 ---> 026b4231b4d1 20:13:44 Step 10/26 : COPY Makefile . 20:13:44 ---> 5bc376fd37aa 20:13:44 Step 11/26 : RUN make update 20:13:44 ---> Running in 37c8b120d977 20:13:44 ---> 63b0cf58732d 20:13:44 Step 10/10 : RUN go mod download 20:13:45 ---> Running in 1be9924ec716 20:13:45 CGO_ENABLED=0 GO111MODULE=on go mod download 20:13:45 Removing intermediate container 37c8b120d977 20:13:45 ---> d3072236d316 20:13:45 Step 12/26 : COPY . . 20:13:46 ---> a1d89efc3f53 20:13:46 Step 13/26 : RUN ${MAKE} 20:13:46 ---> Running in 551296f22ac2 20:13:47 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 20:13:59 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:14:03 Removing intermediate container 551296f22ac2 20:14:03 ---> 82f554474eaf 20:14:03 Step 14/26 : FROM alpine:3.12 20:14:03 3.12: Pulling from library/alpine 20:14:03 339de151aab4: Pulling fs layer 20:14:03 339de151aab4: Verifying Checksum 20:14:03 339de151aab4: Download complete 20:14:04 339de151aab4: Pull complete 20:14:04 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 20:14:04 Status: Downloaded newer image for alpine:3.12 20:14:04 ---> 13621d1b12d4 20:14:04 Step 15/26 : ENV APP_PORT=49993 20:14:04 ---> Running in 40f860d4ddd6 20:14:04 Removing intermediate container 40f860d4ddd6 20:14:04 ---> 5c3f3a9ac963 20:14:04 Step 16/26 : EXPOSE $APP_PORT 20:14:04 ---> Running in bde366000014 20:14:04 Removing intermediate container bde366000014 20:14:04 ---> 89237fe8105c 20:14:04 Step 17/26 : ENV DEVICE_PORT=161 20:14:04 ---> Running in b2dc6b8fa101 20:14:04 Removing intermediate container b2dc6b8fa101 20:14:04 ---> a24ed161d021 20:14:04 Step 18/26 : EXPOSE $DEVICE_PORT 20:14:04 ---> Running in a2b6c08f6ab5 20:14:05 Removing intermediate container a2b6c08f6ab5 20:14:05 ---> 9e3fee571abd 20:14:05 Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 20:14:05 ---> ef376e6e1434 20:14:05 Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 20:14:06 ---> ae1bdbd08305 20:14:06 Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 20:14:06 ---> 02c3b25d0b43 20:14:06 Step 22/26 : ENTRYPOINT ["/device-snmp-go"] 20:14:06 ---> Running in 238bd7c53c3d 20:14:06 Removing intermediate container 238bd7c53c3d 20:14:06 ---> fb7a2c2354fa 20:14:06 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:14:06 ---> Running in 7c83a309cf79 20:14:06 Removing intermediate container 7c83a309cf79 20:14:06 ---> 8c14780f3172 20:14:06 Step 24/26 : LABEL arch=amd64 20:14:07 ---> Running in 517b28225102 20:14:07 Removing intermediate container 517b28225102 20:14:07 ---> 7564e8c98c98 20:14:07 Step 25/26 : LABEL git_sha=029de773be3ee92d8a76ad39c20a2d8a6bd1decc 20:14:07 ---> Running in c77701cd6dba 20:14:07 Removing intermediate container c77701cd6dba 20:14:07 ---> 137a92f7efd8 20:14:07 Step 26/26 : LABEL version=0.0.0 20:14:07 ---> Running in 017eed9ddb15 20:14:07 Removing intermediate container 017eed9ddb15 20:14:07 ---> 062a2407237b 20:14:07 [Warning] One or more build-args [ARCH] were not consumed 20:14:07 Successfully built 062a2407237b 20:14:07 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 20:14:08 ---> job-cost.sh 20:14:08 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MzrK 20:14:11 Removing intermediate container 1be9924ec716 20:14:11 ---> 27a131c8794e 20:14:11 Successfully built 27a131c8794e 20:14:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:14:12 + docker inspect -f . ci-base-image-arm64 20:14:12 . [Pipeline] withDockerContainer 20:14:12 prd-ubuntu18.04-docker-arm64-4c-16g-4832 does not seem to be running inside a container 20:14:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:14:14 $ docker top 4deed57b0cf2eed4c82cf4c104e9cf816eea1e5779233c3252cce96721a4ec21 -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:15 + go version 20:14:15 go version go1.16.3 linux/arm64 [Pipeline] } 20:14:15 $ docker stop --time=1 4deed57b0cf2eed4c82cf4c104e9cf816eea1e5779233c3252cce96721a4ec21 20:14:17 $ docker rm -f 4deed57b0cf2eed4c82cf4c104e9cf816eea1e5779233c3252cce96721a4ec21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:14:17 + docker inspect -f . ci-base-image-arm64 20:14:17 . [Pipeline] withDockerContainer 20:14:18 prd-ubuntu18.04-docker-arm64-4c-16g-4832 does not seem to be running inside a container 20:14:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:14:19 $ docker top 6c9498e30bf095baccebb8fcd8ac54fd997ce0fa78d91af1375a85bb17f5125c -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:21 + go mod tidy [Pipeline] sh 20:14:22 + make test 20:14:22 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:14:23 ? github.com/edgexfoundry/device-snmp-go [no test files] 20:14:26 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:14:58 lf-activate-venv(): INFO: Adding /tmp/venv-MzrK/bin to PATH 20:14:58 INFO: No Stack... 20:14:58 INFO: Retrieving Pricing Info for: v1-standard-2 20:14:58 INFO: Archiving Costs [Pipeline] sh 20:14:59 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 20:14:59 + cut -d, -f6 [Pipeline] lock 20:14:59 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-94-1-stack-cost] 20:14:59 Resource [jenkins-edgexfoundry-device-snmp-go-PR-94-1-stack-cost] did not exist. Created. 20:14:59 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-94-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:14:59 + echo total: 0.029999999329447746 [Pipeline] stash 20:14:59 Stashed 1 file(s) [Pipeline] } 20:14:59 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-94-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:15:10 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 20:15:10 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.018s coverage: 0.0% of statements 20:15:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 20:15:33 gofmt -l . 20:15:33 [ "`gofmt -l .`" = "" ] 20:15:33 ./bin/test-attribution-txt.sh 20:15:33 ./bin/test-go-mod-tidy.sh [Pipeline] } 20:15:33 $ docker stop --time=1 6c9498e30bf095baccebb8fcd8ac54fd997ce0fa78d91af1375a85bb17f5125c 20:15:35 $ docker rm -f 6c9498e30bf095baccebb8fcd8ac54fd997ce0fa78d91af1375a85bb17f5125c [Pipeline] // withDockerContainer [Pipeline] sh 20:15:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:15:36 Warning: overwriting stash ‘coverage-report’ 20:15:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:15:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:15:37 + ls -al . 20:15:37 total 132 20:15:37 drwxrwxr-x 8 jenkins jenkins 4096 May 12 20:15 . 20:15:37 drwxrwxr-x 4 jenkins jenkins 4096 May 12 20:12 .. 20:15:37 -rw-rw-r-- 1 jenkins jenkins 6 May 12 20:12 .dockerignore 20:15:37 drwxrwxr-x 8 jenkins jenkins 4096 May 12 20:13 .git 20:15:37 drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:12 .github 20:15:37 -rw-rw-r-- 1 jenkins jenkins 272 May 12 20:12 .gitignore 20:15:37 -rw-rw-r-- 1 jenkins jenkins 5082 May 12 20:12 Attribution.txt 20:15:37 -rw-rw-r-- 1 jenkins jenkins 1529 May 12 20:12 Dockerfile 20:15:37 -rw-rw-r-- 1 jenkins jenkins 1006 May 12 20:12 Dockerfile.build 20:15:37 -rw-rw-r-- 1 jenkins jenkins 656 May 12 20:12 Jenkinsfile 20:15:37 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 20:12 LICENSE 20:15:37 -rw-rw-r-- 1 jenkins jenkins 917 May 12 20:12 Makefile 20:15:37 -rw-rw-r-- 1 jenkins jenkins 14171 May 12 20:12 README.md 20:15:37 -rw-rw-r-- 1 jenkins jenkins 5 May 12 20:09 VERSION 20:15:37 drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:12 bin 20:15:37 drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:12 cmd 20:15:37 -rw-r--r-- 1 jenkins jenkins 8493 May 12 20:15 coverage.out 20:15:37 -rw-r--r-- 1 jenkins jenkins 204 May 12 20:15 go.mod 20:15:37 -rw-r--r-- 1 jenkins jenkins 14055 May 12 20:14 go.sum 20:15:37 drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:12 internal 20:15:37 drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:12 profiles 20:15:37 -rw-rw-r-- 1 jenkins jenkins 209 May 12 20:12 version.go [Pipeline] isUnix [Pipeline] sh 20:15:38 + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=029de773be3ee92d8a76ad39c20a2d8a6bd1decc --label arch=arm64 --label version=0.0.0 . 20:15:38 Sending build context to Docker daemon 367.6kB 20:15:38 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 20:15:38 Step 2/26 : FROM ${BASE} AS builder 20:15:38 ---> 27a131c8794e 20:15:38 Step 3/26 : ARG MAKE='make build' 20:15:38 ---> Running in 4026c1852e91 20:15:39 Removing intermediate container 4026c1852e91 20:15:39 ---> dfbc29fbd678 20:15:39 Step 4/26 : ARG ALPINE_PKG_BASE="make git" 20:15:39 ---> Running in 1f821dc92de4 20:15:40 Removing intermediate container 1f821dc92de4 20:15:40 ---> b7f9c9ca4a2d 20:15:40 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 20:15:40 ---> Running in 6fe37c4a5dd5 20:15:40 Removing intermediate container 6fe37c4a5dd5 20:15:40 ---> b3341c7d4bc2 20:15:40 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:15:40 ---> Running in ff06ce34ae3c 20:15:43 Removing intermediate container ff06ce34ae3c 20:15:43 ---> 048916876c04 20:15:43 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:15:43 ---> Running in 0931e8d5a743 20:15:44 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:15:45 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:15:46 OK: 138 MiB in 40 packages 20:15:47 Removing intermediate container 0931e8d5a743 20:15:47 ---> 95b50d187999 20:15:47 Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 20:15:47 ---> Running in 3d75e5557e7c 20:15:48 Removing intermediate container 3d75e5557e7c 20:15:48 ---> 7786edc80b9f 20:15:48 Step 9/26 : COPY go.mod . 20:15:48 ---> 4ea1ba0a09fe 20:15:48 Step 10/26 : COPY Makefile . 20:15:49 ---> daffd3a904ae 20:15:49 Step 11/26 : RUN make update 20:15:49 ---> Running in 0779c6f84684 20:15:51 CGO_ENABLED=0 GO111MODULE=on go mod download 20:15:52 Removing intermediate container 0779c6f84684 20:15:52 ---> 8c7e362ac938 20:15:52 Step 12/26 : COPY . . 20:15:53 ---> 8d80f92e3155 20:15:53 Step 13/26 : RUN ${MAKE} 20:15:53 ---> Running in 05f6ea4b1b85 20:15:54 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 20:16:26 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:16:27 Removing intermediate container 05f6ea4b1b85 20:16:27 ---> 3bc87f98a779 20:16:27 Step 14/26 : FROM alpine:3.12 20:16:27 3.12: Pulling from library/alpine 20:16:28 d2f70382dc9a: Pulling fs layer 20:16:28 d2f70382dc9a: Verifying Checksum 20:16:28 d2f70382dc9a: Pull complete 20:16:28 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 20:16:28 Status: Downloaded newer image for alpine:3.12 20:16:28 ---> 9852663dfa18 20:16:28 Step 15/26 : ENV APP_PORT=49993 20:16:29 ---> Running in a6155859a0f2 20:16:29 Removing intermediate container a6155859a0f2 20:16:29 ---> 3eb443bb66c7 20:16:29 Step 16/26 : EXPOSE $APP_PORT 20:16:29 ---> Running in ca180cd7dbb1 20:16:30 Removing intermediate container ca180cd7dbb1 20:16:30 ---> f72c8e3f4d32 20:16:30 Step 17/26 : ENV DEVICE_PORT=161 20:16:30 ---> Running in b26a9ab250cf 20:16:30 Removing intermediate container b26a9ab250cf 20:16:30 ---> ee5ae174ee5f 20:16:30 Step 18/26 : EXPOSE $DEVICE_PORT 20:16:30 ---> Running in befafb5bced8 20:16:31 Removing intermediate container befafb5bced8 20:16:31 ---> 197f3a94f713 20:16:31 Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 20:16:32 ---> 7e03d5c6f28e 20:16:32 Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 20:16:33 ---> f852143de4c2 20:16:33 Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 20:16:34 ---> 277d8c3b44f5 20:16:34 Step 22/26 : ENTRYPOINT ["/device-snmp-go"] 20:16:34 ---> Running in 29c065b2896b 20:16:34 Removing intermediate container 29c065b2896b 20:16:34 ---> 9b921f3f3d7b 20:16:34 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:16:34 ---> Running in 0fa76837c5d6 20:16:35 Removing intermediate container 0fa76837c5d6 20:16:35 ---> d436b756db43 20:16:35 Step 24/26 : LABEL arch=arm64 20:16:35 ---> Running in 8667fd05e187 20:16:35 Removing intermediate container 8667fd05e187 20:16:35 ---> 8535dbcf9ccf 20:16:35 Step 25/26 : LABEL git_sha=029de773be3ee92d8a76ad39c20a2d8a6bd1decc 20:16:35 ---> Running in 86ad5c3f929b 20:16:36 Removing intermediate container 86ad5c3f929b 20:16:36 ---> bd4e963d080f 20:16:36 Step 26/26 : LABEL version=0.0.0 20:16:36 ---> Running in e2abbe9b13ba 20:16:36 Removing intermediate container e2abbe9b13ba 20:16:37 ---> 3abcb867f25b 20:16:37 [Warning] One or more build-args [ARCH] were not consumed 20:16:37 Successfully built 3abcb867f25b 20:16:37 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 20:16:37 ---> job-cost.sh 20:16:37 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wGMF 20:17:24 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:18:46 lf-activate-venv(): INFO: Adding /tmp/venv-wGMF/bin to PATH 20:18:46 INFO: No Stack... 20:18:46 INFO: Retrieving Pricing Info for: lf-standard-4 20:18:46 INFO: Archiving Costs [Pipeline] sh 20:18:46 + cut -d, -f6 20:18:46 + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock 20:18:46 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-94-1-stack-cost] 20:18:46 Resource [jenkins-edgexfoundry-device-snmp-go-PR-94-1-stack-cost] did not exist. Created. 20:18:46 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-94-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:18:47 /w/workspace/device-snmp-go/1@tmp/durable-4501b780/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-4501b780/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:18:47 + echo total: 0.20999999344348907 [Pipeline] stash 20:18:47 Warning: overwriting stash ‘stack-cost’ 20:18:47 Stashed 1 file(s) [Pipeline] } 20:18:47 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-94-1-stack-cost] [Pipeline] // lock [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 20:18:48 provisioning config files... 20:18:48 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-94@tmp/config4785860362828976561tmp [Pipeline] { [Pipeline] sh 20:18:49 + set +x 20:18:49 + curl -s https://codecov.io/bash 20:18:49 + bash -s -- 20:18:49 20:18:49 _____ _ 20:18:49 / ____| | | 20:18:49 | | ___ __| | ___ ___ _____ __ 20:18:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:18:49 | |___| (_) | (_| | __/ (_| (_) \ V / 20:18:49 \_____\___/ \__,_|\___|\___\___/ \_/ 20:18:49 Bash-1.0.2 20:18:49 20:18:49 20:18:49 ==> git version 2.24.3 found 20:18:49 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 20:18:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:18:49 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:18:49 ==> Jenkins CI detected. 20:18:49 project root: . 20:18:49 --> token set from env 20:18:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:18:49 ==> Running gcov in . (disable via -X gcov) 20:18:49 ==> Python coveragepy not found 20:18:49 ==> Searching for coverage reports in: 20:18:49 + . 20:18:49 -> Found 1 reports 20:18:49 ==> Detecting git/mercurial file structure 20:18:49 ==> Reading reports 20:18:49 + ./coverage.out bytes=8493 20:18:49 ==> Appending adjustments 20:18:49 https://docs.codecov.io/docs/fixing-reports 20:18:49 + Found adjustments 20:18:49 ==> Gzipping contents 20:18:49 4.0K /tmp/codecov.UlVPke.gz 20:18:49 ==> Uploading reports 20:18:49 url: https://codecov.io 20:18:49 query: branch=PR-94&commit=029de773be3ee92d8a76ad39c20a2d8a6bd1decc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-94%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=94&job=&cmd_args= 20:18:49 -> Pinging Codecov 20:18:49 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-94&commit=029de773be3ee92d8a76ad39c20a2d8a6bd1decc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-94%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=94&job=&cmd_args= 20:18:50 -> Uploading to 20:18:50 https://storage.googleapis.com/codecov/v4/raw/2021-05-12/6C56EA5C29638FB4528AC87E60AF5AE0/029de773be3ee92d8a76ad39c20a2d8a6bd1decc/4ab4c163-0837-432c-88d7-aa1212bcd3bc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210512T201849Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5aadc314802fd9a0c948ec73bdf6245540c34004ff38a49c4f781fe67a31bbb2 20:18:50 % Total % Received % Xferd Average Speed Time Time Time Current 20:18:50 Dload Upload Total Spent Left Speed 20:18:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1447 0 0 100 1447 0 3228 --:--:-- --:--:-- --:--:-- 3229 100 1447 0 0 100 1447 0 3226 --:--:-- --:--:-- --:--:-- 3222 20:18:50 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/029de773be3ee92d8a76ad39c20a2d8a6bd1decc [Pipeline] } 20:18:50 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 20:18:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:18:53 ---> package-listing.sh 20:18:53 ++ facter osfamily 20:18:53 ++ tr '[:upper:]' '[:lower:]' 20:18:53 + OS_FAMILY=redhat 20:18:53 + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-94 20:18:53 + START_PACKAGES=/tmp/packages_start.txt 20:18:53 + END_PACKAGES=/tmp/packages_end.txt 20:18:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:18:53 + PACKAGES=/tmp/packages_start.txt 20:18:53 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-94 ']' 20:18:53 + PACKAGES=/tmp/packages_end.txt 20:18:53 + case "${OS_FAMILY}" in 20:18:53 + rpm -qa 20:18:53 + sort 20:18:58 + '[' -f /tmp/packages_start.txt ']' 20:18:58 + '[' -f /tmp/packages_end.txt ']' 20:18:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:18:58 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-94 ']' 20:18:58 + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-94/archives/ 20:18:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-94/archives/ [Pipeline] echo 20:18:58 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-snmp-go_PR-94/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:18:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:18:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:18:59 20:18:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:18:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:18:59 alpine: Pulling from edgex-lftools-log-publisher 20:18:59 df20fa9351a1: Pulling fs layer 20:18:59 36b3adc4ff6f: Pulling fs layer 20:18:59 8ad3a11d3b57: Pulling fs layer 20:18:59 46f8f816bc3b: Pulling fs layer 20:18:59 93b61091891f: Pulling fs layer 20:18:59 93b9cdb0e59b: Pulling fs layer 20:18:59 5e14af77c1be: Pulling fs layer 20:18:59 01666e4c0597: Pulling fs layer 20:18:59 aa168da1d23b: Pulling fs layer 20:18:59 93b61091891f: Waiting 20:18:59 93b9cdb0e59b: Waiting 20:18:59 5e14af77c1be: Waiting 20:18:59 01666e4c0597: Waiting 20:18:59 aa168da1d23b: Waiting 20:18:59 46f8f816bc3b: Waiting 20:18:59 36b3adc4ff6f: Download complete 20:18:59 46f8f816bc3b: Verifying Checksum 20:18:59 46f8f816bc3b: Download complete 20:18:59 df20fa9351a1: Verifying Checksum 20:18:59 df20fa9351a1: Download complete 20:18:59 93b9cdb0e59b: Verifying Checksum 20:18:59 93b9cdb0e59b: Download complete 20:18:59 5e14af77c1be: Verifying Checksum 20:18:59 5e14af77c1be: Download complete 20:18:59 93b61091891f: Verifying Checksum 20:18:59 93b61091891f: Download complete 20:18:59 01666e4c0597: Verifying Checksum 20:18:59 01666e4c0597: Download complete 20:18:59 8ad3a11d3b57: Verifying Checksum 20:18:59 8ad3a11d3b57: Download complete 20:19:00 df20fa9351a1: Pull complete 20:19:00 36b3adc4ff6f: Pull complete 20:19:01 8ad3a11d3b57: Pull complete 20:19:01 46f8f816bc3b: Pull complete 20:19:01 aa168da1d23b: Verifying Checksum 20:19:01 aa168da1d23b: Download complete 20:19:02 93b61091891f: Pull complete 20:19:02 93b9cdb0e59b: Pull complete 20:19:02 5e14af77c1be: Pull complete 20:19:02 01666e4c0597: Pull complete 20:19:10 aa168da1d23b: Pull complete 20:19:10 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:19:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:19:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:19:10 prd-centos7-docker-4c-2g-4814 does not seem to be running inside a container 20:19:11 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-snmp-go_PR-94/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-snmp-go_PR-94 -v /w/workspace/dgexfoundry_device-snmp-go_PR-94:/w/workspace/dgexfoundry_device-snmp-go_PR-94:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-94@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:19:14 $ docker top 1a29c2f0b94785ecce21085e24249421bec6f49530508a8c39ecc22d384a77f1 -eo pid,comm [Pipeline] { [Pipeline] sh 20:19:14 + touch /tmp/pre-build-complete [Pipeline] sh 20:19:15 + mkdir -p /var/log/sa [Pipeline] sh 20:19:15 + ls /var/log/sa-host 20:19:15 + sadf -c /var/log/sa-host/sa12 20:19:15 file_magic: OK 20:19:15 HZ: Using current value: 100 20:19:15 file_header: OK 20:19:15 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 20:19:15 Statistics: 20:19:15 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:19:15 File successfully converted to sysstat format version 12.2.1 20:19:15 + sadf -c /var/log/sa-host/sa23 20:19:15 file_magic: OK 20:19:15 HZ: Using current value: 100 20:19:15 file_header: OK 20:19:15 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 20:19:15 Statistics: 20:19:15 Hnuu...uuuununununu... 20:19:15 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:19:15 provisioning config files... 20:19:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-94@tmp/config6151284546290742494tmp [Pipeline] { [Pipeline] echo 20:19:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:19:16 ---> create-netrc.sh [Pipeline] } 20:19:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:19:16 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:19:16 ---> python-tools-install.sh [Pipeline] echo 20:19:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:19:16 ---> sudo-logs.sh 20:19:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:19:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:19:17 ---> job-cost.sh 20:19:17 lf-activate-venv: SKIPPING 20:19:17 DEBUG: total: 0.20999999344348907 20:19:17 INFO: Retrieving Stack Cost... 20:19:18 INFO: Retrieving Pricing Info for: v1-standard-2 20:19:19 INFO: Archiving Costs [Pipeline] echo 20:19:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:19:19 ---> logs-deploy.sh 20:19:19 lf-activate-venv: SKIPPING 20:19:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-94/1 20:19:19 INFO: archiving workspace using pattern(s): 20:19:21 Archives upload complete. 20:19:21 INFO: archiving logs to Nexus