cloudxxx8 commented: recheck 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 lenny-intel for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 6333a36f236844c13d051debdd8500920e8490e5+0a246da567fca350fd9d1d3301cf71cc0b33f546 (7db0e8179d105c78bc17eb5c6aa9a33782c06d81) 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-ssh18235470496397697308.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh4634924478952324144.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-174/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-174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4514524283740626239.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-174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7158168180034554526.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh4797908534936208715.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-174/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-174/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4040259530436881723.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com: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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8 in /w/workspace/gexfoundry_device-snmp-go_PR-174 [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-174 # 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 Merging remotes/origin/jakarta commit 0a246da567fca350fd9d1d3301cf71cc0b33f546 into PR head commit 6333a36f236844c13d051debdd8500920e8490e5 Merge succeeded, producing 6333a36f236844c13d051debdd8500920e8490e5 Checking out Revision 6333a36f236844c13d051debdd8500920e8490e5 (PR-174) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6333a36f236844c13d051debdd8500920e8490e5 # 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 0a246da567fca350fd9d1d3301cf71cc0b33f546 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6333a36f236844c13d051debdd8500920e8490e5 # timeout=10 Commit message: "fix: (jakarta) Correctly set the versions for the service and sdk" > git rev-list --no-walk 6333a36f236844c13d051debdd8500920e8490e5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:27:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:27:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:27:19 ========================================================= 01:27:19 EdgeX Global Pipelines Version Info 01:27:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:27:20 ------------------- 01:27:20 stable info: 01:27:20 ------------------- 01:27:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:27:20 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 01:27:20 Message: update stable to v1.0.230 01:27:21 ------------------- 01:27:21 experimental info: 01:27:21 ------------------- 01:27:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:27:21 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 01:27:21 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-174 [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-174 [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-174 [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6333a36f236844c13d051debdd8500920e8490e5 [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6333a36 [Pipeline] echo 01:27:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:27:21 provisioning config files... 01:27:21 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-174@tmp/config4476491772749675657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:27:22 ---> docker-login.sh 01:27:22 nexus3.edgexfoundry.org:10001 01:27:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:22 Configure a credential helper to remove this warning. See 01:27:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:22 01:27:22 Login Succeeded 01:27:22 nexus3.edgexfoundry.org:10002 01:27:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:22 Configure a credential helper to remove this warning. See 01:27:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:22 01:27:22 Login Succeeded 01:27:22 nexus3.edgexfoundry.org:10003 01:27:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:22 Configure a credential helper to remove this warning. See 01:27:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:22 01:27:22 Login Succeeded 01:27:22 nexus3.edgexfoundry.org:10004 01:27:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:22 Configure a credential helper to remove this warning. See 01:27:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:22 01:27:22 Login Succeeded 01:27:22 docker.io 01:27:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:23 Configure a credential helper to remove this warning. See 01:27:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:23 01:27:23 Login Succeeded 01:27:23 ---> docker-login.sh ends [Pipeline] } 01:27:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:27:23 + git rev-list -1 --merges 6333a36f236844c13d051debdd8500920e8490e5~1..6333a36f236844c13d051debdd8500920e8490e5 [Pipeline] echo 01:27:23 -----------> git rev-list -1 --merges 6333a36f236844c13d051debdd8500920e8490e5~1..6333a36f236844c13d051debdd8500920e8490e5 6333a36f236844c13d051debdd8500920e8490e5 [false] [Pipeline] sh 01:27:24 + git log --format=format:%s -1 6333a36f236844c13d051debdd8500920e8490e5 [Pipeline] echo 01:27:24 ========================================================= 01:27:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:27:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:27:24 + git log --format=format:%s -1 6333a36f236844c13d051debdd8500920e8490e5 [Pipeline] echo 01:27:24 [semverPrep] GIT_COMMIT: 6333a36f236844c13d051debdd8500920e8490e5, Commit Message: fix: (jakarta) Correctly set the versions for the service and sdk [Pipeline] echo 01:27:24 [semverPrep] This is not a build commit. [Pipeline] sh 01:27:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:27:24 + grep -v github /etc/ssh/ssh_known_hosts 01:27:24 + [ -e /tmp/ssh_known_hosts ] 01:27:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:27:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:27:24 + sudo tee -a /etc/ssh/ssh_known_hosts 01:27:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:27:25 01:27:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:27:25 latest: Pulling from edgex-devops/py-git-semver 01:27:25 1fe172e4850f: Pulling fs layer 01:27:25 caf521ccaac6: Pulling fs layer 01:27:25 3ead6fa29328: Pulling fs layer 01:27:25 5c2a1cbceb83: Pulling fs layer 01:27:25 a8d5f1318db7: Pulling fs layer 01:27:25 c427282e49a2: Pulling fs layer 01:27:25 1827001aaf11: Pulling fs layer 01:27:25 0714d37db230: Pulling fs layer 01:27:25 ac28cf19c067: Pulling fs layer 01:27:25 ca983d60f3e2: Pulling fs layer 01:27:25 9f894cec8388: Pulling fs layer 01:27:25 5c2a1cbceb83: Waiting 01:27:25 c427282e49a2: Waiting 01:27:25 ac28cf19c067: Waiting 01:27:25 0714d37db230: Waiting 01:27:25 1827001aaf11: Waiting 01:27:25 a8d5f1318db7: Waiting 01:27:25 9f894cec8388: Waiting 01:27:25 ca983d60f3e2: Waiting 01:27:25 caf521ccaac6: Verifying Checksum 01:27:25 5c2a1cbceb83: Verifying Checksum 01:27:25 a8d5f1318db7: Verifying Checksum 01:27:25 a8d5f1318db7: Download complete 01:27:25 c427282e49a2: Download complete 01:27:25 3ead6fa29328: Verifying Checksum 01:27:25 3ead6fa29328: Download complete 01:27:25 0714d37db230: Verifying Checksum 01:27:25 0714d37db230: Download complete 01:27:25 ac28cf19c067: Verifying Checksum 01:27:25 ac28cf19c067: Download complete 01:27:25 ca983d60f3e2: Verifying Checksum 01:27:25 ca983d60f3e2: Download complete 01:27:25 9f894cec8388: Download complete 01:27:25 1fe172e4850f: Verifying Checksum 01:27:25 1fe172e4850f: Download complete 01:27:26 1827001aaf11: Verifying Checksum 01:27:26 1827001aaf11: Download complete 01:27:27 1fe172e4850f: Pull complete 01:27:27 caf521ccaac6: Pull complete 01:27:28 3ead6fa29328: Pull complete 01:27:28 5c2a1cbceb83: Pull complete 01:27:28 a8d5f1318db7: Pull complete 01:27:28 c427282e49a2: Pull complete 01:27:30 1827001aaf11: Pull complete 01:27:30 0714d37db230: Pull complete 01:27:30 ac28cf19c067: Pull complete 01:27:30 ca983d60f3e2: Pull complete 01:27:30 9f894cec8388: Pull complete 01:27:30 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 01:27:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:27:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:30 prd-ubuntu20.04-docker-8c-8g-8 does not seem to be running inside a container 01:27:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-174 -v /w/workspace/gexfoundry_device-snmp-go_PR-174:/w/workspace/gexfoundry_device-snmp-go_PR-174:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-174@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-174@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-devops/py-git-semver:latest cat 01:27:32 $ docker top 302673e1fd33261000124958524ce6f8144e9603af3d09e13c9b35febda6bd03 -eo pid,comm 01:27:32 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:27:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:27:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:27:32 [ssh-agent] Looking for ssh-agent implementation... 01:27:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:27:32 $ docker exec 302673e1fd33261000124958524ce6f8144e9603af3d09e13c9b35febda6bd03 ssh-agent 01:27:32 SSH_AUTH_SOCK=/tmp/ssh-UGIDp8AjLOlO/agent.33 01:27:32 SSH_AGENT_PID=39 01:27:32 Running ssh-add (command line suppressed) 01:27:33 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-174@tmp/private_key_8126130817708910837.key (/w/workspace/gexfoundry_device-snmp-go_PR-174@tmp/private_key_8126130817708910837.key) 01:27:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:27:33 + git tag --points-at HEAD [Pipeline] } 01:27:33 $ docker exec --env ******** --env ******** 302673e1fd33261000124958524ce6f8144e9603af3d09e13c9b35febda6bd03 ssh-agent -k 01:27:33 unset SSH_AUTH_SOCK; 01:27:33 unset SSH_AGENT_PID; 01:27:33 echo Agent pid 39 killed; 01:27:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:27:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:27:33 [ssh-agent] Looking for ssh-agent implementation... 01:27:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:27:33 $ docker exec 302673e1fd33261000124958524ce6f8144e9603af3d09e13c9b35febda6bd03 ssh-agent 01:27:33 SSH_AUTH_SOCK=/tmp/ssh-i1Gtwj7hQn1s/agent.72 01:27:33 SSH_AGENT_PID=78 01:27:33 Running ssh-add (command line suppressed) 01:27:33 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-174@tmp/private_key_769352869440633722.key (/w/workspace/gexfoundry_device-snmp-go_PR-174@tmp/private_key_769352869440633722.key) 01:27:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:27:34 + git semver init 01:27:34 2022-05-25 01:27:34,596 [run_init] DEBUG init version:0.0.0 force:False 01:27:34 2022-05-25 01:27:34,596 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-174/.semver 01:27:34 2022-05-25 01:27:34,597 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-174/.semver 01:27:34 2022-05-25 01:27:34,597 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-174/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-174, universal_newlines=False, shell=None, istream=None) 01:27:35 2022-05-25 01:27:35,329 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-174/.git/info/exclude 01:27:35 2022-05-25 01:27:35,329 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-174/.semver/PR-174 with force:False 01:27:35 2022-05-25 01:27:35,329 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-174/.semver/PR-174 01:27:35 2022-05-25 01:27:35,332 [execute] INFO git cat-file --batch-check 01:27:35 2022-05-25 01:27:35,333 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-174/.semver, universal_newlines=False, shell=None, istream=) 01:27:35 2022-05-25 01:27:35,339 [execute] INFO git cat-file --batch 01:27:35 2022-05-25 01:27:35,339 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-174/.semver, universal_newlines=False, shell=None, istream=) 01:27:35 2022-05-25 01:27:35,344 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-174/.semver/PR-174 01:27:35 0.0.0 [Pipeline] } 01:27:35 $ docker exec --env ******** --env ******** 302673e1fd33261000124958524ce6f8144e9603af3d09e13c9b35febda6bd03 ssh-agent -k 01:27:35 unset SSH_AUTH_SOCK; 01:27:35 unset SSH_AGENT_PID; 01:27:35 echo Agent pid 78 killed; 01:27:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:27:35 + git semver [Pipeline] } 01:27:36 $ docker stop --time=1 302673e1fd33261000124958524ce6f8144e9603af3d09e13c9b35febda6bd03 01:27:37 $ docker rm -f 302673e1fd33261000124958524ce6f8144e9603af3d09e13c9b35febda6bd03 [Pipeline] // withDockerContainer [Pipeline] sh 01:27:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:27:38 Stashed 1 file(s) [Pipeline] echo 01:27:38 [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 01:27:38 provisioning config files... 01:27:38 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-174@tmp/config4980343965503125050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:27:38 ---> docker-login.sh 01:27:38 nexus3.edgexfoundry.org:10001 01:27:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:38 Configure a credential helper to remove this warning. See 01:27:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:38 01:27:38 Login Succeeded 01:27:38 nexus3.edgexfoundry.org:10002 01:27:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:38 Configure a credential helper to remove this warning. See 01:27:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:38 01:27:38 Login Succeeded 01:27:38 nexus3.edgexfoundry.org:10003 01:27:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:38 Configure a credential helper to remove this warning. See 01:27:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:38 01:27:38 Login Succeeded 01:27:38 nexus3.edgexfoundry.org:10004 01:27:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:39 Configure a credential helper to remove this warning. See 01:27:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:39 01:27:39 Login Succeeded 01:27:39 docker.io 01:27:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:39 Configure a credential helper to remove this warning. See 01:27:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:39 01:27:39 Login Succeeded 01:27:39 ---> docker-login.sh ends [Pipeline] } 01:27:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:27:39 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:27:39 ========================================================= 01:27:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 01:27:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:39 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 01:27:39 Sending build context to Docker daemon 16.31MB 01:27:40 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 01:27:40 Step 2/11 : FROM ${BASE} AS builder 01:27:40 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 01:27:40 59bf1c3509f3: Pulling fs layer 01:27:40 666ba61612fd: Pulling fs layer 01:27:40 8ed8ca486205: Pulling fs layer 01:27:40 4fe6c5a15a65: Pulling fs layer 01:27:40 22a0e8bec74d: Pulling fs layer 01:27:40 5f8736975d2d: Pulling fs layer 01:27:40 fe9c1520953f: Pulling fs layer 01:27:40 ad63dd2c9e3e: Pulling fs layer 01:27:40 15d927b9e438: Pulling fs layer 01:27:40 5f8736975d2d: Waiting 01:27:40 fe9c1520953f: Waiting 01:27:40 ad63dd2c9e3e: Waiting 01:27:40 15d927b9e438: Waiting 01:27:40 4fe6c5a15a65: Waiting 01:27:40 22a0e8bec74d: Waiting 01:27:40 8ed8ca486205: Verifying Checksum 01:27:40 8ed8ca486205: Download complete 01:27:40 666ba61612fd: Verifying Checksum 01:27:40 666ba61612fd: Download complete 01:27:40 22a0e8bec74d: Verifying Checksum 01:27:40 22a0e8bec74d: Download complete 01:27:40 5f8736975d2d: Verifying Checksum 01:27:40 5f8736975d2d: Download complete 01:27:40 59bf1c3509f3: Verifying Checksum 01:27:40 fe9c1520953f: Verifying Checksum 01:27:40 fe9c1520953f: Download complete 01:27:40 ad63dd2c9e3e: Verifying Checksum 01:27:40 ad63dd2c9e3e: Download complete 01:27:40 59bf1c3509f3: Pull complete 01:27:40 666ba61612fd: Pull complete 01:27:40 8ed8ca486205: Pull complete 01:27:40 15d927b9e438: Verifying Checksum 01:27:40 15d927b9e438: Download complete 01:27:40 4fe6c5a15a65: Verifying Checksum 01:27:40 4fe6c5a15a65: Download complete 01:27:45 4fe6c5a15a65: Pull complete 01:27:45 22a0e8bec74d: Pull complete 01:27:45 5f8736975d2d: Pull complete 01:27:45 fe9c1520953f: Pull complete 01:27:45 ad63dd2c9e3e: Pull complete 01:27:46 15d927b9e438: Pull complete 01:27:46 Digest: sha256:661808593d0254beeed429a39851472eaea702e19ad1e0a0b350076e4156c215 01:27:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 01:27:46 ---> 38c4cad2258c 01:27:46 Step 3/11 : ARG MAKE='make build' 01:27:48 ---> Running in faf11a40bd6e 01:27:48 Removing intermediate container faf11a40bd6e 01:27:48 ---> 822e65279279 01:27:48 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:27:48 ---> Running in e2a0138b2055 01:27:48 Removing intermediate container e2a0138b2055 01:27:48 ---> 2e80f4b1619f 01:27:48 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 01:27:48 ---> Running in 4ba94f90f9e7 01:27:49 Removing intermediate container 4ba94f90f9e7 01:27:49 ---> 99f8bc2c1237 01:27:49 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:27:49 ---> Running in 1f1139ba31e8 01:27:49 Removing intermediate container 1f1139ba31e8 01:27:49 ---> 356a710ec1bf 01:27:49 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:27:49 ---> Running in 16b43906656b 01:27:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:27:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:27:51 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:27:51 (2/4) Installing libedit (20210910.3.1-r0) 01:27:51 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:27:51 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:27:51 Executing busybox-1.34.1-r3.trigger 01:27:51 OK: 224 MiB in 56 packages 01:27:51 Removing intermediate container 16b43906656b 01:27:51 ---> ab8b170b0158 01:27:51 Step 8/11 : WORKDIR /device-snmp-go 01:27:51 ---> Running in b7c6b1bbb1b7 01:27:51 Removing intermediate container b7c6b1bbb1b7 01:27:51 ---> a4c5df8f425f 01:27:51 Step 9/11 : COPY . . 01:27:53 Still waiting to schedule task 01:27:53 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4’ 01:27:53 ---> 331cf0ab8901 01:27:53 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:27:53 ---> Running in fdb4a8f75119 01:27:53 skipping... 01:27:53 Removing intermediate container fdb4a8f75119 01:27:53 ---> a83f6b4de869 01:27:53 Step 11/11 : RUN ${MAKE} 01:27:53 ---> Running in 62e72f3262c1 01:27:54 noop 01:27:54 Removing intermediate container 62e72f3262c1 01:27:54 ---> 527d2e5b4fb2 01:27:54 Successfully built 527d2e5b4fb2 01:27:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:54 + docker inspect -f . ci-base-image-x86_64 01:27:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:54 prd-ubuntu20.04-docker-8c-8g-8 does not seem to be running inside a container 01:27:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-174 -v /w/workspace/gexfoundry_device-snmp-go_PR-174:/w/workspace/gexfoundry_device-snmp-go_PR-174:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-174@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-174@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:27:55 $ docker top 48caf72c3f6334fe1be59a65ee65fb7f8819684409543211741ab351b2d6784d -eo pid,comm [Pipeline] { [Pipeline] sh 01:27:55 + go version 01:27:55 go version go1.17.6 linux/amd64 [Pipeline] } 01:27:55 $ docker stop --time=1 48caf72c3f6334fe1be59a65ee65fb7f8819684409543211741ab351b2d6784d 01:27:56 $ docker rm -f 48caf72c3f6334fe1be59a65ee65fb7f8819684409543211741ab351b2d6784d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:57 + docker inspect -f . ci-base-image-x86_64 01:27:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:57 prd-ubuntu20.04-docker-8c-8g-8 does not seem to be running inside a container 01:27:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-174 -v /w/workspace/gexfoundry_device-snmp-go_PR-174:/w/workspace/gexfoundry_device-snmp-go_PR-174:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-174@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-174@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:27:57 $ docker top 46dce52cc80e39071af835e10fed3f880693bfdd106690e1c9f9725d43429a32 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:27:58 + make test 01:27:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:27:58 ? github.com/edgexfoundry/device-snmp-go [no test files] 01:28:05 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 01:28:05 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements 01:28:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:28:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:28:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:28:09 ./bin/test-attribution-txt.sh 01:28:09 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.0 01:28:09 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 01:28:09 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 01:28:09 go: downloading github.com/soniah/gosnmp v1.21.0 01:28:09 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 01:28:09 go: downloading github.com/OneOfOne/xxhash v1.2.8 01:28:09 go: downloading github.com/google/uuid v1.3.0 01:28:09 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 01:28:09 go: downloading github.com/pelletier/go-toml v1.9.4 01:28:09 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 01:28:09 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 01:28:09 go: downloading github.com/gorilla/mux v1.8.0 01:28:09 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 01:28:09 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 01:28:09 go: downloading github.com/hashicorp/go-multierror v1.1.0 01:28:09 go: downloading github.com/hashicorp/consul/api v1.9.1 01:28:09 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:28:09 go: downloading github.com/go-kit/kit v0.11.0 01:28:09 go: downloading github.com/go-playground/validator/v10 v10.9.0 01:28:09 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 01:28:09 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 01:28:09 go: downloading github.com/go-redis/redis/v7 v7.3.0 01:28:09 go: downloading github.com/pebbe/zmq4 v1.2.7 01:28:09 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 01:28:09 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:28:09 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 01:28:09 go: downloading github.com/go-logfmt/logfmt v0.5.0 01:28:09 go: downloading github.com/mitchellh/copystructure v1.0.0 01:28:09 go: downloading github.com/mitchellh/mapstructure v1.1.2 01:28:09 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 01:28:09 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 01:28:09 go: downloading golang.org/x/text v0.3.6 01:28:09 go: downloading github.com/golang/mock v1.4.4 01:28:09 go: downloading github.com/hashicorp/errwrap v1.0.0 01:28:09 go: downloading github.com/hashicorp/golang-lru v0.5.0 01:28:09 go: downloading github.com/x448/float16 v0.8.4 01:28:09 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 01:28:09 go: downloading github.com/hashicorp/go-hclog v0.12.0 01:28:09 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 01:28:09 go: downloading github.com/hashicorp/serf v0.9.5 01:28:09 go: downloading github.com/gorilla/websocket v1.4.2 01:28:09 go: downloading github.com/mitchellh/reflectwalk v1.0.0 01:28:09 go: downloading github.com/go-playground/universal-translator v0.18.0 01:28:09 go: downloading github.com/leodido/go-urn v1.2.1 01:28:09 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 01:28:09 go: downloading github.com/mitchellh/go-homedir v1.1.0 01:28:09 go: downloading github.com/fatih/color v1.9.0 01:28:09 go: downloading github.com/mattn/go-colorable v0.1.6 01:28:09 go: downloading github.com/mattn/go-isatty v0.0.12 01:28:09 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 01:28:11 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 01:28:11 + go mod tidy 01:28:11 go: downloading github.com/stretchr/testify v1.7.0 01:28:11 go: downloading github.com/go-stack/stack v1.8.0 01:28:11 go: downloading github.com/go-playground/assert/v2 v2.0.1 01:28:11 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 01:28:11 go: downloading github.com/hashicorp/consul/sdk v0.8.0 01:28:11 go: downloading github.com/hashicorp/go-uuid v1.0.1 01:28:11 go: downloading github.com/onsi/ginkgo v1.10.1 01:28:11 go: downloading github.com/onsi/gomega v1.7.0 01:28:11 go: downloading github.com/hashicorp/go-msgpack v0.5.3 01:28:11 go: downloading github.com/hashicorp/memberlist v0.2.2 01:28:11 go: downloading github.com/pkg/errors v0.9.1 01:28:11 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:28:11 go: downloading github.com/kr/pretty v0.3.0 01:28:11 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 01:28:11 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:28:11 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 01:28:11 go: downloading github.com/miekg/dns v1.1.26 01:28:11 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:28:11 go: downloading github.com/kr/text v0.2.0 01:28:11 go: downloading github.com/rogpeppe/go-internal v1.8.0 01:28:11 go: downloading gopkg.in/yaml.v2 v2.3.0 01:28:11 go: downloading github.com/hpcloud/tail v1.0.0 01:28:11 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 01:28:11 go: downloading gopkg.in/fsnotify.v1 v1.4.7 01:28:11 go: downloading github.com/stretchr/objx v0.1.1 01:28:11 go: downloading github.com/davecgh/go-spew v1.1.1 01:28:11 go: downloading github.com/pmezard/go-difflib v1.0.0 [Pipeline] } 01:28:11 $ docker stop --time=1 46dce52cc80e39071af835e10fed3f880693bfdd106690e1c9f9725d43429a32 01:28:13 $ docker rm -f 46dce52cc80e39071af835e10fed3f880693bfdd106690e1c9f9725d43429a32 [Pipeline] // withDockerContainer [Pipeline] sh 01:28:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:28:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:28:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:28:15 + ls -al . 01:28:15 total 180 01:28:15 drwxrwxr-x 10 jenkins jenkins 4096 May 25 01:28 . 01:28:15 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:27 .. 01:28:15 -rw-rw-r-- 1 jenkins jenkins 6 May 25 01:27 .dockerignore 01:28:15 drwxrwxr-x 8 jenkins jenkins 4096 May 25 01:27 .git 01:28:15 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:27 .github 01:28:15 -rw-rw-r-- 1 jenkins jenkins 255 May 25 01:27 .gitignore 01:28:15 drwxr-xr-x 3 jenkins jenkins 4096 May 25 01:27 .semver 01:28:15 -rw-rw-r-- 1 jenkins jenkins 6926 May 25 01:27 Attribution.txt 01:28:15 -rw-rw-r-- 1 jenkins jenkins 4401 May 25 01:27 CHANGELOG.md 01:28:15 -rw-rw-r-- 1 jenkins jenkins 1493 May 25 01:27 Dockerfile 01:28:15 -rw-rw-r-- 1 jenkins jenkins 677 May 25 01:27 GOVERNANCE.md 01:28:15 -rw-rw-r-- 1 jenkins jenkins 656 May 25 01:27 Jenkinsfile 01:28:15 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 01:27 LICENSE 01:28:15 -rw-rw-r-- 1 jenkins jenkins 1526 May 25 01:27 Makefile 01:28:15 -rw-rw-r-- 1 jenkins jenkins 620 May 25 01:27 OWNERS.md 01:28:15 -rw-rw-r-- 1 jenkins jenkins 9073 May 25 01:27 README.md 01:28:15 -rw-rw-r-- 1 jenkins jenkins 5 May 25 01:27 VERSION 01:28:15 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:27 bin 01:28:15 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:27 cmd 01:28:15 -rw-r--r-- 1 jenkins jenkins 7631 May 25 01:28 coverage.out 01:28:15 -rw-rw-r-- 1 jenkins jenkins 208 May 25 01:28 go.mod 01:28:15 -rw-rw-r-- 1 jenkins jenkins 49477 May 25 01:27 go.sum 01:28:15 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:27 internal 01:28:15 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:27 snap 01:28:15 drwxrwxr-x 6 jenkins jenkins 4096 May 25 01:27 vendor 01:28:15 -rw-rw-r-- 1 jenkins jenkins 228 May 25 01:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:15 + 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=6333a36f236844c13d051debdd8500920e8490e5 --label arch=amd64 --label version=0.0.0 . 01:28:15 Sending build context to Docker daemon 16.32MB 01:28:15 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 01:28:15 Step 2/23 : FROM ${BASE} AS builder 01:28:15 ---> 527d2e5b4fb2 01:28:15 Step 3/23 : ARG MAKE='make build' 01:28:15 ---> Running in 09c4888f4924 01:28:16 Removing intermediate container 09c4888f4924 01:28:16 ---> 2c3fd295126d 01:28:16 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:28:16 ---> Running in 214ce0030f08 01:28:16 Removing intermediate container 214ce0030f08 01:28:16 ---> 24f7ac70eb28 01:28:16 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 01:28:16 ---> Running in 0931b38f9182 01:28:16 Removing intermediate container 0931b38f9182 01:28:16 ---> cb25178d6efc 01:28:16 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:28:16 ---> Running in 41e0226f9aec 01:28:16 Removing intermediate container 41e0226f9aec 01:28:16 ---> 81ffc3ad5f3a 01:28:16 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:28:16 ---> Running in 6cf49cb73895 01:28:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:28:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:28:18 OK: 224 MiB in 56 packages 01:28:18 Removing intermediate container 6cf49cb73895 01:28:18 ---> 0d102a15b1dc 01:28:18 Step 8/23 : WORKDIR /device-snmp-go 01:28:18 ---> Running in 850e4037ecc6 01:28:18 Removing intermediate container 850e4037ecc6 01:28:18 ---> 1d2bad5b5cc4 01:28:18 Step 9/23 : COPY . . 01:28:19 ---> 4e8b1dbb56a6 01:28:19 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:28:19 ---> Running in c144085f8103 01:28:20 skipping... 01:28:20 Removing intermediate container c144085f8103 01:28:20 ---> 669f1e04fd14 01:28:20 Step 11/23 : RUN ${MAKE} 01:28:20 ---> Running in 256ca94fc962 01:28:20 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.0" -o cmd/device-snmp ./cmd 01:28:28 Removing intermediate container 256ca94fc962 01:28:28 ---> 9f5168ee3d95 01:28:28 Step 12/23 : FROM alpine:3.14 01:28:28 3.14: Pulling from library/alpine 01:28:28 8663204ce13b: Pulling fs layer 01:28:29 8663204ce13b: Verifying Checksum 01:28:29 8663204ce13b: Download complete 01:28:29 8663204ce13b: Pull complete 01:28:29 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:28:29 Status: Downloaded newer image for alpine:3.14 01:28:29 ---> e04c818066af 01:28:29 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 01:28:29 ---> Running in 7c7a609a5e47 01:28:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:28:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:28:29 (1/6) Installing dumb-init (1.2.5-r1) 01:28:30 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:28:30 (3/6) Installing libsodium (1.0.18-r0) 01:28:30 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:28:30 (5/6) Installing libzmq (4.3.4-r0) 01:28:30 (6/6) Installing zeromq (4.3.4-r0) 01:28:30 Executing busybox-1.33.1-r7.trigger 01:28:30 OK: 8 MiB in 20 packages 01:28:30 Removing intermediate container 7c7a609a5e47 01:28:30 ---> 8d51ac088516 01:28:30 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 01:28:30 ---> b419609cd30c 01:28:30 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 01:28:30 ---> 82bdce6cd6bf 01:28:30 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 01:28:31 ---> 4ab1481b1d67 01:28:31 Step 17/23 : EXPOSE 59993 01:28:31 ---> Running in ef4203b3e0b4 01:28:31 Removing intermediate container ef4203b3e0b4 01:28:31 ---> 87d96a3a0f89 01:28:31 Step 18/23 : EXPOSE 161 01:28:31 ---> Running in 23d8c24ef8d2 01:28:31 Removing intermediate container 23d8c24ef8d2 01:28:31 ---> 162ec2a39fe1 01:28:31 Step 19/23 : ENTRYPOINT ["/device-snmp"] 01:28:31 ---> Running in 929bd12298b5 01:28:31 Removing intermediate container 929bd12298b5 01:28:31 ---> 81c698c14700 01:28:31 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:28:31 ---> Running in 0593f31dcfd0 01:28:31 Removing intermediate container 0593f31dcfd0 01:28:31 ---> 704bdbf78c4b 01:28:31 Step 21/23 : LABEL arch=amd64 01:28:31 ---> Running in 6f4209321ba6 01:28:31 Removing intermediate container 6f4209321ba6 01:28:31 ---> d0e6af6d10d5 01:28:31 Step 22/23 : LABEL git_sha=6333a36f236844c13d051debdd8500920e8490e5 01:28:31 ---> Running in 111bfbca2c6b 01:28:31 Removing intermediate container 111bfbca2c6b 01:28:31 ---> 664f6a4c4195 01:28:31 Step 23/23 : LABEL version=0.0.0 01:28:31 ---> Running in 66ddadfb9375 01:28:32 Removing intermediate container 66ddadfb9375 01:28:32 ---> cdc6211768d0 01:28:32 [Warning] One or more build-args [ARCH] were not consumed 01:28:32 Successfully built cdc6211768d0 01:28:32 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 01:28:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:28:32 01:28:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:28:32 latest: Pulling from edgex-lftools-log-publisher 01:28:32 5eb5b503b376: Pulling fs layer 01:28:32 5c69ac0246d0: Pulling fs layer 01:28:32 ec43610c2a17: Pulling fs layer 01:28:32 3a2ae6a8a46f: Pulling fs layer 01:28:32 33b1e0a273af: Pulling fs layer 01:28:32 5d3b04190fa2: Pulling fs layer 01:28:32 2f39f015ded8: Pulling fs layer 01:28:32 33b1e0a273af: Waiting 01:28:32 5d3b04190fa2: Waiting 01:28:32 2f39f015ded8: Waiting 01:28:32 3a2ae6a8a46f: Waiting 01:28:32 5c69ac0246d0: Download complete 01:28:32 3a2ae6a8a46f: Verifying Checksum 01:28:32 3a2ae6a8a46f: Download complete 01:28:32 33b1e0a273af: Verifying Checksum 01:28:32 33b1e0a273af: Download complete 01:28:32 5d3b04190fa2: Download complete 01:28:32 ec43610c2a17: Download complete 01:28:33 5eb5b503b376: Verifying Checksum 01:28:33 5eb5b503b376: Download complete 01:28:33 2f39f015ded8: Download complete 01:28:34 5eb5b503b376: Pull complete 01:28:34 5c69ac0246d0: Pull complete 01:28:35 ec43610c2a17: Pull complete 01:28:35 3a2ae6a8a46f: Pull complete 01:28:35 33b1e0a273af: Pull complete 01:28:35 5d3b04190fa2: Pull complete 01:28:40 2f39f015ded8: Pull complete 01:28:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:28:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:28:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:40 prd-ubuntu20.04-docker-8c-8g-8 does not seem to be running inside a container 01:28:40 $ 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-174 -v /w/workspace/gexfoundry_device-snmp-go_PR-174:/w/workspace/gexfoundry_device-snmp-go_PR-174:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-174@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-174@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:28:42 $ docker top 6bd1d636ff45ea611e74a14d4b539dc905ef130761c82d33acb1508357cb67ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:28:43 ---> job-cost.sh 01:28:43 lf-activate-venv: SKIPPING 01:28:43 INFO: No Stack... 01:28:43 INFO: Retrieving Pricing Info for: v3-standard-8 01:28:44 INFO: Archiving Costs [Pipeline] sh 01:28:44 + cat /w/workspace/gexfoundry_device-snmp-go_PR-174/archives/cost.csv 01:28:44 + cut -d, -f6 [Pipeline] lock 01:28:44 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-174-2-stack-cost] 01:28:44 Resource [jenkins-edgexfoundry-device-snmp-go-PR-174-2-stack-cost] did not exist. Created. 01:28:44 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-174-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:28:44 + echo total: 0.2199999988079071 [Pipeline] stash 01:28:44 Stashed 1 file(s) [Pipeline] } 01:28:44 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-174-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:28:44 $ docker stop --time=1 6bd1d636ff45ea611e74a14d4b539dc905ef130761c82d33acb1508357cb67ff 01:28:45 $ docker rm -f 6bd1d636ff45ea611e74a14d4b539dc905ef130761c82d33acb1508357cb67ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:30:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12 in /w/workspace/gexfoundry_device-snmp-go_PR-174 [Pipeline] { [Pipeline] ws 01:30:39 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 01:30:39 Selected Git installation does not exist. Using Default 01:30:39 The recommended git tool is: NONE 01:30:44 using credential edgex-jenkins-ssh 01:30:44 Cloning the remote Git repository 01:30:44 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 01:30:44 > git init /w/workspace/device-snmp-go/2 # timeout=10 01:30:45 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 01:30:45 > git --version # timeout=10 01:30:45 > git --version # 'git version 2.25.1' 01:30:45 using GIT_SSH to set credentials SSH Credentials for GitHub 01:30:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:30:46 Merging remotes/origin/jakarta commit 0a246da567fca350fd9d1d3301cf71cc0b33f546 into PR head commit 6333a36f236844c13d051debdd8500920e8490e5 01:30:46 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 01:30:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:30:46 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 01:30:46 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 01:30:46 using GIT_SSH to set credentials SSH Credentials for GitHub 01:30:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 01:30:46 > git config core.sparsecheckout # timeout=10 01:30:46 > git checkout -f 6333a36f236844c13d051debdd8500920e8490e5 # timeout=10 01:30:47 Merge succeeded, producing 6333a36f236844c13d051debdd8500920e8490e5 01:30:47 Checking out Revision 6333a36f236844c13d051debdd8500920e8490e5 (PR-174) 01:30:47 > git remote # timeout=10 01:30:47 > git config --get remote.origin.url # timeout=10 01:30:47 using GIT_SSH to set credentials SSH Credentials for GitHub 01:30:47 > git merge 0a246da567fca350fd9d1d3301cf71cc0b33f546 # timeout=10 01:30:47 > git rev-parse HEAD^{commit} # timeout=10 01:30:47 > git config core.sparsecheckout # timeout=10 01:30:47 > git checkout -f 6333a36f236844c13d051debdd8500920e8490e5 # timeout=10 01:30:52 Commit message: "fix: (jakarta) Correctly set the versions for the service and sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:30:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:30:53 % Total % Received % Xferd Average Speed Time Time Time Current 01:30:53 Dload Upload Total Spent Left Speed 01:30:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 189k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh 01:30:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:30:54 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 01:30:54 /etc/docker/daemon.json 01:30:54 { 01:30:54 "registry-mirrors": [ 01:30:54 "https://nexus3.edgexfoundry.org:10001" 01:30:54 ], 01:30:54 "bip": "10.250.0.254/24", 01:30:54 "hosts": [ 01:30:54 "tcp://0.0.0.0:5555", 01:30:54 "unix:///var/run/docker.sock" 01:30:54 ], 01:30:54 "mtu": 1458, 01:30:54 "selinux-enabled": true, 01:30:54 "seccomp-profile": "/etc/docker/seccomp.json" 01:30:54 } [Pipeline] sh 01:30:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:30:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:31:13 provisioning config files... 01:31:13 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config3738247669214889400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:31:13 ---> docker-login.sh 01:31:13 nexus3.edgexfoundry.org:10001 01:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:14 Configure a credential helper to remove this warning. See 01:31:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:14 01:31:14 Login Succeeded 01:31:14 nexus3.edgexfoundry.org:10002 01:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:15 Configure a credential helper to remove this warning. See 01:31:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:15 01:31:15 Login Succeeded 01:31:15 nexus3.edgexfoundry.org:10003 01:31:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:15 Configure a credential helper to remove this warning. See 01:31:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:15 01:31:15 Login Succeeded 01:31:15 nexus3.edgexfoundry.org:10004 01:31:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:15 Configure a credential helper to remove this warning. See 01:31:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:15 01:31:15 Login Succeeded 01:31:15 docker.io 01:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:16 Configure a credential helper to remove this warning. See 01:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:16 01:31:16 Login Succeeded 01:31:16 ---> docker-login.sh ends [Pipeline] } 01:31:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:31:17 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:31:17 ========================================================= 01:31:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 01:31:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:17 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 01:31:19 Sending build context to Docker daemon 13.72MB 01:31:19 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 01:31:19 Step 2/11 : FROM ${BASE} AS builder 01:31:19 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 01:31:19 9b3977197b4f: Pulling fs layer 01:31:19 1a89e8eeedd5: Pulling fs layer 01:31:19 94645a83ff95: Pulling fs layer 01:31:19 3f3a8bcf1eab: Pulling fs layer 01:31:19 0c92f367c5e7: Pulling fs layer 01:31:19 045706c8da98: Pulling fs layer 01:31:19 d7189365e05b: Pulling fs layer 01:31:19 a32415fbff51: Pulling fs layer 01:31:19 3f3a8bcf1eab: Waiting 01:31:19 0c92f367c5e7: Waiting 01:31:19 045706c8da98: Waiting 01:31:19 d7189365e05b: Waiting 01:31:19 a32415fbff51: Waiting 01:31:19 94645a83ff95: Download complete 01:31:19 1a89e8eeedd5: Verifying Checksum 01:31:19 1a89e8eeedd5: Download complete 01:31:19 0c92f367c5e7: Verifying Checksum 01:31:19 0c92f367c5e7: Download complete 01:31:19 045706c8da98: Verifying Checksum 01:31:19 045706c8da98: Download complete 01:31:19 9b3977197b4f: Verifying Checksum 01:31:19 9b3977197b4f: Download complete 01:31:19 d7189365e05b: Verifying Checksum 01:31:19 d7189365e05b: Download complete 01:31:19 9b3977197b4f: Pull complete 01:31:20 1a89e8eeedd5: Pull complete 01:31:20 94645a83ff95: Pull complete 01:31:20 a32415fbff51: Verifying Checksum 01:31:20 a32415fbff51: Download complete 01:31:21 3f3a8bcf1eab: Download complete 01:31:33 3f3a8bcf1eab: Pull complete 01:31:33 0c92f367c5e7: Pull complete 01:31:33 045706c8da98: Pull complete 01:31:33 d7189365e05b: Pull complete 01:31:39 a32415fbff51: Pull complete 01:31:39 Digest: sha256:763293993303eff07c8e57fe0fe9116095497c40c1fdc093d1a27926bd48f831 01:31:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 01:31:39 ---> 96786ed1eff5 01:31:39 Step 3/11 : ARG MAKE='make build' 01:31:41 ---> Running in 3dee51fce2f4 01:31:41 Removing intermediate container 3dee51fce2f4 01:31:41 ---> 953040d7bfd3 01:31:41 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:31:41 ---> Running in 4496a706593e 01:31:41 Removing intermediate container 4496a706593e 01:31:41 ---> 054c14f2d25c 01:31:41 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 01:31:41 ---> Running in e7862fb73261 01:31:42 Removing intermediate container e7862fb73261 01:31:42 ---> 012cde30b43f 01:31:42 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:31:42 ---> Running in a4a23c617dec 01:31:44 Removing intermediate container a4a23c617dec 01:31:44 ---> 5b1309dc2a3c 01:31:44 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:31:44 ---> Running in ce286e993bec 01:31:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:31:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:31:46 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:31:46 (2/4) Installing libedit (20210910.3.1-r0) 01:31:46 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:31:46 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:31:47 Executing busybox-1.34.1-r3.trigger 01:31:47 OK: 224 MiB in 56 packages 01:31:48 Removing intermediate container ce286e993bec 01:31:48 ---> d5bb208ed701 01:31:48 Step 8/11 : WORKDIR /device-snmp-go 01:31:48 ---> Running in 38cc8149ac7a 01:31:48 Removing intermediate container 38cc8149ac7a 01:31:48 ---> d9ec7f04e731 01:31:48 Step 9/11 : COPY . . 01:31:52 ---> ad444b2362e8 01:31:52 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:31:52 ---> Running in de1863a46559 01:31:53 skipping... 01:31:53 Removing intermediate container de1863a46559 01:31:53 ---> 95e9ba0e5cf2 01:31:53 Step 11/11 : RUN ${MAKE} 01:31:53 ---> Running in 8f2bf1315986 01:31:54 noop 01:31:55 Removing intermediate container 8f2bf1315986 01:31:55 ---> 66433480b4d9 01:31:55 Successfully built 66433480b4d9 01:31:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:55 + docker inspect -f . ci-base-image-arm64 01:31:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:56 prd-ubuntu20.04-docker-arm64-4c-16g-12 does not seem to be running inside a container 01:31:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:31:57 $ docker top a432f74e54661884130330c0839ae254f1c91944d59b732b9ac03bb12d5c53fa -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:58 + go version 01:31:58 go version go1.17.6 linux/arm64 [Pipeline] } 01:31:58 $ docker stop --time=1 a432f74e54661884130330c0839ae254f1c91944d59b732b9ac03bb12d5c53fa 01:32:00 $ docker rm -f a432f74e54661884130330c0839ae254f1c91944d59b732b9ac03bb12d5c53fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:00 + docker inspect -f . ci-base-image-arm64 01:32:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:00 prd-ubuntu20.04-docker-arm64-4c-16g-12 does not seem to be running inside a container 01:32:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:32:02 $ docker top 3ed61c10b08f279cbc2735ae068e632d1581a6b39daffbcf18e24c83d1e55ffd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:32:03 + make test 01:32:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:32:04 ? github.com/edgexfoundry/device-snmp-go [no test files] 01:33:01 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 01:33:01 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.042s coverage: 0.0% of statements 01:33:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:33:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:33:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:33:16 ./bin/test-attribution-txt.sh 01:33:17 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.0 01:33:17 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 01:33:17 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 01:33:17 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 01:33:17 go: downloading github.com/soniah/gosnmp v1.21.0 01:33:17 go: downloading github.com/OneOfOne/xxhash v1.2.8 01:33:17 go: downloading github.com/google/uuid v1.3.0 01:33:18 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 01:33:18 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 01:33:18 go: downloading github.com/pelletier/go-toml v1.9.4 01:33:18 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 01:33:18 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 01:33:18 go: downloading github.com/gorilla/mux v1.8.0 01:33:18 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 01:33:18 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 01:33:18 go: downloading github.com/hashicorp/go-multierror v1.1.0 01:33:18 go: downloading github.com/hashicorp/consul/api v1.9.1 01:33:18 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:33:18 go: downloading github.com/go-kit/kit v0.11.0 01:33:18 go: downloading github.com/go-playground/validator/v10 v10.9.0 01:33:18 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 01:33:18 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 01:33:18 go: downloading github.com/pebbe/zmq4 v1.2.7 01:33:18 go: downloading github.com/go-redis/redis/v7 v7.3.0 01:33:18 go: downloading github.com/go-logfmt/logfmt v0.5.0 01:33:18 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:33:18 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 01:33:18 go: downloading github.com/mitchellh/copystructure v1.0.0 01:33:18 go: downloading github.com/mitchellh/mapstructure v1.1.2 01:33:18 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 01:33:18 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 01:33:18 go: downloading golang.org/x/text v0.3.6 01:33:19 go: downloading github.com/hashicorp/golang-lru v0.5.0 01:33:19 go: downloading github.com/golang/mock v1.4.4 01:33:20 go: downloading github.com/hashicorp/errwrap v1.0.0 01:33:20 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 01:33:20 go: downloading github.com/hashicorp/go-hclog v0.12.0 01:33:20 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 01:33:20 go: downloading github.com/hashicorp/serf v0.9.5 01:33:20 go: downloading github.com/x448/float16 v0.8.4 01:33:20 go: downloading github.com/go-playground/universal-translator v0.18.0 01:33:20 go: downloading github.com/leodido/go-urn v1.2.1 01:33:20 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 01:33:21 go: downloading github.com/gorilla/websocket v1.4.2 01:33:21 go: downloading github.com/mitchellh/reflectwalk v1.0.0 01:33:21 go: downloading github.com/fatih/color v1.9.0 01:33:21 go: downloading github.com/mattn/go-colorable v0.1.6 01:33:21 go: downloading github.com/mattn/go-isatty v0.0.12 01:33:21 go: downloading github.com/mitchellh/go-homedir v1.1.0 01:33:22 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 01:33:26 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 01:33:27 + go mod tidy 01:33:27 go: downloading github.com/stretchr/testify v1.7.0 01:33:27 go: downloading github.com/go-stack/stack v1.8.0 01:33:27 go: downloading github.com/go-playground/assert/v2 v2.0.1 01:33:27 go: downloading github.com/davecgh/go-spew v1.1.1 01:33:27 go: downloading github.com/pmezard/go-difflib v1.0.0 01:33:27 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 01:33:27 go: downloading github.com/stretchr/objx v0.1.1 01:33:27 go: downloading github.com/hashicorp/consul/sdk v0.8.0 01:33:27 go: downloading github.com/hashicorp/go-uuid v1.0.1 01:33:27 go: downloading github.com/onsi/ginkgo v1.10.1 01:33:27 go: downloading github.com/onsi/gomega v1.7.0 01:33:28 go: downloading github.com/kr/pretty v0.3.0 01:33:28 go: downloading github.com/hashicorp/go-msgpack v0.5.3 01:33:28 go: downloading github.com/hashicorp/memberlist v0.2.2 01:33:28 go: downloading github.com/pkg/errors v0.9.1 01:33:28 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:33:28 go: downloading github.com/kr/text v0.2.0 01:33:28 go: downloading github.com/rogpeppe/go-internal v1.8.0 01:33:28 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 01:33:28 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:33:28 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 01:33:28 go: downloading github.com/miekg/dns v1.1.26 01:33:28 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:33:28 go: downloading gopkg.in/yaml.v2 v2.3.0 01:33:28 go: downloading github.com/hpcloud/tail v1.0.0 01:33:28 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 01:33:28 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 01:33:28 $ docker stop --time=1 3ed61c10b08f279cbc2735ae068e632d1581a6b39daffbcf18e24c83d1e55ffd 01:33:31 $ docker rm -f 3ed61c10b08f279cbc2735ae068e632d1581a6b39daffbcf18e24c83d1e55ffd [Pipeline] // withDockerContainer [Pipeline] sh 01:33:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:33:33 Warning: overwriting stash ‘coverage-report’ 01:33:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:33:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:33:35 + ls -al . 01:33:35 total 176 01:33:35 drwxrwxr-x 9 jenkins jenkins 4096 May 25 01:33 . 01:33:35 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:30 .. 01:33:35 -rw-rw-r-- 1 jenkins jenkins 6 May 25 01:30 .dockerignore 01:33:35 drwxrwxr-x 8 jenkins jenkins 4096 May 25 01:30 .git 01:33:35 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:30 .github 01:33:35 -rw-rw-r-- 1 jenkins jenkins 255 May 25 01:30 .gitignore 01:33:35 -rw-rw-r-- 1 jenkins jenkins 6926 May 25 01:30 Attribution.txt 01:33:35 -rw-rw-r-- 1 jenkins jenkins 4401 May 25 01:30 CHANGELOG.md 01:33:35 -rw-rw-r-- 1 jenkins jenkins 1493 May 25 01:30 Dockerfile 01:33:35 -rw-rw-r-- 1 jenkins jenkins 677 May 25 01:30 GOVERNANCE.md 01:33:35 -rw-rw-r-- 1 jenkins jenkins 656 May 25 01:30 Jenkinsfile 01:33:35 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 01:30 LICENSE 01:33:35 -rw-rw-r-- 1 jenkins jenkins 1526 May 25 01:30 Makefile 01:33:35 -rw-rw-r-- 1 jenkins jenkins 620 May 25 01:30 OWNERS.md 01:33:35 -rw-rw-r-- 1 jenkins jenkins 9073 May 25 01:30 README.md 01:33:35 -rw-rw-r-- 1 jenkins jenkins 5 May 25 01:27 VERSION 01:33:35 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:30 bin 01:33:35 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:30 cmd 01:33:35 -rw-r--r-- 1 jenkins jenkins 7631 May 25 01:32 coverage.out 01:33:35 -rw-rw-r-- 1 jenkins jenkins 208 May 25 01:33 go.mod 01:33:35 -rw-rw-r-- 1 jenkins jenkins 49477 May 25 01:30 go.sum 01:33:35 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:30 internal 01:33:35 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:30 snap 01:33:35 drwxrwxr-x 6 jenkins jenkins 4096 May 25 01:30 vendor 01:33:35 -rw-rw-r-- 1 jenkins jenkins 228 May 25 01:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:36 + 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=6333a36f236844c13d051debdd8500920e8490e5 --label arch=arm64 --label version=0.0.0 . 01:33:37 Sending build context to Docker daemon 13.73MB 01:33:37 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 01:33:37 Step 2/23 : FROM ${BASE} AS builder 01:33:37 ---> 66433480b4d9 01:33:37 Step 3/23 : ARG MAKE='make build' 01:33:37 ---> Running in 85a3d15cf680 01:33:38 Removing intermediate container 85a3d15cf680 01:33:38 ---> 9c51bf147a29 01:33:38 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:33:38 ---> Running in d729620682bd 01:33:38 Removing intermediate container d729620682bd 01:33:38 ---> d12190b75bb3 01:33:38 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 01:33:38 ---> Running in 1c399632ff1b 01:33:39 Removing intermediate container 1c399632ff1b 01:33:39 ---> aa2340c1b33c 01:33:39 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:33:39 ---> Running in 5aa193a49afd 01:33:41 Removing intermediate container 5aa193a49afd 01:33:41 ---> 4c0f3fef8ff0 01:33:41 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:33:41 ---> Running in 88c54c84ce2d 01:33:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:33:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:33:43 OK: 224 MiB in 56 packages 01:33:44 Removing intermediate container 88c54c84ce2d 01:33:44 ---> 9b09ad4f5d98 01:33:44 Step 8/23 : WORKDIR /device-snmp-go 01:33:44 ---> Running in 5b0ec8abf2ff 01:33:44 Removing intermediate container 5b0ec8abf2ff 01:33:44 ---> 7f53f280741b 01:33:44 Step 9/23 : COPY . . 01:33:49 ---> 7b00f693cbc5 01:33:49 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:33:49 ---> Running in 6153c63363a6 01:33:50 skipping... 01:33:51 Removing intermediate container 6153c63363a6 01:33:51 ---> 673f1151b7e9 01:33:51 Step 11/23 : RUN ${MAKE} 01:33:51 ---> Running in 22a8f0f237cc 01:33:52 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.0" -o cmd/device-snmp ./cmd 01:34:39 Removing intermediate container 22a8f0f237cc 01:34:39 ---> 1f2174e1e128 01:34:39 Step 12/23 : FROM alpine:3.14 01:34:39 3.14: Pulling from library/alpine 01:34:39 455c02918c45: Pulling fs layer 01:34:39 455c02918c45: Verifying Checksum 01:34:39 455c02918c45: Download complete 01:34:39 455c02918c45: Pull complete 01:34:39 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:34:39 Status: Downloaded newer image for alpine:3.14 01:34:39 ---> ac73e934f311 01:34:39 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 01:34:39 ---> Running in c47f58443218 01:34:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:34:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:34:39 (1/6) Installing dumb-init (1.2.5-r1) 01:34:39 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:34:39 (3/6) Installing libsodium (1.0.18-r0) 01:34:39 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:34:39 (5/6) Installing libzmq (4.3.4-r0) 01:34:39 (6/6) Installing zeromq (4.3.4-r0) 01:34:39 Executing busybox-1.33.1-r7.trigger 01:34:39 OK: 8 MiB in 20 packages 01:34:39 Removing intermediate container c47f58443218 01:34:39 ---> 08c5950a8103 01:34:39 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 01:34:39 ---> adb7bc943122 01:34:39 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 01:34:39 ---> 64117332a27c 01:34:39 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 01:34:40 ---> 9cc392b8282a 01:34:40 Step 17/23 : EXPOSE 59993 01:34:40 ---> Running in 3483bf2d4185 01:34:40 Removing intermediate container 3483bf2d4185 01:34:40 ---> 6020b8bcb54f 01:34:40 Step 18/23 : EXPOSE 161 01:34:41 ---> Running in 187ad677e823 01:34:41 Removing intermediate container 187ad677e823 01:34:41 ---> 5ffa1a7e9701 01:34:41 Step 19/23 : ENTRYPOINT ["/device-snmp"] 01:34:41 ---> Running in ef1d7100f67e 01:34:41 Removing intermediate container ef1d7100f67e 01:34:41 ---> 67030bef6d9d 01:34:41 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:34:41 ---> Running in 6168abbd786e 01:34:42 Removing intermediate container 6168abbd786e 01:34:42 ---> 2d36b1d39733 01:34:42 Step 21/23 : LABEL arch=arm64 01:34:42 ---> Running in c405b545f9c4 01:34:42 Removing intermediate container c405b545f9c4 01:34:42 ---> f101b6794f7c 01:34:42 Step 22/23 : LABEL git_sha=6333a36f236844c13d051debdd8500920e8490e5 01:34:43 ---> Running in 8e7db15cbd61 01:34:43 Removing intermediate container 8e7db15cbd61 01:34:43 ---> 0b188dc201db 01:34:43 Step 23/23 : LABEL version=0.0.0 01:34:43 ---> Running in 288943f418ba 01:34:43 Removing intermediate container 288943f418ba 01:34:43 ---> 08f82b1270dc 01:34:43 [Warning] One or more build-args [ARCH] were not consumed 01:34:43 Successfully built 08f82b1270dc 01:34:43 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 01:34:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:34:44 01:34:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:34:45 arm64: Pulling from edgex-lftools-log-publisher 01:34:45 8998bd30e6a1: Pulling fs layer 01:34:45 04944245beec: Pulling fs layer 01:34:45 699f458cf7ca: Pulling fs layer 01:34:45 765212b225bb: Pulling fs layer 01:34:45 f23df028b6ca: Pulling fs layer 01:34:45 d65c8cfc05b1: Pulling fs layer 01:34:45 2437ff75d9bd: Pulling fs layer 01:34:45 765212b225bb: Waiting 01:34:45 d65c8cfc05b1: Waiting 01:34:45 f23df028b6ca: Waiting 01:34:45 2437ff75d9bd: Waiting 01:34:45 04944245beec: Verifying Checksum 01:34:45 04944245beec: Download complete 01:34:45 765212b225bb: Verifying Checksum 01:34:45 765212b225bb: Download complete 01:34:45 f23df028b6ca: Verifying Checksum 01:34:45 f23df028b6ca: Download complete 01:34:45 d65c8cfc05b1: Verifying Checksum 01:34:45 d65c8cfc05b1: Download complete 01:34:45 699f458cf7ca: Verifying Checksum 01:34:45 699f458cf7ca: Download complete 01:34:45 8998bd30e6a1: Verifying Checksum 01:34:45 8998bd30e6a1: Download complete 01:34:48 2437ff75d9bd: Download complete 01:34:50 8998bd30e6a1: Pull complete 01:34:50 04944245beec: Pull complete 01:34:51 699f458cf7ca: Pull complete 01:34:52 765212b225bb: Pull complete 01:34:53 f23df028b6ca: Pull complete 01:34:53 d65c8cfc05b1: Pull complete 01:35:08 2437ff75d9bd: Pull complete 01:35:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:35:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:35:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:35:08 prd-ubuntu20.04-docker-arm64-4c-16g-12 does not seem to be running inside a container 01:35:08 $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:35:11 $ docker top b3b4f4dc61cc84532578005caf930a62f195b996de5dfb874171e622ee87b31d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:35:12 ---> job-cost.sh 01:35:12 lf-activate-venv: SKIPPING 01:35:12 INFO: No Stack... 01:35:13 INFO: Retrieving Pricing Info for: v3-standard-4 01:35:13 INFO: Archiving Costs [Pipeline] sh 01:35:14 + cat /w/workspace/device-snmp-go/2/archives/cost.csv 01:35:14 + cut -d, -f6 [Pipeline] lock 01:35:14 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-174-2-stack-cost] 01:35:14 Resource [jenkins-edgexfoundry-device-snmp-go-PR-174-2-stack-cost] did not exist. Created. 01:35:14 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-174-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:35:15 /w/workspace/device-snmp-go/2@tmp/durable-9601d6ed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:35:16 + echo total: 0.10999999940395355 [Pipeline] stash 01:35:16 Warning: overwriting stash ‘stack-cost’ 01:35:16 Stashed 1 file(s) [Pipeline] } 01:35:16 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-174-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:35:16 $ docker stop --time=1 b3b4f4dc61cc84532578005caf930a62f195b996de5dfb874171e622ee87b31d 01:35:17 $ docker rm -f b3b4f4dc61cc84532578005caf930a62f195b996de5dfb874171e622ee87b31d [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 01:35:18 provisioning config files... 01:35:18 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-174@tmp/config1376337597029011629tmp [Pipeline] { [Pipeline] sh 01:35:18 + set +x 01:35:18 + curl -s https://codecov.io/bash 01:35:18 + bash -s -- 01:35:18 01:35:18 _____ _ 01:35:18 / ____| | | 01:35:18 | | ___ __| | ___ ___ _____ __ 01:35:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:35:18 | |___| (_) | (_| | __/ (_| (_) \ V / 01:35:18 \_____\___/ \__,_|\___|\___\___/ \_/ 01:35:18 Bash-1.0.6 01:35:18 01:35:18 01:35:18 ==> git version 2.25.1 found 01:35:18 ==> 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 01:35:18 Release-Date: 2020-01-08 01:35:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:35:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:35:18 ==> Jenkins CI detected. 01:35:18 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-174 01:35:18 project root: . 01:35:18 --> token set from env 01:35:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:35:18 ==> Running gcov in . (disable via -X gcov) 01:35:18 ==> Python coveragepy not found 01:35:18 ==> Searching for coverage reports in: 01:35:18 + . 01:35:18 -> Found 1 reports 01:35:18 ==> Detecting git/mercurial file structure 01:35:18 ==> Reading reports 01:35:18 + ./coverage.out bytes=7631 01:35:19 ==> Appending adjustments 01:35:19 https://docs.codecov.io/docs/fixing-reports 01:35:19 + Found adjustments 01:35:19 ==> Gzipping contents 01:35:19 8.0K /tmp/codecov.tHiEGg.gz 01:35:19 ==> Uploading reports 01:35:19 url: https://codecov.io 01:35:19 query: branch=PR-174&commit=6333a36f236844c13d051debdd8500920e8490e5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-174%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=174&job=&cmd_args= 01:35:19 -> Pinging Codecov 01:35:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-174&commit=6333a36f236844c13d051debdd8500920e8490e5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-174%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=174&job=&cmd_args= 01:35:19 -> Uploading to 01:35:19 https://storage.googleapis.com/codecov/v4/raw/2022-05-25/6C56EA5C29638FB4528AC87E60AF5AE0/6333a36f236844c13d051debdd8500920e8490e5/9e55834a-31cb-4770-b794-d30441c05495.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220525T013519Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=63a69ef0380e5666956b2666551d4e0cfc0b951f66105ed4f53042e0a9bae8a9 01:35:19 % Total % Received % Xferd Average Speed Time Time Time Current 01:35:19 Dload Upload Total Spent Left Speed 01:35:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7952 0 0 100 7952 0 31555 --:--:-- --:--:-- --:--:-- 31555 01:35:19 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/6333a36f236844c13d051debdd8500920e8490e5 [Pipeline] } 01:35:19 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 01:35:20 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-174/archives ] 01:35:20 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-174/archives 01:35:20 total 16 01:35:20 drwxr-xr-x 3 root root 4096 May 25 01:28 . 01:35:20 drwxrwxr-x 11 jenkins jenkins 4096 May 25 01:28 .. 01:35:20 drwxr-xr-x 2 root root 4096 May 25 01:28 cost 01:35:20 -rw-r--r-- 1 root root 85 May 25 01:28 cost.csv 01:35:20 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-174/archives 01:35:20 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-174/archives 01:35:20 total 16 01:35:20 drwxr-xr-x 3 jenkins jenkins 4096 May 25 01:28 . 01:35:20 drwxrwxr-x 11 jenkins jenkins 4096 May 25 01:28 .. 01:35:20 drwxr-xr-x 2 jenkins jenkins 4096 May 25 01:28 cost 01:35:20 -rw-r--r-- 1 jenkins jenkins 85 May 25 01:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:35:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:35:21 ---> package-listing.sh 01:35:21 ++ tr '[:upper:]' '[:lower:]' 01:35:21 ++ facter osfamily 01:35:21 + OS_FAMILY=debian 01:35:21 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-174 01:35:21 + START_PACKAGES=/tmp/packages_start.txt 01:35:21 + END_PACKAGES=/tmp/packages_end.txt 01:35:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:35:21 + PACKAGES=/tmp/packages_start.txt 01:35:21 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-174 ']' 01:35:21 + PACKAGES=/tmp/packages_end.txt 01:35:21 + case "${OS_FAMILY}" in 01:35:21 + dpkg -l 01:35:21 + grep '^ii' 01:35:21 + '[' -f /tmp/packages_start.txt ']' 01:35:21 + '[' -f /tmp/packages_end.txt ']' 01:35:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:35:21 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-174 ']' 01:35:21 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-174/archives/ 01:35:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-174/archives/ [Pipeline] echo 01:35:21 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-174/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:35:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:35:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:35:22 prd-ubuntu20.04-docker-8c-8g-8 does not seem to be running inside a container 01:35:22 $ 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-174/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-174 -v /w/workspace/gexfoundry_device-snmp-go_PR-174:/w/workspace/gexfoundry_device-snmp-go_PR-174:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-174@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-174@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:35:22 $ docker top 49a3533d27a208aff03e698bee9384bfbc2b2b777475c0ff37f8a11fd814207f -eo pid,comm [Pipeline] { [Pipeline] sh 01:35:23 + touch /tmp/pre-build-complete [Pipeline] sh 01:35:23 + mkdir -p /var/log/sysstat [Pipeline] sh 01:35:23 + ls /var/log/sa-host 01:35:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:35:24 provisioning config files... 01:35:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-174@tmp/config5294921748163893550tmp [Pipeline] { [Pipeline] echo 01:35:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:35:24 ---> create-netrc.sh [Pipeline] } 01:35:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:35:25 ---> python-tools-install.sh [Pipeline] echo 01:35:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:35:25 ---> sudo-logs.sh 01:35:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:35:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:35:25 ---> job-cost.sh 01:35:25 lf-activate-venv: SKIPPING 01:35:25 DEBUG: total: 0.2199999988079071 01:35:25 INFO: Retrieving Stack Cost... 01:35:25 INFO: Retrieving Pricing Info for: v3-standard-8 01:35:26 INFO: Archiving Costs [Pipeline] echo 01:35:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:35:26 ---> logs-deploy.sh 01:35:26 lf-activate-venv: SKIPPING 01:35:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-174/2 01:35:26 INFO: archiving workspace using pattern(s): 01:35:27 Archives upload complete. 01:35:27 INFO: archiving logs to Nexus