Pull request #177 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-snmp-go Obtained Jenkinsfile from a5241eda9e1e69b89fe42501feada0344f2aaf6b+9dfa39e25740af4f73019c6d8198dfd4ed11294a (b8e9c79ff70c9dbe363930520aa8114ab9f527a5) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1154499357508437893.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12528892729866791391.key > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git 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-177/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-177/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10858914250773314471.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-177/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2855557980770455772.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17898326013301832452.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE 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-177/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-177/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11991285189751689731.key > 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 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-1754’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1756 in /w/workspace/gexfoundry_device-snmp-go_PR-177 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_PR-177 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' 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 Merging remotes/origin/jakarta commit 9dfa39e25740af4f73019c6d8198dfd4ed11294a into PR head commit a5241eda9e1e69b89fe42501feada0344f2aaf6b Merge succeeded, producing a5241eda9e1e69b89fe42501feada0344f2aaf6b Checking out Revision a5241eda9e1e69b89fe42501feada0344f2aaf6b (PR-177) > 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/177/head:refs/remotes/origin/PR-177 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a5241eda9e1e69b89fe42501feada0344f2aaf6b # 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 9dfa39e25740af4f73019c6d8198dfd4ed11294a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a5241eda9e1e69b89fe42501feada0344f2aaf6b # timeout=10 Commit message: "refactor(snap): remove redundant content indentifier" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:48:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:48:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:48:07 ========================================================= 15:48:07 EdgeX Global Pipelines Version Info 15:48:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:48:08 ------------------- 15:48:08 stable info: 15:48:08 ------------------- 15:48:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:48:08 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 15:48:08 Message: update stable to v1.0.234 15:48:09 ------------------- 15:48:09 experimental info: 15:48:09 ------------------- 15:48:09 Commited By: **** collab-it+edgex@linuxfoundation.org 15:48:09 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 15:48:09 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:48:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 15:48:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 15:48:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:48:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:48:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:48:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:48:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:48:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:48:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:48:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:48:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:48:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 15:48:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:48:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:48:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:48:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:48:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:48:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:48:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:48:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:48:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:48:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:48:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:48:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:48:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:48:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:48:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:48:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-177 [Pipeline] echo 15:48:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-177 [Pipeline] echo 15:48:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-177 [Pipeline] echo 15:48:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a5241eda9e1e69b89fe42501feada0344f2aaf6b [Pipeline] echo 15:48:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a5241ed [Pipeline] echo 15:48:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:48:10 provisioning config files... 15:48:10 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-177@tmp/config2075902893950049194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:48:11 ---> docker-login.sh 15:48:11 nexus3.edgexfoundry.org:10001 15:48:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:11 Configure a credential helper to remove this warning. See 15:48:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:11 15:48:11 Login Succeeded 15:48:11 nexus3.edgexfoundry.org:10002 15:48:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:11 Configure a credential helper to remove this warning. See 15:48:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:11 15:48:11 Login Succeeded 15:48:11 nexus3.edgexfoundry.org:10003 15:48:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:11 Configure a credential helper to remove this warning. See 15:48:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:11 15:48:11 Login Succeeded 15:48:11 nexus3.edgexfoundry.org:10004 15:48:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:11 Configure a credential helper to remove this warning. See 15:48:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:11 15:48:11 Login Succeeded 15:48:11 docker.io 15:48:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:12 Configure a credential helper to remove this warning. See 15:48:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:12 15:48:12 Login Succeeded 15:48:12 ---> docker-login.sh ends [Pipeline] } 15:48:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:48:13 + git rev-list -1 --merges a5241eda9e1e69b89fe42501feada0344f2aaf6b~1..a5241eda9e1e69b89fe42501feada0344f2aaf6b [Pipeline] echo 15:48:13 -----------> git rev-list -1 --merges a5241eda9e1e69b89fe42501feada0344f2aaf6b~1..a5241eda9e1e69b89fe42501feada0344f2aaf6b a5241eda9e1e69b89fe42501feada0344f2aaf6b [false] [Pipeline] sh 15:48:13 + git log --format=format:%s -1 a5241eda9e1e69b89fe42501feada0344f2aaf6b [Pipeline] echo 15:48:13 ========================================================= 15:48:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:48:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:48:13 + git log --format=format:%s -1 a5241eda9e1e69b89fe42501feada0344f2aaf6b [Pipeline] echo 15:48:14 [semverPrep] GIT_COMMIT: a5241eda9e1e69b89fe42501feada0344f2aaf6b, Commit Message: refactor(snap): remove redundant content indentifier [Pipeline] echo 15:48:14 [semverPrep] This is not a build commit. [Pipeline] sh 15:48:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:48:14 + grep -v github /etc/ssh/ssh_known_hosts 15:48:14 + [ -e /tmp/ssh_known_hosts ] 15:48:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:48:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:48:14 + sudo tee -a /etc/ssh/ssh_known_hosts 15:48:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:48:14 15:48:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:48:15 0.1.4: Pulling from edgex-devops/py-git-semver 15:48:15 42c077c10790: Pulling fs layer 15:48:15 f63e77b7563a: Pulling fs layer 15:48:15 bd5fdadae976: Pulling fs layer 15:48:15 205491f53016: Pulling fs layer 15:48:15 df18705c85c3: Pulling fs layer 15:48:15 bdb3f477010e: Pulling fs layer 15:48:15 c8a8fc8e1c8f: Pulling fs layer 15:48:15 205491f53016: Waiting 15:48:15 df18705c85c3: Waiting 15:48:15 bdb3f477010e: Waiting 15:48:15 2c6e9b1d212d: Pulling fs layer 15:48:15 bdb8f0575790: Pulling fs layer 15:48:15 c8a8fc8e1c8f: Waiting 15:48:15 386e3cb2ff24: Pulling fs layer 15:48:15 2343380bae48: Pulling fs layer 15:48:15 2343380bae48: Waiting 15:48:15 f63e77b7563a: Verifying Checksum 15:48:15 f63e77b7563a: Download complete 15:48:15 205491f53016: Verifying Checksum 15:48:15 205491f53016: Download complete 15:48:15 df18705c85c3: Verifying Checksum 15:48:15 df18705c85c3: Download complete 15:48:15 bdb3f477010e: Verifying Checksum 15:48:15 bdb3f477010e: Download complete 15:48:15 bd5fdadae976: Verifying Checksum 15:48:15 bd5fdadae976: Download complete 15:48:15 2c6e9b1d212d: Download complete 15:48:15 bdb8f0575790: Verifying Checksum 15:48:15 bdb8f0575790: Download complete 15:48:15 386e3cb2ff24: Verifying Checksum 15:48:15 386e3cb2ff24: Download complete 15:48:15 2343380bae48: Verifying Checksum 15:48:15 2343380bae48: Download complete 15:48:15 42c077c10790: Verifying Checksum 15:48:15 42c077c10790: Download complete 15:48:16 c8a8fc8e1c8f: Download complete 15:48:16 42c077c10790: Pull complete 15:48:17 f63e77b7563a: Pull complete 15:48:17 bd5fdadae976: Pull complete 15:48:17 205491f53016: Pull complete 15:48:18 df18705c85c3: Pull complete 15:48:18 bdb3f477010e: Pull complete 15:48:19 c8a8fc8e1c8f: Pull complete 15:48:19 2c6e9b1d212d: Pull complete 15:48:19 bdb8f0575790: Pull complete 15:48:19 386e3cb2ff24: Pull complete 15:48:20 2343380bae48: Pull complete 15:48:20 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 15:48:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:48:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:20 prd-ubuntu20.04-docker-8c-8g-1756 does not seem to be running inside a container 15:48:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-177 -v /w/workspace/gexfoundry_device-snmp-go_PR-177:/w/workspace/gexfoundry_device-snmp-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-177@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-177@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:48:21 $ docker top 0e54714aa543ee5eb639deac2dc7e9b7bdb319ba1365eb529e6adb89e278ec64 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:48:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:48:22 [ssh-agent] Looking for ssh-agent implementation... 15:48:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:48:22 $ docker exec 0e54714aa543ee5eb639deac2dc7e9b7bdb319ba1365eb529e6adb89e278ec64 ssh-agent 15:48:22 SSH_AUTH_SOCK=/tmp/ssh-pmvBDEWj6b6l/agent.34 15:48:22 SSH_AGENT_PID=41 15:48:22 Running ssh-add (command line suppressed) 15:48:22 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-177@tmp/private_key_1110348978820677671.key (/w/workspace/gexfoundry_device-snmp-go_PR-177@tmp/private_key_1110348978820677671.key) 15:48:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:48:22 + git tag --points-at HEAD [Pipeline] } 15:48:22 $ docker exec --env ******** --env ******** 0e54714aa543ee5eb639deac2dc7e9b7bdb319ba1365eb529e6adb89e278ec64 ssh-agent -k 15:48:23 unset SSH_AUTH_SOCK; 15:48:23 unset SSH_AGENT_PID; 15:48:23 echo Agent pid 41 killed; 15:48:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:48:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:48:23 [ssh-agent] Looking for ssh-agent implementation... 15:48:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:48:23 $ docker exec 0e54714aa543ee5eb639deac2dc7e9b7bdb319ba1365eb529e6adb89e278ec64 ssh-agent 15:48:23 SSH_AUTH_SOCK=/tmp/ssh-IhqzDFLqP3Y7/agent.74 15:48:23 SSH_AGENT_PID=81 15:48:23 Running ssh-add (command line suppressed) 15:48:23 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-177@tmp/private_key_4953312835356999026.key (/w/workspace/gexfoundry_device-snmp-go_PR-177@tmp/private_key_4953312835356999026.key) 15:48:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:48:23 + git semver init 15:48:24 2022-06-08 15:48:24,020 [run_init] DEBUG init version:0.0.0 force:False 15:48:24 2022-06-08 15:48:24,020 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-177/.semver 15:48:24 2022-06-08 15:48:24,021 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-177/.semver 15:48:24 2022-06-08 15:48:24,021 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-177/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-177, universal_newlines=False, shell=None, istream=None) 15:48:24 2022-06-08 15:48:24,671 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-177/.git/info/exclude 15:48:24 2022-06-08 15:48:24,671 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-177/.semver/PR-177 with force:False 15:48:24 2022-06-08 15:48:24,671 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-177/.semver/PR-177 15:48:24 2022-06-08 15:48:24,676 [execute] INFO git cat-file --batch-check 15:48:24 2022-06-08 15:48:24,676 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-177/.semver, universal_newlines=False, shell=None, istream=) 15:48:24 2022-06-08 15:48:24,683 [execute] INFO git cat-file --batch 15:48:24 2022-06-08 15:48:24,683 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-177/.semver, universal_newlines=False, shell=None, istream=) 15:48:24 2022-06-08 15:48:24,689 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-177/.semver/PR-177 15:48:24 0.0.0 [Pipeline] } 15:48:24 $ docker exec --env ******** --env ******** 0e54714aa543ee5eb639deac2dc7e9b7bdb319ba1365eb529e6adb89e278ec64 ssh-agent -k 15:48:25 unset SSH_AUTH_SOCK; 15:48:25 unset SSH_AGENT_PID; 15:48:25 echo Agent pid 81 killed; 15:48:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:48:25 + git semver [Pipeline] } 15:48:25 $ docker stop --time=1 0e54714aa543ee5eb639deac2dc7e9b7bdb319ba1365eb529e6adb89e278ec64 15:48:27 $ docker rm -f 0e54714aa543ee5eb639deac2dc7e9b7bdb319ba1365eb529e6adb89e278ec64 [Pipeline] // withDockerContainer [Pipeline] sh 15:48:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:48:27 Stashed 1 file(s) [Pipeline] echo 15:48:27 [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:48:28 provisioning config files... 15:48:28 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-177@tmp/config7619262114130863250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:48:28 ---> docker-login.sh 15:48:28 nexus3.edgexfoundry.org:10001 15:48:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:28 Configure a credential helper to remove this warning. See 15:48:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:28 15:48:28 Login Succeeded 15:48:28 nexus3.edgexfoundry.org:10002 15:48:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:29 Configure a credential helper to remove this warning. See 15:48:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:29 15:48:29 Login Succeeded 15:48:29 nexus3.edgexfoundry.org:10003 15:48:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:29 Configure a credential helper to remove this warning. See 15:48:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:29 15:48:29 Login Succeeded 15:48:29 nexus3.edgexfoundry.org:10004 15:48:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:29 Configure a credential helper to remove this warning. See 15:48:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:29 15:48:29 Login Succeeded 15:48:29 docker.io 15:48:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:29 Configure a credential helper to remove this warning. See 15:48:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:29 15:48:29 Login Succeeded 15:48:29 ---> docker-login.sh ends [Pipeline] } 15:48:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:48:29 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh 15:48:30 + grep ^go [0-9].[0-9]* go.mod 15:48:30 + cut -d -f 2 [Pipeline] echo 15:48:30 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:48:30 ========================================================= 15:48:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts] 15:48:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:30 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . 15:48:30 Sending build context to Docker daemon 16.32MB 15:48:30 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 15:48:30 Step 2/11 : FROM ${BASE} AS builder 15:48:30 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base 15:48:30 a0d0a0d46f8b: Pulling fs layer 15:48:30 31adcdaf11c8: Pulling fs layer 15:48:30 b8b176561691: Pulling fs layer 15:48:30 4527c011a84f: Pulling fs layer 15:48:30 5d74067f8e1e: Pulling fs layer 15:48:30 fd57009d33ed: Pulling fs layer 15:48:30 6b058263d067: Pulling fs layer 15:48:30 16d7c86c65f4: Pulling fs layer 15:48:30 1290d154cb4b: Pulling fs layer 15:48:30 4527c011a84f: Waiting 15:48:30 5d74067f8e1e: Waiting 15:48:30 fd57009d33ed: Waiting 15:48:30 6b058263d067: Waiting 15:48:30 16d7c86c65f4: Waiting 15:48:30 1290d154cb4b: Waiting 15:48:30 b8b176561691: Verifying Checksum 15:48:30 31adcdaf11c8: Download complete 15:48:30 5d74067f8e1e: Verifying Checksum 15:48:30 5d74067f8e1e: Download complete 15:48:30 fd57009d33ed: Download complete 15:48:30 6b058263d067: Download complete 15:48:30 a0d0a0d46f8b: Download complete 15:48:31 16d7c86c65f4: Verifying Checksum 15:48:31 16d7c86c65f4: Download complete 15:48:31 a0d0a0d46f8b: Pull complete 15:48:31 31adcdaf11c8: Pull complete 15:48:31 b8b176561691: Pull complete 15:48:31 1290d154cb4b: Verifying Checksum 15:48:31 1290d154cb4b: Download complete 15:48:31 4527c011a84f: Download complete 15:48:35 4527c011a84f: Pull complete 15:48:35 5d74067f8e1e: Pull complete 15:48:35 fd57009d33ed: Pull complete 15:48:35 6b058263d067: Pull complete 15:48:35 16d7c86c65f4: Pull complete 15:48:37 1290d154cb4b: Pull complete 15:48:37 Digest: sha256:35e6ac41c26efe3add569c2382a45e417c8e583193a5145d003e9829e558bdd0 15:48:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts 15:48:37 ---> de6a6ee31cbe 15:48:37 Step 3/11 : ARG MAKE='make build' 15:48:39 ---> Running in 1b3723ade3df 15:48:39 Removing intermediate container 1b3723ade3df 15:48:39 ---> acfdd5e39440 15:48:39 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:48:39 ---> Running in f68ba27a8e59 15:48:39 Removing intermediate container f68ba27a8e59 15:48:39 ---> a8f559723539 15:48:39 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 15:48:39 ---> Running in 74dce4b14c70 15:48:39 Removing intermediate container 74dce4b14c70 15:48:39 ---> cdb6dec39d2c 15:48:39 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:48:39 ---> Running in 0d5d076c79e7 15:48:40 Removing intermediate container 0d5d076c79e7 15:48:40 ---> 713143a8f057 15:48:40 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:48:40 ---> Running in 7d49102a396a 15:48:40 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:48:41 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:48:41 (1/4) Installing openssh-keygen (8.6_p1-r3) 15:48:41 (2/4) Installing libedit (20210216.3.1-r0) 15:48:41 (3/4) Installing openssh-client-common (8.6_p1-r3) 15:48:41 (4/4) Installing openssh-client-default (8.6_p1-r3) 15:48:41 Executing busybox-1.33.1-r3.trigger 15:48:41 OK: 224 MiB in 56 packages 15:48:42 Removing intermediate container 7d49102a396a 15:48:42 ---> b9f6eab0e421 15:48:42 Step 8/11 : WORKDIR /device-snmp-go 15:48:42 ---> Running in 709b70a3a660 15:48:42 Removing intermediate container 709b70a3a660 15:48:42 ---> 1bf73cca5637 15:48:42 Step 9/11 : COPY . . 15:48:43 ---> 2ad3b14278b9 15:48:43 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:48:43 ---> Running in a9fcf605f710 15:48:43 Still waiting to schedule task 15:48:43 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1755’ is offline 15:48:43 skipping... 15:48:43 Removing intermediate container a9fcf605f710 15:48:43 ---> 236cf318c188 15:48:43 Step 11/11 : RUN ${MAKE} 15:48:43 ---> Running in 1d910f63ea34 15:48:44 noop 15:48:44 Removing intermediate container 1d910f63ea34 15:48:44 ---> ddd82bbec5ea 15:48:44 Successfully built ddd82bbec5ea 15:48:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:45 + docker inspect -f . ci-base-image-x86_64 15:48:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:45 prd-ubuntu20.04-docker-8c-8g-1756 does not seem to be running inside a container 15:48:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-177 -v /w/workspace/gexfoundry_device-snmp-go_PR-177:/w/workspace/gexfoundry_device-snmp-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-177@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-177@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:48:45 $ docker top 2e9da621f549b85fe8b449cb0e2c729b56742dc2fbd543708e0d1b0a03cd5a86 -eo pid,comm [Pipeline] { [Pipeline] sh 15:48:46 + go version 15:48:46 go version go1.16.8 linux/amd64 [Pipeline] } 15:48:46 $ docker stop --time=1 2e9da621f549b85fe8b449cb0e2c729b56742dc2fbd543708e0d1b0a03cd5a86 15:48:47 $ docker rm -f 2e9da621f549b85fe8b449cb0e2c729b56742dc2fbd543708e0d1b0a03cd5a86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:48 + docker inspect -f . ci-base-image-x86_64 15:48:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:48 prd-ubuntu20.04-docker-8c-8g-1756 does not seem to be running inside a container 15:48:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-177 -v /w/workspace/gexfoundry_device-snmp-go_PR-177:/w/workspace/gexfoundry_device-snmp-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-177@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-177@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:48:48 $ docker top 719ccee9384006ac6060b6092232e71d8734f4d77894e24ffbae15216798283c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:48:49 + make test 15:48:49 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:48:49 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:48:55 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:48:55 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements 15:48:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:49:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:49:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:49:00 ./bin/test-attribution-txt.sh 15:49:00 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 15:49:00 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 15:49:00 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 15:49:00 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 15:49:00 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 15:49:00 go: downloading github.com/soniah/gosnmp v1.21.0 15:49:00 go: downloading github.com/OneOfOne/xxhash v1.2.8 15:49:00 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 15:49:00 go: downloading github.com/google/uuid v1.3.0 15:49:00 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 15:49:00 go: downloading github.com/pelletier/go-toml v1.9.4 15:49:00 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 15:49:00 go: downloading github.com/gorilla/mux v1.8.0 15:49:00 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 15:49:00 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 15:49:00 go: downloading github.com/hashicorp/go-multierror v1.1.0 15:49:00 go: downloading github.com/hashicorp/consul/api v1.9.1 15:49:00 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:49:00 go: downloading github.com/go-kit/kit v0.11.0 15:49:00 go: downloading github.com/go-playground/validator/v10 v10.9.0 15:49:00 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 15:49:00 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 15:49:00 go: downloading github.com/pebbe/zmq4 v1.2.7 15:49:00 go: downloading github.com/go-redis/redis/v7 v7.3.0 15:49:00 go: downloading github.com/go-logfmt/logfmt v0.5.0 15:49:00 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 15:49:00 go: downloading github.com/mitchellh/copystructure v1.0.0 15:49:00 go: downloading github.com/mitchellh/mapstructure v1.1.2 15:49:00 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:49:00 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 15:49:00 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 15:49:00 go: downloading golang.org/x/text v0.3.6 15:49:00 go: downloading github.com/hashicorp/golang-lru v0.5.0 15:49:01 go: downloading github.com/hashicorp/errwrap v1.0.0 15:49:01 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 15:49:01 go: downloading github.com/hashicorp/go-hclog v0.12.0 15:49:01 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 15:49:01 go: downloading github.com/hashicorp/serf v0.9.5 15:49:01 go: downloading github.com/golang/mock v1.4.4 15:49:01 go: downloading github.com/x448/float16 v0.8.4 15:49:01 go: downloading github.com/mitchellh/reflectwalk v1.0.0 15:49:01 go: downloading github.com/gorilla/websocket v1.4.2 15:49:01 go: downloading github.com/go-playground/universal-translator v0.18.0 15:49:01 go: downloading github.com/leodido/go-urn v1.2.1 15:49:01 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 15:49:01 go: downloading github.com/fatih/color v1.9.0 15:49:01 go: downloading github.com/mattn/go-colorable v0.1.6 15:49:01 go: downloading github.com/mattn/go-isatty v0.0.12 15:49:01 go: downloading github.com/mitchellh/go-homedir v1.1.0 15:49:01 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 15:49:02 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 15:49:03 + go mod tidy 15:49:03 go: downloading github.com/stretchr/testify v1.7.0 15:49:03 go: downloading github.com/go-playground/assert/v2 v2.0.1 15:49:03 go: downloading github.com/go-stack/stack v1.8.0 15:49:03 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 15:49:03 go: downloading github.com/hashicorp/consul/sdk v0.8.0 15:49:03 go: downloading github.com/hashicorp/go-uuid v1.0.1 15:49:03 go: downloading github.com/onsi/ginkgo v1.10.1 15:49:03 go: downloading github.com/onsi/gomega v1.7.0 15:49:03 go: downloading github.com/hashicorp/go-msgpack v0.5.3 15:49:03 go: downloading github.com/hashicorp/memberlist v0.2.2 15:49:03 go: downloading github.com/kr/pretty v0.3.0 15:49:03 go: downloading github.com/pkg/errors v0.9.1 15:49:03 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:49:03 go: downloading github.com/davecgh/go-spew v1.1.1 15:49:03 go: downloading github.com/pmezard/go-difflib v1.0.0 15:49:03 go: downloading github.com/stretchr/objx v0.1.1 15:49:03 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 15:49:03 go: downloading github.com/kr/text v0.2.0 15:49:03 go: downloading github.com/rogpeppe/go-internal v1.8.0 15:49:03 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:49:03 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 15:49:03 go: downloading github.com/miekg/dns v1.1.26 15:49:03 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:49:03 go: downloading gopkg.in/yaml.v2 v2.3.0 15:49:03 go: downloading github.com/hpcloud/tail v1.0.0 15:49:03 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 15:49:03 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 15:49:03 $ docker stop --time=1 719ccee9384006ac6060b6092232e71d8734f4d77894e24ffbae15216798283c 15:49:05 $ docker rm -f 719ccee9384006ac6060b6092232e71d8734f4d77894e24ffbae15216798283c [Pipeline] // withDockerContainer [Pipeline] sh 15:49:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:49:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:49:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:49:07 + ls -al . 15:49:07 total 180 15:49:07 drwxrwxr-x 10 jenkins jenkins 4096 Jun 8 15:49 . 15:49:07 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 15:48 .. 15:49:07 -rw-rw-r-- 1 jenkins jenkins 6 Jun 8 15:48 .dockerignore 15:49:07 drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 15:48 .git 15:49:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 15:48 .github 15:49:07 -rw-rw-r-- 1 jenkins jenkins 255 Jun 8 15:48 .gitignore 15:49:07 drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 15:48 .semver 15:49:07 -rw-rw-r-- 1 jenkins jenkins 6926 Jun 8 15:48 Attribution.txt 15:49:07 -rw-rw-r-- 1 jenkins jenkins 4800 Jun 8 15:48 CHANGELOG.md 15:49:07 -rw-rw-r-- 1 jenkins jenkins 1493 Jun 8 15:48 Dockerfile 15:49:07 -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 15:48 GOVERNANCE.md 15:49:07 -rw-rw-r-- 1 jenkins jenkins 656 Jun 8 15:48 Jenkinsfile 15:49:07 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 15:48 LICENSE 15:49:07 -rw-rw-r-- 1 jenkins jenkins 1526 Jun 8 15:48 Makefile 15:49:07 -rw-rw-r-- 1 jenkins jenkins 620 Jun 8 15:48 OWNERS.md 15:49:07 -rw-rw-r-- 1 jenkins jenkins 9073 Jun 8 15:48 README.md 15:49:07 -rw-rw-r-- 1 jenkins jenkins 5 Jun 8 15:48 VERSION 15:49:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 15:48 bin 15:49:07 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 15:48 cmd 15:49:07 -rw-r--r-- 1 jenkins jenkins 7631 Jun 8 15:48 coverage.out 15:49:07 -rw-rw-r-- 1 jenkins jenkins 208 Jun 8 15:49 go.mod 15:49:07 -rw-rw-r-- 1 jenkins jenkins 49477 Jun 8 15:48 go.sum 15:49:07 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 15:48 internal 15:49:07 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 15:48 snap 15:49:07 drwxrwxr-x 6 jenkins jenkins 4096 Jun 8 15:48 vendor 15:49:07 -rw-rw-r-- 1 jenkins jenkins 228 Jun 8 15:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:07 + 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=a5241eda9e1e69b89fe42501feada0344f2aaf6b --label arch=amd64 --label version=0.0.0 . 15:49:07 Sending build context to Docker daemon 16.33MB 15:49:07 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 15:49:07 Step 2/23 : FROM ${BASE} AS builder 15:49:07 ---> ddd82bbec5ea 15:49:07 Step 3/23 : ARG MAKE='make build' 15:49:07 ---> Running in b99fc5285a09 15:49:07 Removing intermediate container b99fc5285a09 15:49:07 ---> ca8016d88574 15:49:07 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:49:07 ---> Running in 5c2e9626acfb 15:49:08 Removing intermediate container 5c2e9626acfb 15:49:08 ---> c18b118d4b77 15:49:08 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 15:49:08 ---> Running in 465f2de98346 15:49:08 Removing intermediate container 465f2de98346 15:49:08 ---> 14e6e29ad886 15:49:08 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:49:08 ---> Running in d951cfed0ac4 15:49:08 Removing intermediate container d951cfed0ac4 15:49:08 ---> 8dc4254441ae 15:49:08 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:49:08 ---> Running in 0fa4d7805c53 15:49:09 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:49:10 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:49:10 OK: 224 MiB in 56 packages 15:49:10 Removing intermediate container 0fa4d7805c53 15:49:10 ---> 19120f09be70 15:49:10 Step 8/23 : WORKDIR /device-snmp-go 15:49:10 ---> Running in 3f977ad91407 15:49:10 Removing intermediate container 3f977ad91407 15:49:10 ---> d0fef4842b56 15:49:10 Step 9/23 : COPY . . 15:49:11 ---> 95a87a5496d3 15:49:11 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:49:11 ---> Running in 4eb7d4479904 15:49:12 skipping... 15:49:12 Removing intermediate container 4eb7d4479904 15:49:12 ---> a173cf3bcc4e 15:49:12 Step 11/23 : RUN ${MAKE} 15:49:12 ---> Running in ce87b27daaf4 15:49:12 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.1.1" -o cmd/device-snmp ./cmd 15:49:20 Removing intermediate container ce87b27daaf4 15:49:20 ---> 157e4095ea1e 15:49:20 Step 12/23 : FROM alpine:3.14 15:49:20 3.14: Pulling from library/alpine 15:49:20 8663204ce13b: Pulling fs layer 15:49:20 8663204ce13b: Verifying Checksum 15:49:20 8663204ce13b: Download complete 15:49:20 8663204ce13b: Pull complete 15:49:20 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:49:20 Status: Downloaded newer image for alpine:3.14 15:49:20 ---> e04c818066af 15:49:20 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 15:49:20 ---> Running in 2b242b3f2cb4 15:49:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:49:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:49:20 (1/6) Installing dumb-init (1.2.5-r1) 15:49:20 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:49:20 (3/6) Installing libsodium (1.0.18-r0) 15:49:20 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:49:20 (5/6) Installing libzmq (4.3.4-r0) 15:49:20 (6/6) Installing zeromq (4.3.4-r0) 15:49:20 Executing busybox-1.33.1-r7.trigger 15:49:20 OK: 8 MiB in 20 packages 15:49:21 Removing intermediate container 2b242b3f2cb4 15:49:21 ---> 7f75b211eb6e 15:49:21 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 15:49:21 ---> 72e6747a0763 15:49:21 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 15:49:22 ---> 9dc55f4408b9 15:49:22 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 15:49:22 ---> 50a760045f58 15:49:22 Step 17/23 : EXPOSE 59993 15:49:22 ---> Running in 0f41245ee2b8 15:49:22 Removing intermediate container 0f41245ee2b8 15:49:22 ---> 1649c2a2c614 15:49:22 Step 18/23 : EXPOSE 161 15:49:22 ---> Running in 8717c1223e8d 15:49:22 Removing intermediate container 8717c1223e8d 15:49:22 ---> 2cf64c6be795 15:49:22 Step 19/23 : ENTRYPOINT ["/device-snmp"] 15:49:22 ---> Running in 1bb847d678f5 15:49:22 Removing intermediate container 1bb847d678f5 15:49:22 ---> fc4ad71d8b7c 15:49:22 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:49:22 ---> Running in 4bdf7db7a9aa 15:49:22 Removing intermediate container 4bdf7db7a9aa 15:49:22 ---> 5e960bbe50ba 15:49:22 Step 21/23 : LABEL arch=amd64 15:49:22 ---> Running in 44c19f2be1d2 15:49:22 Removing intermediate container 44c19f2be1d2 15:49:22 ---> c82c67481520 15:49:22 Step 22/23 : LABEL git_sha=a5241eda9e1e69b89fe42501feada0344f2aaf6b 15:49:22 ---> Running in 766aaa8e9f07 15:49:22 Removing intermediate container 766aaa8e9f07 15:49:22 ---> 29f8704cbe61 15:49:22 Step 23/23 : LABEL version=0.0.0 15:49:22 ---> Running in 54025749f955 15:49:22 Removing intermediate container 54025749f955 15:49:22 ---> 612bd27d5f9d 15:49:22 [Warning] One or more build-args [ARCH] were not consumed 15:49:22 Successfully built 612bd27d5f9d 15:49:23 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [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] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:49:23 15:49:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:49:24 latest: Pulling from edgex-lftools-log-publisher 15:49:24 5eb5b503b376: Pulling fs layer 15:49:24 5c69ac0246d0: Pulling fs layer 15:49:24 ec43610c2a17: Pulling fs layer 15:49:24 3a2ae6a8a46f: Pulling fs layer 15:49:24 33b1e0a273af: Pulling fs layer 15:49:24 5d3b04190fa2: Pulling fs layer 15:49:24 2f39f015ded8: Pulling fs layer 15:49:24 3a2ae6a8a46f: Waiting 15:49:24 33b1e0a273af: Waiting 15:49:24 5d3b04190fa2: Waiting 15:49:24 2f39f015ded8: Waiting 15:49:24 5c69ac0246d0: Download complete 15:49:24 3a2ae6a8a46f: Download complete 15:49:24 33b1e0a273af: Verifying Checksum 15:49:24 33b1e0a273af: Download complete 15:49:24 5d3b04190fa2: Verifying Checksum 15:49:24 5d3b04190fa2: Download complete 15:49:24 ec43610c2a17: Verifying Checksum 15:49:24 ec43610c2a17: Download complete 15:49:24 5eb5b503b376: Verifying Checksum 15:49:24 5eb5b503b376: Download complete 15:49:25 2f39f015ded8: Download complete 15:49:25 5eb5b503b376: Pull complete 15:49:25 5c69ac0246d0: Pull complete 15:49:26 ec43610c2a17: Pull complete 15:49:26 3a2ae6a8a46f: Pull complete 15:49:26 33b1e0a273af: Pull complete 15:49:26 5d3b04190fa2: Pull complete 15:49:30 2f39f015ded8: Pull complete 15:49:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:49:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:49:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:31 prd-ubuntu20.04-docker-8c-8g-1756 does not seem to be running inside a container 15:49:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-177 -v /w/workspace/gexfoundry_device-snmp-go_PR-177:/w/workspace/gexfoundry_device-snmp-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-177@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-177@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:49:33 $ docker top 1399d01bd72fbf7c6c0970bf131a09d2bae5d6762c5137c7a99481b8c5fc0186 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:49:33 ---> job-cost.sh 15:49:33 lf-activate-venv: SKIPPING 15:49:33 INFO: No Stack... 15:49:34 INFO: Retrieving Pricing Info for: v3-standard-8 15:49:34 INFO: Archiving Costs [Pipeline] sh 15:49:35 + cat /w/workspace/gexfoundry_device-snmp-go_PR-177/archives/cost.csv 15:49:35 + cut -d, -f6 [Pipeline] lock 15:49:35 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-177-1-stack-cost] 15:49:35 Resource [jenkins-edgexfoundry-device-snmp-go-PR-177-1-stack-cost] did not exist. Created. 15:49:35 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-177-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:49:35 + echo total: 0.2199999988079071 [Pipeline] stash 15:49:35 Stashed 1 file(s) [Pipeline] } 15:49:35 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-177-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:49:35 $ docker stop --time=1 1399d01bd72fbf7c6c0970bf131a09d2bae5d6762c5137c7a99481b8c5fc0186 15:49:36 $ docker rm -f 1399d01bd72fbf7c6c0970bf131a09d2bae5d6762c5137c7a99481b8c5fc0186 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:50:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1757 in /w/workspace/gexfoundry_device-snmp-go_PR-177 [Pipeline] { [Pipeline] ws 15:50:19 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 15:50:19 Selected Git installation does not exist. Using Default 15:50:19 The recommended git tool is: NONE 15:50:24 using credential edgex-jenkins-ssh 15:50:24 Cloning the remote Git repository 15:50:24 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 15:50:24 > git init /w/workspace/device-snmp-go/1 # timeout=10 15:50:24 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:50:24 > git --version # timeout=10 15:50:24 > git --version # 'git version 2.25.1' 15:50:24 using GIT_SSH to set credentials SSH Credentials for GitHub 15:50:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:50:26 Merging remotes/origin/jakarta commit 9dfa39e25740af4f73019c6d8198dfd4ed11294a into PR head commit a5241eda9e1e69b89fe42501feada0344f2aaf6b 15:50:26 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:50:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:50:26 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:50:26 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:50:26 using GIT_SSH to set credentials SSH Credentials for GitHub 15:50:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 15:50:26 > git config core.sparsecheckout # timeout=10 15:50:26 > git checkout -f a5241eda9e1e69b89fe42501feada0344f2aaf6b # timeout=10 15:50:27 > git remote # timeout=10 15:50:27 > git config --get remote.origin.url # timeout=10 15:50:27 using GIT_SSH to set credentials SSH Credentials for GitHub 15:50:27 > git merge 9dfa39e25740af4f73019c6d8198dfd4ed11294a # timeout=10 15:50:27 Merge succeeded, producing a5241eda9e1e69b89fe42501feada0344f2aaf6b 15:50:27 Checking out Revision a5241eda9e1e69b89fe42501feada0344f2aaf6b (PR-177) 15:50:27 > git rev-parse HEAD^{commit} # timeout=10 15:50:27 > git config core.sparsecheckout # timeout=10 15:50:27 > git checkout -f a5241eda9e1e69b89fe42501feada0344f2aaf6b # timeout=10 15:50:31 Commit message: "refactor(snap): remove redundant content indentifier" 15:50:31 > git --version # timeout=10 15:50:31 > git --version # 'git version 2.25.1' 15:50:31 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:50:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:50:32 % Total % Received % Xferd Average Speed Time Time Time Current 15:50:32 Dload Upload Total Spent Left Speed 15:50:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 15:50:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:50:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:50:34 + sudo tee /etc/docker/daemon.new 15:50:34 { 15:50:34 "registry-mirrors": [ 15:50:34 "https://nexus3.edgexfoundry.org:10001" 15:50:34 ], 15:50:34 "bip": "10.250.0.254/24", 15:50:34 "hosts": [ 15:50:34 "tcp://0.0.0.0:5555", 15:50:34 "unix:///var/run/docker.sock" 15:50:34 ], 15:50:34 "mtu": 1458, 15:50:34 "selinux-enabled": true, 15:50:34 "seccomp-profile": "/etc/docker/seccomp.json" 15:50:34 } [Pipeline] sh 15:50:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:50:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:50:53 provisioning config files... 15:50:53 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config1875502918208033271tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:50:53 ---> docker-login.sh 15:50:53 nexus3.edgexfoundry.org:10001 15:50:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:54 Configure a credential helper to remove this warning. See 15:50:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:54 15:50:54 Login Succeeded 15:50:54 nexus3.edgexfoundry.org:10002 15:50:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:55 Configure a credential helper to remove this warning. See 15:50:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:55 15:50:55 Login Succeeded 15:50:55 nexus3.edgexfoundry.org:10003 15:50:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:55 Configure a credential helper to remove this warning. See 15:50:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:55 15:50:55 Login Succeeded 15:50:55 nexus3.edgexfoundry.org:10004 15:50:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:56 Configure a credential helper to remove this warning. See 15:50:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:56 15:50:56 Login Succeeded 15:50:56 docker.io 15:50:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:56 Configure a credential helper to remove this warning. See 15:50:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:56 15:50:56 Login Succeeded 15:50:56 ---> docker-login.sh ends [Pipeline] } 15:50:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:50:56 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh 15:50:57 + grep ^go [0-9].[0-9]* go.mod 15:50:57 + cut -d -f 2 [Pipeline] echo 15:50:57 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:50:57 ========================================================= 15:50:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts] 15:50:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:57 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . 15:50:58 Sending build context to Docker daemon 13.72MB 15:50:59 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 15:50:59 Step 2/11 : FROM ${BASE} AS builder 15:50:59 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 15:50:59 552d1f2373af: Pulling fs layer 15:50:59 ea3f2d53f512: Pulling fs layer 15:50:59 9e70ebbbe112: Pulling fs layer 15:50:59 7a9cfe048b4a: Pulling fs layer 15:50:59 72dc09318566: Pulling fs layer 15:50:59 f324388ff665: Pulling fs layer 15:50:59 53ef782089cf: Pulling fs layer 15:50:59 2af28fca035d: Pulling fs layer 15:50:59 f324388ff665: Waiting 15:50:59 53ef782089cf: Waiting 15:50:59 2af28fca035d: Waiting 15:50:59 7a9cfe048b4a: Waiting 15:50:59 72dc09318566: Waiting 15:50:59 9e70ebbbe112: Verifying Checksum 15:50:59 9e70ebbbe112: Download complete 15:50:59 ea3f2d53f512: Verifying Checksum 15:50:59 ea3f2d53f512: Download complete 15:50:59 72dc09318566: Verifying Checksum 15:50:59 72dc09318566: Download complete 15:50:59 f324388ff665: Verifying Checksum 15:50:59 f324388ff665: Download complete 15:50:59 552d1f2373af: Verifying Checksum 15:50:59 552d1f2373af: Download complete 15:50:59 53ef782089cf: Verifying Checksum 15:50:59 53ef782089cf: Download complete 15:51:00 552d1f2373af: Pull complete 15:51:00 ea3f2d53f512: Pull complete 15:51:00 9e70ebbbe112: Pull complete 15:51:01 2af28fca035d: Verifying Checksum 15:51:01 2af28fca035d: Download complete 15:51:01 7a9cfe048b4a: Verifying Checksum 15:51:01 7a9cfe048b4a: Download complete 15:51:14 7a9cfe048b4a: Pull complete 15:51:14 72dc09318566: Pull complete 15:51:14 f324388ff665: Pull complete 15:51:14 53ef782089cf: Pull complete 15:51:19 2af28fca035d: Pull complete 15:51:19 Digest: sha256:527acc5c9bdbcdb39ccaea3aa8445d1f41445096e6313448e88606d2b64d4b83 15:51:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts 15:51:19 ---> d19f1962542a 15:51:19 Step 3/11 : ARG MAKE='make build' 15:51:21 ---> Running in 3fc0c8e13de6 15:51:21 Removing intermediate container 3fc0c8e13de6 15:51:21 ---> d87be5b71e69 15:51:21 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:51:21 ---> Running in 995dc814393d 15:51:21 Removing intermediate container 995dc814393d 15:51:21 ---> f4f4a3d19724 15:51:21 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 15:51:21 ---> Running in 73ef082ae27d 15:51:21 Removing intermediate container 73ef082ae27d 15:51:21 ---> 9c67e2b07fd0 15:51:21 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:51:22 ---> Running in bb9406bf39ae 15:51:23 Removing intermediate container bb9406bf39ae 15:51:23 ---> dc6861ee668d 15:51:23 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:51:23 ---> Running in e3d532405909 15:51:24 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:51:25 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:51:26 (1/4) Installing openssh-keygen (8.6_p1-r3) 15:51:26 (2/4) Installing libedit (20210216.3.1-r0) 15:51:26 (3/4) Installing openssh-client-common (8.6_p1-r3) 15:51:26 (4/4) Installing openssh-client-default (8.6_p1-r3) 15:51:26 Executing busybox-1.33.1-r3.trigger 15:51:26 OK: 223 MiB in 56 packages 15:51:27 Removing intermediate container e3d532405909 15:51:27 ---> 02a161f1e299 15:51:27 Step 8/11 : WORKDIR /device-snmp-go 15:51:27 ---> Running in 1056857e3f0e 15:51:28 Removing intermediate container 1056857e3f0e 15:51:28 ---> f41909b51705 15:51:28 Step 9/11 : COPY . . 15:51:32 ---> 08268e627c57 15:51:32 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:51:32 ---> Running in 1fae7e2b1417 15:51:32 skipping... 15:51:33 Removing intermediate container 1fae7e2b1417 15:51:33 ---> 9fadacf6e60b 15:51:33 Step 11/11 : RUN ${MAKE} 15:51:33 ---> Running in d9d63ad78bba 15:51:34 noop 15:51:34 Removing intermediate container d9d63ad78bba 15:51:34 ---> 7e794cb9e4c2 15:51:35 Successfully built 7e794cb9e4c2 15:51:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:35 + docker inspect -f . ci-base-image-arm64 15:51:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:51:35 prd-ubuntu20.04-docker-arm64-4c-16g-1757 does not seem to be running inside a container 15:51:35 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:51:37 $ docker top 40f8af68e405e12c05f73049fdf90282b190d5a201b1e2dfce4c5a7ce537e5c6 -eo pid,comm [Pipeline] { [Pipeline] sh 15:51:38 + go version 15:51:38 go version go1.16.8 linux/arm64 [Pipeline] } 15:51:38 $ docker stop --time=1 40f8af68e405e12c05f73049fdf90282b190d5a201b1e2dfce4c5a7ce537e5c6 15:51:39 $ docker rm -f 40f8af68e405e12c05f73049fdf90282b190d5a201b1e2dfce4c5a7ce537e5c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:40 + docker inspect -f . ci-base-image-arm64 15:51:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:51:41 prd-ubuntu20.04-docker-arm64-4c-16g-1757 does not seem to be running inside a container 15:51:41 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:51:42 $ docker top e97f0e80e01c4211ea3015482d324ccdceeac65fa57f1a1261728dbe0424e3d8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:51:43 + make test 15:51:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:51:44 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:52:41 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:52:41 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.040s coverage: 0.0% of statements 15:52:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:53:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:53:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:53:03 ./bin/test-attribution-txt.sh 15:53:03 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 15:53:03 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 15:53:03 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 15:53:03 go: downloading github.com/OneOfOne/xxhash v1.2.8 15:53:03 go: downloading github.com/google/uuid v1.3.0 15:53:03 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 15:53:03 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 15:53:03 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 15:53:03 go: downloading github.com/soniah/gosnmp v1.21.0 15:53:03 go: downloading github.com/pelletier/go-toml v1.9.4 15:53:03 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 15:53:03 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 15:53:03 go: downloading github.com/gorilla/mux v1.8.0 15:53:03 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 15:53:03 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 15:53:03 go: downloading github.com/hashicorp/go-multierror v1.1.0 15:53:03 go: downloading github.com/hashicorp/consul/api v1.9.1 15:53:03 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:53:03 go: downloading github.com/go-kit/kit v0.11.0 15:53:03 go: downloading github.com/go-playground/validator/v10 v10.9.0 15:53:03 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 15:53:03 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 15:53:03 go: downloading github.com/pebbe/zmq4 v1.2.7 15:53:03 go: downloading github.com/go-redis/redis/v7 v7.3.0 15:53:04 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 15:53:04 go: downloading github.com/mitchellh/copystructure v1.0.0 15:53:04 go: downloading github.com/mitchellh/mapstructure v1.1.2 15:53:04 go: downloading github.com/go-logfmt/logfmt v0.5.0 15:53:04 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:53:04 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 15:53:04 go: downloading golang.org/x/text v0.3.6 15:53:04 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 15:53:05 go: downloading github.com/hashicorp/golang-lru v0.5.0 15:53:05 go: downloading github.com/golang/mock v1.4.4 15:53:05 go: downloading github.com/hashicorp/errwrap v1.0.0 15:53:05 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 15:53:05 go: downloading github.com/hashicorp/go-hclog v0.12.0 15:53:05 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 15:53:05 go: downloading github.com/hashicorp/serf v0.9.5 15:53:06 go: downloading github.com/x448/float16 v0.8.4 15:53:06 go: downloading github.com/go-playground/universal-translator v0.18.0 15:53:06 go: downloading github.com/leodido/go-urn v1.2.1 15:53:06 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 15:53:07 go: downloading github.com/gorilla/websocket v1.4.2 15:53:07 go: downloading github.com/mitchellh/reflectwalk v1.0.0 15:53:07 go: downloading github.com/fatih/color v1.9.0 15:53:07 go: downloading github.com/mattn/go-colorable v0.1.6 15:53:07 go: downloading github.com/mattn/go-isatty v0.0.12 15:53:07 go: downloading github.com/mitchellh/go-homedir v1.1.0 15:53:07 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 15:53:11 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 15:53:12 + go mod tidy 15:53:12 go: downloading github.com/stretchr/testify v1.7.0 15:53:12 go: downloading github.com/go-stack/stack v1.8.0 15:53:12 go: downloading github.com/go-playground/assert/v2 v2.0.1 15:53:12 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 15:53:12 go: downloading github.com/davecgh/go-spew v1.1.1 15:53:12 go: downloading github.com/pmezard/go-difflib v1.0.0 15:53:12 go: downloading github.com/stretchr/objx v0.1.1 15:53:12 go: downloading github.com/hashicorp/consul/sdk v0.8.0 15:53:12 go: downloading github.com/hashicorp/go-uuid v1.0.1 15:53:12 go: downloading github.com/kr/pretty v0.3.0 15:53:12 go: downloading github.com/onsi/ginkgo v1.10.1 15:53:12 go: downloading github.com/onsi/gomega v1.7.0 15:53:12 go: downloading github.com/hashicorp/go-msgpack v0.5.3 15:53:12 go: downloading github.com/hashicorp/memberlist v0.2.2 15:53:13 go: downloading github.com/pkg/errors v0.9.1 15:53:13 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:53:13 go: downloading github.com/kr/text v0.2.0 15:53:13 go: downloading github.com/rogpeppe/go-internal v1.8.0 15:53:13 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 15:53:13 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:53:13 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 15:53:13 go: downloading github.com/miekg/dns v1.1.26 15:53:13 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:53:13 go: downloading gopkg.in/yaml.v2 v2.3.0 15:53:13 go: downloading github.com/hpcloud/tail v1.0.0 15:53:13 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 15:53:13 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 15:53:13 $ docker stop --time=1 e97f0e80e01c4211ea3015482d324ccdceeac65fa57f1a1261728dbe0424e3d8 15:53:16 $ docker rm -f e97f0e80e01c4211ea3015482d324ccdceeac65fa57f1a1261728dbe0424e3d8 [Pipeline] // withDockerContainer [Pipeline] sh 15:53:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:53:18 Warning: overwriting stash ‘coverage-report’ 15:53:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:53:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:53:20 + ls -al . 15:53:20 total 176 15:53:20 drwxrwxr-x 9 jenkins jenkins 4096 Jun 8 15:53 . 15:53:20 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 15:50 .. 15:53:20 -rw-rw-r-- 1 jenkins jenkins 6 Jun 8 15:50 .dockerignore 15:53:20 drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 15:50 .git 15:53:20 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 15:50 .github 15:53:20 -rw-rw-r-- 1 jenkins jenkins 255 Jun 8 15:50 .gitignore 15:53:20 -rw-rw-r-- 1 jenkins jenkins 6926 Jun 8 15:50 Attribution.txt 15:53:20 -rw-rw-r-- 1 jenkins jenkins 4800 Jun 8 15:50 CHANGELOG.md 15:53:20 -rw-rw-r-- 1 jenkins jenkins 1493 Jun 8 15:50 Dockerfile 15:53:20 -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 15:50 GOVERNANCE.md 15:53:20 -rw-rw-r-- 1 jenkins jenkins 656 Jun 8 15:50 Jenkinsfile 15:53:20 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 15:50 LICENSE 15:53:20 -rw-rw-r-- 1 jenkins jenkins 1526 Jun 8 15:50 Makefile 15:53:20 -rw-rw-r-- 1 jenkins jenkins 620 Jun 8 15:50 OWNERS.md 15:53:20 -rw-rw-r-- 1 jenkins jenkins 9073 Jun 8 15:50 README.md 15:53:20 -rw-rw-r-- 1 jenkins jenkins 5 Jun 8 15:48 VERSION 15:53:20 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 15:50 bin 15:53:20 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 15:50 cmd 15:53:20 -rw-r--r-- 1 jenkins jenkins 7631 Jun 8 15:52 coverage.out 15:53:20 -rw-rw-r-- 1 jenkins jenkins 208 Jun 8 15:53 go.mod 15:53:20 -rw-rw-r-- 1 jenkins jenkins 49477 Jun 8 15:50 go.sum 15:53:20 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 15:50 internal 15:53:20 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 15:50 snap 15:53:20 drwxrwxr-x 6 jenkins jenkins 4096 Jun 8 15:50 vendor 15:53:20 -rw-rw-r-- 1 jenkins jenkins 228 Jun 8 15:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:20 + 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=a5241eda9e1e69b89fe42501feada0344f2aaf6b --label arch=arm64 --label version=0.0.0 . 15:53:21 Sending build context to Docker daemon 13.72MB 15:53:21 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 15:53:21 Step 2/23 : FROM ${BASE} AS builder 15:53:21 ---> 7e794cb9e4c2 15:53:21 Step 3/23 : ARG MAKE='make build' 15:53:21 ---> Running in b010286d8584 15:53:22 Removing intermediate container b010286d8584 15:53:22 ---> 85ff4d2c104c 15:53:22 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:53:22 ---> Running in f1553106c2b0 15:53:22 Removing intermediate container f1553106c2b0 15:53:22 ---> 3c1436d3556f 15:53:22 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 15:53:22 ---> Running in a6b31df27125 15:53:23 Removing intermediate container a6b31df27125 15:53:23 ---> b3c2b7ecc436 15:53:23 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:53:23 ---> Running in 805218ee28f7 15:53:25 Removing intermediate container 805218ee28f7 15:53:25 ---> 2f5fcdfa83e2 15:53:25 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:53:25 ---> Running in cefe7f6807a2 15:53:25 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:53:26 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:53:27 OK: 223 MiB in 56 packages 15:53:28 Removing intermediate container cefe7f6807a2 15:53:28 ---> b763922108d9 15:53:28 Step 8/23 : WORKDIR /device-snmp-go 15:53:28 ---> Running in f715d91a3e98 15:53:28 Removing intermediate container f715d91a3e98 15:53:28 ---> 6a790da6339b 15:53:28 Step 9/23 : COPY . . 15:53:32 ---> 2ba646eea395 15:53:32 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:53:32 ---> Running in b37dc5286b20 15:53:33 skipping... 15:53:34 Removing intermediate container b37dc5286b20 15:53:34 ---> a51a19b88e69 15:53:34 Step 11/23 : RUN ${MAKE} 15:53:34 ---> Running in 1760e6c24e05 15:53:35 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.1.1" -o cmd/device-snmp ./cmd 15:54:14 Removing intermediate container 1760e6c24e05 15:54:14 ---> 42fbc4e89214 15:54:14 Step 12/23 : FROM alpine:3.14 15:54:14 3.14: Pulling from library/alpine 15:54:14 455c02918c45: Pulling fs layer 15:54:14 455c02918c45: Download complete 15:54:14 455c02918c45: Pull complete 15:54:14 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:54:14 Status: Downloaded newer image for alpine:3.14 15:54:14 ---> ac73e934f311 15:54:14 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 15:54:14 ---> Running in c8fea937004e 15:54:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:54:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:54:15 (1/6) Installing dumb-init (1.2.5-r1) 15:54:15 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:54:15 (3/6) Installing libsodium (1.0.18-r0) 15:54:15 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:54:15 (5/6) Installing libzmq (4.3.4-r0) 15:54:15 (6/6) Installing zeromq (4.3.4-r0) 15:54:15 Executing busybox-1.33.1-r7.trigger 15:54:15 OK: 8 MiB in 20 packages 15:54:16 Removing intermediate container c8fea937004e 15:54:16 ---> 3b966f30328c 15:54:16 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 15:54:18 ---> cbf50c10e5ca 15:54:18 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 15:54:18 ---> 50a8ebbccb71 15:54:18 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 15:54:18 ---> 7c06e075b431 15:54:18 Step 17/23 : EXPOSE 59993 15:54:18 ---> Running in 87a3214983fc 15:54:19 Removing intermediate container 87a3214983fc 15:54:19 ---> 9418ef4624be 15:54:19 Step 18/23 : EXPOSE 161 15:54:19 ---> Running in 6f30452a5047 15:54:19 Removing intermediate container 6f30452a5047 15:54:19 ---> fd4ccfc930ea 15:54:19 Step 19/23 : ENTRYPOINT ["/device-snmp"] 15:54:19 ---> Running in a5bd46708b49 15:54:20 Removing intermediate container a5bd46708b49 15:54:20 ---> 1c284c163fba 15:54:20 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:54:20 ---> Running in c1df3ead2c5e 15:54:20 Removing intermediate container c1df3ead2c5e 15:54:20 ---> 23431c6cd1bd 15:54:20 Step 21/23 : LABEL arch=arm64 15:54:20 ---> Running in 72919f8cba11 15:54:20 Removing intermediate container 72919f8cba11 15:54:20 ---> 7ec22e8712e8 15:54:20 Step 22/23 : LABEL git_sha=a5241eda9e1e69b89fe42501feada0344f2aaf6b 15:54:20 ---> Running in 2a9c297ba0fe 15:54:21 Removing intermediate container 2a9c297ba0fe 15:54:21 ---> 3beb42d33e4b 15:54:21 Step 23/23 : LABEL version=0.0.0 15:54:21 ---> Running in 698899ffc108 15:54:21 Removing intermediate container 698899ffc108 15:54:21 ---> f53a542250ed 15:54:21 [Warning] One or more build-args [ARCH] were not consumed 15:54:21 Successfully built f53a542250ed 15:54:21 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:54:22 15:54:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:54:23 arm64: Pulling from edgex-lftools-log-publisher 15:54:23 8998bd30e6a1: Pulling fs layer 15:54:23 04944245beec: Pulling fs layer 15:54:23 699f458cf7ca: Pulling fs layer 15:54:23 765212b225bb: Pulling fs layer 15:54:23 f23df028b6ca: Pulling fs layer 15:54:23 d65c8cfc05b1: Pulling fs layer 15:54:23 2437ff75d9bd: Pulling fs layer 15:54:23 765212b225bb: Waiting 15:54:23 f23df028b6ca: Waiting 15:54:23 d65c8cfc05b1: Waiting 15:54:23 2437ff75d9bd: Waiting 15:54:23 04944245beec: Verifying Checksum 15:54:23 04944245beec: Download complete 15:54:23 765212b225bb: Verifying Checksum 15:54:23 765212b225bb: Download complete 15:54:23 f23df028b6ca: Verifying Checksum 15:54:23 f23df028b6ca: Download complete 15:54:23 d65c8cfc05b1: Verifying Checksum 15:54:23 d65c8cfc05b1: Download complete 15:54:23 699f458cf7ca: Verifying Checksum 15:54:23 699f458cf7ca: Download complete 15:54:23 8998bd30e6a1: Verifying Checksum 15:54:23 8998bd30e6a1: Download complete 15:54:26 2437ff75d9bd: Verifying Checksum 15:54:26 2437ff75d9bd: Download complete 15:54:28 8998bd30e6a1: Pull complete 15:54:28 04944245beec: Pull complete 15:54:30 699f458cf7ca: Pull complete 15:54:30 765212b225bb: Pull complete 15:54:30 f23df028b6ca: Pull complete 15:54:31 d65c8cfc05b1: Pull complete 15:54:46 2437ff75d9bd: Pull complete 15:54:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:54:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:54:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:46 prd-ubuntu20.04-docker-arm64-4c-16g-1757 does not seem to be running inside a container 15:54:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:54:49 $ docker top 47916d9e7e8acce3846624c63dc6b491b0a1bb9012d6420f1ab9f24a34dee28a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:54:50 ---> job-cost.sh 15:54:50 lf-activate-venv: SKIPPING 15:54:50 INFO: No Stack... 15:54:50 INFO: Retrieving Pricing Info for: v3-standard-4 15:54:51 INFO: Archiving Costs [Pipeline] sh 15:54:52 + + cut -d, -f6 15:54:52 cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock 15:54:52 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-177-1-stack-cost] 15:54:52 Resource [jenkins-edgexfoundry-device-snmp-go-PR-177-1-stack-cost] did not exist. Created. 15:54:52 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-177-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:54:52 /w/workspace/device-snmp-go/1@tmp/durable-57760c19/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:54:53 + echo total: 0.10999999940395355 [Pipeline] stash 15:54:53 Warning: overwriting stash ‘stack-cost’ 15:54:53 Stashed 1 file(s) [Pipeline] } 15:54:53 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-177-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:54:53 $ docker stop --time=1 47916d9e7e8acce3846624c63dc6b491b0a1bb9012d6420f1ab9f24a34dee28a 15:54:55 $ docker rm -f 47916d9e7e8acce3846624c63dc6b491b0a1bb9012d6420f1ab9f24a34dee28a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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] configFileProvider 15:54:56 provisioning config files... 15:54:56 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-177@tmp/config2222771744974468001tmp [Pipeline] { [Pipeline] sh 15:54:56 + set +x 15:54:56 + bash -s -- 15:54:56 + curl -s https://codecov.io/bash 15:54:56 15:54:56 _____ _ 15:54:56 / ____| | | 15:54:56 | | ___ __| | ___ ___ _____ __ 15:54:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:54:56 | |___| (_) | (_| | __/ (_| (_) \ V / 15:54:56 \_____\___/ \__,_|\___|\___\___/ \_/ 15:54:56 Bash-1.0.6 15:54:56 15:54:56 15:54:56 ==> git version 2.25.1 found 15:54:56 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 15:54:56 Release-Date: 2020-01-08 15:54:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:54:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:54:56 ==> Jenkins CI detected. 15:54:56 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-177 15:54:56 project root: . 15:54:56 --> token set from env 15:54:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:54:56 ==> Running gcov in . (disable via -X gcov) 15:54:56 ==> Python coveragepy not found 15:54:56 ==> Searching for coverage reports in: 15:54:56 + . 15:54:56 -> Found 1 reports 15:54:56 ==> Detecting git/mercurial file structure 15:54:56 ==> Reading reports 15:54:56 + ./coverage.out bytes=7631 15:54:56 ==> Appending adjustments 15:54:56 https://docs.codecov.io/docs/fixing-reports 15:54:57 + Found adjustments 15:54:57 ==> Gzipping contents 15:54:57 8.0K /tmp/codecov.V1f4ZJ.gz 15:54:57 ==> Uploading reports 15:54:57 url: https://codecov.io 15:54:57 query: branch=PR-177&commit=a5241eda9e1e69b89fe42501feada0344f2aaf6b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-177%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=177&job=&cmd_args= 15:54:57 -> Pinging Codecov 15:54:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-177&commit=a5241eda9e1e69b89fe42501feada0344f2aaf6b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-177%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=177&job=&cmd_args= 15:54:57 -> Uploading to 15:54:57 https://storage.googleapis.com/codecov/v4/raw/2022-06-08/6C56EA5C29638FB4528AC87E60AF5AE0/a5241eda9e1e69b89fe42501feada0344f2aaf6b/46a2daf9-8741-4b49-adea-f120d94617b6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220608%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220608T155457Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=83d670c58b48f181fb64f1520d98c62456556bdd5e7cf7728103100be80f61e6 15:54:57 % Total % Received % Xferd Average Speed Time Time Time Current 15:54:57 Dload Upload Total Spent Left Speed 15:54:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7952 0 0 100 7952 0 33838 --:--:-- --:--:-- --:--:-- 33838 15:54:57 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/a5241eda9e1e69b89fe42501feada0344f2aaf6b [Pipeline] } 15:54:57 Deleting 1 temporary files [Pipeline] // configFileProvider [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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:54:59 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-177/archives ] 15:54:59 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-177/archives 15:54:59 total 16 15:54:59 drwxr-xr-x 3 root root 4096 Jun 8 15:49 . 15:54:59 drwxrwxr-x 11 jenkins jenkins 4096 Jun 8 15:49 .. 15:54:59 drwxr-xr-x 2 root root 4096 Jun 8 15:49 cost 15:54:59 -rw-r--r-- 1 root root 85 Jun 8 15:49 cost.csv 15:54:59 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-177/archives 15:54:59 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-177/archives 15:54:59 total 16 15:54:59 drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 15:49 . 15:54:59 drwxrwxr-x 11 jenkins jenkins 4096 Jun 8 15:49 .. 15:54:59 drwxr-xr-x 2 jenkins jenkins 4096 Jun 8 15:49 cost 15:54:59 -rw-r--r-- 1 jenkins jenkins 85 Jun 8 15:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:54:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:55:00 ---> package-listing.sh 15:55:00 ++ facter osfamily 15:55:00 ++ tr '[:upper:]' '[:lower:]' 15:55:00 + OS_FAMILY=debian 15:55:00 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-177 15:55:00 + START_PACKAGES=/tmp/packages_start.txt 15:55:00 + END_PACKAGES=/tmp/packages_end.txt 15:55:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:55:00 + PACKAGES=/tmp/packages_start.txt 15:55:00 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-177 ']' 15:55:00 + PACKAGES=/tmp/packages_end.txt 15:55:00 + case "${OS_FAMILY}" in 15:55:00 + dpkg -l 15:55:00 + grep '^ii' 15:55:00 + '[' -f /tmp/packages_start.txt ']' 15:55:00 + '[' -f /tmp/packages_end.txt ']' 15:55:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:55:00 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-177 ']' 15:55:00 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-177/archives/ 15:55:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-177/archives/ [Pipeline] echo 15:55:00 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-177/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:55:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:55:02 prd-ubuntu20.04-docker-8c-8g-1756 does not seem to be running inside a container 15:55:02 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-177/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-177 -v /w/workspace/gexfoundry_device-snmp-go_PR-177:/w/workspace/gexfoundry_device-snmp-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-177@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-177@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:55:02 $ docker top c0ed8d851595240e8f840db848059a4dc24d0230f4dbdb03f95f738058019bab -eo pid,comm [Pipeline] { [Pipeline] sh 15:55:02 + touch /tmp/pre-build-complete [Pipeline] sh 15:55:03 + mkdir -p /var/log/sysstat [Pipeline] sh 15:55:03 + ls /var/log/sa-host 15:55:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:55:03 provisioning config files... 15:55:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-177@tmp/config787736128274163049tmp [Pipeline] { [Pipeline] echo 15:55:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:55:03 ---> create-netrc.sh [Pipeline] } 15:55:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:55:04 ---> python-tools-install.sh [Pipeline] echo 15:55:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:55:04 ---> sudo-logs.sh 15:55:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:55:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:55:05 ---> job-cost.sh 15:55:05 lf-activate-venv: SKIPPING 15:55:05 DEBUG: total: 0.2199999988079071 15:55:05 INFO: Retrieving Stack Cost... 15:55:05 INFO: Retrieving Pricing Info for: v3-standard-8 15:55:05 INFO: Archiving Costs [Pipeline] echo 15:55:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:55:06 ---> logs-deploy.sh 15:55:06 lf-activate-venv: SKIPPING 15:55:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-177/1 15:55:06 INFO: archiving workspace using pattern(s): 15:55:07 Archives upload complete. 15:55:07 INFO: archiving logs to Nexus